Partager via


PoliciesClient Interface

Implements

public interface PoliciesClient
extends InnerSupportsGet<CdnWebApplicationFirewallPolicyInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

abstract SyncPoller<PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, Context context)

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

abstract PollerFlux<PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

abstract SyncPoller<PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

abstract SyncPoller<PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, Context context)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

abstract PollerFlux<PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

abstract CdnWebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

abstract CdnWebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, Context context)

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

abstract Mono<CdnWebApplicationFirewallPolicyInner> createOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

abstract void delete(String resourceGroupName, String policyName)

Deletes Policy.

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

Deletes Policy.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String policyName, Context context)

Deletes Policy.

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

Deletes Policy.

abstract CdnWebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

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

Retrieve protection policy with specified name within a resource group.

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

Retrieve protection policy with specified name within a resource group.

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

Retrieve protection policy with specified name within a resource group.

abstract PagedIterable<CdnWebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName)

Lists all of the protection policies within a resource group.

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

Lists all of the protection policies within a resource group.

abstract PagedFlux<CdnWebApplicationFirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName)

Lists all of the protection policies within a resource group.

abstract CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

abstract CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, Context context)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

abstract Mono<CdnWebApplicationFirewallPolicyInner> updateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicy - Policy to be created.

Returns:

the SyncPoller<T,U> for polling of defines web application firewall policy for Azure CDN.

beginCreateOrUpdate

public abstract SyncPoller,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, Context context)

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

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicy - Policy to be created.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of defines web application firewall policy for Azure CDN.

beginCreateOrUpdateAsync

public abstract PollerFlux,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicy - Policy to be created.

Returns:

the PollerFlux<T,U> for polling of defines web application firewall policy for Azure CDN.

beginUpdate

public abstract SyncPoller,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicyPatchParameters - CdnWebApplicationFirewallPolicy parameters to be patched.

Returns:

the SyncPoller<T,U> for polling of defines web application firewall policy for Azure CDN.

beginUpdate

public abstract SyncPoller,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, Context context)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicyPatchParameters - CdnWebApplicationFirewallPolicy parameters to be patched.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of defines web application firewall policy for Azure CDN.

beginUpdateAsync

public abstract PollerFlux,CdnWebApplicationFirewallPolicyInner> beginUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicyPatchParameters - CdnWebApplicationFirewallPolicy parameters to be patched.

Returns:

the PollerFlux<T,U> for polling of defines web application firewall policy for Azure CDN.

createOrUpdate

public abstract CdnWebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicy - Policy to be created.

Returns:

defines web application firewall policy for Azure CDN.

createOrUpdate

public abstract CdnWebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, Context context)

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

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicy - Policy to be created.
context - The context to associate with this operation.

Returns:

defines web application firewall policy for Azure CDN.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicy - Policy to be created.

Returns:

defines web application firewall policy for Azure CDN on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)

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

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicy - Policy to be created.

Returns:

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

delete

public abstract void delete(String resourceGroupName, String policyName)

Deletes Policy.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String policyName)

Deletes Policy.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

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

Deletes Policy.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

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

Deletes Policy.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract CdnWebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.

Returns:

defines web application firewall policy for Azure CDN.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String policyName)

Retrieve protection policy with specified name within a resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.

Returns:

defines web application firewall policy for Azure CDN 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 - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
context - The context to associate with this operation.

Returns:

defines web application firewall policy for Azure CDN 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 - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.

Returns:

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

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all of the protection policies within a resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.

Returns:

defines a list of WebApplicationFirewallPolicies for Azure CDN 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 - Name of the Resource group within the Azure subscription.
context - The context to associate with this operation.

Returns:

defines a list of WebApplicationFirewallPolicies for Azure CDN 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 - Name of the Resource group within the Azure subscription.

Returns:

defines a list of WebApplicationFirewallPolicies for Azure CDN as paginated response with PagedFlux<T>.

update

public abstract CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicyPatchParameters - CdnWebApplicationFirewallPolicy parameters to be patched.

Returns:

defines web application firewall policy for Azure CDN.

update

public abstract CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, Context context)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicyPatchParameters - CdnWebApplicationFirewallPolicy parameters to be patched.
context - The context to associate with this operation.

Returns:

defines web application firewall policy for Azure CDN.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicyPatchParameters - CdnWebApplicationFirewallPolicy parameters to be patched.

Returns:

defines web application firewall policy for Azure CDN on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters)

Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.

Parameters:

resourceGroupName - Name of the Resource group within the Azure subscription.
policyName - The name of the CdnWebApplicationFirewallPolicy.
cdnWebApplicationFirewallPolicyPatchParameters - CdnWebApplicationFirewallPolicy parameters to be patched.

Returns:

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

Applies to