共用方式為


ImagesOperationsExtensions.GetAsync Method

Definition

Gets an image.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Image> GetAsync (this Microsoft.Azure.Management.Compute.IImagesOperations operations, string resourceGroupName, string imageName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.IImagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.Image>
<Extension()>
Public Function GetAsync (operations As IImagesOperations, resourceGroupName As String, imageName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Image)

Parameters

operations
IImagesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

imageName
String

The name of the image.

expand
String

The expand expression to apply on the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to