DataCollectionRule Class

Definition of what monitoring data to collect and where that data should be sent.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
DataCollectionRule

Constructor

DataCollectionRule(*, description: Optional[str] = None, data_sources: Optional[azure.mgmt.monitor.v2021_04_01.models._models_py3.DataCollectionRuleDataSources] = None, destinations: Optional[azure.mgmt.monitor.v2021_04_01.models._models_py3.DataCollectionRuleDestinations] = None, data_flows: Optional[List[azure.mgmt.monitor.v2021_04_01.models._models_py3.DataFlow]] = None, **kwargs)

Variables

description
str

Description of the data collection rule.

immutable_id
str

The immutable ID of this data collection rule. This property is READ-ONLY.

data_sources
<xref:$>(<xref:python-base-namespace>)DataCollectionRuleDataSources

The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.

destinations
<xref:$>(<xref:python-base-namespace>)DataCollectionRuleDestinations

The specification of destinations.

data_flows
list[<xref:$>(<xref:python-base-namespace>)DataFlow]

The specification of data flows.

provisioning_state
str or <xref:$>(<xref:python-base-namespace>)KnownDataCollectionRuleProvisioningState

The resource provisioning state. Possible values include: "Creating", "Updating", "Deleting", "Succeeded", "Failed".