Class HighAvailabilitySoftwareConfiguration
java.lang.Object
com.azure.resourcemanager.workloads.models.HighAvailabilitySoftwareConfiguration
Gets or sets the HA software configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the fencingClientId property: The fencing client id.Get the fencingClientPassword property: The fencing client id secret/password.void
validate()
Validates the instance.withFencingClientId
(String fencingClientId) Set the fencingClientId property: The fencing client id.withFencingClientPassword
(String fencingClientPassword) Set the fencingClientPassword property: The fencing client id secret/password.
-
Constructor Details
-
HighAvailabilitySoftwareConfiguration
public HighAvailabilitySoftwareConfiguration()
-
-
Method Details
-
fencingClientId
Get the fencingClientId property: The fencing client id.- Returns:
- the fencingClientId value.
-
withFencingClientId
Set the fencingClientId property: The fencing client id.- Parameters:
fencingClientId
- the fencingClientId value to set.- Returns:
- the HighAvailabilitySoftwareConfiguration object itself.
-
fencingClientPassword
Get the fencingClientPassword property: The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.- Returns:
- the fencingClientPassword value.
-
withFencingClientPassword
public HighAvailabilitySoftwareConfiguration withFencingClientPassword(String fencingClientPassword) Set the fencingClientPassword property: The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.- Parameters:
fencingClientPassword
- the fencingClientPassword value to set.- Returns:
- the HighAvailabilitySoftwareConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-