Skip to content

Commit 9e226c6

Browse files
authored
[PS] Add breaking change announcement about migration StackHCI to autorest v4 (#28392)
1 parent 34d37d5 commit 9e226c6

File tree

10 files changed

+376
-18
lines changed

10 files changed

+376
-18
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - StackHci")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.6.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.6.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

src/StackHCI/StackHCI.Autorest/README.md

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,236 @@ directive:
208208
- ResourceGroupName
209209
labels:
210210
ResourceGroupName: Resource Group
211+
- where:
212+
verb: Get|New
213+
subject: ArcSetting
214+
set:
215+
breaking-change:
216+
deprecated-output-properties:
217+
- DefaultExtension
218+
- PerNodeDetail
219+
new-output-properties:
220+
- DefaultExtension
221+
- PerNodeDetail
222+
change-description: The types of the properties DefaultExtension and PerNodeDetail will be changed from single object or fixed array to 'List'.
223+
deprecated-by-version: 3.0.0
224+
deprecated-by-azversion: 15.0.0
225+
change-effective-date: 2025/11
226+
- where:
227+
verb: Get|New
228+
subject: Extension
229+
set:
230+
breaking-change:
231+
deprecated-output-properties:
232+
- PerNodeExtensionDetail
233+
new-output-properties:
234+
- PerNodeExtensionDetail
235+
change-description: The type of the property PerNodeExtensionDetail will be changed from single object or fixed array to 'List'.
236+
deprecated-by-version: 3.0.0
237+
deprecated-by-azversion: 15.0.0
238+
change-effective-date: 2025/11
239+
- where:
240+
verb: Get|New|Update
241+
subject: Cluster
242+
set:
243+
breaking-change:
244+
deprecated-output-properties:
245+
- ReportedPropertyNode
246+
- LogCollectionPropertyLogCollectionSessionDetail
247+
- RemoteSupportPropertyRemoteSupportSessionDetail
248+
- RemoteSupportPropertyRemoteSupportNodeSetting
249+
- ReportedPropertySupportedCapability
250+
new-output-properties:
251+
- ReportedPropertyNode
252+
- LogCollectionPropertyLogCollectionSessionDetail
253+
- RemoteSupportPropertyRemoteSupportSessionDetail
254+
- RemoteSupportPropertyRemoteSupportNodeSetting
255+
- ReportedPropertySupportedCapability
256+
change-description: The types of the properties ReportedPropertyNode, LogCollectionPropertyLogCollectionSessionDetail, RemoteSupportPropertyRemoteSupportSessionDetail, RemoteSupportPropertyRemoteSupportNodeSetting and ReportedPropertySupportedCapability will be changed from single object or fixed array to 'List'.
257+
deprecated-by-version: 3.0.0
258+
deprecated-by-azversion: 15.0.0
259+
change-effective-date: 2025/11
260+
- where:
261+
verb: Get
262+
subject: DeploymentSetting
263+
set:
264+
breaking-change:
265+
deprecated-output-properties:
266+
- DeploymentStatusStep
267+
- ValidationStatusStep
268+
- DeploymentConfigurationScaleUnit
269+
- ArcNodeResourceId
270+
new-output-properties:
271+
- DeploymentStatusStep
272+
- ValidationStatusStep
273+
- DeploymentConfigurationScaleUnit
274+
- ArcNodeResourceId
275+
change-description: The types of the properties DeploymentStatusStep, ValidationStatusStep, DeploymentConfigurationScaleUnit and ArcNodeResourceId will be changed from single object or fixed array to 'List'.
276+
deprecated-by-version: 3.0.0
277+
deprecated-by-azversion: 15.0.0
278+
change-effective-date: 2025/11
279+
- where:
280+
verb: New
281+
subject: DeploymentSetting
282+
set:
283+
breaking-change:
284+
deprecated-output-properties:
285+
- DeploymentStatusStep
286+
- ValidationStatusStep
287+
- DeploymentConfigurationScaleUnit
288+
- ArcNodeResourceId
289+
- DeploymentDataSecret
290+
- DeploymentDataInfrastructureNetwork
291+
- HostNetworkIntent
292+
- DeploymentDataPhysicalNode
293+
- SbePartnerInfoCredentialList
294+
- SbePartnerInfoPartnerProperty
295+
- HostNetworkStorageNetwork
296+
new-output-properties:
297+
- DeploymentStatusStep
298+
- ValidationStatusStep
299+
- DeploymentConfigurationScaleUnit
300+
- ArcNodeResourceId
301+
- DeploymentDataSecret
302+
- DeploymentDataInfrastructureNetwork
303+
- HostNetworkIntent
304+
- DeploymentDataPhysicalNode
305+
- SbePartnerInfoCredentialList
306+
- SbePartnerInfoPartnerProperty
307+
- HostNetworkStorageNetwork
308+
change-description: The types of the properties DeploymentStatusStep, ValidationStatusStep, DeploymentConfigurationScaleUnit and ArcNodeResourceId will be changed from single object or fixed array to 'List'. The type of property DeploymentDataSecret, DeploymentDataInfrastructureNetwork, HostNetworkIntent, DeploymentDataPhysicalNode, SbePartnerInfoCredentialList, SbePartnerInfoPartnerProperty and HostNetworkStorageNetwork of type ScaleUnits will be changed from single object or fixed array to 'List'.
309+
deprecated-by-version: 3.0.0
310+
deprecated-by-azversion: 15.0.0
311+
change-effective-date: 2025/11
312+
- where:
313+
verb: Get|Set
314+
subject: ^Update$
315+
set:
316+
breaking-change:
317+
deprecated-output-properties:
318+
- ComponentVersion
319+
- HealthCheckResult
320+
- Prerequisite
321+
new-output-properties:
322+
- ComponentVersion
323+
- HealthCheckResult
324+
- Prerequisite
325+
change-description: The types of the properties ComponentVersion, HealthCheckResult and Prerequisite will be changed from single object or fixed array to 'List'.
326+
deprecated-by-version: 3.0.0
327+
deprecated-by-azversion: 15.0.0
328+
change-effective-date: 2025/11
329+
- where:
330+
verb: Get|Set
331+
subject: UpdateRun
332+
set:
333+
breaking-change:
334+
deprecated-output-properties:
335+
- ProgressStep
336+
new-output-properties:
337+
- ProgressStep
338+
change-description: The type of the property ProgressStep will be changed from single object or fixed array to 'List'.
339+
deprecated-by-version: 3.0.0
340+
deprecated-by-azversion: 15.0.0
341+
change-effective-date: 2025/11
342+
- where:
343+
verb: Get|Set
344+
subject: UpdateSummary
345+
set:
346+
breaking-change:
347+
deprecated-output-properties:
348+
- PackageVersion
349+
- HealthCheckResult
350+
new-output-properties:
351+
- PackageVersion
352+
- HealthCheckResult
353+
change-description: The types of the properties PackageVersion and HealthCheckResult will be changed from single object or fixed array to 'List'.
354+
deprecated-by-version: 3.0.0
355+
deprecated-by-azversion: 15.0.0
356+
change-effective-date: 2025/11
357+
- where:
358+
verb: Test
359+
subject: EdgeDevice
360+
set:
361+
breaking-change:
362+
deprecated-output-properties:
363+
- EdgeDeviceId
364+
new-output-properties:
365+
- EdgeDeviceId
366+
change-description: The type of the property EdgeDeviceId will be changed from single object or fixed array to 'List'.
367+
deprecated-by-version: 3.0.0
368+
deprecated-by-azversion: 15.0.0
369+
change-effective-date: 2025/11
370+
- where:
371+
verb: Invoke
372+
subject: ConsentAndInstallDefaultExtension
373+
set:
374+
breaking-change:
375+
deprecated-output-properties:
376+
- DefaultExtension
377+
- PerNodeDetail
378+
new-output-properties:
379+
- DefaultExtension
380+
- PerNodeDetail
381+
change-description: The types of the properties DefaultExtension and PerNodeDetail will be changed from single object or fixed array to 'List'.
382+
deprecated-by-version: 3.0.0
383+
deprecated-by-azversion: 15.0.0
384+
change-effective-date: 2025/11
385+
- where:
386+
verb: Invoke
387+
subject: ExtendClusterSoftwareAssuranceBenefit
388+
set:
389+
breaking-change:
390+
deprecated-output-properties:
391+
- ReportedPropertyNode
392+
- LogCollectionPropertyLogCollectionSessionDetail
393+
- RemoteSupportPropertyRemoteSupportSessionDetail
394+
- RemoteSupportPropertyRemoteSupportNodeSetting
395+
- ReportedPropertySupportedCapability
396+
new-output-properties:
397+
- ReportedPropertyNode
398+
- LogCollectionPropertyLogCollectionSessionDetail
399+
- RemoteSupportPropertyRemoteSupportSessionDetail
400+
- RemoteSupportPropertyRemoteSupportNodeSetting
401+
- ReportedPropertySupportedCapability
402+
change-description: The types of the properties ReportedPropertyNode, LogCollectionPropertyLogCollectionSessionDetail, RemoteSupportPropertyRemoteSupportSessionDetail, RemoteSupportPropertyRemoteSupportNodeSetting and ReportedPropertySupportedCapability will be changed from single object or fixed array to 'List'.
403+
deprecated-by-version: 3.0.0
404+
deprecated-by-azversion: 15.0.0
405+
change-effective-date: 2025/11
406+
- where:
407+
verb: Invoke
408+
subject: ExtendClusterSoftwareAssuranceBenefit
409+
variant: Extend|ExtendViaIdentity
410+
set:
411+
breaking-change:
412+
deprecated-by-version: 3.0.0
413+
deprecated-by-azversion: 15.0.0
414+
change-effective-date: 2025/11
415+
- where:
416+
subject: EdgeDevice
417+
variant: Validate|ValidateViaIdentity
418+
set:
419+
breaking-change:
420+
deprecated-by-version: 3.0.0
421+
deprecated-by-azversion: 15.0.0
422+
change-effective-date: 2025/11
423+
- where:
424+
parameter-name: IdentityType
425+
set:
426+
breaking-change:
427+
old-parameter-type: string
428+
new-parameter-type: boolean
429+
change-description: IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system-assigned identities.
430+
deprecated-by-version: 3.0.0
431+
deprecated-by-azversion: 15.0.0
432+
change-effective-date: 2025/11
433+
- where:
434+
parameter-name: UserAssignedIdentity
435+
set:
436+
breaking-change:
437+
old-parameter-type: hashtable
438+
new-parameter-type: list
439+
change-description: The type of UserAssignedIdentity will be simplified to an array of strings that is used to specify the user's assigned identity.
440+
deprecated-by-version: 3.0.0
441+
deprecated-by-azversion: 15.0.0
442+
change-effective-date: 2025/11
211443
```

src/StackHCI/StackHCI.Autorest/custom/stackhci.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@ Function Print-FunctionParameters{
497497
}
498498

499499
function Confirm-UserAcknowledgmentToUpgradeOS {
500+
[Microsoft.Azure.PowerShell.Cmdlets.StackHCI.DoNotExportAttribute()]
500501
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'High')]
501502
param(
502503
[Parameter(Mandatory=$true)]
@@ -521,6 +522,7 @@ function Confirm-UserAcknowledgmentToUpgradeOS {
521522
}
522523

523524
function Confirm-UserAcknowledgmentUpgradeToSolution {
525+
[Microsoft.Azure.PowerShell.Cmdlets.StackHCI.DoNotExportAttribute()]
524526
[CmdletBinding()]
525527
param(
526528
[Parameter(Mandatory=$true)]
@@ -4141,7 +4143,7 @@ function New-ClusterWithRetries {
41414143
GraphAccessToken is deprecated.
41424144
41434145
.PARAMETER AccountId
4144-
Specifies the AccoundId. Specifying this along with ArmAccessToken will avoid Azure interactive logon.
4146+
Specifies the AccountId. Specifying this along with ArmAccessToken will avoid Azure interactive logon.
41454147
41464148
.PARAMETER EnvironmentName
41474149
Specifies the Azure Environment. Default is AzureCloud. Valid values are AzureCloud, AzureChinaCloud, AzurePPE, AzureCanary, AzureUSGovernment

src/StackHCI/StackHCI.Autorest/docs/Az.StackHCI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.StackHCI
3-
Module Guid: 18e6b2a3-7e2d-4f6e-a8d2-09edaf462fd8
3+
Module Guid: ecca9195-88b3-4c8f-a865-4fa09629fc69
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.stackhci
55
Help Version: 1.0.0.0
66
Locale: en-US
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "41f72a61-c672-4edf-b199-80d10ce7dd2a"
2+
"generate_Id": "d2fd8c80-240e-482d-b23b-ae5864a8288a"
33
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Resources
2+
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.
3+
4+
## Info
5+
- Modifiable: yes
6+
- Generated: no
7+
- Committed: yes
8+
- Packaged: no
9+
10+
## Purpose
11+
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.

0 commit comments

Comments
 (0)