Freigeben über


PrivateStoreCollectionInfoResource.GetPrivateStoreCollectionOffersByContexts Methode

Definition

Rufen Sie eine Liste aller Angebote in der angegebenen Auflistung gemäß den erforderlichen Kontexten ab.

  • Anforderungspfad/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/mapOffersToContexts
  • Vorgangs-IdPrivateStoreCollectionOffer_ListByContexts
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)

Parameter

payload
CollectionOffersByAllContextsPayload

Die zu verwendende CollectionOffersByAllContextsPayload.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von CollectionOffersByContext , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: