Skip to content

Commit

Permalink
Change the parameter names to unblock Terraform release (#19005)
Browse files Browse the repository at this point in the history
* contianerapps: fixing swagger inconsistencies in 2022-01-01-preview

* containerapps: fixing inconsistencies in the 2022-03-01 swagger

* containerapps: updating the examples for 2022-01-01-preview

* containerapps: updating the examples to account for the updated parameter names

* containerapps: fixing linting

* fix probe enums

* Fix revision mode enum

* Fix the policheck error

* Revert "containerapps: fixing linting"

This reverts commit 3c4872f.

* Revert "containerapps: updating the examples for 2022-01-01-preview"

This reverts commit 9b81fbd.

* Revert "contianerapps: fixing swagger inconsistencies in 2022-01-01-preview"

This reverts commit 553fc55.

* Undo changes to 2022-01-01-preview

* Fix one issue

* fix remaining inconsistency

* fix authConfig and sourceControl names

Co-authored-by: tombuildsstuff <git@tom.ibuildstuff.eu>
Co-authored-by: Mike Vu <mikevu@microsoft.com>
  • Loading branch information
3 people authored May 12, 2022
1 parent e515b62 commit 32143b0
Show file tree
Hide file tree
Showing 42 changed files with 109 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -86,7 +86,7 @@
"type": "string"
},
{
"name": "name",
"name": "authConfigName",
"in": "path",
"description": "Name of the Container App AuthConfig.",
"required": true,
Expand Down Expand Up @@ -138,7 +138,7 @@
"type": "string"
},
{
"name": "name",
"name": "authConfigName",
"in": "path",
"description": "Name of the Container App AuthConfig.",
"required": true,
Expand Down Expand Up @@ -199,7 +199,7 @@
"type": "string"
},
{
"name": "name",
"name": "authConfigName",
"in": "path",
"description": "Name of the Container App AuthConfig.",
"required": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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"
Expand All @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -94,7 +94,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down Expand Up @@ -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"
Expand All @@ -147,7 +147,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down Expand Up @@ -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"
Expand All @@ -197,7 +197,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -254,7 +254,7 @@
"type": "string"
},
{
"name": "name",
"name": "replicaName",
"in": "path",
"description": "Name of the Container App Revision Replica.",
"required": true,
Expand Down Expand Up @@ -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"
Expand All @@ -360,7 +360,7 @@
"type": "string"
},
{
"name": "name",
"name": "revisionName",
"in": "path",
"description": "Name of the Container App Revision.",
"required": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -86,7 +86,7 @@
"type": "string"
},
{
"name": "name",
"name": "componentName",
"in": "path",
"description": "Name of the Dapr Component.",
"required": true,
Expand Down Expand Up @@ -138,7 +138,7 @@
"type": "string"
},
{
"name": "name",
"name": "componentName",
"in": "path",
"description": "Name of the Dapr Component.",
"required": true,
Expand Down Expand Up @@ -200,7 +200,7 @@
"type": "string"
},
{
"name": "name",
"name": "componentName",
"in": "path",
"description": "Name of the Dapr Component.",
"required": true,
Expand Down Expand Up @@ -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"
Expand All @@ -254,7 +254,7 @@
"type": "string"
},
{
"name": "name",
"name": "componentName",
"in": "path",
"description": "Name of the Dapr Component.",
"required": true,
Expand Down
Loading

0 comments on commit 32143b0

Please sign in to comment.