DataCollectionRuleResource Class

Definition of ARM tracked top level resource.

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

All required parameters must be populated in order to send to Azure.

Inheritance
DataCollectionRuleResource

Constructor

DataCollectionRuleResource(*, location: str, tags: Optional[Dict[str, str]] = None, kind: Optional[Union[str, azure.mgmt.monitor.v2021_04_01.models._monitor_management_client_enums.KnownDataCollectionRuleResourceKind]] = None, 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

location
str

Required. The geo-location where the resource lives.

tags
dict[str, str]

A set of tags. Resource tags.

kind
str or <xref:$>(<xref:python-base-namespace>)KnownDataCollectionRuleResourceKind

The kind of the resource. Possible values include: "Linux", "Windows".

id
str

Fully qualified ID of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

etag
str

Resource entity tag (ETag).

system_data
<xref:$>(<xref:python-base-namespace>)DataCollectionRuleResourceSystemData

Metadata pertaining to creation and last modification of the resource.

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".