SqlServer Interface
Implements
public interface SqlServer
extends GroupableResource<SqlServerManager,ServerInner>, Refreshable<SqlServer>, Updatable<Update>
An immutable client-side representation of an Azure SQL Server.
Method Summary
Method Details
administratorLogin
public abstract String administratorLogin()
Returns:
databases
public abstract SqlDatabaseOperations.SqlDatabaseActionsDefinition databases()
Returns:
dnsAliases
public abstract SqlServerDnsAliasOperations.SqlServerDnsAliasActionsDefinition dnsAliases()
Returns:
elasticPools
public abstract SqlElasticPoolOperations.SqlElasticPoolActionsDefinition elasticPools()
Returns:
enableAccessFromAzureServices
public abstract SqlFirewallRule enableAccessFromAzureServices()
Sets the Azure services default access to this server to true.
A firewall rule named "AllowAllWindowsAzureIps" with the start IP "0.0.0.0" will be added to the SQL server if one does not exist.
Returns:
encryptionProtectors
public abstract SqlEncryptionProtectorOperations.SqlEncryptionProtectorActionsDefinition encryptionProtectors()
Returns:
failoverGroups
public abstract SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition failoverGroups()
Returns:
firewallRules
public abstract SqlFirewallRuleOperations.SqlFirewallRuleActionsDefinition firewallRules()
Returns:
fullyQualifiedDomainName
public abstract String fullyQualifiedDomainName()
Returns:
getActiveDirectoryAdministrator
public abstract SqlActiveDirectoryAdministrator getActiveDirectoryAdministrator()
Gets the Active Directory administrator for this server.
Returns:
getServerAutomaticTuning
public abstract SqlServerAutomaticTuning getServerAutomaticTuning()
Gets a SQL server automatic tuning state and options.
Returns:
isManagedServiceIdentityEnabled
public abstract boolean isManagedServiceIdentityEnabled()
Returns:
kind
public abstract String kind()
Returns:
listRestorableDroppedDatabases
public abstract List
Returns:
listRestorableDroppedDatabasesAsync
public abstract PagedFlux
Returns:
listUsageMetrics
public abstract List
Returns:
managedServiceIdentityType
public abstract IdentityType managedServiceIdentityType()
Returns:
publicNetworkAccess
public abstract ServerNetworkAccessFlag publicNetworkAccess()
Whether the SQL Server can be accessed from public network.
Returns:
removeAccessFromAzureServices
public abstract void removeAccessFromAzureServices()
Sets the Azure services default access to this server to false.
The firewall rule named "AllowAllWindowsAzureIps" will be removed from the SQL server.
removeActiveDirectoryAdministrator
public abstract void removeActiveDirectoryAdministrator()
Removes the Active Directory administrator from this server.
serverKeys
public abstract SqlServerKeyOperations.SqlServerKeyActionsDefinition serverKeys()
Returns:
serverSecurityAlertPolicies
public abstract SqlServerSecurityAlertPolicyOperations.SqlServerSecurityAlertPolicyActionsDefinition serverSecurityAlertPolicies()
Returns:
setActiveDirectoryAdministrator
public abstract SqlActiveDirectoryAdministrator setActiveDirectoryAdministrator(String userLogin, String id)
Sets an Active Directory administrator to this server.
Azure Active Directory authentication allows you to centrally manage identity and access to your Azure SQL Database V12.
Parameters:
Returns:
state
public abstract String state()
Returns:
systemAssignedManagedServiceIdentityPrincipalId
public abstract String systemAssignedManagedServiceIdentityPrincipalId()
Returns:
systemAssignedManagedServiceIdentityTenantId
public abstract String systemAssignedManagedServiceIdentityTenantId()
Returns:
version
public abstract String version()
Returns:
virtualNetworkRules
public abstract SqlVirtualNetworkRuleOperations.SqlVirtualNetworkRuleActionsDefinition virtualNetworkRules()
Returns:
Applies to
Azure SDK for Java