forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Migrate from generation to main (Azure#26925)
* Move Migrate to main * Update ChangeLog.md --------- Co-authored-by: Yabo Hu <yabhu@microsoft.com>
- Loading branch information
1 parent
3513c12
commit 1ac6db6
Showing
13 changed files
with
79 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 15 additions & 6 deletions
21
src/Migrate/Migrate.Autorest/examples/New-AzMigrateDiskMapping.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
### Example 1: Make disks | ||
### Example 1: Make Standard disks | ||
```powershell | ||
New-AzMigrateDiskMapping -DiskID a -DiskType Standard -IsOSDisk 'true' | ||
New-AzMigrateDiskMapping -DiskID a -DiskType Standard_LRS -IsOSDisk 'true' | ||
``` | ||
|
||
```output | ||
DiskEncryptionSetId DiskId DiskType IsOSDisk LogStorageAccountId LogStorageAccountSasSecretName | ||
------------------- ------ -------- -------- ------------------- ------------------------------ | ||
a Standard true | ||
DiskEncryptionSetId DiskId DiskType IsOSDisk LogStorageAccountId LogStorageAccountSasSecretName | ||
------------------- ------ -------- -------- ------------------- ------------------------------ | ||
a Standard_LRS true | ||
``` | ||
|
||
Get disks object to provide input for New-AzMigrateServerReplication | ||
### Example 2: Make Premium V2 disks | ||
```powershell | ||
New-AzMigrateDiskMapping -DiskID b -DiskType PremiumV2_LRS -IsOSDisk 'false' | ||
``` | ||
|
||
```output | ||
DiskEncryptionSetId DiskId DiskType IsOSDisk LogStorageAccountId LogStorageAccountSasSecretName | ||
------------------- ------ -------- -------- ------------------- ------------------------------ | ||
b PremiumV2_LRS false | ||
``` | ||
|
||
Get disks object to provide input for New-AzMigrateServerReplication |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# | ||
# Generated by: Microsoft Corporation | ||
# | ||
# Generated on: 12/17/2024 | ||
# Generated on: 12/24/2024 | ||
# | ||
|
||
@{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters