advisor

package module
v0.0.0-...-fc6d6d1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 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 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

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 (LookupSuppressionResultOutput) ElementType

func (LookupSuppressionResultOutput) ExpirationTimeStamp

func (o LookupSuppressionResultOutput) ExpirationTimeStamp() pulumi.StringOutput

Gets or sets the expiration time stamp.

func (LookupSuppressionResultOutput) Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

func (LookupSuppressionResultOutput) Name

The name of the resource

func (LookupSuppressionResultOutput) SuppressionId

The GUID of the suppression.

func (LookupSuppressionResultOutput) SystemData

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

The duration for which the suppression is valid.

func (LookupSuppressionResultOutput) Type

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

The name of the resource

func (SuppressionOutput) SuppressionId

func (o SuppressionOutput) SuppressionId() pulumi.StringPtrOutput

The GUID of the suppression.

func (SuppressionOutput) SystemData

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

The duration for which the suppression is valid.

func (SuppressionOutput) Type

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

The timestamp of resource creation (UTC).

func (SystemDataResponseOutput) CreatedBy

The identity that created the resource.

func (SystemDataResponseOutput) CreatedByType

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

Jump to

Keyboard shortcuts

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