Interface SapVirtualInstancesClient


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

    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SapVirtualInstanceInner>,SapVirtualInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName)
      Creates a Virtual Instance for SAP solutions (VIS) 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:
      the SyncPoller for polling of define the Virtual Instance for SAP solutions 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<SapVirtualInstanceInner>,SapVirtualInstanceInner> beginCreate(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, com.azure.core.util.Context context)
      Creates a Virtual Instance for SAP solutions (VIS) 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.
      body - Virtual Instance for SAP solutions resource request body.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of define the Virtual Instance for SAP solutions 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

      SapVirtualInstanceInner create(String resourceGroupName, String sapVirtualInstanceName)
      Creates a Virtual Instance for SAP solutions (VIS) 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:
      define the Virtual Instance for SAP solutions 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

      SapVirtualInstanceInner create(String resourceGroupName, String sapVirtualInstanceName, SapVirtualInstanceInner body, com.azure.core.util.Context context)
      Creates a Virtual Instance for SAP solutions (VIS) 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.
      body - Virtual Instance for SAP solutions resource request body.
      context - The context to associate with this operation.
      Returns:
      define the Virtual Instance for SAP solutions 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<SapVirtualInstanceInner> getByResourceGroupWithResponse(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context)
      Gets 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:
      a Virtual Instance for SAP solutions 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.
    • getByResourceGroup

      SapVirtualInstanceInner getByResourceGroup(String resourceGroupName, String sapVirtualInstanceName)
      Gets 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:
      a Virtual Instance for SAP solutions 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<SapVirtualInstanceInner> updateWithResponse(String resourceGroupName, String sapVirtualInstanceName, UpdateSapVirtualInstanceRequest body, com.azure.core.util.Context context)
      Updates 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.
      body - Request body to update a Virtual Instance for SAP solutions resource.
      context - The context to associate with this operation.
      Returns:
      define the Virtual Instance for SAP solutions 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.
    • update

      SapVirtualInstanceInner update(String resourceGroupName, String sapVirtualInstanceName)
      Updates 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:
      define the Virtual Instance for SAP solutions 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)
      Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.
      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:
      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, com.azure.core.util.Context context)
      Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.
      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:
      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)
      Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.
      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:
      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, com.azure.core.util.Context context)
      Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.
      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:
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<SapVirtualInstanceInner> listByResourceGroup(String resourceGroupName)
      Gets all Virtual Instances for SAP solutions resources in a Resource Group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      all Virtual Instances for SAP solutions resources in a Resource Group 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<SapVirtualInstanceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all Virtual Instances for SAP solutions resources in a Resource Group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      all Virtual Instances for SAP solutions resources in a Resource Group 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<SapVirtualInstanceInner> list()
      Gets all Virtual Instances for SAP solutions resources in a Subscription.
      Returns:
      all Virtual Instances for SAP solutions resources in a Subscription as paginated response with PagedIterable.
      Throws:
      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<SapVirtualInstanceInner> list(com.azure.core.util.Context context)
      Gets all Virtual Instances for SAP solutions resources in a Subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all Virtual Instances for SAP solutions resources in a Subscription 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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStart(String resourceGroupName, String sapVirtualInstanceName)
      Starts the SAP application, that is the Central Services instance and Application server instances.
      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:
      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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStart(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context)
      Starts the SAP application, that is the Central Services instance and Application server instances.
      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:
      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.
    • start

      OperationStatusResultInner start(String resourceGroupName, String sapVirtualInstanceName)
      Starts the SAP application, that is the Central Services instance and Application server instances.
      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:
      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.
    • start

      OperationStatusResultInner start(String resourceGroupName, String sapVirtualInstanceName, com.azure.core.util.Context context)
      Starts the SAP application, that is the Central Services instance and Application server instances.
      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:
      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.
    • beginStop

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStop(String resourceGroupName, String sapVirtualInstanceName)
      Stops the SAP Application, that is the Application server instances and Central Services instance.
      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:
      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.
    • beginStop

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResultInner>,OperationStatusResultInner> beginStop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context)
      Stops the SAP Application, that is the Application server instances and Central Services instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      body - The Virtual Instance for SAP solutions resource stop request body.
      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.
    • stop

      OperationStatusResultInner stop(String resourceGroupName, String sapVirtualInstanceName)
      Stops the SAP Application, that is the Application server instances and Central Services instance.
      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:
      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.
    • stop

      OperationStatusResultInner stop(String resourceGroupName, String sapVirtualInstanceName, StopRequest body, com.azure.core.util.Context context)
      Stops the SAP Application, that is the Application server instances and Central Services instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      sapVirtualInstanceName - The name of the Virtual Instances for SAP solutions resource.
      body - The Virtual Instance for SAP solutions resource stop request body.
      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.