Compartir a través de


PrivateStoreCollectionInfoResource.GetPrivateStoreCollectionOffersByContextsAsync Método

Definición

Obtenga una lista de todas las ofertas de la colección especificada según los contextos necesarios.

  • Ruta de acceso de solicitud/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/mapOffersToContexts
  • IdPrivateStoreCollectionOffer_ListByContexts de operaciones
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

CollectionOffersByAllContextsPayload que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de CollectionOffersByContext que puede tomar varias solicitudes de servicio para iterar.

Se aplica a