Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
379 stars 1.19k forks source link

Correction needed in example provided to create cloud services #3228

Open ajay-aravind opened 3 years ago

ajay-aravind commented 3 years ago

Extension name (the extension in question)

cloud-service

Description of issue (in as much detail as possible)

PS C:\Users\ajreddy> az cloud-service create -h .. ..

Examples Create a cloud service with 2 roles, 2 load balancers (one has a public IP and another has a private IP), secrets and extensions. az cloud-service create -g ResourceGroup -n CloudService --roles ContosoFrontend:Standard_D1_v2:1:Standard ContosoBackend:Standard_D1_v2:1:Standard --package-url PackageURL --configuration Config --load-balancer-configurations MyLoadBalancer:MyFe:PublicIP:: MyLoadBalancer2:MyFe2::SubnetIDd:PrivateIPID --secrets Vault0:Cert0:Cert1 Vault1:Cert2:Cert3:Cert4 --extensions "@extensions.json" For more specific examples, use: az find "az cloud-service create" Please let us know how we are doing: https://aka.ms/azureclihats

In above example it is not very clear in case user wants to specify a internal load balancer, there is a typo in the “subnetIDd” and the command is working if I give private ip address itself , eg: 172.16.0.0.8, but the help mentioned “PrivateIPID”, I don’t think privateIP’s will have an ID, atleast not before they get created.


yungezz commented 3 years ago

cloud service testing feedback