DataCollection Class

Defines data collection configuration for an AksWebservice.

Intialize the DataCollection object.

Inheritance
builtins.object
DataCollection

Constructor

DataCollection(event_hub_enabled, storage_enabled)

Parameters

event_hub_enabled
bool
Required

Indicates whether event hub is enabled for the Webservice.

storage_enabled
bool
Required

Indicates whether data collection storage is enabled for the Webservice.

event_hub_enabled
bool
Required

Indicates whether event hub is enabled for the Webservice.

storage_enabled
bool
Required

Indicates whether data collection storage is enabled for the Webservice.

Variables

event_hub_enabled
bool

Indicates whether event hub is enabled for the Webservice.

storage_enabled
bool

Indicates whether data collection storage is enabled for the Webservice.

Methods

deserialize

Convert a JSON object into a DataCollection object.

serialize

Convert this DataCollection into a JSON serialized dictionary.

deserialize

Convert a JSON object into a DataCollection object.

static deserialize(payload_obj)

Parameters

payload_obj
dict
Required

A JSON object to convert to a DataCollection object.

Returns

The DataCollection representation of the provided JSON object.

Return type

serialize

Convert this DataCollection into a JSON serialized dictionary.

serialize()

Returns

The JSON representation of this DataCollection object.

Return type