DataCollection Class
Defines data collection configuration for an AksWebservice.
Intialize the DataCollection object.
- Inheritance
-
builtins.objectDataCollection
Constructor
DataCollection(event_hub_enabled, storage_enabled)
Parameters
- storage_enabled
- bool
Indicates whether data collection storage is enabled for the Webservice.
- storage_enabled
- bool
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for