Dela via


ImagesOperationsExtensions.GetAsync Method

Definition

Gets an image.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner> GetAsync (this Microsoft.Azure.Management.Compute.Fluent.IImagesOperations operations, string resourceGroupName, string imageName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.Fluent.IImagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.ImageInner>
<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 ImageInner)

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