Skip to content

Commit 222a918

Browse files
authored
breaking change announcement for Workloads SapVirtualInstance module (#28646)
1 parent b651561 commit 222a918

File tree

41 files changed

+203
-35
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+203
-35
lines changed

src/Workloads/SapVirtualInstance.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - SapVirtualInstance")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.4.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("0.4.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/Workloads/SapVirtualInstance.Autorest/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,4 +448,25 @@ directive:
448448
- from: SapVirtualInstance.cs
449449
where: $
450450
transform: $ = $.replace('public Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api30.ISystemData SystemData', 'internal Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api50.ISystemData SystemData');
451+
452+
- where:
453+
verb: Get|Start|Stop|Update
454+
subject: SapApplicationInstance|SapCentralInstance|SapDatabaseInstance|SapVirtualInstance
455+
set:
456+
preview-announcement:
457+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"
458+
459+
- where:
460+
verb: Invoke
461+
subject: SapDiskConfiguration|SapSizingRecommendation|SapSupportedSku
462+
set:
463+
preview-announcement:
464+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"
465+
466+
- where:
467+
verb: New
468+
subject: SapVirtualInstance
469+
set:
470+
preview-announcement:
471+
preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************"
451472
```
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"resourceType": "locations",
3+
"apiVersion": "2024-09-01",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.workloads"
6+
},
7+
"commands": [
8+
{
9+
"name": "Invoke-AzWorkloadsSapDiskConfiguration",
10+
"description": "Get the SAP Disk Configuration Layout prod/non-prod SAP System.",
11+
"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.workloads/invoke-azworkloadssapdiskconfiguration"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-Location <String>",
20+
"[-SubscriptionId <String>]"
21+
]
22+
}
23+
]
24+
},
25+
"examples": [
26+
{
27+
"description": "Get the SAP Disk Configuration Layout prod/non-prod SAP System.",
28+
"parameters": [
29+
{
30+
"name": "-Location",
31+
"value": "[Path.location]"
32+
},
33+
{
34+
"name": "-SubscriptionId",
35+
"value": "[Path.subscriptionId]"
36+
}
37+
]
38+
}
39+
]
40+
},
41+
{
42+
"name": "Invoke-AzWorkloadsSapSizingRecommendation",
43+
"description": "Gets the sizing recommendations.",
44+
"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations",
45+
"help": {
46+
"learnMore": {
47+
"url": "https://learn.microsoft.com/powershell/module/az.workloads/invoke-azworkloadssapsizingrecommendation"
48+
},
49+
"parameterSets": [
50+
{
51+
"parameters": [
52+
"-Location <String>",
53+
"[-SubscriptionId <String>]"
54+
]
55+
}
56+
]
57+
},
58+
"examples": [
59+
{
60+
"description": "Gets the sizing recommendations.",
61+
"parameters": [
62+
{
63+
"name": "-Location",
64+
"value": "[Path.location]"
65+
},
66+
{
67+
"name": "-SubscriptionId",
68+
"value": "[Path.subscriptionId]"
69+
}
70+
]
71+
}
72+
]
73+
},
74+
{
75+
"name": "Invoke-AzWorkloadsSapSupportedSku",
76+
"description": "Get a list of SAP supported SKUs for ASCS, Application and Database tier.",
77+
"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku",
78+
"help": {
79+
"learnMore": {
80+
"url": "https://learn.microsoft.com/powershell/module/az.workloads/invoke-azworkloadssapsupportedsku"
81+
},
82+
"parameterSets": [
83+
{
84+
"parameters": [
85+
"-Location <String>",
86+
"[-SubscriptionId <String>]"
87+
]
88+
}
89+
]
90+
},
91+
"examples": [
92+
{
93+
"description": "Get a list of SAP supported SKUs for ASCS, Application and Database tier.",
94+
"parameters": [
95+
{
96+
"name": "-Location",
97+
"value": "[Path.location]"
98+
},
99+
{
100+
"name": "-SubscriptionId",
101+
"value": "[Path.subscriptionId]"
102+
}
103+
]
104+
}
105+
]
106+
}
107+
]
108+
}

src/Workloads/SapVirtualInstance.Autorest/custom/New-AzWorkloadsSapVirtualInstance/New-AzWorkloadsSapVirtualInstance_CreateWithDiscovery.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ CONFIGURATION <ISapConfiguration>: Defines if the SAP system is being created us
3737
https://learn.microsoft.com/powershell/module/az.workloads/new-azworkloadssapvirtualinstance
3838
#>
3939
function New-AzWorkloadsSapVirtualInstance {
40+
[Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Runtime.PreviewMessage("**********************************************************************************************`n
41+
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n
42+
* At least one change applies to this cmdlet. *`n
43+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
44+
***************************************************************************************************")]
4045
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapVirtualInstance])]
4146
[Alias('New-AzVIS')]
4247
[CmdletBinding(DefaultParameterSetName='CreateWithDiscovery', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/Workloads/SapVirtualInstance.Autorest/custom/New-AzWorkloadsSapVirtualInstance/New-AzWorkloadsSapVirtualInstance_CreateWithJsonTemplatePath.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ CONFIGURATION <ISapConfiguration>: Defines if the SAP system is being created us
3737
https://learn.microsoft.com/powershell/module/az.workloads/new-azworkloadssapvirtualinstance
3838
#>
3939
function New-AzWorkloadsSapVirtualInstance_CreateWithJsonTemplatePath {
40+
[Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Runtime.PreviewMessage("**********************************************************************************************`n
41+
* This cmdlet will undergo a breaking change in Az v15.0.0, to be released on November 19th 2025. *`n
42+
* At least one change applies to this cmdlet. *`n
43+
* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *`n
44+
***************************************************************************************************")]
4045
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapVirtualInstance])]
4146
[Alias('New-AzVIS')]
4247
[CmdletBinding(DefaultParameterSetName='CreateWithDiscovery', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]

src/Workloads/SapVirtualInstance.Autorest/custom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ For processing the cmdlets, we've created some additional attributes:
3838
- `Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.InternalExportAttribute`
3939
- Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.SapVirtualInstance`. For more information, see [README.md](..\internal/README.md) in the `..\internal` folder.
4040
- `Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.ProfileAttribute`
41-
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
41+
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.

src/Workloads/SapVirtualInstance.Autorest/docs/Az.SapVirtualInstance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.SapVirtualInstance
3-
Module Guid: afd2bdc9-d7ac-4bb4-941e-b8371d57b833
3+
Module Guid: ef2fac55-c936-4613-9618-a7795408b0e7
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.sapvirtualinstance
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -74,3 +74,4 @@ Updates the Database resource.
7474

7575
### [Update-AzWorkloadsSapVirtualInstance](Update-AzWorkloadsSapVirtualInstance.md)
7676
Updates a Virtual Instance for SAP solutions resource
77+

src/Workloads/SapVirtualInstance.Autorest/docs/Get-AzWorkloadsSapApplicationInstance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Gets the SAP Application Server Instance corresponding to the Virtual Instance f
3636

3737
## EXAMPLES
3838

39-
### Example 1: Get an overview of The App Server Instance(s)
39+
### Example 1: Get an overview of The App Server Instance(s)
4040
```powershell
4141
Get-AzWorkloadsSapApplicationInstance -ResourceGroupName DemoRGVIS -SapVirtualInstanceName DRT
4242
```
@@ -189,3 +189,4 @@ ALIASES
189189
Get-AzVISApplicationInstance
190190
191191
## RELATED LINKS
192+

src/Workloads/SapVirtualInstance.Autorest/docs/Get-AzWorkloadsSapCentralInstance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@ ALIASES
175175
Get-AzVISCentralInstance
176176
177177
## RELATED LINKS
178+

src/Workloads/SapVirtualInstance.Autorest/docs/Get-AzWorkloadsSapDatabaseInstance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@ ALIASES
175175
Get-AzVISDatabaseInstance
176176
177177
## RELATED LINKS
178+

0 commit comments

Comments
 (0)