Skip to content

Commit aeae1eb

Browse files
committed
remove ConfigFileName and PackageFileName in Update-AzGalleryApplicationVersion,Because these two parameters were also generated in the previous version, but they were not displayed to users.
1 parent fe2b012 commit aeae1eb

File tree

7 files changed

+40
-139
lines changed

7 files changed

+40
-139
lines changed

src/Compute/Compute.Autorest/custom/Update-AzGalleryApplicationVersion.ps1

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,6 @@ function Update-AzGalleryApplicationVersion {
8484
# Identity Parameter
8585
${GalleryInputObject},
8686

87-
[Parameter(ParameterSetName='UpdateExpanded')]
88-
[Parameter(ParameterSetName='UpdateViaIdentityApplicationExpanded')]
89-
[Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
90-
[Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')]
91-
[Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')]
92-
[System.String]
93-
# Optional.
94-
# The name to assign the downloaded config file on the VM.
95-
# This is limited to 4096 characters.
96-
# If not specified, the config file will be named the Gallery Application name appended with "_config".
97-
${ConfigFileName},
98-
9987
[Parameter(ParameterSetName='UpdateExpanded')]
10088
[Parameter(ParameterSetName='UpdateViaIdentityApplicationExpanded')]
10189
[Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
@@ -116,18 +104,6 @@ function Update-AzGalleryApplicationVersion {
116104
# The mediaLink of the artifact, must be a readable storage page blob.
117105
${PackageFileLink},
118106

119-
[Parameter(ParameterSetName='UpdateExpanded')]
120-
[Parameter(ParameterSetName='UpdateViaIdentityApplicationExpanded')]
121-
[Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
122-
[Parameter(ParameterSetName='UpdateViaIdentityGalleryExpanded')]
123-
[Microsoft.Azure.PowerShell.Cmdlets.Compute.Category('Body')]
124-
[System.String]
125-
# Optional.
126-
# The name to assign the downloaded package file on the VM.
127-
# This is limited to 4096 characters.
128-
# If not specified, the package file will be named the same as the Gallery Application name.
129-
${PackageFileName},
130-
131107
[Parameter(ParameterSetName='UpdateExpanded')]
132108
[Parameter(ParameterSetName='UpdateViaIdentityApplicationExpanded')]
133109
[Parameter(ParameterSetName='UpdateViaIdentityExpanded')]

src/Compute/Compute.Autorest/docs/Az.Compute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Compute
3-
Module Guid: 534cb1ad-11c2-49ee-81bf-e2a6598f84b8
3+
Module Guid: a6e7404d-a42b-4e3f-880c-8b5e012c5adc
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.compute
55
Help Version: 1.0.0.0
66
Locale: en-US

src/Compute/Compute.Autorest/docs/Update-AzGalleryApplicationVersion.md

Lines changed: 11 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Update a gallery Application Version.
1515
### UpdateExpanded (Default)
1616
```
1717
Update-AzGalleryApplicationVersion -GalleryApplicationName <String> -GalleryName <String> -Name <String>
18-
-ResourceGroupName <String> -PackageFileLink <String> [-SubscriptionId <String>] [-ConfigFileName <String>]
19-
[-DefaultConfigFileLink <String>] [-PackageFileName <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
18+
-ResourceGroupName <String> -PackageFileLink <String> [-SubscriptionId <String>]
19+
[-DefaultConfigFileLink <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
2020
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
2121
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
2222
[<CommonParameters>]
@@ -25,8 +25,7 @@ Update-AzGalleryApplicationVersion -GalleryApplicationName <String> -GalleryName
2525
### UpdateViaIdentityApplicationExpanded
2626
```
2727
Update-AzGalleryApplicationVersion -ApplicationInputObject <IComputeIdentity> -Name <String>
28-
-PackageFileLink <String> [-ConfigFileName <String>] [-DefaultConfigFileLink <String>]
29-
[-PackageFileName <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
28+
-PackageFileLink <String> [-DefaultConfigFileLink <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
3029
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
3130
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
3231
[<CommonParameters>]
@@ -35,20 +34,19 @@ Update-AzGalleryApplicationVersion -ApplicationInputObject <IComputeIdentity> -N
3534
### UpdateViaIdentityExpanded
3635
```
3736
Update-AzGalleryApplicationVersion -InputObject <IComputeIdentity> -PackageFileLink <String>
38-
[-ConfigFileName <String>] [-DefaultConfigFileLink <String>] [-PackageFileName <String>]
39-
[-PublishingProfileEndOfLifeDate <DateTime>] [-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>]
40-
[-Tag <Hashtable>] [-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
41-
[-Confirm] [-WhatIf] [<CommonParameters>]
37+
[-DefaultConfigFileLink <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
38+
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
39+
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
40+
[<CommonParameters>]
4241
```
4342

4443
### UpdateViaIdentityGalleryExpanded
4544
```
4645
Update-AzGalleryApplicationVersion -GalleryApplicationName <String> -GalleryInputObject <IComputeIdentity>
47-
-Name <String> -PackageFileLink <String> [-ConfigFileName <String>] [-DefaultConfigFileLink <String>]
48-
[-PackageFileName <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
49-
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
50-
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf]
51-
[<CommonParameters>]
46+
-Name <String> -PackageFileLink <String> [-DefaultConfigFileLink <String>]
47+
[-PublishingProfileEndOfLifeDate <DateTime>] [-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>]
48+
[-Tag <Hashtable>] [-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
49+
[-Confirm] [-WhatIf] [<CommonParameters>]
5250
```
5351

5452
### UpdateViaJsonFilePath
@@ -116,24 +114,6 @@ Accept pipeline input: False
116114
Accept wildcard characters: False
117115
```
118116
119-
### -ConfigFileName
120-
Optional.
121-
The name to assign the downloaded config file on the VM.
122-
This is limited to 4096 characters.
123-
If not specified, the config file will be named the Gallery Application name appended with "_config".
124-
125-
```yaml
126-
Type: System.String
127-
Parameter Sets: UpdateExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded
128-
Aliases:
129-
130-
Required: False
131-
Position: Named
132-
Default value: None
133-
Accept pipeline input: False
134-
Accept wildcard characters: False
135-
```
136-
137117
### -DefaultConfigFileLink
138118
Optional.
139119
The defaultConfigurationLink of the artifact, must be a readable storage page blob.
@@ -305,24 +285,6 @@ Accept pipeline input: False
305285
Accept wildcard characters: False
306286
```
307287
308-
### -PackageFileName
309-
Optional.
310-
The name to assign the downloaded package file on the VM.
311-
This is limited to 4096 characters.
312-
If not specified, the package file will be named the same as the Gallery Application name.
313-
314-
```yaml
315-
Type: System.String
316-
Parameter Sets: UpdateExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityGalleryExpanded
317-
Aliases:
318-
319-
Required: False
320-
Position: Named
321-
Default value: None
322-
Accept pipeline input: False
323-
Accept wildcard characters: False
324-
```
325-
326288
### -PublishingProfileEndOfLifeDate
327289
The end of life date of the gallery image version.
328290
This property can be used for decommissioning purposes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "45b085fb-770f-4486-b0c9-d2dfad4b0aba"
2+
"generate_Id": "c497c277-2897-4450-a1ca-ecd425024640"
33
}

src/Compute/Compute.sln

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServiceIdentity",
4949
EndProject
5050
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Compute.Autorest", "Compute.Autorest", "{18C4E64E-9E36-9EC3-08A5-34B2FE79BAE7}"
5151
EndProject
52-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Compute", "..\..\generated\Compute\Compute.Autorest\Az.Compute.csproj", "{81071FA6-A7B2-4B10-8213-F96802C907E5}"
52+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Compute", "..\..\generated\Compute\Compute.Autorest\Az.Compute.csproj", "{03391A47-3909-40B4-B612-DAC2354E49CA}"
5353
EndProject
5454
Global
5555
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -289,18 +289,18 @@ Global
289289
{443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|x64.Build.0 = Release|Any CPU
290290
{443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|x86.ActiveCfg = Release|Any CPU
291291
{443B0412-6B55-4F5B-B6C3-9B26C6F49ECB}.Release|x86.Build.0 = Release|Any CPU
292-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
293-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
294-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Debug|x64.ActiveCfg = Debug|Any CPU
295-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Debug|x64.Build.0 = Debug|Any CPU
296-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Debug|x86.ActiveCfg = Debug|Any CPU
297-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Debug|x86.Build.0 = Debug|Any CPU
298-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
299-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Release|Any CPU.Build.0 = Release|Any CPU
300-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Release|x64.ActiveCfg = Release|Any CPU
301-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Release|x64.Build.0 = Release|Any CPU
302-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Release|x86.ActiveCfg = Release|Any CPU
303-
{81071FA6-A7B2-4B10-8213-F96802C907E5}.Release|x86.Build.0 = Release|Any CPU
292+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
293+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
294+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Debug|x64.ActiveCfg = Debug|Any CPU
295+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Debug|x64.Build.0 = Debug|Any CPU
296+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Debug|x86.ActiveCfg = Debug|Any CPU
297+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Debug|x86.Build.0 = Debug|Any CPU
298+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
299+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Release|Any CPU.Build.0 = Release|Any CPU
300+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Release|x64.ActiveCfg = Release|Any CPU
301+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Release|x64.Build.0 = Release|Any CPU
302+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Release|x86.ActiveCfg = Release|Any CPU
303+
{03391A47-3909-40B4-B612-DAC2354E49CA}.Release|x86.Build.0 = Release|Any CPU
304304
EndGlobalSection
305305
GlobalSection(SolutionProperties) = preSolution
306306
HideSolutionNode = FALSE
@@ -320,6 +320,6 @@ Global
320320
{DAD5BF2B-686B-4269-8FFA-5A86D7C23A31} = {6781D587-D8BB-48B9-9952-B05F3D237606}
321321
{F45CEC09-0408-43D6-A679-5149715D9904} = {E9336DDF-EEF7-474E-BCF1-ED87313F4D17}
322322
{2B0B2D44-5207-4192-894E-9AB8DEE6F791} = {6781D587-D8BB-48B9-9952-B05F3D237606}
323-
{81071FA6-A7B2-4B10-8213-F96802C907E5} = {18C4E64E-9E36-9EC3-08A5-34B2FE79BAE7}
323+
{03391A47-3909-40B4-B612-DAC2354E49CA} = {18C4E64E-9E36-9EC3-08A5-34B2FE79BAE7}
324324
EndGlobalSection
325325
EndGlobal

src/Compute/Compute/Az.Compute.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 2025-10-20
6+
# Generated on: 2025-10-21
77
#
88

99
@{

src/Compute/Compute/help/Update-AzGalleryApplicationVersion.md

Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Update a gallery Application Version.
1515
### UpdateExpanded (Default)
1616
```
1717
Update-AzGalleryApplicationVersion -GalleryApplicationName <String> -GalleryName <String> -Name <String>
18-
-ResourceGroupName <String> [-SubscriptionId <String>] -PackageFileLink <String> [-ConfigFileName <String>]
19-
[-DefaultConfigFileLink <String>] [-PackageFileName <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
18+
-ResourceGroupName <String> [-SubscriptionId <String>] -PackageFileLink <String>
19+
[-DefaultConfigFileLink <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
2020
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
2121
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
2222
[-WhatIf] [-Confirm] [<CommonParameters>]
@@ -25,10 +25,9 @@ Update-AzGalleryApplicationVersion -GalleryApplicationName <String> -GalleryName
2525
### UpdateViaIdentityGalleryExpanded
2626
```
2727
Update-AzGalleryApplicationVersion -GalleryApplicationName <String> -Name <String>
28-
-GalleryInputObject <IComputeIdentity> -PackageFileLink <String> [-ConfigFileName <String>]
29-
[-DefaultConfigFileLink <String>] [-PackageFileName <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
30-
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
31-
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
28+
-GalleryInputObject <IComputeIdentity> -PackageFileLink <String> [-DefaultConfigFileLink <String>]
29+
[-PublishingProfileEndOfLifeDate <DateTime>] [-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>]
30+
[-Tag <Hashtable>] [-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
3231
[-WhatIf] [-Confirm] [<CommonParameters>]
3332
```
3433

@@ -49,18 +48,18 @@ Update-AzGalleryApplicationVersion -GalleryApplicationName <String> -GalleryName
4948
### UpdateViaIdentityApplicationExpanded
5049
```
5150
Update-AzGalleryApplicationVersion -Name <String> -ApplicationInputObject <IComputeIdentity>
52-
-PackageFileLink <String> [-ConfigFileName <String>] [-DefaultConfigFileLink <String>]
53-
[-PackageFileName <String>] [-PublishingProfileEndOfLifeDate <DateTime>] [-PublishingProfileExcludeFromLatest]
54-
[-ReplicaCount <Int32>] [-Tag <Hashtable>] [-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>]
55-
[-AsJob] [-NoWait] [-WhatIf] [-Confirm] [<CommonParameters>]
51+
-PackageFileLink <String> [-DefaultConfigFileLink <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
52+
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
53+
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
54+
[-WhatIf] [-Confirm] [<CommonParameters>]
5655
```
5756

5857
### UpdateViaIdentityExpanded
5958
```
6059
Update-AzGalleryApplicationVersion -InputObject <IComputeIdentity> -PackageFileLink <String>
61-
[-ConfigFileName <String>] [-DefaultConfigFileLink <String>] [-PackageFileName <String>]
62-
[-PublishingProfileEndOfLifeDate <DateTime>] [-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>]
63-
[-Tag <Hashtable>] [-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
60+
[-DefaultConfigFileLink <String>] [-PublishingProfileEndOfLifeDate <DateTime>]
61+
[-PublishingProfileExcludeFromLatest] [-ReplicaCount <Int32>] [-Tag <Hashtable>]
62+
[-TargetRegion <ITargetRegion[]>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait]
6463
[-WhatIf] [-Confirm] [<CommonParameters>]
6564
```
6665

@@ -115,24 +114,6 @@ Accept pipeline input: False
115114
Accept wildcard characters: False
116115
```
117116
118-
### -ConfigFileName
119-
Optional.
120-
The name to assign the downloaded config file on the VM.
121-
This is limited to 4096 characters.
122-
If not specified, the config file will be named the Gallery Application name appended with "_config".
123-
124-
```yaml
125-
Type: System.String
126-
Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded
127-
Aliases:
128-
129-
Required: False
130-
Position: Named
131-
Default value: None
132-
Accept pipeline input: False
133-
Accept wildcard characters: False
134-
```
135-
136117
### -DefaultConfigFileLink
137118
Optional.
138119
The defaultConfigurationLink of the artifact, must be a readable storage page blob.
@@ -304,24 +285,6 @@ Accept pipeline input: False
304285
Accept wildcard characters: False
305286
```
306287
307-
### -PackageFileName
308-
Optional.
309-
The name to assign the downloaded package file on the VM.
310-
This is limited to 4096 characters.
311-
If not specified, the package file will be named the same as the Gallery Application name.
312-
313-
```yaml
314-
Type: System.String
315-
Parameter Sets: UpdateExpanded, UpdateViaIdentityGalleryExpanded, UpdateViaIdentityApplicationExpanded, UpdateViaIdentityExpanded
316-
Aliases:
317-
318-
Required: False
319-
Position: Named
320-
Default value: None
321-
Accept pipeline input: False
322-
Accept wildcard characters: False
323-
```
324-
325288
### -PublishingProfileEndOfLifeDate
326289
The end of life date of the gallery image version.
327290
This property can be used for decommissioning purposes.

0 commit comments

Comments
 (0)