Interface ResourceProviders


public interface ResourceProviders
Resource collection API of ResourceProviders.
  • Method Details

    • getOperationStatus

      OperationResource getOperationStatus(String resourceGroupName, String vaultName, String operationId)
      Gets the operation status for a resource.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      vaultName - The name of the recovery services vault.
      operationId - The operationId parameter.
      Returns:
      the operation status for a resource.
      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.
    • getOperationStatusWithResponse

      com.azure.core.http.rest.Response<OperationResource> getOperationStatusWithResponse(String resourceGroupName, String vaultName, String operationId, com.azure.core.util.Context context)
      Gets the operation status for a resource.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      vaultName - The name of the recovery services vault.
      operationId - The operationId parameter.
      context - The context to associate with this operation.
      Returns:
      the operation status for a resource 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.
    • getOperationResult

      Vault getOperationResult(String resourceGroupName, String vaultName, String operationId)
      Gets the operation result for a resource.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      vaultName - The name of the recovery services vault.
      operationId - The operationId parameter.
      Returns:
      the operation result for a resource.
      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.
    • getOperationResultWithResponse

      com.azure.core.http.rest.Response<Vault> getOperationResultWithResponse(String resourceGroupName, String vaultName, String operationId, com.azure.core.util.Context context)
      Gets the operation result for a resource.
      Parameters:
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      vaultName - The name of the recovery services vault.
      operationId - The operationId parameter.
      context - The context to associate with this operation.
      Returns:
      the operation result for a resource 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.