pub struct Identity {
pub principal_id: Option<String>,
pub tenant_id: Option<String>,
pub type_: Option<Type>,
pub user_assigned_identities: Option<Value>,
}
Expand description
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.
Fields§
§principal_id: Option<String>
The principal ID of the resource identity. This property will only be provided for a system assigned identity
tenant_id: Option<String>
The tenant ID of the resource identity. This property will only be provided for a system assigned identity
type_: Option<Type>
The identity type. This is the only required field when adding a system or user assigned identity to a resource.
user_assigned_identities: Option<Value>
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}’.