BackupAndExport interface
Interface representing a BackupAndExport.
Methods
| begin |
Exports the backup of the given server by creating a backup if not existing. |
| begin |
Exports the backup of the given server by creating a backup if not existing. |
| validate |
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.
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.
The options parameters.
Returns
Promise<BackupAndExportResponse>
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.
The options parameters.
Returns
Promise<ValidateBackupResponse>