Skip to content

Commit 29598f1

Browse files
authored
[Compute] az vm/vmss create: Fix help message for --public-ip-address parameter (#30412)
1 parent 10bd6de commit 29598f1

File tree

1 file changed

+1
-1
lines changed
  • src/azure-cli/azure/cli/command_modules/vm

1 file changed

+1
-1
lines changed

src/azure-cli/azure/cli/command_modules/vm/_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ def load_arguments(self, _):
11361136
c.argument('subnet_address_prefix', help='The subnet IP address prefix to use when creating a new VNet in CIDR format.')
11371137
c.argument('nics', nargs='+', help='Names or IDs of existing NICs to attach to the VM. The first NIC will be designated as primary. If omitted, a new NIC will be created. If an existing NIC is specified, do not specify subnet, VNet, public IP or NSG.')
11381138
c.argument('private_ip_address', help='Static private IP address (e.g. 10.0.0.5).')
1139-
c.argument('public_ip_address', help='Name of the public IP address when creating one (default) or referencing an existing one. Can also reference an existing public IP by ID or specify "" for None (\'""\' in Azure CLI using PowerShell or --% operator). For Azure CLI using powershell core edition 7.3.4, specify '' or "" (--public-ip-address '' or --public-ip-address "")')
1139+
c.argument('public_ip_address', help='Name of the public IP address when creating one (default) or referencing an existing one. Can also reference an existing public IP by ID or specify "" or \'\' for None (\'""\' in Azure CLI using PowerShell).')
11401140
c.argument('public_ip_address_allocation', help=None, default=None, arg_type=get_enum_type(['dynamic', 'static']))
11411141
c.argument('public_ip_address_dns_name', help='Globally unique DNS name for a newly created public IP.')
11421142

0 commit comments

Comments
 (0)