Skip to content

Commit

Permalink
adding the subscriptionId parameter in v1 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasundhra Manhas committed Sep 22, 2021
1 parent b94a96d commit 40e80e0
Showing 1 changed file with 31 additions and 24 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 @@ -1501,7 +1501,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1538,7 +1538,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 @@ -1706,7 +1706,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1757,7 +1757,7 @@
},
"parameters": [
{
"$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter"
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/groupName"
Expand Down Expand Up @@ -1886,6 +1886,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

0 comments on commit 40e80e0

Please sign in to comment.