< Back
Update-AzureRmRecoveryServicesAsrNetworkMapping
Post
NAME Update-AzureRmRecoveryServicesAsrNetworkMapping
SYNOPSIS
Updates the specified azure site recovery network mapping.
SYNTAX
Update-AzureRmRecoveryServicesAsrNetworkMapping [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject <ASRNetworkMapping>
-RecoveryAzureNetworkId <String> [-WhatIf] [<CommonParameters>]
Update-AzureRmRecoveryServicesAsrNetworkMapping [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject <ASRNetworkMapping>
-RecoveryNetwork <ASRNetwork> [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Update-AzureRmRecoveryServicesAsrNetworkMapping cmdlet updates the specified Azure Site Recovery network mapping.
PARAMETERS
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with Azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <ASRNetworkMapping>
Input Object: Specifies the ASR network mapping object corresponding to the ASR network mapping to be updated.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-RecoveryAzureNetworkId <String>
Specifies the recovery azure network ID for the network mapping.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNetwork <ASRNetwork>
Specifies the recovery network object for the network mapping.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob
NOTES
Example 1
PS C:\\> $currentJob = Update-AzureRmRecoveryServicesAsrNetworkMapping -Mapping $NetworkMapping -RecoveryNetwork $RecoveryNetwork
Starts the update network mapping operation using the specified parameters and returns the ASR job used to track the operation.
RELATED LINKS
Online Version:
https://docs.microsoft.com/en-us/powers ... orkmapping
SYNOPSIS
Updates the specified azure site recovery network mapping.
SYNTAX
Update-AzureRmRecoveryServicesAsrNetworkMapping [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject <ASRNetworkMapping>
-RecoveryAzureNetworkId <String> [-WhatIf] [<CommonParameters>]
Update-AzureRmRecoveryServicesAsrNetworkMapping [-Confirm] [-DefaultProfile <IAzureContextContainer>] -InputObject <ASRNetworkMapping>
-RecoveryNetwork <ASRNetwork> [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Update-AzureRmRecoveryServicesAsrNetworkMapping cmdlet updates the specified Azure Site Recovery network mapping.
PARAMETERS
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with Azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InputObject <ASRNetworkMapping>
Input Object: Specifies the ASR network mapping object corresponding to the ASR network mapping to be updated.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-RecoveryAzureNetworkId <String>
Specifies the recovery azure network ID for the network mapping.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryNetwork <ASRNetwork>
Specifies the recovery network object for the network mapping.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob
NOTES
Example 1
PS C:\\> $currentJob = Update-AzureRmRecoveryServicesAsrNetworkMapping -Mapping $NetworkMapping -RecoveryNetwork $RecoveryNetwork
Starts the update network mapping operation using the specified parameters and returns the ASR job used to track the operation.
RELATED LINKS
Online Version:
https://docs.microsoft.com/en-us/powers ... orkmapping