Skip to content
Merged
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
26 changes: 26 additions & 0 deletions src/StackHCIVM/StackHCIVM.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an ""AS IS"" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - StackHcivm")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
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
2 changes: 1 addition & 1 deletion src/StackHCIVM/StackHCIVM.Autorest/docs/Az.StackHCIVM.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.StackHCIVM
Module Guid: 7389f67c-ec9d-4c13-9c9a-308834413af6
Module Guid: 90e9539e-05e4-42e4-a185-a37593de008b
Download Help Link: https://learn.microsoft.com/powershell/module/az.stackhcivm
Help Version: 1.0.0.0
Locale: en-US
Expand Down
2 changes: 1 addition & 1 deletion src/StackHCIVM/StackHCIVM.Autorest/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"generate_Id": "35440bea-e4b4-411f-873c-d7e73cea52d8"
"generate_Id": "c9e51407-876e-4dbf-ac40-b9d25a23c835"
}
11 changes: 11 additions & 0 deletions src/StackHCIVM/StackHCIVM.Autorest/resources/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Resources
This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder.

## Info
- Modifiable: yes
- Generated: no
- Committed: yes
- Packaged: no

## Purpose
Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact.
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