Azure Container Instances · Schema
ContainerGroupIdentity
Identity for the container group.
AzureCloudContainer InstancesContainersMicrosoftServerless
Properties
| Name | Type | Description |
|---|---|---|
| principalId | string | The principal id of the container group identity. This property will only be provided for a system assigned identity. |
| tenantId | string | The tenant id associated with the container group. This property will only be provided for a system assigned identity. |
| type | string | 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 remo |
| userAssignedIdentities | object | 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/{reso |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-instances/refs/heads/main/json-schema/azure-container-instances-container-group-identity-schema.json",
"title": "ContainerGroupIdentity",
"description": "Identity for the container group.",
"properties": {
"principalId": {
"description": "The principal id of the container group identity. This property will only be provided for a system assigned identity.",
"readOnly": true,
"type": "string"
},
"tenantId": {
"description": "The tenant id associated with the container group. This property will only be provided for a system assigned identity.",
"readOnly": true,
"type": "string"
},
"type": {
"description": "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.",
"enum": [
"SystemAssigned",
"UserAssigned",
"SystemAssigned, UserAssigned",
"None"
],
"type": "string",
"x-ms-enum": {
"modelAsString": false,
"name": "ResourceIdentityType"
}
},
"userAssignedIdentities": {
"additionalProperties": {
"properties": {
"clientId": {
"description": "The client id of user assigned identity.",
"readOnly": true,
"type": "string"
},
"principalId": {
"description": "The principal id of user assigned identity.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"description": "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}'.",
"type": "object"
}
},
"type": "object"
}