Partilhar via


PrivateStoreCollectionInfoResource.GetPrivateStoreCollectionOffersByContextsAsync Método

Definição

Obtenha uma lista de todas as ofertas na coleção fornecida de acordo com os contextos necessários.

  • Caminho da Solicitação/provedores/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/mapOffersToContexts
  • Operação IdPrivateStoreCollectionOffer_ListByContexts
public virtual Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext> GetPrivateStoreCollectionOffersByContextsAsync (Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload payload = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateStoreCollectionOffersByContextsAsync : Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext>
override this.GetPrivateStoreCollectionOffersByContextsAsync : Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext>
Public Overridable Function GetPrivateStoreCollectionOffersByContextsAsync (Optional payload As CollectionOffersByAllContextsPayload = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CollectionOffersByContext)

Parâmetros

payload
CollectionOffersByAllContextsPayload

O CollectionOffersByAllContextsPayload a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção assíncrona de CollectionOffersByContext que pode levar várias solicitações de serviço para iterar.

Aplica-se a