Class SqlVirtualMachineGroupInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.sqlvirtualmachine.fluent.models.SqlVirtualMachineGroupInner
-
public final class SqlVirtualMachineGroupInner extends com.azure.core.management.Resource
A SQL virtual machine group.
-
-
Constructor Summary
Constructors Constructor Description SqlVirtualMachineGroupInner()
-
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.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.SqlVirtualMachineGroupInner
withLocation(String location)
SqlVirtualMachineGroupInner
withSqlImageOffer(String sqlImageOffer)
Set the sqlImageOffer property: SQL image offer.SqlVirtualMachineGroupInner
withSqlImageSku(SqlVmGroupImageSku sqlImageSku)
Set the sqlImageSku property: SQL image sku.SqlVirtualMachineGroupInner
withTags(Map<String,String> tags)
SqlVirtualMachineGroupInner
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
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withLocation
public SqlVirtualMachineGroupInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public SqlVirtualMachineGroupInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 SqlVirtualMachineGroupInner 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 SqlVirtualMachineGroupInner object itself.
-
sqlImageSku
public SqlVmGroupImageSku sqlImageSku()
Get the sqlImageSku property: SQL image sku.- Returns:
- the sqlImageSku value.
-
withSqlImageSku
public SqlVirtualMachineGroupInner withSqlImageSku(SqlVmGroupImageSku sqlImageSku)
Set the sqlImageSku property: SQL image sku.- Parameters:
sqlImageSku
- the sqlImageSku value to set.- Returns:
- the SqlVirtualMachineGroupInner 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 SqlVirtualMachineGroupInner withWsfcDomainProfile(WsfcDomainProfile wsfcDomainProfile)
Set the wsfcDomainProfile property: Cluster Active Directory domain profile.- Parameters:
wsfcDomainProfile
- the wsfcDomainProfile value to set.- Returns:
- the SqlVirtualMachineGroupInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-