WebApplicationFirewallPoliciesClient Interface

Implements

public interface WebApplicationFirewallPoliciesClient
extends InnerSupportsGet<WebApplicationFirewallPolicyInner>, InnerSupportsListing<WebApplicationFirewallPolicyInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in WebApplicationFirewallPoliciesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String policyName)

Deletes Policy.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String policyName, Context context)

Deletes Policy.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String policyName)

Deletes Policy.

abstract WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)

Creates or update policy with specified rule set name within a resource group.

abstract Mono<WebApplicationFirewallPolicyInner> createOrUpdateAsync(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)

Creates or update policy with specified rule set name within a resource group.

abstract Response<WebApplicationFirewallPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters, Context context)

Creates or update policy with specified rule set name within a resource group.

abstract Mono<Response<WebApplicationFirewallPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)

Creates or update policy with specified rule set name within a resource group.

abstract void delete(String resourceGroupName, String policyName)

Deletes Policy.

abstract void delete(String resourceGroupName, String policyName, Context context)

Deletes Policy.

abstract Mono<Void> deleteAsync(String resourceGroupName, String policyName)

Deletes Policy.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String policyName)

Deletes Policy.

abstract WebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

abstract Mono<WebApplicationFirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

abstract Response<WebApplicationFirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String policyName, Context context)

Retrieve protection policy with specified name within a resource group.

abstract Mono<Response<WebApplicationFirewallPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

abstract PagedIterable<WebApplicationFirewallPolicyInner> list()

Gets all the WAF policies in a subscription.

abstract PagedIterable<WebApplicationFirewallPolicyInner> list(Context context)

Gets all the WAF policies in a subscription.

abstract PagedFlux<WebApplicationFirewallPolicyInner> listAsync()

Gets all the WAF policies in a subscription.

abstract PagedIterable<WebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName)

Lists all of the protection policies within a resource group.

abstract PagedIterable<WebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all of the protection policies within a resource group.

abstract PagedFlux<WebApplicationFirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName)

Lists all of the protection policies within a resource group.

Method Details

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String policyName)

Deletes Policy.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String policyName, Context context)

Deletes Policy.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<>,Void> beginDeleteAsync(String resourceGroupName, String policyName)

Deletes Policy.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)

Creates or update policy with specified rule set name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.
parameters - Policy to be created.

Returns:

defines web application firewall policy.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)

Creates or update policy with specified rule set name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.
parameters - Policy to be created.

Returns:

defines web application firewall policy on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters, Context context)

Creates or update policy with specified rule set name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.
parameters - Policy to be created.
context - The context to associate with this operation.

Returns:

defines web application firewall policy along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono<>> createOrUpdateWithResponseAsync(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)

Creates or update policy with specified rule set name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.
parameters - Policy to be created.

Returns:

defines web application firewall policy along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String policyName)

Deletes Policy.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

delete

public abstract void delete(String resourceGroupName, String policyName, Context context)

Deletes Policy.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String policyName)

Deletes Policy.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<><>>> deleteWithResponseAsync(String resourceGroupName, String policyName)

Deletes Policy.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract WebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

Returns:

defines web application firewall policy.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

Returns:

defines web application firewall policy on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String policyName, Context context)

Retrieve protection policy with specified name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.
context - The context to associate with this operation.

Returns:

defines web application firewall policy along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono<>> getByResourceGroupWithResponseAsync(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
policyName - The name of the policy.

Returns:

defines web application firewall policy along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets all the WAF policies in a subscription.

Returns:

all the WAF policies in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Gets all the WAF policies in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

all the WAF policies in a subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Gets all the WAF policies in a subscription.

Returns:

all the WAF policies in a subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all of the protection policies within a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

result of the request to list WebApplicationFirewallPolicies as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all of the protection policies within a resource group.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

result of the request to list WebApplicationFirewallPolicies as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all of the protection policies within a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

result of the request to list WebApplicationFirewallPolicies as paginated response with PagedFlux<T>.

Applies to