Skip to content

Commit

Permalink
Fix duplicate path in old Network API versions (Azure#5003)
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-evseev authored and dsgouda committed Jan 9, 2019
1 parent 3fcc923 commit 7da6f1d
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 129 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,45 +437,6 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{connectionSharedKeyName}/sharedkey": {
"get": {
"tags": [
"VirtualNetworkGatewayConnections"
],
"operationId": "VirtualNetworkGatewayConnections_GetSharedKey",
"description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "connectionSharedKeyName",
"in": "path",
"required": true,
"type": "string",
"description": "The virtual network gateway connection shared key name."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConnectionSharedKeyResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": {
"get": {
"tags": [
Expand Down Expand Up @@ -616,6 +577,43 @@
}
},
"x-ms-long-running-operation": true
},
"get": {
"tags": [
"VirtualNetworkGatewayConnections"
],
"operationId": "VirtualNetworkGatewayConnections_GetSharedKey",
"description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "virtualNetworkGatewayConnectionName",
"in": "path",
"required": true,
"type": "string",
"description": "The virtual network gateway connection shared key name."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConnectionSharedKeyResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3282,45 +3282,6 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{connectionSharedKeyName}/sharedkey": {
"get": {
"tags": [
"VirtualNetworkGatewayConnections"
],
"operationId": "VirtualNetworkGatewayConnections_GetSharedKey",
"description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "connectionSharedKeyName",
"in": "path",
"required": true,
"type": "string",
"description": "The virtual network gateway connection shared key name."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConnectionSharedKeyResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": {
"get": {
"tags": [
Expand Down Expand Up @@ -3461,6 +3422,43 @@
}
},
"x-ms-long-running-operation": true
},
"get": {
"tags": [
"VirtualNetworkGatewayConnections"
],
"operationId": "VirtualNetworkGatewayConnections_GetSharedKey",
"description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "virtualNetworkGatewayConnectionName",
"in": "path",
"required": true,
"type": "string",
"description": "The virtual network gateway connection shared key name."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConnectionSharedKeyResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": {
Expand Down Expand Up @@ -5146,9 +5144,6 @@
"description": "path ."
}
},
"required": [
"nextHopType"
],
"description": "The routes table associated with the ExpressRouteCircuit"
},
"ExpressRouteCircuitsRoutesTableListResult": {
Expand Down Expand Up @@ -5192,9 +5187,6 @@
"description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group."
}
},
"required": [
"nextHopType"
],
"description": "The routes table associated with the ExpressRouteCircuit"
},
"ExpressRouteCircuitsRoutesTableSummaryListResult": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3564,45 +3564,6 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{connectionSharedKeyName}/sharedkey": {
"get": {
"tags": [
"VirtualNetworkGatewayConnections"
],
"operationId": "VirtualNetworkGatewayConnections_GetSharedKey",
"description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "connectionSharedKeyName",
"in": "path",
"required": true,
"type": "string",
"description": "The virtual network gateway connection shared key name."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConnectionSharedKeyResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": {
"get": {
"tags": [
Expand Down Expand Up @@ -3743,6 +3704,43 @@
}
},
"x-ms-long-running-operation": true
},
"get": {
"tags": [
"VirtualNetworkGatewayConnections"
],
"operationId": "VirtualNetworkGatewayConnections_GetSharedKey",
"description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "virtualNetworkGatewayConnectionName",
"in": "path",
"required": true,
"type": "string",
"description": "The virtual network gateway connection shared key name."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConnectionSharedKeyResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": {
Expand Down Expand Up @@ -5557,9 +5555,6 @@
"description": "path ."
}
},
"required": [
"nextHopType"
],
"description": "The routes table associated with the ExpressRouteCircuit"
},
"ExpressRouteCircuitsRoutesTableListResult": {
Expand Down Expand Up @@ -5603,9 +5598,6 @@
"description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group."
}
},
"required": [
"nextHopType"
],
"description": "The routes table associated with the ExpressRouteCircuit"
},
"ExpressRouteCircuitsRoutesTableSummaryListResult": {
Expand Down

0 comments on commit 7da6f1d

Please sign in to comment.