VirtualMachineImagesOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageResourceInner>> ListAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImagesOperations operations, string location, string publisherName, string offer, string skus, string expand = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImagesOperations * string * string * string * string * string * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageResourceInner>>
<Extension()>
Public Function ListAsync (operations As IVirtualMachineImagesOperations, location As String, publisherName As String, offer As String, skus As String, Optional expand As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, 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.
- publisherName
- String
A valid image publisher.
- offer
- String
A valid image publisher offer.
- skus
- String
A valid image SKU.
- expand
- String
The expand expression to apply on the operation.
- orderby
- String
- cancellationToken
- CancellationToken
The cancellation token.