SqlServerInstanceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. azurearcdata. models. SqlServerInstanceProperties
- com.
Implements
public final class SqlServerInstanceProperties
implements JsonSerializable<SqlServerInstanceProperties>
Properties of SqlServerInstance.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlServerInstanceProperties() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Defender |
azureDefenderStatus()
Get the azure |
|
Offset |
azureDefenderStatusLastUpdated()
Get the azure |
| String |
collation()
Get the collation property: SQL Server collation. |
| String |
containerResourceId()
Get the container |
| String |
createTime()
Get the create |
| String |
currentVersion()
Get the current |
|
Edition |
edition()
Get the edition property: SQL Server edition. |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
instanceName()
Get the instance |
|
Arc |
licenseType()
Get the license |
| String |
patchLevel()
Get the patch |
| String |
productId()
Get the product |
| String |
provisioningState()
Get the provisioning |
|
Connection |
status()
Get the status property: The cloud connectivity status. |
| String |
tcpDynamicPorts()
Get the tcp |
| String |
tcpStaticPorts()
Get the tcp |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
vCore()
Get the v |
|
Sql |
version()
Get the version property: SQL Server version. |
|
Sql |
withAzureDefenderStatus(DefenderStatus azureDefenderStatus)
Set the azure |
|
Sql |
withAzureDefenderStatusLastUpdated(OffsetDateTime azureDefenderStatusLastUpdated)
Set the azure |
|
Sql |
withCollation(String collation)
Set the collation property: SQL Server collation. |
|
Sql |
withContainerResourceId(String containerResourceId)
Set the container |
|
Sql |
withCurrentVersion(String currentVersion)
Set the current |
|
Sql |
withEdition(EditionType edition)
Set the edition property: SQL Server edition. |
|
Sql |
withInstanceName(String instanceName)
Set the instance |
|
Sql |
withLicenseType(ArcSqlServerLicenseType licenseType)
Set the license |
|
Sql |
withPatchLevel(String patchLevel)
Set the patch |
|
Sql |
withProductId(String productId)
Set the product |
|
Sql |
withStatus(ConnectionStatus status)
Set the status property: The cloud connectivity status. |
|
Sql |
withTcpDynamicPorts(String tcpDynamicPorts)
Set the tcp |
|
Sql |
withTcpStaticPorts(String tcpStaticPorts)
Set the tcp |
|
Sql |
withVCore(String vCore)
Set the v |
|
Sql |
withVersion(SqlVersion version)
Set the version property: SQL Server version. |
Methods inherited from java.lang.Object
Constructor Details
SqlServerInstanceProperties
public SqlServerInstanceProperties()
Creates an instance of SqlServerInstanceProperties class.
Method Details
azureDefenderStatus
public DefenderStatus azureDefenderStatus()
Get the azureDefenderStatus property: Status of Azure Defender.
Returns:
azureDefenderStatusLastUpdated
public OffsetDateTime azureDefenderStatusLastUpdated()
Get the azureDefenderStatusLastUpdated property: Timestamp of last Azure Defender status update.
Returns:
collation
public String collation()
Get the collation property: SQL Server collation.
Returns:
containerResourceId
public String containerResourceId()
Get the containerResourceId property: ARM Resource id of the container resource (Azure Arc for Servers).
Returns:
createTime
public String createTime()
Get the createTime property: The time when the resource was created.
Returns:
currentVersion
public String currentVersion()
Get the currentVersion property: SQL Server current version.
Returns:
edition
public EditionType edition()
Get the edition property: SQL Server edition.
Returns:
fromJson
public static SqlServerInstanceProperties fromJson(JsonReader jsonReader)
Reads an instance of SqlServerInstanceProperties from the JsonReader.
Parameters:
Returns:
Throws:
instanceName
public String instanceName()
Get the instanceName property: SQL Server instance name.
Returns:
licenseType
public ArcSqlServerLicenseType licenseType()
Get the licenseType property: SQL Server license type.
Returns:
patchLevel
public String patchLevel()
Get the patchLevel property: SQL Server update level.
Returns:
productId
public String productId()
Get the productId property: SQL Server product ID.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioningState property.
Returns:
status
public ConnectionStatus status()
Get the status property: The cloud connectivity status.
Returns:
tcpDynamicPorts
public String tcpDynamicPorts()
Get the tcpDynamicPorts property: Dynamic TCP ports used by SQL Server.
Returns:
tcpStaticPorts
public String tcpStaticPorts()
Get the tcpStaticPorts property: Static TCP ports used by SQL Server.
Returns:
toJson
validate
public void validate()
Validates the instance.
vCore
public String vCore()
Get the vCore property: The number of logical processors used by the SQL Server instance.
Returns:
version
public SqlVersion version()
Get the version property: SQL Server version.
Returns:
withAzureDefenderStatus
public SqlServerInstanceProperties withAzureDefenderStatus(DefenderStatus azureDefenderStatus)
Set the azureDefenderStatus property: Status of Azure Defender.
Parameters:
Returns:
withAzureDefenderStatusLastUpdated
public SqlServerInstanceProperties withAzureDefenderStatusLastUpdated(OffsetDateTime azureDefenderStatusLastUpdated)
Set the azureDefenderStatusLastUpdated property: Timestamp of last Azure Defender status update.
Parameters:
Returns:
withCollation
public SqlServerInstanceProperties withCollation(String collation)
Set the collation property: SQL Server collation.
Parameters:
Returns:
withContainerResourceId
public SqlServerInstanceProperties withContainerResourceId(String containerResourceId)
Set the containerResourceId property: ARM Resource id of the container resource (Azure Arc for Servers).
Parameters:
Returns:
withCurrentVersion
public SqlServerInstanceProperties withCurrentVersion(String currentVersion)
Set the currentVersion property: SQL Server current version.
Parameters:
Returns:
withEdition
public SqlServerInstanceProperties withEdition(EditionType edition)
Set the edition property: SQL Server edition.
Parameters:
Returns:
withInstanceName
public SqlServerInstanceProperties withInstanceName(String instanceName)
Set the instanceName property: SQL Server instance name.
Parameters:
Returns:
withLicenseType
public SqlServerInstanceProperties withLicenseType(ArcSqlServerLicenseType licenseType)
Set the licenseType property: SQL Server license type.
Parameters:
Returns:
withPatchLevel
public SqlServerInstanceProperties withPatchLevel(String patchLevel)
Set the patchLevel property: SQL Server update level.
Parameters:
Returns:
withProductId
public SqlServerInstanceProperties withProductId(String productId)
Set the productId property: SQL Server product ID.
Parameters:
Returns:
withStatus
public SqlServerInstanceProperties withStatus(ConnectionStatus status)
Set the status property: The cloud connectivity status.
Parameters:
Returns:
withTcpDynamicPorts
public SqlServerInstanceProperties withTcpDynamicPorts(String tcpDynamicPorts)
Set the tcpDynamicPorts property: Dynamic TCP ports used by SQL Server.
Parameters:
Returns:
withTcpStaticPorts
public SqlServerInstanceProperties withTcpStaticPorts(String tcpStaticPorts)
Set the tcpStaticPorts property: Static TCP ports used by SQL Server.
Parameters:
Returns:
withVCore
public SqlServerInstanceProperties withVCore(String vCore)
Set the vCore property: The number of logical processors used by the SQL Server instance.
Parameters:
Returns:
withVersion
public SqlServerInstanceProperties withVersion(SqlVersion version)
Set the version property: SQL Server version.
Parameters:
Returns: