PolicyAssignment Class

The policy assignment.

Constructor

PolicyAssignment()

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

systemData
<xref:<xref:"SystemData">>

Azure Resource Manager metadata containing createdBy and modifiedBy information.

properties
<xref:<xref:"PolicyAssignmentProperties">>

Properties for the policy assignment.

location
str

The location of the policy assignment. Only required when utilizing managed identity.

identity
<xref:<xref:"Identity">>

The managed identity associated with the policy assignment.

Attributes

identity

The managed identity associated with the policy assignment.

identity: Identity

location

The location of the policy assignment. Only required when utilizing managed identity.

location: str

properties

Properties for the policy assignment.

properties: PolicyAssignmentProperties

id

id: str

name

name: str

systemData

systemData: SystemData

type

type: str