IVirtualMachineImages.GetImageAsync Method

Definition

Overloads

GetImageAsync(Region, String, String, String, String, CancellationToken)

Gets a virtual machine image.

GetImageAsync(String, String, String, String, String, CancellationToken)

Gets a virtual machine image.

GetImageAsync(Region, String, String, String, String, CancellationToken)

Gets a virtual machine image.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage> GetImageAsync (Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region region, string publisherName, string offerName, string skuName, string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImageAsync : Microsoft.Azure.Management.ResourceManager.Fluent.Core.Region * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage>
Public Function GetImageAsync (region As Region, publisherName As String, offerName As String, skuName As String, version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IVirtualMachineImage)

Parameters

region
Region

The region.

publisherName
System.String

Publisher name.

offerName
System.String

Offer name.

skuName
System.String

SKU name.

version
System.String

Version name.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IVirtualMachineImage>

Applies to

GetImageAsync(String, String, String, String, String, CancellationToken)

Gets a virtual machine image.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage> GetImageAsync (string region, string publisherName, string offerName, string skuName, string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImageAsync : string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImage>
Public Function GetImageAsync (region As String, publisherName As String, offerName As String, skuName As String, version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IVirtualMachineImage)

Parameters

region
System.String

The region.

publisherName
System.String

Publisher name.

offerName
System.String

Offer name.

skuName
System.String

SKU name.

version
System.String

Version name.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IVirtualMachineImage>

Applies to