From 553fc551b3239598157238ed6246085748421b87 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Tue, 12 Apr 2022 12:30:19 +0200 Subject: [PATCH 01/15] contianerapps: fixing swagger inconsistencies in 2022-01-01-preview --- .../2022-01-01-preview/ContainerApps.json | 4 +-- .../ContainerAppsRevisions.json | 20 +++++++------- .../2022-01-01-preview/DaprComponents.json | 8 +++--- .../ManagedEnvironments.json | 26 +++++++++---------- .../ManagedEnvironmentsStorages.json | 18 ++++++------- 5 files changed, 38 insertions(+), 38 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json index 4ddf1ed27cb1..4aff2475e7ab 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json @@ -427,8 +427,8 @@ "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ], "type": "string", "x-ms-enum": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json index fb2cebb000f2..1af71ba5c8c8 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}": { "get": { "tags": [ "ContainerAppsRevisions" @@ -86,7 +86,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -117,7 +117,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/activate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/activate": { "post": { "tags": [ "ContainerAppsRevisions" @@ -139,7 +139,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -167,7 +167,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/deactivate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/deactivate": { "post": { "tags": [ "ContainerAppsRevisions" @@ -189,7 +189,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -217,7 +217,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{replicaName}": { "get": { "tags": [ "ContainerAppsRevisionReplicas" @@ -246,7 +246,7 @@ "type": "string" }, { - "name": "name", + "name": "replicaName", "in": "path", "description": "Name of the Container App Revision Replica.", "required": true, @@ -330,7 +330,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart": { "post": { "tags": [ "ContainerAppsRevisions" @@ -352,7 +352,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json index 4e5f5f8b3124..5b0d707bb595 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}": { "get": { "tags": [ "DaprComponents" @@ -86,7 +86,7 @@ "type": "string" }, { - "name": "name", + "name": "componentName", "in": "path", "description": "Name of the Dapr Component.", "required": true, @@ -138,7 +138,7 @@ "type": "string" }, { - "name": "name", + "name": "componentName", "in": "path", "description": "Name of the Dapr Component.", "required": true, @@ -200,7 +200,7 @@ "type": "string" }, { - "name": "name", + "name": "componentName", "in": "path", "description": "Name of the Dapr Component.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json index e5a6084931a1..a8a022b562ac 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json @@ -98,7 +98,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}": { "get": { "tags": [ "ManagedEnvironments" @@ -114,7 +114,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -309,7 +309,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates": { "get": { "tags": [ "ManagedEnvironments", @@ -325,7 +325,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, @@ -359,7 +359,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}": { "get": { "tags": [ "ManagedEnvironments", @@ -375,14 +375,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -427,14 +427,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -487,14 +487,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -540,14 +540,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json index 621aacc539ee..f407e2f4e06e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json @@ -15,7 +15,7 @@ "application/json" ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages": { "get": { "tags": [ "ManagedEnvironmentsStorages" @@ -31,7 +31,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -62,7 +62,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName}": { "get": { "tags": [ "ManagedEnvironmentsStorages" @@ -78,14 +78,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "storageName", "in": "path", "description": "Name of the storage.", "required": true, @@ -130,14 +130,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "storageName", "in": "path", "description": "Name of the storage.", "required": true, @@ -191,14 +191,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "storageName", "in": "path", "description": "Name of the storage.", "required": true, From 288baf211bf31fbf0e31c2bfe82c34625b50516a Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Tue, 12 Apr 2022 12:35:00 +0200 Subject: [PATCH 02/15] containerapps: fixing inconsistencies in the 2022-03-01 swagger --- .../stable/2022-03-01/ContainerApps.json | 4 +-- .../2022-03-01/ContainerAppsRevisions.json | 20 +++++------ .../stable/2022-03-01/DaprComponents.json | 10 +++--- .../2022-03-01/ManagedEnvironments.json | 36 +++++++++---------- .../ManagedEnvironmentsStorages.json | 18 +++++----- 5 files changed, 44 insertions(+), 44 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json index a2e036007ab9..f98bbc5bac71 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json @@ -425,8 +425,8 @@ "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ], "type": "string", "x-ms-enum": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerAppsRevisions.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerAppsRevisions.json index 86d35b503bca..e705ff88f42b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerAppsRevisions.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerAppsRevisions.json @@ -72,7 +72,7 @@ "x-ms-odata": "#/definitions/Revision" } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}": { "get": { "tags": [ "ContainerAppsRevisions" @@ -94,7 +94,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -125,7 +125,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/activate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/activate": { "post": { "tags": [ "ContainerAppsRevisions" @@ -147,7 +147,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -175,7 +175,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/deactivate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/deactivate": { "post": { "tags": [ "ContainerAppsRevisions" @@ -197,7 +197,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -225,7 +225,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{replicaName}": { "get": { "tags": [ "ContainerAppsRevisionReplicas" @@ -254,7 +254,7 @@ "type": "string" }, { - "name": "name", + "name": "replicaName", "in": "path", "description": "Name of the Container App Revision Replica.", "required": true, @@ -338,7 +338,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart": { "post": { "tags": [ "ContainerAppsRevisions" @@ -360,7 +360,7 @@ "type": "string" }, { - "name": "name", + "name": "revisionName", "in": "path", "description": "Name of the Container App Revision.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json index e66984b2a170..19fcbbf3d01b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}": { "get": { "tags": [ "DaprComponents" @@ -86,7 +86,7 @@ "type": "string" }, { - "name": "name", + "name": "componentName", "in": "path", "description": "Name of the Dapr Component.", "required": true, @@ -138,7 +138,7 @@ "type": "string" }, { - "name": "name", + "name": "componentName", "in": "path", "description": "Name of the Dapr Component.", "required": true, @@ -200,7 +200,7 @@ "type": "string" }, { - "name": "name", + "name": "componentName", "in": "path", "description": "Name of the Dapr Component.", "required": true, @@ -254,7 +254,7 @@ "type": "string" }, { - "name": "name", + "name": "componentName", "in": "path", "description": "Name of the Dapr Component.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironments.json index db9c3d95271b..7e2dae444f15 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironments.json @@ -98,7 +98,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}": { "get": { "tags": [ "ManagedEnvironments" @@ -114,7 +114,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -159,7 +159,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -220,7 +220,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -269,7 +269,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -307,7 +307,7 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates": { "get": { "tags": [ "ManagedEnvironments", @@ -323,7 +323,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, @@ -357,7 +357,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}": { "get": { "tags": [ "ManagedEnvironments", @@ -373,14 +373,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -425,14 +425,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -485,14 +485,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -538,14 +538,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "certificateName", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -585,7 +585,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/checkNameAvailability": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/checkNameAvailability": { "post": { "tags": [ "ManagedEnvironments" @@ -601,7 +601,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "managedEnvironmentName", + "name": "environmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironmentsStorages.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironmentsStorages.json index d87c6a2788bb..384b629665ff 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironmentsStorages.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ManagedEnvironmentsStorages.json @@ -15,7 +15,7 @@ "application/json" ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages": { "get": { "tags": [ "ManagedEnvironmentsStorages" @@ -31,7 +31,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -62,7 +62,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName}": { "get": { "tags": [ "ManagedEnvironmentsStorages" @@ -78,14 +78,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "storageName", "in": "path", "description": "Name of the storage.", "required": true, @@ -130,14 +130,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "storageName", "in": "path", "description": "Name of the storage.", "required": true, @@ -191,14 +191,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "envName", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "name", + "name": "storageName", "in": "path", "description": "Name of the storage.", "required": true, From 9b81fbd65652d558c0296d72a63ca1a7c4850e3c Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Tue, 12 Apr 2022 12:38:13 +0200 Subject: [PATCH 03/15] containerapps: updating the examples for 2022-01-01-preview --- .../examples/Certificate_CreateOrUpdate.json | 4 ++-- .../2022-01-01-preview/examples/Certificate_Delete.json | 4 ++-- .../preview/2022-01-01-preview/examples/Certificate_Get.json | 4 ++-- .../examples/Certificates_ListByManagedEnvironment.json | 2 +- .../2022-01-01-preview/examples/Certificates_Patch.json | 4 ++-- .../examples/DaprComponents_CreateOrUpdate.json | 2 +- .../2022-01-01-preview/examples/DaprComponents_Delete.json | 2 +- .../2022-01-01-preview/examples/DaprComponents_Get.json | 2 +- .../examples/ManagedEnvironmentsStorages_CreateOrUpdate.json | 4 ++-- .../examples/ManagedEnvironmentsStorages_Delete.json | 4 ++-- .../examples/ManagedEnvironmentsStorages_Get.json | 4 ++-- .../examples/ManagedEnvironmentsStorages_List.json | 2 +- .../examples/ManagedEnvironments_CreateOrUpdate.json | 2 +- .../examples/ManagedEnvironments_Delete.json | 2 +- .../2022-01-01-preview/examples/ManagedEnvironments_Get.json | 2 +- .../examples/ManagedEnvironments_Patch.json | 2 +- .../2022-01-01-preview/examples/Revisions_Activate.json | 2 +- .../2022-01-01-preview/examples/Revisions_Deactivate.json | 2 +- .../preview/2022-01-01-preview/examples/Revisions_Get.json | 2 +- .../2022-01-01-preview/examples/Revisions_Restart.json | 2 +- 20 files changed, 27 insertions(+), 27 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json index 07bc10b63a27..377e2562ac01 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-01-01-preview", "certificateEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json index a94acec7bb08..aeb3e1ef2c24 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json index eb8e38e7f2c5..6dab3a3b6dea 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json index 7c6b2f990233..031cf2f5ef72 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", + "environmentName": "testcontainerenv", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json index 43ab98b79927..d85d73050d7e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-01-01-preview", "certificateEnvelope": { "tags": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json index c09192bf024f..71d5e3828513 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "name": "reddog", + "componentName": "reddog", "api-version": "2022-01-01-preview", "daprComponentEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json index fd76e6ce55f4..d41b2e8adb4f 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "name": "reddog", + "componentName": "reddog", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json index f9ed1449c963..a1e94564d2fa 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "name": "reddog", + "componentName": "reddog", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json index 0b7eec3a2c2f..421d246e6a9a 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", - "name": "jlaw-demo1", + "environmentName": "managedEnv", + "storageName": "jlaw-demo1", "api-version": "2022-01-01-preview", "storageEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json index 54eeba3bf4cf..2d5e1038a3eb 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", - "name": "jlaw-demo1", + "environmentName": "managedEnv", + "storageName": "jlaw-demo1", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json index c185a05cd353..8e7e7f138215 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", - "name": "jlaw-demo1", + "environmentName": "managedEnv", + "storageName": "jlaw-demo1", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json index bfc6a88b3d6a..a22653de3a12 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", + "environmentName": "managedEnv", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json index 7ac16d8719d2..9149273f6093 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "name": "testcontainerenv", + "environmentName": "testcontainerenv", "api-version": "2022-01-01-preview", "environmentEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json index b322bbcf5aaf..becc5a43f283 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "name": "examplekenv", + "environmentName": "examplekenv", "api-version": "2022-01-01-preview", "location": "East US" }, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json index 1c8bd516969b..96d31c4bcc6c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "name": "jlaw-demo1", + "environmentName": "jlaw-demo1", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json index bb568449f413..457279ec3d0b 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "name": "testcontainerenv", + "environmentName": "testcontainerenv", "api-version": "2022-01-01-preview", "location": "East US", "environmentEnvelope": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json index 42ae3b8bf0fa..3d70b3db2555 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json index 42ae3b8bf0fa..3d70b3db2555 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json index 3092e525c708..8c2de360fcfa 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2021-02-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json index 1bad2b7270cc..3336c0109c26 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testStaticSite0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2021-02-01" }, "responses": { From f9c1f1fd153cc4129d47536bc23537dc5ce7921c Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Tue, 12 Apr 2022 12:41:11 +0200 Subject: [PATCH 04/15] containerapps: updating the examples to account for the updated parameter names --- .../2022-03-01/examples/Certificate_CreateOrUpdate.json | 4 ++-- .../stable/2022-03-01/examples/Certificate_Delete.json | 4 ++-- .../stable/2022-03-01/examples/Certificate_Get.json | 4 ++-- .../examples/Certificates_CheckNameAvailability.json | 2 +- .../examples/Certificates_ListByManagedEnvironment.json | 2 +- .../stable/2022-03-01/examples/Certificates_Patch.json | 4 ++-- .../examples/ContainerApps_CheckNameAvailability.json | 2 +- .../2022-03-01/examples/DaprComponents_CreateOrUpdate.json | 2 +- .../stable/2022-03-01/examples/DaprComponents_Delete.json | 2 +- .../stable/2022-03-01/examples/DaprComponents_Get.json | 2 +- .../2022-03-01/examples/DaprComponents_ListSecrets.json | 2 +- .../examples/ManagedEnvironmentsStorages_CreateOrUpdate.json | 4 ++-- .../examples/ManagedEnvironmentsStorages_Delete.json | 4 ++-- .../2022-03-01/examples/ManagedEnvironmentsStorages_Get.json | 4 ++-- .../2022-03-01/examples/ManagedEnvironmentsStorages_List.json | 2 +- .../examples/ManagedEnvironments_CreateOrUpdate.json | 2 +- .../2022-03-01/examples/ManagedEnvironments_Delete.json | 2 +- .../stable/2022-03-01/examples/ManagedEnvironments_Get.json | 2 +- .../stable/2022-03-01/examples/ManagedEnvironments_Patch.json | 2 +- .../stable/2022-03-01/examples/Replicas_Get.json | 2 +- .../stable/2022-03-01/examples/Revisions_Activate.json | 2 +- .../stable/2022-03-01/examples/Revisions_Deactivate.json | 2 +- .../stable/2022-03-01/examples/Revisions_Get.json | 2 +- .../stable/2022-03-01/examples/Revisions_Restart.json | 2 +- 24 files changed, 31 insertions(+), 31 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json index 49b28fc53d60..21287789d203 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-03-01", "certificateEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Delete.json index 7e25d26b39d7..6e7d3be772a2 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Delete.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json index 403fdb7d21ba..2c08bef3fcba 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_CheckNameAvailability.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_CheckNameAvailability.json index 2788c6f66c02..6f90c2006f23 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_CheckNameAvailability.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_CheckNameAvailability.json @@ -3,7 +3,7 @@ "api-version": "2022-03-01", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", + "environmentName": "testcontainerenv", "checkNameAvailabilityRequest": { "name": "testcertificatename", "type": "Microsoft.App/managedEnvironments/certificates" diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json index c92921d332d4..5ac0cf1f79b5 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", + "environmentName": "testcontainerenv", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json index 1b92d47538e1..594ab970cf31 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", - "name": "certificate-firendly-name", + "environmentName": "testcontainerenv", + "certificateName": "certificate-firendly-name", "api-version": "2022-03-01", "certificateEnvelope": { "tags": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CheckNameAvailability.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CheckNameAvailability.json index 9ce9037bc6b3..d6f636b2a320 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CheckNameAvailability.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CheckNameAvailability.json @@ -3,7 +3,7 @@ "api-version": "2022-03-01", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "managedEnvironmentName": "testcontainerenv", + "environmentName": "testcontainerenv", "checkNameAvailabilityRequest": { "name": "testcappname", "type": "Microsoft.App/containerApps" diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_CreateOrUpdate.json index b110ceaf3d33..6157704c71c0 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "name": "reddog", + "componentName": "reddog", "api-version": "2022-03-01", "daprComponentEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Delete.json index a7df7688e321..fa433299fd67 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "name": "reddog", + "componentName": "reddog", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Get.json index fff7f1076301..185c080b66b5 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "name": "reddog", + "componentName": "reddog", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_ListSecrets.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_ListSecrets.json index 3d035869e98a..e6588ea518fd 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_ListSecrets.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/DaprComponents_ListSecrets.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "name": "reddog", + "componentName": "reddog", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json index 057ef675c2fe..01a6ce19cc6a 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", - "name": "jlaw-demo1", + "environmentName": "managedEnv", + "storageName": "jlaw-demo1", "api-version": "2022-03-01", "storageEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Delete.json index 8b57652cd4a2..b6fb20850956 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Delete.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", - "name": "jlaw-demo1", + "environmentName": "managedEnv", + "storageName": "jlaw-demo1", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Get.json index c0173bcc426a..697608dc66e9 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_Get.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", - "name": "jlaw-demo1", + "environmentName": "managedEnv", + "storageName": "jlaw-demo1", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_List.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_List.json index 24a69bed4e83..28bbead85fe0 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_List.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironmentsStorages_List.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "envName": "managedEnv", + "environmentName": "managedEnv", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_CreateOrUpdate.json index e1c5046bd8cc..f63f1fc986a9 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_CreateOrUpdate.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "name": "testcontainerenv", + "environmentName": "testcontainerenv", "api-version": "2022-03-01", "environmentEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Delete.json index 2e30ecf918b3..b3b9c7726af7 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Delete.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "name": "examplekenv", + "environmentName": "examplekenv", "api-version": "2022-03-01", "location": "East US" }, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Get.json index bc9da2f95fac..f8439cb54e6f 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Get.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "name": "jlaw-demo1", + "environmentName": "jlaw-demo1", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Patch.json index 4ff0a27b6bca..cbaa78bc0d7d 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ManagedEnvironments_Patch.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "name": "testcontainerenv", + "environmentName": "testcontainerenv", "api-version": "2022-03-01", "environmentEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Replicas_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Replicas_Get.json index e22181d1ea4b..ca3ba3d26abc 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Replicas_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Replicas_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "workerapps-rg-xj", "containerAppName": "myapp", "revisionName": "myapp--0wlqy09", - "name": "myapp--0wlqy09-5d9774cff-5wnd8", + "replicaName": "myapp--0wlqy09-5d9774cff-5wnd8", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Activate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Activate.json index 2c9db2b0ed62..68557da006f5 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Activate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Activate.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Deactivate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Deactivate.json index 2c9db2b0ed62..68557da006f5 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Deactivate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Deactivate.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Get.json index 3092e525c708..8c2de360fcfa 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2021-02-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Restart.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Restart.json index 1bad2b7270cc..3336c0109c26 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Restart.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Revisions_Restart.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testStaticSite0", - "name": "testcontainerApp0-pjxhsye", + "revisionName": "testcontainerApp0-pjxhsye", "api-version": "2021-02-01" }, "responses": { From 3c4872f4a43fbe1a285830461f48d8c0a5ffeee8 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Tue, 12 Apr 2022 12:48:08 +0200 Subject: [PATCH 05/15] containerapps: fixing linting --- .../preview/2022-01-01-preview/ManagedEnvironments.json | 6 +++--- .../preview/2022-01-01-preview/examples/Replicas_Get.json | 2 +- .../Microsoft.App/stable/2022-03-01/DaprComponents.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json index a8a022b562ac..cdf16a45cb90 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json @@ -159,7 +159,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -220,7 +220,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -269,7 +269,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "environmentName", "in": "path", "description": "Name of the Environment.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json index e80b3b98fc67..279a3825e950 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "workerapps-rg-xj", "containerAppName": "myapp", "revisionName": "myapp--0wlqy09", - "name": "myapp--0wlqy09-5d9774cff-5wnd8", + "replicaName": "myapp--0wlqy09-5d9774cff-5wnd8", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json index 19fcbbf3d01b..ecf44dc771a9 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json @@ -232,7 +232,7 @@ "x-ms-long-running-operation": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}/listSecrets": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}/listSecrets": { "post": { "tags": [ "DaprComponents" From 712d11638a7e1f6cfd8063077ede00a939264a05 Mon Sep 17 00:00:00 2001 From: Mike Vu Date: Wed, 27 Apr 2022 14:57:55 -0700 Subject: [PATCH 06/15] fix probe enums --- .../2022-01-01-preview/CommonDefinitions.json | 16 ++++++++++++---- .../examples/ContainerApps_CreateOrUpdate.json | 6 +++--- .../stable/2022-03-01/CommonDefinitions.json | 16 ++++++++++++---- .../examples/ContainerApps_CreateOrUpdate.json | 6 +++--- 4 files changed, 30 insertions(+), 14 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json index d74fb9991175..1812e9d32be9 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/CommonDefinitions.json @@ -172,7 +172,15 @@ }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string", + "x-ms-enum": { + "name": "Scheme", + "modelAsString": true + } } } }, @@ -222,9 +230,9 @@ "type": { "description": "The type of probe.", "enum": [ - "liveness", - "readiness", - "startup" + "Liveness", + "Readiness", + "Startup" ], "type": "string", "x-ms-enum": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ContainerApps_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ContainerApps_CreateOrUpdate.json index a3361fe80a45..a956f82ab4b8 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ContainerApps_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ContainerApps_CreateOrUpdate.json @@ -38,7 +38,7 @@ "name": "testcontainerApp0", "probes": [ { - "type": "liveness", + "type": "Liveness", "httpGet": { "path": "/health", "port": 8080, @@ -122,7 +122,7 @@ }, "probes": [ { - "type": "liveness", + "type": "Liveness", "httpGet": { "path": "/health", "port": 8080, @@ -192,7 +192,7 @@ }, "probes": [ { - "type": "liveness", + "type": "Liveness", "httpGet": { "path": "/health", "port": 8080, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/CommonDefinitions.json index 169dde52642d..8dc19cfa4c1c 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/CommonDefinitions.json @@ -172,7 +172,15 @@ }, "scheme": { "description": "Scheme to use for connecting to the host. Defaults to HTTP.", - "type": "string" + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string", + "x-ms-enum": { + "name": "Scheme", + "modelAsString": true + } } } }, @@ -222,9 +230,9 @@ "type": { "description": "The type of probe.", "enum": [ - "liveness", - "readiness", - "startup" + "Liveness", + "Readiness", + "Startup" ], "type": "string", "x-ms-enum": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json index f31bfa2e64d5..6c6228b39881 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json @@ -45,7 +45,7 @@ "name": "testcontainerApp0", "probes": [ { - "type": "liveness", + "type": "Liveness", "httpGet": { "path": "/health", "port": 8080, @@ -140,7 +140,7 @@ }, "probes": [ { - "type": "liveness", + "type": "Liveness", "httpGet": { "path": "/health", "port": 8080, @@ -221,7 +221,7 @@ }, "probes": [ { - "type": "liveness", + "type": "Liveness", "httpGet": { "path": "/health", "port": 8080, From fecc0eb1dc1700bc719d110acac1087d5f8f446d Mon Sep 17 00:00:00 2001 From: Mike Vu Date: Mon, 2 May 2022 10:38:44 -0700 Subject: [PATCH 07/15] Fix revision mode enum --- .../preview/2022-01-01-preview/ContainerApps.json | 4 ++-- .../Microsoft.App/stable/2022-03-01/ContainerApps.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json index 4ddf1ed27cb1..4aff2475e7ab 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json @@ -427,8 +427,8 @@ "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ], "type": "string", "x-ms-enum": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json index 080cb2828930..a1780db0be48 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json @@ -425,8 +425,8 @@ "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ], "type": "string", "x-ms-enum": { From 76d764b67d4a9cb0e92ea7a6a203cc490ef82c5e Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Tue, 10 May 2022 11:59:13 -0700 Subject: [PATCH 08/15] Fix the policheck error --- .../examples/Certificate_CreateOrUpdate.json | 2 +- .../2022-01-01-preview/examples/Certificate_Get.json | 2 +- .../Certificates_ListByManagedEnvironment.json | 12 ++++++------ .../examples/Certificates_Patch.json | 2 +- .../examples/Certificate_CreateOrUpdate.json | 2 +- .../stable/2022-03-01/examples/Certificate_Get.json | 2 +- .../Certificates_ListByManagedEnvironment.json | 12 ++++++------ .../2022-03-01/examples/Certificates_Patch.json | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json index 377e2562ac01..224fd6eafb7b 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json @@ -22,7 +22,7 @@ "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json index 6dab3a3b6dea..0da228f66a8c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json @@ -16,7 +16,7 @@ "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json index 031cf2f5ef72..41288d5bf8df 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json @@ -11,13 +11,13 @@ "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "name": "certificate-firendly-name", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name1", + "name": "certificate-firendly-name1", "type": "Microsoft.App/ManagedEnvironments/Certificates", "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name1.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", @@ -26,13 +26,13 @@ } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "name": "certificate-firendly-name", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name2", + "name": "certificate-firendly-name2", "type": "Microsoft.App/ManagedEnvironments/Certificates", "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name2.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json index d85d73050d7e..15fd3cf011fa 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json @@ -25,7 +25,7 @@ }, "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json index 21287789d203..d2dc08b9ea8b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_CreateOrUpdate.json @@ -22,7 +22,7 @@ "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json index 2c08bef3fcba..8d134c8e670e 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificate_Get.json @@ -16,7 +16,7 @@ "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json index 5ac0cf1f79b5..d1be7f76c5c1 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_ListByManagedEnvironment.json @@ -11,13 +11,13 @@ "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "name": "certificate-firendly-name", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name1", + "name": "certificate-firendly-name1", "type": "Microsoft.App/ManagedEnvironments/Certificates", "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name1.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", @@ -26,13 +26,13 @@ } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", - "name": "certificate-firendly-name", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name2", + "name": "certificate-firendly-name2", "type": "Microsoft.App/ManagedEnvironments/Certificates", "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name2.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json index 594ab970cf31..94a889785114 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/Certificates_Patch.json @@ -25,7 +25,7 @@ }, "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.company.country.net", + "subjectName": "my-subject-name.contoso.com", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", From 66e9b08f04bf2a7dfa4c28617b2b0706e1f70a40 Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Tue, 10 May 2022 12:07:20 -0700 Subject: [PATCH 09/15] Revert "containerapps: fixing linting" This reverts commit 3c4872f4a43fbe1a285830461f48d8c0a5ffeee8. --- .../preview/2022-01-01-preview/ManagedEnvironments.json | 6 +++--- .../preview/2022-01-01-preview/examples/Replicas_Get.json | 2 +- .../Microsoft.App/stable/2022-03-01/DaprComponents.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json index cdf16a45cb90..a8a022b562ac 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json @@ -159,7 +159,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "name", "in": "path", "description": "Name of the Environment.", "required": true, @@ -220,7 +220,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "name", "in": "path", "description": "Name of the Environment.", "required": true, @@ -269,7 +269,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "name", "in": "path", "description": "Name of the Environment.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json index 279a3825e950..e80b3b98fc67 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Replicas_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "workerapps-rg-xj", "containerAppName": "myapp", "revisionName": "myapp--0wlqy09", - "replicaName": "myapp--0wlqy09-5d9774cff-5wnd8", + "name": "myapp--0wlqy09-5d9774cff-5wnd8", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json index ecf44dc771a9..19fcbbf3d01b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json @@ -232,7 +232,7 @@ "x-ms-long-running-operation": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}/listSecrets": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}/listSecrets": { "post": { "tags": [ "DaprComponents" From d1b881907ba585d9adbd8df81e0dd31571131b8e Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Tue, 10 May 2022 12:07:41 -0700 Subject: [PATCH 10/15] Revert "containerapps: updating the examples for 2022-01-01-preview" This reverts commit 9b81fbd65652d558c0296d72a63ca1a7c4850e3c. --- .../examples/Certificate_CreateOrUpdate.json | 4 ++-- .../2022-01-01-preview/examples/Certificate_Delete.json | 4 ++-- .../preview/2022-01-01-preview/examples/Certificate_Get.json | 4 ++-- .../examples/Certificates_ListByManagedEnvironment.json | 2 +- .../2022-01-01-preview/examples/Certificates_Patch.json | 4 ++-- .../examples/DaprComponents_CreateOrUpdate.json | 2 +- .../2022-01-01-preview/examples/DaprComponents_Delete.json | 2 +- .../2022-01-01-preview/examples/DaprComponents_Get.json | 2 +- .../examples/ManagedEnvironmentsStorages_CreateOrUpdate.json | 4 ++-- .../examples/ManagedEnvironmentsStorages_Delete.json | 4 ++-- .../examples/ManagedEnvironmentsStorages_Get.json | 4 ++-- .../examples/ManagedEnvironmentsStorages_List.json | 2 +- .../examples/ManagedEnvironments_CreateOrUpdate.json | 2 +- .../examples/ManagedEnvironments_Delete.json | 2 +- .../2022-01-01-preview/examples/ManagedEnvironments_Get.json | 2 +- .../examples/ManagedEnvironments_Patch.json | 2 +- .../2022-01-01-preview/examples/Revisions_Activate.json | 2 +- .../2022-01-01-preview/examples/Revisions_Deactivate.json | 2 +- .../preview/2022-01-01-preview/examples/Revisions_Get.json | 2 +- .../2022-01-01-preview/examples/Revisions_Restart.json | 2 +- 20 files changed, 27 insertions(+), 27 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json index 224fd6eafb7b..50da15ab7fcc 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", + "managedEnvironmentName": "testcontainerenv", + "name": "certificate-firendly-name", "api-version": "2022-01-01-preview", "certificateEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json index aeb3e1ef2c24..a94acec7bb08 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Delete.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", + "managedEnvironmentName": "testcontainerenv", + "name": "certificate-firendly-name", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json index 0da228f66a8c..b669fc8e9049 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", + "managedEnvironmentName": "testcontainerenv", + "name": "certificate-firendly-name", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json index 41288d5bf8df..9af6182bac21 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", + "managedEnvironmentName": "testcontainerenv", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json index 15fd3cf011fa..24785c92951f 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", - "certificateName": "certificate-firendly-name", + "managedEnvironmentName": "testcontainerenv", + "name": "certificate-firendly-name", "api-version": "2022-01-01-preview", "certificateEnvelope": { "tags": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json index 71d5e3828513..c09192bf024f 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "componentName": "reddog", + "name": "reddog", "api-version": "2022-01-01-preview", "daprComponentEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json index d41b2e8adb4f..fd76e6ce55f4 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "componentName": "reddog", + "name": "reddog", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json index a1e94564d2fa..f9ed1449c963 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/DaprComponents_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", "environmentName": "myenvironment", - "componentName": "reddog", + "name": "reddog", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json index 421d246e6a9a..0b7eec3a2c2f 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "environmentName": "managedEnv", - "storageName": "jlaw-demo1", + "envName": "managedEnv", + "name": "jlaw-demo1", "api-version": "2022-01-01-preview", "storageEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json index 2d5e1038a3eb..54eeba3bf4cf 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Delete.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "environmentName": "managedEnv", - "storageName": "jlaw-demo1", + "envName": "managedEnv", + "name": "jlaw-demo1", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json index 8e7e7f138215..c185a05cd353 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_Get.json @@ -2,8 +2,8 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "environmentName": "managedEnv", - "storageName": "jlaw-demo1", + "envName": "managedEnv", + "name": "jlaw-demo1", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json index a22653de3a12..bfc6a88b3d6a 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironmentsStorages_List.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "environmentName": "managedEnv", + "envName": "managedEnv", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json index 9149273f6093..7ac16d8719d2 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", + "name": "testcontainerenv", "api-version": "2022-01-01-preview", "environmentEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json index becc5a43f283..b322bbcf5aaf 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Delete.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "examplekenv", + "name": "examplekenv", "api-version": "2022-01-01-preview", "location": "East US" }, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json index 96d31c4bcc6c..1c8bd516969b 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Get.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "8efdecc5-919e-44eb-b179-915dca89ebf9", "resourceGroupName": "examplerg", - "environmentName": "jlaw-demo1", + "name": "jlaw-demo1", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json index 457279ec3d0b..bb568449f413 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/ManagedEnvironments_Patch.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "examplerg", - "environmentName": "testcontainerenv", + "name": "testcontainerenv", "api-version": "2022-01-01-preview", "location": "East US", "environmentEnvelope": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json index 3d70b3db2555..42ae3b8bf0fa 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Activate.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "revisionName": "testcontainerApp0-pjxhsye", + "name": "testcontainerApp0-pjxhsye", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json index 3d70b3db2555..42ae3b8bf0fa 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Deactivate.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "revisionName": "testcontainerApp0-pjxhsye", + "name": "testcontainerApp0-pjxhsye", "api-version": "2022-01-01-preview" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json index 8c2de360fcfa..3092e525c708 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testcontainerApp0", - "revisionName": "testcontainerApp0-pjxhsye", + "name": "testcontainerApp0-pjxhsye", "api-version": "2021-02-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json index 3336c0109c26..1bad2b7270cc 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Revisions_Restart.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", "containerAppName": "testStaticSite0", - "revisionName": "testcontainerApp0-pjxhsye", + "name": "testcontainerApp0-pjxhsye", "api-version": "2021-02-01" }, "responses": { From 61cd97a63e3082f67ec713c97aed2f2a098c209d Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Tue, 10 May 2022 12:08:00 -0700 Subject: [PATCH 11/15] Revert "contianerapps: fixing swagger inconsistencies in 2022-01-01-preview" This reverts commit 553fc551b3239598157238ed6246085748421b87. --- .../2022-01-01-preview/ContainerApps.json | 4 +-- .../ContainerAppsRevisions.json | 20 +++++++------- .../2022-01-01-preview/DaprComponents.json | 8 +++--- .../ManagedEnvironments.json | 26 +++++++++---------- .../ManagedEnvironmentsStorages.json | 18 ++++++------- 5 files changed, 38 insertions(+), 38 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json index 4aff2475e7ab..4ddf1ed27cb1 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json @@ -427,8 +427,8 @@ "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode", "enum": [ - "Multiple", - "Single" + "multiple", + "single" ], "type": "string", "x-ms-enum": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json index 1af71ba5c8c8..fb2cebb000f2 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerAppsRevisions.json @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}": { "get": { "tags": [ "ContainerAppsRevisions" @@ -86,7 +86,7 @@ "type": "string" }, { - "name": "revisionName", + "name": "name", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -117,7 +117,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/activate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/activate": { "post": { "tags": [ "ContainerAppsRevisions" @@ -139,7 +139,7 @@ "type": "string" }, { - "name": "revisionName", + "name": "name", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -167,7 +167,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/deactivate": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/deactivate": { "post": { "tags": [ "ContainerAppsRevisions" @@ -189,7 +189,7 @@ "type": "string" }, { - "name": "revisionName", + "name": "name", "in": "path", "description": "Name of the Container App Revision.", "required": true, @@ -217,7 +217,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{replicaName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/replicas/{name}": { "get": { "tags": [ "ContainerAppsRevisionReplicas" @@ -246,7 +246,7 @@ "type": "string" }, { - "name": "replicaName", + "name": "name", "in": "path", "description": "Name of the Container App Revision Replica.", "required": true, @@ -330,7 +330,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{name}/restart": { "post": { "tags": [ "ContainerAppsRevisions" @@ -352,7 +352,7 @@ "type": "string" }, { - "name": "revisionName", + "name": "name", "in": "path", "description": "Name of the Container App Revision.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json index 5b0d707bb595..4e5f5f8b3124 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/DaprComponents.json @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}": { "get": { "tags": [ "DaprComponents" @@ -86,7 +86,7 @@ "type": "string" }, { - "name": "componentName", + "name": "name", "in": "path", "description": "Name of the Dapr Component.", "required": true, @@ -138,7 +138,7 @@ "type": "string" }, { - "name": "componentName", + "name": "name", "in": "path", "description": "Name of the Dapr Component.", "required": true, @@ -200,7 +200,7 @@ "type": "string" }, { - "name": "componentName", + "name": "name", "in": "path", "description": "Name of the Dapr Component.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json index a8a022b562ac..e5a6084931a1 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironments.json @@ -98,7 +98,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{name}": { "get": { "tags": [ "ManagedEnvironments" @@ -114,7 +114,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "name", "in": "path", "description": "Name of the Environment.", "required": true, @@ -309,7 +309,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates": { "get": { "tags": [ "ManagedEnvironments", @@ -325,7 +325,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "managedEnvironmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, @@ -359,7 +359,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}/certificates/{name}": { "get": { "tags": [ "ManagedEnvironments", @@ -375,14 +375,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "managedEnvironmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "certificateName", + "name": "name", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -427,14 +427,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "managedEnvironmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "certificateName", + "name": "name", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -487,14 +487,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "managedEnvironmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "certificateName", + "name": "name", "in": "path", "description": "Name of the Certificate.", "required": true, @@ -540,14 +540,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "managedEnvironmentName", "in": "path", "description": "Name of the Managed Environment.", "required": true, "type": "string" }, { - "name": "certificateName", + "name": "name", "in": "path", "description": "Name of the Certificate.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json index f407e2f4e06e..621aacc539ee 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ManagedEnvironmentsStorages.json @@ -15,7 +15,7 @@ "application/json" ], "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages": { "get": { "tags": [ "ManagedEnvironmentsStorages" @@ -31,7 +31,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "envName", "in": "path", "description": "Name of the Environment.", "required": true, @@ -62,7 +62,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/storages/{storageName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{envName}/storages/{name}": { "get": { "tags": [ "ManagedEnvironmentsStorages" @@ -78,14 +78,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "envName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "storageName", + "name": "name", "in": "path", "description": "Name of the storage.", "required": true, @@ -130,14 +130,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "envName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "storageName", + "name": "name", "in": "path", "description": "Name of the storage.", "required": true, @@ -191,14 +191,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "environmentName", + "name": "envName", "in": "path", "description": "Name of the Environment.", "required": true, "type": "string" }, { - "name": "storageName", + "name": "name", "in": "path", "description": "Name of the storage.", "required": true, From d7910e042c91c3c2fbfc096bcd9cc543d15df6c3 Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Tue, 10 May 2022 12:15:16 -0700 Subject: [PATCH 12/15] Undo changes to 2022-01-01-preview --- .../preview/2022-01-01-preview/ContainerApps.json | 4 ++-- .../examples/Certificate_CreateOrUpdate.json | 2 +- .../2022-01-01-preview/examples/Certificate_Get.json | 2 +- .../Certificates_ListByManagedEnvironment.json | 12 ++++++------ .../examples/Certificates_Patch.json | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json index 4ddf1ed27cb1..4aff2475e7ab 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/ContainerApps.json @@ -427,8 +427,8 @@ "activeRevisionsMode": { "description": "ActiveRevisionsMode controls how active revisions are handled for the Container app:\nMultiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ], "type": "string", "x-ms-enum": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json index 50da15ab7fcc..07bc10b63a27 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_CreateOrUpdate.json @@ -22,7 +22,7 @@ "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.contoso.com", + "subjectName": "my-subject-name.company.country.net", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json index b669fc8e9049..eb8e38e7f2c5 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificate_Get.json @@ -16,7 +16,7 @@ "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.contoso.com", + "subjectName": "my-subject-name.company.country.net", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json index 9af6182bac21..7c6b2f990233 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_ListByManagedEnvironment.json @@ -11,13 +11,13 @@ "body": { "value": [ { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name1", - "name": "certificate-firendly-name1", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", + "name": "certificate-firendly-name", "type": "Microsoft.App/ManagedEnvironments/Certificates", "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name1.contoso.com", + "subjectName": "my-subject-name.company.country.net", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", @@ -26,13 +26,13 @@ } }, { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name2", - "name": "certificate-firendly-name2", + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/managedEnvironments/testcontainerenv/certificate-firendly-name", + "name": "certificate-firendly-name", "type": "Microsoft.App/ManagedEnvironments/Certificates", "location": "East US", "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name2.contoso.com", + "subjectName": "my-subject-name.company.country.net", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json index 24785c92951f..43ab98b79927 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/Certificates_Patch.json @@ -25,7 +25,7 @@ }, "properties": { "provisioningState": "Succeeded", - "subjectName": "my-subject-name.contoso.com", + "subjectName": "my-subject-name.company.country.net", "issuer": "Issuer Name", "issueDate": "2021-11-06T04:00:00Z", "expirationDate": "2022-11-06T04:00:00Z", From bb86ee142e7292a01e579cd0ce68ffcefa6e421d Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Tue, 10 May 2022 12:25:35 -0700 Subject: [PATCH 13/15] Fix one issue --- .../Microsoft.App/stable/2022-03-01/DaprComponents.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json index 19fcbbf3d01b..ecf44dc771a9 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/DaprComponents.json @@ -232,7 +232,7 @@ "x-ms-long-running-operation": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{name}/listSecrets": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}/listSecrets": { "post": { "tags": [ "DaprComponents" From 50eac49ce4626f24f307a3d47f4fec528e54f81e Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Wed, 11 May 2022 10:13:32 -0700 Subject: [PATCH 14/15] fix remaining inconsistency --- .../stable/2022-03-01/ContainerApps.json | 14 +++++++------- .../examples/ContainerApps_CreateOrUpdate.json | 2 +- .../2022-03-01/examples/ContainerApps_Delete.json | 2 +- .../2022-03-01/examples/ContainerApps_Get.json | 2 +- .../examples/ContainerApps_ListSecrets.json | 2 +- .../2022-03-01/examples/ContainerApps_Patch.json | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json index a1780db0be48..877cbec9784b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json @@ -96,7 +96,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}": { "get": { "tags": [ "ContainerApps" @@ -111,7 +111,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "containerAppName", "in": "path", "description": "Name of the Container App.", "required": true, @@ -160,7 +160,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "containerAppName", "in": "path", "description": "Name of the Container App.", "required": true, @@ -221,7 +221,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "containerAppName", "in": "path", "description": "Name of the Container App.", "required": true, @@ -270,7 +270,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "name", + "name": "containerAppName", "in": "path", "description": "Name of the Container App.", "required": true, @@ -360,7 +360,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{name}/listSecrets": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/listSecrets": { "post": { "tags": [ "ContainerApps" @@ -378,7 +378,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "name", + "name": "containerAppName", "in": "path", "description": "Name of the Container App.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json index 6c6228b39881..bbaee0fdb8bb 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_CreateOrUpdate.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", - "name": "testcontainerApp0", + "containerAppName": "testcontainerApp0", "api-version": "2022-03-01", "containerAppEnvelope": { "location": "East US", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Delete.json index 20b1076be7ba..a53fe7450123 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Delete.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", - "name": "testWorkerApp0", + "containerAppName": "testWorkerApp0", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Get.json index c37083ccdab7..8ad2263501c7 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Get.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", - "name": "testcontainerApp0", + "containerAppName": "testcontainerApp0", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListSecrets.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListSecrets.json index 9e14e9f54148..3ce88feb36d5 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListSecrets.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListSecrets.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", - "name": "testcontainerApp0", + "containerAppName": "testcontainerApp0", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Patch.json index 398a79ea3ccc..efba84b222df 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_Patch.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "rg", - "name": "testcontainerApp0", + "containerAppName": "testcontainerApp0", "api-version": "2022-03-01", "containerAppEnvelope": { "location": "East US", From 17b1af5ee0bd8edda698b74406bd216c3708f67d Mon Sep 17 00:00:00 2001 From: Ruslan Yakushev <1664475+ruslany@users.noreply.github.com> Date: Wed, 11 May 2022 16:35:43 -0700 Subject: [PATCH 15/15] fix authConfig and sourceControl names --- .../Microsoft.App/stable/2022-03-01/AuthConfigs.json | 8 ++++---- .../Microsoft.App/stable/2022-03-01/SourceControls.json | 8 ++++---- .../2022-03-01/examples/AuthConfigs_CreateOrUpdate.json | 2 +- .../stable/2022-03-01/examples/AuthConfigs_Delete.json | 2 +- .../stable/2022-03-01/examples/AuthConfigs_Get.json | 2 +- .../examples/SourceControls_CreateOrUpdate.json | 2 +- .../stable/2022-03-01/examples/SourceControls_Delete.json | 2 +- .../stable/2022-03-01/examples/SourceControls_Get.json | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/AuthConfigs.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/AuthConfigs.json index 114240879a9c..649e44aede95 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/AuthConfigs.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/AuthConfigs.json @@ -64,7 +64,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/authConfigs/{authConfigName}": { "get": { "tags": [ "ContainerAppsAuthConfigs" @@ -86,7 +86,7 @@ "type": "string" }, { - "name": "name", + "name": "authConfigName", "in": "path", "description": "Name of the Container App AuthConfig.", "required": true, @@ -138,7 +138,7 @@ "type": "string" }, { - "name": "name", + "name": "authConfigName", "in": "path", "description": "Name of the Container App AuthConfig.", "required": true, @@ -199,7 +199,7 @@ "type": "string" }, { - "name": "name", + "name": "authConfigName", "in": "path", "description": "Name of the Container App AuthConfig.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json index 8af4d61f1abd..667d73c3fa6b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json @@ -82,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}": { "get": { "tags": [ "ContainerAppsSourceControls" @@ -104,7 +104,7 @@ "type": "string" }, { - "name": "name", + "name": "sourceControlName", "in": "path", "description": "Name of the Container App SourceControl.", "required": true, @@ -156,7 +156,7 @@ "type": "string" }, { - "name": "name", + "name": "sourceControlName", "in": "path", "description": "Name of the Container App SourceControl.", "required": true, @@ -224,7 +224,7 @@ "type": "string" }, { - "name": "name", + "name": "sourceControlName", "in": "path", "description": "Name of the Container App SourceControl.", "required": true, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_CreateOrUpdate.json index 3ff06317e553..a87cbe7cad3f 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", - "name": "current", + "authConfigName": "current", "api-version": "2022-03-01", "authConfigEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Delete.json index 63437a757c0c..29fb9dc55017 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", - "name": "current", + "authConfigName": "current", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Get.json index 35ce520b8852..eeac23109a29 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/AuthConfigs_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", - "name": "current", + "authConfigName": "current", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json index 82ef2efd6ef8..f304e1427005 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", - "name": "current", + "sourceControlName": "current", "api-version": "2022-03-01", "sourceControlEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Delete.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Delete.json index 5264f49b4621..25339e0891b0 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", - "name": "current", + "sourceControlName": "current", "api-version": "2022-03-01" }, "responses": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json index 2e1fa372773c..b2125159ed6f 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "651f8027-33e8-4ec4-97b4-f6e9f3dc8744", "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", - "name": "current", + "sourceControlName": "current", "api-version": "2022-03-01" }, "responses": {