Class CdnWebApplicationFirewallPolicyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.cdn.fluent.models.CdnWebApplicationFirewallPolicyInner
public final class CdnWebApplicationFirewallPolicyInner
extends com.azure.core.management.Resource
Defines web application firewall policy for Azure CDN.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CdnWebApplicationFirewallPolicyInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customRules property: Describes custom rules inside the policy.Get the endpointLinks property: Describes Azure CDN endpoints associated with this Web Application Firewall policy.etag()Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.Get the extendedProperties property: Key-Value pair representing additional properties for Web Application Firewall policy.Get the managedRules property: Describes managed rules inside the policy.Get the policySettings property: Describes policySettings for policy.Get the provisioningState property: Provisioning state of the WebApplicationFirewallPolicy.Get the rateLimitRules property: Describes rate limit rules inside the policy.Get the resourceState property: Resource status of the policy.sku()Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.com.azure.core.management.SystemDataGet the systemData property: Read only system data.voidvalidate()Validates the instance.withCustomRules(CustomRuleList customRules) Set the customRules property: Describes custom rules inside the policy.Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.withExtendedProperties(Map<String, String> extendedProperties) Set the extendedProperties property: Key-Value pair representing additional properties for Web Application Firewall policy.withLocation(String location) withManagedRules(ManagedRuleSetList managedRules) Set the managedRules property: Describes managed rules inside the policy.withPolicySettings(PolicySettings policySettings) Set the policySettings property: Describes policySettings for policy.withRateLimitRules(RateLimitRuleList rateLimitRules) Set the rateLimitRules property: Describes rate limit rules inside the policy.Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CdnWebApplicationFirewallPolicyInner
public CdnWebApplicationFirewallPolicyInner()Creates an instance of CdnWebApplicationFirewallPolicyInner class.
-
-
Method Details
-
etag
Get the etag property: Gets a unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withEtag
Set the etag property: Gets a unique read-only string that changes whenever the resource is updated.- Parameters:
etag- the etag value to set.- Returns:
- the CdnWebApplicationFirewallPolicyInner object itself.
-
sku
Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.- Returns:
- the sku value.
-
withSku
Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.- Parameters:
sku- the sku value to set.- Returns:
- the CdnWebApplicationFirewallPolicyInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Read only system data.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
policySettings
Get the policySettings property: Describes policySettings for policy.- Returns:
- the policySettings value.
-
withPolicySettings
Set the policySettings property: Describes policySettings for policy.- Parameters:
policySettings- the policySettings value to set.- Returns:
- the CdnWebApplicationFirewallPolicyInner object itself.
-
rateLimitRules
Get the rateLimitRules property: Describes rate limit rules inside the policy.- Returns:
- the rateLimitRules value.
-
withRateLimitRules
Set the rateLimitRules property: Describes rate limit rules inside the policy.- Parameters:
rateLimitRules- the rateLimitRules value to set.- Returns:
- the CdnWebApplicationFirewallPolicyInner object itself.
-
customRules
Get the customRules property: Describes custom rules inside the policy.- Returns:
- the customRules value.
-
withCustomRules
Set the customRules property: Describes custom rules inside the policy.- Parameters:
customRules- the customRules value to set.- Returns:
- the CdnWebApplicationFirewallPolicyInner object itself.
-
managedRules
Get the managedRules property: Describes managed rules inside the policy.- Returns:
- the managedRules value.
-
withManagedRules
Set the managedRules property: Describes managed rules inside the policy.- Parameters:
managedRules- the managedRules value to set.- Returns:
- the CdnWebApplicationFirewallPolicyInner object itself.
-
endpointLinks
Get the endpointLinks property: Describes Azure CDN endpoints associated with this Web Application Firewall policy.- Returns:
- the endpointLinks value.
-
extendedProperties
Get the extendedProperties property: Key-Value pair representing additional properties for Web Application Firewall policy.- Returns:
- the extendedProperties value.
-
withExtendedProperties
public CdnWebApplicationFirewallPolicyInner withExtendedProperties(Map<String, String> extendedProperties) Set the extendedProperties property: Key-Value pair representing additional properties for Web Application Firewall policy.- Parameters:
extendedProperties- the extendedProperties value to set.- Returns:
- the CdnWebApplicationFirewallPolicyInner object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the WebApplicationFirewallPolicy.- Returns:
- the provisioningState value.
-
resourceState
Get the resourceState property: Resource status of the policy.- Returns:
- the resourceState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-