Class WsfcDomainCredentials

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

public final class WsfcDomainCredentials extends Object
Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
  • Constructor Details

    • WsfcDomainCredentials

      public WsfcDomainCredentials()
  • Method Details

    • clusterBootstrapAccountPassword

      public String 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

      public String 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

      public String sqlServiceAccountPassword()
      Get the sqlServiceAccountPassword property: SQL service account password.
      Returns:
      the sqlServiceAccountPassword value.
    • 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.
    • validate

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