Interface SapCentralInstancesClient


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

    • get

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

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

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapCentralServerInstanceInner>,SapCentralServerInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, SapCentralServerInstanceInner body)
      Puts the SAP Central Instance. <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.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      Returns:
      the SyncPoller for polling of define the SAP Central Server 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapCentralServerInstanceInner>,SapCentralServerInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, SapCentralServerInstanceInner body, com.azure.core.util.Context context)
      Puts the SAP Central Instance. <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.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of define the SAP Central Server 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.
    • create

      SapCentralServerInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, SapCentralServerInstanceInner body)
      Puts the SAP Central Instance. <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.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      Returns:
      define the SAP Central Server 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.
    • create

      SapCentralServerInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName)
      Puts the SAP Central Instance. <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.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      Returns:
      define the SAP Central Server 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.
    • create

      SapCentralServerInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, SapCentralServerInstanceInner body, com.azure.core.util.Context context)
      Puts the SAP Central Instance. <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.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      context - The context to associate with this operation.
      Returns:
      define the SAP Central Server 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapCentralServerInstanceInner>,SapCentralServerInstanceInner> beginUpdate(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, UpdateSapCentralInstanceRequest body)
      Updates the SAP Central Instance. <br><br>This can be used to update tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      Returns:
      the SyncPoller for polling of define the SAP Central Server 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapCentralServerInstanceInner>,SapCentralServerInstanceInner> beginUpdate(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, UpdateSapCentralInstanceRequest body, com.azure.core.util.Context context)
      Updates the SAP Central Instance. <br><br>This can be used to update tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of define the SAP Central Server 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.
    • update

      SapCentralServerInstanceInner update(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, UpdateSapCentralInstanceRequest body)
      Updates the SAP Central Instance. <br><br>This can be used to update tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      Returns:
      define the SAP Central Server 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.
    • update

      SapCentralServerInstanceInner update(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName)
      Updates the SAP Central Instance. <br><br>This can be used to update tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      Returns:
      define the SAP Central Server 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.
    • update

      SapCentralServerInstanceInner update(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName, UpdateSapCentralInstanceRequest body, com.azure.core.util.Context context)
      Updates the SAP Central Instance. <br><br>This can be used to update tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP.
      centralInstanceName - Central Instance name string modeled as parameter for auto generation to work correctly.
      body - The SAP Central Server instance request body.
      context - The context to associate with this operation.
      Returns:
      define the SAP Central Server 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginDelete(String resourceGroupName, String sapVirtualInstanceName, String centralInstanceName)
      Deletes the SAP Central Instance. <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.
      centralInstanceName - Central Instance 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 centralInstanceName, com.azure.core.util.Context context)
      Deletes the SAP Central Instance. <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.
      centralInstanceName - Central Instance 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 centralInstanceName)
      Deletes the SAP Central Instance. <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.
      centralInstanceName - Central Instance 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 centralInstanceName, com.azure.core.util.Context context)
      Deletes the SAP Central Instance. <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.
      centralInstanceName - Central Instance 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<SapCentralServerInstanceInner> list(String resourceGroupName, String sapVirtualInstanceName)
      Lists the SAP Central Instances in an SVI.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP.
      Returns:
      defines the collection of SAP Central 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<SapCentralServerInstanceInner> list(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context)
      Lists the SAP Central Instances in an SVI.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP.
      context - The context to associate with this operation.
      Returns:
      defines the collection of SAP Central 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.