Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
PCA workflow previously would only complete when there was a workload domain with a single cluster.
To allow for multiple clusters under a workload domain, the code has been enhanced to successfully create the VM folder, resource rools, and tag the resource pools in the Cloud Account.
Add-VMFolder
to select the first cluster in a datacenter to create the folder.Add-ResourcePool
to select the first cluster in a workload domain in case a cluster is not specified as parameter.Update-vRACloudAccountZone
to allow add multiple resource pools to the cloud account. ParameterResoucePool
which was a concatenation ofCluster
andResourcepool
is now entered as only the suffix, and built during the for loop.Type
Please describe:
Breaking Changes?
There was no other functions that used -Resourcepool as input for the Update-vRACloudAccountZone function, thus i deem it non-breaking to change the param name.
Test and Documentation
Tests where conducted using a Standard Architecture with a Workload domain, with two clusters.
Issue References
Additional Information