Sprog

DataCollectionRuleData Class

Definition

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>
type DataCollectionRuleData = class
    inherit TrackedResourceData
    interface IJsonModel<DataCollectionRuleData>
    interface IPersistableModel<DataCollectionRuleData>
Public Class DataCollectionRuleData
Inherits TrackedResourceData
Implements IJsonModel(Of DataCollectionRuleData), IPersistableModel(Of DataCollectionRuleData)
Inheritance
DataCollectionRuleData
Implements

Constructors

Name Description
DataCollectionRuleData(AzureLocation)

Initializes a new instance of DataCollectionRuleData.

Properties

Name Description
AgentLogs

All the settings that are applicable to the logs agent (AMA).

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.

DirectDataSources

The specification of direct data sources. This property is optional and can be omitted.

Endpoints

Defines the ingestion endpoints to send data to via this rule.

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.

IngestionQuotasLogs

Gets the Logs.

Kind

The kind of the resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Metadata

Metadata about the resource.

MetadataProvisionedByResourceId

Resource Id of azure offering managing this resource on-behalf-of customer.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The resource provisioning state.

References

Defines all the references that may be used in other sections of the DCR.

ResourceType

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

(Inherited from ResourceData)
Sku

The SKU of the resource.

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)

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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