Interface HanaInstances


public interface HanaInstances
Resource collection API of HanaInstances.
  • Method Summary

    Modifier and Type
    Method
    Description
    define(String name)
    Begins definition for a new HanaInstance resource.
    void
    delete(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
    Deletes a SAP HANA instance.
    void
    Deletes a SAP HANA instance.
    void
    deleteByIdWithResponse(String id, com.azure.core.util.Context context)
    Deletes a SAP HANA instance.
    void
    deleteByResourceGroup(String resourceGroupName, String hanaInstanceName)
    Deletes a SAP HANA instance.
    Gets properties of a SAP HANA instance.
    com.azure.core.http.rest.Response<HanaInstance>
    getByIdWithResponse(String id, com.azure.core.util.Context context)
    Gets properties of a SAP HANA instance.
    getByResourceGroup(String resourceGroupName, String hanaInstanceName)
    Gets properties of a SAP HANA instance.
    com.azure.core.http.rest.Response<HanaInstance>
    getByResourceGroupWithResponse(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
    Gets properties of a SAP HANA instance.
    com.azure.core.http.rest.PagedIterable<HanaInstance>
    Gets a list of SAP HANA instances in the specified subscription.
    com.azure.core.http.rest.PagedIterable<HanaInstance>
    list(com.azure.core.util.Context context)
    Gets a list of SAP HANA instances in the specified subscription.
    com.azure.core.http.rest.PagedIterable<HanaInstance>
    listByResourceGroup(String resourceGroupName)
    Gets a list of SAP HANA instances in the specified subscription and the resource group.
    com.azure.core.http.rest.PagedIterable<HanaInstance>
    listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
    Gets a list of SAP HANA instances in the specified subscription and the resource group.
    void
    restart(String resourceGroupName, String hanaInstanceName)
    The operation to restart a SAP HANA instance.
    void
    restart(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
    The operation to restart a SAP HANA instance.
    void
    shutdown(String resourceGroupName, String hanaInstanceName)
    The operation to shutdown a SAP HANA instance.
    void
    shutdown(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
    The operation to shutdown a SAP HANA instance.
    void
    start(String resourceGroupName, String hanaInstanceName)
    The operation to start a SAP HANA instance.
    void
    start(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
    The operation to start a SAP HANA instance.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<HanaInstance> list()
      Gets a list of SAP HANA instances in the specified subscription.

      Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.

      Returns:
      a list of SAP HANA instances in the specified 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<HanaInstance> list(com.azure.core.util.Context context)
      Gets a list of SAP HANA instances in the specified subscription.

      Gets a list of SAP HANA instances in the specified subscription. The operations returns various properties of each SAP HANA on Azure instance.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of SAP HANA instances in the specified 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<HanaInstance> listByResourceGroup(String resourceGroupName)
      Gets a list of SAP HANA instances in the specified subscription and the resource group.

      Gets a list of SAP HANA instances in the specified subscription and the resource group. The operations returns various properties of each SAP HANA on Azure instance.

      Parameters:
      resourceGroupName - Name of the resource group.
      Returns:
      a list of SAP HANA instances in the specified subscription and the 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<HanaInstance> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets a list of SAP HANA instances in the specified subscription and the resource group.

      Gets a list of SAP HANA instances in the specified subscription and the resource group. The operations returns various properties of each SAP HANA on Azure instance.

      Parameters:
      resourceGroupName - Name of the resource group.
      context - The context to associate with this operation.
      Returns:
      a list of SAP HANA instances in the specified subscription and the 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<HanaInstance> getByResourceGroupWithResponse(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
      Gets properties of a SAP HANA instance.

      Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.

      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure instance.
      context - The context to associate with this operation.
      Returns:
      properties of a SAP HANA instance for the specified subscription, resource group, and instance name 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

      HanaInstance getByResourceGroup(String resourceGroupName, String hanaInstanceName)
      Gets properties of a SAP HANA instance.

      Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.

      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure instance.
      Returns:
      properties of a SAP HANA instance for the specified subscription, resource group, and instance name.
      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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String hanaInstanceName)
      Deletes a SAP HANA instance.

      Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.

      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure 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.
    • delete

      void delete(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
      Deletes a SAP HANA instance.

      Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.

      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure instance.
      context - The context to associate with this 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.
    • restart

      void restart(String resourceGroupName, String hanaInstanceName)
      The operation to restart a SAP HANA instance.
      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure 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.
    • restart

      void restart(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
      The operation to restart a SAP HANA instance.
      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure instance.
      context - The context to associate with this 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

      void start(String resourceGroupName, String hanaInstanceName)
      The operation to start a SAP HANA instance.
      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure 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.
    • start

      void start(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
      The operation to start a SAP HANA instance.
      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure instance.
      context - The context to associate with this 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.
    • shutdown

      void shutdown(String resourceGroupName, String hanaInstanceName)
      The operation to shutdown a SAP HANA instance.
      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure 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.
    • shutdown

      void shutdown(String resourceGroupName, String hanaInstanceName, com.azure.core.util.Context context)
      The operation to shutdown a SAP HANA instance.
      Parameters:
      resourceGroupName - Name of the resource group.
      hanaInstanceName - Name of the SAP HANA on Azure instance.
      context - The context to associate with this 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.
    • getById

      HanaInstance getById(String id)
      Gets properties of a SAP HANA instance.

      Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.

      Parameters:
      id - the resource ID.
      Returns:
      properties of a SAP HANA instance for the specified subscription, resource group, and instance name 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<HanaInstance> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets properties of a SAP HANA instance.

      Gets properties of a SAP HANA instance for the specified subscription, resource group, and instance name.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      properties of a SAP HANA instance for the specified subscription, resource group, and instance name 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.
    • deleteById

      void deleteById(String id)
      Deletes a SAP HANA instance.

      Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.

      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a SAP HANA instance.

      Deletes a SAP HANA instance with the specified subscription, resource group, and instance name.

      Parameters:
      id - the resource ID.
      context - The context to associate with this 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.
    • define

      Begins definition for a new HanaInstance resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new HanaInstance definition.