New-AzRecoveryServicesAsrInMageRcmDiskInput
Creates Azure Site Recovery Disk replication configuration for VMware To Azure replication.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
New-AzRecoveryServicesAsrInMageRcmDiskInput
-DiskId <String>
-LogStorageAccountId <String>
-DiskType <String>
[-DiskEncryptionSetId <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Creates a disk mapping object that maps an VMware virtual machine disk to the cache storage account and target managed disk type (recovery region) to be used to replicate the disk.
Examples
Example 1
New-AzRecoveryServicesAsrInMageRcmDiskInput -DiskId $diskId -LogStorageAccountId $logStorageAccountId -DiskType $diskType -DiskEncryptionSetId $diskEncryptionSetId
DiskId : 6000C296-91a1-f649-6714-a02903020cbc
LogStorageAccountId : /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/xxxxxxxxxxxx/providers/Microsoft.Storage/storageAccounts/xxxxxxxxxxxx
DiskType : Standard_LRS
DiskEncryptionSetId : 8010C296-91a1-a639-6714-a02903020cbc
Create a disk mapping object for VMware virtual machine disks to be replicated. Used during enable protection for VMware machine.
Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the disk encryption set ARM Id.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specify the DiskId of the disk that this mapping corresponds to.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the Recovery disk type.
| Type: | String |
| Accepted values: | Standard_LRS, Premium_LRS, StandardSSD_LRS |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the log or cache storage account Id to be used to store replication logs.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
None