Skip to content

Commit

Permalink
[Network] az network lb create: Refine --frontend-ip-zone to supp…
Browse files Browse the repository at this point in the history
…ort multiple zones (#30639)
  • Loading branch information
Jing-song authored Jan 20, 2025
1 parent 4d6d480 commit c809352
Show file tree
Hide file tree
Showing 3 changed files with 1,088 additions and 186 deletions.
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/network/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def load_arguments(self, _):
c.argument('request', help='Query inbound NAT rule port mapping request.', action=AddMappingRequest, nargs='*')

with self.argument_context('network lb create') as c:
c.argument('frontend_ip_zone', zone_type, options_list=['--frontend-ip-zone'], help='used to create internal facing Load balancer')
c.argument('frontend_ip_zone', zones_type, options_list=['--frontend-ip-zone'], help='used to create internal facing Load balancer')
c.argument('validate', help='Generate and validate the ARM template without creating any resources.', action='store_true')
c.argument('sku', help='Load balancer SKU', arg_type=get_enum_type(['Basic', 'Gateway', 'Standard'], default='Standard'))
c.argument('edge_zone', edge_zone)
Expand Down
Loading

0 comments on commit c809352

Please sign in to comment.