Partilhar via


PrivateStoreCollectionInfoResource.GetPrivateStoreCollectionOffersByContexts 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
  • IdPrivateStoreCollectionOffer_ListByContexts de operação
public virtual Azure.Pageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext> GetPrivateStoreCollectionOffersByContexts (Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload payload = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateStoreCollectionOffersByContexts : Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext>
override this.GetPrivateStoreCollectionOffersByContexts : Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext>
Public Overridable Function GetPrivateStoreCollectionOffersByContexts (Optional payload As CollectionOffersByAllContextsPayload = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CollectionOffersByContext)

Parâmetros

payload
CollectionOffersByAllContextsPayload

O CollectionOffersByAllContextsPayload a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

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

Aplica-se a