Class WsfcDomainProfile
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.WsfcDomainProfile
Active Directory account details to operate Windows Server Failover Cluster.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the clusterBootstrapAccount property: Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).Get the clusterOperatorAccount property: Account name used for operating cluster i.e.Get the clusterSubnetType property: Cluster subnet type.Get the domainFqdn property: Fully qualified name of the domain.Get the fileShareWitnessPath property: Optional path for fileshare witness.ouPath()
Get the ouPath property: Organizational Unit path in which the nodes and cluster will be present.Get the sqlServiceAccount property: Account name under which SQL service will run on all participating SQL virtual machines in the cluster.Get the storageAccountPrimaryKey property: Primary key of the witness storage account.Get the storageAccountUrl property: Fully qualified ARM resource id of the witness storage account.void
validate()
Validates the instance.withClusterBootstrapAccount
(String clusterBootstrapAccount) Set the clusterBootstrapAccount property: Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain).withClusterOperatorAccount
(String clusterOperatorAccount) Set the clusterOperatorAccount property: Account name used for operating cluster i.e.withClusterSubnetType
(ClusterSubnetType clusterSubnetType) Set the clusterSubnetType property: Cluster subnet type.withDomainFqdn
(String domainFqdn) Set the domainFqdn property: Fully qualified name of the domain.withFileShareWitnessPath
(String fileShareWitnessPath) Set the fileShareWitnessPath property: Optional path for fileshare witness.withOuPath
(String ouPath) Set the ouPath property: Organizational Unit path in which the nodes and cluster will be present.withSqlServiceAccount
(String sqlServiceAccount) Set the sqlServiceAccount property: Account name under which SQL service will run on all participating SQL virtual machines in the cluster.withStorageAccountPrimaryKey
(String storageAccountPrimaryKey) Set the storageAccountPrimaryKey property: Primary key of the witness storage account.withStorageAccountUrl
(String storageAccountUrl) Set the storageAccountUrl property: Fully qualified ARM resource id of the witness storage account.
-
Constructor Details
-
WsfcDomainProfile
public WsfcDomainProfile()
-
-
Method Details
-
domainFqdn
Get the domainFqdn property: Fully qualified name of the domain.- Returns:
- the domainFqdn value.
-
withDomainFqdn
Set the domainFqdn property: Fully qualified name of the domain.- Parameters:
domainFqdn
- the domainFqdn value to set.- Returns:
- the WsfcDomainProfile object itself.
-
ouPath
Get the ouPath property: Organizational Unit path in which the nodes and cluster will be present.- Returns:
- the ouPath value.
-
withOuPath
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
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
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
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
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
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
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.
-
storageAccountUrl
Get the storageAccountUrl property: Fully qualified ARM resource id of the witness storage account.- Returns:
- the storageAccountUrl value.
-
withStorageAccountUrl
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
Get the storageAccountPrimaryKey property: Primary key of the witness storage account.- Returns:
- the storageAccountPrimaryKey value.
-
withStorageAccountPrimaryKey
Set the storageAccountPrimaryKey property: Primary key of the witness storage account.- Parameters:
storageAccountPrimaryKey
- the storageAccountPrimaryKey value to set.- Returns:
- the WsfcDomainProfile object itself.
-
clusterSubnetType
Get the clusterSubnetType property: Cluster subnet type.- Returns:
- the clusterSubnetType value.
-
withClusterSubnetType
Set the clusterSubnetType property: Cluster subnet type.- Parameters:
clusterSubnetType
- the clusterSubnetType value to set.- Returns:
- the WsfcDomainProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-