Interface DdosProtectionPlansClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<DdosProtectionPlanInner>,InnerSupportsListing<DdosProtectionPlanInner>
public interface DdosProtectionPlansClient
extends InnerSupportsGet<DdosProtectionPlanInner>, InnerSupportsListing<DdosProtectionPlanInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DdosProtectionPlansClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.beginDelete(String resourceGroupName, String ddosProtectionPlanName) Deletes the specified DDoS protection plan.beginDelete(String resourceGroupName, String ddosProtectionPlanName, com.azure.core.util.Context context) Deletes the specified DDoS protection plan.beginDeleteAsync(String resourceGroupName, String ddosProtectionPlanName) Deletes the specified DDoS protection plan.createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters) Creates or updates a DDoS protection plan.createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, com.azure.core.util.Context context) Creates or updates a DDoS protection plan.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.voidDeletes the specified DDoS protection plan.voiddelete(String resourceGroupName, String ddosProtectionPlanName, com.azure.core.util.Context context) Deletes the specified DDoS protection plan.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.getByResourceGroup(String resourceGroupName, String ddosProtectionPlanName) Gets information about the specified DDoS protection plan.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> 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.updateTags(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters) Update a DDoS protection plan tags.updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters) Update a DDoS protection plan tags.com.azure.core.http.rest.Response<DdosProtectionPlanInner> updateTagsWithResponse(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters, 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, TagsObject parameters) Update a DDoS protection plan tags.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName) Deletes the specified DDoS protection plan.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginDeleteAsync
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.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- Returns:
- the
PollerFluxfor polling of long-running operation. - 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.
-
beginDelete
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.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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.
-
beginDelete
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.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - 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
Deletes the specified DDoS protection plan.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- Returns:
- A
Monothat completes when a successful response is received. - 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
Deletes the specified DDoS protection plan.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- 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 ddosProtectionPlanName, com.azure.core.util.Context context) Deletes the specified DDoS protection plan.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.context- The context to associate with this operation.- 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<DdosProtectionPlanInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName) Gets information about the specified DDoS protection plan.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- Returns:
- information about the specified DDoS protection plan along with
Responseon successful completion ofMono. - 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<DdosProtectionPlanInner> getByResourceGroupAsync(String resourceGroupName, String ddosProtectionPlanName) Gets information about the specified DDoS protection plan.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<DdosProtectionPlanInner>- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- Returns:
- information about the specified DDoS protection plan on successful completion of
Mono. - 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<DdosProtectionPlanInner> getByResourceGroupWithResponse(String resourceGroupName, String ddosProtectionPlanName, com.azure.core.util.Context context) Gets information about the specified DDoS protection plan.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.context- The context to associate with this operation.- Returns:
- information about the specified DDoS protection plan along with
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.
-
getByResourceGroup
Gets information about the specified DDoS protection plan.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<DdosProtectionPlanInner>- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.- Returns:
- information about the specified DDoS protection plan.
- 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 ddosProtectionPlanName, DdosProtectionPlanInner parameters) Creates or updates a DDoS protection plan.- 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.- Returns:
- a DDoS protection plan in a resource group along with
Responseon successful completion ofMono. - 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<DdosProtectionPlanInner>,DdosProtectionPlanInner> beginCreateOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters) Creates or updates a DDoS protection plan.- 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.- Returns:
- the
PollerFluxfor polling of a DDoS protection plan in a resource group. - 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<DdosProtectionPlanInner>,DdosProtectionPlanInner> beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters) Creates or updates a DDoS protection plan.- 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.- Returns:
- the
SyncPollerfor polling of a DDoS protection plan in a resource group. - 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<DdosProtectionPlanInner>,DdosProtectionPlanInner> beginCreateOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, com.azure.core.util.Context context) Creates or updates a DDoS protection plan.- 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a DDoS protection plan in a resource group. - 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<DdosProtectionPlanInner> createOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters) Creates or updates a DDoS protection plan.- 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.- Returns:
- a DDoS protection plan in a resource group on successful completion of
Mono. - 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
DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters) Creates or updates a DDoS protection plan.- 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.- Returns:
- a DDoS protection plan in a resource group.
- 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
DdosProtectionPlanInner createOrUpdate(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters, com.azure.core.util.Context context) Creates or updates a DDoS protection plan.- 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.context- The context to associate with this operation.- Returns:
- a DDoS protection plan in a resource group.
- 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<DdosProtectionPlanInner>> updateTagsWithResponseAsync(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters) Update a DDoS protection plan tags.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.parameters- Parameters supplied to the update DDoS protection plan resource tags.- Returns:
- a DDoS protection plan in a resource group along with
Responseon successful completion ofMono. - 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.
-
updateTagsAsync
Mono<DdosProtectionPlanInner> updateTagsAsync(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters) Update a DDoS protection plan tags.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.parameters- Parameters supplied to the update DDoS protection plan resource tags.- Returns:
- a DDoS protection plan in a resource group on successful completion of
Mono. - 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<DdosProtectionPlanInner> updateTagsWithResponse(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters, com.azure.core.util.Context context) Update a DDoS protection plan tags.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.parameters- Parameters supplied to the update DDoS protection plan resource tags.context- The context to associate with this operation.- Returns:
- a DDoS protection plan in a resource group along with
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.
-
updateTags
DdosProtectionPlanInner updateTags(String resourceGroupName, String ddosProtectionPlanName, TagsObject parameters) Update a DDoS protection plan tags.- Parameters:
resourceGroupName- The name of the resource group.ddosProtectionPlanName- The name of the DDoS protection plan.parameters- Parameters supplied to the update DDoS protection plan resource tags.- Returns:
- a DDoS protection plan in a resource group.
- 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<DdosProtectionPlanInner> listAsync()Gets all DDoS protection plans in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<DdosProtectionPlanInner>- Returns:
- all DDoS protection plans in a subscription as paginated response with
PagedFlux. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<DdosProtectionPlanInner> list()Gets all DDoS protection plans in a subscription.- Specified by:
listin interfaceInnerSupportsListing<DdosProtectionPlanInner>- Returns:
- all DDoS protection plans in a subscription as paginated response with
PagedIterable. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<DdosProtectionPlanInner> list(com.azure.core.util.Context context) Gets all DDoS protection plans in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all DDoS protection plans in a subscription as paginated response with
PagedIterable. - 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<DdosProtectionPlanInner> listByResourceGroupAsync(String resourceGroupName) Gets all the DDoS protection plans in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<DdosProtectionPlanInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the DDoS protection plans in a resource group as paginated response with
PagedFlux. - 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<DdosProtectionPlanInner> listByResourceGroup(String resourceGroupName) Gets all the DDoS protection plans in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<DdosProtectionPlanInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the DDoS protection plans in a resource group as paginated response with
PagedIterable. - 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<DdosProtectionPlanInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the DDoS protection plans in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all the DDoS protection plans in a resource group as paginated response with
PagedIterable. - 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.
-