Class HanaInstanceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.hanaonazure.fluent.models.HanaInstanceInner

public final class HanaInstanceInner extends com.azure.core.management.Resource
HANA instance info on Azure (ARM properties and HANA properties).
  • Constructor Details

    • HanaInstanceInner

      public HanaInstanceInner()
      Creates an instance of HanaInstanceInner class.
  • Method Details

    • withLocation

      public HanaInstanceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public HanaInstanceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • hardwareProfile

      public HardwareProfile hardwareProfile()
      Get the hardwareProfile property: Specifies the hardware settings for the HANA instance.
      Returns:
      the hardwareProfile value.
    • withHardwareProfile

      public HanaInstanceInner withHardwareProfile(HardwareProfile hardwareProfile)
      Set the hardwareProfile property: Specifies the hardware settings for the HANA instance.
      Parameters:
      hardwareProfile - the hardwareProfile value to set.
      Returns:
      the HanaInstanceInner object itself.
    • storageProfile

      public StorageProfile storageProfile()
      Get the storageProfile property: Specifies the storage settings for the HANA instance disks.
      Returns:
      the storageProfile value.
    • withStorageProfile

      public HanaInstanceInner withStorageProfile(StorageProfile storageProfile)
      Set the storageProfile property: Specifies the storage settings for the HANA instance disks.
      Parameters:
      storageProfile - the storageProfile value to set.
      Returns:
      the HanaInstanceInner object itself.
    • osProfile

      public OSProfile osProfile()
      Get the osProfile property: Specifies the operating system settings for the HANA instance.
      Returns:
      the osProfile value.
    • withOsProfile

      public HanaInstanceInner withOsProfile(OSProfile osProfile)
      Set the osProfile property: Specifies the operating system settings for the HANA instance.
      Parameters:
      osProfile - the osProfile value to set.
      Returns:
      the HanaInstanceInner object itself.
    • networkProfile

      public NetworkProfile networkProfile()
      Get the networkProfile property: Specifies the network settings for the HANA instance.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public HanaInstanceInner withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: Specifies the network settings for the HANA instance.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the HanaInstanceInner object itself.
    • hanaInstanceId

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

      public HanaInstancePowerStateEnum powerState()
      Get the powerState property: Resource power state.
      Returns:
      the powerState value.
    • proximityPlacementGroup

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

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

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

      public HanaInstanceInner withPartnerNodeId(String partnerNodeId)
      Set the partnerNodeId property: ARM ID of another HanaInstance that will share a network with this HanaInstance.
      Parameters:
      partnerNodeId - the partnerNodeId value to set.
      Returns:
      the HanaInstanceInner object itself.
    • provisioningState

      public HanaProvisioningStatesEnum provisioningState()
      Get the provisioningState property: State of provisioning of the HanaInstance.
      Returns:
      the provisioningState value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.