v20160712preview

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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 resource ID.
	Id string `pulumi:"id"`
	// The location of the resource. This cannot be changed after the resource is created.
	Location *string `pulumi:"location"`
	// The name of the resource.
	Name string `pulumi:"name"`
	// The GUID of the suppression.
	SuppressionId *string `pulumi:"suppressionId"`
	// The tags of the resource.
	Tags map[string]string `pulumi:"tags"`
	// 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.

type Suppression

type Suppression struct {
	pulumi.CustomResourceState

	// The location of the resource. This cannot be changed after the resource is created.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The name of the resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// The GUID of the suppression.
	SuppressionId pulumi.StringPtrOutput `pulumi:"suppressionId"`
	// The tags of the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// 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.

func (*Suppression) ElementType added in v0.2.6

func (*Suppression) ElementType() reflect.Type

func (*Suppression) ToSuppressionOutput added in v0.2.6

func (i *Suppression) ToSuppressionOutput() SuppressionOutput

func (*Suppression) ToSuppressionOutputWithContext added in v0.2.6

func (i *Suppression) ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput

type SuppressionArgs

type SuppressionArgs struct {
	// The location of the resource. This cannot be changed after the resource is created.
	Location pulumi.StringPtrInput
	// 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 tags of the resource.
	Tags pulumi.StringMapInput
	// 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 added in v0.2.6

type SuppressionInput interface {
	pulumi.Input

	ToSuppressionOutput() SuppressionOutput
	ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput
}

type SuppressionOutput added in v0.2.6

type SuppressionOutput struct {
	*pulumi.OutputState
}

func (SuppressionOutput) ElementType added in v0.2.6

func (SuppressionOutput) ElementType() reflect.Type

func (SuppressionOutput) ToSuppressionOutput added in v0.2.6

func (o SuppressionOutput) ToSuppressionOutput() SuppressionOutput

func (SuppressionOutput) ToSuppressionOutputWithContext added in v0.2.6

func (o SuppressionOutput) ToSuppressionOutputWithContext(ctx context.Context) SuppressionOutput

type SuppressionState

type SuppressionState struct {
	// The location of the resource. This cannot be changed after the resource is created.
	Location pulumi.StringPtrInput
	// The name of the resource.
	Name pulumi.StringPtrInput
	// The GUID of the suppression.
	SuppressionId pulumi.StringPtrInput
	// The tags of the resource.
	Tags pulumi.StringMapInput
	// 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL