VirtualMachineImagesOperationsExtensions.ListOffersAsync 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 offers for the specified location and publisher.
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>> ListOffersAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations operations, string location, string publisherName, System.Threading.CancellationToken cancellationToken = default);
static member ListOffersAsync : Microsoft.Azure.Management.Compute.IVirtualMachineImagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource>>
<Extension()>
Public Function ListOffersAsync (operations As IVirtualMachineImagesOperations, location As String, publisherName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of VirtualMachineImageResource))
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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET