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

RestorePointCollections interface

表示 RestorePointCollections 的接口。

方法

beginDelete(string, string, RestorePointCollectionsDeleteOptionalParams)

用于删除还原点集合的操作。 此操作还将删除包含的所有还原点。

beginDeleteAndWait(string, string, RestorePointCollectionsDeleteOptionalParams)

用于删除还原点集合的操作。 此操作还将删除包含的所有还原点。

createOrUpdate(string, string, RestorePointCollection, RestorePointCollectionsCreateOrUpdateOptionalParams)

用于创建或更新还原点集合的操作。 有关更多详细信息, https://aka.ms/RestorePoints 请参阅 。 更新还原点集合时,只能修改标记。

get(string, string, RestorePointCollectionsGetOptionalParams)

用于获取还原点集合的操作。

list(string, RestorePointCollectionsListOptionalParams)

获取资源组中还原点集合的列表。

listAll(RestorePointCollectionsListAllOptionalParams)

获取订阅中还原点集合的列表。 在响应中使用 nextLink 属性获取还原点集合的下一页。 执行此操作,直到 nextLink 不为 null 可提取所有还原点集合。

update(string, string, RestorePointCollectionUpdate, RestorePointCollectionsUpdateOptionalParams)

用于更新还原点集合的操作。

方法详细信息

beginDelete(string, string, RestorePointCollectionsDeleteOptionalParams)

用于删除还原点集合的操作。 此操作还将删除包含的所有还原点。

function beginDelete(resourceGroupName: string, restorePointCollectionName: string, options?: RestorePointCollectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

资源组的名称。

restorePointCollectionName

string

还原点集合的名称。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, RestorePointCollectionsDeleteOptionalParams)

用于删除还原点集合的操作。 此操作还将删除包含的所有还原点。

function beginDeleteAndWait(resourceGroupName: string, restorePointCollectionName: string, options?: RestorePointCollectionsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

restorePointCollectionName

string

还原点集合的名称。

返回

Promise<void>

createOrUpdate(string, string, RestorePointCollection, RestorePointCollectionsCreateOrUpdateOptionalParams)

用于创建或更新还原点集合的操作。 有关更多详细信息, https://aka.ms/RestorePoints 请参阅 。 更新还原点集合时,只能修改标记。

function createOrUpdate(resourceGroupName: string, restorePointCollectionName: string, parameters: RestorePointCollection, options?: RestorePointCollectionsCreateOrUpdateOptionalParams): Promise<RestorePointCollection>

参数

resourceGroupName

string

资源组的名称。

restorePointCollectionName

string

还原点集合的名称。

parameters
RestorePointCollection

提供给创建或更新还原点收集操作的参数。

返回

get(string, string, RestorePointCollectionsGetOptionalParams)

用于获取还原点集合的操作。

function get(resourceGroupName: string, restorePointCollectionName: string, options?: RestorePointCollectionsGetOptionalParams): Promise<RestorePointCollection>

参数

resourceGroupName

string

资源组的名称。

restorePointCollectionName

string

还原点集合的名称。

返回

list(string, RestorePointCollectionsListOptionalParams)

获取资源组中还原点集合的列表。

function list(resourceGroupName: string, options?: RestorePointCollectionsListOptionalParams): PagedAsyncIterableIterator<RestorePointCollection, RestorePointCollection[], PageSettings>

参数

resourceGroupName

string

资源组的名称。

返回

listAll(RestorePointCollectionsListAllOptionalParams)

获取订阅中还原点集合的列表。 在响应中使用 nextLink 属性获取还原点集合的下一页。 执行此操作,直到 nextLink 不为 null 可提取所有还原点集合。

function listAll(options?: RestorePointCollectionsListAllOptionalParams): PagedAsyncIterableIterator<RestorePointCollection, RestorePointCollection[], PageSettings>

参数

返回

update(string, string, RestorePointCollectionUpdate, RestorePointCollectionsUpdateOptionalParams)

用于更新还原点集合的操作。

function update(resourceGroupName: string, restorePointCollectionName: string, parameters: RestorePointCollectionUpdate, options?: RestorePointCollectionsUpdateOptionalParams): Promise<RestorePointCollection>

参数

resourceGroupName

string

资源组的名称。

restorePointCollectionName

string

还原点集合的名称。

parameters
RestorePointCollectionUpdate

提供给更新还原点收集操作的参数。

返回