FailoverGroupsOperations interface

介面代表故障轉移群組操作。

屬性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginFailover
beginFailoverAndWait
beginForceFailoverAllowDataLoss
beginForceFailoverAllowDataLossAndWait
beginTryPlannedBeforeForcedFailover
beginTryPlannedBeforeForcedFailoverAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

建立或更新故障轉移群組。

delete

刪除故障轉移群組。

failover

故障轉移從目前的主伺服器到這台伺服器。

forceFailoverAllowDataLoss

故障轉移從目前的主伺服器到這台伺服器。 這項作業可能會導致資料遺失。

get

取得故障轉移群組。

listByServer

列出伺服器中的故障轉移群組。

tryPlannedBeforeForcedFailover

故障轉移從目前的主伺服器到這台伺服器。 此操作嘗試在強制故障轉移前進行計畫,但仍可能導致資料遺失。

update

更新故障轉移群組。

屬性詳細資料

beginCreateOrUpdate

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

beginCreateOrUpdateAndWait

警告

此 API 現已淘汰。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams) => Promise<FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams) => Promise<FailoverGroup>

beginDelete

警告

此 API 現已淘汰。

use delete instead

beginDelete: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

此 API 現已淘汰。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams) => Promise<void>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams) => Promise<void>

beginFailover

警告

此 API 現已淘汰。

use failover instead

beginFailover: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

beginFailoverAndWait

警告

此 API 現已淘汰。

use failover instead

beginFailoverAndWait: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams) => Promise<FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams) => Promise<FailoverGroup>

beginForceFailoverAllowDataLoss

警告

此 API 現已淘汰。

use forceFailoverAllowDataLoss instead

beginForceFailoverAllowDataLoss: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

beginForceFailoverAllowDataLossAndWait

警告

此 API 現已淘汰。

use forceFailoverAllowDataLoss instead

beginForceFailoverAllowDataLossAndWait: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams) => Promise<FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams) => Promise<FailoverGroup>

beginTryPlannedBeforeForcedFailover

警告

此 API 現已淘汰。

use tryPlannedBeforeForcedFailover instead

beginTryPlannedBeforeForcedFailover: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

beginTryPlannedBeforeForcedFailoverAndWait

警告

此 API 現已淘汰。

use tryPlannedBeforeForcedFailover instead

beginTryPlannedBeforeForcedFailoverAndWait: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams) => Promise<FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams) => Promise<FailoverGroup>

beginUpdate

警告

此 API 現已淘汰。

use update instead

beginUpdate: (resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<FailoverGroup>, FailoverGroup>>

beginUpdateAndWait

警告

此 API 現已淘汰。

use update instead

beginUpdateAndWait: (resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams) => Promise<FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams) => Promise<FailoverGroup>

createOrUpdate

建立或更新故障轉移群組。

createOrUpdate: (resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroup, options?: FailoverGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

delete

刪除故障轉移群組。

delete: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

failover

故障轉移從目前的主伺服器到這台伺服器。

failover: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsFailoverOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

forceFailoverAllowDataLoss

故障轉移從目前的主伺服器到這台伺服器。 這項作業可能會導致資料遺失。

forceFailoverAllowDataLoss: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsForceFailoverAllowDataLossOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

get

取得故障轉移群組。

get: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsGetOptionalParams) => Promise<FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsGetOptionalParams) => Promise<FailoverGroup>

listByServer

列出伺服器中的故障轉移群組。

listByServer: (resourceGroupName: string, serverName: string, options?: FailoverGroupsListByServerOptionalParams) => PagedAsyncIterableIterator<FailoverGroup, FailoverGroup[], PageSettings>

屬性值

(resourceGroupName: string, serverName: string, options?: FailoverGroupsListByServerOptionalParams) => PagedAsyncIterableIterator<FailoverGroup, FailoverGroup[], PageSettings>

tryPlannedBeforeForcedFailover

故障轉移從目前的主伺服器到這台伺服器。 此操作嘗試在強制故障轉移前進行計畫,但仍可能導致資料遺失。

tryPlannedBeforeForcedFailover: (resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, options?: FailoverGroupsTryPlannedBeforeForcedFailoverOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

update

更新故障轉移群組。

update: (resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>

屬性值

(resourceGroupName: string, serverName: string, failoverGroupName: string, parameters: FailoverGroupUpdate, options?: FailoverGroupsUpdateOptionalParams) => PollerLike<OperationState<FailoverGroup>, FailoverGroup>