VirtualMachineImagesOperationsExtensions.List(IVirtualMachineImagesOperations, String, String, String, String, String, Nullable<Int32>, String) Method

Definition

Gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.

public static System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource> List (this Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations operations, string location, string publisherName, string offer, string skus, string expand = default, int? top = default, string orderby = default);
static member List : Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations * string * string * string * string * string * Nullable<int> * string -> System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>
<Extension()>
Public Function List (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) As IList(Of VirtualMachineImageResource)

Parameters

operations
IVirtualMachineImagesOperations

The operations group for this extension method.

location
System.String

The name of a supported Azure region.

publisherName
System.String

A valid image publisher.

offer
System.String

A valid image publisher offer.

skus
System.String

A valid image SKU.

expand
System.String

The expand expression to apply on the operation.

top
System.Nullable<System.Int32>
orderby
System.String

Returns

System.Collections.Generic.IList<VirtualMachineImageResource>

Applies to