FailoverGroupsOperations interface

Interface representing a FailoverGroups operations.

Properties

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

Creates or updates a failover group.

delete

Deletes a failover group.

failover

Fails over from the current primary server to this server.

forceFailoverAllowDataLoss

Fails over from the current primary server to this server. This operation might result in data loss.

get

Gets a failover group.

listByServer

Lists the failover groups in a server.

tryPlannedBeforeForcedFailover

Fails over from the current primary server to this server. This operation tries planned before forced failover but might still result in data loss.

update

Updates a failover group.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginFailover

Warning

This API is now deprecated.

use failover instead

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

Property Value

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

beginFailoverAndWait

Warning

This API is now deprecated.

use failover instead

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

Property Value

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

beginForceFailoverAllowDataLoss

Warning

This API is now deprecated.

use forceFailoverAllowDataLoss instead

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

Property Value

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

beginForceFailoverAllowDataLossAndWait

Warning

This API is now deprecated.

use forceFailoverAllowDataLoss instead

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

Property Value

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

beginTryPlannedBeforeForcedFailover

Warning

This API is now deprecated.

use tryPlannedBeforeForcedFailover instead

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

Property Value

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

beginTryPlannedBeforeForcedFailoverAndWait

Warning

This API is now deprecated.

use tryPlannedBeforeForcedFailover instead

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

Property Value

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

beginUpdate

Warning

This API is now deprecated.

use update instead

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

Property Value

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

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

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

Property Value

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

createOrUpdate

Creates or updates a failover group.

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

Property Value

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

delete

Deletes a failover group.

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

Property Value

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

failover

Fails over from the current primary server to this server.

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

Property Value

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

forceFailoverAllowDataLoss

Fails over from the current primary server to this server. This operation might result in data loss.

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

Property Value

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

get

Gets a failover group.

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

Property Value

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

listByServer

Lists the failover groups in a server.

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

Property Value

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

tryPlannedBeforeForcedFailover

Fails over from the current primary server to this server. This operation tries planned before forced failover but might still result in data loss.

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

Property Value

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

update

Updates a failover group.

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

Property Value

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