Skip to content

Commit

Permalink
Add extended location properties for private link service and private…
Browse files Browse the repository at this point in the history
… endpoints and remove edge zone properties (#12039)

* Remove edge zone parameter

* Add extended location for private endpoint and private link service

* Add examples

* Capitalization

* Prettier

Co-authored-by: Will Ehrich <william.ehrich@microsoft.com>
  • Loading branch information
wdehrich and Will Ehrich authored Dec 30, 2020
1 parent 3001750 commit 6f0cd18
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,6 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the custom IP prefix resource."
},
"edgeZone": {
"type": "string",
"description": "The edge zone of the custom IP prefix."
}
},
"description": "Custom IP prefix properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"parameters": {
"location": "westus",
"properties": {
"cidr": "0.0.0.0/24",
"edgeZone": "edgeZone0"
"cidr": "0.0.0.0/24"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"parameters": {
"location": "eastus",
"properties": {
"edgeZone": "edgeZone0",
"frontendIPConfigurations": [
{
"name": "fe-lb",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"networkInterfaceName": "test-nic",
"parameters": {
"properties": {
"edgeZone": "edgeZone0",
"enableAcceleratedNetworking": true,
"ipConfigurations": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"privateEndpointName": "testPe",
"extendedLocation": {
"type": "EdgeZone",
"name": "edgeZone0"
},
"parameters": {
"location": "eastus2euap",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"subscriptionId": "subId",
"resourceGroupName": "rg1",
"serviceName": "testPls",
"extendedLocation": {
"type": "EdgeZone",
"name": "edgeZone0"
},
"parameters": {
"location": "eastus",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"properties": {
"publicIPAllocationMethod": "Static",
"idleTimeoutInMinutes": 10,
"publicIPAddressVersion": "IPv4",
"edgeZone": "edgeZone0"
"publicIPAddressVersion": "IPv4"
},
"sku": {
"name": "Standard",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"parameters": {
"location": "westus",
"properties": {
"edgeZone": "edgeZone0",
"publicIPAddressVersion": "IPv4",
"prefixLength": 30
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"addressPrefixes": [
"10.0.0.0/16"
]
},
"edgeZone": "edgeZone0"
}
},
"location": "eastus"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2100,10 +2100,6 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the load balancer resource."
},
"edgeZone": {
"type": "string",
"description": "The edge zone of the load balancer."
}
},
"description": "Properties of the load balancer."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1153,10 +1153,6 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the network interface resource."
},
"edgeZone": {
"type": "string",
"description": "The edge zone of the network interface."
}
},
"description": "NetworkInterface properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,10 @@
"definitions": {
"PrivateEndpoint": {
"properties": {
"extendedLocation": {
"$ref": "./network.json#/definitions/ExtendedLocation",
"description": "The extended location of the load balancer."
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/PrivateEndpointProperties",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,10 @@
"definitions": {
"PrivateLinkService": {
"properties": {
"extendedLocation": {
"$ref": "./network.json#/definitions/ExtendedLocation",
"description": "The extended location of the load balancer."
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/PrivateLinkServiceProperties",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,6 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the public IP address resource."
},
"edgeZone": {
"type": "string",
"description": "The edge zone of the public IP address."
}
},
"description": "Public IP address properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,6 @@
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the public IP prefix resource."
},
"edgeZone": {
"type": "string",
"description": "The edge zone of the public IP prefix."
}
},
"description": "Public IP prefix properties."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1752,10 +1752,6 @@
"$ref": "./network.json#/definitions/SubResource"
},
"description": "Array of IpAllocation which reference this VNET."
},
"edgeZone": {
"type": "string",
"description": "The edge zone of the virtual network."
}
},
"description": "Properties of the virtual network."
Expand Down

0 comments on commit 6f0cd18

Please sign in to comment.