public interface DdosProtectionPlansClient extends InnerSupportsGet<DdosProtectionPlanInner>, InnerSupportsListing<DdosProtectionPlanInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosProtectionPlanInner>,DdosProtectionPlanInner> |
beginCreateOrUpdate(String resourceGroupName,
String ddosProtectionPlanName,
DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DdosProtectionPlanInner>,DdosProtectionPlanInner> |
beginCreateOrUpdate(String resourceGroupName,
String ddosProtectionPlanName,
DdosProtectionPlanInner parameters,
com.azure.core.util.Context context)
Creates or updates a DDoS protection plan.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DdosProtectionPlanInner>,DdosProtectionPlanInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String ddosProtectionPlanName,
DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String ddosProtectionPlanName,
com.azure.core.util.Context context)
Deletes the specified DDoS protection plan.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
|
DdosProtectionPlanInner |
createOrUpdate(String resourceGroupName,
String ddosProtectionPlanName,
DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
|
DdosProtectionPlanInner |
createOrUpdate(String resourceGroupName,
String ddosProtectionPlanName,
DdosProtectionPlanInner parameters,
com.azure.core.util.Context context)
Creates or updates a DDoS protection plan.
|
Mono<DdosProtectionPlanInner> |
createOrUpdateAsync(String resourceGroupName,
String ddosProtectionPlanName,
DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String ddosProtectionPlanName,
DdosProtectionPlanInner parameters)
Creates or updates a DDoS protection plan.
|
void |
delete(String resourceGroupName,
String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
|
void |
delete(String resourceGroupName,
String ddosProtectionPlanName,
com.azure.core.util.Context context)
Deletes the specified DDoS protection plan.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String ddosProtectionPlanName)
Deletes the specified DDoS protection plan.
|
DdosProtectionPlanInner |
getByResourceGroup(String resourceGroupName,
String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
|
Mono<DdosProtectionPlanInner> |
getByResourceGroupAsync(String resourceGroupName,
String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
|
com.azure.core.http.rest.Response<DdosProtectionPlanInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String ddosProtectionPlanName,
com.azure.core.util.Context context)
Gets information about the specified DDoS protection plan.
|
Mono<com.azure.core.http.rest.Response<DdosProtectionPlanInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String ddosProtectionPlanName)
Gets information about the specified DDoS protection plan.
|
com.azure.core.http.rest.PagedIterable<DdosProtectionPlanInner> |
list()
Gets all DDoS protection plans in a subscription.
|
com.azure.core.http.rest.PagedIterable<DdosProtectionPlanInner> |
list(com.azure.core.util.Context context)
Gets all DDoS protection plans in a subscription.
|
com.azure.core.http.rest.PagedFlux<DdosProtectionPlanInner> |
listAsync()
Gets all DDoS protection plans in a subscription.
|
com.azure.core.http.rest.PagedIterable<DdosProtectionPlanInner> |
listByResourceGroup(String resourceGroupName)
Gets all the DDoS protection plans in a resource group.
|
com.azure.core.http.rest.PagedIterable<DdosProtectionPlanInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all the DDoS protection plans in a resource group.
|
com.azure.core.http.rest.PagedFlux<DdosProtectionPlanInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets all the DDoS protection plans in a resource group.
|
DdosProtectionPlanInner |
updateTags(String resourceGroupName,
String ddosProtectionPlanName)
Update a DDoS protection plan tags.
|
Mono<DdosProtectionPlanInner> |
updateTagsAsync(String resourceGroupName,
String ddosProtectionPlanName)
Update a DDoS protection plan tags.
|
Mono<DdosProtectionPlanInner> |
updateTagsAsync(String resourceGroupName,
String ddosProtectionPlanName,
Map<String,String> tags)
Update a DDoS protection plan tags.
|
com.azure.core.http.rest.Response<DdosProtectionPlanInner> |
updateTagsWithResponse(String resourceGroupName,
String ddosProtectionPlanName,
Map<String,String> tags,
com.azure.core.util.Context context)
Update a DDoS protection plan tags.
|
Mono<com.azure.core.http.rest.Response<DdosProtectionPlanInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String ddosProtectionPlanName,
Map<String,String> tags)
Update a DDoS protection plan tags.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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 ddosProtectionPlanName)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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 ddosProtectionPlanName)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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 ddosProtectionPlanName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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 ddosProtectionPlanName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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 ddosProtectionPlanName)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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 ddosProtectionPlanName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner> getByResourceGroupAsync(String resourceGroupName, String ddosProtectionPlanName)
getByResourceGroupAsync in interface InnerSupportsGet<DdosProtectionPlanInner>resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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.DdosProtectionPlanInner getByResourceGroup(String resourceGroupName, String ddosProtectionPlanName)
getByResourceGroup in interface InnerSupportsGet<DdosProtectionPlanInner>resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner> getByResourceGroupWithResponse(String resourceGroupName, String ddosProtectionPlanName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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 ddosProtectionPlanName, DdosProtectionPlanInner parameters)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner>,DdosProtectionPlanInner> beginCreateOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner>,DdosProtectionPlanInner> beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner>,DdosProtectionPlanInner> beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner> createOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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.DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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.DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner>> updateTagsWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName, Map<String,String> tags)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner> updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName, Map<String,String> tags)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner> updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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.DdosProtectionPlanInner updateTags(String resourceGroupName, String ddosProtectionPlanName)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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<DdosProtectionPlanInner> updateTagsWithResponse(String resourceGroupName, String ddosProtectionPlanName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.ddosProtectionPlanName - The name of the DDoS protection plan.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.com.azure.core.http.rest.PagedFlux<DdosProtectionPlanInner> listAsync()
listAsync in interface InnerSupportsListing<DdosProtectionPlanInner>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<DdosProtectionPlanInner> list()
list in interface InnerSupportsListing<DdosProtectionPlanInner>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<DdosProtectionPlanInner> 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.com.azure.core.http.rest.PagedFlux<DdosProtectionPlanInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<DdosProtectionPlanInner>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<DdosProtectionPlanInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<DdosProtectionPlanInner>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<DdosProtectionPlanInner> 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.Copyright © 2021 Microsoft Corporation. All rights reserved.