Class WsfcDomainProfile


  • public final class WsfcDomainProfile
    extends Object
    Active Directory account details to operate Windows Server Failover Cluster.
    • Constructor Detail

      • WsfcDomainProfile

        public WsfcDomainProfile()
    • Method Detail

      • domainFqdn

        public String domainFqdn()
        Get the domainFqdn property: Fully qualified name of the domain.
        Returns:
        the domainFqdn value.
      • withDomainFqdn

        public WsfcDomainProfile withDomainFqdn​(String domainFqdn)
        Set the domainFqdn property: Fully qualified name of the domain.
        Parameters:
        domainFqdn - the domainFqdn value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • ouPath

        public String ouPath()
        Get the ouPath property: Organizational Unit path in which the nodes and cluster will be present.
        Returns:
        the ouPath value.
      • withOuPath

        public WsfcDomainProfile withOuPath​(String ouPath)
        Set the ouPath property: Organizational Unit path in which the nodes and cluster will be present.
        Parameters:
        ouPath - the ouPath value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • clusterBootstrapAccount

        public String clusterBootstrapAccount()
        Get the clusterBootstrapAccount property: Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
        Returns:
        the clusterBootstrapAccount value.
      • withClusterBootstrapAccount

        public WsfcDomainProfile withClusterBootstrapAccount​(String clusterBootstrapAccount)
        Set the clusterBootstrapAccount property: Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).
        Parameters:
        clusterBootstrapAccount - the clusterBootstrapAccount value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • clusterOperatorAccount

        public String clusterOperatorAccount()
        Get the clusterOperatorAccount property: Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
        Returns:
        the clusterOperatorAccount value.
      • withClusterOperatorAccount

        public WsfcDomainProfile withClusterOperatorAccount​(String clusterOperatorAccount)
        Set the clusterOperatorAccount property: Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster.
        Parameters:
        clusterOperatorAccount - the clusterOperatorAccount value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • sqlServiceAccount

        public String sqlServiceAccount()
        Get the sqlServiceAccount property: Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
        Returns:
        the sqlServiceAccount value.
      • withSqlServiceAccount

        public WsfcDomainProfile withSqlServiceAccount​(String sqlServiceAccount)
        Set the sqlServiceAccount property: Account name under which SQL service will run on all participating SQL virtual machines in the cluster.
        Parameters:
        sqlServiceAccount - the sqlServiceAccount value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • fileShareWitnessPath

        public String fileShareWitnessPath()
        Get the fileShareWitnessPath property: Optional path for fileshare witness.
        Returns:
        the fileShareWitnessPath value.
      • withFileShareWitnessPath

        public WsfcDomainProfile withFileShareWitnessPath​(String fileShareWitnessPath)
        Set the fileShareWitnessPath property: Optional path for fileshare witness.
        Parameters:
        fileShareWitnessPath - the fileShareWitnessPath value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • storageAccountUrl

        public String storageAccountUrl()
        Get the storageAccountUrl property: Fully qualified ARM resource id of the witness storage account.
        Returns:
        the storageAccountUrl value.
      • withStorageAccountUrl

        public WsfcDomainProfile withStorageAccountUrl​(String storageAccountUrl)
        Set the storageAccountUrl property: Fully qualified ARM resource id of the witness storage account.
        Parameters:
        storageAccountUrl - the storageAccountUrl value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • storageAccountPrimaryKey

        public String storageAccountPrimaryKey()
        Get the storageAccountPrimaryKey property: Primary key of the witness storage account.
        Returns:
        the storageAccountPrimaryKey value.
      • withStorageAccountPrimaryKey

        public WsfcDomainProfile withStorageAccountPrimaryKey​(String storageAccountPrimaryKey)
        Set the storageAccountPrimaryKey property: Primary key of the witness storage account.
        Parameters:
        storageAccountPrimaryKey - the storageAccountPrimaryKey value to set.
        Returns:
        the WsfcDomainProfile object itself.
      • validate

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