Interface ManagedInstanceOperationsClient


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

    • listByManagedInstanceAsync

      com.azure.core.http.rest.PagedFlux<ManagedInstanceOperationInner> listByManagedInstanceAsync(String resourceGroupName, String managedInstanceName)
      Gets a list of operations performed on the managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      Returns:
      a list of operations performed on the managed instance 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.
    • listByManagedInstance

      com.azure.core.http.rest.PagedIterable<ManagedInstanceOperationInner> listByManagedInstance(String resourceGroupName, String managedInstanceName)
      Gets a list of operations performed on the managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      Returns:
      a list of operations performed on the managed instance 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.
    • listByManagedInstance

      com.azure.core.http.rest.PagedIterable<ManagedInstanceOperationInner> listByManagedInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context)
      Gets a list of operations performed on the managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      context - The context to associate with this operation.
      Returns:
      a list of operations performed on the managed instance 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ManagedInstanceOperationInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, UUID operationId)
      Gets a management operation on a managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      Returns:
      a management operation on a managed instance 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<ManagedInstanceOperationInner> getAsync(String resourceGroupName, String managedInstanceName, UUID operationId)
      Gets a management operation on a managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      Returns:
      a management operation on a managed instance 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<ManagedInstanceOperationInner> getWithResponse(String resourceGroupName, String managedInstanceName, UUID operationId, com.azure.core.util.Context context)
      Gets a management operation on a managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      context - The context to associate with this operation.
      Returns:
      a management operation on a managed instance 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

      ManagedInstanceOperationInner get(String resourceGroupName, String managedInstanceName, UUID operationId)
      Gets a management operation on a managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      Returns:
      a management operation on a managed instance.
      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.
    • cancelWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> cancelWithResponseAsync(String resourceGroupName, String managedInstanceName, UUID operationId)
      Cancels the asynchronous operation on the managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      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.
    • cancelAsync

      Mono<Void> cancelAsync(String resourceGroupName, String managedInstanceName, UUID operationId)
      Cancels the asynchronous operation on the managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      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.
    • cancelWithResponse

      com.azure.core.http.rest.Response<Void> cancelWithResponse(String resourceGroupName, String managedInstanceName, UUID operationId, com.azure.core.util.Context context)
      Cancels the asynchronous operation on the managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • cancel

      void cancel(String resourceGroupName, String managedInstanceName, UUID operationId)
      Cancels the asynchronous operation on the managed instance.
      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.
      managedInstanceName - The name of the managed instance.
      operationId - The operationId parameter.
      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.