DataCollectionRule Constructors
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.
Overloads
DataCollectionRule() |
Initializes a new instance of the DataCollectionRule class. |
DataCollectionRule(String, String, String, DataCollectionRuleMetadata, IDictionary<String,StreamDeclaration>, DataCollectionRuleDataSources, DataCollectionRuleDestinations, IList<DataFlow>, String) |
Initializes a new instance of the DataCollectionRule class. |
DataCollectionRule()
Initializes a new instance of the DataCollectionRule class.
public DataCollectionRule ();
Public Sub New ()
Applies to
DataCollectionRule(String, String, String, DataCollectionRuleMetadata, IDictionary<String,StreamDeclaration>, DataCollectionRuleDataSources, DataCollectionRuleDestinations, IList<DataFlow>, String)
Initializes a new instance of the DataCollectionRule class.
public DataCollectionRule (string description = default, string immutableId = default, string dataCollectionEndpointId = default, Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleMetadata metadata = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Monitor.Models.StreamDeclaration> streamDeclarations = default, Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleDataSources dataSources = default, Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleDestinations destinations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.DataFlow> dataFlows = default, string provisioningState = default);
new Microsoft.Azure.Management.Monitor.Models.DataCollectionRule : string * string * string * Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleMetadata * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Monitor.Models.StreamDeclaration> * Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleDataSources * Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleDestinations * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.DataFlow> * string -> Microsoft.Azure.Management.Monitor.Models.DataCollectionRule
Public Sub New (Optional description As String = Nothing, Optional immutableId As String = Nothing, Optional dataCollectionEndpointId As String = Nothing, Optional metadata As DataCollectionRuleMetadata = Nothing, Optional streamDeclarations As IDictionary(Of String, StreamDeclaration) = Nothing, Optional dataSources As DataCollectionRuleDataSources = Nothing, Optional destinations As DataCollectionRuleDestinations = Nothing, Optional dataFlows As IList(Of DataFlow) = Nothing, Optional provisioningState As String = Nothing)
Parameters
- description
- String
Description of the data collection rule.
- immutableId
- String
The immutable ID of this data collection rule. This property is READ-ONLY.
- dataCollectionEndpointId
- String
The resource ID of the data collection endpoint that this rule can be used with.
- metadata
- DataCollectionRuleMetadata
Metadata about the resource
- streamDeclarations
- IDictionary<String,StreamDeclaration>
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.
- provisioningState
- String
The resource provisioning state. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed'
Applies to
Azure SDK for .NET