public interface WebApplicationFirewallPoliciesClient extends InnerSupportsGet<WebApplicationFirewallPolicyInner>, InnerSupportsListing<WebApplicationFirewallPolicyInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String policyName)
Deletes Policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String policyName,
com.azure.core.util.Context context)
Deletes Policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String policyName)
Deletes Policy.
|
WebApplicationFirewallPolicyInner |
createOrUpdate(String resourceGroupName,
String policyName,
WebApplicationFirewallPolicyInner parameters)
Creates or update policy with specified rule set name within a resource group.
|
Mono<WebApplicationFirewallPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String policyName,
WebApplicationFirewallPolicyInner parameters)
Creates or update policy with specified rule set name within a resource group.
|
com.azure.core.http.rest.Response<WebApplicationFirewallPolicyInner> |
createOrUpdateWithResponse(String resourceGroupName,
String policyName,
WebApplicationFirewallPolicyInner parameters,
com.azure.core.util.Context context)
Creates or update policy with specified rule set name within a resource group.
|
Mono<com.azure.core.http.rest.Response<WebApplicationFirewallPolicyInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String policyName,
WebApplicationFirewallPolicyInner parameters)
Creates or update policy with specified rule set name within a resource group.
|
void |
delete(String resourceGroupName,
String policyName)
Deletes Policy.
|
void |
delete(String resourceGroupName,
String policyName,
com.azure.core.util.Context context)
Deletes Policy.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String policyName)
Deletes Policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String policyName)
Deletes Policy.
|
WebApplicationFirewallPolicyInner |
getByResourceGroup(String resourceGroupName,
String policyName)
Retrieve protection policy with specified name within a resource group.
|
Mono<WebApplicationFirewallPolicyInner> |
getByResourceGroupAsync(String resourceGroupName,
String policyName)
Retrieve protection policy with specified name within a resource group.
|
com.azure.core.http.rest.Response<WebApplicationFirewallPolicyInner> |
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<WebApplicationFirewallPolicyInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String policyName)
Retrieve protection policy with specified name within a resource group.
|
com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> |
list()
Gets all the WAF policies in a subscription.
|
com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> |
list(com.azure.core.util.Context context)
Gets all the WAF policies in a subscription.
|
com.azure.core.http.rest.PagedFlux<WebApplicationFirewallPolicyInner> |
listAsync()
Gets all the WAF policies in a subscription.
|
com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> |
listByResourceGroup(String resourceGroupName)
Lists all of the protection policies within a resource group.
|
com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> |
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<WebApplicationFirewallPolicyInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all of the protection policies within a resource group.
|
com.azure.core.http.rest.PagedFlux<WebApplicationFirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<WebApplicationFirewallPolicyInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<WebApplicationFirewallPolicyInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<WebApplicationFirewallPolicyInner> listAsync()
listAsync in interface InnerSupportsListing<WebApplicationFirewallPolicyInner>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.com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> list()
list in interface InnerSupportsListing<WebApplicationFirewallPolicyInner>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.com.azure.core.http.rest.PagedIterable<WebApplicationFirewallPolicyInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<WebApplicationFirewallPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String policyName)
resourceGroupName - The name of the resource group.policyName - The name of the policy.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.Mono<WebApplicationFirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String policyName)
getByResourceGroupAsync in interface InnerSupportsGet<WebApplicationFirewallPolicyInner>resourceGroupName - The name of the resource group.policyName - The name of the policy.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.WebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName)
getByResourceGroup in interface InnerSupportsGet<WebApplicationFirewallPolicyInner>resourceGroupName - The name of the resource group.policyName - The name of the policy.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.com.azure.core.http.rest.Response<WebApplicationFirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String policyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.policyName - The name of the policy.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<WebApplicationFirewallPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)
resourceGroupName - The name of the resource group.policyName - The name of the policy.parameters - Policy to be created.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.Mono<WebApplicationFirewallPolicyInner> createOrUpdateAsync(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)
resourceGroupName - The name of the resource group.policyName - The name of the policy.parameters - Policy to be created.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.WebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters)
resourceGroupName - The name of the resource group.policyName - The name of the policy.parameters - Policy to be created.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.com.azure.core.http.rest.Response<WebApplicationFirewallPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String policyName, WebApplicationFirewallPolicyInner parameters, com.azure.core.util.Context context)
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.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String policyName)
resourceGroupName - The name of the resource group.policyName - The name of the policy.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String policyName)
resourceGroupName - The name of the resource group.policyName - The name of the policy.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String policyName)
resourceGroupName - The name of the resource group.policyName - The name of the policy.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String policyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.policyName - The name of the policy.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String policyName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.policyName - The name of the policy.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.void delete(String resourceGroupName, String policyName)
resourceGroupName - The name of the resource group.policyName - The name of the policy.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.void delete(String resourceGroupName, String policyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.policyName - The name of the policy.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.