WsfcDomainCredentials Class

  • java.lang.Object
    • com.azure.resourcemanager.sqlvirtualmachine.models.WsfcDomainCredentials

public final class WsfcDomainCredentials

Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.

Constructor Summary

Constructor Description
WsfcDomainCredentials()

Creates an instance of WsfcDomainCredentials class.

Method Summary

Modifier and Type Method and Description
String clusterBootstrapAccountPassword()

Get the clusterBootstrapAccountPassword property: Cluster bootstrap account password.

String clusterOperatorAccountPassword()

Get the clusterOperatorAccountPassword property: Cluster operator account password.

String sqlServiceAccountPassword()

Get the sqlServiceAccountPassword property: SQL service account password.

void validate()

Validates the instance.

WsfcDomainCredentials withClusterBootstrapAccountPassword(String clusterBootstrapAccountPassword)

Set the clusterBootstrapAccountPassword property: Cluster bootstrap account password.

WsfcDomainCredentials withClusterOperatorAccountPassword(String clusterOperatorAccountPassword)

Set the clusterOperatorAccountPassword property: Cluster operator account password.

WsfcDomainCredentials withSqlServiceAccountPassword(String sqlServiceAccountPassword)

Set the sqlServiceAccountPassword property: SQL service account password.

Methods inherited from java.lang.Object

Constructor Details

WsfcDomainCredentials

public WsfcDomainCredentials()

Creates an instance of WsfcDomainCredentials class.

Method Details

clusterBootstrapAccountPassword

public String clusterBootstrapAccountPassword()

Get the clusterBootstrapAccountPassword property: Cluster bootstrap account password.

Returns:

the clusterBootstrapAccountPassword value.

clusterOperatorAccountPassword

public String clusterOperatorAccountPassword()

Get the clusterOperatorAccountPassword property: Cluster operator account password.

Returns:

the clusterOperatorAccountPassword value.

sqlServiceAccountPassword

public String sqlServiceAccountPassword()

Get the sqlServiceAccountPassword property: SQL service account password.

Returns:

the sqlServiceAccountPassword value.

validate

public void validate()

Validates the instance.

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.

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.

withSqlServiceAccountPassword

public WsfcDomainCredentials withSqlServiceAccountPassword(String sqlServiceAccountPassword)

Set the sqlServiceAccountPassword property: SQL service account password.

Parameters:

sqlServiceAccountPassword - the sqlServiceAccountPassword value to set.

Returns:

the WsfcDomainCredentials object itself.

Applies to