Skip to content

Commit 9b06438

Browse files
authored
[Az.HealthcareApis] The code base is going to be refactored, the following cmdlet adds a BreakingChange announcement (#28368)
1 parent be5fe50 commit 9b06438

File tree

13 files changed

+266
-18
lines changed

13 files changed

+266
-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 - HealthcareApis")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

src/HealthcareApis/HealthcareApis.Autorest/README.md

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,4 +239,120 @@ directive:
239239
verb: New
240240
subject: IotConnectorFhirDestination
241241
hide: true
242+
243+
- where:
244+
verb: Get|Update
245+
subject: ApisService
246+
set:
247+
breaking-change:
248+
deprecated-output-properties:
249+
- PrivateEndpointConnection
250+
- AccessPolicy
251+
- AcrConfigurationOciArtifact
252+
- CorConfigurationOrigin
253+
- CorConfigurationMethod
254+
- AcrConfigurationLoginServer
255+
- CorConfigurationHeader
256+
new-output-properties:
257+
- PrivateEndpointConnection
258+
- AccessPolicy
259+
- AcrConfigurationOciArtifact
260+
- CorConfigurationOrigin
261+
- CorConfigurationMethod
262+
- AcrConfigurationLoginServer
263+
- CorConfigurationHeader
264+
change-description: The types of the properties 'PrivateEndpointConnection', 'AccessPolicy', 'AcrConfigurationOciArtifact', 'CorConfigurationOrigin', 'CorConfigurationMethod', 'AcrConfigurationLoginServer', and 'CorConfigurationHeader' will be changed from single object to 'List'.
265+
deprecated-by-version: 9.0.0
266+
deprecated-by-azversion: 15.0.0
267+
change-effective-date: 2025/11/03
268+
269+
- where:
270+
verb: Get|Update
271+
subject: ApisWorkspace
272+
set:
273+
breaking-change:
274+
deprecated-output-properties:
275+
- PrivateEndpointConnection
276+
new-output-properties:
277+
- PrivateEndpointConnection
278+
change-description: The types of the properties 'PrivateEndpointConnection' will be changed from single object to 'List'.
279+
deprecated-by-version: 9.0.0
280+
deprecated-by-azversion: 15.0.0
281+
change-effective-date: 2025/11/03
282+
283+
- where:
284+
verb: Get|Update
285+
subject: DicomService
286+
set:
287+
breaking-change:
288+
deprecated-output-properties:
289+
- PrivateEndpointConnection
290+
- AuthenticationConfigurationAudience
291+
- IdentityType
292+
- IdentityUserAssignedIdentity
293+
new-output-properties:
294+
- PrivateEndpointConnection
295+
- AuthenticationConfigurationAudience
296+
- IdentityType
297+
- IdentityUserAssignedIdentity
298+
change-description: (1)The types of the properties 'PrivateEndpointConnection' and 'AuthenticationConfigurationAudience' will be changed from single object to 'List'. (2)IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.
299+
deprecated-by-version: 9.0.0
300+
deprecated-by-azversion: 15.0.0
301+
change-effective-date: 2025/11/03
302+
303+
- where:
304+
verb: Get|Update
305+
subject: FhirService
306+
set:
307+
breaking-change:
308+
deprecated-output-properties:
309+
- PrivateEndpointConnection
310+
- AccessPolicy
311+
- AcrConfigurationOciArtifact
312+
- CorConfigurationOrigin
313+
- CorConfigurationMethod
314+
- AcrConfigurationLoginServer
315+
- CorConfigurationHeader
316+
- IdentityType
317+
- IdentityUserAssignedIdentity
318+
new-output-properties:
319+
- PrivateEndpointConnection
320+
- AccessPolicy
321+
- AcrConfigurationOciArtifact
322+
- CorConfigurationOrigin
323+
- CorConfigurationMethod
324+
- AcrConfigurationLoginServer
325+
- CorConfigurationHeader
326+
- IdentityType
327+
- IdentityUserAssignedIdentity
328+
change-description: (1)The types of the properties 'PrivateEndpointConnection' and 'AuthenticationConfigurationAudience' will be changed from single object to 'List'. (2)IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.
329+
deprecated-by-version: 9.0.0
330+
deprecated-by-azversion: 15.0.0
331+
change-effective-date: 2025/11/03
332+
333+
- where:
334+
verb: Test
335+
subject: ServiceNameAvailability
336+
variant: CheckViaIdentityExpanded|CheckViaIdentity
337+
set:
338+
breaking-change:
339+
deprecated-by-version: 9.0.0
340+
deprecated-by-azversion: 15.0.0
341+
change-effective-date: 2025/11/03
342+
343+
- where:
344+
verb: Update
345+
subject: IotConnector
346+
set:
347+
breaking-change:
348+
deprecated-output-properties:
349+
- IdentityType
350+
- IdentityUserAssignedIdentity
351+
new-output-properties:
352+
- EnableSystemAssignedIdentity
353+
- UserAssignedIdentity
354+
change-description: IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.
355+
deprecated-by-version: 9.0.0
356+
deprecated-by-azversion: 15.0.0
357+
change-effective-date: 2025/11/03
242358
```

src/HealthcareApis/HealthcareApis.Autorest/custom/New-AzHealthcareApisService.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ https://learn.microsoft.com/powershell/module/az.healthcareapis/new-azhealthcare
5050
#>
5151
function New-AzHealthcareApisService {
5252
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription])]
53+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IServicesDescription", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServicesDescription", DeprecatedOutputProperties = ("PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection", "AccessPolicy Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceAccessPolicyEntry", "AcrConfigurationOciArtifact Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceOciArtifactEntry", "CorConfigurationOrigin System.String[]", "CorConfigurationMethod System.String[]", "AcrConfigurationLoginServer System.String[]", "CorConfigurationHeader System.String[]"), NewOutputProperties = ("PrivateEndpointConnection System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection]", "AccessPolicy System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceAccessPolicyEntry]", "AcrConfigurationOciArtifact System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceOciArtifactEntry]", "CorConfigurationOrigin System.Collections.Generic.List`1[System.String]", "CorConfigurationMethod System.Collections.Generic.List`1[System.String]", "AcrConfigurationLoginServer System.Collections.Generic.List`1[System.String]", "CorConfigurationHeader System.Collections.Generic.List`1[System.String]"))]
5354
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
5455
param(
5556
[Parameter(Mandatory)]

src/HealthcareApis/HealthcareApis.Autorest/custom/New-AzHealthcareApisWorkspace.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ https://learn.microsoft.com/powershell/module/az.healthcareapis/new-azhealthcare
3333
#>
3434
function New-AzHealthcareApisWorkspace {
3535
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IWorkspace])]
36+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IWorkspace", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IWorkspace", DeprecatedOutputProperties = ("PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection"), NewOutputProperties = ("PrivateEndpointConnection System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection]"))]
3637
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
3738
param(
3839
[Parameter(Mandatory)]

src/HealthcareApis/HealthcareApis.Autorest/custom/New-AzHealthcareDicomService.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ https://learn.microsoft.com/powershell/module/az.healthcareapis/new-azhealthcare
3333
#>
3434
function New-AzHealthcareDicomService {
3535
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IDicomService])]
36+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.GenericBreakingChangeAttribute("IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.", "15.0.0", "9.0.0", "2025/11/03")]
37+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IDicomService", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IDicomService", DeprecatedOutputProperties = ("PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection", "AuthenticationConfigurationAudience System.String[]"), NewOutputProperties = ("PrivateEndpointConnection System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection]", "AuthenticationConfigurationAudience System.Collections.Generic.List`1[System.String]"))]
3638
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
3739
param(
3840
[Parameter(Mandatory)]

src/HealthcareApis/HealthcareApis.Autorest/custom/New-AzHealthcareFhirService.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ https://learn.microsoft.com/powershell/module/az.healthcareapis/new-azhealthcare
4545
#>
4646
function New-AzHealthcareFhirService {
4747
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IFhirService])]
48+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.GenericBreakingChangeAttribute("IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.", "15.0.0", "9.0.0", "2025/11/03")]
49+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IFhirService", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IFhirService", DeprecatedOutputProperties = ("PrivateEndpointConnection Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection", "AccessPolicy Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceAccessPolicyEntry", "AcrConfigurationOciArtifact Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceOciArtifactEntry", "CorConfigurationOrigin System.String[]", "CorConfigurationMethod System.String[]", "AcrConfigurationLoginServer System.String[]", "CorConfigurationHeader System.String[]"), NewOutputProperties = ("PrivateEndpointConnection System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IPrivateEndpointConnection]", "AccessPolicy System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceAccessPolicyEntry]", "AcrConfigurationOciArtifact System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.IServiceOciArtifactEntry]", "CorConfigurationOrigin System.Collections.Generic.List`1[System.String]", "CorConfigurationMethod System.Collections.Generic.List`1[System.String]", "AcrConfigurationLoginServer System.Collections.Generic.List`1[System.String]", "CorConfigurationHeader System.Collections.Generic.List`1[System.String]"))]
4850
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
4951
param(
5052
[Parameter(Mandatory)]

src/HealthcareApis/HealthcareApis.Autorest/custom/New-AzHealthcareIotConnector.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ https://learn.microsoft.com/powershell/module/az.healthcareapis/new-azhealthcare
3434
#>
3535
function New-AzHealthcareIotConnector {
3636
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Models.Api20211101.IIotConnector])]
37+
[Microsoft.Azure.PowerShell.Cmdlets.HealthcareApis.Runtime.GenericBreakingChangeAttribute("IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity and UserAssignedIdentity will be used to specify user assigned identities.", "15.0.0", "9.0.0", "2025/11/03")]
3738
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
3839
param(
3940
[Parameter(Mandatory)]

src/HealthcareApis/HealthcareApis.Autorest/docs/Az.HealthcareApis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.HealthcareApis
3-
Module Guid: 36cc732b-665f-4db7-bdfa-70d09e08f7b1
3+
Module Guid: 92ae786e-d3cd-4190-a3eb-dc1d46135851
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.healthcareapis
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": "884abc0a-50fb-4152-a2a3-f05a475748b0"
2+
"generate_Id": "7a934b1e-1c82-402f-ac2c-6365de62c421"
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)