/// <summary>
 /// Initializes a new instance of the FlowLogInformation class.
 /// </summary>
 /// <param name="targetResourceId">The ID of the resource to configure
 /// for flow log and traffic analytics (optional) .</param>
 /// <param name="storageId">ID of the storage account which is used to
 /// store the flow log.</param>
 /// <param name="enabled">Flag to enable/disable flow logging.</param>
 /// <param name="retentionPolicy">Parameters that define the retention
 /// policy for flow log.</param>
 /// <param name="format">Parameters that define the flow log
 /// format.</param>
 /// <param name="flowAnalyticsConfiguration">Parameters that define the
 /// configuration of traffic analytics.</param>
 public FlowLogInformation(string targetResourceId, string storageId, bool enabled, RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties))
 {
     TargetResourceId           = targetResourceId;
     StorageId                  = storageId;
     Enabled                    = enabled;
     RetentionPolicy            = retentionPolicy;
     Format                     = format;
     FlowAnalyticsConfiguration = flowAnalyticsConfiguration;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the FlowLog class.
 /// </summary>
 /// <param name="targetResourceId">ID of network security group to
 /// which flow log will be applied.</param>
 /// <param name="storageId">ID of the storage account which is used to
 /// store the flow log.</param>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="targetResourceGuid">Guid of network security group to
 /// which flow log will be applied.</param>
 /// <param name="enabled">Flag to enable/disable flow logging.</param>
 /// <param name="retentionPolicy">Parameters that define the retention
 /// policy for flow log.</param>
 /// <param name="format">Parameters that define the flow log
 /// format.</param>
 /// <param name="flowAnalyticsConfiguration">Parameters that define the
 /// configuration of traffic analytics.</param>
 /// <param name="provisioningState">The provisioning state of the flow
 /// log. Possible values include: 'Succeeded', 'Updating', 'Deleting',
 /// 'Failed'</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public FlowLog(string targetResourceId, string storageId, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string targetResourceGuid = default(string), bool?enabled = default(bool?), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     TargetResourceId           = targetResourceId;
     TargetResourceGuid         = targetResourceGuid;
     StorageId                  = storageId;
     Enabled                    = enabled;
     RetentionPolicy            = retentionPolicy;
     Format                     = format;
     FlowAnalyticsConfiguration = flowAnalyticsConfiguration;
     ProvisioningState          = provisioningState;
     Etag = etag;
     CustomInit();
 }