Azure / Azure/azure-cli-extensions

Correction needed in example provided to create cloud services

Open
#3,228 1 comment 0 reactions 1 assignee Claimed by @qwordy View on GitHub
Cloud Service extended support question
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

- If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at [Azure/azure-cli](https://github.com/Azure/azure-cli/issues)

### 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.

-----

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.