Skip to content

Commit

Permalink
Refer SubscriptionIdParameter and ApiVersionParameter from network.json
Browse files Browse the repository at this point in the history
  • Loading branch information
srividyathirumala committed Oct 11, 2018
1 parent b232daf commit 8727154
Showing 1 changed file with 20 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retriving a specific peering location.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
Expand Down Expand Up @@ -74,10 +74,10 @@
"description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "locationName",
Expand Down Expand Up @@ -109,10 +109,10 @@
"description": "Deletes the specified ExpressRoutePort resource.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -153,10 +153,10 @@
"description": "Retrieves the requested ExpressRoutePort resource.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -193,10 +193,10 @@
"description": "Creates or updates the specified ExpressRoutePort resource.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -250,10 +250,10 @@
"description": "Update ExpressRoutePort tags",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -302,10 +302,10 @@
"description": "List all the ExpressRoutePort resources in the specified resource group.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -340,10 +340,10 @@
"description": "List all the ExpressRoutePort resources in the specified subscription",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
}
],
"responses": {
Expand Down Expand Up @@ -371,10 +371,10 @@
"description": "Retrieves the specified ExpressRouteLink resource.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -420,10 +420,10 @@
"description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"name": "resourceGroupName",
Expand Down Expand Up @@ -743,21 +743,5 @@
}
}
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "string",
"description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "Client API version."
}
}
}

0 comments on commit 8727154

Please sign in to comment.