From de6b4b402f6a13a36142acf760496b1487ea8b41 Mon Sep 17 00:00:00 2001 From: Will Ehrich Date: Thu, 25 Apr 2019 16:47:50 -0700 Subject: [PATCH 1/2] Initial commit --- .../stable/2019-02-01/virtualNetwork.json | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json index e41e4e315fd4..a281eb9e3dcf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json @@ -553,6 +553,92 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks": { + "get": { + "operationId": "Get_ResourceNavigationLinks", + "description": "Gets a list of resource navigation links for a subnet.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of resource navigation links for the subnet.", + "schema": { + "$ref": "#/definitions/ResourceNavigationLinksListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks": { + "get": { + "operationId": "Get_ServiceAssociationLinks", + "description": "Gets a list of service association links for a subnet.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual network." + }, + { + "name": "subnetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the subnet." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of service association links for the subnet.", + "schema": { + "$ref": "#/definitions/ServiceAssociationLinksListResult" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets": { "get": { "tags": [ @@ -1254,6 +1340,38 @@ }, "description": "Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network" }, + "ResourceNavigationLinksListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceNavigationLink" + }, + "description": "The resource navigation links in a subnet." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for GetResourceNavigationLinks API call." + }, + "ServiceAssociationLinksListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAssociationLink" + }, + "description": "The service association links in a subnet." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "Response for GetServiceAssociationLinks API call." + }, "VirtualNetworkPeeringListResult": { "properties": { "value": { From c3bfd327a68d452721883d3dcf895dfa19521f02 Mon Sep 17 00:00:00 2001 From: Will Ehrich Date: Tue, 30 Apr 2019 18:08:23 -0700 Subject: [PATCH 2/2] Rename operation IDs --- .../stable/2019-02-01/virtualNetwork.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json index a281eb9e3dcf..9c3c52d5dfa5 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/virtualNetwork.json @@ -555,7 +555,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks": { "get": { - "operationId": "Get_ResourceNavigationLinks", + "operationId": "ResourceNavigationLinks_Get", "description": "Gets a list of resource navigation links for a subnet.", "parameters": [ { @@ -598,7 +598,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks": { "get": { - "operationId": "Get_ServiceAssociationLinks", + "operationId": "ServiceAssociationLinks_Get", "description": "Gets a list of service association links for a subnet.", "parameters": [ { @@ -1354,7 +1354,7 @@ "description": "The URL to get the next set of results." } }, - "description": "Response for GetResourceNavigationLinks API call." + "description": "Response for ResourceNavigationLinks_Get operation." }, "ServiceAssociationLinksListResult": { "properties": { @@ -1370,7 +1370,7 @@ "description": "The URL to get the next set of results." } }, - "description": "Response for GetServiceAssociationLinks API call." + "description": "Response for ServiceAssociationLinks_Get operation." }, "VirtualNetworkPeeringListResult": { "properties": {