Udostępnij za pośrednictwem


VirtualMachineImagesOperationsExtensions.ListPublishersAsync Method

Definition

Gets a list of virtual machine image publishers for the specified Azure location.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageResourceInner>> ListPublishersAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImagesOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListPublishersAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImagesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageResourceInner>>
<Extension()>
Public Function ListPublishersAsync (operations As IVirtualMachineImagesOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of VirtualMachineImageResourceInner))

Parameters

operations
IVirtualMachineImagesOperations

The operations group for this extension method.

location
String

The name of a supported Azure region.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to