Skip to content

Add az network service-aliases list #11018

@jkhurana19

Description

@jkhurana19

Is your feature request related to a problem? Please describe.
Add CLI corresponding to the Add Get-AzAvailableServiceAliases work
https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/395
Azure/azure-powershell#10198

Describe the solution you'd like
We would want to have CLI support for the get aliases, please refer to the issue above, the corresponding work needs to be done for Azure CLI.

It would be something like:

az network service-aliases list

it can take -location and -resourcegroup as parameters. Please look at the rest api below.

Describe alternatives you've considered
We already have the rest api in swagger over here.

It was checked in as part of:
Azure/azure-rest-api-specs#7362
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2019-08-01/availableServiceAliases.json

Additional context
Please call the rest api in the swagger and expose the functionality of the rest api from cli.

Metadata

Metadata

Assignees

Labels

Networkaz network vnet/lb/nic/dns/etc...

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions