-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[PSCmdAssistant] New-AzVM and Vmss default image to Win2022AzureEdition when user explicitly sets SecurityType to Standard #24773
Conversation
️✔️Az.Accounts
️✔️Az.Compute
️✔️Az.KeyVault
️✔️Az.ManagedServiceIdentity
️✔️Az.Monitor
️✔️Az.Network
️✔️Az.OperationalInsights
️✔️Az.PrivateDns
|
Type | Title | Current Coverage | Last Coverage | Description |
---|---|---|---|---|
Test Coverage Less Than 80% | 62.50 % | 66.67% | Test coverage cannot be lower than the number of the last release. |
⚠️ - MacOS
Type | Title | Current Coverage | Last Coverage | Description |
---|---|---|---|---|
Test Coverage Less Than 80% | 62.50% | 66.67% | Test coverage cannot be lower than the number of the last release. |
⚠️ PowerShell Core - Windows
Type | Title | Current Coverage | Last Coverage | Description |
---|---|---|---|---|
Test Coverage Less Than 80% | 62.50% | 66.67% | Test coverage cannot be lower than the number of the last release. |
⚠️ Windows PowerShell - Windows
Type | Title | Current Coverage | Last Coverage | Description |
---|---|---|---|---|
Test Coverage Less Than 80% | 62.50% | 66.67% | Test coverage cannot be lower than the number of the last release. |
️✔️Az.Security
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Sql
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Ssh
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Storage
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
@Sandido , please check new added code, many test cases failed due to |
src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
Outdated
Show resolved
Hide resolved
src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
Outdated
Show resolved
Hide resolved
src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.ps1
Outdated
Show resolved
Hide resolved
...mpute/Compute/Generated/VirtualMachineScaleSet/VirtualMachineScaleSetCreateOrUpdateMethod.cs
Outdated
Show resolved
Hide resolved
src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
Show resolved
Hide resolved
src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
Show resolved
Hide resolved
src/Compute/Compute/Manual/VirtualMachineScaleSetCreateOrUpdateMethod.cs
Show resolved
Hide resolved
@@ -781,9 +780,15 @@ async Task StrategyExecuteCmdletAsync(IAsyncCmdlet asyncCmdlet) | |||
this.EnableVtpm = this.EnableVtpm ?? true; | |||
this.EnableSecureBoot = this.EnableSecureBoot ?? true; | |||
} | |||
// Default in TL Image to ease later migration. |
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.
i see this is the only part updated for New-AzVM,
does this code path apply to both Simple and Default parameter set ?
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.
The ask is for only this parameter set, I have not tested the other.
@YanaXu , please consider this for this breaking change release. |
To the author of the pull request, |
|
||
## Version 7.3.0 | ||
* Added cmdlet `Invoke-AzSpotPlacementRecommender`. | ||
* Fixed `Update-AzCapacityReservationGroup` to remove Subscriptions from SharingProfile. | ||
* Added new optional parameter `SecureVMGuestStateSAS` to cmdlet `Grant-AzDiskAccess`. |
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.
Why to add this line in "version 7.3.0". Please refer to https://www.powershellgallery.com/packages/Az.Compute/7.3.0. Usually we do not update the former versions. It doesn't work.
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.
Hi @Sandido , I've merged this PR to save time. Please double confirm why to add this line in a former release. If there is a reason, please comment in this PR and let's see what's the right thing to do.
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.
Description
design request: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1408
When the SecurityType is explicitly set to Standard, now defaulting the image to Win2022AzureEdition to let users migrate to TrustedLaunch securityType more easily in the future.
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.