Interface PoliciesClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<CdnWebApplicationFirewallPolicyInner>
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 TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy) Create or update policy with specified rule set name within a resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, com.azure.core.util.Context context) Create or update policy with specified rule set name within a resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy) Create or update policy with specified rule set name within a resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, com.azure.core.util.Context context) Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.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.createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy) Create or update policy with specified rule set name within a resource group.createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, com.azure.core.util.Context context) Create or update policy with specified rule set name within a resource group.createOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy) Create or update policy with specified rule set name within a resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy) Create or update policy with specified rule set name within a resource group.voidDeletes Policy.deleteAsync(String resourceGroupName, String policyName) Deletes Policy.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String policyName, com.azure.core.util.Context context) Deletes Policy.deleteWithResponseAsync(String resourceGroupName, String policyName) Deletes Policy.getByResourceGroup(String resourceGroupName, String policyName) Retrieve protection policy with specified name within a resource group.getByResourceGroupAsync(String resourceGroupName, String policyName) Retrieve protection policy with specified name within a resource group.com.azure.core.http.rest.Response<CdnWebApplicationFirewallPolicyInner>getByResourceGroupWithResponse(String resourceGroupName, String policyName, com.azure.core.util.Context context) Retrieve protection policy with specified name within a resource group.Mono<com.azure.core.http.rest.Response<CdnWebApplicationFirewallPolicyInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String policyName) Retrieve protection policy with specified name within a resource group.com.azure.core.http.rest.PagedIterable<CdnWebApplicationFirewallPolicyInner>listByResourceGroup(String resourceGroupName) Lists all of the protection policies within a resource group.com.azure.core.http.rest.PagedIterable<CdnWebApplicationFirewallPolicyInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all of the protection policies within a resource group.com.azure.core.http.rest.PagedFlux<CdnWebApplicationFirewallPolicyInner>listByResourceGroupAsync(String resourceGroupName) Lists all of the protection policies within a resource group.update(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters) Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.update(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, com.azure.core.util.Context context) Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.updateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters) Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.Mono<com.azure.core.http.rest.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
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<CdnWebApplicationFirewallPolicyInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CdnWebApplicationFirewallPolicyInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CdnWebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<CdnWebApplicationFirewallPolicyInner>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<CdnWebApplicationFirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String policyName) Retrieve protection policy with specified name within a resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<CdnWebApplicationFirewallPolicyInner>- 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CdnWebApplicationFirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String policyName, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
CdnWebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName) Retrieve protection policy with specified name within a resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<CdnWebApplicationFirewallPolicyInner>- 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,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
PollerFluxfor polling of defines web application firewall policy for Azure CDN. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,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
SyncPollerfor polling of defines web application firewall policy for Azure CDN. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, com.azure.core.util.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
SyncPollerfor polling of defines web application firewall policy for Azure CDN. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<CdnWebApplicationFirewallPolicyInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
CdnWebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.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.- 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.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.- 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
PollerFluxfor polling of defines web application firewall policy for Azure CDN. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.- 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
SyncPollerfor polling of defines web application firewall policy for Azure CDN. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, com.azure.core.util.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
SyncPollerfor polling of defines web application firewall policy for Azure CDN. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
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.- 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyPatchParameters cdnWebApplicationFirewallPolicyPatchParameters, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes Policy.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.policyName- The name of the CdnWebApplicationFirewallPolicy.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String policyName, com.azure.core.util.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:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes Policy.- Parameters:
resourceGroupName- Name of the Resource group within the Azure subscription.policyName- The name of the CdnWebApplicationFirewallPolicy.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-