Azure Container Instances · Schema
ContainerGroupProfile
A container group profile object
Microsoft AzureCloudContainer InstancesContainersMicrosoftServerless
Properties
| Name | Type | Description |
|---|---|---|
| properties | object | The container group profile properties |
| tags | object | Resource tags. |
| location | string | The geo-location where the resource lives |
| zones | array | The availability zones. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/azure-container-instances/json-schema/azure-container-instances-container-group-profile-schema.json",
"title": "ContainerGroupProfile",
"description": "A container group profile object",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/azure-container-instances-subscriptions-api-openapi.yml#/components/schemas/ContainerGroupProfile",
"type": "object",
"properties": {
"properties": {
"$ref": "#/$defs/ContainerGroupProfileProperties",
"description": "The container group profile properties",
"x-ms-client-flatten": true
},
"tags": {
"type": "object",
"description": "Resource tags.",
"additionalProperties": {
"type": "string"
}
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"zones": {
"type": "array",
"description": "The availability zones.",
"items": {
"type": "string"
}
}
},
"allOf": [
{
"$ref": "#/$defs/ProxyResource"
}
],
"$defs": {
"AzureFileVolume": {
"type": "object",
"description": "The properties of the Azure File volume. Azure File shares are mounted as volumes.",
"properties": {
"shareName": {
"type": "string",
"description": "The name of the Azure File share to be mounted as a volume."
},
"readOnly": {
"type": "boolean",
"description": "The flag indicating whether the Azure File shared mounted as a volume is read-only."
},
"storageAccountName": {
"type": "string",
"description": "The name of the storage account that contains the Azure File share."
},
"storageAccountKey": {
"type": "string",
"format": "password",
"description": "The storage account access key used to access the Azure File share.",
"x-ms-secret": true
},
"storageAccountKeyReference": {
"type": "string",
"description": "The reference to the storage account access key used to access the Azure File share."
},
"userManagedIdentityClientId": {
"type": "string",
"description": "The client id of the user-assigned managed identity that has access to the Azure File share."
}
},
"required": [
"shareName",
"storageAccountName"
]
},
"ConfidentialComputeProperties": {
"type": "object",
"description": "The properties for confidential container group",
"properties": {
"ccePolicy": {
"type": "string",
"description": "The base64 encoded confidential compute enforcement policy"
}
}
},
"ConfigMap": {
"type": "object",
"description": "The container config map.",
"properties": {
"keyValuePairs": {
"type": "object",
"description": "The key value pairs dictionary in the config map.",
"additionalProperties": {
"type": "string"
}
}
}
},
"Container": {
"type": "object",
"description": "A container instance.",
"properties": {
"name": {
"type": "string",
"description": "The user-provided name of the container instance."
},
"properties": {
"$ref": "#/$defs/ContainerProperties",
"description": "The properties of the container instance.",
"x-ms-client-flatten": true
}
},
"required": [
"name",
"properties"
]
},
"ContainerExec": {
"type": "object",
"description": "The container execution command, for liveness or readiness probe",
"properties": {
"command": {
"type": "array",
"description": "The commands to execute within the container.",
"items": {
"type": "string"
}
}
}
},
"ContainerGroupDiagnostics": {
"type": "object",
"description": "Container group diagnostic information.",
"properties": {
"logAnalytics": {
"$ref": "#/$defs/LogAnalytics",
"description": "Container group log analytics information."
}
}
},
"ContainerGroupIpAddressType": {
"type": "string",
"description": "Specifies if the IP is exposed to the public internet or private VNET.",
"enum": [
"Public",
"Private"
],
"x-ms-enum": {
"name": "ContainerGroupIpAddressType",
"modelAsString": true,
"values": [
{
"name": "Public",
"value": "Public",
"description": "Public"
},
{
"name": "Private",
"value": "Private",
"description": "Private"
}
]
}
},
"ContainerGroupNetworkProtocol": {
"type": "string",
"description": "The protocol associated with the port.",
"enum": [
"TCP",
"UDP"
],
"x-ms-enum": {
"name": "ContainerGroupNetworkProtocol",
"modelAsString": true,
"values": [
{
"name": "TCP",
"value": "TCP",
"description": "TCP"
},
{
"name": "UDP",
"value": "UDP",
"description": "UDP"
}
]
}
},
"ContainerGroupPriority": {
"type": "string",
"description": "The priority of the container group.",
"enum": [
"Regular",
"Spot"
],
"x-ms-enum": {
"name": "ContainerGroupPriority",
"modelAsString": true,
"values": [
{
"name": "Regular",
"value": "Regular",
"description": "Regular"
},
{
"name": "Spot",
"value": "Spot",
"description": "Spot"
}
]
}
},
"ContainerGroupProfileProperties": {
"type": "object",
"description": "The container group profile properties",
"properties": {
"sku": {
"$ref": "#/$defs/ContainerGroupSku",
"description": "The SKU for a container group."
},
"encryptionProperties": {
"$ref": "#/$defs/EncryptionProperties",
"description": "The encryption properties for a container group."
},
"containers": {
"type": "array",
"description": "The containers within the container group.",
"items": {
"$ref": "#/$defs/Container"
},
"x-ms-identifiers": [
"name"
]
},
"initContainers": {
"type": "array",
"description": "The init containers for a container group.",
"items": {
"$ref": "#/$defs/InitContainerDefinition"
},
"x-ms-identifiers": [
"name"
]
},
"extensions": {
"type": "array",
"description": "extensions used by virtual kubelet",
"items": {
"$ref": "#/$defs/DeploymentExtensionSpec"
},
"x-ms-identifiers": [
"name"
]
},
"imageRegistryCredentials": {
"type": "array",
"description": "The image registry credentials by which the container group is created from.",
"items": {
"$ref": "#/$defs/ImageRegistryCredential"
},
"x-ms-identifiers": [
"username"
]
},
"restartPolicy": {
"$ref": "#/$defs/ContainerGroupRestartPolicy",
"description": "Restart policy for all containers within the container group.\n- `Always` Always restart\n- `OnFailure` Restart on failure\n- `Never` Never restart"
},
"shutdownGracePeriod": {
"type": "string",
"format": "date-time",
"description": "Shutdown grace period for containers in a container group."
},
"ipAddress": {
"$ref": "#/$defs/IpAddress",
"description": "The IP address type of the container group."
},
"timeToLive": {
"type": "string",
"format": "date-time",
"description": "Post completion time to live for containers of a CG"
},
"osType": {
"$ref": "#/$defs/OperatingSystemTypes",
"description": "The operating system type required by the containers in the container group."
},
"volumes": {
"type": "array",
"description": "The list of volumes that can be mounted by containers in this container group.",
"items": {
"$ref": "#/$defs/Volume"
},
"x-ms-identifiers": [
"name"
]
},
"diagnostics": {
"$ref": "#/$defs/ContainerGroupDiagnostics",
"description": "The diagnostic information for a container group."
},
"priority": {
"$ref": "#/$defs/ContainerGroupPriority",
"description": "The priority of the container group."
},
"confidentialComputeProperties": {
"$ref": "#/$defs/ConfidentialComputeProperties",
"description": "The properties for confidential container group"
},
"securityContext": {
"$ref": "#/$defs/SecurityContextDefinition",
"description": "The container security properties."
},
"revision": {
"type": "integer",
"format": "int32",
"description": "Container group profile current revision number",
"readOnly": true
},
"registeredRevisions": {
"type": "array",
"description": "Registered revisions are calculated at request time based off the records in the table logs.",
"items": {
"type": "integer",
"format": "int32"
},
"readOnly": true
},
"useKrypton": {
"type": "boolean",
"description": "Gets or sets Krypton use property."
}
},
"required": [
"containers",
"osType"
]
},
"ContainerGroupRestartPolicy": {
"type": "string",
"description": "Restart policy for all containers within the container group.\n- `Always` Always restart\n- `OnFailure` Restart on failure\n- `Never` Never restart",
"enum": [
"Always",
"OnFailure",
"Never"
],
"x-ms-enum": {
"name": "ContainerGroupRestartPolicy",
"modelAsString": true,
"values": [
{
"name": "Always",
"value": "Always",
"description": "Always"
},
{
"name": "OnFailure",
"value": "OnFailure",
"description": "OnFailure"
},
{
"name": "Never",
"value": "Never",
"description": "Never"
}
]
}
},
"ContainerGroupSku": {
"type": "string",
"description": "The container group SKU.",
"enum": [
"NotSpecified",
"Standard",
"Dedicated",
"Confidential"
],
"x-ms-enum": {
"name": "ContainerGroupSku",
"modelAsString": true,
"values": [
{
"name": "NotSpecified",
"value": "NotSpecified",
"description": "NotSpecified"
},
{
"name": "Standard",
"value": "Standard",
"description": "Standard"
},
{
"name": "Dedicated",
"value": "Dedicated",
"description": "Dedicated"
},
{
"name": "Confidential",
"value": "Confidential",
"description": "Confidential"
}
]
}
},
"ContainerHttpGet": {
"type": "object",
"description": "The container Http Get settings, for liveness or readiness probe",
"properties": {
"path": {
"type": "string",
"description": "The path to probe."
},
"port": {
"type": "integer",
"format": "int32",
"description": "The port number to probe."
},
"scheme": {
"$ref": "#/$defs/Scheme",
"description": "The scheme."
},
"httpHeaders": {
"type": "array",
"description": "The HTTP headers.",
"items": {
"$ref": "#/$defs/HttpHeader"
},
"x-ms-identifiers": [
"name"
]
}
},
"required": [
"port"
]
},
"ContainerNetworkProtocol": {
"type": "string",
"description": "The protocol associated with the port.",
"enum": [
"TCP",
"UDP"
],
"x-ms-enum": {
"name": "ContainerNetworkProtocol",
"modelAsString": true,
"values": [
{
"name": "TCP",
"value": "TCP",
"description": "TCP"
},
{
"name": "UDP",
"value": "UDP",
"description": "UDP"
}
]
}
},
"ContainerPort": {
"type": "object",
"description": "The port exposed on the container instance.",
"properties": {
"protocol": {
"$ref": "#/$defs/ContainerNetworkProtocol",
"description": "The protocol associated with the port."
},
"port": {
"type": "integer",
"format": "int32",
"description": "The port number exposed within the container group."
}
},
"required": [
"port"
]
},
"ContainerProbe": {
"type": "object",
"description": "The container probe, for liveness or readiness",
"properties": {
"exec": {
"$ref": "#/$defs/ContainerExec",
"description": "The execution command to probe"
},
"httpGet": {
"$ref": "#/$defs/ContainerHttpGet",
"description": "The Http Get settings to probe"
},
"initialDelaySeconds": {
"type": "integer",
"format": "int32",
"description": "The initial delay seconds."
},
"periodSeconds": {
"type": "integer",
"format": "int32",
"description": "The period seconds."
},
"failureThreshold": {
"type": "integer",
"format": "int32",
"description": "The failure threshold."
},
"successThreshold": {
"type": "integer",
"format": "int32",
"description": "The success threshold."
},
"timeoutSeconds": {
"type": "integer",
"format": "int32",
"description": "The timeout seconds."
}
}
},
"ContainerProperties": {
"type": "object",
"description": "The container instance properties.",
"properties": {
"image": {
"type": "string",
"description": "The name of the image used to create the container instance."
},
"command": {
"type": "array",
"description": "The commands to execute within the container instance in exec form.",
"items": {
"type": "string"
}
},
"ports": {
"type": "array",
"description": "The exposed ports on the container instance.",
"items": {
"$ref": "#/$defs/ContainerPort"
},
"x-ms-identifiers": [
"port"
]
},
"environmentVariables": {
"type": "array",
"description": "The environment variables to set in the container instance.",
"items": {
"$ref": "#/$defs/EnvironmentVariable"
},
"x-ms-identifiers": [
"name"
]
},
"instanceView": {
"$ref": "#/$defs/ContainerPropertiesInstanceView",
"description": "The instance view of the container instance. Only valid in response.",
"readOnly": true
},
"resources": {
"$ref": "#/$defs/ResourceRequirements",
"description": "The resource requirements of the container instance."
},
"volumeMounts": {
"type": "array",
"description": "The volume mounts available to the container instance.",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"x-ms-identifiers": [
"name"
]
},
"livenessProbe": {
"$ref": "#/$defs/ContainerProbe",
"description": "The liveness probe."
},
"readinessProbe": {
"$ref": "#/$defs/ContainerProbe",
"description": "The readiness probe."
},
"securityContext": {
"$ref": "#/$defs/SecurityContextDefinition",
"description": "The container security properties."
},
"configMap": {
"$ref": "#/$defs/ConfigMap",
"description": "The config map."
}
}
},
"ContainerPropertiesInstanceView": {
"type": "object",
"description": "The instance view of the container instance. Only valid in response.",
"properties": {
"restartCount": {
"type": "integer",
"format": "int32",
"description": "The number of times that the container instance has been restarted.",
"readOnly": true
},
"currentState": {
"$ref": "#/$defs/ContainerState",
"description": "Current container instance state.",
"readOnly": true
},
"previousState": {
"$ref": "#/$defs/ContainerState",
"description": "Previous container instance state.",
"readOnly": true
},
"events": {
"type": "array",
"description": "The events of the container instance.",
"items": {
"$ref": "#/$defs/Event"
},
"readOnly": true,
"x-ms-identifiers": [
"name",
"type"
]
}
}
},
"ContainerState": {
"type": "object",
"description": "The container instance state.",
"properties": {
"state": {
"type": "string",
"description": "The state of the container instance.",
"readOnly": true
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "The date-time when the container instance state started.",
"readOnly": true
},
"exitCode": {
"type": "integer",
"format": "int32",
"description": "The container instance exit codes correspond to those from the `docker run` command.",
"readOnly": true
},
"finishTime": {
"type": "string",
"format": "date-time",
"description": "The date-time when the container instance state finished.",
"readOnly": true
},
"detailStatus": {
"type": "string",
"description": "The human-readable status of the container instance state.",
"readOnly": true
}
}
},
"DeploymentExtensionSpec": {
"type": "object",
"description": "Extension sidecars to be added to the deployment.",
"properties": {
"name": {
"type": "string",
"description": "Name of the extension."
},
"properties": {
"$ref": "#/$defs/DeploymentExtensionSpecProperties",
"description": "Extension specific properties",
"x-ms-client-flatten": true
}
},
"required": [
"name"
]
},
"DeploymentExtensionSpecProperties": {
"type": "object",
"description": "Extension specific properties",
"properties": {
"extensionType": {
"type": "string",
"description": "Type of extension to be added."
},
"version": {
"type": "string",
"description": "Version of the extension being used."
},
"settings": {
"description": "Settings for the extension."
},
"protectedSettings": {
"description": "Protected settings for the extension."
}
},
"required": [
"extensionType",
"version"
]
},
"EncryptionProperties": {
"type": "object",
"description": "The container group encryption properties.",
"properties": {
"vaultBaseUrl": {
"type": "string",
"description": "The keyvault base url."
},
"keyName": {
"type": "string",
"description": "The encryption key name."
},
"keyVersion": {
"type": "string",
"description": "The encryption key version."
},
"identity": {
"type": "string",
"description": "The keyvault managed identity."
}
},
"required": [
"vaultBaseUrl",
"keyName",
"keyVersion"
]
},
"EnvironmentVariable": {
"type": "object",
"description": "The environment variable to set within the container instance.",
"properties": {
"name": {
"type": "string",
"description": "The name of the environment variable."
},
"value": {
"type": "string",
"description": "The value of the environment variable."
},
"secureValue": {
"type": "string",
"format": "password",
"description": "The value of the secure environment variable.",
"x-ms-secret": true
},
"secureValueReference": {
"type": "string",
"description": "The reference of the secure environment variable."
}
},
"required": [
"name"
]
},
"Event": {
"type": "object",
"description": "A container group or container instance event.",
"properties": {
"count": {
"type": "integer",
"format": "int32",
"description": "The count of the event.",
"readOnly": true
},
"firstTimestamp": {
"type": "string",
"format": "date-time",
"description": "The date-time of the earliest logged event.",
"readOnly": true
},
"lastTimestamp": {
"type": "string",
"format": "date-time",
"description": "The date-time of the latest logged event.",
"readOnly": true
},
"name": {
"type": "string",
"description": "The event name.",
"readOnly": true
},
"message": {
"type": "string",
"description": "The event message.",
"readOnly": true
},
"type": {
"type": "string",
"description": "The event type.",
"readOnly": true
}
}
},
"GitRepoVolume": {
"type": "object",
"description": "Represents a volume that is populated with the contents of a git repository",
"properties": {
"directory": {
"type": "string",
"description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name."
},
"repository": {
"type": "string",
"description": "Repository URL"
},
"revision": {
"type": "string",
"description": "Commit hash for the specified revision."
}
},
"required": [
"repository"
]
},
"GpuResource": {
"type": "object",
"description": "The GPU resource.",
"properties": {
"count": {
"type": "integer",
"format": "int32",
"description": "The count of the GPU resource."
},
"sku": {
"$ref": "#/$defs/GpuSku",
"description": "The SKU of the GPU resource."
}
},
"required": [
"count",
"sku"
]
},
"GpuSku": {
"type": "string",
"description": "The SKU of the GPU resource.",
"enum": [
"K80",
"P100",
"V100"
],
"x-ms-enum": {
"name": "GpuSku",
"modelAsString": true,
"values": [
{
"name": "K80",
"value": "K80",
"description": "K80"
},
{
"name": "P100",
"value": "P100",
"description": "P100"
},
{
"name": "V100",
"value": "V100",
"description": "V100"
}
]
}
},
"HttpHeader": {
"type": "object",
"description": "The HTTP header.",
"properties": {
"name": {
"type": "string",
"description": "The header name."
},
"value": {
"type": "string",
"description": "The header value."
}
}
},
"ImageRegistryCredential": {
"type": "object",
"description": "Image registry credential.",
"properties": {
"server": {
"type": "string",
"description": "The Docker image registry server without a protocol such as \"http\" and \"https\"."
},
"username": {
"type": "string",
"description": "The username for the private registry."
},
"password": {
"type": "string",
"format": "password",
"description": "The password for the private registry.",
"x-ms-secret": true
},
"passwordReference": {
"type": "string",
"description": "The reference for the private registry password."
},
"identity": {
"type": "string",
"description": "The identity for the private registry."
},
"identityUrl": {
"type": "string",
"description": "The identity URL for the private registry."
}
},
"required": [
"server"
]
},
"InitContainerDefinition": {
"type": "object",
"description": "The init container definition.",
"properties": {
"name": {
"type": "string",
"description": "The name for the init container."
},
"properties": {
"$ref": "#/$defs/InitContainerPropertiesDefinition",
"description": "The properties for the init container.",
"x-ms-client-flatten": true
}
},
"required": [
"name",
"properties"
]
},
"InitContainerPropertiesDefinition": {
"type": "object",
"description": "The init container definition properties.",
"properties": {
"image": {
"type": "string",
"description": "The image of the init container."
},
"command": {
"type": "array",
"description": "The command to execute within the init container in exec form.",
"items": {
"type": "string"
}
},
"environmentVariables": {
"type": "array",
"description": "The environment variables to set in the init container.",
"items": {
"$ref": "#/$defs/EnvironmentVariable"
},
"x-ms-identifiers": [
"name"
]
},
"instanceView": {
"$ref": "#/$defs/InitContainerPropertiesDefinitionInstanceView",
"description": "The instance view of the init container. Only valid in response.",
"readOnly": true
},
"volumeMounts": {
"type": "array",
"description": "The volume mounts available to the init container.",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"x-ms-identifiers": [
"name"
]
},
"securityContext": {
"$ref": "#/$defs/SecurityContextDefinition",
"description": "The container security properties."
}
}
},
"InitContainerPropertiesDefinitionInstanceView": {
"type": "object",
"description": "The instance view of the init container. Only valid in response.",
"properties": {
"restartCount": {
"type": "integer",
"format": "int32",
"description": "The number of times that the init container has been restarted.",
"readOnly": true
},
"currentState": {
"$ref": "#/$defs/ContainerState",
"description": "The current state of the init container.",
"readOnly": true
},
"previousState": {
"$ref": "#/$defs/ContainerState",
"description": "The previous state of the init container.",
"readOnly": true
},
"events": {
"type": "array",
"description": "The events of the init container.",
"items": {
"$ref": "#/$defs/Event"
},
"readOnly": true,
"x-ms-identifiers": [
"name",
"type"
]
}
}
},
"IpAddress": {
"type": "object",
"description": "IP address for the container group.",
"properties": {
"ports": {
"type": "array",
"description": "The list of ports exposed on the container group.",
"items": {
"$ref": "#/$defs/Port"
},
"x-ms-identifiers": [
"port"
]
},
"type": {
"$ref": "#/$defs/ContainerGroupIpAddressType",
"description": "Specifies if the IP is exposed to the public internet or private VNET."
},
"ip": {
"type": "string",
"description": "The IP exposed to the public internet."
},
"dnsNameLabel": {
"type": "string",
"description": "The Dns name label for the IP."
},
"autoGeneratedDomainNameLabelScope": {
"type": "string",
"description": "The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.",
"default": "Unsecure",
"enum": [
"Unsecure",
"TenantReuse",
"SubscriptionReuse",
"ResourceGroupReuse",
"Noreuse"
],
"x-ms-enum": {
"name": "DnsNameLabelReusePolicy",
"modelAsString": true,
"values": [
{
"name": "Unsecure",
"value": "Unsecure",
"description": "Unsecure"
},
{
"name": "TenantReuse",
"value": "TenantReuse",
"description": "TenantReuse"
},
{
"name": "SubscriptionReuse",
"value": "SubscriptionReuse",
"description": "SubscriptionReuse"
},
{
"name": "ResourceGroupReuse",
"value": "ResourceGroupReuse",
"description": "ResourceGroupReuse"
},
{
"name": "Noreuse",
"value": "Noreuse",
"description": "Noreuse"
}
]
}
},
"fqdn": {
"type": "string",
"description": "The FQDN for the IP.",
"readOnly": true
}
},
"required": [
# --- truncated at 32 KB (40 KB total) ---
# Full source: https://artifacts.apis.io/azure-container-instances/json-schema/azure-container-instances-container-group-profile-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/azure-container-instances-container-group-profile"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.