Documentation ¶
Index ¶
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 LookupSuppressionResult ¶
type LookupSuppressionResult struct { // The name of the resource. Name string `pulumi:"name"` // The GUID of the suppression. SuppressionId *string `pulumi:"suppressionId"` // The duration for which the suppression is valid. Ttl *string `pulumi:"ttl"` // The type of the resource. 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)
type Suppression ¶
type Suppression struct { pulumi.CustomResourceState // The name of the resource. Name pulumi.StringOutput `pulumi:"name"` // The GUID of the suppression. SuppressionId pulumi.StringPtrOutput `pulumi:"suppressionId"` // The duration for which the suppression is valid. Ttl pulumi.StringPtrOutput `pulumi:"ttl"` // The type of the resource. Type pulumi.StringOutput `pulumi:"type"` }
The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule.
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.
type SuppressionArgs ¶
type SuppressionArgs struct { // The name of the suppression. Name pulumi.StringInput // 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 SuppressionState ¶
type SuppressionState struct { // The name of the resource. Name pulumi.StringPtrInput // The GUID of the suppression. SuppressionId pulumi.StringPtrInput // The duration for which the suppression is valid. Ttl pulumi.StringPtrInput // The type of the resource. Type pulumi.StringPtrInput }
func (SuppressionState) ElementType ¶
func (SuppressionState) ElementType() reflect.Type
Click to show internal directories.
Click to hide internal directories.