你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PrivateStoreCollectionInfoResource.GetPrivateStoreCollectionOffersByContexts 方法

定义

根据所需的上下文获取给定集合中所有产品/服务的列表。

  • 请求路径/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/mapOffersToContexts
  • 操作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)

参数

payload
CollectionOffersByAllContextsPayload

要使用的 CollectionOffersByAllContextsPayload。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 CollectionOffersByContext ,可能需要多个服务请求才能循环访问。

适用于