PolicyAssignmentIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity.
public class PolicyAssignmentIdentity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Policy.Models.PolicyAssignmentIdentity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Policy.Models.PolicyAssignmentIdentity>
type PolicyAssignmentIdentity = class
interface IJsonModel<PolicyAssignmentIdentity>
interface IPersistableModel<PolicyAssignmentIdentity>
Public Class PolicyAssignmentIdentity
Implements IJsonModel(Of PolicyAssignmentIdentity), IPersistableModel(Of PolicyAssignmentIdentity)
- Inheritance
-
PolicyAssignmentIdentity
- Implements
Constructors
| Name | Description |
|---|---|
| PolicyAssignmentIdentity() |
Initializes a new instance of PolicyAssignmentIdentity. |
Properties
| Name | Description |
|---|---|
| PrincipalId |
The principal ID of the resource identity. This property will only be provided for a system assigned identity. |
| TenantId |
The tenant ID of the resource identity. This property will only be provided for a system assigned identity. |
| Type |
The identity type. This is the only required field when adding a system or user assigned identity to a resource. |
| UserAssignedIdentities |
The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |