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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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, Map<String,String> tags)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, Map<String,String> tags, 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, Map<String,String> tags)Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.CdnWebApplicationFirewallPolicyInnercreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)Create or update policy with specified rule set name within a resource group.CdnWebApplicationFirewallPolicyInnercreateOrUpdate(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.Mono<CdnWebApplicationFirewallPolicyInner>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.voiddelete(String resourceGroupName, String policyName)Deletes Policy.Mono<Void>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.Mono<com.azure.core.http.rest.Response<Void>>deleteWithResponseAsync(String resourceGroupName, String policyName)Deletes Policy.CdnWebApplicationFirewallPolicyInnergetByResourceGroup(String resourceGroupName, String policyName)Retrieve protection policy with specified name within a resource group.Mono<CdnWebApplicationFirewallPolicyInner>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.CdnWebApplicationFirewallPolicyInnerupdate(String resourceGroupName, String policyName)Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.CdnWebApplicationFirewallPolicyInnerupdate(String resourceGroupName, String policyName, Map<String,String> tags)Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.CdnWebApplicationFirewallPolicyInnerupdate(String resourceGroupName, String policyName, Map<String,String> tags, com.azure.core.util.Context context)Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.Mono<CdnWebApplicationFirewallPolicyInner>updateAsync(String resourceGroupName, String policyName)Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.Mono<CdnWebApplicationFirewallPolicyInner>updateAsync(String resourceGroupName, String policyName, Map<String,String> tags)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, Map<String,String> tags)Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group.
-
-
-
Method Detail
-
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.
- 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.
- 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.
- 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.
- 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.
- 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.
-
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.
- 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.
- 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:
- 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:
- 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:
- 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.
- 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, Map<String,String> tags)
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.tags- CdnWebApplicationFirewallPolicy tags.- 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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdateAsync(String resourceGroupName, String policyName, Map<String,String> tags)
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.tags- CdnWebApplicationFirewallPolicy tags.- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, Map<String,String> tags)
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.tags- CdnWebApplicationFirewallPolicy tags.- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, Map<String,String> tags, 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.tags- CdnWebApplicationFirewallPolicy tags.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.
-
updateAsync
Mono<CdnWebApplicationFirewallPolicyInner> updateAsync(String resourceGroupName, String policyName, Map<String,String> tags)
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.tags- CdnWebApplicationFirewallPolicy tags.- 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.
-
updateAsync
Mono<CdnWebApplicationFirewallPolicyInner> updateAsync(String resourceGroupName, String policyName)
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.- 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, Map<String,String> tags)
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.tags- CdnWebApplicationFirewallPolicy tags.- 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)
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.- 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, Map<String,String> tags, 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.tags- CdnWebApplicationFirewallPolicy tags.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 completion.
- 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
Mono<Void> deleteAsync(String resourceGroupName, String policyName)
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:
- the completion.
- 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
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.- 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.
-
-