BackupsAutomaticAndOnDemand interface
Interface representing a BackupsAutomaticAndOnDemand.
Methods
| begin |
Creates an on demand backup of a server. |
| begin |
Creates an on demand backup of a server. |
| begin |
Deletes a specific backup, given its name. |
| begin |
Deletes a specific backup, given its name. |
| get(string, string, string, Backups |
Gets information of an on demand backup, given its name. |
| list |
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.
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.
The options parameters.
Returns
Promise<BackupAutomaticAndOnDemand>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<BackupsAutomaticAndOnDemandDeleteHeaders>, BackupsAutomaticAndOnDemandDeleteHeaders>>
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.
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.
The options parameters.
Returns
Promise<BackupAutomaticAndOnDemand>
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.
The options parameters.