Freigeben über


ArmMonitorModelFactory.DataCollectionRuleData Methode

Definition

Initialisiert eine neue instance von DataCollectionRuleData.

public static Azure.ResourceManager.Monitor.DataCollectionRuleData DataCollectionRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Monitor.Models.DataCollectionRuleResourceKind? kind = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ETag? etag = default, string description = default, string immutableId = default, Azure.Core.ResourceIdentifier dataCollectionEndpointId = default, Azure.ResourceManager.Monitor.Models.DataCollectionRuleMetadata metadata = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Monitor.Models.DataStreamDeclaration> streamDeclarations = default, Azure.ResourceManager.Monitor.Models.DataCollectionRuleDataSources dataSources = default, Azure.ResourceManager.Monitor.Models.DataCollectionRuleDestinations destinations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.DataFlow> dataFlows = default, Azure.ResourceManager.Monitor.Models.DataCollectionRuleProvisioningState? provisioningState = default);
static member DataCollectionRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.Monitor.Models.DataCollectionRuleResourceKind> * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ETag> * string * string * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Monitor.Models.DataCollectionRuleMetadata * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Monitor.Models.DataStreamDeclaration> * Azure.ResourceManager.Monitor.Models.DataCollectionRuleDataSources * Azure.ResourceManager.Monitor.Models.DataCollectionRuleDestinations * seq<Azure.ResourceManager.Monitor.Models.DataFlow> * Nullable<Azure.ResourceManager.Monitor.Models.DataCollectionRuleProvisioningState> -> Azure.ResourceManager.Monitor.DataCollectionRuleData
Public Shared Function DataCollectionRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As Nullable(Of DataCollectionRuleResourceKind) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional description As String = Nothing, Optional immutableId As String = Nothing, Optional dataCollectionEndpointId As ResourceIdentifier = Nothing, Optional metadata As DataCollectionRuleMetadata = Nothing, Optional streamDeclarations As IDictionary(Of String, DataStreamDeclaration) = Nothing, Optional dataSources As DataCollectionRuleDataSources = Nothing, Optional destinations As DataCollectionRuleDestinations = Nothing, Optional dataFlows As IEnumerable(Of DataFlow) = Nothing, Optional provisioningState As Nullable(Of DataCollectionRuleProvisioningState) = Nothing) As DataCollectionRuleData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

kind
Nullable<DataCollectionRuleResourceKind>

Die Art der Ressource.

identity
ManagedServiceIdentity

Verwaltete Dienstidentität der Ressource.

etag
Nullable<ETag>

Ressourcenentitätstag (ETag).

description
String

Beschreibung der Datensammlungsregel.

immutableId
String

Die unveränderliche ID dieser Datensammlungsregel. Diese Eigenschaft ist SCHREIBGESCHÜTZT.

dataCollectionEndpointId
ResourceIdentifier

Die Ressourcen-ID des Datensammlungsendpunkts, mit dem diese Regel verwendet werden kann.

metadata
DataCollectionRuleMetadata

Metadaten zur Ressource.

streamDeclarations
IDictionary<String,DataStreamDeclaration>

Deklaration der benutzerdefinierten Datenströme, die in dieser Regel verwendet werden.

dataSources
DataCollectionRuleDataSources

Die Spezifikation der Datenquellen. Diese Eigenschaft ist optional und kann weggelassen werden, wenn die Regel über direkte Aufrufe des bereitgestellten Endpunkts verwendet werden soll.

destinations
DataCollectionRuleDestinations

Die Spezifikation der Ziele.

dataFlows
IEnumerable<DataFlow>

Die Spezifikation von Datenflüssen.

provisioningState
Nullable<DataCollectionRuleProvisioningState>

Der Ressourcenbereitstellungsstatus.

Gibt zurück

Eine neue DataCollectionRuleData instance zum Mocking.

Gilt für: