Interface PredefinedAcceleratorsClient


public interface PredefinedAcceleratorsClient
An instance of this class provides access to all the operations defined in PredefinedAcceleratorsClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<PredefinedAcceleratorResourceInner> listAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName)
      Handle requests to list all predefined accelerators.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      Returns:
      the 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.
    • list

      com.azure.core.http.rest.PagedIterable<PredefinedAcceleratorResourceInner> list(String resourceGroupName, String serviceName, String applicationAcceleratorName)
      Handle requests to list all predefined accelerators.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      Returns:
      the 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.
    • list

      com.azure.core.http.rest.PagedIterable<PredefinedAcceleratorResourceInner> list(String resourceGroupName, String serviceName, String applicationAcceleratorName, com.azure.core.util.Context context)
      Handle requests to list all predefined accelerators.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<PredefinedAcceleratorResourceInner>> getWithResponseAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Get the predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      Returns:
      the predefined accelerator 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.
    • getAsync

      Mono<PredefinedAcceleratorResourceInner> getAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Get the predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      Returns:
      the predefined accelerator 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.
    • getWithResponse

      com.azure.core.http.rest.Response<PredefinedAcceleratorResourceInner> getWithResponse(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName, com.azure.core.util.Context context)
      Get the predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      context - The context to associate with this operation.
      Returns:
      the predefined accelerator 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.
    • get

      PredefinedAcceleratorResourceInner get(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Get the predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      Returns:
      the predefined accelerator.
      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.
    • disableWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> disableWithResponseAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Disable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • beginDisableAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDisableAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Disable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • beginDisable

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDisable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Disable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • beginDisable

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDisable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName, com.azure.core.util.Context context)
      Disable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • disableAsync

      Mono<Void> disableAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Disable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • disable

      void disable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Disable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • disable

      void disable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName, com.azure.core.util.Context context)
      Disable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • enableWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> enableWithResponseAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Enable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • beginEnableAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginEnableAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Enable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • beginEnable

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginEnable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Enable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • beginEnable

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginEnable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName, com.azure.core.util.Context context)
      Enable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • enableAsync

      Mono<Void> enableAsync(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Enable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • enable

      void enable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName)
      Enable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.
    • enable

      void enable(String resourceGroupName, String serviceName, String applicationAcceleratorName, String predefinedAcceleratorName, com.azure.core.util.Context context)
      Enable predefined accelerator.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      applicationAcceleratorName - The name of the application accelerator.
      predefinedAcceleratorName - The name of the predefined accelerator.
      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.