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

IWithPartnerServer 接口

定义

用于设置伙伴服务器的 SQL 故障转移组定义。

public interface IWithPartnerServer : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Sql.Fluent.ISqlFailoverGroup>, Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroupOperations.Definition.IWithCreate
type IWithPartnerServer = interface
    interface IBeta
    interface IWithCreate
    interface IWithReadOnlyEndpointPolicy
    interface IWithDatabase
    interface IDefinitionWithTags<IWithCreate>
    interface ICreatable<ISqlFailoverGroup>
    interface IIndexable
Public Interface IWithPartnerServer
Implements IBeta, ICreatable(Of ISqlFailoverGroup), IDefinitionWithTags(Of IWithCreate), IWithCreate
派生
实现

属性

Key

用于设置伙伴服务器的 SQL 故障转移组定义。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行该请求。

(继承自 ICreatable<T>)
WithDatabaseId(String)

设置 SQL 故障转移组数据库。

(继承自 IWithDatabase)
WithDatabaseIds(String[])

设置 SQL 故障转移组伙伴服务器。

(继承自 IWithDatabase)
WithPartnerServerId(String)

设置 SQL 故障转移组伙伴服务器。

WithReadOnlyEndpointPolicyDisabled()

将只读终结点的 SQL 故障转移组故障转移策略设置为“已禁用”。

(继承自 IWithReadOnlyEndpointPolicy)
WithReadOnlyEndpointPolicyEnabled()

将只读终结点的 SQL 故障转移组故障转移策略设置为“已启用”。

(继承自 IWithReadOnlyEndpointPolicy)
WithTag(String, String)

将标记添加到资源。

(继承自 IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IDefinitionWithTags<T>)

适用于