共用方式為


ArmMarketplaceModelFactory.PrivateStoreCollectionInfoData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

collectionId
Nullable<Guid>

Gets collection Id.

collectionName
String

Gets or sets collection name.

claim
String

Gets or sets the association with Commercial's Billing Account.

areAllSubscriptionsSelected
Nullable<Boolean>

Indicating whether all subscriptions are selected (=true) or not (=false).

areAllItemsApproved
Nullable<Boolean>

Indicating whether all items are approved for this collection (=true) or not (=false).

approveAllItemsModifiedOn
Nullable<DateTimeOffset>

Gets the modified date of all items approved.

subscriptionsList
IEnumerable<String>

Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request.

isEnabled
Nullable<Boolean>

Indicating whether the collection is enabled or disabled.

numberOfOffers
Nullable<Int64>

Gets the number of offers associated with the collection.

appliedRules
IEnumerable<MarketplaceRule>

Gets list of collection rules.

Returns

A new PrivateStoreCollectionInfoData instance for mocking.

Applies to