Partager via


IPolicyAssignmentProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyAssignmentPropertiesTypeConverter))]
public interface IPolicyAssignmentProperties : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyAssignmentPropertiesTypeConverter))>]
type IPolicyAssignmentProperties = interface
    interface IJsonSerializable
Public Interface IPolicyAssignmentProperties
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

DefinitionVersion

The version of the policy definition to use.

Description

This message will be part of response in case of policy violation.

DisplayName

The display name of the policy assignment.

EnforcementMode

The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.

Metadata

The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.

NonComplianceMessage

The messages that describe why a resource is non-compliant with the policy.

NotScope

The policy's excluded scopes.

Override

The policy property value override.

Parameter

The parameter values for the assigned policy rule. The keys are the parameter names.

PolicyDefinitionId

The ID of the policy definition or policy set definition being assigned.

ResourceSelector

The resource selector list to filter policies by resource properties.

Scope

The scope for the policy assignment.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to