共用方式為


PrivateStoreCollectionOfferOperationsExtensions.ListAsync Method

Definition

Get a list of all private offers in the given private store and collection

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Marketplace.Models.Offer>> ListAsync (this Microsoft.Azure.Management.Marketplace.IPrivateStoreCollectionOfferOperations operations, string privateStoreId, string collectionId, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Marketplace.IPrivateStoreCollectionOfferOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Marketplace.Models.Offer>>
<Extension()>
Public Function ListAsync (operations As IPrivateStoreCollectionOfferOperations, privateStoreId As String, collectionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Offer))

Parameters

operations
IPrivateStoreCollectionOfferOperations

The operations group for this extension method.

privateStoreId
String

The store ID - must use the tenant ID

collectionId
String

The collection ID

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to