Interface HanaInstance


public interface HanaInstance
An immutable client-side representation of HanaInstance.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the HanaInstance definition.
    static interface 
    The HanaInstance definition stages.
    static interface 
    The template for HanaInstance update.
    static interface 
    The HanaInstance update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the hanaInstanceId property: Specifies the HANA instance unique ID.
    Gets the hardwareProfile property: Specifies the hardware settings for the HANA instance.
    Gets the hwRevision property: Hardware revision of a HANA instance.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.hanaonazure.fluent.models.HanaInstanceInner object.
    Gets the location property: The geo-location where the resource lives.
    Gets the name property: The name of the resource.
    Gets the networkProfile property: Specifies the network settings for the HANA instance.
    Gets the osProfile property: Specifies the operating system settings for the HANA instance.
    Gets the partnerNodeId property: ARM ID of another HanaInstance that will share a network with this HanaInstance.
    Gets the powerState property: Resource power state.
    Gets the provisioningState property: State of provisioning of the HanaInstance.
    Gets the proximityPlacementGroup property: Resource proximity placement group.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    com.azure.core.management.Region
    Gets the region of the resource.
    Gets the name of the resource region.
    Gets the name of the resource group.
    void
    The operation to restart a SAP HANA instance.
    void
    restart(com.azure.core.util.Context context)
    The operation to restart a SAP HANA instance.
    void
    The operation to shutdown a SAP HANA instance.
    void
    shutdown(com.azure.core.util.Context context)
    The operation to shutdown a SAP HANA instance.
    void
    The operation to start a SAP HANA instance.
    void
    start(com.azure.core.util.Context context)
    The operation to start a SAP HANA instance.
    Gets the storageProfile property: Specifies the storage settings for the HANA instance disks.
    Gets the tags property: Resource tags.
    Gets the type property: The type of the resource.
    Begins update for the HanaInstance resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • hardwareProfile

      HardwareProfile hardwareProfile()
      Gets the hardwareProfile property: Specifies the hardware settings for the HANA instance.
      Returns:
      the hardwareProfile value.
    • storageProfile

      StorageProfile storageProfile()
      Gets the storageProfile property: Specifies the storage settings for the HANA instance disks.
      Returns:
      the storageProfile value.
    • osProfile

      OSProfile osProfile()
      Gets the osProfile property: Specifies the operating system settings for the HANA instance.
      Returns:
      the osProfile value.
    • networkProfile

      NetworkProfile networkProfile()
      Gets the networkProfile property: Specifies the network settings for the HANA instance.
      Returns:
      the networkProfile value.
    • hanaInstanceId

      String hanaInstanceId()
      Gets the hanaInstanceId property: Specifies the HANA instance unique ID.
      Returns:
      the hanaInstanceId value.
    • powerState

      Gets the powerState property: Resource power state.
      Returns:
      the powerState value.
    • proximityPlacementGroup

      String proximityPlacementGroup()
      Gets the proximityPlacementGroup property: Resource proximity placement group.
      Returns:
      the proximityPlacementGroup value.
    • hwRevision

      String hwRevision()
      Gets the hwRevision property: Hardware revision of a HANA instance.
      Returns:
      the hwRevision value.
    • partnerNodeId

      String partnerNodeId()
      Gets the partnerNodeId property: ARM ID of another HanaInstance that will share a network with this HanaInstance.
      Returns:
      the partnerNodeId value.
    • provisioningState

      HanaProvisioningStatesEnum provisioningState()
      Gets the provisioningState property: State of provisioning of the HanaInstance.
      Returns:
      the provisioningState value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      HanaInstanceInner innerModel()
      Gets the inner com.azure.resourcemanager.hanaonazure.fluent.models.HanaInstanceInner object.
      Returns:
      the inner object.
    • update

      Begins update for the HanaInstance resource.
      Returns:
      the stage of resource update.
    • refresh

      HanaInstance refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      HanaInstance refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • restart

      void restart()
      The operation to restart a SAP HANA instance.
      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.
    • restart

      void restart(com.azure.core.util.Context context)
      The operation to restart a SAP HANA instance.
      Parameters:
      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()
      The operation to start a SAP HANA instance.
      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.
    • start

      void start(com.azure.core.util.Context context)
      The operation to start a SAP HANA instance.
      Parameters:
      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()
      The operation to shutdown a SAP HANA instance.
      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.
    • shutdown

      void shutdown(com.azure.core.util.Context context)
      The operation to shutdown a SAP HANA instance.
      Parameters:
      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.