public interface PoliciesClient extends InnerSupportsGet<CdnWebApplicationFirewallPolicyInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and 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.
|
CdnWebApplicationFirewallPolicyInner |
createOrUpdate(String resourceGroupName,
String policyName,
CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)
Create or update policy with specified rule set name within a resource group.
|
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.
|
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.
|
void |
delete(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.
|
CdnWebApplicationFirewallPolicyInner |
getByResourceGroup(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.
|
CdnWebApplicationFirewallPolicyInner |
update(String resourceGroupName,
String policyName)
Update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified
subscription and resource group.
|
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.
|
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.
|
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.
|
com.azure.core.http.rest.PagedFlux<CdnWebApplicationFirewallPolicyInner> listByResourceGroupAsync(String resourceGroupName)
resourceGroupName - Name of the Resource group within the Azure subscription.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<CdnWebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName)
resourceGroupName - Name of the Resource group within the Azure subscription.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<CdnWebApplicationFirewallPolicyInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.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<CdnWebApplicationFirewallPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String policyName)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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<CdnWebApplicationFirewallPolicyInner> getByResourceGroupAsync(String resourceGroupName, String policyName)
getByResourceGroupAsync in interface InnerSupportsGet<CdnWebApplicationFirewallPolicyInner>resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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.CdnWebApplicationFirewallPolicyInner getByResourceGroup(String resourceGroupName, String policyName)
getByResourceGroup in interface InnerSupportsGet<CdnWebApplicationFirewallPolicyInner>resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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<CdnWebApplicationFirewallPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String policyName, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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>>> createOrUpdateWithResponseAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.cdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.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<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.cdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.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<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.cdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.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<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginCreateOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.cdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.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<CdnWebApplicationFirewallPolicyInner> createOrUpdateAsync(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.cdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.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.CdnWebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.cdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.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.CdnWebApplicationFirewallPolicyInner createOrUpdate(String resourceGroupName, String policyName, CdnWebApplicationFirewallPolicyInner cdnWebApplicationFirewallPolicy, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.cdnWebApplicationFirewallPolicy - Defines web application firewall policy for Azure CDN.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>>> updateWithResponseAsync(String resourceGroupName, String policyName, Map<String,String> tags)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.tags - CdnWebApplicationFirewallPolicy tags.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<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdateAsync(String resourceGroupName, String policyName, Map<String,String> tags)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.tags - CdnWebApplicationFirewallPolicy tags.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<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, Map<String,String> tags)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.tags - CdnWebApplicationFirewallPolicy tags.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<CdnWebApplicationFirewallPolicyInner>,CdnWebApplicationFirewallPolicyInner> beginUpdate(String resourceGroupName, String policyName, Map<String,String> tags, com.azure.core.util.Context context)
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.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<CdnWebApplicationFirewallPolicyInner> updateAsync(String resourceGroupName, String policyName, Map<String,String> tags)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.tags - CdnWebApplicationFirewallPolicy tags.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<CdnWebApplicationFirewallPolicyInner> updateAsync(String resourceGroupName, String policyName)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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.CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName, Map<String,String> tags)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.tags - CdnWebApplicationFirewallPolicy tags.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.CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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.CdnWebApplicationFirewallPolicyInner update(String resourceGroupName, String policyName, Map<String,String> tags, com.azure.core.util.Context context)
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.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<Void>> deleteWithResponseAsync(String resourceGroupName, String policyName)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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 - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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 - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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<Void> deleteWithResponse(String resourceGroupName, String policyName, com.azure.core.util.Context context)
resourceGroupName - Name of the Resource group within the Azure subscription.policyName - The name of the CdnWebApplicationFirewallPolicy.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 © 2020 Microsoft Corporation. All rights reserved.