ServerUpdate Class
- java.
lang. Object - com.
microsoft. azure. management. sql. ServerUpdate
- com.
public class ServerUpdate
An update request for an Azure SQL Database server.
Constructor Summary
Constructor | Description | |
---|---|---|
ServerUpdate() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
administratorLogin()
Get administrator username for the server. |
java.lang.String |
administratorLoginPassword()
Get the administrator login password (required for server creation). |
java.lang.String |
fullyQualifiedDomainName()
Get the fully qualified domain name of the server. |
java.lang.String |
state()
Get the state of the server. |
java.util.Map<java.lang.String,java.lang.String> |
tags()
Get resource tags. |
java.lang.String |
version()
Get the version of the server. |
Server |
withAdministratorLogin(String administratorLogin)
Set administrator username for the server. |
Server |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator login password (required for server creation). |
Server |
withTags(Map<String,String> tags)
Set resource tags. |
Server |
withVersion(String version)
Set the version of the server. |
Methods inherited from java.lang.Object
Constructor Details
ServerUpdate
public ServerUpdate()
Method Details
administratorLogin
public String administratorLogin()
Get administrator username for the server. Once created it cannot be changed.
Returns:
administratorLoginPassword
public String administratorLoginPassword()
Get the administrator login password (required for server creation).
Returns:
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Get the fully qualified domain name of the server.
Returns:
state
public String state()
Get the state of the server.
Returns:
tags
public Map
Get resource tags.
Returns:
version
public String version()
Get the version of the server.
Returns:
withAdministratorLogin
public ServerUpdate withAdministratorLogin(String administratorLogin)
Set administrator username for the server. Once created it cannot be changed.
Parameters:
Returns:
withAdministratorLoginPassword
public ServerUpdate withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator login password (required for server creation).
Parameters:
Returns:
withTags
public ServerUpdate withTags(Map
Set resource tags.
Parameters:
Returns:
withVersion
public ServerUpdate withVersion(String version)
Set the version of the server.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för