你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IUpdate 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
SQL 故障转移组更新操作的模板,包含可修改的所有设置。
public interface IUpdate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroup.Update.IUpdate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Sql.Fluent.ISqlFailoverGroup>, Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroup.Update.IWithDatabase, Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroup.Update.IWithReadOnlyEndpointPolicy, Microsoft.Azure.Management.Sql.Fluent.SqlFailoverGroup.Update.IWithReadWriteEndpointPolicy
type IUpdate = interface
interface IBeta
interface IWithReadWriteEndpointPolicy
interface IWithReadOnlyEndpointPolicy
interface IWithDatabase
interface IUpdateWithTags<IUpdate>
interface IAppliable<ISqlFailoverGroup>
interface IIndexable
Public Interface IUpdate
Implements IAppliable(Of ISqlFailoverGroup), IBeta, IUpdateWithTags(Of IUpdate), IWithDatabase, IWithReadOnlyEndpointPolicy, IWithReadWriteEndpointPolicy
- 实现
属性
Key |
SQL 故障转移组更新操作的模板,包含可修改的所有设置。 (继承自 IIndexable) |
方法
Apply() |
执行更新请求。 (继承自 IAppliable<T>) |
ApplyAsync(CancellationToken, Boolean) |
异步执行更新请求。 (继承自 IAppliable<T>) |
WithAutomaticReadWriteEndpointPolicyAndDataLossGracePeriod(Int32) |
将 SQL 故障转移组读写终结点故障转移策略设置为“自动”。 (继承自 IWithReadWriteEndpointPolicy) |
WithDatabaseIds(String[]) |
设置 SQL 故障转移组伙伴服务器。 (继承自 IWithDatabase) |
WithManualReadWriteEndpointPolicy() |
将 SQL 故障转移组读写终结点故障转移策略设置为“手动”。 (继承自 IWithReadWriteEndpointPolicy) |
WithNewDatabaseId(String) |
设置 SQL 故障转移组数据库。 (继承自 IWithDatabase) |
WithoutDatabaseId(String) |
删除 SQL 故障转移组数据库。 (继承自 IWithDatabase) |
WithoutTag(String) |
从资源中删除标记。 (继承自 IUpdateWithTags<T>) |
WithReadOnlyEndpointPolicyDisabled() |
将只读终结点的 SQL 故障转移组故障转移策略设置为“已禁用”。 (继承自 IWithReadOnlyEndpointPolicy) |
WithReadOnlyEndpointPolicyEnabled() |
将只读终结点的 SQL 故障转移组故障转移策略设置为“已启用”。 (继承自 IWithReadOnlyEndpointPolicy) |
WithTag(String, String) |
将标记添加到资源。 (继承自 IUpdateWithTags<T>) |
WithTags(IDictionary<String,String>) |
将资源的标记指定为 {@link Map}。 (继承自 IUpdateWithTags<T>) |