Documentation
¶
Index ¶
- Constants
- type ExemptionCategory
- func (ExemptionCategory) ElementType() reflect.Type
- func (e ExemptionCategory) ToStringOutput() pulumi.StringOutput
- func (e ExemptionCategory) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e ExemptionCategory) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e ExemptionCategory) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LookupPolicyExemptionArgs
- type LookupPolicyExemptionResult
- type PolicyExemption
- type PolicyExemptionArgs
- type PolicyExemptionInput
- type PolicyExemptionOutput
- type PolicyExemptionState
- type SystemDataResponse
- type SystemDataResponseArgs
- func (SystemDataResponseArgs) ElementType() reflect.Type
- func (i SystemDataResponseArgs) ToSystemDataResponseOutput() SystemDataResponseOutput
- func (i SystemDataResponseArgs) ToSystemDataResponseOutputWithContext(ctx context.Context) SystemDataResponseOutput
- func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput
- func (i SystemDataResponseArgs) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput
- type SystemDataResponseInput
- 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
- func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput
- func (o SystemDataResponseOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput
- type SystemDataResponsePtrInput
- type SystemDataResponsePtrOutput
- func (o SystemDataResponsePtrOutput) CreatedAt() pulumi.StringPtrOutput
- func (o SystemDataResponsePtrOutput) CreatedBy() pulumi.StringPtrOutput
- func (o SystemDataResponsePtrOutput) CreatedByType() pulumi.StringPtrOutput
- func (o SystemDataResponsePtrOutput) Elem() SystemDataResponseOutput
- func (SystemDataResponsePtrOutput) ElementType() reflect.Type
- func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput
- func (o SystemDataResponsePtrOutput) LastModifiedBy() pulumi.StringPtrOutput
- func (o SystemDataResponsePtrOutput) LastModifiedByType() pulumi.StringPtrOutput
- func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutput() SystemDataResponsePtrOutput
- func (o SystemDataResponsePtrOutput) ToSystemDataResponsePtrOutputWithContext(ctx context.Context) SystemDataResponsePtrOutput
Constants ¶
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
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"` // Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 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 resource 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type string `pulumi:"type"` }
The policy exemption.
func LookupPolicyExemption ¶
func LookupPolicyExemption(ctx *pulumi.Context, args *LookupPolicyExemptionArgs, opts ...pulumi.InvokeOption) (*LookupPolicyExemptionResult, error)
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 resource 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" 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 resource 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" 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 type of identity that last modified the resource. 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 type of identity that last modified the resource. 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 ¶
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 type of identity that last modified the resource.
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
func SystemDataResponsePtr ¶
func SystemDataResponsePtr(v *SystemDataResponseArgs) SystemDataResponsePtrInput
type SystemDataResponsePtrOutput ¶
type SystemDataResponsePtrOutput struct{ *pulumi.OutputState }
func (SystemDataResponsePtrOutput) CreatedAt ¶
func (o SystemDataResponsePtrOutput) CreatedAt() pulumi.StringPtrOutput
The timestamp of resource creation (UTC).
func (SystemDataResponsePtrOutput) CreatedBy ¶
func (o SystemDataResponsePtrOutput) CreatedBy() pulumi.StringPtrOutput
The identity that created the resource.
func (SystemDataResponsePtrOutput) CreatedByType ¶
func (o SystemDataResponsePtrOutput) CreatedByType() pulumi.StringPtrOutput
The type of identity that created the resource.
func (SystemDataResponsePtrOutput) Elem ¶
func (o SystemDataResponsePtrOutput) Elem() SystemDataResponseOutput
func (SystemDataResponsePtrOutput) ElementType ¶
func (SystemDataResponsePtrOutput) ElementType() reflect.Type
func (SystemDataResponsePtrOutput) LastModifiedAt ¶
func (o SystemDataResponsePtrOutput) LastModifiedAt() pulumi.StringPtrOutput
The type of identity that last modified the resource.
func (SystemDataResponsePtrOutput) LastModifiedBy ¶
func (o SystemDataResponsePtrOutput) LastModifiedBy() pulumi.StringPtrOutput
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