Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions src/StackHCIVM/StackHCIVM.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,31 @@ flatten-userassignedidentity: false
inlining-threshold: 50
resourcegroup-append: true
directive:
# Breaking change pre-announcements for parameter type changes
- where:
verb: New
subject: StackHCIVMImage
parameter-name: ImagePath
set:
breaking-change:
old-parameter-type: String
new-parameter-type: SecureString
change-description: The type of parameter ImagePath will be changed from String to SecureString to protect sensitive file path information.
deprecated-by-version: 2.0.0
deprecated-by-azversion: 16.0.0
change-effective-date: May 2026
- where:
verb: New
subject: StackHCIVMVirtualMachine
parameter-name: AdminPassword
set:
breaking-change:
old-parameter-type: String
new-parameter-type: SecureString
change-description: The type of parameter AdminPassword will be changed from String to SecureString to protect sensitive credential information.
deprecated-by-version: 2.0.0
deprecated-by-azversion: 16.0.0
change-effective-date: May 2026
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}"].delete.responses
transform: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ function New-AzStackHCIVMImage{
${CustomLocationId},

[Parameter(ParameterSetName='GalleryImage', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.ParameterBreakingChangeAttribute("ImagePath", "16.0.0", "2.0.0", "May 2026", OldParamaterType="String", NewParameterType="SecureString")]
[Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')]
[System.String]
# Local path of image that the image should be created from.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ function New-AzStackHCIVMVirtualMachine {
${OSDiskResourceGroup},

[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.ParameterBreakingChangeAttribute("AdminPassword", "16.0.0", "2.0.0", "May 2026", OldParamaterType="String", NewParameterType="SecureString")]
[Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Category('Body')]
[System.String]
# AdminPassword - admin password
Expand Down
1 change: 1 addition & 0 deletions src/StackHCIVM/StackHCIVM/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Added breaking change announcements for upcoming SecureString parameter type changes in `New-AzStackHCIVMImage` and `New-AzStackHCIVMVirtualMachine`

## Version 1.1.0
* Upgraded nuget package to signed package.
Expand Down
Loading