Get-AzRecoveryServicesAsrRecoveryPlan
取得復原方案或復原服務保存庫中的所有復原方案
Syntax
Get-AzRecoveryServicesAsrRecoveryPlan
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrRecoveryPlan
-Name <String>
[[-Path] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrRecoveryPlan
-FriendlyName <String>
[[-Path] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzRecoveryServicesAsrRecoveryPlan Cmdlet 會取得復原服務保存庫中指定復原方案或所有復原方案的詳細數據。
範例
範例 1
$RP = Get-AzRecoveryServicesAsrRecoveryPlan -Name $RPName
取得具有指定名稱的復原計劃。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FriendlyName
指定要取得之復原計劃的易記名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定要取得的復原方案名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Path
指定此 Cmdlet 儲存復原計劃 json 定義的檔案路徑。 json 定義可以編輯以修改復原計劃,並用來透過Update-AzRecoveryServicesASRRecoveryPlan Cmdlet 更新復原計畫
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
None
輸出
相關連結
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應