/// <summary> /// Initializes a new instance of the DataCollectionRule class. /// </summary> /// <param name="description">Description of the data collection /// rule.</param> /// <param name="immutableId">The immutable ID of this data collection /// rule. This property is READ-ONLY.</param> /// <param name="dataCollectionEndpointId">The resource ID of the data /// collection endpoint that this rule can be used with.</param> /// <param name="metadata">Metadata about the resource</param> /// <param name="streamDeclarations">Declaration of custom streams used /// in this rule.</param> /// <param name="dataSources">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.</param> /// <param name="destinations">The specification of /// destinations.</param> /// <param name="dataFlows">The specification of data flows.</param> /// <param name="provisioningState">The resource provisioning state. /// Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Failed'</param> public DataCollectionRule(string description = default(string), string immutableId = default(string), string dataCollectionEndpointId = default(string), DataCollectionRuleMetadata metadata = default(DataCollectionRuleMetadata), IDictionary <string, StreamDeclaration> streamDeclarations = default(IDictionary <string, StreamDeclaration>), DataCollectionRuleDataSources dataSources = default(DataCollectionRuleDataSources), DataCollectionRuleDestinations destinations = default(DataCollectionRuleDestinations), IList <DataFlow> dataFlows = default(IList <DataFlow>), string provisioningState = default(string)) { Description = description; ImmutableId = immutableId; DataCollectionEndpointId = dataCollectionEndpointId; Metadata = metadata; StreamDeclarations = streamDeclarations; DataSources = dataSources; Destinations = destinations; DataFlows = dataFlows; ProvisioningState = provisioningState; CustomInit(); }
/// <summary> /// Initializes a new instance of the DataCollectionRuleResource class. /// </summary> /// <param name="location">The geo-location where the resource /// lives.</param> /// <param name="description">Description of the data collection /// rule.</param> /// <param name="immutableId">The immutable ID of this data collection /// rule. This property is READ-ONLY.</param> /// <param name="dataCollectionEndpointId">The resource ID of the data /// collection endpoint that this rule can be used with.</param> /// <param name="metadata">Metadata about the resource</param> /// <param name="streamDeclarations">Declaration of custom streams used /// in this rule.</param> /// <param name="dataSources">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.</param> /// <param name="destinations">The specification of /// destinations.</param> /// <param name="dataFlows">The specification of data flows.</param> /// <param name="provisioningState">The resource provisioning state. /// Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Failed'</param> /// <param name="tags">Resource tags.</param> /// <param name="kind">The kind of the resource. Possible values /// include: 'Linux', 'Windows'</param> /// <param name="id">Fully qualified ID of the resource.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="etag">Resource entity tag (ETag).</param> /// <param name="systemData">Metadata pertaining to creation and last /// modification of the resource.</param> public DataCollectionRuleResource(string location, string description = default(string), string immutableId = default(string), string dataCollectionEndpointId = default(string), DataCollectionRuleMetadata metadata = default(DataCollectionRuleMetadata), IDictionary <string, StreamDeclaration> streamDeclarations = default(IDictionary <string, StreamDeclaration>), DataCollectionRuleDataSources dataSources = default(DataCollectionRuleDataSources), DataCollectionRuleDestinations destinations = default(DataCollectionRuleDestinations), IList <DataFlow> dataFlows = default(IList <DataFlow>), string provisioningState = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string kind = default(string), string id = default(string), string name = default(string), string type = default(string), string etag = default(string), DataCollectionRuleResourceSystemData systemData = default(DataCollectionRuleResourceSystemData)) { Description = description; ImmutableId = immutableId; DataCollectionEndpointId = dataCollectionEndpointId; Metadata = metadata; StreamDeclarations = streamDeclarations; DataSources = dataSources; Destinations = destinations; DataFlows = dataFlows; ProvisioningState = provisioningState; Location = location; Tags = tags; Kind = kind; Id = id; Name = name; Type = type; Etag = etag; SystemData = systemData; CustomInit(); }