你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISqlServer 接口

定义

Azure SQL服务器的不可变客户端表示形式。

public interface ISqlServer : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Sql.Fluent.ISqlManager,Microsoft.Azure.Management.Sql.Fluent.Models.ServerInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Sql.Fluent.Models.ServerInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Sql.Fluent.ISqlManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Sql.Fluent.ISqlServer>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Sql.Fluent.SqlServer.Update.IUpdate>
type ISqlServer = interface
    interface IBeta
    interface IGroupableResource<ISqlManager, ServerInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<ISqlManager>
    interface IHasInner<ServerInner>
    interface IRefreshable<ISqlServer>
    interface IUpdatable<IUpdate>
Public Interface ISqlServer
Implements IBeta, IGroupableResource(Of ISqlManager, ServerInner), IHasInner(Of ServerInner), IHasManager(Of ISqlManager), IRefreshable(Of ISqlServer), IUpdatable(Of IUpdate)
实现

属性

AdministratorLogin

获取SQL Server的管理员登录用户名。

Databases

获取用于管理此 SQL Server 的数据库的入口点。

DnsAliases

获取返回用于管理此服务器的SQL Server DNS 别名的入口点。

ElasticPools

获取 返回用于管理此服务器的 SQL 弹性池的入口点。

EncryptionProtectors

获取 返回用于管理此服务器的 SQL 加密保护程序的入口点。

FailoverGroups

获取返回用于管理此服务器的 SQL 故障转移组的入口点。

FirewallRules

获取返回用于管理此服务器的 SQL 防火墙规则的入口点。

FullyQualifiedDomainName

获取SQL Server的完全限定名称。

Id

获取资源 ID 字符串

(继承自 IHasId)
Inner

Azure SQL服务器的不可变客户端表示形式。

(继承自 IHasInner<T>)
IsManagedServiceIdentityEnabled

如果为 SQL Server 启用了托管服务标识,则为 true。

Key

Azure SQL服务器的不可变客户端表示形式。

(继承自 IIndexable)
Kind

获取SQL Server“kind”。

ManagedServiceIdentityType

获取用于 SQL Server 的托管服务标识的类型。

Manager

获取此资源类型的管理器客户端类型。

(继承自 IHasManager<ManagerT>)
Name

获取资源的名称

(继承自 IHasName)
Region

Azure SQL服务器的不可变客户端表示形式。

(继承自 IResource)
RegionName

Azure SQL服务器的不可变客户端表示形式。

(继承自 IResource)
ResourceGroupName

Azure SQL服务器的不可变客户端表示形式。

(继承自 IHasResourceGroup)
ServerKeys

获取 返回用于管理此服务器的SQL Server密钥的入口点。

State

获取服务器的状态。

SystemAssignedManagedServiceIdentityPrincipalId

获取分配给 SQL Server 的系统分配 (本地) 托管服务标识特定的 Active Directory 服务主体 ID。

SystemAssignedManagedServiceIdentityTenantId

获取分配给 SQL 服务器的系统分配 (本地) 托管服务标识特定的 Active Directory 租户 ID。

Tags

Azure SQL服务器的不可变客户端表示形式。

(继承自 IResource)
Type

Azure SQL服务器的不可变客户端表示形式。

(继承自 IResource)
Version

获取SQL Server版本。

VirtualNetworkRules

获取返回用于管理此服务器的 SQL 虚拟网络规则的入口点。

方法

EnableAccessFromAzureServices()

将 Azure 服务对此服务器的默认访问权限设置为 true。 如果不存在名为“AllowAllWindowsAzureIps”且起始 IP 为“0.0.0.0”的防火墙规则,则将添加到 SQL Server。

GetActiveDirectoryAdministrator()

获取此服务器的 Active Directory 管理员。

GetServerAutomaticTuning()

获取 SQL Server 自动优化状态和选项。

GetServiceObjective(String)

获取有关特定 Sql Server 服务目标的信息。

ListRecommendedElasticPools()

返回服务器建议的所有弹性池。

ListRestorableDroppedDatabases()

Azure SQL服务器的不可变客户端表示形式。

ListRestorableDroppedDatabasesAsync(CancellationToken)

Azure SQL服务器的不可变客户端表示形式。

ListServiceObjectives()

Azure SQL服务器的不可变客户端表示形式。

ListUsageMetrics()

Azure SQL服务器的不可变客户端表示形式。

ListUsages()

Azure SQL服务器的不可变客户端表示形式。

Refresh()

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
RefreshAsync(CancellationToken)

刷新资源以与 Azure 同步。

(继承自 IRefreshable<T>)
RemoveAccessFromAzureServices()

将 Azure 服务对此服务器的默认访问权限设置为 false。 将从 SQL Server 中删除名为“AllowAllWindowsAzureIps”的防火墙规则。

RemoveActiveDirectoryAdministrator()

从此服务器中删除 Active Directory 管理员。

SetActiveDirectoryAdministrator(String, String)

将 Active Directory 管理员设置为此服务器。 使用 Azure Active Directory 身份验证可以集中管理标识和对 Azure SQL Database V12 的访问。

Update()

Azure SQL服务器的不可变客户端表示形式。

(继承自 IUpdatable<T>)

适用于