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

ArmMarketplaceModelFactory.PrivateStoreCollectionInfoData 方法

定义

初始化 PrivateStoreCollectionInfoData 的新实例。

public static Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoData PrivateStoreCollectionInfoData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? collectionId = default, string collectionName = default, string claim = default, bool? areAllSubscriptionsSelected = default, bool? areAllItemsApproved = default, DateTimeOffset? approveAllItemsModifiedOn = default, System.Collections.Generic.IEnumerable<string> subscriptionsList = default, bool? isEnabled = default, long? numberOfOffers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Marketplace.Models.MarketplaceRule> appliedRules = default);
static member PrivateStoreCollectionInfoData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * string * string * Nullable<bool> * Nullable<bool> * Nullable<DateTimeOffset> * seq<string> * Nullable<bool> * Nullable<int64> * seq<Azure.ResourceManager.Marketplace.Models.MarketplaceRule> -> Azure.ResourceManager.Marketplace.PrivateStoreCollectionInfoData
Public Shared Function PrivateStoreCollectionInfoData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional collectionId As Nullable(Of Guid) = Nothing, Optional collectionName As String = Nothing, Optional claim As String = Nothing, Optional areAllSubscriptionsSelected As Nullable(Of Boolean) = Nothing, Optional areAllItemsApproved As Nullable(Of Boolean) = Nothing, Optional approveAllItemsModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional subscriptionsList As IEnumerable(Of String) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional numberOfOffers As Nullable(Of Long) = Nothing, Optional appliedRules As IEnumerable(Of MarketplaceRule) = Nothing) As PrivateStoreCollectionInfoData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

collectionId
Nullable<Guid>

获取集合 ID。

collectionName
String

获取或设置集合名称。

claim
String

获取或设置与商业版计费帐户的关联。

areAllSubscriptionsSelected
Nullable<Boolean>

指示是否选择所有订阅 (=true) (=false) 。

areAllItemsApproved
Nullable<Boolean>

指示是否批准此集合的所有项 (=true) (=false) 。

approveAllItemsModifiedOn
Nullable<DateTimeOffset>

获取已批准的所有项目的修改日期。

subscriptionsList
IEnumerable<String>

获取或设置订阅 ID 列表。 空列表指示已选择所有订阅,null 表示未完成更新,显式列表指示显式选择的订阅。 插入时,null 被视为错误请求。

isEnabled
Nullable<Boolean>

指示是启用还是禁用集合。

numberOfOffers
Nullable<Int64>

获取与集合关联的产品/服务的数量。

appliedRules
IEnumerable<MarketplaceRule>

获取集合规则的列表。

返回

用于模拟的新 PrivateStoreCollectionInfoData 实例。

适用于