RestorePointCollections interface
表示 RestorePointCollections 的介面。
方法
begin |
要刪除還原點集合的作業。 此作業也會刪除所有包含的還原點。 |
begin |
要刪除還原點集合的作業。 此作業也會刪除所有包含的還原點。 |
create |
建立或更新還原點集合的作業。 如需詳細資訊,請參閱 https://aka.ms/RestorePoints。 更新還原點集合時,只能修改標記。 |
get(string, string, Restore |
取得還原點集合的作業。 |
list(string, Restore |
取得資源群組中的還原點集合清單。 |
list |
取得訂用帳戶中的還原點集合清單。 在回應中使用 nextLink 屬性來取得還原點集合的下一頁。 請執行此動作,直到 nextLink 不是 Null,以擷取所有還原點集合。 |
update(string, string, Restore |
更新還原點集合的作業。 |
方法詳細資料
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
提供給建立或更新還原點收集作業的參數。
選項參數。
傳回
Promise<RestorePointCollection>
get(string, string, RestorePointCollectionsGetOptionalParams)
取得還原點集合的作業。
function get(resourceGroupName: string, restorePointCollectionName: string, options?: RestorePointCollectionsGetOptionalParams): Promise<RestorePointCollection>
參數
- resourceGroupName
-
string
資源群組的名稱。
- restorePointCollectionName
-
string
還原點集合的名稱。
選項參數。
傳回
Promise<RestorePointCollection>
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
提供給更新還原點集合作業的參數。
選項參數。
傳回
Promise<RestorePointCollection>