Language

IPolicyEnrollmentProperties Interface

Definition

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

Properties

Name Description
AssignmentScopeValidation

The option whether to validate the enrollment is at or under the assignment scope.

Description

The description of the policy enrollment.

DisplayName

The display name of the policy enrollment.

Metadata

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

PolicyAssignmentId

The ID of the policy assignment that is being enrolled.

PolicyAssignmentInstanceId

The policy assignment instance ID associated with this enrollment. The value is set to the instance ID of the policy assignment the policyAssignmentId references when the enrollment is created or updated. The format is a GUID string.

PolicyDefinitionReferenceId

The policy definition reference IDs for policy definitions in an assigned policy set definition. These IDs correspond to a subset of policyDefinitions[*].policyDefinitionReferenceId in the policy set definition. When specified and not empty, only the referenced policy definitions will be enrolled to. Otherwise, the entire policy set is enrolled to

ResourceSelector

The resource selector list to filter policies by resource properties.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to