BackupSchedules interface

Interface representing a BackupSchedules.

Methods

beginCreateOrUpdate(string, string, string, string, string, BackupSchedule, BackupSchedulesCreateOrUpdateOptionalParams)

Creates or updates the backup schedule.

beginCreateOrUpdateAndWait(string, string, string, string, string, BackupSchedule, BackupSchedulesCreateOrUpdateOptionalParams)

Creates or updates the backup schedule.

beginDelete(string, string, string, string, string, BackupSchedulesDeleteOptionalParams)

Deletes the backup schedule.

beginDeleteAndWait(string, string, string, string, string, BackupSchedulesDeleteOptionalParams)

Deletes the backup schedule.

get(string, string, string, string, string, BackupSchedulesGetOptionalParams)

Gets the properties of the specified backup schedule name.

listByBackupPolicy(string, string, string, string, BackupSchedulesListByBackupPolicyOptionalParams)

Gets all the backup schedules in a backup policy.

Method Details

beginCreateOrUpdate(string, string, string, string, string, BackupSchedule, BackupSchedulesCreateOrUpdateOptionalParams)

Creates or updates the backup schedule.

function beginCreateOrUpdate(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, parameters: BackupSchedule, options?: BackupSchedulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BackupSchedule>, BackupSchedule>>

Parameters

deviceName

string

The device name

backupPolicyName

string

The backup policy name.

backupScheduleName

string

The backup schedule name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

parameters
BackupSchedule

The backup schedule.

options
BackupSchedulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<BackupSchedule>, BackupSchedule>>

beginCreateOrUpdateAndWait(string, string, string, string, string, BackupSchedule, BackupSchedulesCreateOrUpdateOptionalParams)

Creates or updates the backup schedule.

function beginCreateOrUpdateAndWait(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, parameters: BackupSchedule, options?: BackupSchedulesCreateOrUpdateOptionalParams): Promise<BackupSchedule>

Parameters

deviceName

string

The device name

backupPolicyName

string

The backup policy name.

backupScheduleName

string

The backup schedule name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

parameters
BackupSchedule

The backup schedule.

options
BackupSchedulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<BackupSchedule>

beginDelete(string, string, string, string, string, BackupSchedulesDeleteOptionalParams)

Deletes the backup schedule.

function beginDelete(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, options?: BackupSchedulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

deviceName

string

The device name

backupPolicyName

string

The backup policy name.

backupScheduleName

string

The name the backup schedule.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupSchedulesDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, string, BackupSchedulesDeleteOptionalParams)

Deletes the backup schedule.

function beginDeleteAndWait(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, options?: BackupSchedulesDeleteOptionalParams): Promise<void>

Parameters

deviceName

string

The device name

backupPolicyName

string

The backup policy name.

backupScheduleName

string

The name the backup schedule.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupSchedulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, string, BackupSchedulesGetOptionalParams)

Gets the properties of the specified backup schedule name.

function get(deviceName: string, backupPolicyName: string, backupScheduleName: string, resourceGroupName: string, managerName: string, options?: BackupSchedulesGetOptionalParams): Promise<BackupSchedule>

Parameters

deviceName

string

The device name

backupPolicyName

string

The backup policy name.

backupScheduleName

string

The name of the backup schedule to be fetched

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupSchedulesGetOptionalParams

The options parameters.

Returns

Promise<BackupSchedule>

listByBackupPolicy(string, string, string, string, BackupSchedulesListByBackupPolicyOptionalParams)

Gets all the backup schedules in a backup policy.

function listByBackupPolicy(deviceName: string, backupPolicyName: string, resourceGroupName: string, managerName: string, options?: BackupSchedulesListByBackupPolicyOptionalParams): PagedAsyncIterableIterator<BackupSchedule, BackupSchedule[], PageSettings>

Parameters

deviceName

string

The device name

backupPolicyName

string

The backup policy name.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupSchedulesListByBackupPolicyOptionalParams

The options parameters.

Returns