Condividi tramite


IGalleryImage.GetVersionAsync(String, CancellationToken) Method

Definition

Retrieves information about an image version.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IGalleryImageVersion> GetVersionAsync (string versionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IGalleryImageVersion>
Public Function GetVersionAsync (versionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IGalleryImageVersion)

Parameters

versionName
String

The name of the image.

cancellationToken
CancellationToken

Returns

Applies to