DataCollection Class
Defines data collection configuration for an AksWebservice.
Intialize the DataCollection object.
- Inheritance
-
builtins.objectDataCollection
Constructor
DataCollection(event_hub_enabled, storage_enabled)
Parameters
Name | Description |
---|---|
event_hub_enabled
Required
|
Indicates whether event hub is enabled for the Webservice. |
storage_enabled
Required
|
Indicates whether data collection storage is enabled for the Webservice. |
event_hub_enabled
Required
|
Indicates whether event hub is enabled for the Webservice. |
storage_enabled
Required
|
Indicates whether data collection storage is enabled for the Webservice. |
Variables
Name | Description |
---|---|
event_hub_enabled
|
Indicates whether event hub is enabled for the Webservice. |
storage_enabled
|
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
Name | Description |
---|---|
payload_obj
Required
|
A JSON object to convert to a DataCollection object. |
Returns
Type | Description |
---|---|
The DataCollection representation of the provided JSON object. |
serialize
Convert this DataCollection into a JSON serialized dictionary.
serialize()
Returns
Type | Description |
---|---|
The JSON representation of this DataCollection object. |