Class HanaInstanceProperties
java.lang.Object
com.azure.resourcemanager.hanaonazure.fluent.models.HanaInstanceProperties
Describes the properties of a HANA instance.
-
Constructor Summary
ConstructorDescriptionCreates an instance of HanaInstanceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the hanaInstanceId property: Specifies the HANA instance unique ID.Get the hardwareProfile property: Specifies the hardware settings for the HANA instance.Get the hwRevision property: Hardware revision of a HANA instance.Get the networkProfile property: Specifies the network settings for the HANA instance.Get the osProfile property: Specifies the operating system settings for the HANA instance.Get the partnerNodeId property: ARM ID of another HanaInstance that will share a network with this HanaInstance.Get the powerState property: Resource power state.Get the provisioningState property: State of provisioning of the HanaInstance.Get the proximityPlacementGroup property: Resource proximity placement group.Get the storageProfile property: Specifies the storage settings for the HANA instance disks.void
validate()
Validates the instance.withHardwareProfile
(HardwareProfile hardwareProfile) Set the hardwareProfile property: Specifies the hardware settings for the HANA instance.withNetworkProfile
(NetworkProfile networkProfile) Set the networkProfile property: Specifies the network settings for the HANA instance.withOsProfile
(OSProfile osProfile) Set the osProfile property: Specifies the operating system settings for the HANA instance.withPartnerNodeId
(String partnerNodeId) Set the partnerNodeId property: ARM ID of another HanaInstance that will share a network with this HanaInstance.withStorageProfile
(StorageProfile storageProfile) Set the storageProfile property: Specifies the storage settings for the HANA instance disks.
-
Constructor Details
-
HanaInstanceProperties
public HanaInstanceProperties()Creates an instance of HanaInstanceProperties class.
-
-
Method Details
-
hardwareProfile
Get the hardwareProfile property: Specifies the hardware settings for the HANA instance.- Returns:
- the hardwareProfile value.
-
withHardwareProfile
Set the hardwareProfile property: Specifies the hardware settings for the HANA instance.- Parameters:
hardwareProfile
- the hardwareProfile value to set.- Returns:
- the HanaInstanceProperties object itself.
-
storageProfile
Get the storageProfile property: Specifies the storage settings for the HANA instance disks.- Returns:
- the storageProfile value.
-
withStorageProfile
Set the storageProfile property: Specifies the storage settings for the HANA instance disks.- Parameters:
storageProfile
- the storageProfile value to set.- Returns:
- the HanaInstanceProperties object itself.
-
osProfile
Get the osProfile property: Specifies the operating system settings for the HANA instance.- Returns:
- the osProfile value.
-
withOsProfile
Set the osProfile property: Specifies the operating system settings for the HANA instance.- Parameters:
osProfile
- the osProfile value to set.- Returns:
- the HanaInstanceProperties object itself.
-
networkProfile
Get the networkProfile property: Specifies the network settings for the HANA instance.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: Specifies the network settings for the HANA instance.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the HanaInstanceProperties object itself.
-
hanaInstanceId
Get the hanaInstanceId property: Specifies the HANA instance unique ID.- Returns:
- the hanaInstanceId value.
-
powerState
Get the powerState property: Resource power state.- Returns:
- the powerState value.
-
proximityPlacementGroup
Get the proximityPlacementGroup property: Resource proximity placement group.- Returns:
- the proximityPlacementGroup value.
-
hwRevision
Get the hwRevision property: Hardware revision of a HANA instance.- Returns:
- the hwRevision value.
-
partnerNodeId
Get the partnerNodeId property: ARM ID of another HanaInstance that will share a network with this HanaInstance.- Returns:
- the partnerNodeId value.
-
withPartnerNodeId
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 HanaInstanceProperties object itself.
-
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.
-