你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BackupScheduleGroups interface

表示 BackupScheduleGroups 的接口。

方法

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

创建或汇报备份计划组。

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

创建或汇报备份计划组。

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

删除备份计划组。

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

删除备份计划组。

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

返回指定备份计划组名称的属性。

listByDevice(string, string, string, BackupScheduleGroupsListByDeviceOptionalParams)

检索设备中的所有备份计划组。

方法详细信息

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

创建或汇报备份计划组。

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

参数

deviceName

string

设备的名称。

scheduleGroupName

string

计划组的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

scheduleGroup
BackupScheduleGroup

要创建的计划组

返回

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

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

创建或汇报备份计划组。

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

参数

deviceName

string

设备的名称。

scheduleGroupName

string

计划组的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

scheduleGroup
BackupScheduleGroup

要创建的计划组

返回

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

删除备份计划组。

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

参数

deviceName

string

设备的名称。

scheduleGroupName

string

计划组的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

返回

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

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

删除备份计划组。

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

参数

deviceName

string

设备的名称。

scheduleGroupName

string

计划组的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

返回

Promise<void>

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

返回指定备份计划组名称的属性。

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

参数

deviceName

string

设备的名称。

scheduleGroupName

string

计划组的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

options
BackupScheduleGroupsGetOptionalParams

选项参数。

返回

listByDevice(string, string, string, BackupScheduleGroupsListByDeviceOptionalParams)

检索设备中的所有备份计划组。

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

参数

deviceName

string

设备的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

返回