Class SqlVirtualMachineGroupProperties
- java.lang.Object
-
- com.azure.resourcemanager.sqlvirtualmachine.fluent.models.SqlVirtualMachineGroupProperties
-
public final class SqlVirtualMachineGroupProperties extends Object
The properties of a SQL virtual machine group.
-
-
Constructor Summary
Constructors Constructor Description SqlVirtualMachineGroupProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterConfiguration
clusterConfiguration()
Get the clusterConfiguration property: Cluster type.ClusterManagerType
clusterManagerType()
Get the clusterManagerType property: Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.String
provisioningState()
Get the provisioningState property: Provisioning state to track the async operation status.ScaleType
scaleType()
Get the scaleType property: Scale type.String
sqlImageOffer()
Get the sqlImageOffer property: SQL image offer.SqlVmGroupImageSku
sqlImageSku()
Get the sqlImageSku property: SQL image sku.void
validate()
Validates the instance.SqlVirtualMachineGroupProperties
withSqlImageOffer(String sqlImageOffer)
Set the sqlImageOffer property: SQL image offer.SqlVirtualMachineGroupProperties
withSqlImageSku(SqlVmGroupImageSku sqlImageSku)
Set the sqlImageSku property: SQL image sku.SqlVirtualMachineGroupProperties
withWsfcDomainProfile(WsfcDomainProfile wsfcDomainProfile)
Set the wsfcDomainProfile property: Cluster Active Directory domain profile.WsfcDomainProfile
wsfcDomainProfile()
Get the wsfcDomainProfile property: Cluster Active Directory domain profile.
-
-
-
Method Detail
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state to track the async operation status.- Returns:
- the provisioningState value.
-
sqlImageOffer
public String sqlImageOffer()
Get the sqlImageOffer property: SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.- Returns:
- the sqlImageOffer value.
-
withSqlImageOffer
public SqlVirtualMachineGroupProperties withSqlImageOffer(String sqlImageOffer)
Set the sqlImageOffer property: SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.- Parameters:
sqlImageOffer
- the sqlImageOffer value to set.- Returns:
- the SqlVirtualMachineGroupProperties object itself.
-
sqlImageSku
public SqlVmGroupImageSku sqlImageSku()
Get the sqlImageSku property: SQL image sku.- Returns:
- the sqlImageSku value.
-
withSqlImageSku
public SqlVirtualMachineGroupProperties withSqlImageSku(SqlVmGroupImageSku sqlImageSku)
Set the sqlImageSku property: SQL image sku.- Parameters:
sqlImageSku
- the sqlImageSku value to set.- Returns:
- the SqlVirtualMachineGroupProperties object itself.
-
scaleType
public ScaleType scaleType()
Get the scaleType property: Scale type.- Returns:
- the scaleType value.
-
clusterManagerType
public ClusterManagerType clusterManagerType()
Get the clusterManagerType property: Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.- Returns:
- the clusterManagerType value.
-
clusterConfiguration
public ClusterConfiguration clusterConfiguration()
Get the clusterConfiguration property: Cluster type.- Returns:
- the clusterConfiguration value.
-
wsfcDomainProfile
public WsfcDomainProfile wsfcDomainProfile()
Get the wsfcDomainProfile property: Cluster Active Directory domain profile.- Returns:
- the wsfcDomainProfile value.
-
withWsfcDomainProfile
public SqlVirtualMachineGroupProperties withWsfcDomainProfile(WsfcDomainProfile wsfcDomainProfile)
Set the wsfcDomainProfile property: Cluster Active Directory domain profile.- Parameters:
wsfcDomainProfile
- the wsfcDomainProfile value to set.- Returns:
- the SqlVirtualMachineGroupProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-