Class SqlConnectivityUpdateSettings
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.SqlConnectivityUpdateSettings
Set the access level and network port settings for SQL Server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the connectivityType property: SQL Server connectivity option.port()
Get the port property: SQL Server port.Get the sqlAuthUpdatePassword property: SQL Server sysadmin login password.Get the sqlAuthUpdateUsername property: SQL Server sysadmin login to create.void
validate()
Validates the instance.withConnectivityType
(ConnectivityType connectivityType) Set the connectivityType property: SQL Server connectivity option.Set the port property: SQL Server port.withSqlAuthUpdatePassword
(String sqlAuthUpdatePassword) Set the sqlAuthUpdatePassword property: SQL Server sysadmin login password.withSqlAuthUpdateUsername
(String sqlAuthUpdateUsername) Set the sqlAuthUpdateUsername property: SQL Server sysadmin login to create.
-
Constructor Details
-
SqlConnectivityUpdateSettings
public SqlConnectivityUpdateSettings()
-
-
Method Details
-
connectivityType
Get the connectivityType property: SQL Server connectivity option.- Returns:
- the connectivityType value.
-
withConnectivityType
Set the connectivityType property: SQL Server connectivity option.- Parameters:
connectivityType
- the connectivityType value to set.- Returns:
- the SqlConnectivityUpdateSettings object itself.
-
port
Get the port property: SQL Server port.- Returns:
- the port value.
-
withPort
Set the port property: SQL Server port.- Parameters:
port
- the port value to set.- Returns:
- the SqlConnectivityUpdateSettings object itself.
-
sqlAuthUpdateUsername
Get the sqlAuthUpdateUsername property: SQL Server sysadmin login to create.- Returns:
- the sqlAuthUpdateUsername value.
-
withSqlAuthUpdateUsername
Set the sqlAuthUpdateUsername property: SQL Server sysadmin login to create.- Parameters:
sqlAuthUpdateUsername
- the sqlAuthUpdateUsername value to set.- Returns:
- the SqlConnectivityUpdateSettings object itself.
-
sqlAuthUpdatePassword
Get the sqlAuthUpdatePassword property: SQL Server sysadmin login password.- Returns:
- the sqlAuthUpdatePassword value.
-
withSqlAuthUpdatePassword
Set the sqlAuthUpdatePassword property: SQL Server sysadmin login password.- Parameters:
sqlAuthUpdatePassword
- the sqlAuthUpdatePassword value to set.- Returns:
- the SqlConnectivityUpdateSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-