Share via


BackupAndExport interface

Interface representing a BackupAndExport.

Methods

beginCreate(string, string, BackupAndExportRequest, BackupAndExportCreateOptionalParams)

Exports the backup of the given server by creating a backup if not existing.

beginCreateAndWait(string, string, BackupAndExportRequest, BackupAndExportCreateOptionalParams)

Exports the backup of the given server by creating a backup if not existing.

validateBackup(string, string, BackupAndExportValidateBackupOptionalParams)

Validates if backup can be performed for given server.

Method Details

beginCreate(string, string, BackupAndExportRequest, BackupAndExportCreateOptionalParams)

Exports the backup of the given server by creating a backup if not existing.

function beginCreate(resourceGroupName: string, serverName: string, parameters: BackupAndExportRequest, options?: BackupAndExportCreateOptionalParams): Promise<SimplePollerLike<OperationState<BackupAndExportResponse>, BackupAndExportResponse>>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

parameters
BackupAndExportRequest

The required parameters for creating and exporting backup of the given server.

options
BackupAndExportCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BackupAndExportResponse>, BackupAndExportResponse>>

beginCreateAndWait(string, string, BackupAndExportRequest, BackupAndExportCreateOptionalParams)

Exports the backup of the given server by creating a backup if not existing.

function beginCreateAndWait(resourceGroupName: string, serverName: string, parameters: BackupAndExportRequest, options?: BackupAndExportCreateOptionalParams): Promise<BackupAndExportResponse>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

parameters
BackupAndExportRequest

The required parameters for creating and exporting backup of the given server.

options
BackupAndExportCreateOptionalParams

The options parameters.

Returns

validateBackup(string, string, BackupAndExportValidateBackupOptionalParams)

Validates if backup can be performed for given server.

function validateBackup(resourceGroupName: string, serverName: string, options?: BackupAndExportValidateBackupOptionalParams): Promise<ValidateBackupResponse>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

options
BackupAndExportValidateBackupOptionalParams

The options parameters.

Returns