Share via


BackupsAutomaticAndOnDemand interface

Interface representing a BackupsAutomaticAndOnDemand.

Methods

beginCreate(string, string, string, BackupsAutomaticAndOnDemandCreateOptionalParams)

Creates an on demand backup of a server.

beginCreateAndWait(string, string, string, BackupsAutomaticAndOnDemandCreateOptionalParams)

Creates an on demand backup of a server.

beginDelete(string, string, string, BackupsAutomaticAndOnDemandDeleteOptionalParams)

Deletes a specific backup, given its name.

beginDeleteAndWait(string, string, string, BackupsAutomaticAndOnDemandDeleteOptionalParams)

Deletes a specific backup, given its name.

get(string, string, string, BackupsAutomaticAndOnDemandGetOptionalParams)

Gets information of an on demand backup, given its name.

listByServer(string, string, BackupsAutomaticAndOnDemandListByServerOptionalParams)

Lists all available backups of a server.

Method Details

beginCreate(string, string, string, BackupsAutomaticAndOnDemandCreateOptionalParams)

Creates an on demand backup of a server.

function beginCreate(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsAutomaticAndOnDemandCreateOptionalParams): Promise<SimplePollerLike<OperationState<BackupAutomaticAndOnDemand>, BackupAutomaticAndOnDemand>>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

backupName

string

Name of the backup.

options
BackupsAutomaticAndOnDemandCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, string, string, BackupsAutomaticAndOnDemandCreateOptionalParams)

Creates an on demand backup of a server.

function beginCreateAndWait(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsAutomaticAndOnDemandCreateOptionalParams): Promise<BackupAutomaticAndOnDemand>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

backupName

string

Name of the backup.

options
BackupsAutomaticAndOnDemandCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, BackupsAutomaticAndOnDemandDeleteOptionalParams)

Deletes a specific backup, given its name.

function beginDelete(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsAutomaticAndOnDemandDeleteOptionalParams): Promise<SimplePollerLike<OperationState<BackupsAutomaticAndOnDemandDeleteHeaders>, BackupsAutomaticAndOnDemandDeleteHeaders>>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

backupName

string

Name of the backup.

options
BackupsAutomaticAndOnDemandDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, string, BackupsAutomaticAndOnDemandDeleteOptionalParams)

Deletes a specific backup, given its name.

function beginDeleteAndWait(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsAutomaticAndOnDemandDeleteOptionalParams): Promise<BackupsAutomaticAndOnDemandDeleteHeaders>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

backupName

string

Name of the backup.

options
BackupsAutomaticAndOnDemandDeleteOptionalParams

The options parameters.

Returns

get(string, string, string, BackupsAutomaticAndOnDemandGetOptionalParams)

Gets information of an on demand backup, given its name.

function get(resourceGroupName: string, serverName: string, backupName: string, options?: BackupsAutomaticAndOnDemandGetOptionalParams): Promise<BackupAutomaticAndOnDemand>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

backupName

string

Name of the backup.

options
BackupsAutomaticAndOnDemandGetOptionalParams

The options parameters.

Returns

listByServer(string, string, BackupsAutomaticAndOnDemandListByServerOptionalParams)

Lists all available backups of a server.

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

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

Returns