diff --git a/schemas/2021-07-01/Microsoft.ContainerInstance.json b/schemas/2021-07-01/Microsoft.ContainerInstance.json new file mode 100644 index 0000000000..cb4c078c51 --- /dev/null +++ b/schemas/2021-07-01/Microsoft.ContainerInstance.json @@ -0,0 +1,1262 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerInstance.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ContainerInstance", + "description": "Microsoft ContainerInstance Resource Types", + "resourceDefinitions": { + "containerGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerGroupIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the container group." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The name of the container group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container group properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerInstance/containerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerInstance/containerGroups" + } + }, + "definitions": { + "AzureFileVolume": { + "type": "object", + "properties": { + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicating whether the Azure File shared mounted as a volume is read-only." + }, + "shareName": { + "type": "string", + "description": "The name of the Azure File share to be mounted as a volume." + }, + "storageAccountKey": { + "type": "string", + "description": "The storage account access key used to access the Azure File share." + }, + "storageAccountName": { + "type": "string", + "description": "The name of the storage account that contains the Azure File share." + } + }, + "required": [ + "shareName", + "storageAccountName" + ], + "description": "The properties of the Azure File volume. Azure File shares are mounted as volumes." + }, + "Components10wh5udschemascontainergroupidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "Container": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The user-provided name of the container instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container instance properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "A container instance." + }, + "ContainerExec": { + "type": "object", + "properties": { + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The commands to execute within the container." + } + }, + "description": "The container execution command, for liveness or readiness probe" + }, + "ContainerGroupDiagnostics": { + "type": "object", + "properties": { + "logAnalytics": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalytics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container group log analytics information." + } + }, + "description": "Container group diagnostic information." + }, + "ContainerGroupIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Components10wh5udschemascontainergroupidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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}'." + } + }, + "description": "Identity for the container group." + }, + "ContainerGroupProperties": { + "type": "object", + "properties": { + "containers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Container" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The containers within the container group." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerGroupDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container group diagnostic information." + }, + "dnsConfig": { + "oneOf": [ + { + "$ref": "#/definitions/DnsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DNS configuration for the container group." + }, + "encryptionProperties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container group encryption properties." + }, + "imageRegistryCredentials": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ImageRegistryCredential" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The image registry credentials by which the container group is created from." + }, + "initContainers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InitContainerDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The init containers for a container group." + }, + "ipAddress": { + "oneOf": [ + { + "$ref": "#/definitions/IpAddress" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP address for the container group." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The operating system type required by the containers in the container group." + }, + "restartPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Always", + "OnFailure", + "Never" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Restart policy for all containers within the container group. \n- `Always` Always restart\n- `OnFailure` Restart on failure\n- `Never` Never restart\n." + }, + "sku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Dedicated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU for a container group." + }, + "subnetIds": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerGroupSubnetId" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The subnet resource IDs for a container group." + }, + "volumes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Volume" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of volumes that can be mounted by containers in this container group." + } + }, + "required": [ + "containers", + "osType" + ], + "description": "The container group properties" + }, + "ContainerGroupSubnetId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of virtual network and subnet." + }, + "name": { + "type": "string", + "description": "Friendly name for the subnet." + } + }, + "required": [ + "id" + ], + "description": "Container group subnet information." + }, + "ContainerHttpGet": { + "type": "object", + "properties": { + "httpHeaders": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HttpHeader" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The HTTP headers." + }, + "path": { + "type": "string", + "description": "The path to probe." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port number to probe." + }, + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The scheme." + } + }, + "required": [ + "port" + ], + "description": "The container Http Get settings, for liveness or readiness probe" + }, + "ContainerPort": { + "type": "object", + "properties": { + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port number exposed within the container group." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TCP", + "UDP" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protocol associated with the port." + } + }, + "required": [ + "port" + ], + "description": "The port exposed on the container instance." + }, + "ContainerProbe": { + "type": "object", + "properties": { + "exec": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerExec" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container execution command, for liveness or readiness probe" + }, + "failureThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The failure threshold." + }, + "httpGet": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerHttpGet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container Http Get settings, for liveness or readiness probe" + }, + "initialDelaySeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The initial delay seconds." + }, + "periodSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The period seconds." + }, + "successThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The success threshold." + }, + "timeoutSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The timeout seconds." + } + }, + "description": "The container probe, for liveness or readiness" + }, + "ContainerProperties": { + "type": "object", + "properties": { + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The commands to execute within the container instance in exec form." + }, + "environmentVariables": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The environment variables to set in the container instance." + }, + "image": { + "type": "string", + "description": "The name of the image used to create the container instance." + }, + "livenessProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProbe" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container probe, for liveness or readiness" + }, + "ports": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerPort" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The exposed ports on the container instance." + }, + "readinessProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProbe" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container probe, for liveness or readiness" + }, + "resources": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource requirements." + }, + "volumeMounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeMount" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The volume mounts available to the container instance." + } + }, + "required": [ + "image", + "resources" + ], + "description": "The container instance properties." + }, + "DnsConfiguration": { + "type": "object", + "properties": { + "nameServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DNS servers for the container group." + }, + "options": { + "type": "string", + "description": "The DNS options for the container group." + }, + "searchDomains": { + "type": "string", + "description": "The DNS search domains for hostname lookup in the container group." + } + }, + "required": [ + "nameServers" + ], + "description": "DNS configuration for the container group." + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "The encryption key name." + }, + "keyVersion": { + "type": "string", + "description": "The encryption key version." + }, + "vaultBaseUrl": { + "type": "string", + "description": "The keyvault base url." + } + }, + "required": [ + "keyName", + "keyVersion", + "vaultBaseUrl" + ], + "description": "The container group encryption properties." + }, + "EnvironmentVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the environment variable." + }, + "secureValue": { + "type": "string", + "description": "The value of the secure environment variable." + }, + "value": { + "type": "string", + "description": "The value of the environment variable." + } + }, + "required": [ + "name" + ], + "description": "The environment variable to set within the container instance." + }, + "GitRepoVolume": { + "type": "object", + "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" + ], + "description": "Represents a volume that is populated with the contents of a git repository" + }, + "GpuResource": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The count of the GPU resource." + }, + "sku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "K80", + "P100", + "V100" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the GPU resource." + } + }, + "required": [ + "count", + "sku" + ], + "description": "The GPU resource." + }, + "HttpHeader": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The header name." + }, + "value": { + "type": "string", + "description": "The header value." + } + }, + "description": "The HTTP header." + }, + "ImageRegistryCredential": { + "type": "object", + "properties": { + "identity": { + "type": "string", + "description": "The identity for the private registry." + }, + "identityUrl": { + "type": "string", + "description": "The identity URL for the private registry." + }, + "password": { + "type": "string", + "description": "The password for the private registry." + }, + "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." + } + }, + "required": [ + "server", + "username" + ], + "description": "Image registry credential." + }, + "InitContainerDefinition": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name for the init container." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InitContainerPropertiesDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The init container definition properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The init container definition." + }, + "InitContainerPropertiesDefinition": { + "type": "object", + "properties": { + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The command to execute within the init container in exec form." + }, + "environmentVariables": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The environment variables to set in the init container." + }, + "image": { + "type": "string", + "description": "The image of the init container." + }, + "volumeMounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeMount" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The volume mounts available to the init container." + } + }, + "description": "The init container definition properties." + }, + "IpAddress": { + "type": "object", + "properties": { + "dnsNameLabel": { + "type": "string", + "description": "The Dns name label for the IP." + }, + "ip": { + "type": "string", + "description": "The IP exposed to the public internet." + }, + "ports": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Port" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of ports exposed on the container group." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Public", + "Private" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if the IP is exposed to the public internet or private VNET." + } + }, + "required": [ + "ports", + "type" + ], + "description": "IP address for the container group." + }, + "LogAnalytics": { + "type": "object", + "properties": { + "logType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ContainerInsights", + "ContainerInstanceLogs" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The log type to be used." + }, + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata for log analytics." + }, + "workspaceId": { + "type": "string", + "description": "The workspace id for log analytics" + }, + "workspaceKey": { + "type": "string", + "description": "The workspace key for log analytics" + }, + "workspaceResourceId": { + "type": "string", + "description": "The workspace resource id for log analytics" + } + }, + "required": [ + "workspaceId", + "workspaceKey" + ], + "description": "Container group log analytics information." + }, + "Port": { + "type": "object", + "properties": { + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port number." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TCP", + "UDP" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protocol associated with the port." + } + }, + "required": [ + "port" + ], + "description": "The port exposed on the container group." + }, + "ResourceLimits": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CPU limit of this container instance." + }, + "gpu": { + "oneOf": [ + { + "$ref": "#/definitions/GpuResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The GPU resource." + }, + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory limit in GB of this container instance." + } + }, + "description": "The resource limits." + }, + "ResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CPU request of this container instance." + }, + "gpu": { + "oneOf": [ + { + "$ref": "#/definitions/GpuResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The GPU resource." + }, + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory request in GB of this container instance." + } + }, + "required": [ + "cpu", + "memoryInGB" + ], + "description": "The resource requests." + }, + "ResourceRequirements": { + "type": "object", + "properties": { + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceLimits" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource limits." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource requests." + } + }, + "required": [ + "requests" + ], + "description": "The resource requirements." + }, + "Volume": { + "type": "object", + "properties": { + "azureFile": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFileVolume" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Azure File volume. Azure File shares are mounted as volumes." + }, + "emptyDir": { + "type": "object", + "properties": {}, + "description": "The empty directory volume." + }, + "gitRepo": { + "oneOf": [ + { + "$ref": "#/definitions/GitRepoVolume" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a volume that is populated with the contents of a git repository" + }, + "name": { + "type": "string", + "description": "The name of the volume." + }, + "secret": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The secret volume." + } + }, + "required": [ + "name" + ], + "description": "The properties of the volume." + }, + "VolumeMount": { + "type": "object", + "properties": { + "mountPath": { + "type": "string", + "description": "The path within the container where the volume should be mounted. Must not contain colon (:)." + }, + "name": { + "type": "string", + "description": "The name of the volume mount." + }, + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicating whether the volume mount is read-only." + } + }, + "required": [ + "mountPath", + "name" + ], + "description": "The properties of the volume mount." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b5ed43a5ed..0edad612dd 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2704,6 +2704,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.ContainerInstance.json#/resourceDefinitions/containerGroups" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerInstance.json#/resourceDefinitions/containerGroups" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-06-27-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries" },