Share via


DataCollectionRuleData Class

Definition

A class representing the DataCollectionRule data model. Definition of ARM tracked top level resource.

public class DataCollectionRuleData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.DataCollectionRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.DataCollectionRuleData>
public class DataCollectionRuleData : Azure.ResourceManager.Models.TrackedResourceData
type DataCollectionRuleData = class
    inherit TrackedResourceData
    interface IJsonModel<DataCollectionRuleData>
    interface IPersistableModel<DataCollectionRuleData>
type DataCollectionRuleData = class
    inherit TrackedResourceData
Public Class DataCollectionRuleData
Inherits TrackedResourceData
Implements IJsonModel(Of DataCollectionRuleData), IPersistableModel(Of DataCollectionRuleData)
Public Class DataCollectionRuleData
Inherits TrackedResourceData
Inheritance
DataCollectionRuleData
Implements

Constructors

DataCollectionRuleData(AzureLocation)

Initializes a new instance of DataCollectionRuleData.

Properties

DataCollectionEndpointId

The resource ID of the data collection endpoint that this rule can be used with.

DataFlows

The specification of data flows.

DataSources

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

Description of the data collection rule.

Destinations

The specification of destinations.

ETag

Resource entity tag (ETag).

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

Managed service identity of the resource.

ImmutableId

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

Kind

The kind of the resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Metadata

Metadata about the resource.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The resource provisioning state.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
StreamDeclarations

Declaration of custom streams used in this rule.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<DataCollectionRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataCollectionRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataCollectionRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataCollectionRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataCollectionRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to