public interface DdosCustomPoliciesClient extends InnerSupportsGet<DdosCustomPolicyInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String ddosCustomPolicyName,
DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> |
beginCreateOrUpdate(String resourceGroupName,
String ddosCustomPolicyName,
DdosCustomPolicyInner parameters,
com.azure.core.util.Context context)
Creates or updates a DDoS custom policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String ddosCustomPolicyName,
DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String ddosCustomPolicyName,
com.azure.core.util.Context context)
Deletes the specified DDoS custom policy.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.
|
DdosCustomPolicyInner |
createOrUpdate(String resourceGroupName,
String ddosCustomPolicyName,
DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.
|
DdosCustomPolicyInner |
createOrUpdate(String resourceGroupName,
String ddosCustomPolicyName,
DdosCustomPolicyInner parameters,
com.azure.core.util.Context context)
Creates or updates a DDoS custom policy.
|
Mono<DdosCustomPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String ddosCustomPolicyName,
DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String ddosCustomPolicyName,
DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.
|
void |
delete(String resourceGroupName,
String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.
|
void |
delete(String resourceGroupName,
String ddosCustomPolicyName,
com.azure.core.util.Context context)
Deletes the specified DDoS custom policy.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.
|
DdosCustomPolicyInner |
getByResourceGroup(String resourceGroupName,
String ddosCustomPolicyName)
Gets information about the specified DDoS custom policy.
|
Mono<DdosCustomPolicyInner> |
getByResourceGroupAsync(String resourceGroupName,
String ddosCustomPolicyName)
Gets information about the specified DDoS custom policy.
|
com.azure.core.http.rest.Response<DdosCustomPolicyInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String ddosCustomPolicyName,
com.azure.core.util.Context context)
Gets information about the specified DDoS custom policy.
|
Mono<com.azure.core.http.rest.Response<DdosCustomPolicyInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String ddosCustomPolicyName)
Gets information about the specified DDoS custom policy.
|
DdosCustomPolicyInner |
updateTags(String resourceGroupName,
String ddosCustomPolicyName)
Update a DDoS custom policy tags.
|
Mono<DdosCustomPolicyInner> |
updateTagsAsync(String resourceGroupName,
String ddosCustomPolicyName)
Update a DDoS custom policy tags.
|
Mono<DdosCustomPolicyInner> |
updateTagsAsync(String resourceGroupName,
String ddosCustomPolicyName,
Map<String,String> tags)
Update a DDoS custom policy tags.
|
com.azure.core.http.rest.Response<DdosCustomPolicyInner> |
updateTagsWithResponse(String resourceGroupName,
String ddosCustomPolicyName,
Map<String,String> tags,
com.azure.core.util.Context context)
Update a DDoS custom policy tags.
|
Mono<com.azure.core.http.rest.Response<DdosCustomPolicyInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String ddosCustomPolicyName,
Map<String,String> tags)
Update a DDoS custom policy tags.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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 ddosCustomPolicyName)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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 ddosCustomPolicyName)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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 ddosCustomPolicyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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 ddosCustomPolicyName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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 ddosCustomPolicyName)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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 ddosCustomPolicyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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<DdosCustomPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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<DdosCustomPolicyInner> getByResourceGroupAsync(String resourceGroupName, String ddosCustomPolicyName)
getByResourceGroupAsync in interface InnerSupportsGet<DdosCustomPolicyInner>resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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.DdosCustomPolicyInner getByResourceGroup(String resourceGroupName, String ddosCustomPolicyName)
getByResourceGroup in interface InnerSupportsGet<DdosCustomPolicyInner>resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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<DdosCustomPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String ddosCustomPolicyName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.parameters - Parameters supplied to the create or update 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.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.parameters - Parameters supplied to the create or update 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.parameters - Parameters supplied to the create or update 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.parameters - Parameters supplied to the create or update operation.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<DdosCustomPolicyInner> createOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.parameters - Parameters supplied to the create or update 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.DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.parameters - Parameters supplied to the create or update 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.DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.parameters - Parameters supplied to the create or update operation.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<DdosCustomPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, Map<String,String> tags)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.tags - Resource 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<DdosCustomPolicyInner> updateTagsAsync(String resourceGroupName, String ddosCustomPolicyName, Map<String,String> tags)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.tags - Resource 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<DdosCustomPolicyInner> updateTagsAsync(String resourceGroupName, String ddosCustomPolicyName)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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.DdosCustomPolicyInner updateTags(String resourceGroupName, String ddosCustomPolicyName)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom 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<DdosCustomPolicyInner> updateTagsWithResponse(String resourceGroupName, String ddosCustomPolicyName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosCustomPolicyName - The name of the DDoS custom policy.tags - Resource 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.Copyright © 2021 Microsoft Corporation. All rights reserved.