Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2019-04-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkName": "vnet",
"subnetName": "subnet"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "redisCache_redis-tester",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/resourceNavigationLinks/redisCache_redis-tester",
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"type": "Microsoft.Network/virtualNetworks/subnets/resourceNavigationLinks",
"properties": {
"provisioningState": "Succeeded",
"linkedResourceType": "Microsoft.Cache/redis",
"link": "/subscriptions/subid/resourceGroups/another-rg/providers/Microsoft.Cache/Redis/redis-tester"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"api-version": "2019-04-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkName": "vnet",
"subnetName": "subnet"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "acisal",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/serviceAssociationLinks/acisal",
"etag": "W/\"00000000-0000-0000-0000-000000000000\"",
"type": "Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks",
"properties": {
"provisioningState": "Succeeded",
"linkedResourceType": "Microsoft.ContainerInstance/containerGroups",
"allowDelete": true,
"locations": [
"westus"
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,98 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks": {
"get": {
"operationId": "ResourceNavigationLinks_Get",
"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"
}
}
},
"x-ms-examples": {
"Get Resource Navigation Links": { "$ref": "./examples/VirtualNetworkGetResourceNavigationLinks.json" }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks": {
"get": {
"operationId": "ServiceAssociationLinks_Get",
"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"
}
}
},
"x-ms-examples": {
"Get Service Association Links": { "$ref": "./examples/VirtualNetworkGetServiceAssociationLinks.json" }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets": {
"get": {
"tags": [
Expand Down Expand Up @@ -1254,6 +1346,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 ResourceNavigationLinks_Get operation."
},
"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 ServiceAssociationLinks_Get operation."
},
"VirtualNetworkPeeringListResult": {
"properties": {
"value": {
Expand Down