From a28bff4fbd56ff5be21cbaaaa3494e89f483b7df Mon Sep 17 00:00:00 2001 From: jameszlim Date: Fri, 1 May 2026 03:41:42 -0400 Subject: [PATCH 01/25] New API version 2026-05-01 for Managed Identity Azure File Share Co-authored-by: Copilot --- .../ContainerInstance/readme.md | 11 +- .../stable/2026-05-01/containerInstance.json | 5067 +++++++++++++++++ .../2026-05-01/examples/CachedImagesList.json | 30 + .../2026-05-01/examples/CapabilitiesList.json | 42 + .../2026-05-01/examples/ContainerAttach.json | 20 + .../2026-05-01/examples/ContainerExec.json | 27 + .../ContainerGroupCreateConfidential.json | 187 + ...ntainerGroupCreateOrUpdateStandbyPool.json | 140 + .../ContainerGroupEncryptionProperties.json | 197 + .../examples/ContainerGroupExtensions.json | 213 + ...fileCreateOrUpdate_CreateConfidential.json | 183 + ...leCreateOrUpdate_EncryptionProperties.json | 167 + ...GroupProfileCreateOrUpdate_Extensions.json | 194 + ...tainerGroupProfileGetByRevisionNumber.json | 84 + ...ContainerGroupProfileListAllRevisions.json | 87 + .../ContainerGroupProfilesCreateOrUpdate.json | 296 + .../ContainerGroupProfilesDelete.json | 15 + .../examples/ContainerGroupProfilesGet.json | 83 + .../ContainerGroupProfilesGetPriority.json | 84 + .../examples/ContainerGroupProfilesList.json | 85 + ...ainerGroupProfilesListByResourceGroup.json | 86 + .../examples/ContainerGroupProfilesPatch.json | 102 + .../examples/ContainerGroupUsage.json | 27 + .../ContainerGroupsCreateOrUpdate.json | 321 ++ ...OrUpdateManagedIdentityAzureFileshare.json | 342 ++ ...erGroupsCreateOrUpdateSecretReference.json | 450 ++ .../ContainerGroupsCreatePriority.json | 125 + .../examples/ContainerGroupsDelete.json | 88 + .../examples/ContainerGroupsGetPriority.json | 90 + .../examples/ContainerGroupsGet_Failed.json | 118 + .../ContainerGroupsGet_Succeeded.json | 82 + .../examples/ContainerGroupsList.json | 84 + .../ContainerGroupsListByResourceGroup.json | 85 + .../examples/ContainerGroupsRestart.json | 14 + .../examples/ContainerGroupsStart.json | 19 + .../examples/ContainerGroupsStop.json | 14 + .../examples/ContainerGroupsUpdate.json | 103 + .../examples/ContainerListLogs.json | 20 + .../2026-05-01/examples/OperationsList.json | 26 + .../SubnetServiceAssociationLinkDelete.json | 21 + 40 files changed, 9428 insertions(+), 1 deletion(-) create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md index 92bd91c3b16b..0c53aab30119 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md @@ -26,7 +26,16 @@ These are the global settings for the ContainerInstance API. ``` yaml openapi-type: arm -tag: package-2025-09-01 +tag: package-2026-05-01 +``` + +### Tag: package-2026-05-01 + +These settings apply only when `--tag=package-2026-05-01` is specified on the command line. + +```yaml $(tag) == 'package-2026-05-01' +input-file: + - ./stable/2026-05-01/containerInstance.json ``` ### Tag: package-2025-09-01 diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json new file mode 100644 index 000000000000..fcdcab10c697 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json @@ -0,0 +1,5067 @@ +{ + "swagger": "2.0", + "info": { + "title": "ContainerInstanceManagementClient", + "version": "2026-05-01", + "description": "ContainerInstance", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.ContainerInstance/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "OperationsList": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles": { + "get": { + "operationId": "CGProfiles_ListBySubscription", + "summary": "List container group profiles in a subscription.", + "description": "Gets a list of all container group profiles under a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfileListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupProfilesList": { + "$ref": "./examples/ContainerGroupProfilesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups": { + "get": { + "operationId": "ContainerGroups_List", + "summary": "Get a list of container groups in the specified subscription.", + "description": "Get a list of container groups in the specified subscription. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ContainerGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupsList": { + "$ref": "./examples/ContainerGroupsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/cachedImages": { + "get": { + "operationId": "Location_ListCachedImages", + "summary": "Get the list of cached images.", + "description": "Get the list of cached images on specific OS type for a subscription in a region.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CachedImagesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "CachedImages": { + "$ref": "./examples/CachedImagesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/capabilities": { + "get": { + "operationId": "Location_ListCapabilities", + "summary": "Get the list of capabilities of the location.", + "description": "Get the list of CPU/memory/GPU capabilities of a region.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CapabilitiesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetCapabilities": { + "$ref": "./examples/CapabilitiesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/usages": { + "get": { + "operationId": "Location_ListUsage", + "description": "Get the usage for a subscription", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerUsage": { + "$ref": "./examples/ContainerGroupUsage.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/ngroups": { + "get": { + "operationId": "NGroups_List", + "summary": "List NGroups in a subscription.", + "description": "Gets a list of all NGroups resources under a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NGroupsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles": { + "get": { + "operationId": "CGProfiles_ListByResourceGroup", + "summary": "List container group profiles in a resource group.", + "description": "Gets a list of all container group profiles under a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfileListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupProfilesListByResourceGroup": { + "$ref": "./examples/ContainerGroupProfilesListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}": { + "get": { + "operationId": "CGProfile_Get", + "summary": "Display information about a specified ContainerGroupProfile.", + "description": "Get the properties of the specified container group profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupProfileName", + "in": "path", + "description": "ContainerGroupProfile name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupProfilesGetWithPriority": { + "$ref": "./examples/ContainerGroupProfilesGetPriority.json" + }, + "ContainerGroupProfilesGet_Succeeded": { + "$ref": "./examples/ContainerGroupProfilesGet.json" + } + } + }, + "put": { + "operationId": "CGProfile_CreateOrUpdate", + "summary": "Create or Update a ContainerGroupProfile", + "description": "Create a CGProfile if it doesn't exist or update an existing CGProfile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupProfileName", + "in": "path", + "description": "ContainerGroupProfile name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "ContainerGroupProfile", + "in": "body", + "description": "The ContainerGroupProfile object.", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerGroupProfile" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfile" + }, + "headers": { + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfile" + }, + "headers": { + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfidentialContainerGroupProfile": { + "$ref": "./examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json" + }, + "ContainerGroupProfileCreateWithExtensions": { + "$ref": "./examples/ContainerGroupProfileCreateOrUpdate_Extensions.json" + }, + "ContainerGroupProfileWithEncryptionProperties": { + "$ref": "./examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json" + }, + "ContainerGroupProfilesCreateOrUpdate": { + "$ref": "./examples/ContainerGroupProfilesCreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "CGProfile_Update", + "summary": "Container group profile PATCH REST API.", + "description": "Update a specified container group profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupProfileName", + "in": "path", + "description": "ContainerGroupProfile name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The container group profile properties that need to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerGroupProfilePatch" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfile" + }, + "headers": { + "x-ms-correlation-request-id": { + "type": "string" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ContainerGroupProfilesPatch": { + "$ref": "./examples/ContainerGroupProfilesPatch.json" + } + } + }, + "delete": { + "operationId": "CGProfile_Delete", + "summary": "Container group profile DELETE REST API.", + "description": "Deletes a container group profile.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupProfileName", + "in": "path", + "description": "ContainerGroupProfile name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ContainerGroupProfilesDelete": { + "$ref": "./examples/ContainerGroupProfilesDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions": { + "get": { + "operationId": "CGProfile_ListAllRevisions", + "summary": "Get a list of all the revisions of the specified container group profile in the given subscription and resource group.", + "description": "Get a list of all the revisions of the specified container group profile in the given subscription and resource group. This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupProfileName", + "in": "path", + "description": "ContainerGroupProfile name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfileListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupProfileListAllRevisions": { + "$ref": "./examples/ContainerGroupProfileListAllRevisions.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}": { + "get": { + "operationId": "CGProfile_GetByRevisionNumber", + "summary": "Get the properties of the specified revision of the container group profile.", + "description": "Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupProfileName", + "in": "path", + "description": "ContainerGroupProfile name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "revisionNumber", + "in": "path", + "description": "The revision number of the container group profile.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroupProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupProfileGetByRevisionNumber": { + "$ref": "./examples/ContainerGroupProfileGetByRevisionNumber.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups": { + "get": { + "operationId": "ContainerGroups_ListByResourceGroup", + "summary": "Get a list of container groups in the specified subscription and resource group.", + "description": "Get a list of container groups in a specified subscription and resource group. This operation returns properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ContainerGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupsListByResourceGroup": { + "$ref": "./examples/ContainerGroupsListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}": { + "get": { + "operationId": "ContainerGroups_Get", + "summary": "Get the properties of the specified container group.", + "description": "Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupsGetWithPriority": { + "$ref": "./examples/ContainerGroupsGetPriority.json" + }, + "ContainerGroupsGet_Failed": { + "$ref": "./examples/ContainerGroupsGet_Failed.json" + }, + "ContainerGroupsGet_Succeeded": { + "$ref": "./examples/ContainerGroupsGet_Succeeded.json" + } + } + }, + "put": { + "operationId": "ContainerGroups_CreateOrUpdate", + "summary": "Create or update container groups.", + "description": "Create or update container groups with specified configurations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + }, + { + "name": "containerGroup", + "in": "body", + "description": "The properties of the container group to be created or updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ContainerGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/ContainerGroup" + } + }, + "201": { + "description": "Resource 'ContainerGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/ContainerGroup" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ConfidentialContainerGroup": { + "$ref": "./examples/ContainerGroupCreateConfidential.json" + }, + "ContainerGroupCreateOrUpdateWithStandbyPool": { + "$ref": "./examples/ContainerGroupCreateOrUpdateStandbyPool.json" + }, + "ContainerGroupCreateWithExtensions": { + "$ref": "./examples/ContainerGroupExtensions.json" + }, + "ContainerGroupWithEncryptionProperties": { + "$ref": "./examples/ContainerGroupEncryptionProperties.json" + }, + "ContainerGroupsCreateOrUpdate": { + "$ref": "./examples/ContainerGroupsCreateOrUpdate.json" + }, + "ContainerGroupsCreateOrUpdateSecretReference": { + "$ref": "./examples/ContainerGroupsCreateOrUpdateSecretReference.json" + }, + "ContainerGroupsCreateWithPriority": { + "$ref": "./examples/ContainerGroupsCreatePriority.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ContainerGroup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ContainerGroups_Update", + "summary": "Update container groups.", + "description": "Updates container group tags with specified values.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + }, + { + "name": "Resource", + "in": "body", + "description": "The container group resource with just the tags to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/Resource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupsUpdate": { + "$ref": "./examples/ContainerGroupsUpdate.json" + } + } + }, + "delete": { + "operationId": "ContainerGroups_Delete", + "summary": "Delete the specified container group.", + "description": "Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerGroup" + } + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerGroupsDelete": { + "$ref": "./examples/ContainerGroupsDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ContainerGroup" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/attach": { + "post": { + "operationId": "Containers_Attach", + "summary": "Attach to the output of a specific container instance.", + "description": "Attach to the output stream of a specific container instance in a specified resource group and container group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the container instance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerAttachResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerAttach": { + "$ref": "./examples/ContainerAttach.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec": { + "post": { + "operationId": "Containers_ExecuteCommand", + "summary": "Executes a command in a specific container instance.", + "description": "Executes a command for a specific container instance in a specified resource group and container group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the container instance.", + "required": true, + "type": "string" + }, + { + "name": "containerExecRequest", + "in": "body", + "description": "The request for the exec command.", + "required": true, + "schema": { + "$ref": "#/definitions/ContainerExecRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ContainerExecResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerExec": { + "$ref": "./examples/ContainerExec.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs": { + "get": { + "operationId": "Containers_ListLogs", + "summary": "Get the logs for a specified container instance.", + "description": "Get the logs for a specified container instance in a specified resource group and container group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + }, + { + "name": "containerName", + "in": "path", + "description": "The name of the container instance.", + "required": true, + "type": "string" + }, + { + "name": "tail", + "in": "query", + "description": "The number of lines to show from the tail of the container instance log. If not provided, all available logs are shown up to 4mb.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "timestamps", + "in": "query", + "description": "If true, adds a timestamp at the beginning of every line of log output. If not provided, defaults to false.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Logs" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerListLogs": { + "$ref": "./examples/ContainerListLogs.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/outboundNetworkDependenciesEndpoints": { + "get": { + "operationId": "ContainerGroups_GetOutboundNetworkDependenciesEndpoints", + "summary": "Get all network dependencies for container group.", + "description": "Gets all the network dependencies for this container group to allow complete control of network setting and configuration. For container groups, this will always be an empty list.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkDependenciesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/restart": { + "post": { + "operationId": "ContainerGroups_Restart", + "summary": "Restarts all containers in a container group.", + "description": "Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful. ", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerRestart": { + "$ref": "./examples/ContainerGroupsRestart.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/start": { + "post": { + "operationId": "ContainerGroups_Start", + "summary": "Starts all containers in a container group.", + "description": "Starts all containers in a container group. Compute resources will be allocated and billing will start.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerStart": { + "$ref": "./examples/ContainerGroupsStart.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/stop": { + "post": { + "operationId": "ContainerGroups_Stop", + "summary": "Stops all containers in a container group.", + "description": "Stops all containers in a container group. Compute resources will be deallocated and billing will stop.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "containerGroupName", + "in": "path", + "description": "The name of the container group.", + "required": true, + "type": "string" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ContainerStop": { + "$ref": "./examples/ContainerGroupsStop.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/ngroups": { + "get": { + "operationId": "NGroups_ListByResourceGroup", + "summary": "GET NGroups under a resource group REST API.", + "description": "Gets a list of all NGroups resources under a resource group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NGroupsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/ngroups/{ngroupsName}": { + "get": { + "operationId": "NGroups_Get", + "summary": "NGroups GET REST API", + "description": "Get the properties of the specified NGroups resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ngroupsName", + "in": "path", + "description": "The NGroups name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "operationId": "NGroups_CreateOrUpdate", + "summary": "NGroup PUT REST API", + "description": "Create or update a NGroups resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ngroupsName", + "in": "path", + "description": "The NGroups name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "NGroup", + "in": "body", + "description": "The NGroup object.", + "required": true, + "schema": { + "$ref": "#/definitions/NGroup" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "201": { + "description": "Resource 'NGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/NGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NGroup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NGroups_Update", + "summary": "NGroups PATCH REST API", + "description": "Update a specified NGroups resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ngroupsName", + "in": "path", + "description": "The NGroups name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + }, + { + "name": "NGroup", + "in": "body", + "description": "The NGroup object.", + "required": true, + "schema": { + "$ref": "#/definitions/NGroupPatch" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string" + } + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NGroup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NGroups_Delete", + "summary": "NGroups Delete REST API", + "description": "Deletes the NGroups resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ngroupsName", + "in": "path", + "description": "The NGroups name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/ngroups/{ngroupsName}/restart": { + "post": { + "operationId": "NGroups_Restart", + "summary": "Restarts all container groups in the specified NGroups resource.", + "description": "Restarts all container groups in the specified NGroups resource in place. If container image has updates, new image will be downloaded.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ngroupsName", + "in": "path", + "description": "The NGroups name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/ngroups/{ngroupsName}/start": { + "post": { + "operationId": "NGroups_Start", + "summary": "Starts all container groups in the specified NGroups resource.", + "description": "Starts all container groups in the specified NGroups resource. Compute resources will be allocated and billing will start.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ngroupsName", + "in": "path", + "description": "The NGroups name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/ngroups/{ngroupsName}/stop": { + "post": { + "operationId": "NGroups_Stop", + "summary": "Stops all container groups in the specified NGroups resource.", + "description": "Stops all container groups in the specified NGroups resource. Compute resources will be deallocated and billing will stop.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "ngroupsName", + "in": "path", + "description": "The NGroups name.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$" + } + ], + "responses": { + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default": { + "delete": { + "operationId": "SubnetServiceAssociationLink_Delete", + "summary": "Delete container group virtual network association links.", + "description": "Delete container group virtual network association links. The operation does not delete other resources provided by the user.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualNetworkName", + "in": "path", + "description": "The name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "SubnetServiceAssociationLinkDelete": { + "$ref": "./examples/SubnetServiceAssociationLinkDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ApiEntityReference": { + "type": "object", + "description": "The API entity reference.", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + } + }, + "ApplicationGateway": { + "type": "object", + "description": "Application Gateway the CG profile will use to interact with CGs in a backend pool", + "properties": { + "resource": { + "type": "string", + "description": "The Application Gateway ARM resource Id." + }, + "backendAddressPools": { + "type": "array", + "description": "List of Application Gateway Backend Address Pools.", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendAddressPool" + }, + "x-ms-identifiers": [ + "resource" + ] + } + } + }, + "ApplicationGatewayBackendAddressPool": { + "type": "object", + "description": "NGroups application gateway backend address pool", + "properties": { + "resource": { + "type": "string", + "description": "The application gateway backend address pool ARM resource Id." + } + } + }, + "AzureFileShareAccessType": { + "type": "string", + "description": "Specifies how Container Groups can access the Azure file share i.e. all CG will share same Azure file share or going to have exclusive file share.", + "enum": [ + "Shared", + "Exclusive" + ], + "x-ms-enum": { + "name": "AzureFileShareAccessType", + "modelAsString": false, + "values": [ + { + "name": "Shared", + "value": "Shared", + "description": "Shared" + }, + { + "name": "Exclusive", + "value": "Exclusive", + "description": "Exclusive" + } + ] + } + }, + "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 managed identity which has access to the Azure File share." + } + }, + "required": [ + "shareName", + "storageAccountName" + ] + }, + "CachedImages": { + "type": "object", + "description": "The cached image and OS type.", + "properties": { + "osType": { + "type": "string", + "description": "The OS type of the cached image." + }, + "image": { + "type": "string", + "description": "The cached image name." + } + }, + "required": [ + "osType", + "image" + ] + }, + "CachedImagesListResult": { + "type": "object", + "description": "The response containing cached images.", + "properties": { + "value": { + "type": "array", + "description": "The cached images.", + "items": { + "$ref": "#/definitions/CachedImages" + }, + "x-ms-identifiers": [ + "image" + ] + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "Capabilities": { + "type": "object", + "description": "The regional capabilities.", + "properties": { + "resourceType": { + "type": "string", + "description": "The resource type that this capability describes.", + "readOnly": true + }, + "osType": { + "type": "string", + "description": "The OS type that this capability describes.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The resource location.", + "readOnly": true + }, + "ipAddressType": { + "type": "string", + "description": "The ip address type that this capability describes.", + "readOnly": true + }, + "gpu": { + "type": "string", + "description": "The GPU sku that this capability describes.", + "readOnly": true + }, + "capabilities": { + "$ref": "#/definitions/CapabilitiesCapabilities", + "description": "The supported capabilities.", + "readOnly": true + } + } + }, + "CapabilitiesCapabilities": { + "type": "object", + "description": "The supported capabilities.", + "properties": { + "maxMemoryInGB": { + "type": "number", + "format": "float", + "description": "The maximum allowed memory request in GB.", + "readOnly": true + }, + "maxCpu": { + "type": "number", + "format": "float", + "description": "The maximum allowed CPU request in cores.", + "readOnly": true + }, + "maxGpuCount": { + "type": "number", + "format": "float", + "description": "The maximum allowed GPU count.", + "readOnly": true + } + } + }, + "CapabilitiesListResult": { + "type": "object", + "description": "The response containing list of capabilities.", + "properties": { + "value": { + "type": "array", + "description": "The list of capabilities.", + "items": { + "$ref": "#/definitions/Capabilities" + }, + "x-ms-identifiers": [ + "resourceType", + "location" + ] + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "CloudError": { + "type": "object", + "description": "An error response from the Container Instance service.", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "An error response from the Container Instance service." + } + }, + "x-ms-external": true + }, + "CloudErrorBody": { + "type": "object", + "description": "An error response from the Container Instance service.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "description": "A list of additional details about the error.", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "x-ms-identifiers": [ + "message", + "target" + ] + } + }, + "x-ms-external": true + }, + "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": "#/definitions/ContainerProperties", + "description": "The properties of the container instance.", + "x-ms-client-flatten": true + } + }, + "required": [ + "name", + "properties" + ] + }, + "ContainerAttachResponse": { + "type": "object", + "description": "The information for the output stream from container attach.", + "properties": { + "webSocketUri": { + "type": "string", + "description": "The uri for the output stream from the attach." + }, + "password": { + "type": "string", + "format": "password", + "description": "The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri.", + "x-ms-secret": true + } + } + }, + "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" + } + } + } + }, + "ContainerExecRequest": { + "type": "object", + "description": "The container exec request.", + "properties": { + "command": { + "type": "string", + "description": "The command to be executed." + }, + "terminalSize": { + "$ref": "#/definitions/ContainerExecRequestTerminalSize", + "description": "The size of the terminal." + } + } + }, + "ContainerExecRequestTerminalSize": { + "type": "object", + "description": "The size of the terminal.", + "properties": { + "rows": { + "type": "integer", + "format": "int32", + "description": "The row size of the terminal" + }, + "cols": { + "type": "integer", + "format": "int32", + "description": "The column size of the terminal" + } + } + }, + "ContainerExecResponse": { + "type": "object", + "description": "The information for the container exec command.", + "properties": { + "webSocketUri": { + "type": "string", + "description": "The uri for the exec websocket." + }, + "password": { + "type": "string", + "format": "password", + "description": "The password to start the exec command.", + "x-ms-secret": true + } + } + }, + "ContainerGroup": { + "type": "object", + "description": "A container group.", + "properties": { + "location": { + "type": "string", + "description": "The resource location." + }, + "tags": { + "type": "object", + "description": "The resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/ContainerGroupIdentity", + "description": "The identity of the container group, if configured." + }, + "properties": { + "$ref": "#/definitions/ContainerGroupPropertiesProperties", + "description": "The container group properties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ContainerGroupDiagnostics": { + "type": "object", + "description": "Container group diagnostic information.", + "properties": { + "logAnalytics": { + "$ref": "#/definitions/LogAnalytics", + "description": "Container group log analytics information." + } + } + }, + "ContainerGroupIdentity": { + "type": "object", + "description": "Identity for the container group.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of the container group identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant id associated with the container group. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "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": { + "type": "object", + "description": "The list of user identities associated with the container group.", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentities" + } + } + } + }, + "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" + } + ] + } + }, + "ContainerGroupListResult": { + "type": "object", + "description": "The response of a container group list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ListResultContainerGroup items on this page", + "items": { + "$ref": "#/definitions/ListResultContainerGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "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" + } + ] + } + }, + "ContainerGroupProfile": { + "type": "object", + "description": "A container group profile object", + "properties": { + "properties": { + "$ref": "#/definitions/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": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ContainerGroupProfileListResult": { + "type": "object", + "description": "The response of a ContainerGroupProfile list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ContainerGroupProfile items on this page", + "items": { + "$ref": "#/definitions/ContainerGroupProfile" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ContainerGroupProfilePatch": { + "type": "object", + "description": "Properties of container group profile that need to be patched", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ContainerGroupProfileProperties": { + "type": "object", + "description": "The container group profile properties", + "properties": { + "sku": { + "$ref": "#/definitions/ContainerGroupSku", + "description": "The SKU for a container group." + }, + "encryptionProperties": { + "$ref": "#/definitions/EncryptionProperties", + "description": "The encryption properties for a container group." + }, + "containers": { + "type": "array", + "description": "The containers within the container group.", + "items": { + "$ref": "#/definitions/Container" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "initContainers": { + "type": "array", + "description": "The init containers for a container group.", + "items": { + "$ref": "#/definitions/InitContainerDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "extensions": { + "type": "array", + "description": "extensions used by virtual kubelet", + "items": { + "$ref": "#/definitions/DeploymentExtensionSpec" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "imageRegistryCredentials": { + "type": "array", + "description": "The image registry credentials by which the container group is created from.", + "items": { + "$ref": "#/definitions/ImageRegistryCredential" + }, + "x-ms-identifiers": [ + "username" + ] + }, + "restartPolicy": { + "$ref": "#/definitions/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": "#/definitions/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": "#/definitions/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": "#/definitions/Volume" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "diagnostics": { + "$ref": "#/definitions/ContainerGroupDiagnostics", + "description": "The diagnostic information for a container group." + }, + "priority": { + "$ref": "#/definitions/ContainerGroupPriority", + "description": "The priority of the container group." + }, + "confidentialComputeProperties": { + "$ref": "#/definitions/ConfidentialComputeProperties", + "description": "The properties for confidential container group" + }, + "securityContext": { + "$ref": "#/definitions/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" + ] + }, + "ContainerGroupProfileReferenceDefinition": { + "type": "object", + "description": "The container group profile reference.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "The container group profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}'." + }, + "revision": { + "type": "integer", + "format": "int32", + "description": "The container group profile reference revision." + } + } + }, + "ContainerGroupProfileStub": { + "type": "object", + "description": "The object that contains a reference to a Container Group Profile and it's other related properties.", + "properties": { + "resource": { + "$ref": "#/definitions/ApiEntityReference", + "description": "A reference to the container group profile ARM resource hosted in ACI RP." + }, + "revision": { + "type": "integer", + "format": "int32", + "description": "The revision of the CG profile is an optional property. If customer does not to provide a revision then NGroups will pickup the latest revision of CGProfile." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "A network profile for network settings of a ContainerGroupProfile." + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Storage profile for storage related settings of a container group profile." + }, + "containerGroupProperties": { + "$ref": "#/definitions/NGroupContainerGroupProperties", + "description": "Container Group properties which can be set while creating or updating the NGroups." + } + } + }, + "ContainerGroupPropertiesProperties": { + "type": "object", + "description": "The container group properties", + "properties": { + "provisioningState": { + "type": "string", + "description": "The provisioning state of the container group. This only appears in the response.", + "readOnly": true + }, + "secretReferences": { + "type": "array", + "description": "The secret references that will be referenced within the container group.", + "items": { + "$ref": "#/definitions/SecretReference" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "containers": { + "type": "array", + "description": "The containers within the container group.", + "items": { + "$ref": "#/definitions/Container" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "imageRegistryCredentials": { + "type": "array", + "description": "The image registry credentials by which the container group is created from.", + "items": { + "$ref": "#/definitions/ImageRegistryCredential" + }, + "x-ms-identifiers": [ + "username" + ] + }, + "restartPolicy": { + "$ref": "#/definitions/ContainerGroupRestartPolicy", + "description": "Restart policy for all containers within the container group.\n- `Always` Always restart\n- `OnFailure` Restart on failure\n- `Never` Never restart" + }, + "ipAddress": { + "$ref": "#/definitions/IpAddress", + "description": "The IP address type of the container group." + }, + "osType": { + "$ref": "#/definitions/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": "#/definitions/Volume" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "instanceView": { + "$ref": "#/definitions/ContainerGroupPropertiesPropertiesInstanceView", + "description": "The instance view of the container group. Only valid in response.", + "readOnly": true + }, + "diagnostics": { + "$ref": "#/definitions/ContainerGroupDiagnostics", + "description": "The diagnostic information for a container group." + }, + "subnetIds": { + "type": "array", + "description": "The subnet resource IDs for a container group.", + "items": { + "$ref": "#/definitions/ContainerGroupSubnetId" + } + }, + "dnsConfig": { + "$ref": "#/definitions/DnsConfiguration", + "description": "The DNS config information for a container group." + }, + "sku": { + "$ref": "#/definitions/ContainerGroupSku", + "description": "The SKU for a container group." + }, + "encryptionProperties": { + "$ref": "#/definitions/EncryptionProperties", + "description": "The encryption properties for a container group." + }, + "initContainers": { + "type": "array", + "description": "The init containers for a container group.", + "items": { + "$ref": "#/definitions/InitContainerDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "extensions": { + "type": "array", + "description": "extensions used by virtual kubelet", + "items": { + "$ref": "#/definitions/DeploymentExtensionSpec" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "confidentialComputeProperties": { + "$ref": "#/definitions/ConfidentialComputeProperties", + "description": "The properties for confidential container group" + }, + "priority": { + "$ref": "#/definitions/ContainerGroupPriority", + "description": "The priority of the container group." + }, + "identityAcls": { + "$ref": "#/definitions/IdentityAcls", + "description": "The access control levels of the identities." + }, + "containerGroupProfile": { + "$ref": "#/definitions/ContainerGroupProfileReferenceDefinition", + "description": "The reference container group profile properties." + }, + "standbyPoolProfile": { + "$ref": "#/definitions/StandbyPoolProfileDefinition", + "description": "The reference standby pool profile properties." + }, + "isCreatedFromStandbyPool": { + "type": "boolean", + "description": "The flag to determine whether the container group is created from standby pool.", + "readOnly": true + } + }, + "required": [ + "containers" + ] + }, + "ContainerGroupPropertiesPropertiesInstanceView": { + "type": "object", + "description": "The instance view of the container group. Only valid in response.", + "properties": { + "events": { + "type": "array", + "description": "The events of this container group.", + "items": { + "$ref": "#/definitions/Event" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name", + "type" + ] + }, + "state": { + "type": "string", + "description": "The state of the container group. Only valid in response.", + "readOnly": true + } + } + }, + "ContainerGroupProvisioningState": { + "type": "string", + "description": "The provisioning state of the container group. This only appears in the response.", + "enum": [ + "NotSpecified", + "Accepted", + "Pending", + "Updating", + "Creating", + "Repairing", + "Unhealthy", + "Failed", + "Canceled", + "Succeeded", + "Deleting", + "NotAccessible", + "PreProvisioned" + ], + "x-ms-enum": { + "name": "ContainerGroupProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "NotSpecified" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted" + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Repairing", + "value": "Repairing", + "description": "Repairing" + }, + { + "name": "Unhealthy", + "value": "Unhealthy", + "description": "Unhealthy" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "NotAccessible", + "value": "NotAccessible", + "description": "NotAccessible" + }, + { + "name": "PreProvisioned", + "value": "PreProvisioned", + "description": "PreProvisioned" + } + ] + } + }, + "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" + } + ] + } + }, + "ContainerGroupSubnetId": { + "type": "object", + "description": "Container group subnet information.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of virtual network and subnet." + }, + "name": { + "type": "string", + "description": "Friendly name for the subnet." + } + }, + "required": [ + "id" + ] + }, + "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": "#/definitions/Scheme", + "description": "The scheme." + }, + "httpHeaders": { + "type": "array", + "description": "The HTTP headers.", + "items": { + "$ref": "#/definitions/HttpHeader" + }, + "x-ms-identifiers": [ + "name" + ] + } + }, + "required": [ + "port" + ] + }, + "ContainerInstanceOperationsOrigin": { + "type": "string", + "description": "The intended executor of the operation.", + "enum": [ + "User", + "System" + ], + "x-ms-enum": { + "name": "ContainerInstanceOperationsOrigin", + "modelAsString": true, + "values": [ + { + "name": "User", + "value": "User", + "description": "User" + }, + { + "name": "System", + "value": "System", + "description": "System" + } + ] + } + }, + "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": "#/definitions/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": "#/definitions/ContainerExec", + "description": "The execution command to probe" + }, + "httpGet": { + "$ref": "#/definitions/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": "#/definitions/ContainerPort" + }, + "x-ms-identifiers": [ + "port" + ] + }, + "environmentVariables": { + "type": "array", + "description": "The environment variables to set in the container instance.", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "instanceView": { + "$ref": "#/definitions/ContainerPropertiesInstanceView", + "description": "The instance view of the container instance. Only valid in response.", + "readOnly": true + }, + "resources": { + "$ref": "#/definitions/ResourceRequirements", + "description": "The resource requirements of the container instance." + }, + "volumeMounts": { + "type": "array", + "description": "The volume mounts available to the container instance.", + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "livenessProbe": { + "$ref": "#/definitions/ContainerProbe", + "description": "The liveness probe." + }, + "readinessProbe": { + "$ref": "#/definitions/ContainerProbe", + "description": "The readiness probe." + }, + "securityContext": { + "$ref": "#/definitions/SecurityContextDefinition", + "description": "The container security properties." + }, + "configMap": { + "$ref": "#/definitions/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": "#/definitions/ContainerState", + "description": "Current container instance state.", + "readOnly": true + }, + "previousState": { + "$ref": "#/definitions/ContainerState", + "description": "Previous container instance state.", + "readOnly": true + }, + "events": { + "type": "array", + "description": "The events of the container instance.", + "items": { + "$ref": "#/definitions/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": "#/definitions/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" + ] + }, + "DnsConfiguration": { + "type": "object", + "description": "DNS configuration for the container group.", + "properties": { + "nameServers": { + "type": "array", + "description": "The DNS servers for the container group.", + "items": { + "type": "string" + } + }, + "searchDomains": { + "type": "string", + "description": "The DNS search domains for hostname lookup in the container group." + }, + "options": { + "type": "string", + "description": "The DNS options for the container group." + } + }, + "required": [ + "nameServers" + ] + }, + "ElasticProfile": { + "type": "object", + "description": "Describes the elastic profile of the NGroup", + "properties": { + "desiredCount": { + "type": "integer", + "format": "int32" + }, + "maintainDesiredCount": { + "type": "boolean", + "description": "Flag that indicates whether desiredCount should be maintained when customer deletes SPECIFIC container groups (CGs) from the NGroups. In this case, new CGs will be created by NGroup to compensate for the specific deleted ones." + }, + "containerGroupNamingPolicy": { + "$ref": "#/definitions/ElasticProfileContainerGroupNamingPolicy", + "description": "Container Groups are named on a generic guid based naming scheme/policy. Customer can modify naming policy to add prefix to CG names during scale out operation." + } + } + }, + "ElasticProfileContainerGroupNamingPolicy": { + "type": "object", + "description": "Container Groups are named on a generic guid based naming scheme/policy. Customer can modify naming policy to add prefix to CG names during scale out operation.", + "properties": { + "guidNamingPolicy": { + "$ref": "#/definitions/ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy" + } + } + }, + "ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy": { + "type": "object", + "properties": { + "prefix": { + "type": "string", + "description": "The prefix can be used when there are tooling limitations (e.g. on the Azure portal where CGs from multiple NGroups exist in the same RG). The prefix with the suffixed resource name must still follow Azure resource naming guidelines." + } + } + }, + "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 + } + } + }, + "FileShare": { + "type": "object", + "description": "File shares that can be mounted on container groups.", + "properties": { + "name": { + "type": "string" + }, + "resourceGroupName": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "properties": { + "$ref": "#/definitions/FileShareProperties" + } + } + }, + "FileShareProperties": { + "type": "object", + "properties": { + "shareAccessType": { + "$ref": "#/definitions/AzureFileShareAccessType", + "description": "Specifies how Container Groups can access the Azure file share i.e. all CG will share same Azure file share or going to have exclusive file share." + }, + "shareAccessTier": { + "type": "string", + "description": "Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. Learn more at: https://learn.microsoft.com/en-us/rest/api/storagerp/file-shares/create?tabs=HTTP#shareaccesstier", + "default": "TransactionOptimized", + "enum": [ + "Cool", + "Hot", + "Premium", + "TransactionOptimized" + ], + "x-ms-enum": { + "name": "AzureFileShareAccessTier", + "modelAsString": false, + "values": [ + { + "name": "Cool", + "value": "Cool", + "description": "Cool" + }, + { + "name": "Hot", + "value": "Hot", + "description": "Hot" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium" + }, + { + "name": "TransactionOptimized", + "value": "TransactionOptimized", + "description": "TransactionOptimized" + } + ] + } + } + } + }, + "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": "#/definitions/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." + } + } + }, + "IdentityAccessControl": { + "type": "object", + "description": "The access control for an identity", + "properties": { + "access": { + "$ref": "#/definitions/IdentityAccessLevel", + "description": "The access level of the identity." + }, + "identity": { + "type": "string", + "format": "arm-id", + "description": "An identity." + } + } + }, + "IdentityAccessLevel": { + "type": "string", + "description": "The access level of an identity.", + "enum": [ + "All", + "System", + "User" + ], + "x-ms-enum": { + "name": "IdentityAccessLevel", + "modelAsString": true, + "values": [ + { + "name": "All", + "value": "All", + "description": "All" + }, + { + "name": "System", + "value": "System", + "description": "System" + }, + { + "name": "User", + "value": "User", + "description": "User" + } + ] + } + }, + "IdentityAcls": { + "type": "object", + "description": "The access control levels of the identities.", + "properties": { + "defaultAccess": { + "$ref": "#/definitions/IdentityAccessLevel", + "description": "The default access level." + }, + "acls": { + "type": "array", + "description": "The access control levels for each identity.", + "items": { + "$ref": "#/definitions/IdentityAccessControl" + }, + "x-ms-identifiers": [ + "identity" + ] + } + } + }, + "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": "#/definitions/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": "#/definitions/EnvironmentVariable" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "instanceView": { + "$ref": "#/definitions/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": "#/definitions/VolumeMount" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "securityContext": { + "$ref": "#/definitions/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": "#/definitions/ContainerState", + "description": "The current state of the init container.", + "readOnly": true + }, + "previousState": { + "$ref": "#/definitions/ContainerState", + "description": "The previous state of the init container.", + "readOnly": true + }, + "events": { + "type": "array", + "description": "The events of the init container.", + "items": { + "$ref": "#/definitions/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": "#/definitions/Port" + }, + "x-ms-identifiers": [ + "port" + ] + }, + "type": { + "$ref": "#/definitions/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": [ + "ports", + "type" + ] + }, + "ListResultContainerGroup": { + "type": "object", + "description": "A container group part of the list result.", + "properties": { + "id": { + "type": "string", + "description": "The resource id.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "tags": { + "type": "object", + "description": "The resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "zones": { + "type": "array", + "description": "The zones for the container group.", + "items": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/ContainerGroupIdentity", + "description": "The identity of the container group, if configured." + }, + "properties": { + "$ref": "#/definitions/ListResultContainerGroupPropertiesProperties", + "description": "The container group properties", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "ListResultContainerGroupPropertiesProperties": { + "type": "object", + "description": "The container group properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ContainerGroupProvisioningState", + "description": "The provisioning state of the container group. This only appears in the response.", + "readOnly": true + }, + "secretReferences": { + "type": "array", + "description": "The secret references that will be referenced within the container group.", + "items": { + "$ref": "#/definitions/SecretReference" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "containers": { + "type": "array", + "description": "The containers within the container group.", + "items": { + "$ref": "#/definitions/Container" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "imageRegistryCredentials": { + "type": "array", + "description": "The image registry credentials by which the container group is created from.", + "items": { + "$ref": "#/definitions/ImageRegistryCredential" + }, + "x-ms-identifiers": [ + "username" + ] + }, + "restartPolicy": { + "$ref": "#/definitions/ContainerGroupRestartPolicy", + "description": "Restart policy for all containers within the container group.\n- `Always` Always restart\n- `OnFailure` Restart on failure\n- `Never` Never restart" + }, + "ipAddress": { + "$ref": "#/definitions/IpAddress", + "description": "The IP address type of the container group." + }, + "osType": { + "$ref": "#/definitions/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": "#/definitions/Volume" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "diagnostics": { + "$ref": "#/definitions/ContainerGroupDiagnostics", + "description": "The diagnostic information for a container group." + }, + "subnetIds": { + "type": "array", + "description": "The subnet resource IDs for a container group.", + "items": { + "$ref": "#/definitions/ContainerGroupSubnetId" + } + }, + "dnsConfig": { + "$ref": "#/definitions/DnsConfiguration", + "description": "The DNS config information for a container group." + }, + "sku": { + "$ref": "#/definitions/ContainerGroupSku", + "description": "The SKU for a container group." + }, + "encryptionProperties": { + "$ref": "#/definitions/EncryptionProperties", + "description": "The encryption properties for a container group." + }, + "initContainers": { + "type": "array", + "description": "The init containers for a container group.", + "items": { + "$ref": "#/definitions/InitContainerDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "extensions": { + "type": "array", + "description": "extensions used by virtual kubelet", + "items": { + "$ref": "#/definitions/DeploymentExtensionSpec" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "confidentialComputeProperties": { + "$ref": "#/definitions/ConfidentialComputeProperties", + "description": "The properties for confidential container group" + }, + "priority": { + "$ref": "#/definitions/ContainerGroupPriority", + "description": "The priority of the container group." + }, + "identityAcls": { + "$ref": "#/definitions/IdentityAcls", + "description": "The access control levels of the identities." + }, + "containerGroupProfile": { + "$ref": "#/definitions/ContainerGroupProfileReferenceDefinition", + "description": "The reference container group profile properties." + }, + "standbyPoolProfile": { + "$ref": "#/definitions/StandbyPoolProfileDefinition", + "description": "The reference standby pool profile properties." + }, + "isCreatedFromStandbyPool": { + "type": "boolean", + "description": "The flag to determine whether the container group is created from standby pool.", + "readOnly": true + } + }, + "required": [ + "containers", + "osType" + ] + }, + "LoadBalancer": { + "type": "object", + "description": "LoadBalancer the CG profile will use to interact with CGs in a backend pool", + "properties": { + "backendAddressPools": { + "type": "array", + "description": "List of Load Balancer Backend Address Pools.", + "items": { + "$ref": "#/definitions/LoadBalancerBackendAddressPool" + }, + "x-ms-identifiers": [ + "resource" + ] + } + } + }, + "LoadBalancerBackendAddressPool": { + "type": "object", + "description": "NGroups load balancer backend address pool", + "properties": { + "resource": { + "type": "string", + "description": "The Load Balancer backend address pool ARM resource Id." + } + } + }, + "LogAnalytics": { + "type": "object", + "description": "Container group log analytics information.", + "properties": { + "workspaceId": { + "type": "string", + "description": "The workspace id for log analytics" + }, + "workspaceKey": { + "type": "string", + "format": "password", + "description": "The workspace key for log analytics", + "x-ms-secret": true + }, + "logType": { + "$ref": "#/definitions/LogAnalyticsLogType", + "description": "The log type to be used." + }, + "metadata": { + "type": "object", + "description": "Metadata for log analytics.", + "additionalProperties": { + "type": "string" + } + }, + "workspaceResourceId": { + "type": "string", + "format": "password", + "description": "The workspace resource id for log analytics", + "x-ms-secret": true + } + }, + "required": [ + "workspaceId", + "workspaceKey" + ] + }, + "LogAnalyticsLogType": { + "type": "string", + "description": "The log type to be used.", + "enum": [ + "ContainerInsights", + "ContainerInstanceLogs" + ], + "x-ms-enum": { + "name": "LogAnalyticsLogType", + "modelAsString": true, + "values": [ + { + "name": "ContainerInsights", + "value": "ContainerInsights", + "description": "ContainerInsights" + }, + { + "name": "ContainerInstanceLogs", + "value": "ContainerInstanceLogs", + "description": "ContainerInstanceLogs" + } + ] + } + }, + "Logs": { + "type": "object", + "description": "The logs.", + "properties": { + "content": { + "type": "string", + "description": "The content of the log." + } + } + }, + "NGroup": { + "type": "object", + "description": "Describes the NGroups resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NGroupProperties", + "description": "Describes the properties of the NGroups resource.", + "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" + } + }, + "identity": { + "$ref": "#/definitions/NGroupIdentity", + "description": "The identity of the NGroup, if configured." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NGroupCGPropertyContainer": { + "type": "object", + "description": "Container properties that can be provided with NGroups object.", + "properties": { + "name": { + "type": "string", + "description": "container name" + }, + "properties": { + "$ref": "#/definitions/NGroupCGPropertyContainerProperties", + "description": "container properties" + } + } + }, + "NGroupCGPropertyContainerProperties": { + "type": "object", + "description": "container properties", + "properties": { + "volumeMounts": { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeMount" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "NGroupCGPropertyVolume": { + "type": "object", + "description": "Contains information about the volumes that can be mounted by Containers in the Container Groups.", + "properties": { + "name": { + "type": "string", + "description": "The name of the volume." + }, + "azureFile": { + "$ref": "#/definitions/AzureFileVolume", + "description": "The Azure File volume." + } + }, + "required": [ + "name" + ] + }, + "NGroupContainerGroupProperties": { + "type": "object", + "description": "Container Group properties which can be set while creating or updating the NGroups.", + "properties": { + "subnetIds": { + "type": "array", + "description": "Contains information about Virtual Network Subnet ARM Resource", + "items": { + "$ref": "#/definitions/ContainerGroupSubnetId" + } + }, + "volumes": { + "type": "array", + "description": "Contains information about the volumes that can be mounted by Containers in the Container Groups.", + "items": { + "$ref": "#/definitions/NGroupCGPropertyVolume" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "containers": { + "type": "array", + "description": "Contains information about Container which can be set while creating or updating the NGroups.", + "items": { + "$ref": "#/definitions/NGroupCGPropertyContainer" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "NGroupIdentity": { + "type": "object", + "description": "Identity for the NGroup.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of the NGroup identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant id associated with the NGroup. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/ResourceIdentityType", + "description": "The type of identity used for the NGroup. 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 NGroup." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with the NGroup.", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentities" + } + } + } + }, + "NGroupPatch": { + "type": "object", + "description": "Describes the NGroups resource.", + "properties": { + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "Metadata pertaining to creation and last modification of the resource.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/NGroupProperties", + "description": "Describes the properties of the NGroups resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/NGroupIdentity", + "description": "The identity of the NGroup, if configured." + }, + "tags": { + "type": "object", + "description": "The resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "zones": { + "type": "array", + "description": "The zones for the NGroup.", + "items": { + "type": "string" + } + } + } + }, + "NGroupProperties": { + "type": "object", + "description": "Describes the properties of the NGroups resource.", + "properties": { + "elasticProfile": { + "$ref": "#/definitions/ElasticProfile", + "description": "The elastic profile." + }, + "placementProfile": { + "$ref": "#/definitions/PlacementProfile", + "description": "Provides options w.r.t allocation and management w.r.t certain placement policies. These utilize capabilities provided by the underlying Azure infrastructure. They are typically used for high availability scenarios. E.g., distributing CGs across fault domains." + }, + "containerGroupProfiles": { + "type": "array", + "description": "The Container Group Profiles that could be used in the NGroups resource.", + "items": { + "$ref": "#/definitions/ContainerGroupProfileStub" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/NGroupProvisioningState", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "updateProfile": { + "$ref": "#/definitions/UpdateProfile", + "description": "Used by the customer to specify the way to update the Container Groups in NGroup." + } + } + }, + "NGroupProvisioningState": { + "type": "string", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "Creating", + "Updating", + "Failed", + "Succeeded", + "Canceled", + "Deleting", + "Migrating" + ], + "x-ms-enum": { + "name": "NGroupProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Migrating", + "value": "Migrating", + "description": "Migrating" + } + ] + } + }, + "NGroupUpdateMode": { + "type": "string", + "enum": [ + "Manual", + "Rolling" + ], + "x-ms-enum": { + "name": "NGroupUpdateMode", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual", + "description": "Manual" + }, + { + "name": "Rolling", + "value": "Rolling", + "description": "Rolling" + } + ] + } + }, + "NGroupsListResult": { + "type": "object", + "description": "The response of a NGroups list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NGroup items on this page", + "items": { + "$ref": "#/definitions/NGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkDependenciesResponse": { + "type": "array", + "description": "Response for network dependencies, always empty list.", + "items": { + "type": "string" + } + }, + "NetworkProfile": { + "type": "object", + "description": "A network profile for network settings of a ContainerGroupProfile. Used to manage load balancer and application gateway backend pools, specifically updating the IP addresses of CGs within the backend pool.", + "properties": { + "loadBalancer": { + "$ref": "#/definitions/LoadBalancer", + "description": "LoadBalancer the CG profile will use to interact with CGs in a backend pool" + }, + "applicationGateway": { + "$ref": "#/definitions/ApplicationGateway", + "description": "Application Gateway the CG profile will use to interact with CGs in a backend pool" + } + } + }, + "OperatingSystemTypes": { + "type": "string", + "description": "The operating system type required by the containers in the container group.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Windows" + }, + { + "name": "Linux", + "value": "Linux", + "description": "Linux" + } + ] + } + }, + "Operation": { + "type": "object", + "description": "An operation for Azure Container Instance service.", + "properties": { + "name": { + "type": "string", + "description": "The name of the operation." + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "The display information of the operation." + }, + "properties": { + "description": "The additional properties.", + "x-ms-client-flatten": true + }, + "origin": { + "$ref": "#/definitions/ContainerInstanceOperationsOrigin", + "description": "The intended executor of the operation." + } + }, + "required": [ + "name", + "display" + ] + }, + "OperationDisplay": { + "type": "object", + "description": "The display information of the operation.", + "properties": { + "provider": { + "type": "string", + "description": "The name of the provider of the operation." + }, + "resource": { + "type": "string", + "description": "The name of the resource type of the operation." + }, + "operation": { + "type": "string", + "description": "The friendly name of the operation." + }, + "description": { + "type": "string", + "description": "The description of the operation." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "Paged collection of Operation items", + "properties": { + "value": { + "type": "array", + "description": "The Operation items on this page", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PlacementProfile": { + "type": "object", + "description": "Provides options w.r.t allocation and management w.r.t certain placement policies. These utilize capabilities provided by the underlying Azure infrastructure. They are typically used for high availability scenarios. E.g., distributing CGs across fault domains.", + "properties": { + "faultDomainCount": { + "type": "integer", + "format": "int32", + "description": "The number of fault domains to be used to spread CGs in the NGroups resource. This can only be specified during NGroup creation and is immutable after that." + } + } + }, + "Port": { + "type": "object", + "description": "The port exposed on the container group.", + "properties": { + "protocol": { + "$ref": "#/definitions/ContainerGroupNetworkProtocol", + "description": "The protocol associated with the port." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port number." + } + }, + "required": [ + "port" + ] + }, + "Resource": { + "type": "object", + "description": "The Resource model definition.", + "properties": { + "id": { + "type": "string", + "description": "The resource id.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "tags": { + "type": "object", + "description": "The resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "zones": { + "type": "array", + "description": "The zones for the container group.", + "items": { + "type": "string" + } + } + } + }, + "ResourceIdentityType": { + "type": "string", + "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" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned", + "description": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "UserAssigned" + }, + { + "name": "SystemAssigned, UserAssigned", + "value": "SystemAssigned, UserAssigned", + "description": "SystemAssigned, UserAssigned" + }, + { + "name": "None", + "value": "None", + "description": "None" + } + ] + } + }, + "ResourceLimits": { + "type": "object", + "description": "The resource limits.", + "properties": { + "memoryInGB": { + "type": "number", + "format": "double", + "description": "The memory limit in GB of this container instance." + }, + "cpu": { + "type": "number", + "format": "double", + "description": "The CPU limit of this container instance." + }, + "gpu": { + "$ref": "#/definitions/GpuResource", + "description": "The GPU limit of this container instance." + } + } + }, + "ResourceRequests": { + "type": "object", + "description": "The resource requests.", + "properties": { + "memoryInGB": { + "type": "number", + "format": "double", + "description": "The memory request in GB of this container instance." + }, + "cpu": { + "type": "number", + "format": "double", + "description": "The CPU request of this container instance." + }, + "gpu": { + "$ref": "#/definitions/GpuResource", + "description": "The GPU request of this container instance." + } + }, + "required": [ + "memoryInGB", + "cpu" + ] + }, + "ResourceRequirements": { + "type": "object", + "description": "The resource requirements.", + "properties": { + "requests": { + "$ref": "#/definitions/ResourceRequests", + "description": "The resource requests of this container instance." + }, + "limits": { + "$ref": "#/definitions/ResourceLimits", + "description": "The resource limits of this container instance." + } + }, + "required": [ + "requests" + ] + }, + "Scheme": { + "type": "string", + "description": "The scheme.", + "enum": [ + "http", + "https" + ], + "x-ms-enum": { + "name": "Scheme", + "modelAsString": true, + "values": [ + { + "name": "http", + "value": "http", + "description": "http" + }, + { + "name": "https", + "value": "https", + "description": "https" + } + ] + } + }, + "SecretReference": { + "type": "object", + "description": "A secret reference", + "properties": { + "name": { + "type": "string", + "description": "The identifier of the secret reference" + }, + "identity": { + "type": "string", + "format": "arm-id", + "description": "The ARM resource id of the managed identity that has access to the secret in the key vault" + }, + "secretReferenceUri": { + "type": "string", + "format": "uri", + "description": "The URI to the secret in key vault" + } + }, + "required": [ + "name", + "identity", + "secretReferenceUri" + ] + }, + "SecurityContextCapabilitiesDefinition": { + "type": "object", + "description": "The capabilities to add or drop from a container.", + "properties": { + "add": { + "type": "array", + "description": "The capabilities to add to the container.", + "items": { + "type": "string" + } + }, + "drop": { + "type": "array", + "description": "The capabilities to drop from the container.", + "items": { + "type": "string" + } + } + } + }, + "SecurityContextDefinition": { + "type": "object", + "description": "The security context for the container.", + "properties": { + "privileged": { + "type": "boolean", + "description": "The flag to determine if the container permissions is elevated to Privileged." + }, + "allowPrivilegeEscalation": { + "type": "boolean", + "description": "A boolean value indicating whether the init process can elevate its privileges" + }, + "capabilities": { + "$ref": "#/definitions/SecurityContextCapabilitiesDefinition", + "description": "The capabilities to add or drop from a container." + }, + "runAsGroup": { + "type": "integer", + "format": "int32", + "description": "Sets the User GID for the container." + }, + "runAsUser": { + "type": "integer", + "format": "int32", + "description": "Sets the User UID for the container." + }, + "seccompProfile": { + "type": "string", + "description": "a base64 encoded string containing the contents of the JSON in the seccomp profile" + } + } + }, + "StandbyPoolProfileDefinition": { + "type": "object", + "description": "The standby pool profile reference.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'." + }, + "failContainerGroupCreateOnReuseFailure": { + "type": "boolean", + "description": "The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool." + } + } + }, + "StorageProfile": { + "type": "object", + "description": "Storage profile for storage related settings of a container group profile.", + "properties": { + "fileShares": { + "type": "array", + "items": { + "$ref": "#/definitions/FileShare" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "UpdateProfile": { + "type": "object", + "description": "Used by the customer to specify the way to update the Container Groups in NGroup.", + "properties": { + "updateMode": { + "$ref": "#/definitions/NGroupUpdateMode" + }, + "rollingUpdateProfile": { + "$ref": "#/definitions/UpdateProfileRollingUpdateProfile", + "description": "This profile allows the customers to customize the rolling update." + } + } + }, + "UpdateProfileRollingUpdateProfile": { + "type": "object", + "description": "This profile allows the customers to customize the rolling update.", + "properties": { + "maxBatchPercent": { + "type": "integer", + "format": "int32", + "description": "Maximum percentage of total Container Groups which can be updated simultaneously by rolling update in one batch." + }, + "maxUnhealthyPercent": { + "type": "integer", + "format": "int32", + "description": "Maximum percentage of the updated Container Groups which can be in unhealthy state after each batch is updated." + }, + "pauseTimeBetweenBatches": { + "type": "string", + "description": "The wait time between batches after completing the one batch of the rolling update and starting the next batch. The time duration should be specified in ISO 8601 format for duration." + }, + "inPlaceUpdate": { + "type": "boolean", + "description": "Default is false. If set to true, the CGs will be updated in-place instead of creating new CG and deleting old ones." + } + } + }, + "Usage": { + "type": "object", + "description": "A single usage result", + "properties": { + "id": { + "type": "string", + "description": "Id of the usage result", + "readOnly": true + }, + "unit": { + "type": "string", + "description": "Unit of the usage result", + "readOnly": true + }, + "currentValue": { + "type": "integer", + "format": "int32", + "description": "The current usage of the resource", + "readOnly": true + }, + "limit": { + "type": "integer", + "format": "int32", + "description": "The maximum permitted usage of the resource.", + "readOnly": true + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "The name object of the resource", + "readOnly": true + } + } + }, + "UsageListResult": { + "type": "object", + "description": "The response containing the usage data", + "properties": { + "value": { + "type": "array", + "description": "The usage data.", + "items": { + "$ref": "#/definitions/Usage" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + } + }, + "UsageName": { + "type": "object", + "description": "The name object of the resource", + "properties": { + "value": { + "type": "string", + "description": "The name of the resource", + "readOnly": true + }, + "localizedValue": { + "type": "string", + "description": "The localized name of the resource", + "readOnly": true + } + } + }, + "UserAssignedIdentities": { + "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}'.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true + } + } + }, + "Volume": { + "type": "object", + "description": "The properties of the volume.", + "properties": { + "name": { + "type": "string", + "description": "The name of the volume." + }, + "azureFile": { + "$ref": "#/definitions/AzureFileVolume", + "description": "The Azure File volume." + }, + "emptyDir": { + "description": "The empty directory volume." + }, + "secret": { + "type": "object", + "description": "The secret volume.", + "additionalProperties": { + "type": "string" + } + }, + "secretReference": { + "type": "object", + "description": "The secret reference volume.", + "additionalProperties": { + "type": "string" + } + }, + "gitRepo": { + "$ref": "#/definitions/GitRepoVolume", + "description": "The git repo volume." + } + }, + "required": [ + "name" + ] + }, + "VolumeMount": { + "type": "object", + "description": "The properties of the volume mount.", + "properties": { + "name": { + "type": "string", + "description": "The name of the volume mount." + }, + "mountPath": { + "type": "string", + "description": "The path within the container where the volume should be mounted. Must not contain colon (:)." + }, + "readOnly": { + "type": "boolean", + "description": "The flag indicating whether the volume mount is read-only." + } + }, + "required": [ + "name", + "mountPath" + ] + } + }, + "parameters": {} +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json new file mode 100644 index 000000000000..47eccc94adc8 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "image": "ubuntu:16.04", + "osType": "Linux" + }, + { + "image": "alpine:3.6", + "osType": "Linux" + }, + { + "image": "microsoft/nanoserver:10.0.14393.2485", + "osType": "Windows" + } + ] + } + } + }, + "operationId": "Location_ListCachedImages", + "title": "CachedImages" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json new file mode 100644 index 000000000000..a5d2380034ac --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "capabilities": { + "maxCpu": 4, + "maxGpuCount": 4, + "maxMemoryInGB": 14 + }, + "gpu": "K80", + "ipAddressType": "Public", + "location": "West US", + "osType": "Linux", + "resourceType": "containerGroups" + }, + { + "capabilities": { + "maxCpu": 4, + "maxGpuCount": 0, + "maxMemoryInGB": 14 + }, + "gpu": "None", + "ipAddressType": "Public", + "location": "West US", + "osType": "Windows", + "resourceType": "containerGroups" + } + ] + } + } + }, + "operationId": "Location_ListCapabilities", + "title": "GetCapabilities" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json new file mode 100644 index 000000000000..5823c33ca28e --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "password": "password", + "webSocketUri": "wss://web-socket-uri" + } + } + }, + "operationId": "Containers_Attach", + "title": "ContainerAttach" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json new file mode 100644 index 000000000000..e5201faa5052 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerExecRequest": { + "command": "/bin/bash", + "terminalSize": { + "cols": 12, + "rows": 12 + } + }, + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "password": "password", + "webSocketUri": "wss://web-socket-uri" + } + } + }, + "operationId": "Containers_ExecuteCommand", + "title": "ContainerExec" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json new file mode 100644 index 000000000000..2a2fc7e6b14f --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json @@ -0,0 +1,187 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "sku": "Confidential" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Confidential" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Confidential" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ConfidentialContainerGroup" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json new file mode 100644 index 000000000000..eda21dd4c3a1 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "west us", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + } + } + } + ], + "standbyPoolProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.StandbyPool/standbyContainerGroupPools/demopool" + } + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + }, + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": true, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + }, + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": true, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupCreateOrUpdateWithStandbyPool" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json new file mode 100644 index 000000000000..0aebfe591849 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json @@ -0,0 +1,197 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": {} + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": { + "clientId": "", + "principalId": "" + } + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": { + "clientId": "", + "principalId": "" + } + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "key version", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Running", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupWithEncryptionProperties" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json new file mode 100644 index 000000000000..49d5b28cd744 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json @@ -0,0 +1,213 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Private", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "protectedSettings": { + "kubeConfig": "" + }, + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupCreateWithExtensions" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json new file mode 100644 index 000000000000..d45b8a9260b8 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json @@ -0,0 +1,183 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "sku": "Confidential" + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Confidential" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Confidential" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ConfidentialContainerGroupProfile" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json new file mode 100644 index 000000000000..a6013e150abf --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json @@ -0,0 +1,167 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux" + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Standard" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "key version", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfileWithEncryptionProperties" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json new file mode 100644 index 000000000000..03e8ec2e44e1 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json @@ -0,0 +1,194 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Private", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "protectedSettings": { + "kubeConfig": "" + }, + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "osType": "Linux", + "revision": 0, + "sku": "Standard", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfileCreateWithExtensions" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json new file mode 100644 index 000000000000..239070096518 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "revisionNumber": "1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_GetByRevisionNumber", + "title": "ContainerGroupProfileGetByRevisionNumber" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json new file mode 100644 index 000000000000..95d57aca1093 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "demo", + "containerGroupProfileName": "demo1", + "api-version": "2026-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "zones": [ + "1" + ], + "name": "demo1", + "properties": { + "sku": "Standard", + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "mountPath": "/mnt/volume1", + "name": "volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ], + "type": "Public" + }, + "osType": "Linux", + "volumes": [ + { + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + }, + "name": "volume1" + } + ], + "revision": 1 + }, + "type": "Microsoft.ContainerInstance/containerGroupProfiles" + } + ] + } + } + }, + "title": "ContainerGroupProfileListAllRevisions", + "operationId": "CGProfile_ListAllRevisions" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json new file mode 100644 index 000000000000..aa3737c118a2 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json @@ -0,0 +1,296 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKey": "accountKey", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfilesCreateOrUpdate" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json new file mode 100644 index 000000000000..6054a11c004d --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "CGProfile_Delete", + "title": "ContainerGroupProfilesDelete" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json new file mode 100644 index 000000000000..2f398752cbc6 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_Get", + "title": "ContainerGroupProfilesGet_Succeeded" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json new file mode 100644 index 000000000000..acbb454efeb4 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "priority": "Spot", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_Get", + "title": "ContainerGroupProfilesGetWithPriority" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json new file mode 100644 index 000000000000..363d5240137c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "CGProfiles_ListBySubscription", + "title": "ContainerGroupProfilesList" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json new file mode 100644 index 000000000000..77e5b13cba8b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "CGProfiles_ListByResourceGroup", + "title": "ContainerGroupProfilesListByResourceGroup" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json new file mode 100644 index 000000000000..5878ec49c7ed --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "properties": { + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + }, + "resourceGroupName": "demoResource", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demoResource/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 2, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + } + } + }, + "operationId": "CGProfile_Update", + "title": "ContainerGroupProfilesPatch" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json new file mode 100644 index 000000000000..8b557f16a1af --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Container Groups", + "value": "ContainerGroups" + }, + "currentValue": 1, + "limit": 2000, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Location_ListUsage", + "title": "ContainerUsage" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json new file mode 100644 index 000000000000..f11577480207 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json @@ -0,0 +1,321 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKey": "accountKey", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdate" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json new file mode 100644 index 000000000000..0f8192b5bd8e --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -0,0 +1,342 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "identity": { + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + }, + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "UserAssigned" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "identity": { + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + }, + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "UserAssigned" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdate" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json new file mode 100644 index 000000000000..0364592731c0 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json @@ -0,0 +1,450 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64" + }, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {}, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {}, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdateSecretReference" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json new file mode 100644 index 000000000000..dd4055428bfa --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "image": "alpine:latest", + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "osType": "Linux", + "priority": "Spot", + "restartPolicy": "Never", + "sku": "Standard" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Succeeded" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Succeeded", + "restartPolicy": "Never", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Created" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Created", + "restartPolicy": "Never", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateWithPriority" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json new file mode 100644 index 000000000000..9b0887574416 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "ContainerGroups_Delete", + "title": "ContainerGroupsDelete" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json new file mode 100644 index 000000000000..2709adaaa22b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "instanceView": { + "currentState": { + "detailStatus": "Completed", + "exitCode": 0, + "finishTime": "2022-11-11T19:33:55.565Z", + "startTime": "2022-11-11T19:33:44.217Z", + "state": "Terminated" + }, + "events": [ + { + "name": "Pulling", + "type": "Normal", + "count": 2, + "firstTimestamp": "2022-11-11T19:28:22Z", + "lastTimestamp": "2022-11-11T19:32:09Z", + "message": "pulling image \"alpine@sha256:1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870\"" + }, + { + "name": "Pulled", + "type": "Normal", + "count": 2, + "firstTimestamp": "2022-11-11T19:32:08Z", + "lastTimestamp": "2022-11-11T19:32:38Z", + "message": "Successfully pulled image \"alpine@sha256:1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870\"" + }, + { + "name": "Started", + "type": "Normal", + "count": 1, + "firstTimestamp": "2022-11-11T19:33:44Z", + "lastTimestamp": "2022-11-11T19:33:44Z", + "message": "Started container" + } + ], + "restartCount": 0 + }, + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Succeeded" + }, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Succeeded", + "restartPolicy": "Never", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGetWithPriority" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json new file mode 100644 index 000000000000..d6320979c06d --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "instanceView": { + "currentState": { + "detailStatus": "", + "startTime": "2017-08-08T00:09:10Z", + "state": "Waiting" + }, + "events": [ + { + "name": "Pulling", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-08-08T00:09:01Z", + "lastTimestamp": "2017-08-08T00:09:01Z", + "message": "pulling image \"nginx\"" + }, + { + "name": "Pulled", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-08-08T00:09:10Z", + "lastTimestamp": "2017-08-08T00:09:10Z", + "message": "Successfully pulled image \"nginx\"" + } + ], + "restartCount": 0 + }, + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "instanceView": { + "events": [ + { + "name": "FailedMount", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-10-08T00:19:10Z", + "lastTimestamp": "2017-10-08T00:19:10Z", + "message": "Output: mount error(2): Permission denied" + } + ], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Failed", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + } + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGet_Failed" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json new file mode 100644 index 000000000000..d2ff0c40d4c9 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGet_Succeeded" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json new file mode 100644 index 000000000000..3732a11a0879 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "ContainerGroups_List", + "title": "ContainerGroupsList" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json new file mode 100644 index 000000000000..d50c10d3eb88 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "ContainerGroups_ListByResourceGroup", + "title": "ContainerGroupsListByResourceGroup" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json new file mode 100644 index 000000000000..526f155cf5f4 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "ContainerGroups_Restart", + "title": "ContainerRestart" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json new file mode 100644 index 000000000000..4ddecc1ab976 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "ContainerGroups_Start", + "title": "ContainerStart" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json new file mode 100644 index 000000000000..b617f21b3362 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "ContainerGroups_Stop", + "title": "ContainerStop" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json new file mode 100644 index 000000000000..a7f0f3502c98 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "Resource": { + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + }, + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demoResource", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demoResource/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + } + } + }, + "operationId": "ContainerGroups_Update", + "title": "ContainerGroupsUpdate" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json new file mode 100644 index 000000000000..0e52e43a4a96 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tail": 10 + }, + "responses": { + "200": { + "body": { + "content": "log content" + } + } + }, + "operationId": "Containers_ListLogs", + "title": "ContainerListLogs" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json new file mode 100644 index 000000000000..48d27927153b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ContainerInstance/containerGroups/read", + "display": { + "description": "Get all container goups.", + "operation": "Get Container Groups", + "provider": "Microsoft Container Instance", + "resource": "Container Group" + }, + "origin": "User" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsList" +} + diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json new file mode 100644 index 000000000000..bd45b740df2d --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subnetName": "demo3", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "demo2" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "SubnetServiceAssociationLink_Delete", + "title": "SubnetServiceAssociationLinkDelete" +} + From f71a0684bc04c0cbd61be0d65b651d63c8b10bca Mon Sep 17 00:00:00 2001 From: jameszlim Date: Mon, 18 May 2026 12:22:25 -0400 Subject: [PATCH 02/25] lint and prettier --- .../ContainerInstance/stable/2026-05-01/containerInstance.json | 2 +- .../stable/2026-05-01/examples/CachedImagesList.json | 1 - .../stable/2026-05-01/examples/CapabilitiesList.json | 1 - .../stable/2026-05-01/examples/ContainerAttach.json | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json index fcdcab10c697..a543fc4fdd8c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json @@ -1951,7 +1951,7 @@ "type": "string", "description": "The reference to the storage account access key used to access the Azure File share." }, - "UserManagedIdentityClientId": { + "userManagedIdentityClientId": { "type": "string", "description": "The client id of the user managed identity which has access to the Azure File share." } diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json index 47eccc94adc8..d11e87e444e7 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json @@ -27,4 +27,3 @@ "operationId": "Location_ListCachedImages", "title": "CachedImages" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json index a5d2380034ac..fb0f1283e985 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json @@ -39,4 +39,3 @@ "operationId": "Location_ListCapabilities", "title": "GetCapabilities" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json index 5823c33ca28e..a2d9d732b58b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json @@ -17,4 +17,3 @@ "operationId": "Containers_Attach", "title": "ContainerAttach" } - From 5adf7a9397f898138793d180a86f29d58971dc98 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Mon, 18 May 2026 12:56:10 -0400 Subject: [PATCH 03/25] run prettier for all examples --- .../ContainerInstance/stable/2026-05-01/containerInstance.json | 1 + .../stable/2026-05-01/examples/ContainerExec.json | 1 - .../2026-05-01/examples/ContainerGroupCreateConfidential.json | 1 - .../examples/ContainerGroupCreateOrUpdateStandbyPool.json | 1 - .../2026-05-01/examples/ContainerGroupEncryptionProperties.json | 1 - .../stable/2026-05-01/examples/ContainerGroupExtensions.json | 1 - .../ContainerGroupProfileCreateOrUpdate_CreateConfidential.json | 1 - ...ontainerGroupProfileCreateOrUpdate_EncryptionProperties.json | 1 - .../ContainerGroupProfileCreateOrUpdate_Extensions.json | 1 - .../examples/ContainerGroupProfileGetByRevisionNumber.json | 1 - .../examples/ContainerGroupProfileListAllRevisions.json | 1 - .../examples/ContainerGroupProfilesCreateOrUpdate.json | 1 - .../2026-05-01/examples/ContainerGroupProfilesDelete.json | 1 - .../stable/2026-05-01/examples/ContainerGroupProfilesGet.json | 1 - .../2026-05-01/examples/ContainerGroupProfilesGetPriority.json | 1 - .../stable/2026-05-01/examples/ContainerGroupProfilesList.json | 1 - .../examples/ContainerGroupProfilesListByResourceGroup.json | 1 - .../stable/2026-05-01/examples/ContainerGroupProfilesPatch.json | 1 - .../stable/2026-05-01/examples/ContainerGroupUsage.json | 1 - .../2026-05-01/examples/ContainerGroupsCreateOrUpdate.json | 1 - ...tainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json | 2 +- .../examples/ContainerGroupsCreateOrUpdateSecretReference.json | 1 - .../2026-05-01/examples/ContainerGroupsCreatePriority.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsDelete.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsGetPriority.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsGet_Failed.json | 1 - .../2026-05-01/examples/ContainerGroupsGet_Succeeded.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsList.json | 1 - .../2026-05-01/examples/ContainerGroupsListByResourceGroup.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsRestart.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsStart.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsStop.json | 1 - .../stable/2026-05-01/examples/ContainerGroupsUpdate.json | 1 - .../stable/2026-05-01/examples/ContainerListLogs.json | 1 - .../stable/2026-05-01/examples/OperationsList.json | 1 - .../2026-05-01/examples/SubnetServiceAssociationLinkDelete.json | 1 - 36 files changed, 2 insertions(+), 35 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json index a543fc4fdd8c..4ee9052a9ead 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json @@ -4615,6 +4615,7 @@ "Resource": { "type": "object", "description": "The Resource model definition.", + "x-ms-azure-resource": true, "properties": { "id": { "type": "string", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json index e5201faa5052..129d9597afc0 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json @@ -24,4 +24,3 @@ "operationId": "Containers_ExecuteCommand", "title": "ContainerExec" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json index 2a2fc7e6b14f..6d295961e1e2 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json @@ -184,4 +184,3 @@ "operationId": "ContainerGroups_CreateOrUpdate", "title": "ConfidentialContainerGroup" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json index eda21dd4c3a1..a8bdcc9bcd60 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json @@ -137,4 +137,3 @@ "operationId": "ContainerGroups_CreateOrUpdate", "title": "ContainerGroupCreateOrUpdateWithStandbyPool" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json index 0aebfe591849..318caf990026 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json @@ -194,4 +194,3 @@ "operationId": "ContainerGroups_CreateOrUpdate", "title": "ContainerGroupWithEncryptionProperties" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json index 49d5b28cd744..4d6baf0b2b7e 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json @@ -210,4 +210,3 @@ "operationId": "ContainerGroups_CreateOrUpdate", "title": "ContainerGroupCreateWithExtensions" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json index d45b8a9260b8..c47d7a4ed521 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json @@ -180,4 +180,3 @@ "operationId": "CGProfile_CreateOrUpdate", "title": "ConfidentialContainerGroupProfile" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json index a6013e150abf..501fb326766b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json @@ -164,4 +164,3 @@ "operationId": "CGProfile_CreateOrUpdate", "title": "ContainerGroupProfileWithEncryptionProperties" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json index 03e8ec2e44e1..0e49e48e5870 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json @@ -191,4 +191,3 @@ "operationId": "CGProfile_CreateOrUpdate", "title": "ContainerGroupProfileCreateWithExtensions" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json index 239070096518..70c1bd59bd72 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json @@ -81,4 +81,3 @@ "operationId": "CGProfile_GetByRevisionNumber", "title": "ContainerGroupProfileGetByRevisionNumber" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json index 95d57aca1093..ad776b9cc683 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json @@ -84,4 +84,3 @@ "title": "ContainerGroupProfileListAllRevisions", "operationId": "CGProfile_ListAllRevisions" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json index aa3737c118a2..b69df4463236 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json @@ -293,4 +293,3 @@ "operationId": "CGProfile_CreateOrUpdate", "title": "ContainerGroupProfilesCreateOrUpdate" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json index 6054a11c004d..17c76340e470 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json @@ -12,4 +12,3 @@ "operationId": "CGProfile_Delete", "title": "ContainerGroupProfilesDelete" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json index 2f398752cbc6..b6e93a56df22 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json @@ -80,4 +80,3 @@ "operationId": "CGProfile_Get", "title": "ContainerGroupProfilesGet_Succeeded" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json index acbb454efeb4..2f0a46538dbd 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json @@ -81,4 +81,3 @@ "operationId": "CGProfile_Get", "title": "ContainerGroupProfilesGetWithPriority" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json index 363d5240137c..699df9f47640 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json @@ -82,4 +82,3 @@ "operationId": "CGProfiles_ListBySubscription", "title": "ContainerGroupProfilesList" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json index 77e5b13cba8b..78f538dacea1 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json @@ -83,4 +83,3 @@ "operationId": "CGProfiles_ListByResourceGroup", "title": "ContainerGroupProfilesListByResourceGroup" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json index 5878ec49c7ed..802c20024ae7 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json @@ -99,4 +99,3 @@ "operationId": "CGProfile_Update", "title": "ContainerGroupProfilesPatch" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json index 8b557f16a1af..ac1eceee082f 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json @@ -24,4 +24,3 @@ "operationId": "Location_ListUsage", "title": "ContainerUsage" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json index f11577480207..f0c43724db4f 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json @@ -318,4 +318,3 @@ "operationId": "ContainerGroups_CreateOrUpdate", "title": "ContainerGroupsCreateOrUpdate" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json index 0f8192b5bd8e..7582c4b26227 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -321,7 +321,7 @@ } ] }, - "identity": { + "identity": { "userAssignedIdentities": { "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { "principalId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json index 0364592731c0..7681b978bf2d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json @@ -447,4 +447,3 @@ "operationId": "ContainerGroups_CreateOrUpdate", "title": "ContainerGroupsCreateOrUpdateSecretReference" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json index dd4055428bfa..6373a717d1a7 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json @@ -122,4 +122,3 @@ "operationId": "ContainerGroups_CreateOrUpdate", "title": "ContainerGroupsCreateWithPriority" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json index 9b0887574416..cc66f3ce916d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json @@ -85,4 +85,3 @@ "operationId": "ContainerGroups_Delete", "title": "ContainerGroupsDelete" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json index 2709adaaa22b..4e72fbb4a601 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json @@ -87,4 +87,3 @@ "operationId": "ContainerGroups_Get", "title": "ContainerGroupsGetWithPriority" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json index d6320979c06d..759732fe4a98 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json @@ -115,4 +115,3 @@ "operationId": "ContainerGroups_Get", "title": "ContainerGroupsGet_Failed" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json index d2ff0c40d4c9..31f2b155144c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json @@ -79,4 +79,3 @@ "operationId": "ContainerGroups_Get", "title": "ContainerGroupsGet_Succeeded" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json index 3732a11a0879..0bbca3ee9ed1 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json @@ -81,4 +81,3 @@ "operationId": "ContainerGroups_List", "title": "ContainerGroupsList" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json index d50c10d3eb88..9e93e4502f3c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json @@ -82,4 +82,3 @@ "operationId": "ContainerGroups_ListByResourceGroup", "title": "ContainerGroupsListByResourceGroup" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json index 526f155cf5f4..a144ce8f1ea5 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json @@ -11,4 +11,3 @@ "operationId": "ContainerGroups_Restart", "title": "ContainerRestart" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json index 4ddecc1ab976..2311a9fb27ec 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json @@ -16,4 +16,3 @@ "operationId": "ContainerGroups_Start", "title": "ContainerStart" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json index b617f21b3362..eba5bc1e2603 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json @@ -11,4 +11,3 @@ "operationId": "ContainerGroups_Stop", "title": "ContainerStop" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json index a7f0f3502c98..ef1cc3d00aef 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json @@ -100,4 +100,3 @@ "operationId": "ContainerGroups_Update", "title": "ContainerGroupsUpdate" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json index 0e52e43a4a96..1f97f71bb3b9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json @@ -17,4 +17,3 @@ "operationId": "Containers_ListLogs", "title": "ContainerListLogs" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json index 48d27927153b..5c71a149eb82 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json @@ -23,4 +23,3 @@ "operationId": "Operations_List", "title": "OperationsList" } - diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json index bd45b740df2d..7299addb2cde 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json @@ -18,4 +18,3 @@ "operationId": "SubnetServiceAssociationLink_Delete", "title": "SubnetServiceAssociationLinkDelete" } - From eaecc95a122730bd134fbccd52ee6569dcfb9502 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 20:55:05 +0000 Subject: [PATCH 04/25] fix(containerinstance): align TypeSpec and generated files for 2026-05-01 Agent-Logs-Url: https://github.com/Azure/azure-rest-api-specs/sessions/ffa3fdcc-3d4c-4df4-ba0b-85b8b955dba0 Co-authored-by: MicroJamesLim <125409279+MicroJamesLim@users.noreply.github.com> --- .../examples/2026-05-01/CachedImagesList.json | 29 ++ .../examples/2026-05-01/CapabilitiesList.json | 41 ++ .../examples/2026-05-01/ContainerAttach.json | 19 + .../examples/2026-05-01/ContainerExec.json | 26 + .../ContainerGroupCreateConfidential.json | 186 ++++++++ ...ntainerGroupCreateOrUpdateStandbyPool.json | 139 ++++++ .../ContainerGroupEncryptionProperties.json | 196 ++++++++ .../2026-05-01/ContainerGroupExtensions.json | 212 +++++++++ ...fileCreateOrUpdate_CreateConfidential.json | 182 +++++++ ...leCreateOrUpdate_EncryptionProperties.json | 166 +++++++ ...GroupProfileCreateOrUpdate_Extensions.json | 193 ++++++++ ...tainerGroupProfileGetByRevisionNumber.json | 83 ++++ ...ContainerGroupProfileListAllRevisions.json | 86 ++++ .../ContainerGroupProfilesCreateOrUpdate.json | 295 ++++++++++++ .../ContainerGroupProfilesDelete.json | 14 + .../2026-05-01/ContainerGroupProfilesGet.json | 82 ++++ .../ContainerGroupProfilesGetPriority.json | 83 ++++ .../ContainerGroupProfilesList.json | 84 ++++ ...ainerGroupProfilesListByResourceGroup.json | 85 ++++ .../ContainerGroupProfilesPatch.json | 101 ++++ .../2026-05-01/ContainerGroupUsage.json | 26 + .../ContainerGroupsCreateOrUpdate.json | 320 +++++++++++++ ...OrUpdateManagedIdentityAzureFileshare.json | 342 +++++++++++++ ...erGroupsCreateOrUpdateSecretReference.json | 449 ++++++++++++++++++ .../ContainerGroupsCreatePriority.json | 124 +++++ .../2026-05-01/ContainerGroupsDelete.json | 87 ++++ .../ContainerGroupsGetPriority.json | 89 ++++ .../2026-05-01/ContainerGroupsGet_Failed.json | 117 +++++ .../ContainerGroupsGet_Succeeded.json | 81 ++++ .../2026-05-01/ContainerGroupsList.json | 83 ++++ .../ContainerGroupsListByResourceGroup.json | 84 ++++ .../2026-05-01/ContainerGroupsRestart.json | 13 + .../2026-05-01/ContainerGroupsStart.json | 18 + .../2026-05-01/ContainerGroupsStop.json | 13 + .../2026-05-01/ContainerGroupsUpdate.json | 102 ++++ .../2026-05-01/ContainerListLogs.json | 19 + .../examples/2026-05-01/OperationsList.json | 25 + .../SubnetServiceAssociationLinkDelete.json | 20 + .../ContainerInstance/main.tsp | 5 + .../stable/2026-05-01/containerInstance.json | 90 ++-- ...OrUpdateManagedIdentityAzureFileshare.json | 2 +- 41 files changed, 4364 insertions(+), 47 deletions(-) create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json new file mode 100644 index 000000000000..d11e87e444e7 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "image": "ubuntu:16.04", + "osType": "Linux" + }, + { + "image": "alpine:3.6", + "osType": "Linux" + }, + { + "image": "microsoft/nanoserver:10.0.14393.2485", + "osType": "Windows" + } + ] + } + } + }, + "operationId": "Location_ListCachedImages", + "title": "CachedImages" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json new file mode 100644 index 000000000000..fb0f1283e985 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "capabilities": { + "maxCpu": 4, + "maxGpuCount": 4, + "maxMemoryInGB": 14 + }, + "gpu": "K80", + "ipAddressType": "Public", + "location": "West US", + "osType": "Linux", + "resourceType": "containerGroups" + }, + { + "capabilities": { + "maxCpu": 4, + "maxGpuCount": 0, + "maxMemoryInGB": 14 + }, + "gpu": "None", + "ipAddressType": "Public", + "location": "West US", + "osType": "Windows", + "resourceType": "containerGroups" + } + ] + } + } + }, + "operationId": "Location_ListCapabilities", + "title": "GetCapabilities" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json new file mode 100644 index 000000000000..a2d9d732b58b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "password": "password", + "webSocketUri": "wss://web-socket-uri" + } + } + }, + "operationId": "Containers_Attach", + "title": "ContainerAttach" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json new file mode 100644 index 000000000000..129d9597afc0 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerExecRequest": { + "command": "/bin/bash", + "terminalSize": { + "cols": 12, + "rows": 12 + } + }, + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "password": "password", + "webSocketUri": "wss://web-socket-uri" + } + } + }, + "operationId": "Containers_ExecuteCommand", + "title": "ContainerExec" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json new file mode 100644 index 000000000000..6d295961e1e2 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json @@ -0,0 +1,186 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "sku": "Confidential" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Confidential" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Confidential" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ConfidentialContainerGroup" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json new file mode 100644 index 000000000000..a8bdcc9bcd60 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "west us", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + } + } + } + ], + "standbyPoolProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.StandbyPool/standbyContainerGroupPools/demopool" + } + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + }, + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": true, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + }, + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": true, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupCreateOrUpdateWithStandbyPool" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json new file mode 100644 index 000000000000..318caf990026 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json @@ -0,0 +1,196 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": {} + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": { + "clientId": "", + "principalId": "" + } + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": { + "clientId": "", + "principalId": "" + } + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "key version", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Running", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupWithEncryptionProperties" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json new file mode 100644 index 000000000000..4d6baf0b2b7e --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json @@ -0,0 +1,212 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Private", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "protectedSettings": { + "kubeConfig": "" + }, + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupCreateWithExtensions" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json new file mode 100644 index 000000000000..c47d7a4ed521 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "sku": "Confidential" + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Confidential" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Confidential" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ConfidentialContainerGroupProfile" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json new file mode 100644 index 000000000000..501fb326766b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json @@ -0,0 +1,166 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux" + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Standard" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "key version", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfileWithEncryptionProperties" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json new file mode 100644 index 000000000000..0e49e48e5870 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Private", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "protectedSettings": { + "kubeConfig": "" + }, + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "osType": "Linux", + "revision": 0, + "sku": "Standard", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfileCreateWithExtensions" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json new file mode 100644 index 000000000000..70c1bd59bd72 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "revisionNumber": "1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_GetByRevisionNumber", + "title": "ContainerGroupProfileGetByRevisionNumber" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json new file mode 100644 index 000000000000..ad776b9cc683 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "demo", + "containerGroupProfileName": "demo1", + "api-version": "2026-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "zones": [ + "1" + ], + "name": "demo1", + "properties": { + "sku": "Standard", + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "mountPath": "/mnt/volume1", + "name": "volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ], + "type": "Public" + }, + "osType": "Linux", + "volumes": [ + { + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + }, + "name": "volume1" + } + ], + "revision": 1 + }, + "type": "Microsoft.ContainerInstance/containerGroupProfiles" + } + ] + } + } + }, + "title": "ContainerGroupProfileListAllRevisions", + "operationId": "CGProfile_ListAllRevisions" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json new file mode 100644 index 000000000000..b69df4463236 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json @@ -0,0 +1,295 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKey": "accountKey", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfilesCreateOrUpdate" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json new file mode 100644 index 000000000000..17c76340e470 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "CGProfile_Delete", + "title": "ContainerGroupProfilesDelete" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json new file mode 100644 index 000000000000..b6e93a56df22 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_Get", + "title": "ContainerGroupProfilesGet_Succeeded" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json new file mode 100644 index 000000000000..2f0a46538dbd --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "priority": "Spot", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_Get", + "title": "ContainerGroupProfilesGetWithPriority" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json new file mode 100644 index 000000000000..699df9f47640 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "CGProfiles_ListBySubscription", + "title": "ContainerGroupProfilesList" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json new file mode 100644 index 000000000000..78f538dacea1 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "CGProfiles_ListByResourceGroup", + "title": "ContainerGroupProfilesListByResourceGroup" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json new file mode 100644 index 000000000000..802c20024ae7 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "properties": { + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + }, + "resourceGroupName": "demoResource", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demoResource/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 2, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + } + } + }, + "operationId": "CGProfile_Update", + "title": "ContainerGroupProfilesPatch" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json new file mode 100644 index 000000000000..ac1eceee082f --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Container Groups", + "value": "ContainerGroups" + }, + "currentValue": 1, + "limit": 2000, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Location_ListUsage", + "title": "ContainerUsage" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json new file mode 100644 index 000000000000..f0c43724db4f --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json @@ -0,0 +1,320 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKey": "accountKey", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdate" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json new file mode 100644 index 000000000000..d733b533ced9 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -0,0 +1,342 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "identity": { + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + }, + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "UserAssigned" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "identity": { + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + }, + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "UserAssigned" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json new file mode 100644 index 000000000000..7681b978bf2d --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json @@ -0,0 +1,449 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64" + }, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {}, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {}, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdateSecretReference" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json new file mode 100644 index 000000000000..6373a717d1a7 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "image": "alpine:latest", + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "osType": "Linux", + "priority": "Spot", + "restartPolicy": "Never", + "sku": "Standard" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Succeeded" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Succeeded", + "restartPolicy": "Never", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Created" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Created", + "restartPolicy": "Never", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateWithPriority" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json new file mode 100644 index 000000000000..cc66f3ce916d --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "ContainerGroups_Delete", + "title": "ContainerGroupsDelete" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json new file mode 100644 index 000000000000..4e72fbb4a601 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "instanceView": { + "currentState": { + "detailStatus": "Completed", + "exitCode": 0, + "finishTime": "2022-11-11T19:33:55.565Z", + "startTime": "2022-11-11T19:33:44.217Z", + "state": "Terminated" + }, + "events": [ + { + "name": "Pulling", + "type": "Normal", + "count": 2, + "firstTimestamp": "2022-11-11T19:28:22Z", + "lastTimestamp": "2022-11-11T19:32:09Z", + "message": "pulling image \"alpine@sha256:1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870\"" + }, + { + "name": "Pulled", + "type": "Normal", + "count": 2, + "firstTimestamp": "2022-11-11T19:32:08Z", + "lastTimestamp": "2022-11-11T19:32:38Z", + "message": "Successfully pulled image \"alpine@sha256:1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870\"" + }, + { + "name": "Started", + "type": "Normal", + "count": 1, + "firstTimestamp": "2022-11-11T19:33:44Z", + "lastTimestamp": "2022-11-11T19:33:44Z", + "message": "Started container" + } + ], + "restartCount": 0 + }, + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Succeeded" + }, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Succeeded", + "restartPolicy": "Never", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGetWithPriority" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json new file mode 100644 index 000000000000..759732fe4a98 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "instanceView": { + "currentState": { + "detailStatus": "", + "startTime": "2017-08-08T00:09:10Z", + "state": "Waiting" + }, + "events": [ + { + "name": "Pulling", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-08-08T00:09:01Z", + "lastTimestamp": "2017-08-08T00:09:01Z", + "message": "pulling image \"nginx\"" + }, + { + "name": "Pulled", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-08-08T00:09:10Z", + "lastTimestamp": "2017-08-08T00:09:10Z", + "message": "Successfully pulled image \"nginx\"" + } + ], + "restartCount": 0 + }, + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "instanceView": { + "events": [ + { + "name": "FailedMount", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-10-08T00:19:10Z", + "lastTimestamp": "2017-10-08T00:19:10Z", + "message": "Output: mount error(2): Permission denied" + } + ], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Failed", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + } + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGet_Failed" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json new file mode 100644 index 000000000000..31f2b155144c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGet_Succeeded" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json new file mode 100644 index 000000000000..0bbca3ee9ed1 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "ContainerGroups_List", + "title": "ContainerGroupsList" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json new file mode 100644 index 000000000000..9e93e4502f3c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "ContainerGroups_ListByResourceGroup", + "title": "ContainerGroupsListByResourceGroup" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json new file mode 100644 index 000000000000..a144ce8f1ea5 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "ContainerGroups_Restart", + "title": "ContainerRestart" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json new file mode 100644 index 000000000000..2311a9fb27ec --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "ContainerGroups_Start", + "title": "ContainerStart" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json new file mode 100644 index 000000000000..eba5bc1e2603 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "ContainerGroups_Stop", + "title": "ContainerStop" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json new file mode 100644 index 000000000000..ef1cc3d00aef --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "Resource": { + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + }, + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demoResource", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demoResource/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + } + } + }, + "operationId": "ContainerGroups_Update", + "title": "ContainerGroupsUpdate" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json new file mode 100644 index 000000000000..1f97f71bb3b9 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tail": 10 + }, + "responses": { + "200": { + "body": { + "content": "log content" + } + } + }, + "operationId": "Containers_ListLogs", + "title": "ContainerListLogs" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json new file mode 100644 index 000000000000..5c71a149eb82 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2026-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ContainerInstance/containerGroups/read", + "display": { + "description": "Get all container goups.", + "operation": "Get Container Groups", + "provider": "Microsoft Container Instance", + "resource": "Container Group" + }, + "origin": "User" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsList" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json new file mode 100644 index 000000000000..7299addb2cde --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subnetName": "demo3", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "demo2" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "SubnetServiceAssociationLink_Delete", + "title": "SubnetServiceAssociationLinkDelete" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp index cb9d21bca22b..2abf791976b9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp @@ -44,6 +44,11 @@ enum Versions { */ v2025_09_01: "2025-09-01", + /** + * The 2026-05-01 API version. + */ + v2026_05_01: "2026-05-01", + /** * The 2026-06-01-preview API version. */ diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json index 4ee9052a9ead..dcd705cc58d4 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json @@ -849,6 +849,9 @@ "ContainerGroupsCreateOrUpdate": { "$ref": "./examples/ContainerGroupsCreateOrUpdate.json" }, + "ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare": { + "$ref": "./examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json" + }, "ContainerGroupsCreateOrUpdateSecretReference": { "$ref": "./examples/ContainerGroupsCreateOrUpdateSecretReference.json" }, @@ -889,7 +892,7 @@ "description": "The container group resource with just the tags to be updated.", "required": true, "schema": { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ContainerGroupUpdate" } } ], @@ -1950,10 +1953,6 @@ "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 managed identity which has access to the Azure File share." } }, "required": [ @@ -2244,7 +2243,7 @@ "properties": { "location": { "type": "string", - "description": "The resource location." + "description": "The resource location of the container group." }, "tags": { "type": "object", @@ -2980,6 +2979,45 @@ "id" ] }, + "ContainerGroupUpdate": { + "type": "object", + "description": "The Resource model definition.", + "properties": { + "id": { + "type": "string", + "description": "The resource id.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "tags": { + "type": "object", + "description": "The resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "zones": { + "type": "array", + "description": "The zones for the container group.", + "items": { + "type": "string" + } + } + } + }, "ContainerHttpGet": { "type": "object", "description": "The container Http Get settings, for liveness or readiness probe", @@ -4612,46 +4650,6 @@ "port" ] }, - "Resource": { - "type": "object", - "description": "The Resource model definition.", - "x-ms-azure-resource": true, - "properties": { - "id": { - "type": "string", - "description": "The resource id.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The resource name.", - "readOnly": true - }, - "type": { - "type": "string", - "description": "The resource type.", - "readOnly": true - }, - "location": { - "type": "string", - "description": "The resource location." - }, - "tags": { - "type": "object", - "description": "The resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "zones": { - "type": "array", - "description": "The zones for the container group.", - "items": { - "type": "string" - } - } - } - }, "ResourceIdentityType": { "type": "string", "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.", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json index 7582c4b26227..d733b533ced9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -338,5 +338,5 @@ } }, "operationId": "ContainerGroups_CreateOrUpdate", - "title": "ContainerGroupsCreateOrUpdate" + "title": "ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare" } From bc97ef2dcb197563b08791a500bead6b3ac617e0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 20:57:11 +0000 Subject: [PATCH 05/25] fix(containerinstance): correct OperationsList example typo Agent-Logs-Url: https://github.com/Azure/azure-rest-api-specs/sessions/ffa3fdcc-3d4c-4df4-ba0b-85b8b955dba0 Co-authored-by: MicroJamesLim <125409279+MicroJamesLim@users.noreply.github.com> --- .../ContainerInstance/examples/2026-05-01/OperationsList.json | 2 +- .../stable/2026-05-01/examples/OperationsList.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json index 5c71a149eb82..2bdc9471b2f8 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json @@ -9,7 +9,7 @@ { "name": "Microsoft.ContainerInstance/containerGroups/read", "display": { - "description": "Get all container goups.", + "description": "Get all container groups.", "operation": "Get Container Groups", "provider": "Microsoft Container Instance", "resource": "Container Group" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json index 5c71a149eb82..2bdc9471b2f8 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json @@ -9,7 +9,7 @@ { "name": "Microsoft.ContainerInstance/containerGroups/read", "display": { - "description": "Get all container goups.", + "description": "Get all container groups.", "operation": "Get Container Groups", "provider": "Microsoft Container Instance", "resource": "Container Group" From 25026ecc1413a9ff6b2ea9ce46ebbefefa5d41d9 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Wed, 20 May 2026 17:51:48 -0400 Subject: [PATCH 06/25] updated model.tsp and main.tsp --- .../examples/2026-05-01/CachedImagesList.json | 29 ++ .../examples/2026-05-01/CapabilitiesList.json | 41 ++ .../examples/2026-05-01/ContainerAttach.json | 19 + .../examples/2026-05-01/ContainerExec.json | 26 + .../ContainerGroupCreateConfidential.json | 186 ++++++++ ...ntainerGroupCreateOrUpdateStandbyPool.json | 139 ++++++ .../ContainerGroupEncryptionProperties.json | 196 ++++++++ .../2026-05-01/ContainerGroupExtensions.json | 212 +++++++++ ...fileCreateOrUpdate_CreateConfidential.json | 182 +++++++ ...leCreateOrUpdate_EncryptionProperties.json | 166 +++++++ ...GroupProfileCreateOrUpdate_Extensions.json | 193 ++++++++ ...tainerGroupProfileGetByRevisionNumber.json | 83 ++++ ...ContainerGroupProfileListAllRevisions.json | 86 ++++ .../ContainerGroupProfilesCreateOrUpdate.json | 295 ++++++++++++ .../ContainerGroupProfilesDelete.json | 14 + .../2026-05-01/ContainerGroupProfilesGet.json | 82 ++++ .../ContainerGroupProfilesGetPriority.json | 83 ++++ .../ContainerGroupProfilesList.json | 84 ++++ ...ainerGroupProfilesListByResourceGroup.json | 85 ++++ .../ContainerGroupProfilesPatch.json | 101 ++++ .../2026-05-01/ContainerGroupUsage.json | 26 + .../ContainerGroupsCreateOrUpdate.json | 320 +++++++++++++ ...OrUpdateManagedIdentityAzureFileshare.json | 342 +++++++++++++ ...erGroupsCreateOrUpdateSecretReference.json | 449 ++++++++++++++++++ .../ContainerGroupsCreatePriority.json | 124 +++++ .../2026-05-01/ContainerGroupsDelete.json | 87 ++++ .../ContainerGroupsGetPriority.json | 89 ++++ .../2026-05-01/ContainerGroupsGet_Failed.json | 117 +++++ .../ContainerGroupsGet_Succeeded.json | 81 ++++ .../2026-05-01/ContainerGroupsList.json | 83 ++++ .../ContainerGroupsListByResourceGroup.json | 84 ++++ .../2026-05-01/ContainerGroupsRestart.json | 13 + .../2026-05-01/ContainerGroupsStart.json | 18 + .../2026-05-01/ContainerGroupsStop.json | 13 + .../2026-05-01/ContainerGroupsUpdate.json | 102 ++++ .../2026-05-01/ContainerListLogs.json | 19 + .../examples/2026-05-01/OperationsList.json | 25 + .../SubnetServiceAssociationLinkDelete.json | 20 + .../ContainerInstance/main.tsp | 5 + .../ContainerInstance/models.tsp | 8 + .../2026-06-01-preview/containerInstance.json | 4 + .../stable/2026-05-01/containerInstance.json | 5 +- ...OrUpdateManagedIdentityAzureFileshare.json | 2 +- 43 files changed, 4336 insertions(+), 2 deletions(-) create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json new file mode 100644 index 000000000000..d11e87e444e7 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "image": "ubuntu:16.04", + "osType": "Linux" + }, + { + "image": "alpine:3.6", + "osType": "Linux" + }, + { + "image": "microsoft/nanoserver:10.0.14393.2485", + "osType": "Windows" + } + ] + } + } + }, + "operationId": "Location_ListCachedImages", + "title": "CachedImages" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json new file mode 100644 index 000000000000..fb0f1283e985 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "capabilities": { + "maxCpu": 4, + "maxGpuCount": 4, + "maxMemoryInGB": 14 + }, + "gpu": "K80", + "ipAddressType": "Public", + "location": "West US", + "osType": "Linux", + "resourceType": "containerGroups" + }, + { + "capabilities": { + "maxCpu": 4, + "maxGpuCount": 0, + "maxMemoryInGB": 14 + }, + "gpu": "None", + "ipAddressType": "Public", + "location": "West US", + "osType": "Windows", + "resourceType": "containerGroups" + } + ] + } + } + }, + "operationId": "Location_ListCapabilities", + "title": "GetCapabilities" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json new file mode 100644 index 000000000000..a2d9d732b58b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "password": "password", + "webSocketUri": "wss://web-socket-uri" + } + } + }, + "operationId": "Containers_Attach", + "title": "ContainerAttach" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json new file mode 100644 index 000000000000..129d9597afc0 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerExecRequest": { + "command": "/bin/bash", + "terminalSize": { + "cols": 12, + "rows": 12 + } + }, + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "password": "password", + "webSocketUri": "wss://web-socket-uri" + } + } + }, + "operationId": "Containers_ExecuteCommand", + "title": "ContainerExec" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json new file mode 100644 index 000000000000..6d295961e1e2 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json @@ -0,0 +1,186 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "sku": "Confidential" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Confidential" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Confidential" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ConfidentialContainerGroup" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json new file mode 100644 index 000000000000..a8bdcc9bcd60 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "west us", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + } + } + } + ], + "standbyPoolProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.StandbyPool/standbyContainerGroupPools/demopool" + } + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + }, + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": true, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containerGroupProfile": { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp", + "revision": 1 + }, + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "configMap": { + "keyValuePairs": { + "Newkey": "value" + } + }, + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": true, + "osType": "Linux", + "provisioningState": "Succeeded", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupCreateOrUpdateWithStandbyPool" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json new file mode 100644 index 000000000000..318caf990026 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json @@ -0,0 +1,196 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": {} + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": { + "clientId": "", + "principalId": "" + } + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity": { + "clientId": "", + "principalId": "" + } + } + }, + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "key version", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Running", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupWithEncryptionProperties" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json new file mode 100644 index 000000000000..4d6baf0b2b7e --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json @@ -0,0 +1,212 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Private", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "protectedSettings": { + "kubeConfig": "" + }, + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Pending" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Running" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Pending", + "sku": "Standard", + "subnetIds": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet" + } + ], + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupCreateWithExtensions" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json new file mode 100644 index 000000000000..c47d7a4ed521 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "sku": "Confidential" + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Confidential" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "westeurope", + "properties": { + "confidentialComputeProperties": { + "ccePolicy": "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19" + }, + "containers": [ + { + "name": "accdemo", + "properties": { + "command": [], + "environmentVariables": [], + "image": "confiimage", + "ports": [ + { + "port": 8000 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "securityContext": { + "capabilities": { + "add": [ + "CAP_NET_ADMIN" + ] + }, + "privileged": false + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 8000, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Confidential" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ConfidentialContainerGroupProfile" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json new file mode 100644 index 000000000000..501fb326766b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json @@ -0,0 +1,166 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux" + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Standard" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "encryptionProperties": { + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity", + "keyName": "test-key", + "keyVersion": "key version", + "vaultBaseUrl": "https://testkeyvault.vault.azure.net/" + }, + "imageRegistryCredentials": [], + "initContainers": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfileWithEncryptionProperties" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json new file mode 100644 index 000000000000..0e49e48e5870 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Private", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "protectedSettings": { + "kubeConfig": "" + }, + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "osType": "Linux", + "revision": 0, + "sku": "Standard", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "eastus2", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + } + } + } + ], + "imageRegistryCredentials": [], + "initContainers": [], + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "extensions": [ + { + "name": "kube-proxy", + "properties": { + "extensionType": "kube-proxy", + "settings": { + "clusterCidr": "10.240.0.0/16", + "kubeVersion": "v1.9.10" + }, + "version": "1.0" + } + }, + { + "name": "vk-realtime-metrics", + "properties": { + "extensionType": "realtime-metrics", + "version": "1.0" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfileCreateWithExtensions" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json new file mode 100644 index 000000000000..70c1bd59bd72 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "revisionNumber": "1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_GetByRevisionNumber", + "title": "ContainerGroupProfileGetByRevisionNumber" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json new file mode 100644 index 000000000000..ad776b9cc683 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "demo", + "containerGroupProfileName": "demo1", + "api-version": "2026-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "zones": [ + "1" + ], + "name": "demo1", + "properties": { + "sku": "Standard", + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "mountPath": "/mnt/volume1", + "name": "volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ], + "type": "Public" + }, + "osType": "Linux", + "volumes": [ + { + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + }, + "name": "volume1" + } + ], + "revision": 1 + }, + "type": "Microsoft.ContainerInstance/containerGroupProfiles" + } + ] + } + } + }, + "title": "ContainerGroupProfileListAllRevisions", + "operationId": "CGProfile_ListAllRevisions" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json new file mode 100644 index 000000000000..b69df4463236 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json @@ -0,0 +1,295 @@ +{ + "parameters": { + "ContainerGroupProfile": { + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKey": "accountKey", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + }, + "zones": [ + "1" + ] + }, + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 0, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "pod-uuid": "test-metadata-value" + }, + "workspaceId": "workspaceid" + } + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_CreateOrUpdate", + "title": "ContainerGroupProfilesCreateOrUpdate" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json new file mode 100644 index 000000000000..17c76340e470 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "CGProfile_Delete", + "title": "ContainerGroupProfilesDelete" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json new file mode 100644 index 000000000000..b6e93a56df22 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_Get", + "title": "ContainerGroupProfilesGet_Succeeded" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json new file mode 100644 index 000000000000..2f0a46538dbd --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "priority": "Spot", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CGProfile_Get", + "title": "ContainerGroupProfilesGetWithPriority" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json new file mode 100644 index 000000000000..699df9f47640 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "CGProfiles_ListBySubscription", + "title": "ContainerGroupProfilesList" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json new file mode 100644 index 000000000000..78f538dacea1 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 1, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "CGProfiles_ListByResourceGroup", + "title": "ContainerGroupProfilesListByResourceGroup" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json new file mode 100644 index 000000000000..802c20024ae7 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupProfileName": "demo1", + "properties": { + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + }, + "resourceGroupName": "demoResource", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroupProfiles", + "id": "/subscriptions/subid/resourceGroups/demoResource/providers/Microsoft.ContainerInstance/containerGroupProfiles/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "revision": 2, + "sku": "Standard", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + } + } + }, + "operationId": "CGProfile_Update", + "title": "ContainerGroupProfilesPatch" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json new file mode 100644 index 000000000000..ac1eceee082f --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Container Groups", + "value": "ContainerGroups" + }, + "currentValue": 1, + "limit": 2000, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Location_ListUsage", + "title": "ContainerUsage" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json new file mode 100644 index 000000000000..f0c43724db4f --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json @@ -0,0 +1,320 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKey": "accountKey", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdate" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json new file mode 100644 index 000000000000..d733b533ced9 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -0,0 +1,342 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64", + "secretKey2": "SecretValue2InBase64" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "identity": { + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + }, + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "UserAssigned" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName", + "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "identity": { + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "principalId": "00000000-0000-0000-0000-000000000000", + "clientId": "00000000-0000-0000-0000-000000000000" + } + }, + "tenantId": "00000000-0000-0000-0000-000000000000", + "type": "UserAssigned" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json new file mode 100644 index 000000000000..7681b978bf2d --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json @@ -0,0 +1,449 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": {} + } + }, + "location": "west us", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "logType": "ContainerInsights", + "metadata": { + "test-key": "test-metadata-value" + }, + "workspaceId": "workspaceid", + "workspaceKey": "workspaceKey", + "workspaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "subnetIds": [ + { + "id": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": { + "secretKey1": "SecretValue1InBase64" + }, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "diagnostics": { + "logAnalytics": { + "workspaceId": "workspaceid" + } + }, + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ], + "options": "ndots:2", + "searchDomains": "cluster.local svc.cluster.local" + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {}, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "identity": { + "type": "UserAssigned", + "tenantId": "00000000-0000-0000-0000-000000000000", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name": { + "clientId": "00000000-0000-0000-0000-000000000000", + "principalId": "00000000-0000-0000-0000-000000000000" + } + } + }, + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [ + { + "name": "envSecret", + "secureValueReference": "envSecretRef" + } + ], + "image": "privateRegistryImage", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "gpu": { + "count": 1, + "sku": "K80" + }, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "dnsConfig": { + "nameServers": [ + "1.1.1.1" + ] + }, + "imageRegistryCredentials": [ + { + "passwordReference": "privateRegistryKeyRef", + "server": "demoregistry.azurecr.io", + "username": "registryUserName" + } + ], + "ipAddress": { + "type": "Public", + "autoGeneratedDomainNameLabelScope": "Unsecure", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "provisioningState": "Succeeded", + "secretReferences": [ + { + "name": "envSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/envSecret" + }, + { + "name": "accountKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/accountKey" + }, + { + "name": "volumeSecretRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/volumeSecret" + }, + { + "name": "privateRegistryKeyRef", + "identity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-name", + "secretReferenceUri": "https://keyvaultname.vault.azure.net/secrets/privateRegistryKey" + } + ], + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountKeyReference": "accountKeyRef", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {}, + "secretReference": { + "secretKey2": "volumeSecretRef" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateOrUpdateSecretReference" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json new file mode 100644 index 000000000000..6373a717d1a7 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroup": { + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "image": "alpine:latest", + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "osType": "Linux", + "priority": "Spot", + "restartPolicy": "Never", + "sku": "Standard" + } + }, + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Succeeded" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Succeeded", + "restartPolicy": "Never", + "sku": "Standard" + } + } + }, + "201": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Created" + }, + "isCreatedFromStandbyPool": false, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Created", + "restartPolicy": "Never", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_CreateOrUpdate", + "title": "ContainerGroupsCreateWithPriority" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json new file mode 100644 index 000000000000..cc66f3ce916d --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "ContainerGroups_Delete", + "title": "ContainerGroupsDelete" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json new file mode 100644 index 000000000000..4e72fbb4a601 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subId/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "eastus", + "properties": { + "containers": [ + { + "name": "test-container-001", + "properties": { + "command": [ + "/bin/sh", + "-c", + "sleep 10" + ], + "environmentVariables": [], + "image": "alpine:latest", + "instanceView": { + "currentState": { + "detailStatus": "Completed", + "exitCode": 0, + "finishTime": "2022-11-11T19:33:55.565Z", + "startTime": "2022-11-11T19:33:44.217Z", + "state": "Terminated" + }, + "events": [ + { + "name": "Pulling", + "type": "Normal", + "count": 2, + "firstTimestamp": "2022-11-11T19:28:22Z", + "lastTimestamp": "2022-11-11T19:32:09Z", + "message": "pulling image \"alpine@sha256:1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870\"" + }, + { + "name": "Pulled", + "type": "Normal", + "count": 2, + "firstTimestamp": "2022-11-11T19:32:08Z", + "lastTimestamp": "2022-11-11T19:32:38Z", + "message": "Successfully pulled image \"alpine@sha256:1304f174557314a7ed9eddb4eab12fed12cb0cd9809e4c28f29af86979a3c870\"" + }, + { + "name": "Started", + "type": "Normal", + "count": 1, + "firstTimestamp": "2022-11-11T19:33:44Z", + "lastTimestamp": "2022-11-11T19:33:44Z", + "message": "Started container" + } + ], + "restartCount": 0 + }, + "ports": [], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1 + } + } + } + } + ], + "initContainers": [], + "instanceView": { + "events": [], + "state": "Succeeded" + }, + "osType": "Linux", + "priority": "Spot", + "provisioningState": "Succeeded", + "restartPolicy": "Never", + "sku": "Standard" + } + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGetWithPriority" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json new file mode 100644 index 000000000000..759732fe4a98 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "instanceView": { + "currentState": { + "detailStatus": "", + "startTime": "2017-08-08T00:09:10Z", + "state": "Waiting" + }, + "events": [ + { + "name": "Pulling", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-08-08T00:09:01Z", + "lastTimestamp": "2017-08-08T00:09:01Z", + "message": "pulling image \"nginx\"" + }, + { + "name": "Pulled", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-08-08T00:09:10Z", + "lastTimestamp": "2017-08-08T00:09:10Z", + "message": "Successfully pulled image \"nginx\"" + } + ], + "restartCount": 0 + }, + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "instanceView": { + "events": [ + { + "name": "FailedMount", + "type": "Normal", + "count": 1, + "firstTimestamp": "2017-10-08T00:19:10Z", + "lastTimestamp": "2017-10-08T00:19:10Z", + "message": "Output: mount error(2): Permission denied" + } + ], + "state": "Pending" + }, + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Failed", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + } + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGet_Failed" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json new file mode 100644 index 000000000000..31f2b155144c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "ContainerGroups_Get", + "title": "ContainerGroupsGet_Succeeded" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json new file mode 100644 index 000000000000..0bbca3ee9ed1 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "ContainerGroups_List", + "title": "ContainerGroupsList" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json new file mode 100644 index 000000000000..9e93e4502f3c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + } + ] + } + } + ], + "imageRegistryCredentials": [ + { + "server": "azcloudconsoleregistry.azurecr.io", + "username": "azcloudconsoleregistry" + } + ], + "ipAddress": { + "type": "Public", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "readOnly": false, + "shareName": "share1", + "storageAccountName": "storage1" + } + } + ] + }, + "zones": [ + "1" + ] + } + ] + } + } + }, + "operationId": "ContainerGroups_ListByResourceGroup", + "title": "ContainerGroupsListByResourceGroup" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json new file mode 100644 index 000000000000..a144ce8f1ea5 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "ContainerGroups_Restart", + "title": "ContainerRestart" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json new file mode 100644 index 000000000000..2311a9fb27ec --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "ContainerGroups_Start", + "title": "ContainerStart" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json new file mode 100644 index 000000000000..eba5bc1e2603 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "ContainerGroups_Stop", + "title": "ContainerStop" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json new file mode 100644 index 000000000000..ef1cc3d00aef --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "Resource": { + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + }, + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "resourceGroupName": "demoResource", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "demo1", + "type": "Microsoft.ContainerInstance/containerGroups", + "id": "/subscriptions/subid/resourceGroups/demoResource/providers/Microsoft.ContainerInstance/containerGroups/demo1", + "location": "WestUs", + "properties": { + "containers": [ + { + "name": "demo1", + "properties": { + "command": [], + "environmentVariables": [], + "image": "nginx", + "ports": [ + { + "port": 80 + } + ], + "resources": { + "requests": { + "cpu": 1, + "memoryInGB": 1.5 + } + }, + "volumeMounts": [ + { + "name": "volume1", + "mountPath": "/mnt/volume1", + "readOnly": false + }, + { + "name": "volume2", + "mountPath": "/mnt/volume2", + "readOnly": false + }, + { + "name": "volume3", + "mountPath": "/mnt/volume3", + "readOnly": true + } + ] + } + } + ], + "imageRegistryCredentials": [], + "ipAddress": { + "type": "Public", + "dnsNameLabel": "dnsnamelabel1", + "fqdn": "dnsnamelabel1.azure-container.io", + "ip": "10.0.0.1", + "ports": [ + { + "port": 80, + "protocol": "TCP" + } + ] + }, + "osType": "Linux", + "provisioningState": "Succeeded", + "volumes": [ + { + "name": "volume1", + "azureFile": { + "shareName": "shareName", + "storageAccountName": "accountName" + } + }, + { + "name": "volume2", + "emptyDir": {} + }, + { + "name": "volume3", + "secret": {} + } + ] + }, + "tags": { + "tag1key": "tag1Value", + "tag2key": "tag2Value" + } + } + } + }, + "operationId": "ContainerGroups_Update", + "title": "ContainerGroupsUpdate" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json new file mode 100644 index 000000000000..1f97f71bb3b9 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "containerGroupName": "demo1", + "containerName": "container1", + "resourceGroupName": "demo", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tail": 10 + }, + "responses": { + "200": { + "body": { + "content": "log content" + } + } + }, + "operationId": "Containers_ListLogs", + "title": "ContainerListLogs" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json new file mode 100644 index 000000000000..5c71a149eb82 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2026-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ContainerInstance/containerGroups/read", + "display": { + "description": "Get all container goups.", + "operation": "Get Container Groups", + "provider": "Microsoft Container Instance", + "resource": "Container Group" + }, + "origin": "User" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsList" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json new file mode 100644 index 000000000000..7299addb2cde --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2026-05-01", + "resourceGroupName": "demo", + "subnetName": "demo3", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "demo2" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/locations/location/operations/operationId?api-version=apiVersion" + } + }, + "204": {} + }, + "operationId": "SubnetServiceAssociationLink_Delete", + "title": "SubnetServiceAssociationLinkDelete" +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp index cb9d21bca22b..54ac32e2543b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp @@ -44,6 +44,11 @@ enum Versions { */ v2025_09_01: "2025-09-01", + /** + * The 2026-05-01 API version. + */ + v2026_05_01: "2026-05-01", + /** * The 2026-06-01-preview API version. */ diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp index 2a53783f9c7e..385c1166784d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp @@ -1,5 +1,6 @@ import "@typespec/rest"; import "@typespec/http"; +import "@typespec/versioning"; import "@azure-tools/typespec-azure-resource-manager"; import "@azure-tools/typespec-azure-core"; @@ -8,6 +9,7 @@ using TypeSpec.Http; using Azure.ResourceManager; using Azure.Core; using Azure.ResourceManager.Foundations; +using TypeSpec.Versioning; namespace Microsoft.ContainerInstance; @@ -1391,6 +1393,12 @@ model AzureFileVolume { * The reference to the storage account access key used to access the Azure File share. */ storageAccountKeyReference?: string; + + /** + * The client id of the user managed identity which has access to the Azure File share.. + */ + @added(Versions.v2026_05_01) + userManagedIdentityClientId?: string; } /** diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json index 69e4437a2768..a75e10c31e13 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json @@ -2404,6 +2404,10 @@ "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 managed identity which has access to the Azure File share.." } }, "required": [ diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json index 4ee9052a9ead..ebf37857b3cf 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json @@ -849,6 +849,9 @@ "ContainerGroupsCreateOrUpdate": { "$ref": "./examples/ContainerGroupsCreateOrUpdate.json" }, + "ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare": { + "$ref": "./examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json" + }, "ContainerGroupsCreateOrUpdateSecretReference": { "$ref": "./examples/ContainerGroupsCreateOrUpdateSecretReference.json" }, @@ -1953,7 +1956,7 @@ }, "userManagedIdentityClientId": { "type": "string", - "description": "The client id of the user managed identity which has access to the Azure File share." + "description": "The client id of the user managed identity which has access to the Azure File share.." } }, "required": [ diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json index 7582c4b26227..d733b533ced9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -338,5 +338,5 @@ } }, "operationId": "ContainerGroups_CreateOrUpdate", - "title": "ContainerGroupsCreateOrUpdate" + "title": "ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare" } From b9f26b3581b46ea6c23c73ccacad144a0b44f12f Mon Sep 17 00:00:00 2001 From: jameszlim Date: Thu, 21 May 2026 17:21:44 -0400 Subject: [PATCH 07/25] remove duplicate version --- .../Microsoft.ContainerInstance/ContainerInstance/main.tsp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp index ec6ec3285815..2abf791976b9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp @@ -44,11 +44,6 @@ enum Versions { */ v2025_09_01: "2025-09-01", - /** - * The 2026-05-01 API version. - */ - v2026_05_01: "2026-05-01", - /** * The 2026-05-01 API version. */ From d57c0c1236a99e229ff8ad13976276054188f196 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Thu, 21 May 2026 17:56:12 -0400 Subject: [PATCH 08/25] include Ngroups --- .../2026-05-01/NGroupsCreateOrUpdate.json | 63 +++++++++++++++++++ .../examples/2026-05-01/NGroupsDelete.json | 18 ++++++ .../examples/2026-05-01/NGroupsGet.json | 31 +++++++++ .../examples/2026-05-01/NGroupsList.json | 33 ++++++++++ .../NGroupsListByResourceGroup.json | 34 ++++++++++ .../examples/2026-05-01/NGroupsRestart.json | 17 +++++ .../examples/2026-05-01/NGroupsStart.json | 17 +++++ .../examples/2026-05-01/NGroupsStop.json | 13 ++++ .../examples/2026-05-01/NGroupsUpdate.json | 41 ++++++++++++ .../stable/2026-05-01/containerInstance.json | 45 +++++++++++++ .../examples/NGroupsCreateOrUpdate.json | 63 +++++++++++++++++++ .../2026-05-01/examples/NGroupsDelete.json | 18 ++++++ .../2026-05-01/examples/NGroupsGet.json | 31 +++++++++ .../2026-05-01/examples/NGroupsList.json | 33 ++++++++++ .../examples/NGroupsListByResourceGroup.json | 34 ++++++++++ .../2026-05-01/examples/NGroupsRestart.json | 17 +++++ .../2026-05-01/examples/NGroupsStart.json | 17 +++++ .../2026-05-01/examples/NGroupsStop.json | 13 ++++ .../2026-05-01/examples/NGroupsUpdate.json | 41 ++++++++++++ 19 files changed, 579 insertions(+) create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json new file mode 100644 index 000000000000..512810b5ffd6 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json @@ -0,0 +1,63 @@ +{ + "operationId": "NGroups_CreateOrUpdate", + "title": "NGroupsCreateOrUpdate", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo", + "NGroup": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "location": "eastus" + } + }, + "responses": { + "201": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + }, + "200": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json new file mode 100644 index 000000000000..32d96e3b18c4 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json @@ -0,0 +1,18 @@ +{ + "operationId": "NGroups_Delete", + "title": "NGroupsDelete", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/delete-operation?api-version=2026-06-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json new file mode 100644 index 000000000000..8f02d2fc9da3 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json @@ -0,0 +1,31 @@ +{ + "operationId": "NGroups_Get", + "title": "NGroupsGet", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json new file mode 100644 index 000000000000..cb7e3344b2ed --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json @@ -0,0 +1,33 @@ +{ + "operationId": "NGroups_List", + "title": "NGroupsList", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json new file mode 100644 index 000000000000..bd3ee2b5d952 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json @@ -0,0 +1,34 @@ +{ + "operationId": "NGroups_ListByResourceGroup", + "title": "NGroupsListByResourceGroup", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json new file mode 100644 index 000000000000..d918077f6c48 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json @@ -0,0 +1,17 @@ +{ + "operationId": "NGroups_Restart", + "title": "NGroupsRestart", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/restart-operation?api-version=2026-06-01-preview" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json new file mode 100644 index 000000000000..e77d7af61e48 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json @@ -0,0 +1,17 @@ +{ + "operationId": "NGroups_Start", + "title": "NGroupsStart", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/start-operation?api-version=2026-06-01-preview" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json new file mode 100644 index 000000000000..62a07a205b2c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json @@ -0,0 +1,13 @@ +{ + "operationId": "NGroups_Stop", + "title": "NGroupsStop", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "204": {} + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json new file mode 100644 index 000000000000..acc57fcb51a5 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json @@ -0,0 +1,41 @@ +{ + "operationId": "NGroups_Update", + "title": "NGroupsUpdate", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo", + "NGroup": { + "tags": { + "env": "test" + } + } + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/update-operation?api-version=2026-06-01-preview" + } + }, + "200": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json index c6886e203f9c..6957935dfcd3 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json @@ -300,6 +300,11 @@ } } }, + "x-ms-examples": { + "NGroupsList": { + "$ref": "./examples/NGroupsList.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1383,6 +1388,11 @@ } } }, + "x-ms-examples": { + "NGroupsListByResourceGroup": { + "$ref": "./examples/NGroupsListByResourceGroup.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1427,6 +1437,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "NGroupsGet": { + "$ref": "./examples/NGroupsGet.json" + } } }, "put": { @@ -1499,6 +1514,11 @@ } } }, + "x-ms-examples": { + "NGroupsCreateOrUpdate": { + "$ref": "./examples/NGroupsCreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation", "final-state-schema": "#/definitions/NGroup" @@ -1575,6 +1595,11 @@ } } }, + "x-ms-examples": { + "NGroupsUpdate": { + "$ref": "./examples/NGroupsUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation", "final-state-schema": "#/definitions/NGroup" @@ -1634,6 +1659,11 @@ } } }, + "x-ms-examples": { + "NGroupsDelete": { + "$ref": "./examples/NGroupsDelete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -1691,6 +1721,11 @@ } } }, + "x-ms-examples": { + "NGroupsRestart": { + "$ref": "./examples/NGroupsRestart.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -1748,6 +1783,11 @@ } } }, + "x-ms-examples": { + "NGroupsStart": { + "$ref": "./examples/NGroupsStart.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -1790,6 +1830,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "NGroupsStop": { + "$ref": "./examples/NGroupsStop.json" + } } } }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json new file mode 100644 index 000000000000..512810b5ffd6 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json @@ -0,0 +1,63 @@ +{ + "operationId": "NGroups_CreateOrUpdate", + "title": "NGroupsCreateOrUpdate", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo", + "NGroup": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "location": "eastus" + } + }, + "responses": { + "201": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + }, + "200": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json new file mode 100644 index 000000000000..32d96e3b18c4 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json @@ -0,0 +1,18 @@ +{ + "operationId": "NGroups_Delete", + "title": "NGroupsDelete", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/delete-operation?api-version=2026-06-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json new file mode 100644 index 000000000000..8f02d2fc9da3 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json @@ -0,0 +1,31 @@ +{ + "operationId": "NGroups_Get", + "title": "NGroupsGet", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "200": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json new file mode 100644 index 000000000000..cb7e3344b2ed --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json @@ -0,0 +1,33 @@ +{ + "operationId": "NGroups_List", + "title": "NGroupsList", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json new file mode 100644 index 000000000000..bd3ee2b5d952 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json @@ -0,0 +1,34 @@ +{ + "operationId": "NGroups_ListByResourceGroup", + "title": "NGroupsListByResourceGroup", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json new file mode 100644 index 000000000000..d918077f6c48 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json @@ -0,0 +1,17 @@ +{ + "operationId": "NGroups_Restart", + "title": "NGroupsRestart", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/restart-operation?api-version=2026-06-01-preview" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json new file mode 100644 index 000000000000..e77d7af61e48 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json @@ -0,0 +1,17 @@ +{ + "operationId": "NGroups_Start", + "title": "NGroupsStart", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/start-operation?api-version=2026-06-01-preview" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json new file mode 100644 index 000000000000..62a07a205b2c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json @@ -0,0 +1,13 @@ +{ + "operationId": "NGroups_Stop", + "title": "NGroupsStop", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo" + }, + "responses": { + "204": {} + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json new file mode 100644 index 000000000000..acc57fcb51a5 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json @@ -0,0 +1,41 @@ +{ + "operationId": "NGroups_Update", + "title": "NGroupsUpdate", + "parameters": { + "ngroupsName": "demo-ngroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "resourceGroupName": "demo", + "NGroup": { + "tags": { + "env": "test" + } + } + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/update-operation?api-version=2026-06-01-preview" + } + }, + "200": { + "body": { + "properties": { + "updateProfile": { + "updateMode": "Manual" + }, + "containerGroupProfiles": [], + "provisioningState": "Succeeded", + "elasticProfile": { + "maintainDesiredCount": true, + "desiredCount": 1 + } + }, + "name": "demo-ngroup", + "type": "Microsoft.ContainerInstance/ngroups", + "location": "eastus", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo/providers/Microsoft.ContainerInstance/ngroups/demo-ngroup" + } + } + } +} From 5127a65488798b556d2be53ac6c7912a532e4858 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Thu, 21 May 2026 18:26:05 -0400 Subject: [PATCH 09/25] update versions in example files --- ...psGetOutboundNetworkDependenciesEndpoints.json | 15 +++++++++++++++ .../2026-05-01/NGroupsCreateOrUpdate.json | 2 +- .../examples/2026-05-01/NGroupsDelete.json | 2 +- .../examples/2026-05-01/NGroupsGet.json | 2 +- .../examples/2026-05-01/NGroupsList.json | 2 +- .../2026-05-01/NGroupsListByResourceGroup.json | 2 +- .../examples/2026-05-01/NGroupsRestart.json | 2 +- .../examples/2026-05-01/NGroupsStart.json | 2 +- .../examples/2026-05-01/NGroupsStop.json | 2 +- .../examples/2026-05-01/NGroupsUpdate.json | 2 +- .../stable/2026-05-01/containerInstance.json | 5 +++++ ...psGetOutboundNetworkDependenciesEndpoints.json | 15 +++++++++++++++ .../examples/NGroupsCreateOrUpdate.json | 2 +- .../stable/2026-05-01/examples/NGroupsDelete.json | 2 +- .../stable/2026-05-01/examples/NGroupsGet.json | 2 +- .../stable/2026-05-01/examples/NGroupsList.json | 2 +- .../examples/NGroupsListByResourceGroup.json | 2 +- .../2026-05-01/examples/NGroupsRestart.json | 2 +- .../stable/2026-05-01/examples/NGroupsStart.json | 2 +- .../stable/2026-05-01/examples/NGroupsStop.json | 2 +- .../stable/2026-05-01/examples/NGroupsUpdate.json | 2 +- .../2026-05-01/examples/OperationsList.json | 2 +- 22 files changed, 54 insertions(+), 19 deletions(-) create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json new file mode 100644 index 000000000000..2cdc868ed2f6 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json @@ -0,0 +1,15 @@ +{ + "operationId": "ContainerGroups_GetOutboundNetworkDependenciesEndpoints", + "title": "ContainerGroupsGetOutboundNetworkDependenciesEndpoints", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2026-05-01", + "containerGroupName": "demo-cg", + "resourceGroupName": "demo" + }, + "responses": { + "200": { + "body": [] + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json index 512810b5ffd6..95685072a0f6 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo", "NGroup": { "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json index 32d96e3b18c4..e3f7a0137f99 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json index 8f02d2fc9da3..5fe4c43c9ae5 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json index cb7e3344b2ed..2376e6a0abee 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json @@ -3,7 +3,7 @@ "title": "NGroupsList", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01" + "api-version": "2026-05-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json index bd3ee2b5d952..9a09a9025e46 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json @@ -3,7 +3,7 @@ "title": "NGroupsListByResourceGroup", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json index d918077f6c48..fec78655713f 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json index e77d7af61e48..b1209ae0000f 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json index 62a07a205b2c..cdb1b03b66c9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json index acc57fcb51a5..d085b2da4190 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo", "NGroup": { "tags": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json index 6957935dfcd3..4c79412268fc 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json @@ -1199,6 +1199,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "ContainerGroupsGetOutboundNetworkDependenciesEndpoints": { + "$ref": "./examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json" + } } } }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json new file mode 100644 index 000000000000..32f2d6f4f72c --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json @@ -0,0 +1,15 @@ +{ + "operationId": "ContainerGroups_GetOutboundNetworkDependenciesEndpoints", + "title": "ContainerGroupsGetOutboundNetworkDependenciesEndpoints", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "api-version": "2025-09-01", + "containerGroupName": "demo-cg", + "resourceGroupName": "demo" + }, + "responses": { + "200": { + "body": [] + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json index 512810b5ffd6..95685072a0f6 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo", "NGroup": { "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json index 32d96e3b18c4..e3f7a0137f99 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json index 8f02d2fc9da3..5fe4c43c9ae5 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json index cb7e3344b2ed..2376e6a0abee 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json @@ -3,7 +3,7 @@ "title": "NGroupsList", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01" + "api-version": "2026-05-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json index bd3ee2b5d952..9a09a9025e46 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json @@ -3,7 +3,7 @@ "title": "NGroupsListByResourceGroup", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json index d918077f6c48..fec78655713f 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json index e77d7af61e48..b1209ae0000f 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json index 62a07a205b2c..cdb1b03b66c9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json index acc57fcb51a5..d085b2da4190 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "resourceGroupName": "demo", "NGroup": { "tags": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json index 2bdc9471b2f8..5c71a149eb82 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json @@ -9,7 +9,7 @@ { "name": "Microsoft.ContainerInstance/containerGroups/read", "display": { - "description": "Get all container groups.", + "description": "Get all container goups.", "operation": "Get Container Groups", "provider": "Microsoft Container Instance", "resource": "Container Group" From 1b49c3bb3ed2593630f20caf85865ed5404619d6 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Thu, 21 May 2026 18:44:23 -0400 Subject: [PATCH 10/25] tsp compile --- .../ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json index 32f2d6f4f72c..2cdc868ed2f6 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json @@ -3,7 +3,7 @@ "title": "ContainerGroupsGetOutboundNetworkDependenciesEndpoints", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2025-09-01", + "api-version": "2026-05-01", "containerGroupName": "demo-cg", "resourceGroupName": "demo" }, From db1a8c0d0e0590691403b2c0ea554e5fa773a31a Mon Sep 17 00:00:00 2001 From: jameszlim Date: Fri, 22 May 2026 13:15:50 -0400 Subject: [PATCH 11/25] change from 2026-05-01 to 2026-07-01 --- .../CachedImagesList.json | 2 +- .../CapabilitiesList.json | 2 +- .../2026-07-01}/ContainerAttach.json | 2 +- .../2026-07-01}/ContainerExec.json | 2 +- .../ContainerGroupCreateConfidential.json | 2 +- .../ContainerGroupCreateOrUpdateStandbyPool.json | 2 +- .../ContainerGroupEncryptionProperties.json | 2 +- .../2026-07-01}/ContainerGroupExtensions.json | 2 +- ...upProfileCreateOrUpdate_CreateConfidential.json | 2 +- ...ProfileCreateOrUpdate_EncryptionProperties.json | 2 +- ...ainerGroupProfileCreateOrUpdate_Extensions.json | 2 +- .../ContainerGroupProfileGetByRevisionNumber.json | 2 +- .../ContainerGroupProfileListAllRevisions.json | 2 +- .../ContainerGroupProfilesCreateOrUpdate.json | 2 +- .../ContainerGroupProfilesDelete.json | 2 +- .../2026-07-01}/ContainerGroupProfilesGet.json | 2 +- .../ContainerGroupProfilesGetPriority.json | 2 +- .../ContainerGroupProfilesList.json | 2 +- .../ContainerGroupProfilesListByResourceGroup.json | 2 +- .../2026-07-01}/ContainerGroupProfilesPatch.json | 2 +- .../ContainerGroupUsage.json | 2 +- .../ContainerGroupsCreateOrUpdate.json | 2 +- ...reateOrUpdateManagedIdentityAzureFileshare.json | 2 +- ...ntainerGroupsCreateOrUpdateSecretReference.json | 2 +- .../ContainerGroupsCreatePriority.json | 2 +- .../ContainerGroupsDelete.json | 2 +- ...upsGetOutboundNetworkDependenciesEndpoints.json | 2 +- .../ContainerGroupsGetPriority.json | 2 +- .../ContainerGroupsGet_Failed.json | 2 +- .../2026-07-01}/ContainerGroupsGet_Succeeded.json | 2 +- .../2026-07-01}/ContainerGroupsList.json | 2 +- .../ContainerGroupsListByResourceGroup.json | 2 +- .../2026-07-01}/ContainerGroupsRestart.json | 2 +- .../2026-07-01}/ContainerGroupsStart.json | 2 +- .../2026-07-01}/ContainerGroupsStop.json | 2 +- .../2026-07-01}/ContainerGroupsUpdate.json | 2 +- .../ContainerListLogs.json | 2 +- .../2026-07-01}/NGroupsCreateOrUpdate.json | 2 +- .../2026-07-01}/NGroupsDelete.json | 2 +- .../2026-07-01}/NGroupsGet.json | 2 +- .../{2026-05-01 => 2026-07-01}/NGroupsList.json | 2 +- .../NGroupsListByResourceGroup.json | 2 +- .../2026-07-01}/NGroupsRestart.json | 2 +- .../{2026-05-01 => 2026-07-01}/NGroupsStart.json | 2 +- .../2026-07-01}/NGroupsStop.json | 2 +- .../{2026-05-01 => 2026-07-01}/NGroupsUpdate.json | 2 +- .../{2026-05-01 => 2026-07-01}/OperationsList.json | 2 +- .../SubnetServiceAssociationLinkDelete.json | 2 +- .../ContainerInstance/main.tsp | 14 +++++++------- .../ContainerInstance/models.tsp | 2 +- .../ContainerInstance/readme.md | 10 +++++----- .../containerInstance.json | 2 +- .../examples/CachedImagesList.json | 2 +- .../examples/CapabilitiesList.json | 2 +- .../2026-07-01/examples}/ContainerAttach.json | 2 +- .../2026-07-01/examples}/ContainerExec.json | 2 +- .../examples/ContainerGroupCreateConfidential.json | 2 +- .../ContainerGroupCreateOrUpdateStandbyPool.json | 2 +- .../ContainerGroupEncryptionProperties.json | 2 +- .../examples}/ContainerGroupExtensions.json | 2 +- ...upProfileCreateOrUpdate_CreateConfidential.json | 2 +- ...ProfileCreateOrUpdate_EncryptionProperties.json | 2 +- ...ainerGroupProfileCreateOrUpdate_Extensions.json | 2 +- .../ContainerGroupProfileGetByRevisionNumber.json | 2 +- .../ContainerGroupProfileListAllRevisions.json | 2 +- .../ContainerGroupProfilesCreateOrUpdate.json | 2 +- .../examples/ContainerGroupProfilesDelete.json | 2 +- .../examples}/ContainerGroupProfilesGet.json | 2 +- .../ContainerGroupProfilesGetPriority.json | 2 +- .../examples/ContainerGroupProfilesList.json | 2 +- .../ContainerGroupProfilesListByResourceGroup.json | 2 +- .../examples}/ContainerGroupProfilesPatch.json | 2 +- .../examples/ContainerGroupUsage.json | 2 +- .../examples/ContainerGroupsCreateOrUpdate.json | 2 +- ...reateOrUpdateManagedIdentityAzureFileshare.json | 2 +- ...ntainerGroupsCreateOrUpdateSecretReference.json | 2 +- .../examples/ContainerGroupsCreatePriority.json | 2 +- .../examples/ContainerGroupsDelete.json | 2 +- ...upsGetOutboundNetworkDependenciesEndpoints.json | 2 +- .../examples/ContainerGroupsGetPriority.json | 2 +- .../examples/ContainerGroupsGet_Failed.json | 2 +- .../examples}/ContainerGroupsGet_Succeeded.json | 2 +- .../2026-07-01/examples}/ContainerGroupsList.json | 2 +- .../ContainerGroupsListByResourceGroup.json | 2 +- .../examples}/ContainerGroupsRestart.json | 2 +- .../2026-07-01/examples}/ContainerGroupsStart.json | 2 +- .../2026-07-01/examples}/ContainerGroupsStop.json | 2 +- .../examples}/ContainerGroupsUpdate.json | 2 +- .../examples/ContainerListLogs.json | 2 +- .../examples}/NGroupsCreateOrUpdate.json | 2 +- .../2026-07-01/examples}/NGroupsDelete.json | 2 +- .../2026-07-01/examples}/NGroupsGet.json | 2 +- .../examples/NGroupsList.json | 2 +- .../examples/NGroupsListByResourceGroup.json | 2 +- .../2026-07-01/examples}/NGroupsRestart.json | 2 +- .../examples/NGroupsStart.json | 2 +- .../2026-07-01/examples}/NGroupsStop.json | 2 +- .../examples/NGroupsUpdate.json | 2 +- .../examples/OperationsList.json | 2 +- .../SubnetServiceAssociationLinkDelete.json | 2 +- 100 files changed, 110 insertions(+), 110 deletions(-) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/CachedImagesList.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/CapabilitiesList.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerAttach.json (92%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerExec.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupCreateConfidential.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupCreateOrUpdateStandbyPool.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupEncryptionProperties.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupExtensions.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupProfileCreateOrUpdate_Extensions.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupProfileGetByRevisionNumber.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupProfileListAllRevisions.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupProfilesCreateOrUpdate.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupProfilesDelete.json (89%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupProfilesGet.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupProfilesGetPriority.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupProfilesList.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupProfilesListByResourceGroup.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupProfilesPatch.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupUsage.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupsCreateOrUpdate.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsCreateOrUpdateSecretReference.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupsCreatePriority.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupsDelete.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json (91%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupsGetPriority.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerGroupsGet_Failed.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsGet_Succeeded.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsList.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsListByResourceGroup.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsRestart.json (88%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsStart.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsStop.json (88%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/ContainerGroupsUpdate.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/ContainerListLogs.json (91%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/NGroupsCreateOrUpdate.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/NGroupsDelete.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/NGroupsGet.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/NGroupsList.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/NGroupsListByResourceGroup.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/NGroupsRestart.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/NGroupsStart.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/NGroupsStop.json (88%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/NGroupsUpdate.json (97%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/{2026-05-01 => 2026-07-01}/OperationsList.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{stable/2026-05-01/examples => examples/2026-07-01}/SubnetServiceAssociationLinkDelete.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/containerInstance.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/CachedImagesList.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/CapabilitiesList.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerAttach.json (92%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerExec.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupCreateConfidential.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupCreateOrUpdateStandbyPool.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupEncryptionProperties.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupExtensions.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupProfileGetByRevisionNumber.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupProfileListAllRevisions.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupProfilesCreateOrUpdate.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupProfilesDelete.json (89%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupProfilesGet.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupProfilesGetPriority.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupProfilesList.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupProfilesListByResourceGroup.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupProfilesPatch.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupUsage.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupsCreateOrUpdate.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsCreateOrUpdateSecretReference.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupsCreatePriority.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupsDelete.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json (91%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupsGetPriority.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerGroupsGet_Failed.json (99%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsGet_Succeeded.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsList.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsListByResourceGroup.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsRestart.json (88%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsStart.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsStop.json (88%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/ContainerGroupsUpdate.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/ContainerListLogs.json (91%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/NGroupsCreateOrUpdate.json (98%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/NGroupsDelete.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/NGroupsGet.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/NGroupsList.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/NGroupsListByResourceGroup.json (96%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/NGroupsRestart.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/NGroupsStart.json (93%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/NGroupsStop.json (88%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/NGroupsUpdate.json (97%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/{2026-05-01 => 2026-07-01}/examples/OperationsList.json (94%) rename specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/{examples/2026-05-01 => stable/2026-07-01/examples}/SubnetServiceAssociationLinkDelete.json (94%) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/CachedImagesList.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/CachedImagesList.json index d11e87e444e7..d1504124e2bb 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CachedImagesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/CachedImagesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "location": "westcentralus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/CapabilitiesList.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/CapabilitiesList.json index fb0f1283e985..049f1752df50 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/CapabilitiesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/CapabilitiesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "location": "westus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerAttach.json similarity index 92% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerAttach.json index a2d9d732b58b..f65d6a940b86 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerAttach.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerAttach.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "containerName": "container1", "resourceGroupName": "demo", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerExec.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerExec.json index 129d9597afc0..4d582a575e6c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerExec.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerExec.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerExecRequest": { "command": "/bin/bash", "terminalSize": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupCreateConfidential.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupCreateConfidential.json index 6d295961e1e2..3edb69567072 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateConfidential.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupCreateConfidential.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "westeurope", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupCreateOrUpdateStandbyPool.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupCreateOrUpdateStandbyPool.json index a8bdcc9bcd60..155cbd232bb5 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupCreateOrUpdateStandbyPool.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "west us", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupEncryptionProperties.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupEncryptionProperties.json index 318caf990026..072ffa139d4d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupEncryptionProperties.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupEncryptionProperties.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupExtensions.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupExtensions.json index 4d6baf0b2b7e..73f1a3cbaa87 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupExtensions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupExtensions.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "eastus2", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json index c47d7a4ed521..ad799684cc23 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json @@ -52,7 +52,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json index 501fb326766b..808dc9744798 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json @@ -46,7 +46,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_Extensions.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_Extensions.json index 0e49e48e5870..7a45bad45f75 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_Extensions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileCreateOrUpdate_Extensions.json @@ -63,7 +63,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileGetByRevisionNumber.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileGetByRevisionNumber.json index 70c1bd59bd72..defd05fbf429 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileGetByRevisionNumber.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileGetByRevisionNumber.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "revisionNumber": "1", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileListAllRevisions.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileListAllRevisions.json index ad776b9cc683..8f3166213902 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileListAllRevisions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfileListAllRevisions.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "demo", "containerGroupProfileName": "demo1", - "api-version": "2026-05-01" + "api-version": "2026-07-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesCreateOrUpdate.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesCreateOrUpdate.json index b69df4463236..a583ae56b38b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesCreateOrUpdate.json @@ -93,7 +93,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesDelete.json similarity index 89% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesDelete.json index 17c76340e470..162b7ce8a28d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesGet.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesGet.json index b6e93a56df22..c8c84f51d93e 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGet.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesGetPriority.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesGetPriority.json index 2f0a46538dbd..c4f1c5c30e08 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesGetPriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesGetPriority.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesList.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesList.json index 699df9f47640..e484f3d376fc 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesListByResourceGroup.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesListByResourceGroup.json index 78f538dacea1..9d6a4508a6f9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesPatch.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesPatch.json index 802c20024ae7..8f91c6636aa7 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesPatch.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupProfilesPatch.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "properties": { "tags": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupUsage.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupUsage.json index ac1eceee082f..9a3db8bfa7d4 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupUsage.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupUsage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "location": "westcentralus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdate.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdate.json index f0c43724db4f..ed3a93c55e40 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "SystemAssigned, UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json index d733b533ced9..55d4a44ae5db 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "SystemAssigned, UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateSecretReference.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateSecretReference.json index 7681b978bf2d..0381f97cf808 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateSecretReference.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreatePriority.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreatePriority.json index 6373a717d1a7..f0d8d8cdfef7 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreatePriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreatePriority.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "eastus", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsDelete.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsDelete.json index cc66f3ce916d..8e989cf9a0a3 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json similarity index 91% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json index 2cdc868ed2f6..6dea78554fc2 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json @@ -3,7 +3,7 @@ "title": "ContainerGroupsGetOutboundNetworkDependenciesEndpoints", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo-cg", "resourceGroupName": "demo" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGetPriority.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGetPriority.json index 4e72fbb4a601..c643dcc5d8a3 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetPriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGetPriority.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGet_Failed.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGet_Failed.json index 759732fe4a98..2b841ee0017c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Failed.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGet_Failed.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGet_Succeeded.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGet_Succeeded.json index 31f2b155144c..436e7951c833 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Succeeded.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsGet_Succeeded.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsList.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsList.json index 0bbca3ee9ed1..942635947583 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsListByResourceGroup.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsListByResourceGroup.json index 9e93e4502f3c..95952b786c4d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsRestart.json similarity index 88% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsRestart.json index a144ce8f1ea5..ba0c7d89d563 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsRestart.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsStart.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsStart.json index 2311a9fb27ec..352b1824cd8d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsStart.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsStop.json similarity index 88% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsStop.json index eba5bc1e2603..5e0ecd687765 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsStop.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsUpdate.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsUpdate.json index ef1cc3d00aef..370f584cbcfe 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsUpdate.json @@ -6,7 +6,7 @@ "tag2key": "tag2Value" } }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demoResource", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerListLogs.json similarity index 91% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerListLogs.json index 1f97f71bb3b9..9c7ac4429bdd 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerListLogs.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerListLogs.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "containerName": "container1", "resourceGroupName": "demo", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsCreateOrUpdate.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsCreateOrUpdate.json index 95685072a0f6..554c03034887 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsCreateOrUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "NGroup": { "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsDelete.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsDelete.json index e3f7a0137f99..ab4ffb972d6c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsDelete.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsGet.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsGet.json index 5fe4c43c9ae5..a87830440fae 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsGet.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsGet.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsList.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsList.json index 2376e6a0abee..4dc71b744559 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsList.json @@ -3,7 +3,7 @@ "title": "NGroupsList", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01" + "api-version": "2026-07-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsListByResourceGroup.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsListByResourceGroup.json index 9a09a9025e46..9dff1fd67b7b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsListByResourceGroup.json @@ -3,7 +3,7 @@ "title": "NGroupsListByResourceGroup", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsRestart.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsRestart.json index fec78655713f..7389ca80a585 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsRestart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsStart.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsStart.json index b1209ae0000f..a7b12b44b760 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsStart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsStop.json similarity index 88% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsStop.json index cdb1b03b66c9..6bad123cf188 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsStop.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsUpdate.json similarity index 97% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsUpdate.json index d085b2da4190..ed67e7f0c7c8 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/NGroupsUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "NGroup": { "tags": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/OperationsList.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/OperationsList.json index 5c71a149eb82..c6c040e6ee27 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/OperationsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/OperationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01" + "api-version": "2026-07-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SubnetServiceAssociationLinkDelete.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SubnetServiceAssociationLinkDelete.json index 7299addb2cde..4d1b5c118259 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/SubnetServiceAssociationLinkDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SubnetServiceAssociationLinkDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "subnetName": "demo3", "subscriptionId": "00000000-0000-0000-0000-000000000000", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp index 2abf791976b9..3181d4db9f84 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp @@ -44,15 +44,15 @@ enum Versions { */ v2025_09_01: "2025-09-01", - /** - * The 2026-05-01 API version. - */ - v2026_05_01: "2026-05-01", - /** * The 2026-06-01-preview API version. - */ - v2026_06_01_preview: "2026-06-01-preview", + */ + v2026_06_01_preview: "2026-06-01-preview", + + /** + * The 2026-07-01 API version. + */ + v2026_07_01: "2026-07-01" } interface Operations diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp index 385c1166784d..2eb22dd12fd1 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp @@ -1397,7 +1397,7 @@ model AzureFileVolume { /** * The client id of the user managed identity which has access to the Azure File share.. */ - @added(Versions.v2026_05_01) + @added(Versions.v2026_07_01) userManagedIdentityClientId?: string; } diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md index d95ce63714af..65af48abb0d3 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md @@ -26,16 +26,16 @@ These are the global settings for the ContainerInstance API. ``` yaml openapi-type: arm -tag: package-2026-05-01 +tag: package-2026-07-01 ``` -### Tag: package-2026-05-01 +### Tag: package-2026-07-01 -These settings apply only when `--tag=package-2026-05-01` is specified on the command line. +These settings apply only when `--tag=package-2026-07-01` is specified on the command line. -```yaml $(tag) == 'package-2026-05-01' +```yaml $(tag) == 'package-2026-07-01' input-file: - - ./stable/2026-05-01/containerInstance.json + - ./stable/2026-07-01/containerInstance.json ``` ### Tag: package-2025-09-01 diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index 4c79412268fc..3fe9fff94498 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "ContainerInstanceManagementClient", - "version": "2026-05-01", + "version": "2026-07-01", "description": "ContainerInstance", "x-typespec-generated": [ { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/CachedImagesList.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/CachedImagesList.json index d11e87e444e7..d1504124e2bb 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CachedImagesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/CachedImagesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "location": "westcentralus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/CapabilitiesList.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/CapabilitiesList.json index fb0f1283e985..049f1752df50 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/CapabilitiesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/CapabilitiesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "location": "westus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerAttach.json similarity index 92% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerAttach.json index a2d9d732b58b..f65d6a940b86 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerAttach.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerAttach.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "containerName": "container1", "resourceGroupName": "demo", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerExec.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerExec.json index 129d9597afc0..4d582a575e6c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerExec.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerExec.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerExecRequest": { "command": "/bin/bash", "terminalSize": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupCreateConfidential.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupCreateConfidential.json index 6d295961e1e2..3edb69567072 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupCreateConfidential.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupCreateConfidential.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "westeurope", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json index a8bdcc9bcd60..155cbd232bb5 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupCreateOrUpdateStandbyPool.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupCreateOrUpdateStandbyPool.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "west us", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupEncryptionProperties.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupEncryptionProperties.json index 318caf990026..072ffa139d4d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupEncryptionProperties.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupEncryptionProperties.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupExtensions.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupExtensions.json index 4d6baf0b2b7e..73f1a3cbaa87 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupExtensions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupExtensions.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "eastus2", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json index c47d7a4ed521..ad799684cc23 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_CreateConfidential.json @@ -52,7 +52,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json index 501fb326766b..808dc9744798 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_EncryptionProperties.json @@ -46,7 +46,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json index 0e49e48e5870..7a45bad45f75 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileCreateOrUpdate_Extensions.json @@ -63,7 +63,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileGetByRevisionNumber.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileGetByRevisionNumber.json index 70c1bd59bd72..defd05fbf429 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileGetByRevisionNumber.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileGetByRevisionNumber.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "revisionNumber": "1", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileListAllRevisions.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileListAllRevisions.json index ad776b9cc683..8f3166213902 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfileListAllRevisions.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfileListAllRevisions.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "demo", "containerGroupProfileName": "demo1", - "api-version": "2026-05-01" + "api-version": "2026-07-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesCreateOrUpdate.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesCreateOrUpdate.json index b69df4463236..a583ae56b38b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesCreateOrUpdate.json @@ -93,7 +93,7 @@ "1" ] }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesDelete.json similarity index 89% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesDelete.json index 17c76340e470..162b7ce8a28d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesGet.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesGet.json index b6e93a56df22..c8c84f51d93e 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGet.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesGetPriority.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesGetPriority.json index 2f0a46538dbd..c4f1c5c30e08 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesGetPriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesGetPriority.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesList.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesList.json index 699df9f47640..e484f3d376fc 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesListByResourceGroup.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesListByResourceGroup.json index 78f538dacea1..9d6a4508a6f9 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupProfilesListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesPatch.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesPatch.json index 802c20024ae7..8f91c6636aa7 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupProfilesPatch.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupProfilesPatch.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupProfileName": "demo1", "properties": { "tags": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupUsage.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupUsage.json index ac1eceee082f..9a3db8bfa7d4 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupUsage.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupUsage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "location": "westcentralus", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdate.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdate.json index f0c43724db4f..ed3a93c55e40 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "SystemAssigned, UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json index d733b533ced9..55d4a44ae5db 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "SystemAssigned, UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json index 7681b978bf2d..0381f97cf808 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsCreateOrUpdateSecretReference.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateSecretReference.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "identity": { "type": "UserAssigned", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreatePriority.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreatePriority.json index 6373a717d1a7..f0d8d8cdfef7 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsCreatePriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreatePriority.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroup": { "location": "eastus", "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsDelete.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsDelete.json index cc66f3ce916d..8e989cf9a0a3 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json similarity index 91% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json index 2cdc868ed2f6..6dea78554fc2 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json @@ -3,7 +3,7 @@ "title": "ContainerGroupsGetOutboundNetworkDependenciesEndpoints", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo-cg", "resourceGroupName": "demo" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGetPriority.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGetPriority.json index 4e72fbb4a601..c643dcc5d8a3 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGetPriority.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGetPriority.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGet_Failed.json similarity index 99% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGet_Failed.json index 759732fe4a98..2b841ee0017c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerGroupsGet_Failed.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGet_Failed.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGet_Succeeded.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGet_Succeeded.json index 31f2b155144c..436e7951c833 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsGet_Succeeded.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsGet_Succeeded.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsList.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsList.json index 0bbca3ee9ed1..942635947583 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsListByResourceGroup.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsListByResourceGroup.json index 9e93e4502f3c..95952b786c4d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsRestart.json similarity index 88% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsRestart.json index a144ce8f1ea5..ba0c7d89d563 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsRestart.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsStart.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsStart.json index 2311a9fb27ec..352b1824cd8d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsStart.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsStop.json similarity index 88% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsStop.json index eba5bc1e2603..5e0ecd687765 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsStop.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demo", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsUpdate.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsUpdate.json index ef1cc3d00aef..370f584cbcfe 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/ContainerGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsUpdate.json @@ -6,7 +6,7 @@ "tag2key": "tag2Value" } }, - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "resourceGroupName": "demoResource", "subscriptionId": "00000000-0000-0000-0000-000000000000" diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerListLogs.json similarity index 91% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerListLogs.json index 1f97f71bb3b9..9c7ac4429bdd 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/ContainerListLogs.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerListLogs.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "containerGroupName": "demo1", "containerName": "container1", "resourceGroupName": "demo", diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsCreateOrUpdate.json similarity index 98% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsCreateOrUpdate.json index 95685072a0f6..554c03034887 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsCreateOrUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsCreateOrUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "NGroup": { "properties": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsDelete.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsDelete.json index e3f7a0137f99..ab4ffb972d6c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsDelete.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsGet.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsGet.json index 5fe4c43c9ae5..a87830440fae 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsGet.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsGet.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsList.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsList.json index 2376e6a0abee..4dc71b744559 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsList.json @@ -3,7 +3,7 @@ "title": "NGroupsList", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01" + "api-version": "2026-07-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsListByResourceGroup.json similarity index 96% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsListByResourceGroup.json index 9a09a9025e46..9dff1fd67b7b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsListByResourceGroup.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsListByResourceGroup.json @@ -3,7 +3,7 @@ "title": "NGroupsListByResourceGroup", "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsRestart.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsRestart.json index fec78655713f..7389ca80a585 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsRestart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsRestart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsStart.json similarity index 93% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsStart.json index b1209ae0000f..a7b12b44b760 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsStart.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsStart.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsStop.json similarity index 88% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsStop.json index cdb1b03b66c9..6bad123cf188 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/NGroupsStop.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsStop.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo" }, "responses": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsUpdate.json similarity index 97% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsUpdate.json index d085b2da4190..ed67e7f0c7c8 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/NGroupsUpdate.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/NGroupsUpdate.json @@ -4,7 +4,7 @@ "parameters": { "ngroupsName": "demo-ngroup", "subscriptionId": "00000000-0000-0000-0000-000000000000", - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "NGroup": { "tags": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/OperationsList.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/OperationsList.json index 5c71a149eb82..c6c040e6ee27 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-05-01/examples/OperationsList.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/OperationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01" + "api-version": "2026-07-01" }, "responses": { "200": { diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SubnetServiceAssociationLinkDelete.json similarity index 94% rename from specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json rename to specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SubnetServiceAssociationLinkDelete.json index 7299addb2cde..4d1b5c118259 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-05-01/SubnetServiceAssociationLinkDelete.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SubnetServiceAssociationLinkDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2026-05-01", + "api-version": "2026-07-01", "resourceGroupName": "demo", "subnetName": "demo3", "subscriptionId": "00000000-0000-0000-0000-000000000000", From 68abc9cd3a809f06ddec7e0684732108112dc684 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Fri, 22 May 2026 13:35:02 -0400 Subject: [PATCH 12/25] remove userManagedIdentityClientId from 2026-06-01-preview --- .../preview/2026-06-01-preview/containerInstance.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json index a75e10c31e13..69e4437a2768 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/preview/2026-06-01-preview/containerInstance.json @@ -2404,10 +2404,6 @@ "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 managed identity which has access to the Azure File share.." } }, "required": [ From 89848e29477c52319a4c734979d8b39d639dd45c Mon Sep 17 00:00:00 2001 From: jameszlim Date: Fri, 22 May 2026 13:47:05 -0400 Subject: [PATCH 13/25] removed sandboxGroups from stable versions --- .../ContainerInstance/SandboxGroup.tsp | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp index ec9081dd8a7e..bc5200478cb4 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp @@ -139,6 +139,7 @@ model SandboxGroupAccessToken { @armResourceOperations @added(Versions.v2026_06_01_preview) +@removed(Versions.v2026_07_01) interface SandboxGroups { /** * List SandboxGroup resources by subscription ID From 7ef767b375a03b872edf470ed82d17aae5bcfd19 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Fri, 22 May 2026 13:56:23 -0400 Subject: [PATCH 14/25] tsp format --- .../ContainerInstance/main.tsp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp index 3181d4db9f84..db3f28e7dd5a 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/main.tsp @@ -46,13 +46,13 @@ enum Versions { /** * The 2026-06-01-preview API version. - */ - v2026_06_01_preview: "2026-06-01-preview", + */ + v2026_06_01_preview: "2026-06-01-preview", - /** - * The 2026-07-01 API version. - */ - v2026_07_01: "2026-07-01" + /** + * The 2026-07-01 API version. + */ + v2026_07_01: "2026-07-01", } interface Operations From 28e203923e5b3908099a3de897870952b4db647b Mon Sep 17 00:00:00 2001 From: jameszlim Date: Fri, 29 May 2026 13:47:07 -0400 Subject: [PATCH 15/25] reactivate sandbox --- .../ContainerInstance/SandboxGroup.tsp | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp index bc5200478cb4..ec9081dd8a7e 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/SandboxGroup.tsp @@ -139,7 +139,6 @@ model SandboxGroupAccessToken { @armResourceOperations @added(Versions.v2026_06_01_preview) -@removed(Versions.v2026_07_01) interface SandboxGroups { /** * List SandboxGroup resources by subscription ID From 5ecfc26a2a91ad41a091d9ee4d39fa651ea5bdfb Mon Sep 17 00:00:00 2001 From: jameszlim Date: Fri, 29 May 2026 14:08:06 -0400 Subject: [PATCH 16/25] tsp compile --- .../stable/2026-07-01/containerInstance.json | 560 ++++++++++++++++++ 1 file changed, 560 insertions(+) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index 3fe9fff94498..93dfcca5cf0d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -41,6 +41,9 @@ "tags": [ { "name": "Operations" + }, + { + "name": "SandboxGroups" } ], "paths": { @@ -310,6 +313,41 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/sandboxGroups": { + "get": { + "operationId": "SandboxGroups_ListBySubscription", + "tags": [ + "SandboxGroups" + ], + "summary": "List SandboxGroup resources by subscription ID", + "description": "List SandboxGroup resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SandboxGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles": { "get": { "operationId": "CGProfiles_ListByResourceGroup", @@ -1843,6 +1881,337 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/sandboxGroups": { + "get": { + "operationId": "SandboxGroups_ListByResourceGroup", + "tags": [ + "SandboxGroups" + ], + "summary": "List SandboxGroup resources by resource group", + "description": "List SandboxGroup resources by resource group", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SandboxGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/sandboxGroups/{sandboxGroupName}": { + "get": { + "operationId": "SandboxGroups_Get", + "tags": [ + "SandboxGroups" + ], + "summary": "Get a SandboxGroup", + "description": "Get a SandboxGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sandboxGroupName", + "in": "path", + "description": "The name of the SandboxGroup.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SandboxGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, + "put": { + "operationId": "SandboxGroups_CreateOrUpdate", + "tags": [ + "SandboxGroups" + ], + "summary": "Create a SandboxGroup", + "description": "Create a SandboxGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sandboxGroupName", + "in": "path", + "description": "The name of the SandboxGroup.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/SandboxGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SandboxGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/SandboxGroup" + } + }, + "201": { + "description": "Resource 'SandboxGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/SandboxGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SandboxGroup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SandboxGroups_Update", + "tags": [ + "SandboxGroups" + ], + "summary": "Update a SandboxGroup", + "description": "Update a SandboxGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sandboxGroupName", + "in": "path", + "description": "The name of the SandboxGroup.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/SandboxGroupTagsUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SandboxGroup" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SandboxGroup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "SandboxGroups_Delete", + "tags": [ + "SandboxGroups" + ], + "summary": "Delete a SandboxGroup", + "description": "Delete a SandboxGroup", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sandboxGroupName", + "in": "path", + "description": "The name of the SandboxGroup.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/sandboxGroups/{sandboxGroupName}/connect": { + "post": { + "operationId": "SandboxGroups_Connect", + "tags": [ + "SandboxGroups" + ], + "summary": "Get an access token and endpoint for connecting to the SandboxGroup.", + "description": "Get an access token and endpoint for connecting to the SandboxGroup.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sandboxGroupName", + "in": "path", + "description": "The name of the SandboxGroup.", + "required": true, + "type": "string", + "minLength": 1, + "maxLength": 63, + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SandboxGroupAccessToken" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default": { "delete": { "operationId": "SubnetServiceAssociationLink_Delete", @@ -4801,6 +5170,176 @@ "requests" ] }, + "SandboxGroup": { + "type": "object", + "description": "A SandboxGroup tracked resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SandboxGroupProperties", + "description": "The resource-specific properties for this resource." + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "SandboxGroupAccessToken": { + "type": "object", + "description": "The result of getting an access token for a SandboxGroup.", + "properties": { + "endpoint": { + "type": "string", + "format": "uri", + "description": "The endpoint URL to use with the access token." + }, + "accessToken": { + "type": "string", + "format": "password", + "description": "The access token used to authenticate against the endpoint.", + "x-ms-secret": true + }, + "notAfter": { + "type": "string", + "format": "date-time", + "description": "The UTC date and time at which the access token expires." + } + }, + "required": [ + "endpoint", + "accessToken", + "notAfter" + ] + }, + "SandboxGroupListResult": { + "type": "object", + "description": "The response of a SandboxGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SandboxGroup items on this page", + "items": { + "$ref": "#/definitions/SandboxGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SandboxGroupNetworkProfile": { + "type": "object", + "description": "The network profile for a SandboxGroup.", + "properties": { + "subnets": { + "type": "array", + "description": "The list of subnets associated with the SandboxGroup.", + "items": { + "$ref": "#/definitions/SubnetReference" + } + } + } + }, + "SandboxGroupProperties": { + "type": "object", + "description": "Properties of a SandboxGroup.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/SandboxGroupProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "networkProfile": { + "$ref": "#/definitions/SandboxGroupNetworkProfile", + "description": "The network profile of the SandboxGroup.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "managementResourceGroupId": { + "type": "string", + "format": "arm-id", + "description": "The ARM resource ID of the management resource group associated with this SandboxGroup.", + "readOnly": true + } + } + }, + "SandboxGroupProvisioningState": { + "type": "string", + "description": "The provisioning state of a SandboxGroup resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "SandboxGroupProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is being updated." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource provisioning request was accepted but not yet started." + } + ] + } + }, + "SandboxGroupTagsUpdate": { + "type": "object", + "description": "The type used for updating a SandboxGroup resource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, "Scheme": { "type": "string", "description": "The scheme.", @@ -4932,6 +5471,27 @@ } } }, + "SubnetReference": { + "type": "object", + "description": "A reference to a subnet resource.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "The ARM resource ID of the subnet. The caller must have `Microsoft.Network/virtualNetworks/subnets/join/action` permission on this subnet (enforced via a linked access check at create/update time).", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + } + }, + "required": [ + "id" + ] + }, "UpdateProfile": { "type": "object", "description": "Used by the customer to specify the way to update the Container Groups in NGroup.", From bfefc335c7f069cc19fe5aedb91d4f9298933fb0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 16:15:30 +0000 Subject: [PATCH 17/25] Add x-ms-pageable to outbound network dependencies GET Co-authored-by: MicroJamesLim <125409279+MicroJamesLim@users.noreply.github.com> --- .../ContainerInstance/stable/2026-07-01/containerInstance.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index 93dfcca5cf0d..50f1df7702e2 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -1242,6 +1242,9 @@ "ContainerGroupsGetOutboundNetworkDependenciesEndpoints": { "$ref": "./examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, From e806709e316aebeeac732125663462cf0637a849 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Wed, 3 Jun 2026 11:27:26 -0400 Subject: [PATCH 18/25] updated with sandbox examples --- .../2026-07-01/SandboxGroupsConnect.json | 19 +++++ .../SandboxGroupsCreateOrUpdate.json | 71 +++++++++++++++++++ .../2026-07-01/SandboxGroupsDelete.json | 18 +++++ .../examples/2026-07-01/SandboxGroupsGet.json | 34 +++++++++ .../SandboxGroupsListByResourceGroup.json | 37 ++++++++++ .../SandboxGroupsListBySubscription.json | 36 ++++++++++ .../2026-07-01/SandboxGroupsUpdate.json | 44 ++++++++++++ .../stable/2026-07-01/containerInstance.json | 35 +++++++++ .../examples/SandboxGroupsConnect.json | 19 +++++ .../examples/SandboxGroupsCreateOrUpdate.json | 71 +++++++++++++++++++ .../examples/SandboxGroupsDelete.json | 18 +++++ .../2026-07-01/examples/SandboxGroupsGet.json | 34 +++++++++ .../SandboxGroupsListByResourceGroup.json | 37 ++++++++++ .../SandboxGroupsListBySubscription.json | 36 ++++++++++ .../examples/SandboxGroupsUpdate.json | 44 ++++++++++++ 15 files changed, 553 insertions(+) create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsConnect.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsGet.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListBySubscription.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsConnect.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsCreateOrUpdate.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsDelete.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsGet.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListByResourceGroup.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListBySubscription.json create mode 100644 specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsUpdate.json diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsConnect.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsConnect.json new file mode 100644 index 000000000000..bb955932dc7b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsConnect.json @@ -0,0 +1,19 @@ +{ + "operationId": "SandboxGroups_Connect", + "title": "Connect to a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "endpoint": "https://sandbox-endpoint.eastus.containerinstance.azure.com", + "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", + "notAfter": "2026-06-01T12:00:00Z" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsCreateOrUpdate.json new file mode 100644 index 000000000000..1d4e404ac1ce --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsCreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "operationId": "SandboxGroups_CreateOrUpdate", + "title": "Create or update a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resource": { + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsDelete.json new file mode 100644 index 000000000000..d77e47ece78a --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsDelete.json @@ -0,0 +1,18 @@ +{ + "operationId": "SandboxGroups_Delete", + "title": "Delete a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/delete-operation?api-version=2026-06-01-preview" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsGet.json new file mode 100644 index 000000000000..e4e7e30aa6d8 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsGet.json @@ -0,0 +1,34 @@ +{ + "operationId": "SandboxGroups_Get", + "title": "Get a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListByResourceGroup.json new file mode 100644 index 000000000000..0ac9fa38d580 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListByResourceGroup.json @@ -0,0 +1,37 @@ +{ + "operationId": "SandboxGroups_ListByResourceGroup", + "title": "List SandboxGroups by resource group", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListBySubscription.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListBySubscription.json new file mode 100644 index 000000000000..c3cf167eab77 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsListBySubscription.json @@ -0,0 +1,36 @@ +{ + "operationId": "SandboxGroups_ListBySubscription", + "title": "List SandboxGroups by subscription", + "parameters": { + "api-version": "2026-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup1", + "name": "mySandboxGroup1", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup1-mrg" + } + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsUpdate.json new file mode 100644 index 000000000000..ae6fc0dc05b6 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/SandboxGroupsUpdate.json @@ -0,0 +1,44 @@ +{ + "operationId": "SandboxGroups_Update", + "title": "Update a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "properties": { + "tags": { + "environment": "production" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "production" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/update-operation?api-version=2026-06-01-preview" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index 93dfcca5cf0d..e52321dba50d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -343,6 +343,11 @@ } } }, + "x-ms-examples": { + "List SandboxGroups by subscription": { + "$ref": "./examples/SandboxGroupsListBySubscription.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1914,6 +1919,11 @@ } } }, + "x-ms-examples": { + "List SandboxGroups by resource group": { + "$ref": "./examples/SandboxGroupsListByResourceGroup.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1961,6 +1971,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "Get a SandboxGroup": { + "$ref": "./examples/SandboxGroupsGet.json" + } } }, "put": { @@ -2031,6 +2046,11 @@ } } }, + "x-ms-examples": { + "Create or update a SandboxGroup": { + "$ref": "./examples/SandboxGroupsCreateOrUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation", "final-state-schema": "#/definitions/SandboxGroup" @@ -2102,6 +2122,11 @@ } } }, + "x-ms-examples": { + "Update a SandboxGroup": { + "$ref": "./examples/SandboxGroupsUpdate.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location", "final-state-schema": "#/definitions/SandboxGroup" @@ -2161,6 +2186,11 @@ } } }, + "x-ms-examples": { + "Delete a SandboxGroup": { + "$ref": "./examples/SandboxGroupsDelete.json" + } + }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -2209,6 +2239,11 @@ "$ref": "#/definitions/CloudError" } } + }, + "x-ms-examples": { + "Connect to a SandboxGroup": { + "$ref": "./examples/SandboxGroupsConnect.json" + } } } }, diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsConnect.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsConnect.json new file mode 100644 index 000000000000..bb955932dc7b --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsConnect.json @@ -0,0 +1,19 @@ +{ + "operationId": "SandboxGroups_Connect", + "title": "Connect to a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "endpoint": "https://sandbox-endpoint.eastus.containerinstance.azure.com", + "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", + "notAfter": "2026-06-01T12:00:00Z" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsCreateOrUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsCreateOrUpdate.json new file mode 100644 index 000000000000..1d4e404ac1ce --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsCreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "operationId": "SandboxGroups_CreateOrUpdate", + "title": "Create or update a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resource": { + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsDelete.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsDelete.json new file mode 100644 index 000000000000..d77e47ece78a --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsDelete.json @@ -0,0 +1,18 @@ +{ + "operationId": "SandboxGroups_Delete", + "title": "Delete a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/delete-operation?api-version=2026-06-01-preview" + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsGet.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsGet.json new file mode 100644 index 000000000000..e4e7e30aa6d8 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsGet.json @@ -0,0 +1,34 @@ +{ + "operationId": "SandboxGroups_Get", + "title": "Get a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListByResourceGroup.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListByResourceGroup.json new file mode 100644 index 000000000000..0ac9fa38d580 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListByResourceGroup.json @@ -0,0 +1,37 @@ +{ + "operationId": "SandboxGroups_ListByResourceGroup", + "title": "List SandboxGroups by resource group", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListBySubscription.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListBySubscription.json new file mode 100644 index 000000000000..c3cf167eab77 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsListBySubscription.json @@ -0,0 +1,36 @@ +{ + "operationId": "SandboxGroups_ListBySubscription", + "title": "List SandboxGroups by subscription", + "parameters": { + "api-version": "2026-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup1", + "name": "mySandboxGroup1", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "test" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup1-mrg" + } + } + ] + } + } + } +} diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsUpdate.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsUpdate.json new file mode 100644 index 000000000000..ae6fc0dc05b6 --- /dev/null +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/SandboxGroupsUpdate.json @@ -0,0 +1,44 @@ +{ + "operationId": "SandboxGroups_Update", + "title": "Update a SandboxGroup", + "parameters": { + "api-version": "2026-07-01", + "resourceGroupName": "myResourceGroup", + "sandboxGroupName": "mySandboxGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "properties": { + "tags": { + "environment": "production" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerInstance/sandboxGroups/mySandboxGroup", + "name": "mySandboxGroup", + "type": "Microsoft.ContainerInstance/sandboxGroups", + "location": "eastus", + "tags": { + "environment": "production" + }, + "properties": { + "provisioningState": "Succeeded", + "networkProfile": { + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVNet/subnets/mySubnet" + } + ] + }, + "managementResourceGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySandboxGroup-mrg" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerInstance/locations/eastus/operationStatuses/update-operation?api-version=2026-06-01-preview" + } + } + } +} From 909b14cd08f81624982c56ae402723f74a00d7fd Mon Sep 17 00:00:00 2001 From: jameszlim Date: Wed, 3 Jun 2026 11:47:16 -0400 Subject: [PATCH 19/25] tsp compile --- .../ContainerInstance/stable/2026-07-01/containerInstance.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index 68d30797c3ec..e52321dba50d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -1247,9 +1247,6 @@ "ContainerGroupsGetOutboundNetworkDependenciesEndpoints": { "$ref": "./examples/ContainerGroupsGetOutboundNetworkDependenciesEndpoints.json" } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, From ba3580e293f604768a394a1dfd72397efbf02b31 Mon Sep 17 00:00:00 2001 From: jameszlim Date: Mon, 8 Jun 2026 17:36:36 -0400 Subject: [PATCH 20/25] set to read only --- .../ContainerInstance/stable/2026-07-01/containerInstance.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index e52321dba50d..65121ff35acf 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -5313,6 +5313,7 @@ "SandboxGroupProvisioningState": { "type": "string", "description": "The provisioning state of a SandboxGroup resource.", + "readOnly": true, "enum": [ "Succeeded", "Failed", From 2c65fd8e8485f7fa3074588e6628aa8964fb7df6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Jun 2026 19:40:35 +0000 Subject: [PATCH 21/25] Fix TypeSpec validation: remove readOnly from SandboxGroupProvisioningState type definition in containerInstance.json Co-authored-by: MicroJamesLim <125409279+MicroJamesLim@users.noreply.github.com> --- .../ContainerInstance/stable/2026-07-01/containerInstance.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index 65121ff35acf..e52321dba50d 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -5313,7 +5313,6 @@ "SandboxGroupProvisioningState": { "type": "string", "description": "The provisioning state of a SandboxGroup resource.", - "readOnly": true, "enum": [ "Succeeded", "Failed", From f3fd392eaa45d9d189c0f73375872f99709e626d Mon Sep 17 00:00:00 2001 From: jameszlim Date: Thu, 11 Jun 2026 17:14:29 -0400 Subject: [PATCH 22/25] tsp compile --- .../Microsoft.ContainerInstance/ContainerInstance/models.tsp | 4 ++-- .../stable/2026-07-01/containerInstance.json | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp index 2eb22dd12fd1..826ca56cea4b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/models.tsp @@ -1395,10 +1395,10 @@ model AzureFileVolume { storageAccountKeyReference?: string; /** - * The client id of the user managed identity which has access to the Azure File share.. + * The client id of the user-assigned managed identity that has access to the Azure File share. */ @added(Versions.v2026_07_01) - userManagedIdentityClientId?: string; + userAssignedIdentityClientId?: string; } /** diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json index 65121ff35acf..6e8501c16e61 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/containerInstance.json @@ -2408,9 +2408,9 @@ "type": "string", "description": "The reference to the storage account access key used to access the Azure File share." }, - "userManagedIdentityClientId": { + "userAssignedIdentityClientId": { "type": "string", - "description": "The client id of the user managed identity which has access to the Azure File share.." + "description": "The client id of the user-assigned managed identity that has access to the Azure File share." } }, "required": [ @@ -5313,7 +5313,6 @@ "SandboxGroupProvisioningState": { "type": "string", "description": "The provisioning state of a SandboxGroup resource.", - "readOnly": true, "enum": [ "Succeeded", "Failed", From 971d697364940ff21cf392b8a1a676e624d82eb3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Jun 2026 21:24:21 +0000 Subject: [PATCH 23/25] Add ContainerInstance 2026-07-01 LintDiff suppressions Co-authored-by: MicroJamesLim <125409279+MicroJamesLim@users.noreply.github.com> --- .../ContainerInstance/readme.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md index 65af48abb0d3..4b2a4436cc5b 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/readme.md @@ -36,6 +36,51 @@ These settings apply only when `--tag=package-2026-07-01` is specified on the co ```yaml $(tag) == 'package-2026-07-01' input-file: - ./stable/2026-07-01/containerInstance.json +directive: + - suppress: AvoidAdditionalProperties + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: ArmResourcePropertiesBag + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: DeleteResponseBodyEmpty + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: DeleteResponseCodes + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: DescriptionMustNotBeNodeName + reason: These enum value descriptions are carried forward from the existing service contract. + - suppress: EnumInsteadOfBoolean + reason: The boolean shapes in this generated OpenAPI are carried forward from earlier preview and stable API contracts. Changing them to string enums in this stable version would be a breaking contract change. + - suppress: GetCollectionOnlyHasValueAndNextLink + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: LatestVersionOfCommonTypesMustBeUsed + reason: This TypeSpec project intentionally continues to emit ARM common-types v5 for compatibility with the service's existing API shapes. Moving the entire service to v6 is outside the scope of this fix. + - suppress: LocationMustHaveXmsMutability + reason: This generated swagger preserves legacy custom and proxy resource shapes for backward compatibility. Changing location mutability here would alter the existing contract. + - suppress: LroErrorContent + reason: The long-running operations in this stable version continue to use the service's existing CloudError shape for backward compatibility. + - suppress: OperationsApiResponseSchema + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: OperationsApiSchemaUsesCommonTypes + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: PatchIdentityProperty + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: PostResponseCodes + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: ProvisioningStateMustBeReadOnly + reason: provisioningState is read-only by design and is carried forward from the existing generated contract. + - suppress: RequiredPropertiesMissingInResourceModel + reason: This stable version preserves the existing service contract carried forward from preview. + - suppress: ResourceNameRestriction + reason: These path parameter shapes are carried forward from the existing service contract. + - suppress: SchemaDescriptionOrTitle + reason: This stable version preserves the existing generated schema shape carried forward from preview. + - suppress: SummaryAndDescriptionMustNotBeSame + reason: This stable version preserves the existing operation text carried forward from preview. + - suppress: UnSupportedPatchProperties + reason: This stable version preserves the existing patch contract carried forward from preview. + - suppress: XmsIdentifierValidation + reason: This stable version preserves the existing generated pageable shape carried forward from preview. + - suppress: XmsPageableForListCalls + reason: This stable version preserves the existing list contract carried forward from preview. ``` ### Tag: package-2025-09-01 From 7ce92532e010a3e6696c419c4036a296e5d15d7a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Jun 2026 16:47:37 +0000 Subject: [PATCH 24/25] Fix ModelValidation: rename userManagedIdentityClientId to userAssignedIdentityClientId in example Co-authored-by: MicroJamesLim <125409279+MicroJamesLim@users.noreply.github.com> --- ...erGroupsCreateOrUpdateManagedIdentityAzureFileshare.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json index 55d4a44ae5db..b7e96cee761c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/stable/2026-07-01/examples/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -94,7 +94,7 @@ "azureFile": { "shareName": "shareName", "storageAccountName": "accountName", - "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + "userAssignedIdentityClientId": "00000000-0000-0000-0000-000000000000" } }, { @@ -203,7 +203,7 @@ "azureFile": { "shareName": "shareName", "storageAccountName": "accountName", - "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + "userAssignedIdentityClientId": "00000000-0000-0000-0000-000000000000" } }, { @@ -308,7 +308,7 @@ "azureFile": { "shareName": "shareName", "storageAccountName": "accountName", - "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + "userAssignedIdentityClientId": "00000000-0000-0000-0000-000000000000" } }, { From 28895ae0366e912ce287d172249f53308bc09586 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Jun 2026 17:01:02 +0000 Subject: [PATCH 25/25] Fix TypeSpec validation: update source example to use userAssignedIdentityClientId Co-authored-by: MicroJamesLim <125409279+MicroJamesLim@users.noreply.github.com> --- ...erGroupsCreateOrUpdateManagedIdentityAzureFileshare.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json index 55d4a44ae5db..b7e96cee761c 100644 --- a/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json +++ b/specification/containerinstance/resource-manager/Microsoft.ContainerInstance/ContainerInstance/examples/2026-07-01/ContainerGroupsCreateOrUpdateManagedIdentityAzureFileshare.json @@ -94,7 +94,7 @@ "azureFile": { "shareName": "shareName", "storageAccountName": "accountName", - "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + "userAssignedIdentityClientId": "00000000-0000-0000-0000-000000000000" } }, { @@ -203,7 +203,7 @@ "azureFile": { "shareName": "shareName", "storageAccountName": "accountName", - "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + "userAssignedIdentityClientId": "00000000-0000-0000-0000-000000000000" } }, { @@ -308,7 +308,7 @@ "azureFile": { "shareName": "shareName", "storageAccountName": "accountName", - "userManagedIdentityClientId": "00000000-0000-0000-0000-000000000000" + "userAssignedIdentityClientId": "00000000-0000-0000-0000-000000000000" } }, {