Udostępnij za pośrednictwem


ImagesOperationsExtensions.ListByResourceGroupAsync Method

Definition

Gets the list of images under a resource group.

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

Parameters

operations
IImagesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to