WebApplicationFirewallPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. WebApplicationFirewallPolicyInner
- com.
- com.
- com.
public final class WebApplicationFirewallPolicyInner
extends Resource
Defines web application firewall policy.
Constructor Summary
Constructor | Description |
---|---|
WebApplicationFirewallPolicyInner() |
Creates an instance of Web |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Application |
applicationGateways()
Get the application |
List<Web |
customRules()
Get the custom |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
List<Sub |
httpListeners()
Get the http |
String |
id()
Get the id property: Resource ID. |
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 |
void |
validate()
Validates the instance. |
Web |
withCustomRules(List<WebApplicationFirewallCustomRule> customRules)
Set the custom |
Web |
withId(String id)
Set the id property: Resource ID. |
Web |
withLocation(String location) |
Web |
withManagedRules(ManagedRulesDefinition managedRules)
Set the managed |
Web |
withPolicySettings(PolicySettings policySettings)
Set the policy |
Web |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
WebApplicationFirewallPolicyInner
public WebApplicationFirewallPolicyInner()
Creates an instance of WebApplicationFirewallPolicyInner class.
Method Details
applicationGateways
public List
Get the applicationGateways property: A collection of references to application gateways.
Returns:
customRules
public List
Get the customRules property: The custom rules inside the policy.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
httpListeners
public List
Get the httpListeners property: A collection of references to application gateway http listeners.
Returns:
id
public String id()
Get the id property: Resource ID.
Overrides:
WebApplicationFirewallPolicyInner.id()Returns:
managedRules
public ManagedRulesDefinition managedRules()
Get the managedRules property: Describes the managedRules structure.
Returns:
pathBasedRules
public List
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:
validate
public void validate()
Validates the instance.
withCustomRules
public WebApplicationFirewallPolicyInner withCustomRules(List
Set the customRules property: The custom rules inside the policy.
Parameters:
Returns:
withId
public WebApplicationFirewallPolicyInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public WebApplicationFirewallPolicyInner withLocation(String location)
Overrides:
WebApplicationFirewallPolicyInner.withLocation(String location)Parameters:
withManagedRules
public WebApplicationFirewallPolicyInner withManagedRules(ManagedRulesDefinition managedRules)
Set the managedRules property: Describes the managedRules structure.
Parameters:
Returns:
withPolicySettings
public WebApplicationFirewallPolicyInner withPolicySettings(PolicySettings policySettings)
Set the policySettings property: The PolicySettings for policy.
Parameters:
Returns:
withTags
public WebApplicationFirewallPolicyInner withTags(Map
Overrides:
WebApplicationFirewallPolicyInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for