Set-AzMigrateDiskMapping
Updates disk mapping
Syntax
Set-AzMigrateDiskMapping
-DiskID <String>
[-DiskName <String>]
[-IsOSDisk <String>]
[<CommonParameters>]
Description
The Set-AzMigrateDiskMapping cmdlet updates a mapping of the source disk attached to the server to be migrated
Examples
Example 1: Make disks
Set-AzMigrateDiskMapping -DiskID "6000C294-1217-dec3-bc18-81f117220424" -DiskName "ContosoDisk_1" -IsOSDisk "True"
DiskId IsOSDisk TargetDiskName
------ -------- --------------
6000C294-1217-dec3-bc18-81f117220424 True ContosoDisk_1
Get disks object to provide input for Set-AzMigrateServerReplication
Parameters
-DiskID
Specifies the disk ID of the disk attached to the discovered server to be migrated.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DiskName
Specifies the name of the managed disk to be created.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsOSDisk
Specifies whether the disk contains the Operating System for the source server to be migrated.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.