Skip to content

Commit 01e6234

Browse files
{Compute} az vm create: Update help message for --public-ip-address (#26563)
Submitting request here as suggested in below pull request: #26350 (review)
1 parent 13fd369 commit 01e6234

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/azure-cli/azure/cli/command_modules/vm

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ def load_arguments(self, _):
10591059
c.argument('subnet_address_prefix', help='The subnet IP address prefix to use when creating a new VNet in CIDR format.')
10601060
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.')
10611061
c.argument('private_ip_address', help='Static private IP address (e.g. 10.0.0.5).')
1062-
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).')
1062+
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 "")')
10631063
c.argument('public_ip_address_allocation', help=None, default=None, arg_type=get_enum_type(['dynamic', 'static']))
10641064
c.argument('public_ip_address_dns_name', help='Globally unique DNS name for a newly created public IP.')
10651065
if self.supported_api_version(min_api='2017-08-01', resource_type=ResourceType.MGMT_NETWORK):

0 commit comments

Comments
 (0)