WebApplicationFirewallPolicyPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. WebApplicationFirewallPolicyPropertiesFormat
- com.
Implements
public final class WebApplicationFirewallPolicyPropertiesFormat
implements JsonSerializable<WebApplicationFirewallPolicyPropertiesFormat>
Defines web application firewall policy properties.
Constructor Summary
| Constructor | Description |
|---|---|
| WebApplicationFirewallPolicyPropertiesFormat() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Application |
applicationGatewayForContainers()
Get the application |
|
List<Application |
applicationGateways()
Get the application |
|
List<Web |
customRules()
Get the custom |
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
|
List<Sub |
httpListeners()
Get the http |
|
Managed |
managedRules()
Get the managed |
|
List<Sub |
pathBasedRules()
Get the path |
|
Policy |
policySettings()
Get the policy |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Web |
resourceState()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Web |
withCustomRules(List<WebApplicationFirewallCustomRule> customRules)
Set the custom |
|
Web |
withManagedRules(ManagedRulesDefinition managedRules)
Set the managed |
|
Web |
withPolicySettings(PolicySettings policySettings)
Set the policy |
Methods inherited from java.lang.Object
Constructor Details
WebApplicationFirewallPolicyPropertiesFormat
public WebApplicationFirewallPolicyPropertiesFormat()
Creates an instance of WebApplicationFirewallPolicyPropertiesFormat class.
Method Details
applicationGatewayForContainers
public List<ApplicationGatewayForContainersReferenceDefinition> applicationGatewayForContainers()
Get the applicationGatewayForContainers property: A collection of references to application gateway for containers.
Returns:
applicationGateways
public List<ApplicationGatewayInner> applicationGateways()
Get the applicationGateways property: A collection of references to application gateways.
Returns:
customRules
public List<WebApplicationFirewallCustomRule> customRules()
Get the customRules property: The custom rules inside the policy.
Returns:
fromJson
public static WebApplicationFirewallPolicyPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of WebApplicationFirewallPolicyPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
httpListeners
public List<SubResource> httpListeners()
Get the httpListeners property: A collection of references to application gateway http listeners.
Returns:
managedRules
public ManagedRulesDefinition managedRules()
Get the managedRules property: Describes the managedRules structure.
Returns:
pathBasedRules
public List<SubResource> pathBasedRules()
Get the pathBasedRules property: A collection of references to application gateway path rules.
Returns:
policySettings
public PolicySettings policySettings()
Get the policySettings property: The PolicySettings for policy.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the web application firewall policy resource.
Returns:
resourceState
public WebApplicationFirewallPolicyResourceState resourceState()
Get the resourceState property: Resource status of the policy.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCustomRules
public WebApplicationFirewallPolicyPropertiesFormat withCustomRules(List<WebApplicationFirewallCustomRule> customRules)
Set the customRules property: The custom rules inside the policy.
Parameters:
Returns:
withManagedRules
public WebApplicationFirewallPolicyPropertiesFormat withManagedRules(ManagedRulesDefinition managedRules)
Set the managedRules property: Describes the managedRules structure.
Parameters:
Returns:
withPolicySettings
public WebApplicationFirewallPolicyPropertiesFormat withPolicySettings(PolicySettings policySettings)
Set the policySettings property: The PolicySettings for policy.
Parameters:
Returns: