-
Notifications
You must be signed in to change notification settings - Fork 2
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
Az migrate init infra #40
base: AzMigrateBugFix
Are you sure you want to change the base?
Conversation
src/Migrate/deploymentscripts/Initialize-AzMigrateReplicationInfrastructure.ps1
Show resolved
Hide resolved
src/Migrate/deploymentscripts/Initialize-AzMigrateReplicationInfrastructure.ps1
Show resolved
Hide resolved
src/Migrate/deploymentscripts/Initialize-AzMigrateReplicationInfrastructure.ps1
Show resolved
Hide resolved
src/Migrate/deploymentscripts/Initialize-AzMigrateReplicationInfrastructure.ps1
Show resolved
Hide resolved
src/Migrate/deploymentscripts/Initialize-AzMigrateReplicationInfrastructure.ps1
Show resolved
Hide resolved
src/Migrate/deploymentscripts/Initialize-AzMigrateReplicationInfrastructure.ps1
Outdated
Show resolved
Hide resolved
src/Migrate/deploymentscripts/Initialize-AzMigrateReplicationInfrastructure.ps1
Outdated
Show resolved
Hide resolved
$mappingName = "containermapping" | ||
$allFabrics = Get-AzMigrateReplicationFabric -ResourceGroupName $ResourceGroupName -ResourceName $VaultName | ||
foreach($fabric in $allFabrics){ | ||
if($fabric.Name -match $applianceName){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fabric contains vmwareSiteId/physicalSiteId properties. you have to use them to identify right fabric instead appliance name match which is a hacky approach.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed it in other codes as well.
Description
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added