Partager via


Backups interface

Interface representing a Backups.

Methods

get(string, string, string, BackupsGetOptionalParams)

Get specific backup for a given server.

listByServer(string, string, BackupsListByServerOptionalParams)

List all the backups for a given server.

Method Details

get(string, string, string, BackupsGetOptionalParams)

Get specific backup for a given server.

function get(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsGetOptionalParams): Promise<ServerBackup>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

backupName

string

The name of the backup.

options
BackupsGetOptionalParams

The options parameters.

Returns

Promise<ServerBackup>

listByServer(string, string, BackupsListByServerOptionalParams)

List all the backups for a given server.

function listByServer(resourceGroupName: string, serverName: string, options?: BackupsListByServerOptionalParams): PagedAsyncIterableIterator<ServerBackup, ServerBackup[], PageSettings>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

options
BackupsListByServerOptionalParams

The options parameters.

Returns