Class MsSqlServerProviderInstanceProperties
java.lang.Object
com.azure.resourcemanager.workloads.models.ProviderSpecificProperties
com.azure.resourcemanager.workloads.models.MsSqlServerProviderInstanceProperties
Gets or sets the SQL server provider properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dbPassword property: Gets or sets the database password.Get the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.dbPort()
Get the dbPort property: Gets or sets the database sql port.Get the dbUsername property: Gets or sets the database user name.hostname()
Get the hostname property: Gets or sets the SQL server host name.sapSid()
Get the sapSid property: Gets or sets the SAP System Identifier.void
validate()
Validates the instance.withDbPassword
(String dbPassword) Set the dbPassword property: Gets or sets the database password.withDbPasswordUri
(String dbPasswordUri) Set the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.withDbPort
(String dbPort) Set the dbPort property: Gets or sets the database sql port.withDbUsername
(String dbUsername) Set the dbUsername property: Gets or sets the database user name.withHostname
(String hostname) Set the hostname property: Gets or sets the SQL server host name.withSapSid
(String sapSid) Set the sapSid property: Gets or sets the SAP System Identifier.
-
Constructor Details
-
MsSqlServerProviderInstanceProperties
public MsSqlServerProviderInstanceProperties()
-
-
Method Details
-
hostname
Get the hostname property: Gets or sets the SQL server host name.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: Gets or sets the SQL server host name.- Parameters:
hostname
- the hostname value to set.- Returns:
- the MsSqlServerProviderInstanceProperties object itself.
-
dbPort
Get the dbPort property: Gets or sets the database sql port.- Returns:
- the dbPort value.
-
withDbPort
Set the dbPort property: Gets or sets the database sql port.- Parameters:
dbPort
- the dbPort value to set.- Returns:
- the MsSqlServerProviderInstanceProperties object itself.
-
dbUsername
Get the dbUsername property: Gets or sets the database user name.- Returns:
- the dbUsername value.
-
withDbUsername
Set the dbUsername property: Gets or sets the database user name.- Parameters:
dbUsername
- the dbUsername value to set.- Returns:
- the MsSqlServerProviderInstanceProperties object itself.
-
dbPassword
Get the dbPassword property: Gets or sets the database password.- Returns:
- the dbPassword value.
-
withDbPassword
Set the dbPassword property: Gets or sets the database password.- Parameters:
dbPassword
- the dbPassword value to set.- Returns:
- the MsSqlServerProviderInstanceProperties object itself.
-
dbPasswordUri
Get the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.- Returns:
- the dbPasswordUri value.
-
withDbPasswordUri
Set the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.- Parameters:
dbPasswordUri
- the dbPasswordUri value to set.- Returns:
- the MsSqlServerProviderInstanceProperties object itself.
-
sapSid
Get the sapSid property: Gets or sets the SAP System Identifier.- Returns:
- the sapSid value.
-
withSapSid
Set the sapSid property: Gets or sets the SAP System Identifier.- Parameters:
sapSid
- the sapSid value to set.- Returns:
- the MsSqlServerProviderInstanceProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProviderSpecificProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-