Language

IPolicyIdentity Interface

Definition

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

Properties

Name Description
Id

Resource identity path

ManagementGroupId

The management group ID.

ManagementGroupName

The name of the management group. The name is case insensitive.

ParentResourcePath

The parent resource path. Use empty string if there is none.

PolicyAssignmentId

The ID of the policy assignment. Restored to the pre-migration identity surface (previously removed during the TypeSpec migration).

PolicyAssignmentName

The name of the policy assignment to get.

PolicyDefinitionName

The name of the policy definition to get.

PolicyDefinitionVersion

The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number

PolicyEnrollmentName

The name of the policy enrollment.

PolicyExemptionName

The name of the policy exemption to get.

PolicyMode

The policy mode of the data policy manifest to get.

PolicySetDefinitionName

The name of the policy set definition to get.

ResourceGroupName

The name of the resource group. The name is case insensitive.

ResourceName

The name of the resource.

ResourceProviderNamespace

The namespace of the resource provider. For example, the namespace of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines)

ResourceType

The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites).

Scope

The fully qualified Azure Resource manager identifier of the resource.

SubscriptionId

The ID of the target subscription. The value must be an UUID.

VariableName

The name of the variable to operate on.

VariableValueName

The name of the variable value to operate on.

Methods

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

Applies to