VirtualMachineImagesOperationsExtensions.ListSkusAsync 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 virtual machine image SKUs for the specified location, publisher, and offer.
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageResourceInner>> ListSkusAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImagesOperations operations, string location, string publisherName, string offer, System.Threading.CancellationToken cancellationToken = default);
static member ListSkusAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineImagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageResourceInner>>
<Extension()>
Public Function ListSkusAsync (operations As IVirtualMachineImagesOperations, location As String, publisherName As String, offer 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.
- publisherName
- String
A valid image publisher.
- offer
- String
A valid image publisher offer.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET