v20200701preview

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

View Source
const (
	// This category of exemptions usually means the scope is not applicable for the policy.
	ExemptionCategoryWaiver = ExemptionCategory("Waiver")
	// This category of exemptions usually means the mitigation actions have been applied to the scope.
	ExemptionCategoryMitigated = ExemptionCategory("Mitigated")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExemptionCategory added in v0.3.1

type ExemptionCategory pulumi.String

The policy exemption category. Possible values are Waiver and Mitigated.

func (ExemptionCategory) ElementType added in v0.3.1

func (ExemptionCategory) ElementType() reflect.Type

func (ExemptionCategory) ToStringOutput added in v0.3.1

func (e ExemptionCategory) ToStringOutput() pulumi.StringOutput

func (ExemptionCategory) ToStringOutputWithContext added in v0.3.1

func (e ExemptionCategory) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ExemptionCategory) ToStringPtrOutput added in v0.3.1

func (e ExemptionCategory) ToStringPtrOutput() pulumi.StringPtrOutput

func (ExemptionCategory) ToStringPtrOutputWithContext added in v0.3.1

func (e ExemptionCategory) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type LookupPolicyExemptionArgs

type LookupPolicyExemptionArgs struct {
	// The name of the policy exemption to delete.
	PolicyExemptionName string `pulumi:"policyExemptionName"`
	// The scope of the policy exemption. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
	Scope string `pulumi:"scope"`
}

type LookupPolicyExemptionResult

type LookupPolicyExemptionResult struct {
	// The description of the policy exemption.
	Description *string `pulumi:"description"`
	// The display name of the policy exemption.
	DisplayName *string `pulumi:"displayName"`
	// The policy exemption category. Possible values are Waiver and Mitigated.
	ExemptionCategory string `pulumi:"exemptionCategory"`
	// The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption.
	ExpiresOn *string `pulumi:"expiresOn"`
	// The ID of the policy exemption.
	Id string `pulumi:"id"`
	// The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.
	Metadata interface{} `pulumi:"metadata"`
	// The name of the policy exemption.
	Name string `pulumi:"name"`
	// The ID of the policy assignment that is being exempted.
	PolicyAssignmentId string `pulumi:"policyAssignmentId"`
	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds []string `pulumi:"policyDefinitionReferenceIds"`
	// Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData SystemDataResponse `pulumi:"systemData"`
	// The type of the resource (Microsoft.Authorization/policyExemptions).
	Type string `pulumi:"type"`
}

The policy exemption.

type PolicyExemption

type PolicyExemption struct {
	pulumi.CustomResourceState

	// The description of the policy exemption.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The display name of the policy exemption.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The policy exemption category. Possible values are Waiver and Mitigated.
	ExemptionCategory pulumi.StringOutput `pulumi:"exemptionCategory"`
	// The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption.
	ExpiresOn pulumi.StringPtrOutput `pulumi:"expiresOn"`
	// The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.
	Metadata pulumi.AnyOutput `pulumi:"metadata"`
	// The name of the policy exemption.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the policy assignment that is being exempted.
	PolicyAssignmentId pulumi.StringOutput `pulumi:"policyAssignmentId"`
	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds pulumi.StringArrayOutput `pulumi:"policyDefinitionReferenceIds"`
	// Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData SystemDataResponseOutput `pulumi:"systemData"`
	// The type of the resource (Microsoft.Authorization/policyExemptions).
	Type pulumi.StringOutput `pulumi:"type"`
}

The policy exemption.

func GetPolicyExemption

func GetPolicyExemption(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyExemptionState, opts ...pulumi.ResourceOption) (*PolicyExemption, error)

GetPolicyExemption gets an existing PolicyExemption 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 NewPolicyExemption

func NewPolicyExemption(ctx *pulumi.Context,
	name string, args *PolicyExemptionArgs, opts ...pulumi.ResourceOption) (*PolicyExemption, error)

NewPolicyExemption registers a new resource with the given unique name, arguments, and options.

func (*PolicyExemption) ElementType added in v0.2.6

func (*PolicyExemption) ElementType() reflect.Type

func (*PolicyExemption) ToPolicyExemptionOutput added in v0.2.6

func (i *PolicyExemption) ToPolicyExemptionOutput() PolicyExemptionOutput

func (*PolicyExemption) ToPolicyExemptionOutputWithContext added in v0.2.6

func (i *PolicyExemption) ToPolicyExemptionOutputWithContext(ctx context.Context) PolicyExemptionOutput

type PolicyExemptionArgs

type PolicyExemptionArgs struct {
	// The description of the policy exemption.
	Description pulumi.StringPtrInput
	// The display name of the policy exemption.
	DisplayName pulumi.StringPtrInput
	// The policy exemption category. Possible values are Waiver and Mitigated.
	ExemptionCategory pulumi.StringInput
	// The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption.
	ExpiresOn pulumi.StringPtrInput
	// The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.
	Metadata pulumi.Input
	// The ID of the policy assignment that is being exempted.
	PolicyAssignmentId pulumi.StringInput
	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds pulumi.StringArrayInput
	// The name of the policy exemption to delete.
	PolicyExemptionName pulumi.StringInput
	// The scope of the policy exemption. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
	Scope pulumi.StringInput
}

The set of arguments for constructing a PolicyExemption resource.

func (PolicyExemptionArgs) ElementType

