Azure Container Instances · JSON Structure

Azure Container Instances Container Group Identity Structure

Identity for the container group.

Type: object Properties: 4
AzureCloudContainer InstancesContainersMicrosoftServerless

ContainerGroupIdentity is a JSON Structure definition published by Azure Container Instances, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

principalId tenantId type userAssignedIdentities

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-instances/refs/heads/main/json-structure/azure-container-instances-container-group-identity-structure.json",
  "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",
  "name": "ContainerGroupIdentity"
}