ArmMonitorModelFactory.DataCollectionRuleData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
The kind of the resource.
- identity
- ManagedServiceIdentity
Managed service identity of the resource.
- description
- String
Description of the data collection rule.
- immutableId
- String
The immutable ID of this data collection rule. This property is READ-ONLY.
- dataCollectionEndpointId
- ResourceIdentifier
The resource ID of the data collection endpoint that this rule can be used with.
- metadata
- DataCollectionRuleMetadata
Metadata about the resource.
- streamDeclarations
- IDictionary<String,DataStreamDeclaration>
Declaration of custom streams used in this rule.
- dataSources
- DataCollectionRuleDataSources
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.
- destinations
- DataCollectionRuleDestinations
The specification of destinations.
- dataFlows
- IEnumerable<DataFlow>
The specification of data flows.
- provisioningState
- Nullable<DataCollectionRuleProvisioningState>
The resource provisioning state.
Returns
A new DataCollectionRuleData instance for mocking.