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 Details

    • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      ddosCustomPolicyName - The name of the DDoS custom policy.
      Returns:
      A Mono that 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 Response 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.
    • getByResourceGroupAsync

      Mono<DdosCustomPolicyInner> getByResourceGroupAsync(String resourceGroupName, String ddosCustomPolicyName)
      Gets information about the specified DDoS custom policy.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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.
    • 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.
    • getByResourceGroup

      DdosCustomPolicyInner getByResourceGroup(String resourceGroupName, String ddosCustomPolicyName)
      Gets information about the specified DDoS custom policy.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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.
    • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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.
    • 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.
    • 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.