コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the FlowLogInformationInner class.
 /// </summary>
 /// <param name="targetResourceId">The ID of the resource to configure
 /// for flow logging.</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>
 public FlowLogInformationInner(string targetResourceId, string storageId, bool enabled, RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters))
 {
     TargetResourceId = targetResourceId;
     StorageId        = storageId;
     Enabled          = enabled;
     RetentionPolicy  = retentionPolicy;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the FlowLogInformationInner 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>
 public FlowLogInformationInner(string targetResourceId, string storageId, bool enabled, RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties))
 {
     TargetResourceId           = targetResourceId;
     StorageId                  = storageId;
     Enabled                    = enabled;
     RetentionPolicy            = retentionPolicy;
     FlowAnalyticsConfiguration = flowAnalyticsConfiguration;
     CustomInit();
 }