Interface DdosCustomPoliciesClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<DdosCustomPolicyInner>
public interface DdosCustomPoliciesClient extends InnerSupportsGet<DdosCustomPolicyInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DdosCustomPoliciesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.DdosCustomPolicyInnercreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)Creates or updates a DDoS custom policy.DdosCustomPolicyInnercreateOrUpdate(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.voiddelete(String resourceGroupName, String ddosCustomPolicyName)Deletes the specified DDoS custom policy.voiddelete(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.DdosCustomPolicyInnergetByResourceGroup(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.DdosCustomPolicyInnerupdateTags(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)Update a DDoS custom policy tags.Mono<DdosCustomPolicyInner>updateTagsAsync(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)Update a DDoS custom policy tags.com.azure.core.http.rest.Response<DdosCustomPolicyInner>updateTagsWithResponse(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters, 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, TagsObject parameters)Update a DDoS custom policy tags.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- 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 ddosCustomPolicyName)
Deletes the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- 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 ddosCustomPolicyName)
Deletes the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- 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 ddosCustomPolicyName, com.azure.core.util.Context context)
Deletes the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.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
Mono<Void> deleteAsync(String resourceGroupName, String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- 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
void delete(String resourceGroupName, String ddosCustomPolicyName)
Deletes the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- 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 ddosCustomPolicyName, com.azure.core.util.Context context)
Deletes the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.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<DdosCustomPolicyInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName)
Gets information about the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- Returns:
- information about the specified DDoS custom policy 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<DdosCustomPolicyInner> getByResourceGroupAsync(String resourceGroupName, String ddosCustomPolicyName)
Gets information about the specified DDoS custom policy.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<DdosCustomPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- Returns:
- information about the specified DDoS custom policy 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.
-
getByResourceGroup
DdosCustomPolicyInner getByResourceGroup(String resourceGroupName, String ddosCustomPolicyName)
Gets information about the specified DDoS custom policy.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<DdosCustomPolicyInner>- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.- Returns:
- information about the specified DDoS custom policy.
- 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<DdosCustomPolicyInner> getByResourceGroupWithResponse(String resourceGroupName, String ddosCustomPolicyName, com.azure.core.util.Context context)
Gets information about the specified DDoS custom policy.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.context- The context to associate with this operation.- Returns:
- information about the specified DDoS custom policy 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.- 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.- Returns:
- a DDoS custom policy 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<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.- 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.- Returns:
- the
PollerFluxfor polling of a DDoS custom policy 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<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.- 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.- Returns:
- the
SyncPollerfor polling of a DDoS custom policy 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<DdosCustomPolicyInner>,DdosCustomPolicyInner> beginCreateOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, com.azure.core.util.Context context)
Creates or updates a DDoS custom policy.- 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a DDoS custom policy 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<DdosCustomPolicyInner> createOrUpdateAsync(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.- 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.- Returns:
- a DDoS custom policy 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
DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters)
Creates or updates a DDoS custom policy.- 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.- Returns:
- a DDoS custom policy 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
DdosCustomPolicyInner createOrUpdate(String resourceGroupName, String ddosCustomPolicyName, DdosCustomPolicyInner parameters, com.azure.core.util.Context context)
Creates or updates a DDoS custom policy.- 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.context- The context to associate with this operation.- Returns:
- a DDoS custom policy 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<DdosCustomPolicyInner>> updateTagsWithResponseAsync(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)
Update a DDoS custom policy tags.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.parameters- Parameters supplied to update DDoS custom policy resource tags.- Returns:
- a DDoS custom policy 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<DdosCustomPolicyInner> updateTagsAsync(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)
Update a DDoS custom policy tags.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.parameters- Parameters supplied to update DDoS custom policy resource tags.- Returns:
- a DDoS custom policy 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.
-
updateTags
DdosCustomPolicyInner updateTags(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters)
Update a DDoS custom policy tags.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.parameters- Parameters supplied to update DDoS custom policy resource tags.- Returns:
- a DDoS custom policy 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<DdosCustomPolicyInner> updateTagsWithResponse(String resourceGroupName, String ddosCustomPolicyName, TagsObject parameters, com.azure.core.util.Context context)
Update a DDoS custom policy tags.- Parameters:
resourceGroupName- The name of the resource group.ddosCustomPolicyName- The name of the DDoS custom policy.parameters- Parameters supplied to update DDoS custom policy resource tags.context- The context to associate with this operation.- Returns:
- a DDoS custom policy 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.
-
-