Skip to content

[Compute] Add optional parameter --EdgeZone to support extended locations #15988

@viananth

Description

@viananth

Resource Provider

Compute

Description of Feature or Work Requested

Add an “--EdgeZone” parameter for below cmds
Note: the underlying ARM property is called “extended locations”, and is intended to cover several types of extended locations including EdgeZone, among others. We do not want to directly reflect this into the cmdlets (by say, having --ExtendedLocationType and --ExtendedLocationName parameters). Instead, for cmdlets reflecting resources that can be created in edge zones, we prefer to offer a simple --EdgeZone parameter (this infers the extended location type, and the value is the extended location name).

Add optional parameter --EdgeZone to the following Az.Compute cmdlets:

az vm image 
az vm image list-offers  
az vm image list-skus 
az disk 
az image create        
az snapshot create 
az vm create   
az vmss create    


Add optional parameters "--ResourceType" & "--EdgeZone":
az vm list-skus 

Autocomplete support:
When --EdgeZone is used, tab completion should pull edgezones supported for the main region.

Minimum API Version Required

2020-06-01

Swagger Link

https://github.com/Azure/azure-rest-api-specs/blob/compute-2020-12/specification/compute/resource-manager/Microsoft.Compute/stable/2020-12-01/compute.json
Powershell FR: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/776

Target Date

December 2020

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions