ContainerGroupIdentity Class

Identity for the container group.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
ContainerGroupIdentity

Constructor

ContainerGroupIdentity(*, type: Optional[Union[str, azure.mgmt.containerinstance.models._container_instance_management_client_enums.ResourceIdentityType]] = None, user_assigned_identities: Optional[Dict[str, azure.mgmt.containerinstance.models._models_py3.Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties]] = None, **kwargs)

Variables

principal_id
str

The principal id of the container group identity. This property will only be provided for a system assigned identity.

tenant_id
str

The tenant id associated with the container group. This property will only be provided for a system assigned identity.

type
str or ResourceIdentityType

The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group. Possible values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None".

user_assigned_identities
dict[<xref:str,azure.mgmt.containerinstance.models.Components10Wh5UdSchemasContainergroupidentityPropertiesUserassignedidentitiesAdditionalproperties>]

The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.