Skip to content

Commit

Permalink
keeping subscriptionId parameter in both specs (by renaming it in v2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasundhra Manhas committed Sep 27, 2021
1 parent 9a45f2c commit fa22043
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/apiVersion"
Expand Down Expand Up @@ -82,7 +82,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}": {
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -261,7 +261,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -306,7 +306,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -352,7 +352,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -398,7 +398,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -446,7 +446,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -500,7 +500,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -550,7 +550,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -598,7 +598,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -643,7 +643,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/apiVersion"
Expand Down Expand Up @@ -671,7 +671,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}": {
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -839,7 +839,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}": {
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1018,7 +1018,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1069,7 +1069,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1117,7 +1117,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1171,7 +1171,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1205,7 +1205,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}": {
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1374,7 +1374,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/location"
Expand Down Expand Up @@ -1418,7 +1418,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/location"
Expand Down Expand Up @@ -1463,7 +1463,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1500,7 +1500,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}": {
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1668,7 +1668,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1719,7 +1719,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1848,6 +1848,13 @@
"type": "string",
"x-ms-parameter-location": "method"
},
"subscriptionId": {
"name": "subscriptionId",
"description": "Identifier of the subscription",
"in": "path",
"required": true,
"type": "string"
},
"projectTask": {
"name": "parameters",
"description": "Information about the task",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"name": "subscriptionIdParameter",
"in": "path",
"description": "Subscription ID that identifies an Azure subscription.",
"required": true,
Expand Down

0 comments on commit fa22043

Please sign in to comment.