BackupScheduleGroups interface

Interface representing a BackupScheduleGroups.

Methods

beginCreateOrUpdate(string, string, string, string, BackupScheduleGroup, BackupScheduleGroupsCreateOrUpdateOptionalParams)

Creates or Updates the backup schedule Group.

beginCreateOrUpdateAndWait(string, string, string, string, BackupScheduleGroup, BackupScheduleGroupsCreateOrUpdateOptionalParams)

Creates or Updates the backup schedule Group.

beginDelete(string, string, string, string, BackupScheduleGroupsDeleteOptionalParams)

Deletes the backup schedule group.

beginDeleteAndWait(string, string, string, string, BackupScheduleGroupsDeleteOptionalParams)

Deletes the backup schedule group.

get(string, string, string, string, BackupScheduleGroupsGetOptionalParams)

Returns the properties of the specified backup schedule group name.

listByDevice(string, string, string, BackupScheduleGroupsListByDeviceOptionalParams)

Retrieves all the backup schedule groups in a device.

Method Details

beginCreateOrUpdate(string, string, string, string, BackupScheduleGroup, BackupScheduleGroupsCreateOrUpdateOptionalParams)

Creates or Updates the backup schedule Group.

function beginCreateOrUpdate(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, scheduleGroup: BackupScheduleGroup, options?: BackupScheduleGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BackupScheduleGroup>, BackupScheduleGroup>>

Parameters

deviceName

string

The name of the device.

scheduleGroupName

string

The name of the schedule group.

resourceGroupName

string

The resource group name

managerName

string

The manager name

scheduleGroup
BackupScheduleGroup

The schedule group to be created

options
BackupScheduleGroupsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, string, BackupScheduleGroup, BackupScheduleGroupsCreateOrUpdateOptionalParams)

Creates or Updates the backup schedule Group.

function beginCreateOrUpdateAndWait(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, scheduleGroup: BackupScheduleGroup, options?: BackupScheduleGroupsCreateOrUpdateOptionalParams): Promise<BackupScheduleGroup>

Parameters

deviceName

string

The name of the device.

scheduleGroupName

string

The name of the schedule group.

resourceGroupName

string

The resource group name

managerName

string

The manager name

scheduleGroup
BackupScheduleGroup

The schedule group to be created

options
BackupScheduleGroupsCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, string, BackupScheduleGroupsDeleteOptionalParams)

Deletes the backup schedule group.

function beginDelete(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

deviceName

string

The name of the device.

scheduleGroupName

string

The name of the schedule group.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupScheduleGroupsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, BackupScheduleGroupsDeleteOptionalParams)

Deletes the backup schedule group.

function beginDeleteAndWait(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsDeleteOptionalParams): Promise<void>

Parameters

deviceName

string

The name of the device.

scheduleGroupName

string

The name of the schedule group.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupScheduleGroupsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, BackupScheduleGroupsGetOptionalParams)

Returns the properties of the specified backup schedule group name.

function get(deviceName: string, scheduleGroupName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsGetOptionalParams): Promise<BackupScheduleGroup>

Parameters

deviceName

string

The name of the device.

scheduleGroupName

string

The name of the schedule group.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupScheduleGroupsGetOptionalParams

The options parameters.

Returns

listByDevice(string, string, string, BackupScheduleGroupsListByDeviceOptionalParams)

Retrieves all the backup schedule groups in a device.

function listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: BackupScheduleGroupsListByDeviceOptionalParams): PagedAsyncIterableIterator<BackupScheduleGroup, BackupScheduleGroup[], PageSettings>

Parameters

deviceName

string

The name of the device.

resourceGroupName

string

The resource group name

managerName

string

The manager name

options
BackupScheduleGroupsListByDeviceOptionalParams

The options parameters.

Returns