public final class FirewallPolicyInsights extends Object
| Constructor and Description |
|---|
FirewallPolicyInsights() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
isEnabled()
Get the isEnabled property: A flag to indicate if the insights are enabled on the policy.
|
FirewallPolicyLogAnalyticsResources |
logAnalyticsResources()
Get the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.
|
Integer |
retentionDays()
Get the retentionDays property: Number of days the insights should be enabled on the policy.
|
void |
validate()
Validates the instance.
|
FirewallPolicyInsights |
withIsEnabled(Boolean isEnabled)
Set the isEnabled property: A flag to indicate if the insights are enabled on the policy.
|
FirewallPolicyInsights |
withLogAnalyticsResources(FirewallPolicyLogAnalyticsResources logAnalyticsResources)
Set the logAnalyticsResources property: Workspaces needed to configure the Firewall Policy Insights.
|
FirewallPolicyInsights |
withRetentionDays(Integer retentionDays)
Set the retentionDays property: Number of days the insights should be enabled on the policy.
|
public Boolean isEnabled()
public FirewallPolicyInsights withIsEnabled(Boolean isEnabled)
isEnabled - the isEnabled value to set.public Integer retentionDays()
public FirewallPolicyInsights withRetentionDays(Integer retentionDays)
retentionDays - the retentionDays value to set.public FirewallPolicyLogAnalyticsResources logAnalyticsResources()
public FirewallPolicyInsights withLogAnalyticsResources(FirewallPolicyLogAnalyticsResources logAnalyticsResources)
logAnalyticsResources - the logAnalyticsResources value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.