SqlServer Interface
public interface SqlServer extends GroupableResource<SqlServerManager, ServerInner>,Refreshable,Updatable<SqlServer.Update>,GroupableResource<SqlServerManager, ServerInner>,Refreshable,Updatable<SqlServer.Update>
An immutable client-side representation of an Azure SQL Server.
Method Summary
Modifier and Type | Method and Description |
---|---|
String | administratorLogin() |
SqlDatabaseOperations.SqlDatabaseActionsDefinition | databases() |
SqlServerDnsAliasOperations.SqlServerDnsAliasActionsDefinition | dnsAliases() |
SqlElasticPoolOperations.SqlElasticPoolActionsDefinition | elasticPools() |
Sql |
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. |
SqlEncryptionProtectorOperations.SqlEncryptionProtectorActionsDefinition | encryptionProtectors() |
SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition | failoverGroups() |
SqlFirewallRuleOperations.SqlFirewallRuleActionsDefinition | firewallRules() |
String | fullyQualifiedDomainName() |
Sql |
getActiveDirectoryAdministrator()
Gets the Active Directory administrator for this server. |
Sql |
getServerAutomaticTuning()
Gets a SQL server automatic tuning state and options. |
Service |
getServiceObjective(String serviceObjectiveName)
Gets the information on a particular Sql Server Service Objective. |
boolean | isManagedServiceIdentityEnabled() |
String | kind() |
Map<String, Recommended |
listRecommendedElasticPools()
Returns all the recommended elastic pools for the server. |
List<Sql |
listRestorableDroppedDatabases() |
Observable<Sql |
listRestorableDroppedDatabasesAsync() |
List<Service |
listServiceObjectives() |
List<Server |
listUsageMetrics() |
List<Server |
listUsages() |
Identity |
managedServiceIdentityType() |
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. |
void |
removeActiveDirectoryAdministrator()
Removes the Active Directory administrator from this server. |
SqlServerKeyOperations.SqlServerKeyActionsDefinition | serverKeys() |
SqlServerSecurityAlertPolicyOperations.SqlServerSecurityAlertPolicyActionsDefinition | serverSecurityAlertPolicies() |
Sql |
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. |
String | state() |
String | systemAssignedManagedServiceIdentityPrincipalId() |
String | systemAssignedManagedServiceIdentityTenantId() |
String | version() |
SqlVirtualNetworkRuleOperations.SqlVirtualNetworkRuleActionsDefinition | virtualNetworkRules() |
Inherited Members
Method Details
administratorLogin
public String administratorLogin()
Returns:
databases
public SqlDatabaseOperations.SqlDatabaseActionsDefinition databases()
Returns:
dnsAliases
public SqlServerDnsAliasOperations.SqlServerDnsAliasActionsDefinition dnsAliases()
Returns:
elasticPools
public SqlElasticPoolOperations.SqlElasticPoolActionsDefinition elasticPools()
Returns:
enableAccessFromAzureServices
public 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 SqlEncryptionProtectorOperations.SqlEncryptionProtectorActionsDefinition encryptionProtectors()
Returns:
failoverGroups
public SqlFailoverGroupOperations.SqlFailoverGroupActionsDefinition failoverGroups()
Returns:
firewallRules
public SqlFirewallRuleOperations.SqlFirewallRuleActionsDefinition firewallRules()
Returns:
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Returns:
getActiveDirectoryAdministrator
public SqlActiveDirectoryAdministrator getActiveDirectoryAdministrator()
Gets the Active Directory administrator for this server.
Returns:
getServerAutomaticTuning
public SqlServerAutomaticTuning getServerAutomaticTuning()
Gets a SQL server automatic tuning state and options.
Returns:
getServiceObjective
public ServiceObjective getServiceObjective(String serviceObjectiveName)
Gets the information on a particular Sql Server Service Objective.
Parameters:
Returns:
isManagedServiceIdentityEnabled
public boolean isManagedServiceIdentityEnabled()
Returns:
kind
public String kind()
Returns:
listRecommendedElasticPools
public Map
Returns all the recommended elastic pools for the server.
Returns:
listRestorableDroppedDatabases
public List
Returns:
listRestorableDroppedDatabasesAsync
public Observable
Returns:
listServiceObjectives
public List
Returns:
listUsageMetrics
public List
Returns:
listUsages
public List
Returns:
managedServiceIdentityType
public IdentityType managedServiceIdentityType()
Returns:
removeAccessFromAzureServices
public 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 void removeActiveDirectoryAdministrator()
Removes the Active Directory administrator from this server.
serverKeys
public SqlServerKeyOperations.SqlServerKeyActionsDefinition serverKeys()
Returns:
serverSecurityAlertPolicies
public SqlServerSecurityAlertPolicyOperations.SqlServerSecurityAlertPolicyActionsDefinition serverSecurityAlertPolicies()
Returns:
setActiveDirectoryAdministrator
public 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 String state()
Returns:
systemAssignedManagedServiceIdentityPrincipalId
public String systemAssignedManagedServiceIdentityPrincipalId()
Returns:
systemAssignedManagedServiceIdentityTenantId
public String systemAssignedManagedServiceIdentityTenantId()
Returns:
version
public String version()
Returns:
virtualNetworkRules
public SqlVirtualNetworkRuleOperations.SqlVirtualNetworkRuleActionsDefinition virtualNetworkRules()
Returns:
Applies to
Azure SDK for Java