From 1d8d4a8436dcba905c18934c7ba1072ba63e26d5 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 24 Aug 2022 02:21:39 +0000 Subject: [PATCH] CodeGen from PR 20199 in Azure/azure-rest-api-specs S360 Fixes: Dev containerinstance microsoft.container instance 2021 09 01 (#20199) * Adding S360 fixes already made to newer API * Prettier run * Add missing option on delete call --- .../Microsoft.ContainerInstance.json | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/schemas/2021-09-01/Microsoft.ContainerInstance.json b/schemas/2021-09-01/Microsoft.ContainerInstance.json index 53ca2485ff..eadcaf77d3 100644 --- a/schemas/2021-09-01/Microsoft.ContainerInstance.json +++ b/schemas/2021-09-01/Microsoft.ContainerInstance.json @@ -35,7 +35,7 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ContainerGroupProperties" + "$ref": "#/definitions/ContainerGroupPropertiesProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -122,10 +122,6 @@ ], "description": "The properties of the Azure File volume. Azure File shares are mounted as volumes." }, - "Components10wh5udschemascontainergroupidentitypropertiesuserassignedidentitiesadditionalproperties": { - "type": "object", - "properties": {} - }, "Container": { "type": "object", "properties": { @@ -213,7 +209,7 @@ { "type": "object", "additionalProperties": { - "$ref": "#/definitions/Components10wh5udschemascontainergroupidentitypropertiesuserassignedidentitiesadditionalproperties" + "$ref": "#/definitions/UserAssignedIdentities" }, "properties": {} }, @@ -221,12 +217,12 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + "description": "The list of user identities associated with the container group." } }, "description": "Identity for the container group." }, - "ContainerGroupProperties": { + "ContainerGroupPropertiesProperties": { "type": "object", "properties": { "containers": { @@ -859,8 +855,7 @@ } }, "required": [ - "server", - "username" + "server" ], "description": "Image registry credential." }, @@ -1188,6 +1183,11 @@ ], "description": "The resource requirements." }, + "UserAssignedIdentities": { + "type": "object", + "properties": {}, + "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}'." + }, "Volume": { "type": "object", "properties": {