Skip to content

Commit

Permalink
Revert "Generated flowlogs related files"
Browse files Browse the repository at this point in the history
This reverts commit 4e7c8c0.
  • Loading branch information
Mansi Verma committed Jul 30, 2024
1 parent 4e7c8c0 commit 0b7db60
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 63 deletions.
16 changes: 1 addition & 15 deletions src/Network/Network.Management.Sdk/Generated/Models/FlowLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ public FlowLog()
/// <param name="storageId">ID of the storage account which is used to store the flow log.
/// </param>

/// <param name="enabledFilteringCriteria">Optional field to filter network traffic logs based on SrcIP, SrcPort,
/// DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </param>

/// <param name="enabled">Flag to enable/disable flow logging.
/// </param>

Expand All @@ -74,7 +69,7 @@ public FlowLog()

/// <param name="flowAnalyticsConfiguration">Parameters that define the configuration of traffic analytics.
/// </param>
public FlowLog(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string provisioningState = default(string), string targetResourceId = default(string), string targetResourceGuid = default(string), string storageId = default(string), string enabledFilteringCriteria = default(string), bool? enabled = default(bool?), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties))
public FlowLog(string id = default(string), string name = default(string), string type = default(string), string location = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string provisioningState = default(string), string targetResourceId = default(string), string targetResourceGuid = default(string), string storageId = default(string), bool? enabled = default(bool?), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties))

: base(id, name, type, location, tags)
{
Expand All @@ -84,7 +79,6 @@ public FlowLog()
this.TargetResourceId = targetResourceId;
this.TargetResourceGuid = targetResourceGuid;
this.StorageId = storageId;
this.EnabledFilteringCriteria = enabledFilteringCriteria;
this.Enabled = enabled;
this.RetentionPolicy = retentionPolicy;
this.Format = format;
Expand Down Expand Up @@ -136,14 +130,6 @@ public FlowLog()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.storageId")]
public string StorageId {get; set; }

/// <summary>
/// Gets or sets optional field to filter network traffic logs based on SrcIP,
/// SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.enabledFilteringCriteria")]
public string EnabledFilteringCriteria {get; set; }

/// <summary>
/// Gets or sets flag to enable/disable flow logging.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ public FlowLogInformation()
/// <param name="storageId">ID of the storage account which is used to store the flow log.
/// </param>

/// <param name="enabledFilteringCriteria">Optional field to filter network traffic logs based on SrcIP, SrcPort,
/// DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </param>

/// <param name="enabled">Flag to enable/disable flow logging.
/// </param>

Expand All @@ -52,14 +47,13 @@ public FlowLogInformation()

/// <param name="format">Parameters that define the flow log format.
/// </param>
public FlowLogInformation(string targetResourceId, string storageId, bool enabled, TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties), ManagedServiceIdentity identity = default(ManagedServiceIdentity), string enabledFilteringCriteria = default(string), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters))
public FlowLogInformation(string targetResourceId, string storageId, bool enabled, TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties), ManagedServiceIdentity identity = default(ManagedServiceIdentity), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters))

{
this.TargetResourceId = targetResourceId;
this.FlowAnalyticsConfiguration = flowAnalyticsConfiguration;
this.Identity = identity;
this.StorageId = storageId;
this.EnabledFilteringCriteria = enabledFilteringCriteria;
this.Enabled = enabled;
this.RetentionPolicy = retentionPolicy;
this.Format = format;
Expand Down Expand Up @@ -97,14 +91,6 @@ public FlowLogInformation()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.storageId")]
public string StorageId {get; set; }

/// <summary>
/// Gets or sets optional field to filter network traffic logs based on SrcIP,
/// SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.enabledFilteringCriteria")]
public string EnabledFilteringCriteria {get; set; }

/// <summary>
/// Gets or sets flag to enable/disable flow logging.
/// </summary>
Expand Down Expand Up @@ -144,7 +130,6 @@ public virtual void Validate()




}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ public FlowLogProperties()
/// <param name="storageId">ID of the storage account which is used to store the flow log.
/// </param>

/// <param name="enabledFilteringCriteria">Optional field to filter network traffic logs based on SrcIP, SrcPort,
/// DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </param>

/// <param name="enabled">Flag to enable/disable flow logging.
/// </param>

Expand All @@ -40,11 +35,10 @@ public FlowLogProperties()

/// <param name="format">Parameters that define the flow log format.
/// </param>
public FlowLogProperties(string storageId, bool enabled, string enabledFilteringCriteria = default(string), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters))
public FlowLogProperties(string storageId, bool enabled, RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters))

{
this.StorageId = storageId;
this.EnabledFilteringCriteria = enabledFilteringCriteria;
this.Enabled = enabled;
this.RetentionPolicy = retentionPolicy;
this.Format = format;
Expand All @@ -63,14 +57,6 @@ public FlowLogProperties()
[Newtonsoft.Json.JsonProperty(PropertyName = "storageId")]
public string StorageId {get; set; }

/// <summary>
/// Gets or sets optional field to filter network traffic logs based on SrcIP,
/// SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "enabledFilteringCriteria")]
public string EnabledFilteringCriteria {get; set; }

/// <summary>
/// Gets or sets flag to enable/disable flow logging.
/// </summary>
Expand Down Expand Up @@ -103,7 +89,6 @@ public virtual void Validate()




}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ public FlowLogPropertiesFormat()
/// <param name="storageId">ID of the storage account which is used to store the flow log.
/// </param>

/// <param name="enabledFilteringCriteria">Optional field to filter network traffic logs based on SrcIP, SrcPort,
/// DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </param>

/// <param name="enabled">Flag to enable/disable flow logging.
/// </param>

Expand All @@ -52,13 +47,12 @@ public FlowLogPropertiesFormat()

/// <param name="provisioningState">The provisioning state of the flow log.
/// Possible values include: &#39;Succeeded&#39;, &#39;Updating&#39;, &#39;Deleting&#39;, &#39;Failed&#39;</param>
public FlowLogPropertiesFormat(string targetResourceId, string storageId, string targetResourceGuid = default(string), string enabledFilteringCriteria = default(string), bool? enabled = default(bool?), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties), string provisioningState = default(string))
public FlowLogPropertiesFormat(string targetResourceId, string storageId, string targetResourceGuid = default(string), bool? enabled = default(bool?), RetentionPolicyParameters retentionPolicy = default(RetentionPolicyParameters), FlowLogFormatParameters format = default(FlowLogFormatParameters), TrafficAnalyticsProperties flowAnalyticsConfiguration = default(TrafficAnalyticsProperties), string provisioningState = default(string))

{
this.TargetResourceId = targetResourceId;
this.TargetResourceGuid = targetResourceGuid;
this.StorageId = storageId;
this.EnabledFilteringCriteria = enabledFilteringCriteria;
this.Enabled = enabled;
this.RetentionPolicy = retentionPolicy;
this.Format = format;
Expand Down Expand Up @@ -92,14 +86,6 @@ public FlowLogPropertiesFormat()
[Newtonsoft.Json.JsonProperty(PropertyName = "storageId")]
public string StorageId {get; set; }

/// <summary>
/// Gets or sets optional field to filter network traffic logs based on SrcIP,
/// SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not
/// specified, all network traffic will be logged.
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "enabledFilteringCriteria")]
public string EnabledFilteringCriteria {get; set; }

/// <summary>
/// Gets or sets flag to enable/disable flow logging.
/// </summary>
Expand Down Expand Up @@ -152,7 +138,6 @@ public virtual void Validate()




}
}
}

0 comments on commit 0b7db60

Please sign in to comment.