-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Network} Network support extendedLocation #17623
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
Conversation
…-extendedlocation-2021-04-07
|
Network |
| help='Space-separated list of availability zones into which to provision the resource.', | ||
| choices=['1', '2', '3'] | ||
| ) | ||
| edge_zone = CLIArgumentType(help='The name of edge zone.', is_preview=True, min_api='2020-08-01') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could use this type for edge zone and add min_api version for your parameter
| edge_zone_type = CLIArgumentType(options_list='--edge-zone', help='The name of edge zone.', is_preview=True) |
| vnet_help = "Name or ID of an existing virtual network which has a subnet named 'GatewaySubnet'." | ||
| c.argument('virtual_network', options_list='--vnet', help=vnet_help) | ||
| c.argument('vpn_gateway_generation', arg_type=get_enum_type(['Generation1', 'Generation2']), min_api='2019-07-01', help='The generation for the virtual network gateway. vpn_gateway_generation should not be provided if gateway_type is not Vpn.') | ||
| c.ignore('edge_zone') # wait for service ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to expose this parameter as service not ready?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'az network vnet-gateway create' need new swagger : https://github.com/Azure/azure-rest-api-specs/pull/13864/files
(RE: virtualNetworkGateway missing extendedLocation in swagger)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is ignored. So customers could not use it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is ignored. So customers could not use it.
I think customer can see it in command help message. Why not expose it when service is ready?
Description
Similar link:
storage : #17528
compute: #17522
'az network vnet-gateway create' need new swagger : https://github.com/Azure/azure-rest-api-specs/pull/13864/files
(RE: virtualNetworkGateway missing extendedLocation in swagger)
Testing Guide
NetworkExtendedLocation
History Notes
[Network]
az network lb create: Add new parameter--edge-zone[Network]
az network nic create: Add new parameter--edge-zone[Network]
az network private-endpoint create: Add new parameter--edge-zone[Network]
az network private-link-service create: Add new parameter--edge-zone[Network]
az network public-ip create: Add new parameter--edge-zone[Network]
az network public-ip prefix create: Add new parameter--edge-zone[Network]
az network vnet create: Add new parameter--edge-zoneThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.