< Back
New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig
Post
NAME New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig
SYNOPSIS
Creates a disk mapping object for Azure virtual machine disks to be replicated.
SYNTAX
New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig [-Confirm] [-DefaultProfile <IAzureContextContainer>] -LogStorageAccountId
<String> -RecoveryAzureStorageAccountId <String> -VhdUri <String> [-WhatIf] [<CommonParameters>]
DESCRIPTION
Creates a disk mapping object that maps an Azure virtual machine disk to the cache storage account and target storage account (recovery region) to
be used to replicate the disk.
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
-LogStorageAccountId <String>
Specifies the log or cache storage account Id to be used to store replication logs.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryAzureStorageAccountId <String>
Specifies the ID of the Azure storage account to replicate to.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VhdUri <String>
Specify the VHD URI of the disk that this mapping corresponds to.
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.ASRAzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig
NOTES
Example 1
PS C:\\> New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig -VhdUri $vhdUri -RecoveryAzureStorageAccountId $recoveryStorageAccountId
-LogStorageAccountId $logStorageAccountId
Create a disk mapping object for Azure virtual machine disks to be replicated.Used during Azure to Azure EnableDr and reprotect operation.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... uretoazure
New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig
SYNOPSIS
Creates a disk mapping object for Azure virtual machine disks to be replicated.
SYNTAX
New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig [-Confirm] [-DefaultProfile <IAzureContextContainer>] -LogStorageAccountId
<String> -RecoveryAzureStorageAccountId <String> -VhdUri <String> [-WhatIf] [<CommonParameters>]
DESCRIPTION
Creates a disk mapping object that maps an Azure virtual machine disk to the cache storage account and target storage account (recovery region) to
be used to replicate the disk.
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
-LogStorageAccountId <String>
Specifies the log or cache storage account Id to be used to store replication logs.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-RecoveryAzureStorageAccountId <String>
Specifies the ID of the Azure storage account to replicate to.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-VhdUri <String>
Specify the VHD URI of the disk that this mapping corresponds to.
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.ASRAzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig
NOTES
Example 1
PS C:\\> New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig -VhdUri $vhdUri -RecoveryAzureStorageAccountId $recoveryStorageAccountId
-LogStorageAccountId $logStorageAccountId
Create a disk mapping object for Azure virtual machine disks to be replicated.Used during Azure to Azure EnableDr and reprotect operation.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... uretoazure
New-AzureRmRecoveryServicesAsrAzureToAzureDiskReplicationConfig