Language

IPolicyEnrollment Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyEnrollmentTypeConverter))]
public interface IPolicyEnrollment : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IExtensionResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyEnrollmentTypeConverter))>]
type IPolicyEnrollment = interface
    interface IJsonSerializable
    interface IExtensionResource
    interface IResource
Public Interface IPolicyEnrollment
Implements IExtensionResource
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.

ETag

The ETag for the policy enrollment.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from IResource)
Metadata

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

Name

The name of the resource

(Inherited from IResource)
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.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

(Inherited from IResource)
SystemDataCreatedBy

The identity that created the resource.

(Inherited from IResource)
SystemDataCreatedByType

The type of identity that created the resource.

(Inherited from IResource)
SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

(Inherited from IResource)
SystemDataLastModifiedBy

The identity that last modified the resource.

(Inherited from IResource)
SystemDataLastModifiedByType

The type of identity that last modified the resource.

(Inherited from IResource)
Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from IResource)

Methods

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

Applies to