ServerUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ServerUpdate
- com.
public final class ServerUpdate
An update request for an Azure SQL Database server.
Constructor Summary
Constructor | Description |
---|---|
ServerUpdate() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
administratorLogin()
Get the administrator |
String |
administratorLoginPassword()
Get the administrator |
Server |
administrators()
Get the administrators property: The Azure Active Directory administrator of the server. |
UUID |
federatedClientId()
Get the federated |
String |
fullyQualifiedDomainName()
Get the fully |
Resource |
identity()
Get the identity property: Server identity. |
String |
keyId()
Get the key |
String |
minimalTlsVersion()
Get the minimal |
String |
primaryUserAssignedIdentityId()
Get the primary |
List<Server |
privateEndpointConnections()
Get the private |
Server |
publicNetworkAccess()
Get the public |
Server |
restrictOutboundNetworkAccess()
Get the restrict |
String |
state()
Get the state property: The state of the server. |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: The version of the server. |
Server |
withAdministratorLogin(String administratorLogin)
Set the administrator |
Server |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator |
Server |
withAdministrators(ServerExternalAdministrator administrators)
Set the administrators property: The Azure Active Directory administrator of the server. |
Server |
withFederatedClientId(UUID federatedClientId)
Set the federated |
Server |
withIdentity(ResourceIdentity identity)
Set the identity property: Server identity. |
Server |
withKeyId(String keyId)
Set the key |
Server |
withMinimalTlsVersion(String minimalTlsVersion)
Set the minimal |
Server |
withPrimaryUserAssignedIdentityId(String primaryUserAssignedIdentityId)
Set the primary |
Server |
withPublicNetworkAccess(ServerNetworkAccessFlag publicNetworkAccess)
Set the public |
Server |
withRestrictOutboundNetworkAccess(ServerNetworkAccessFlag restrictOutboundNetworkAccess)
Set the restrict |
Server |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Server |
withVersion(String version)
Set the version property: The version of the server. |
Server |
workspaceFeature()
Get the workspace |
Methods inherited from java.lang.Object
Constructor Details
ServerUpdate
public ServerUpdate()
Creates an instance of ServerUpdate class.
Method Details
administratorLogin
public String administratorLogin()
Get the administratorLogin property: Administrator username for the server. Once created it cannot be changed.
Returns:
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: The administrator login password (required for server creation).
Returns:
administrators
public ServerExternalAdministrator administrators()
Get the administrators property: The Azure Active Directory administrator of the server.
Returns:
federatedClientId
public UUID federatedClientId()
Get the federatedClientId property: The Client id used for cross tenant CMK scenario.
Returns:
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of the server.
Returns:
identity
public ResourceIdentity identity()
Get the identity property: Server identity.
Returns:
keyId
public String keyId()
Get the keyId property: A CMK URI of the key to use for encryption.
Returns:
minimalTlsVersion
public String minimalTlsVersion()
Get the minimalTlsVersion property: Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'.
Returns:
primaryUserAssignedIdentityId
public String primaryUserAssignedIdentityId()
Get the primaryUserAssignedIdentityId property: The resource id of a user assigned identity to be used by default.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of private endpoint connections on a server.
Returns:
publicNetworkAccess
public ServerNetworkAccessFlag publicNetworkAccess()
Get the publicNetworkAccess property: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Returns:
restrictOutboundNetworkAccess
public ServerNetworkAccessFlag restrictOutboundNetworkAccess()
Get the restrictOutboundNetworkAccess property: Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Returns:
state
public String state()
Get the state property: The state of the server.
Returns:
tags
public Map
Get the tags property: Resource tags.
Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: The version of the server.
Returns:
withAdministratorLogin
public ServerUpdate withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: Administrator username for the server. Once created it cannot be changed.
Parameters:
Returns:
withAdministratorLoginPassword
public ServerUpdate withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The administrator login password (required for server creation).
Parameters:
Returns:
withAdministrators
public ServerUpdate withAdministrators(ServerExternalAdministrator administrators)
Set the administrators property: The Azure Active Directory administrator of the server.
Parameters:
Returns:
withFederatedClientId
public ServerUpdate withFederatedClientId(UUID federatedClientId)
Set the federatedClientId property: The Client id used for cross tenant CMK scenario.
Parameters:
Returns:
withIdentity
public ServerUpdate withIdentity(ResourceIdentity identity)
Set the identity property: Server identity.
Parameters:
Returns:
withKeyId
public ServerUpdate withKeyId(String keyId)
Set the keyId property: A CMK URI of the key to use for encryption.
Parameters:
Returns:
withMinimalTlsVersion
public ServerUpdate withMinimalTlsVersion(String minimalTlsVersion)
Set the minimalTlsVersion property: Minimal TLS version. Allowed values: '1.0', '1.1', '1.2'.
Parameters:
Returns:
withPrimaryUserAssignedIdentityId
public ServerUpdate withPrimaryUserAssignedIdentityId(String primaryUserAssignedIdentityId)
Set the primaryUserAssignedIdentityId property: The resource id of a user assigned identity to be used by default.
Parameters:
Returns:
withPublicNetworkAccess
public ServerUpdate withPublicNetworkAccess(ServerNetworkAccessFlag publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Parameters:
Returns:
withRestrictOutboundNetworkAccess
public ServerUpdate withRestrictOutboundNetworkAccess(ServerNetworkAccessFlag restrictOutboundNetworkAccess)
Set the restrictOutboundNetworkAccess property: Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Parameters:
Returns:
withTags
public ServerUpdate withTags(Map
Set the tags property: Resource tags.
Parameters:
Returns:
withVersion
public ServerUpdate withVersion(String version)
Set the version property: The version of the server.
Parameters:
Returns:
workspaceFeature
public ServerWorkspaceFeature workspaceFeature()
Get the workspaceFeature property: Whether or not existing server has a workspace created and if it allows connection from workspace.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for