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

ArmMarketplaceModelFactory.CollectionOffersByContext 方法

定义

初始化 CollectionOffersByContext 的新实例。

public static Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext CollectionOffersByContext (string context = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Marketplace.Models.PrivateStoreOfferResult> value = default);
static member CollectionOffersByContext : string * seq<Azure.ResourceManager.Marketplace.Models.PrivateStoreOfferResult> -> Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext
Public Shared Function CollectionOffersByContext (Optional context As String = Nothing, Optional value As IEnumerable(Of PrivateStoreOfferResult) = Nothing) As CollectionOffersByContext

参数

context
String

套餐的上下文,例如订阅 ID、租户 ID。

返回

用于模拟的新 CollectionOffersByContext 实例。

适用于