Documentation ¶
Index ¶
- type LookupSuppressionArgs
- type LookupSuppressionOutputArgs
- type LookupSuppressionResult
- type LookupSuppressionResultOutput
- func (LookupSuppressionResultOutput) ElementType() reflect.Type
- func (o LookupSuppressionResultOutput) ExpirationTimeStamp() pulumi.StringOutput
- func (o LookupSuppressionResultOutput) Id() pulumi.StringOutput
- func (o LookupSuppressionResultOutput) Name() pulumi.StringOutput
- func (o LookupSuppressionResultOutput) SuppressionId() pulumi.StringPtrOutput
- func (o LookupSuppressionResultOutput) SystemData() SystemDataResponseOutput
- func (o LookupSuppressionResultOutput) ToLookupSuppressionResultOutput() LookupSuppressionResultOutput
- func (o LookupSuppressionResultOutput) ToLookupSuppressionResultOutputWithContext(ctx context.Context) LookupSuppressionResultOutput
- func (o LookupSuppressionResultOutput) Ttl() pulumi.StringPtrOutput
- func (o LookupSuppressionResultOutput) Type() pulumi.StringOutput
- type Suppression
- type SuppressionArgs
- type SuppressionInput
- type SuppressionOutput
- func (SuppressionOutput) ElementType() reflect.Type
- func (o SuppressionOutput) ExpirationTimeStamp() pulumi.StringOutput
- func (o SuppressionOutput) Name() pulumi.StringOutput
- func (o SuppressionOutput) SuppressionId() pulumi.StringPtrOutput
- func (o SuppressionOutput) SystemData() SystemDataResponseOutput
- func (o SuppressionOutput) ToSuppressionOutput() SuppressionOutput
- func (o SuppressionOutput) ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput
- func (o SuppressionOutput) Ttl() pulumi.StringPtrOutput
- func (o SuppressionOutput) Type() pulumi.StringOutput
- type SuppressionState
- type SystemDataResponse
- type SystemDataResponseOutput
- func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput
- func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput
- func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput
- func (SystemDataResponseOutput) ElementType() reflect.Type
- func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput
- func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput
- func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput
- func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput
- func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupSuppressionArgs ¶
type LookupSuppressionArgs struct { // The name of the suppression. Name string `pulumi:"name"` // The recommendation ID. RecommendationId string `pulumi:"recommendationId"` // The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies. ResourceUri string `pulumi:"resourceUri"` }
type LookupSuppressionOutputArgs ¶
type LookupSuppressionOutputArgs struct { // The name of the suppression. Name pulumi.StringInput `pulumi:"name"` // The recommendation ID. RecommendationId pulumi.StringInput `pulumi:"recommendationId"` // The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies. ResourceUri pulumi.StringInput `pulumi:"resourceUri"` }
func (LookupSuppressionOutputArgs) ElementType ¶
func (LookupSuppressionOutputArgs) ElementType() reflect.Type
type LookupSuppressionResult ¶
type LookupSuppressionResult struct { // Gets or sets the expiration time stamp. ExpirationTimeStamp string `pulumi:"expirationTimeStamp"` // Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" Id string `pulumi:"id"` // The name of the resource Name string `pulumi:"name"` // The GUID of the suppression. SuppressionId *string `pulumi:"suppressionId"` // Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData SystemDataResponse `pulumi:"systemData"` // The duration for which the suppression is valid. Ttl *string `pulumi:"ttl"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type string `pulumi:"type"` }
The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule.
func LookupSuppression ¶
func LookupSuppression(ctx *pulumi.Context, args *LookupSuppressionArgs, opts ...pulumi.InvokeOption) (*LookupSuppressionResult, error)
Obtains the details of a suppression. Azure REST API version: 2023-01-01.
Other available API versions: 2016-07-12-preview.
type LookupSuppressionResultOutput ¶
type LookupSuppressionResultOutput struct{ *pulumi.OutputState }
The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule.
func LookupSuppressionOutput ¶
func LookupSuppressionOutput(ctx *pulumi.Context, args LookupSuppressionOutputArgs, opts ...pulumi.InvokeOption) LookupSuppressionResultOutput
func (LookupSuppressionResultOutput) ElementType ¶
func (LookupSuppressionResultOutput) ElementType() reflect.Type
func (LookupSuppressionResultOutput) ExpirationTimeStamp ¶
func (o LookupSuppressionResultOutput) ExpirationTimeStamp() pulumi.StringOutput
Gets or sets the expiration time stamp.
func (LookupSuppressionResultOutput) Id ¶
func (o LookupSuppressionResultOutput) Id() pulumi.StringOutput
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
func (LookupSuppressionResultOutput) Name ¶
func (o LookupSuppressionResultOutput) Name() pulumi.StringOutput
The name of the resource
func (LookupSuppressionResultOutput) SuppressionId ¶
func (o LookupSuppressionResultOutput) SuppressionId() pulumi.StringPtrOutput
The GUID of the suppression.
func (LookupSuppressionResultOutput) SystemData ¶
func (o LookupSuppressionResultOutput) SystemData() SystemDataResponseOutput
Azure Resource Manager metadata containing createdBy and modifiedBy information.
func (LookupSuppressionResultOutput) ToLookupSuppressionResultOutput ¶
func (o LookupSuppressionResultOutput) ToLookupSuppressionResultOutput() LookupSuppressionResultOutput
func (LookupSuppressionResultOutput) ToLookupSuppressionResultOutputWithContext ¶
func (o LookupSuppressionResultOutput) ToLookupSuppressionResultOutputWithContext(ctx context.Context) LookupSuppressionResultOutput
func (LookupSuppressionResultOutput) Ttl ¶
func (o LookupSuppressionResultOutput) Ttl() pulumi.StringPtrOutput
The duration for which the suppression is valid.
func (LookupSuppressionResultOutput) Type ¶
func (o LookupSuppressionResultOutput) Type() pulumi.StringOutput
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
type Suppression ¶
type Suppression struct { pulumi.CustomResourceState // Gets or sets the expiration time stamp. ExpirationTimeStamp pulumi.StringOutput `pulumi:"expirationTimeStamp"` // The name of the resource Name pulumi.StringOutput `pulumi:"name"` // The GUID of the suppression. SuppressionId pulumi.StringPtrOutput `pulumi:"suppressionId"` // Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData SystemDataResponseOutput `pulumi:"systemData"` // The duration for which the suppression is valid. Ttl pulumi.StringPtrOutput `pulumi:"ttl"` // The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type pulumi.StringOutput `pulumi:"type"` }
The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule. Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2020-01-01.
Other available API versions: 2016-07-12-preview.
func GetSuppression ¶
func GetSuppression(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SuppressionState, opts ...pulumi.ResourceOption) (*Suppression, error)
GetSuppression gets an existing Suppression resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSuppression ¶
func NewSuppression(ctx *pulumi.Context, name string, args *SuppressionArgs, opts ...pulumi.ResourceOption) (*Suppression, error)
NewSuppression registers a new resource with the given unique name, arguments, and options.
func (*Suppression) ElementType ¶
func (*Suppression) ElementType() reflect.Type
func (*Suppression) ToSuppressionOutput ¶
func (i *Suppression) ToSuppressionOutput() SuppressionOutput
func (*Suppression) ToSuppressionOutputWithContext ¶
func (i *Suppression) ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput
type SuppressionArgs ¶
type SuppressionArgs struct { // The name of the suppression. Name pulumi.StringPtrInput // The recommendation ID. RecommendationId pulumi.StringInput // The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies. ResourceUri pulumi.StringInput // The GUID of the suppression. SuppressionId pulumi.StringPtrInput // The duration for which the suppression is valid. Ttl pulumi.StringPtrInput }
The set of arguments for constructing a Suppression resource.
func (SuppressionArgs) ElementType ¶
func (SuppressionArgs) ElementType() reflect.Type
type SuppressionInput ¶
type SuppressionInput interface { pulumi.Input ToSuppressionOutput() SuppressionOutput ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput }
type SuppressionOutput ¶
type SuppressionOutput struct{ *pulumi.OutputState }
func (SuppressionOutput) ElementType ¶
func (SuppressionOutput) ElementType() reflect.Type
func (SuppressionOutput) ExpirationTimeStamp ¶
func (o SuppressionOutput) ExpirationTimeStamp() pulumi.StringOutput
Gets or sets the expiration time stamp.
func (SuppressionOutput) Name ¶
func (o SuppressionOutput) Name() pulumi.StringOutput
The name of the resource
func (SuppressionOutput) SuppressionId ¶
func (o SuppressionOutput) SuppressionId() pulumi.StringPtrOutput
The GUID of the suppression.
func (SuppressionOutput) SystemData ¶
func (o SuppressionOutput) SystemData() SystemDataResponseOutput
Azure Resource Manager metadata containing createdBy and modifiedBy information.
func (SuppressionOutput) ToSuppressionOutput ¶
func (o SuppressionOutput) ToSuppressionOutput() SuppressionOutput
func (SuppressionOutput) ToSuppressionOutputWithContext ¶
func (o SuppressionOutput) ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput
func (SuppressionOutput) Ttl ¶
func (o SuppressionOutput) Ttl() pulumi.StringPtrOutput
The duration for which the suppression is valid.
func (SuppressionOutput) Type ¶
func (o SuppressionOutput) Type() pulumi.StringOutput
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
type SuppressionState ¶
type SuppressionState struct { }
func (SuppressionState) ElementType ¶
func (SuppressionState) ElementType() reflect.Type
type SystemDataResponse ¶
type SystemDataResponse struct { // The timestamp of resource creation (UTC). CreatedAt *string `pulumi:"createdAt"` // The identity that created the resource. CreatedBy *string `pulumi:"createdBy"` // The type of identity that created the resource. CreatedByType *string `pulumi:"createdByType"` // The timestamp of resource last modification (UTC) LastModifiedAt *string `pulumi:"lastModifiedAt"` // The identity that last modified the resource. LastModifiedBy *string `pulumi:"lastModifiedBy"` // The type of identity that last modified the resource. LastModifiedByType *string `pulumi:"lastModifiedByType"` }
Metadata pertaining to creation and last modification of the resource.
type SystemDataResponseOutput ¶
type SystemDataResponseOutput struct{ *pulumi.OutputState }
Metadata pertaining to creation and last modification of the resource.
func (SystemDataResponseOutput) CreatedAt ¶
func (o SystemDataResponseOutput) CreatedAt() pulumi.StringPtrOutput
The timestamp of resource creation (UTC).
func (SystemDataResponseOutput) CreatedBy ¶
func (o SystemDataResponseOutput) CreatedBy() pulumi.StringPtrOutput
The identity that created the resource.
func (SystemDataResponseOutput) CreatedByType ¶
func (o SystemDataResponseOutput) CreatedByType() pulumi.StringPtrOutput
The type of identity that created the resource.
func (SystemDataResponseOutput) ElementType ¶
func (SystemDataResponseOutput) ElementType() reflect.Type
func (SystemDataResponseOutput) LastModifiedAt ¶
func (o SystemDataResponseOutput) LastModifiedAt() pulumi.StringPtrOutput
The timestamp of resource last modification (UTC)
func (SystemDataResponseOutput) LastModifiedBy ¶
func (o SystemDataResponseOutput) LastModifiedBy() pulumi.StringPtrOutput
The identity that last modified the resource.
func (SystemDataResponseOutput) LastModifiedByType ¶
func (o SystemDataResponseOutput) LastModifiedByType() pulumi.StringPtrOutput
The type of identity that last modified the resource.
func (SystemDataResponseOutput) ToSystemDataResponseOutput ¶
func (o SystemDataResponseOutput) ToSystemDataResponseOutput() SystemDataResponseOutput
func (SystemDataResponseOutput) ToSystemDataResponseOutputWithContext ¶
func (o SystemDataResponseOutput) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput