DataCollection クラス
Web サービスのデータ収集構成を定義します。
DataCollection オブジェクトを初期化します。
コンストラクター
DataCollection(event_hub_enabled, storage_enabled)
パラメーター
| 名前 | 説明 |
|---|---|
|
event_hub_enabled
必須
|
イベント ハブが Web サービスに対して有効になっているかどうか |
|
storage_enabled
必須
|
Web サービスに対してデータ収集ストレージが有効になっているかどうか |
|
event_hub_enabled
必須
|
イベント ハブが Web サービスに対して有効になっているかどうか |
|
storage_enabled
必須
|
Web サービスに対してデータ収集ストレージが有効になっているかどうか |
変数
| 名前 | 説明 |
|---|---|
|
event_hub_enabled
|
イベント ハブが Web サービスに対して有効になっているかどうかを示します。 |
|
storage_enabled
|
Web サービスに対してデータ収集ストレージが有効かどうかを示します。 |
メソッド
| deserialize |
JSON オブジェクトを DataCollection オブジェクトに変換します。 |
| serialize |
この DataCollection オブジェクトを JSON シリアル化ディクショナリに変換します。 |
deserialize
JSON オブジェクトを DataCollection オブジェクトに変換します。
static deserialize(payload_obj)
パラメーター
| 名前 | 説明 |
|---|---|
|
payload_obj
必須
|
DataCollection オブジェクトに変換する JSON オブジェクト。 |
戻り値
| 型 | 説明 |
|---|---|
|
指定された JSON オブジェクトの DataCollection 表現。 |
serialize
この DataCollection オブジェクトを JSON シリアル化ディクショナリに変換します。
serialize()
戻り値
| 型 | 説明 |
|---|---|
|
この DataCollection の JSON 表現。 |