Condividi tramite


DataCollectionRuleResource Class

Definition

Definition of ARM tracked top level resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataCollectionRuleResourceTypeConverter))]
public class DataCollectionRuleResource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DataCollectionRuleResourceTypeConverter))>]
type DataCollectionRuleResource = class
    interface IDataCollectionRuleResource
    interface IJsonSerializable
Public Class DataCollectionRuleResource
Implements IDataCollectionRuleResource
Inheritance
DataCollectionRuleResource
Attributes
Implements

Constructors

DataCollectionRuleResource()

Creates an new DataCollectionRuleResource instance.

Properties

DataCollectionEndpointId

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

DataFlow

The specification of data flows.

DataSourceDataImportEventHubConsumerGroup

Event Hub consumer group name

DataSourceDataImportEventHubName

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

DataSourceDataImportEventHubStream

The stream to collect from EventHub

DataSourceExtension

The list of Azure VM extension data source configurations.

DataSourceIisLog

The list of IIS logs source configurations.

DataSourceLogFile

The list of Log files source configurations.

DataSourcePerformanceCounter

The list of performance counter data source configurations.

DataSourcePlatformTelemetry

The list of platform telemetry configurations

DataSourcePrometheusForwarder

The list of Prometheus forwarder data source configurations.

DataSourceSyslog

The list of Syslog data source configurations.

DataSourceWindowsEventLog

The list of Windows Event Log data source configurations.

DataSourceWindowsFirewallLog

The list of Windows Firewall logs source configurations.

Description

Description of the data collection rule.

DestinationAzureMonitorMetricName

A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.

DestinationEventHub

List of Event Hubs destinations.

DestinationEventHubsDirect

List of Event Hubs Direct destinations.

DestinationLogAnalytic

List of Log Analytics destinations.

DestinationMonitoringAccount

List of monitoring account destinations.

DestinationStorageAccount

List of storage accounts destinations.

DestinationStorageBlobsDirect

List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent.

DestinationStorageTablesDirect

List of Storage Table Direct destinations.

Etag

Resource entity tag (ETag).

Id

Fully qualified ID of the resource.

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

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.

MetadataProvisionedBy

Azure offering managing this resource on-behalf-of customer.

MetadataProvisionedByResourceId

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

Name

The name of the resource.

ProvisioningState

The resource provisioning state.

ResourceGroupName

Gets the resource group name

StreamDeclaration

Declaration of custom streams used in this rule.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataCollectionRuleResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataCollectionRuleResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDataCollectionRuleResource.

FromJsonString(String)

Creates a new instance of DataCollectionRuleResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataCollectionRuleResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to