FirewallPolicyInsights Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. FirewallPolicyInsights
- com.
Implements
public final class FirewallPolicyInsights
implements JsonSerializable<FirewallPolicyInsights>
Firewall Policy Insights.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyInsights() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
Boolean |
isEnabled()
Get the is |
Firewall |
logAnalyticsResources()
Get the log |
Integer |
retentionDays()
Get the retention |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Firewall |
withIsEnabled(Boolean isEnabled)
Set the is |
Firewall |
withLogAnalyticsResources(FirewallPolicyLogAnalyticsResources logAnalyticsResources)
Set the log |
Firewall |
withRetentionDays(Integer retentionDays)
Set the retention |
Methods inherited from java.lang.Object
Constructor Details
FirewallPolicyInsights
public FirewallPolicyInsights()
Creates an instance of FirewallPolicyInsights class.
Method Details
fromJson
public static FirewallPolicyInsights fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyInsights from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: A flag to indicate if the insights are enabled on the policy.
Returns:
logAnalyticsResources
public FirewallPolicyLogAnalyticsResources logAnalyticsResources()
Get the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.
Returns:
retentionDays
public Integer retentionDays()
Get the retentionDays property: Number of days the insights should be enabled on the policy.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIsEnabled
public FirewallPolicyInsights withIsEnabled(Boolean isEnabled)
Set the isEnabled property: A flag to indicate if the insights are enabled on the policy.
Parameters:
Returns:
withLogAnalyticsResources
public FirewallPolicyInsights withLogAnalyticsResources(FirewallPolicyLogAnalyticsResources logAnalyticsResources)
Set the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.
Parameters:
Returns:
withRetentionDays
public FirewallPolicyInsights withRetentionDays(Integer retentionDays)
Set the retentionDays property: Number of days the insights should be enabled on the policy.
Parameters:
Returns:
Applies to
Azure SDK for Java