Skip to content

Commit

Permalink
added extended location to 5 entities. (#11000)
Browse files Browse the repository at this point in the history
* added extended location to 5 entities.

* Added period.

Co-authored-by: Mirza Sikander <mirsik@microsoft.com>
  • Loading branch information
MirzaSikander and MirzaSikander authored Oct 7, 2020
1 parent 474fdda commit 8075566
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2102,6 +2102,10 @@
},
"LoadBalancer": {
"properties": {
"extendedLocation": {
"$ref": "./network.json#/definitions/ExtendedLocation",
"description": "The extended location of the load balancer."
},
"sku": {
"$ref": "#/definitions/LoadBalancerSku",
"description": "The load balancer SKU."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,34 @@
"name": "IPVersion",
"modelAsString": true
}
},
"ExtendedLocationType": {
"type": "string",
"description": "The supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Network resources.",
"enum": [
"EdgeZone"
],
"x-ms-enum": {
"name": "ExtendedLocationTypes",
"modelAsString": true
}
},
"ExtendedLocation": {
"description": "ExtendedLocation complex type.",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"$ref": "#/definitions/ExtendedLocationType",
"description": "The type of the extended location."
}
},
"required": [
"name",
"type"
]
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,10 @@
},
"NetworkInterface": {
"properties": {
"extendedLocation": {
"$ref": "./network.json#/definitions/ExtendedLocation",
"description": "The extended location of the network interface."
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/NetworkInterfacePropertiesFormat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,10 @@
},
"PublicIPAddress": {
"properties": {
"extendedLocation": {
"$ref": "./network.json#/definitions/ExtendedLocation",
"description": "The extended location of the public ip address."
},
"sku": {
"$ref": "#/definitions/PublicIPAddressSku",
"description": "The public IP address SKU."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@
},
"PublicIPPrefix": {
"properties": {
"extendedLocation": {
"$ref": "./network.json#/definitions/ExtendedLocation",
"description": "The extended location of the public ip address."
},
"sku": {
"$ref": "#/definitions/PublicIPPrefixSku",
"description": "The public IP prefix SKU."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,10 @@
},
"VirtualNetwork": {
"properties": {
"extendedLocation": {
"$ref": "./network.json#/definitions/ExtendedLocation",
"description": "The extended location of the virtual network."
},
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/VirtualNetworkPropertiesFormat",
Expand Down

0 comments on commit 8075566

Please sign in to comment.