DataCollectionRule Class

Definition

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

public class DataCollectionRule
type DataCollectionRule = class
Public Class DataCollectionRule
Inheritance
DataCollectionRule

Constructors

DataCollectionRule()

Initializes a new instance of the DataCollectionRule class.

DataCollectionRule(String, String, String, DataCollectionRuleMetadata, IDictionary<String,StreamDeclaration>, DataCollectionRuleDataSources, DataCollectionRuleDestinations, IList<DataFlow>, String)

Initializes a new instance of the DataCollectionRule class.

Properties

DataCollectionEndpointId

Gets or sets the resource ID of the data collection endpoint that this rule can be used with.

DataFlows

Gets or sets the specification of data flows.

DataSources

Gets or sets 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.

Description

Gets or sets description of the data collection rule.

Destinations

Gets or sets the specification of destinations.

ImmutableId

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

Metadata

Gets metadata about the resource

ProvisioningState

Gets the resource provisioning state. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed'

StreamDeclarations

Gets or sets declaration of custom streams used in this rule.

Applies to