Skip to content

Commit

Permalink
Resolve issue with unreferenced examples in Network specs (#5674)
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-evseev authored and sergey-shandar committed Apr 17, 2019
1 parent 478d894 commit 0b0547d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 75 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
{
"service": "Microsoft.Storage"
}
],
"serviceEndpointPolicies": [
{
"id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
}
]
}
}
Expand All @@ -46,6 +51,7 @@
{
"name": "test-1",
"id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
"type": "Microsoft.Network/virtualNetworks/subnets",
"properties": {
"addressPrefix": "10.0.0.0/16",
"ipConfigurations": [],
Expand All @@ -60,6 +66,11 @@
]
}
],
"serviceEndpointPolicies": [
{
"id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
}
],
"provisioningState": "Succeeded"
}
}
Expand All @@ -85,6 +96,7 @@
{
"name": "test-1",
"id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
"type": "Microsoft.Network/virtualNetworks/subnets",
"properties": {
"addressPrefix": "10.0.0.0/16",
"ipConfigurations": [],
Expand All @@ -101,12 +113,7 @@
],
"serviceEndpointPolicies": [
{
"provisioningState": "Succeeded",
"service": "Microsoft.Storage",
"locations": [
"eastus2(stage)",
"usnorth(stage)"
]
"id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
}
],
"provisioningState": "Succeeded"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,8 @@
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
"Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" }
"Create ExpressRouteCircuit": { "$ref": "./examples/ExpressRouteCircuitCreate.json" },
"Create ExpressRouteCircuit on ExpressRoutePort": { "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json" }
}
},
"patch": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@
},
"x-ms-examples": {
"Create load balancer": { "$ref": "./examples/LoadBalancerCreate.json" },
"Create load balancer with Standard SKU": { "$ref": "./examples/LoadBalancerCreateStandardSku.json" },
"Create load balancer with Frontend IP in Zone 1": { "$ref": "./examples/LoadBalancerCreateWithZones.json" },
"Create load balancer with inbound nat pool": { "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json" }
},
"x-ms-long-running-operation": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"Create virtual network with subnet": { "$ref": "./examples/VirtualNetworkCreateSubnet.json" },
"Create virtual network with subnet containing address prefixes": { "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json" },
"Create virtual network with service endpoints": { "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json" },
"Create virtual network with service endpoints and service endpoint policy": { "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json" },
"Create virtual network with delegated subnets": { "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json" }
}
},
Expand Down

0 comments on commit 0b0547d

Please sign in to comment.