func (PolicyExemptionArgs) ElementType() reflect.Type

type PolicyExemptionInput added in v0.2.6

type PolicyExemptionInput interface {
	pulumi.Input

	ToPolicyExemptionOutput() PolicyExemptionOutput
	ToPolicyExemptionOutputWithContext(ctx context.Context) PolicyExemptionOutput
}

type PolicyExemptionOutput added in v0.2.6

type PolicyExemptionOutput struct {
	*pulumi.OutputState
}

func (PolicyExemptionOutput) ElementType added in v0.2.6

func (PolicyExemptionOutput) ElementType() reflect.Type

func (PolicyExemptionOutput) ToPolicyExemptionOutput added in v0.2.6

func (o PolicyExemptionOutput) ToPolicyExemptionOutput() PolicyExemptionOutput

func (PolicyExemptionOutput) ToPolicyExemptionOutputWithContext added in v0.2.6

func (o PolicyExemptionOutput) ToPolicyExemptionOutputWithContext(ctx context.Context) PolicyExemptionOutput

type PolicyExemptionState

type PolicyExemptionState struct {
	// The description of the policy exemption.
	Description pulumi.StringPtrInput
	// The display name of the policy exemption.
	DisplayName pulumi.StringPtrInput
	// The policy exemption category. Possible values are Waiver and Mitigated.
	ExemptionCategory pulumi.StringPtrInput
	// The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption.
	ExpiresOn pulumi.StringPtrInput
	// The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.
	Metadata pulumi.Input
	// The name of the policy exemption.
	Name pulumi.StringPtrInput
	// The ID of the policy assignment that is being exempted.
	PolicyAssignmentId pulumi.StringPtrInput
	// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
	PolicyDefinitionReferenceIds pulumi.StringArrayInput
	// Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData SystemDataResponsePtrInput
	// The type of the resource (Microsoft.Authorization/policyExemptions).
	Type pulumi.StringPtrInput
}

func (PolicyExemptionState) ElementType

func (PolicyExemptionState) 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 SystemDataResponseArgs

type SystemDataResponseArgs struct {
	// The timestamp of resource creation (UTC).
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	// The identity that created the resource.
	CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"`
	// The type of identity that created the resource.
	CreatedByType pulumi.StringPtrInput `pulumi:"createdByType"`
	// The timestamp of resource last modification (UTC)
	LastModifiedAt pulumi.StringPtrInput `pulumi:"lastModifiedAt"`
	// The identity that last modified the resource.
	LastModifiedBy pulumi.StringPtrInput `pulumi:"lastModifiedBy"`
	// The type of identity that last modified the resource.
	LastModifiedByType pulumi.StringPtrInput `pulumi:"lastModifiedByType"`
}

Metadata pertaining to creation and last modification of the resource.

func (SystemDataResponseArgs) ElementType

func (SystemDataResponseArgs) ElementType() reflect.Type

func (SystemDataResponseArgs) ToSystemDataResponseOutput

func (i SystemDataResponseArgs) ToSystemDataResponseOutput() SystemDataResponseOutput

func (SystemDataResponseArgs) ToSystemDataResponseOutputWithContext

func (i SystemDataResponseArgs) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput

func (SystemDataResponseArgs) ToSystemDataResponsePtrOutput

func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput

func (SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext

func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput

type SystemDataResponseInput

type SystemDataResponseInput interface {
	pulumi.Input

	ToSystemDataResponseOutput() SystemDataResponseOutput
	ToSystemDataResponseOutputWithContext(context.Context) SystemDataResponseOutput
}

SystemDataResponseInput is an input type that accepts SystemDataResponseArgs and SystemDataResponseOutput values. You can construct a concrete instance of `SystemDataResponseInput` via:

SystemDataResponseArgs{...}

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

func (SystemDataResponseOutput) ToSystemDataResponsePtrOutput

func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput

func (SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext

func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput

type SystemDataResponsePtrInput

type SystemDataResponsePtrInput interface {
	pulumi.Input

	ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput
	ToSystemDataResponsePtrOutputWithContext(context.Context) SystemDataResponsePtrOutput
}

SystemDataResponsePtrInput is an input type that accepts SystemDataResponseArgs, SystemDataResponsePtr and SystemDataResponsePtrOutput values. You can construct a concrete instance of `SystemDataResponsePtrInput` via:

        SystemDataResponseArgs{...}

or:

        nil

type SystemDataResponsePtrOutput

type SystemDataResponsePtrOutput struct{ *pulumi.OutputState }

func (SystemDataResponsePtrOutput) CreatedAt

The timestamp of resource creation (UTC).

func (SystemDataResponsePtrOutput) CreatedBy

The identity that created the resource.

func (SystemDataResponsePtrOutput) CreatedByType

The type of identity that created the resource.

func (SystemDataResponsePtrOutput) Elem

func (SystemDataResponsePtrOutput) ElementType

func (SystemDataResponsePtrOutput) LastModifiedAt

The timestamp of resource last modification (UTC)

func (SystemDataResponsePtrOutput) LastModifiedBy

The identity that last modified the resource.

func (SystemDataResponsePtrOutput) LastModifiedByType

func (o SystemDataResponsePtrOutput) LastModifiedByType() pulumi.StringPtrOutput

The type of identity that last modified the resource.

func (SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput

func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput

func (SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext

func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput

Jump to

Keyboard shortcuts

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