Update-AzRecoveryServicesAsrProtectionContainerMapping
Azure Site Recovery Protection コンテナー マッピングを更新します。
構文
Update-AzRecoveryServicesAsrProtectionContainerMapping
-InputObject <ASRProtectionContainerMapping>
[-AzureToAzure]
[-EnableAutoUpdate]
-AutomationAccountId <String>
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-AzRecoveryServicesAsrProtectionContainerMapping
-InputObject <ASRProtectionContainerMapping>
[-AzureToAzure]
[-DisableAutoUpdate]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
説明
Update-AzRecoveryServicesAsrProtectionContainerMapping コマンドレットは、指定された Azure Site Recovery 保護コンテナー マッピングを更新します。
例
例 1
Update-AzRecoveryServicesAsrProtectionContainerMapping -InputObject $ASRProtectionContainerMapping -AzureToAzure -DisableAutoUpdate
コンテナーの自動更新を無効にする操作を開始します。
例 2
Update-AzRecoveryServicesAsrProtectionContainerMapping -InputObject $ASRProtectionContainerMapping -AzureToAzure -EnableAutoUpdate -AutomationAccountId $automationAccountId
コンテナーの自動更新の有効化を無効にする操作を開始します。
パラメーター
-AutomationAccountId
自動更新に使用する Automation accountId を指定します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-AzureToAzure
Azure から Azure への保護コンテナーを指定します。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
コマンドレットの実行前に確認を求めるメッセージが表示されます。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisableAutoUpdate
自動更新を無効にするパラメーターを切り替えます。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableAutoUpdate
パラメーターを切り替えて自動更新を有効にします。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
保護コンテナー マッピングのオブジェクト。
Type: | ASRProtectionContainerMapping |
Aliases: | ProtectionContainerMapping |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
コマンドレットの実行時に発生する内容を示します。 このコマンドレットは実行されません。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
入力
出力
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示