Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Main to Network Release 2024-05-01 #26787

Closed
wants to merge 129 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
46f9e71
Revert "Update Azure.Identity to 1.13.0 (#26447)"
Nickcandy Oct 25, 2024
bf8c062
Revert "Upgraded Azure.Core to 1.44.1. (#26427)"
Nickcandy Oct 25, 2024
5b98811
revert relative changes about Azure.core
Nickcandy Oct 25, 2024
4d784fa
[ResourceGraph] Migrate Microsoft.Azure.Management.ResourceGraph to R…
JoyerJin Oct 25, 2024
18f0b81
[EventHub] Migrate "Microsoft.Azure.Management.EventHub" to EventHub.…
JoyerJin Oct 25, 2024
5cb4944
Sync resourceManagement.yml (#26471)
azure-powershell-bot Oct 25, 2024
4011e52
Update New-AzGalleryImageDefinition.md SecurityType Inputs (#26428)
cocallaw Oct 25, 2024
2867f60
Added details to disable breaking change messages (#26488)
mikefrobbins Oct 26, 2024
13f3375
made note to address a limitation on AppGW PowerShell (#26473)
reyjordi Oct 26, 2024
bdba7ee
Merge branch 'main' into lnx/revertcore
Nickcandy Oct 28, 2024
549658a
Merge pull request #26500 from Azure/lnx/revertcore
isra-fel Oct 28, 2024
e8b9234
Migrate Migrate from generation to main (#26407)
azure-pipelines[bot] Oct 28, 2024
885318e
Bump up version for DesktopVirtualization (#26444)
azure-powershell-bot Oct 28, 2024
f78468a
[Storage] Added a breaking warning : download blob will block input p…
blueww Oct 28, 2024
90206f7
Fix the issue that UXMetadata generate null in example.parameters (#2…
wyunchi-ms Oct 29, 2024
8e5469d
[ServiceBus] Migrate ServiceBus SDK to generated SDK (#26493)
JoyerJin Oct 29, 2024
e578436
Update New-AzGalleryImageVersion.md example with correct value for -S…
cocallaw Oct 29, 2024
b1978c3
Added cx waning to the New-AzVM cmdlet, The default value of publicIp…
phrazfipho Oct 29, 2024
d576860
Change Get-AzAccessToken to Get-AzAccessToken -AsSecureString (#26508)
msJinLei Oct 29, 2024
8f791ba
Move ArcGateway to release-2024-11-11 (#26529)
azure-pipelines[bot] Oct 30, 2024
7a91fe5
[NetAppFiles] Anf 42834 net app files 2024 07 01 (#26346)
audunn Oct 30, 2024
9f4d71b
Migrate Dataprotection from generation to release-2024-11-11 (#26534)
azure-pipelines[bot] Oct 30, 2024
c0f336b
[Recovery Services] Bug fix for update cmdlet in HyperV to Azure prov…
vidyadharijami Oct 30, 2024
e3e351a
Migrate Resources from generation to release-2024-11-11 (#26535)
azure-pipelines[bot] Oct 30, 2024
53cbb1d
Migrate HealthDataAIServices from generation to release-2024-11-11 (#…
azure-pipelines[bot] Oct 31, 2024
7b3bd47
release for 2024-11-11 (#26555)
Nickcandy Oct 31, 2024
6061329
Remove the newly added common parameter ProgressAction (#26558)
Nickcandy Oct 31, 2024
4f9e087
[Az.Dns] Add NAPTR support and tests (#26239)
WhiteHorseV Oct 31, 2024
02eeee0
[HDInsight] Fix bug and add new parameter. (#26133)
yuc-Li Nov 1, 2024
dbc077f
[SQL] Distributed Availability Groups cmdlet update to version 2023-0…
jovancevic123 Nov 1, 2024
c2f50b2
Update Copy-AzRecoveryServicesVault.md (#26570)
sidesw1pe Nov 3, 2024
c28cd3a
Fix network solution dependency issue (#26571)
vidai-msft Nov 4, 2024
1026dba
Sync resourceManagement.yml (#26572)
azure-powershell-bot Nov 4, 2024
8349058
Added support for enabling Disk access settings for managed VM restor…
hiaga Nov 4, 2024
44c216e
Migrate Monitor from generation to main (#26567)
azure-pipelines[bot] Nov 4, 2024
5821b60
Added CRR support for southeastus, westus3 region (#26587)
hiaga Nov 4, 2024
7469113
[NetAppFiles] Remove deprected properties from backups (#26564)
audunn Nov 4, 2024
92124d4
[release] Bugfix for release-2024-11-11 (#26568)
VeryEarly Nov 5, 2024
4d17964
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
Nickcandy Nov 5, 2024
633f953
Move Mdp to main (#26574)
azure-pipelines[bot] Nov 6, 2024
96e5b7e
Merge branch 'main' into lnx/merge
Nickcandy Nov 6, 2024
48358a8
Migrate DesktopVirtualization from generation to main (#26603)
azure-pipelines[bot] Nov 6, 2024
814b8b8
Merge pull request #26601 from Azure/lnx/merge
isra-fel Nov 6, 2024
b9a9854
Adding examples for constrained role delegation
SebastianClaesson Nov 6, 2024
693e5da
Sync resourceManagement.yml (#26616)
azure-powershell-bot Nov 7, 2024
2b72fe9
Migrate ElasticSan from generation to main (#26615)
azure-pipelines[bot] Nov 7, 2024
89b2be9
[Network] [Private Link] Updated Provider Configuration for Device Up…
darkoa-msft Nov 7, 2024
d38ddec
Migrate ContainerInstance from generation to main (#26614)
azure-pipelines[bot] Nov 7, 2024
c40ab7c
Fix the UXMetadata manually (#26622)
wyunchi-ms Nov 7, 2024
1653719
[Storage] When download blob with parameter AbsoluteUri, not allow in…
VeryEarly Nov 7, 2024
751c4a8
Update Resources SDK 2024-07-01 (#26507)
tsmallig33 Nov 7, 2024
3413229
New-AzVM | Make PublicIpSku Standard by default (#26619)
phrazfipho Nov 7, 2024
3d75db1
Remove GitHub Token From CI Pipeline (#26602)
YanaXu Nov 8, 2024
a20c779
Migrate ConnectedKubernetes from generation to main (#26630)
azure-pipelines[bot] Nov 8, 2024
df642ec
Migrate DevCenter from generation to main (#26626)
azure-pipelines[bot] Nov 8, 2024
58b9abd
Add support for creating cross-subscription Geo-replicated databases …
alecbain Nov 8, 2024
8dce41c
Update a string value in Get PR Changed Files Script (#26637)
YanaXu Nov 8, 2024
27ab661
[Storage] Mirgate Storage file cmdlets to Track2 SDK (#26575) (#26594)
VeryEarly Nov 8, 2024
ba10fa1
Downgrade the servity of didn't find defined parameter in path to 2 (…
wyunchi-ms Nov 8, 2024
c2b91f8
Migrate Astro from generation to main (#26643)
azure-pipelines[bot] Nov 8, 2024
77a5299
Fix JSON format issue (#26646)
vidai-msft Nov 10, 2024
a94ed58
Migrate App from generation to main (#26644)
azure-pipelines[bot] Nov 10, 2024
168239a
Migrate NeonPostgres from generation to main (#26647)
azure-pipelines[bot] Nov 11, 2024
04ad4f4
[Key Vault] Add Secret URI Parameter to Key Vault Secret Cmdlets (#26…
notyashhh Nov 11, 2024
1ebce47
[Accounts] Add Long-Running Operation (LRO) Support to Invoke-AzRestM…
notyashhh Nov 11, 2024
59fb486
Delay the Get-AzAccessToken Breaking Change (#26625)
msJinLei Nov 11, 2024
b08bc7c
Update azure-powershell-modules.md (#26650)
Nickcandy Nov 11, 2024
174cc61
Bump up version for ConnectedKubernetes (#26635)
azure-powershell-bot Nov 11, 2024
2dfe4ad
Migrate ConnectedMachine from generation to main (#26657)
azure-pipelines[bot] Nov 12, 2024
f59a747
Remove ProgressAction and tweak the change log (#26661)
vidai-msft Nov 12, 2024
7efe0db
[Devtestlabs] Migrated DevTestLabs SDK to generated SDK (#26648)
JoyerJin Nov 12, 2024
f56cb89
Changing to two simple roles for examples
SebastianClaesson Nov 12, 2024
5a3a0e2
Remove get-github-token-steps.yml (#26660)
YanaXu Nov 12, 2024
2cb03f7
Add engineer docs for example analyzer (#26663)
BethanyZhou Nov 13, 2024
984fe9c
Migrate DesktopVirtualization from generation to release-2024-11-19 (…
azure-powershell-bot Nov 13, 2024
c83b77b
Remove alias for cmdlet Resolve-AzError (#26666)
vidai-msft Nov 13, 2024
691d74a
Fixed overriding of Bicep parameters in Deployment Stack cmdlets to s…
dantedallag Nov 13, 2024
c8dcd4c
Migrate ConnectedKubernetes from generation to main (#26675)
azure-powershell-bot Nov 13, 2024
730a85a
Migrate DnsResolver from generation to release-2024-11-19 (#26676)
azure-powershell-bot Nov 13, 2024
5607f22
Updated verbose status log in deployment stacks deployment. (#26681)
dantedallag Nov 14, 2024
039b384
Migrate ContainerInstance from generation to release-2024-11-19 (#26690)
azure-powershell-bot Nov 14, 2024
d95e541
Bump up version for ConnectedKubernetes (#26686)
azure-powershell-bot Nov 15, 2024
e891a4e
[DataFactory]Powershell Release (#26702)
Jingshu918 Nov 15, 2024
58df09f
release-2024-11-19 (#26706)
BethanyZhou Nov 15, 2024
460ff0e
Update Start-AzNetAppFilesPeerExternalCluster.md (#26684)
VeryEarly Nov 15, 2024
1d07b71
Merge remote-tracking branch 'origin/main' into vidai/release-2024-11-19
vidai-msft Nov 15, 2024
55251fe
Resolve the solutions with dependencies (#26710)
wyunchi-ms Nov 15, 2024
4d3a970
Update model creation parameter location or order
JoyerJin Nov 15, 2024
049ce81
Add migration guide
vidai-msft Nov 16, 2024
32af695
Update documentation/migration-guides/Az.13.0.0-migration-guide.md
vidai-msft Nov 18, 2024
60c89b2
Update documentation/migration-guides/Az.13.0.0-migration-guide.md
vidai-msft Nov 18, 2024
a70a01a
Update documentation/migration-guides/Az.13.0.0-migration-guide.md
vidai-msft Nov 18, 2024
66a1da0
Merge pull request #26712 from Azure/vidai/release-2024-11-19
VeryEarly Nov 18, 2024
36444cf
Update ChangeLog.md
JoyerJin Nov 18, 2024
3a84203
Merge pull request #26714 from Azure/joyer/apimgnt-sdk-fix
VeryEarly Nov 18, 2024
c980265
Update documentation/migration-guides/Az.13.0.0-migration-guide.md
vidai-msft Nov 18, 2024
551bb4f
Merge pull request #26717 from Azure/vidai/migration-guide
VeryEarly Nov 18, 2024
9822b3b
Update ExampleIssues.csv
VeryEarly Nov 18, 2024
ee61f8f
Merge pull request #26612 from SebastianClaesson/patch-1
VeryEarly Nov 18, 2024
708536f
Move ComputeFleet to main
azure-powershell-bot Nov 18, 2024
dc51681
Updating migration guide typos for Az 13.0.0 (#26722)
jovancevic123 Nov 18, 2024
97cd948
Update migration guide. (#26723)
lijinpei2008 Nov 18, 2024
4113d77
Merge pull request #26721 from Azure/codegen/ComputeFleet
VeryEarly Nov 19, 2024
a91ae5f
Upgraded Azure.Core to 1.44.1 and Azure.Identity to 1.13.0
Nickcandy Nov 19, 2024
2084199
Merge pull request #26728 from Azure/lnx/core
Nickcandy Nov 19, 2024
38c727b
Update azure-powershell-modules.md (#26727)
vidai-msft Nov 20, 2024
ace61bc
remove pipeline files (#26735)
YanaXu Nov 21, 2024
3ac5f90
Update SDKGeneratedCodeVerify.ps1 (#26739)
NoriZC Nov 21, 2024
ef7eb8c
[PowerBIEmbedded] Removed "Microsoft.Azure.Management.PowerBIEmbedded…
JoyerJin Nov 21, 2024
9123a99
Add Diagnostics and Warnings to Deployments WhatIf/Validate cmdlets (…
tsmallig33 Nov 21, 2024
ad7a40e
Updated title and corrected docs build warnings (#26750)
mikefrobbins Nov 23, 2024
88ccd51
Corrected invalid-note-section build warnings (#26749)
mikefrobbins Nov 25, 2024
571fa9f
Sync resourceManagement.yml (#26743)
azure-powershell-bot Nov 26, 2024
0a33c14
Corrected other-site-link-broken build warnings (#26744)
mikefrobbins Nov 26, 2024
60b4fd3
Corrected learn-site-link-broken build warnings (#26745)
mikefrobbins Nov 26, 2024
43fe7be
Corrected disallowed-html-tag build warnings (#26746)
mikefrobbins Nov 26, 2024
981a03b
[Az.RecoveryServices.Backup] Added support for AFS VaultStandard Back…
IannGeorges Nov 26, 2024
48ef9be
Migrate HealthDataAIServices from generation to main (#26759)
azure-powershell-bot Nov 26, 2024
1bbb74d
[Batch] Fix error when setting null values in job CommonEnvironmentSe…
dpwatrous Nov 26, 2024
f933d31
[eng] Set dotnet version before msbuild in security tools pipeline (#…
VeryEarly Nov 28, 2024
dbe4cca
[SignalR] SignalR completed the Track 1 to SDK (#26726)
lijinpei2008 Nov 28, 2024
9002fda
Update Get-AzFirewallPolicyRuleCollectionGroup.md (#26733)
divyeshg94 Nov 28, 2024
9522c24
Fix Deployment Type Issue #26752 (#26776)
tsmallig33 Nov 28, 2024
78d4f78
[IotCentral] Code generated tool updated from autorest.csharp to auto…
lijinpei2008 Nov 29, 2024
404abf2
Update Set-AzVMOSDisk.md (#26736)
vinfnet Nov 29, 2024
4f4d635
[DeviceProvisioningServices] Code generated tool updated from autores…
lijinpei2008 Nov 29, 2024
2da2819
Update daily-build.yml (#26792)
VeryEarly Dec 2, 2024
6936a17
Suppress false positive cred scan (#26793)
VeryEarly Dec 2, 2024
27283dc
[Az.RecoveryServices.Backup] Improve Policy Error Code (#26788)
IannGeorges Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Migrate Migrate from generation to main (#26407)
* Move Migrate to main

* Update ChangeLog.md

---------

Co-authored-by: azure-powershell-bot <65331932+azure-powershell-bot@users.noreply.github.com>
Co-authored-by: NanxiangLiu <33285578+Nickcandy@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e8b923485b270d19e2a55f68b27a738caf324e6a
2,600 changes: 1,625 additions & 975 deletions src/Migrate/Migrate.Autorest/Az.Migrate.format.ps1xml

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions src/Migrate/Migrate.Autorest/README.md
Original file line number Diff line number Diff line change
@@ -45,13 +45,13 @@ In this directory, run AutoRest:

``` yaml
skip-semantics-validation: true
commit: 0dd49a444195fef7f3555cad038cb7665cbd928c
commit: 3b19762dab3c48c857ae2355da351b32dde22eda
require:
- $(this-folder)/../../readme.azure.noprofile.md
input-file:
- $(repo)/specification/migrate/resource-manager/Microsoft.OffAzure/stable/2020-01-01/migrate.json
- $(repo)/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
- $(repo)/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/service.json
- $(repo)/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2024-01-01/service.json
- $(repo)/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/preview/2021-02-16-preview/recoveryservicesdatareplication.json

module-version: 1.0.1
@@ -120,55 +120,55 @@ directive:
- TaskModel
- TaskModelCustomProperties
# Remove variants not in scope
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Test$
subject: ^ReplicationMigrationItemMigrate
variant: ^TestViaIdentity$|^TestViaIdentityExpanded$|^Test$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Get$
subject: ReplicationFabric$|ReplicationPolicy$|ReplicationProtectionContainer$|ReplicationMigrationItem$|ReplicationJob$|ReplicationProtectionContainerMapping$|ReplicationRecoveryServicesProvider$
variant: ^GetViaIdentity$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Remove$
subject: ^ReplicationMigrationItem
variant: ^DeleteViaIdentity$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Move$
subject: ^ReplicationMigrationItem
variant: ^MigrateViaIdentityExpanded$|^Migrate$|^MigrateViaIdentity$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Suspend$
subject: ^ReplicationMigrationItemReplication
variant: ^PauseViaIdentityExpanded$|^Pause$|^PauseViaIdentity$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Resume$
subject: ^ReplicationMigrationItemReplication
variant: ^ResumeViaIdentityExpanded$|^Resume$|^ResumeViaIdentity$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Invoke$
subject: ^ResyncReplicationMigrationItem
variant: ^ResyncViaIdentityExpanded$|^ResyncViaIdentity$|^Resync$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: New$
subject: ^ReplicationMigrationItem|ReplicationProtectionContainerMapping$|ReplicationPolicy$
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Create$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Update$
subject: ^ReplicationMigrationItem
@@ -266,49 +266,49 @@ directive:
verb: Update$
subject: Project$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
subject: ^ReplicationRecoveryPlan|ReplicationRecoveryServiceProvider$|ReplicationEvent$|ReplicationAlertSetting$|ReplicationLogicalNetwork$|^ReplicationProtectedItem|^ReplicationNetwork|^ReplicationStorage|RecoveryPoint$|ProtectableItem$|FabricGateway$|FabricToAad$|ReplicationvCenter$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Export$|Find$|Switch$|Clear$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
subject: ^Commit|^Renew|^Reprotect|^Unplanned|VaultHealth$|ComputeSize$|FabricConsistency$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: New$|Remove$
subject: Fabric$|ProtectionContainer$|ReplicationRecoveryServicesProvider$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Remove$
subject: ReplicationPolicy$|ReplicationProtectionContainerMapping$
subject: ReplicationPolicy$|ReplicationProtectionContainerMapping$|ReplicationFabricInfra$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Update$
subject: Fabric$|Policy$|ProtectionContainer$|ReplicationProtectionContainerMapping$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Stop$|Resume$|Restart$
subject: Job$
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Get
subject: ^ReplicationAppliance|^ReplicationEligibilityResult|^ReplicationProtectionIntent
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Get
subject: ^ReplicationVaultSetting|^SupportedOperatingSystem|^ReplicationProtectionIntent
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: New
subject: ^ReplicationVaultSetting|^SupportedOperatingSystem|^ReplicationProtectionIntent
@@ -358,7 +358,7 @@ directive:
verb: Update
subject: ^Vault
remove: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Invoke
subject: ^PlannedReplication
@@ -376,57 +376,57 @@ directive:
verb: Set$
subject: ^Solution
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Get$
subject: ToAzureMigrate$
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Get$
subject: ReplicationMigrationItem$|ReplicationJob$
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Test$
subject: ^ReplicationMigrationItemMigrate
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: New$|Remove$
subject: ^ReplicationMigrationItem
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Move$
subject: ^ReplicationMigrationItem
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Restart$
subject: ^ReplicationJob
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Invoke$
subject: ^ResyncReplicationMigrationItem
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Update$
subject: ^ReplicationMigrationItem
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Suspend$
subject: ^ReplicationMigrationItemReplication
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
verb: Resume$
subject: ^ReplicationMigrationItemReplication
hide: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
subject: ^Planned
hide: true
@@ -475,17 +475,17 @@ directive:
parameter-name: Name
clear-alias: true
# Table output formatting
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
model-name: MigrationItem
set:
suppress-format: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
model-name: Job
set:
suppress-format: true
- from: Microsoft.RecoveryServices/stable/2023-01-01/service.json
- from: Microsoft.RecoveryServices/stable/2024-01-01/service.json
where:
model-name: Fabric
set:
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings",
"apiVersion": "2023-01-01",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.migrate"
},
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "vaults/replicationFabrics/replicationProtectionContainers",
"apiVersion": "2023-01-01",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.migrate"
},
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "vaults/replicationFabrics/replicationRecoveryServicesProviders",
"apiVersion": "2023-01-01",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.migrate"
},
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "vaults/replicationPolicies",
"apiVersion": "2023-01-01",
"apiVersion": "2024-01-01",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.migrate"
},
7 changes: 4 additions & 3 deletions src/Migrate/Migrate.Autorest/build-module.ps1
Original file line number Diff line number Diff line change
@@ -67,6 +67,8 @@ if(-not $Isolated -and -not $Debugger) {
$binFolder = Join-Path $PSScriptRoot 'bin'
$objFolder = Join-Path $PSScriptRoot 'obj'

$isAzure = [System.Convert]::ToBoolean('true')

if(-not $Debugger) {
Write-Host -ForegroundColor Green 'Cleaning build folders...'
$null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
@@ -143,7 +145,7 @@ if($NoDocs) {
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
}
$null = New-Item -ItemType Directory -Force -Path $docsFolder
$addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
$addComplexInterfaceInfo = !$isAzure
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
}

@@ -178,5 +180,4 @@ if (-not $DisableAfterBuildTasks){
}
}


Write-Host -ForegroundColor Green '-------------Done-------------'
Write-Host -ForegroundColor Green '-------------Done-------------'
4 changes: 2 additions & 2 deletions src/Migrate/Migrate.Autorest/custom/Get-AzMigrateJob.ps1
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ The Get-AzMigrateJob cmdlet retrives the status of an Azure Migrate job.
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratejob
#>
function Get-AzMigrateJob {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IJob])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IJob])]
[CmdletBinding(DefaultParameterSetName = 'ListByName', PositionalBinding = $false)]
param(
[Parameter(ParameterSetName = 'GetById', Mandatory)]
@@ -53,7 +53,7 @@ function Get-AzMigrateJob {

[Parameter(ParameterSetName = 'GetByInputObject', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IJob]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IJob]
# Specifies the job object of the replicating server.
${InputObject},

Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ The Get-AzMigrateServerReplication cmdlet retrieves the object for the replicati
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigrateserverreplication
#>
function Get-AzMigrateServerReplication {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IMigrationItem])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IMigrationItem])]
[CmdletBinding(DefaultParameterSetName = 'ListByName', PositionalBinding = $false)]
param(
[Parameter(ParameterSetName = 'GetBySRSID', Mandatory)]
@@ -53,7 +53,7 @@ function Get-AzMigrateServerReplication {

[Parameter(ParameterSetName = 'GetByInputObject', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IMigrationItem]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IMigrationItem]
# Specifies the machine object of the replicating server.
${InputObject},

Original file line number Diff line number Diff line change
@@ -161,7 +161,13 @@ function Initialize-AzMigrateHCIReplicationInfrastructure {
}

if (-not $userObject) {
$userObject = Get-AzADServicePrincipal -ApplicationID $context.Account.Id
if ($context.Account.Id.StartsWith("MSI@")) {
$hostname = $env:COMPUTERNAME
$userObject = Get-AzADServicePrincipal -DisplayName $hostname
}
else {
$userObject = Get-AzADServicePrincipal -ApplicationID $context.Account.Id
}
}

if (-not $userObject) {
Original file line number Diff line number Diff line change
@@ -542,7 +542,7 @@ public static int hashForArtifact(String artifact)
$policyName = $MigratePrefix + $SiteName + "policy"
$existingPolicyObject = Get-AzMigrateReplicationPolicy -PolicyName $policyName -ResourceGroupName $ResourceGroupName -ResourceName $VaultName -ErrorVariable notPresent -ErrorAction SilentlyContinue
if (!$existingPolicyObject) {
$providerSpecificPolicy = [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.VMwareCbtPolicyCreationInput]::new()
$providerSpecificPolicy = [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.VMwareCbtPolicyCreationInput]::new()
$providerSpecificPolicy.AppConsistentFrequencyInMinute = 240
$providerSpecificPolicy.InstanceType = "VMwareCbt"
$providerSpecificPolicy.RecoveryPointHistoryInMinute = 360
@@ -566,7 +566,7 @@ public static int hashForArtifact(String artifact)
Write-Host $mappingName, " for ", $applianceName, $LogStringSkipping
}
else {
$providerSpecificInput = [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.VMwareCbtContainerMappingInput]::new()
$providerSpecificInput = [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.VMwareCbtContainerMappingInput]::new()
$providerSpecificInput.InstanceType = "VMwareCbt"
$providerSpecificInput.TargetLocation = $TargetRegion
if ([string]::IsNullOrEmpty($CacheStorageAccountId)) {
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ The New-AzMigrateDiskMapping cmdlet creates a mapping of the source disk attache
https://learn.microsoft.com/powershell/module/az.migrate/new-azmigratediskmapping
#>
function New-AzMigrateDiskMapping {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IVMwareCbtDiskInput])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IVMwareCbtDiskInput])]
[CmdletBinding(DefaultParameterSetName = 'VMwareCbt', PositionalBinding = $false)]
param(
[Parameter(Mandatory)]
@@ -55,7 +55,7 @@ function New-AzMigrateDiskMapping {
)

process {
$DiskObject = [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.VMwareCbtDiskInput]::new()
$DiskObject = [Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.VMwareCbtDiskInput]::new()
$DiskObject.DiskId = $DiskID

$validDiskTypeSpellings = @{
Loading