Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve issue with unreferenced examples in Network specs #5674

Merged
Merged
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

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