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 |
applicationGatewayForContainers()
Get the application |
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. |
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
List<Sub |
httpListeners()
Get the http |
String |
id()
Get the id property: Resource ID. |
Managed |
managedRules()
Get the managed |
String |
name()
Get the name property: The name of the resource. |
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) |
String |
type()
Get the type property: The type of 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
applicationGatewayForContainers
public List
Get the applicationGatewayForContainers property: A collection of references to application gateway for containers.
Returns:
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:
fromJson
public static WebApplicationFirewallPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of WebApplicationFirewallPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
WebApplicationFirewallPolicyInner.name()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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WebApplicationFirewallPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
WebApplicationFirewallPolicyInner.type()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