Class WsfcDomainCredentials
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.WsfcDomainCredentials
Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the clusterBootstrapAccountPassword property: Cluster bootstrap account password.Get the clusterOperatorAccountPassword property: Cluster operator account password.Get the sqlServiceAccountPassword property: SQL service account password.void
validate()
Validates the instance.withClusterBootstrapAccountPassword
(String clusterBootstrapAccountPassword) Set the clusterBootstrapAccountPassword property: Cluster bootstrap account password.withClusterOperatorAccountPassword
(String clusterOperatorAccountPassword) Set the clusterOperatorAccountPassword property: Cluster operator account password.withSqlServiceAccountPassword
(String sqlServiceAccountPassword) Set the sqlServiceAccountPassword property: SQL service account password.
-
Constructor Details
-
WsfcDomainCredentials
public WsfcDomainCredentials()
-
-
Method Details
-
clusterBootstrapAccountPassword
Get the clusterBootstrapAccountPassword property: Cluster bootstrap account password.- Returns:
- the clusterBootstrapAccountPassword value.
-
withClusterBootstrapAccountPassword
public WsfcDomainCredentials withClusterBootstrapAccountPassword(String clusterBootstrapAccountPassword) Set the clusterBootstrapAccountPassword property: Cluster bootstrap account password.- Parameters:
clusterBootstrapAccountPassword
- the clusterBootstrapAccountPassword value to set.- Returns:
- the WsfcDomainCredentials object itself.
-
clusterOperatorAccountPassword
Get the clusterOperatorAccountPassword property: Cluster operator account password.- Returns:
- the clusterOperatorAccountPassword value.
-
withClusterOperatorAccountPassword
public WsfcDomainCredentials withClusterOperatorAccountPassword(String clusterOperatorAccountPassword) Set the clusterOperatorAccountPassword property: Cluster operator account password.- Parameters:
clusterOperatorAccountPassword
- the clusterOperatorAccountPassword value to set.- Returns:
- the WsfcDomainCredentials object itself.
-
sqlServiceAccountPassword
Get the sqlServiceAccountPassword property: SQL service account password.- Returns:
- the sqlServiceAccountPassword value.
-
withSqlServiceAccountPassword
Set the sqlServiceAccountPassword property: SQL service account password.- Parameters:
sqlServiceAccountPassword
- the sqlServiceAccountPassword value to set.- Returns:
- the WsfcDomainCredentials object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-