Share via


VirtualMachineImagesEdgeZoneOperationsExtensions.GetAsync Method

Definition

Gets a virtual machine image in an edge zone.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineImage> GetAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineImagesEdgeZoneOperations operations, string location, string edgeZone, string publisherName, string offer, string skus, string version, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.IVirtualMachineImagesEdgeZoneOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineImage>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineImagesEdgeZoneOperations, location As String, edgeZone As String, publisherName As String, offer As String, skus As String, version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineImage)

Parameters

operations
IVirtualMachineImagesEdgeZoneOperations

The operations group for this extension method.

location
String

The name of a supported Azure region.

edgeZone
String

The name of the edge zone.

publisherName
String

A valid image publisher.

offer
String

A valid image publisher offer.

skus
String

A valid image SKU.

version
String

A valid image SKU version.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to