DataCollectionRuleResource 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
DataCollectionRuleResource() |
Initializes a new instance of the DataCollectionRuleResource class. |
DataCollectionRuleResource(String, String, String, String, DataCollectionRuleMetadata, IDictionary<String,StreamDeclaration>, DataCollectionRuleDataSources, DataCollectionRuleDestinations, IList<DataFlow>, String, IDictionary<String, String>, String, String, String, String, String, DataCollectionRuleResourceSystemData) |
Initializes a new instance of the DataCollectionRuleResource class. |
DataCollectionRuleResource()
Initializes a new instance of the DataCollectionRuleResource class.
public DataCollectionRuleResource ();
Public Sub New ()
Applies to
DataCollectionRuleResource(String, String, String, String, DataCollectionRuleMetadata, IDictionary<String,StreamDeclaration>, DataCollectionRuleDataSources, DataCollectionRuleDestinations, IList<DataFlow>, String, IDictionary<String, String>, String, String, String, String, String, DataCollectionRuleResourceSystemData)
Initializes a new instance of the DataCollectionRuleResource class.
public DataCollectionRuleResource (string location, 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, System.Collections.Generic.IDictionary<string,string> tags = default, string kind = default, string id = default, string name = default, string type = default, string etag = default, Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleResourceSystemData systemData = default);
new Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleResource : string * 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 * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleResourceSystemData -> Microsoft.Azure.Management.Monitor.Models.DataCollectionRuleResource
Public Sub New (location As String, 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, Optional tags As IDictionary(Of String, String) = Nothing, Optional kind As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional systemData As DataCollectionRuleResourceSystemData = Nothing)
Parameters
- location
- String
The geo-location where the resource lives.
- 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'
- tags
- IDictionary<String,String>
Resource tags.
- kind
- String
The kind of the resource. Possible values include: 'Linux', 'Windows'
- id
- String
Fully qualified ID of the resource.
- name
- String
The name of the resource.
- type
- String
The type of the resource.
- etag
- String
Resource entity tag (ETag).
- systemData
- DataCollectionRuleResourceSystemData
Metadata pertaining to creation and last modification of the resource.
Applies to
Azure SDK for .NET