Get-AzRecoveryServicesAsrRecoveryPlan
Recovery Services コンテナー内の復旧計画またはすべての復旧計画を取得します。
構文
Get-AzRecoveryServicesAsrRecoveryPlan
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrRecoveryPlan
-Name <String>
[[-Path] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrRecoveryPlan
-FriendlyName <String>
[[-Path] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
Get-AzRecoveryServicesAsrRecoveryPlan コマンドレットは、指定された復旧計画または Recovery Services コンテナー内のすべての復旧計画の詳細を取得します。
例
例 1
$RP = Get-AzRecoveryServicesAsrRecoveryPlan -Name $RPName
指定した名前の復旧計画を取得します。
パラメーター
-DefaultProfile
Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。
型: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
既定値: | None |
必須: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FriendlyName
取得する復旧計画のフレンドリ名を指定します。
型: | String |
Position: | Named |
既定値: | None |
必須: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
取得する復旧計画の名前を指定します。
型: | String |
Position: | Named |
既定値: | None |
必須: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Path
このコマンドレットが復旧計画の json 定義を保存するファイル パスを指定します。 json 定義を編集して復旧計画を変更し、Update-AzRecoveryServicesASRRecoveryPlan コマンドレットを使用して復旧計画を更新するために使用できます。
型: | String |
Position: | 1 |
既定値: | None |
必須: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
入力
None