Interface SapDatabaseInstancesClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<SapDatabaseInstanceInner> getWithResponse(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context)
      Gets the SAP Database Instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      context - The context to associate with this operation.
      Returns:
      the SAP Database Instance 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.
    • get

      SapDatabaseInstanceInner get(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Gets the SAP Database Instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the SAP Database Instance 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapDatabaseInstanceInner>,SapDatabaseInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the SyncPoller for polling of define the Database 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapDatabaseInstanceInner>,SapDatabaseInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, SapDatabaseInstanceInner body, com.azure.core.util.Context context)
      Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      body - Request body of Database resource of a SAP system.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of define the Database 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.
    • create

      SapDatabaseInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      define the Database 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.
    • create

      SapDatabaseInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, SapDatabaseInstanceInner body, com.azure.core.util.Context context)
      Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      body - Request body of Database resource of a SAP system.
      context - The context to associate with this operation.
      Returns:
      define the Database 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapDatabaseInstanceInner>,SapDatabaseInstanceInner> beginUpdate(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Updates the Database resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the SyncPoller for polling of define the Database 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapDatabaseInstanceInner>,SapDatabaseInstanceInner> beginUpdate(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, UpdateSapDatabaseInstanceRequest body, com.azure.core.util.Context context)
      Updates the Database resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      body - Database resource update request body.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of define the Database 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.
    • update

      SapDatabaseInstanceInner update(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Updates the Database resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      define the Database 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.
    • update

      SapDatabaseInstanceInner update(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, UpdateSapDatabaseInstanceRequest body, com.azure.core.util.Context context)
      Updates the Database resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      body - Database resource update request body.
      context - The context to associate with this operation.
      Returns:
      define the Database 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginDelete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the SyncPoller for polling of the current status of an async 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<OperationStatusResultInner>,OperationStatusResultInner> beginDelete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context)
      Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the current status of an async 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.
    • delete

      OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the current status of an async 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.
    • delete

      OperationStatusResultInner delete(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context)
      Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      context - The context to associate with this operation.
      Returns:
      the current status of an async 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.
    • list

      com.azure.core.http.rest.PagedIterable<SapDatabaseInstanceInner> list(String resourceGroupName, String sapVirtualInstanceName)
      Lists the Database resources associated with a Virtual Instance for SAP solutions resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      Returns:
      defines the collection of SAP Database Instances 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.
    • list

      com.azure.core.http.rest.PagedIterable<SapDatabaseInstanceInner> list(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context)
      Lists the Database resources associated with a Virtual Instance for SAP solutions resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      context - The context to associate with this operation.
      Returns:
      defines the collection of SAP Database Instances 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.
    • beginStartInstance

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStartInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Starts the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the SyncPoller for polling of the current status of an async 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.
    • beginStartInstance

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStartInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context)
      Starts the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the current status of an async 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.
    • startInstance

      OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Starts the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the current status of an async 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.
    • startInstance

      OperationStatusResultInner startInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, com.azure.core.util.Context context)
      Starts the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      context - The context to associate with this operation.
      Returns:
      the current status of an async 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.
    • beginStopInstance

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStopInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Stops the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the SyncPoller for polling of the current status of an async 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.
    • beginStopInstance

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStopInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StopRequest body, com.azure.core.util.Context context)
      Stops the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      body - Stop request for the database instance of the SAP system.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the current status of an async 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.
    • stopInstance

      OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName)
      Stops the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      Returns:
      the current status of an async 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.
    • stopInstance

      OperationStatusResultInner stopInstance(String resourceGroupName, String sapVirtualInstanceName, String databaseInstanceName, StopRequest body, com.azure.core.util.Context context)
      Stops the database instance of the SAP system.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      databaseInstanceName - Database resource name string modeled as parameter for auto generation to work correctly.
      body - Stop request for the database instance of the SAP system.
      context - The context to associate with this operation.
      Returns:
      the current status of an async 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.