FlexibleServer interface

Interface representing a FlexibleServer.

Methods

beginStartLtrBackup(string, string, LtrBackupRequest, FlexibleServerStartLtrBackupOptionalParams)

Start the Long Term Retention Backup operation

beginStartLtrBackupAndWait(string, string, LtrBackupRequest, FlexibleServerStartLtrBackupOptionalParams)

Start the Long Term Retention Backup operation

triggerLtrPreBackup(string, string, LtrPreBackupRequest, FlexibleServerTriggerLtrPreBackupOptionalParams)

PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.

Method Details

beginStartLtrBackup(string, string, LtrBackupRequest, FlexibleServerStartLtrBackupOptionalParams)

Start the Long Term Retention Backup operation

function beginStartLtrBackup(resourceGroupName: string, serverName: string, parameters: LtrBackupRequest, options?: FlexibleServerStartLtrBackupOptionalParams): Promise<SimplePollerLike<OperationState<FlexibleServerStartLtrBackupResponse>, FlexibleServerStartLtrBackupResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

parameters
LtrBackupRequest

Request body for operation

options
FlexibleServerStartLtrBackupOptionalParams

The options parameters.

Returns

beginStartLtrBackupAndWait(string, string, LtrBackupRequest, FlexibleServerStartLtrBackupOptionalParams)

Start the Long Term Retention Backup operation

function beginStartLtrBackupAndWait(resourceGroupName: string, serverName: string, parameters: LtrBackupRequest, options?: FlexibleServerStartLtrBackupOptionalParams): Promise<FlexibleServerStartLtrBackupResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

parameters
LtrBackupRequest

Request body for operation

options
FlexibleServerStartLtrBackupOptionalParams

The options parameters.

Returns

triggerLtrPreBackup(string, string, LtrPreBackupRequest, FlexibleServerTriggerLtrPreBackupOptionalParams)

PreBackup operation performs all the checks that are needed for the subsequent long term retention backup operation to succeed.

function triggerLtrPreBackup(resourceGroupName: string, serverName: string, parameters: LtrPreBackupRequest, options?: FlexibleServerTriggerLtrPreBackupOptionalParams): Promise<FlexibleServerTriggerLtrPreBackupResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

parameters
LtrPreBackupRequest

Request body for operation

options
FlexibleServerTriggerLtrPreBackupOptionalParams

The options parameters.

Returns