次の方法で共有


Collection コンストラクター

定義

オーバーロード

Collection()

Collection クラスの新しいインスタンスを初期化します。

Collection(String, String, String, SystemData, String, String, String, Nullable<Boolean>, IList<String>, Nullable<Boolean>, Nullable<Int64>)

Collection クラスの新しいインスタンスを初期化します。

Collection()

Collection クラスの新しいインスタンスを初期化します。

public Collection ();
Public Sub New ()

適用対象

Collection(String, String, String, SystemData, String, String, String, Nullable<Boolean>, IList<String>, Nullable<Boolean>, Nullable<Int64>)

Collection クラスの新しいインスタンスを初期化します。

public Collection (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Marketplace.Models.SystemData systemData = default, string collectionId = default, string collectionName = default, string claim = default, bool? allSubscriptions = default, System.Collections.Generic.IList<string> subscriptionsList = default, bool? enabled = default, long? numberOfOffers = default);
new Microsoft.Azure.Management.Marketplace.Models.Collection : string * string * string * Microsoft.Azure.Management.Marketplace.Models.SystemData * string * string * string * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<int64> -> Microsoft.Azure.Management.Marketplace.Models.Collection
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional collectionId As String = Nothing, Optional collectionName As String = Nothing, Optional claim As String = Nothing, Optional allSubscriptions As Nullable(Of Boolean) = Nothing, Optional subscriptionsList As IList(Of String) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional numberOfOffers As Nullable(Of Long) = Nothing)

パラメーター

id
String

リソース ID。

name
String

リソースの名前。

type
String

リソースの型。

systemData
SystemData

リソースの作成と最後の変更に関するメタデータ

collectionId
String

コレクション ID を取得します。

collectionName
String

コレクション名を取得または設定します。

claim
String

コマーシャルの課金アカウントとの関連付けを取得または設定します。

allSubscriptions
Nullable<Boolean>

すべてのサブスクリプションが選択されているかどうかを示す (=true) か、そうでないか (=false)。

subscriptionsList
IList<String>

サブスクリプション ID リストを取得または設定します。 空のリストは、すべてのサブスクリプションが選択されていることを示し、null は更新が行われないことを示し、明示的なリストは明示的に選択されたサブスクリプションを示します。 挿入時に、null は無効な要求と見なされます

enabled
Nullable<Boolean>

コレクションが有効か無効かを示します。

numberOfOffers
Nullable<Int64>

コレクションに関連付けられているオファーの数を取得します。

適用対象