Skip to content

Commit 8ce8c66

Browse files
authored
[Az.ArcResourceBridge] Update generation tool version: autorest.powersh… (#28181)
1 parent d2f192a commit 8ce8c66

30 files changed

+667
-468
lines changed

src/ArcResourceBridge/ArcResourceBridge.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 - ArcResourceBridge")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/ArcResourceBridge/ArcResourceBridge.Autorest/README.md

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ title: ArcResourceBridge
3737
module-version: 0.1.0
3838
subject-prefix: $(service-name)
3939

40-
identity-correction-for-post: true
41-
resourcegroup-append: true
42-
nested-object-to-string: true
43-
44-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
45-
use-extension:
46-
"@autorest/powershell": "3.x"
47-
4840
directive:
4941
- from: swagger-document
5042
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}"].delete.responses
@@ -68,7 +60,10 @@ directive:
6860
}
6961
7062
- where:
71-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
63+
variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
64+
remove: true
65+
- where:
66+
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
7267
remove: true
7368
- where:
7469
verb: Set
@@ -116,44 +111,4 @@ directive:
116111
- Location
117112
- ProvisioningState
118113
- ResourceGroupName
119-
120-
- where:
121-
verb: Get
122-
subject: ApplianceCredential|Credential|UpgradeGraph
123-
set:
124-
breaking-change:
125-
deprecated-output-properties:
126-
- Kubeconfig
127-
- SupportedVersion
128-
new-output-properties:
129-
- Kubeconfig
130-
- SupportedVersion
131-
change-description: The types of the properties 'Kubeconfig' and 'SupportedVersion' will be changed from single object to 'List'.
132-
deprecated-by-version: 9.0.0
133-
deprecated-by-azversion: 15.0.0
134-
change-effective-date: 2025/11/03
135-
136-
- where:
137-
verb: Get
138-
subject: TelemetryConfig
139-
variant: GetViaIdentity
140-
set:
141-
breaking-change:
142-
deprecated-by-version: 9.0.0
143-
deprecated-by-azversion: 15.0.0
144-
change-effective-date: 2025/11/03
145-
146-
- where:
147-
verb: New
148-
subject: Bridge
149-
set:
150-
breaking-change:
151-
deprecated-output-properties:
152-
- IdentityType
153-
new-output-properties:
154-
- EnableSystemAssignedIdentity
155-
change-description: IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity.
156-
deprecated-by-version: 9.0.0
157-
deprecated-by-azversion: 15.0.0
158-
change-effective-date: 2025/11/03
159114
```

src/ArcResourceBridge/ArcResourceBridge.Autorest/docs/Az.ArcResourceBridge.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.ArcResourceBridge
3-
Module Guid: 6cd160c6-948f-43e5-b6c9-483d483f3a4b
3+
Module Guid: 72d873c3-b8fb-4c7f-8d95-0c84eb0c90cd
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.arcresourcebridge
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -27,11 +27,11 @@ Gets the telemetry config.
2727
Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.
2828

2929
### [New-AzArcResourceBridge](New-AzArcResourceBridge.md)
30-
Creates or updates an Appliance in the specified Subscription and Resource Group.
30+
Create an Appliance in the specified Subscription and Resource Group.
3131

3232
### [Remove-AzArcResourceBridge](Remove-AzArcResourceBridge.md)
3333
Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.
3434

3535
### [Update-AzArcResourceBridge](Update-AzArcResourceBridge.md)
36-
Updates an Appliance with the specified Resource Name in the specified Resource Group and Subscription.
36+
Update an Appliance with the specified Resource Name in the specified Resource Group and Subscription.
3737

src/ArcResourceBridge/ArcResourceBridge.Autorest/docs/Get-AzArcResourceBridge.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ Accept wildcard characters: False
9999
100100
### -InputObject
101101
Identity Parameter
102-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
103102
104103
```yaml
105104
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
@@ -168,7 +167,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
168167
169168
## OUTPUTS
170169
171-
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IAppliance
170+
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IAppliance
172171
173172
## NOTES
174173

src/ArcResourceBridge/ArcResourceBridge.Autorest/docs/Get-AzArcResourceBridgeApplianceCredential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
142142
143143
## OUTPUTS
144144
145-
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IApplianceListCredentialResults
145+
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IApplianceListCredentialResults
146146
147147
## NOTES
148148

src/ArcResourceBridge/ArcResourceBridge.Autorest/docs/Get-AzArcResourceBridgeCredential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
137137
138138
## OUTPUTS
139139
140-
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IApplianceListKeysResults
140+
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IApplianceListKeysResults
141141
142142
## NOTES
143143

src/ArcResourceBridge/ArcResourceBridge.Autorest/docs/Get-AzArcResourceBridgeTelemetryConfig.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,11 @@ Gets the telemetry config.
1212

1313
## SYNTAX
1414

15-
### Get (Default)
1615
```
1716
Get-AzArcResourceBridgeTelemetryConfig [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
1817
[<CommonParameters>]
1918
```
2019

21-
### GetViaIdentity
22-
```
23-
Get-AzArcResourceBridgeTelemetryConfig -InputObject <IArcResourceBridgeIdentity> [-DefaultProfile <PSObject>]
24-
[<CommonParameters>]
25-
```
26-
2720
## DESCRIPTION
2821
Gets the telemetry config.
2922

@@ -58,28 +51,12 @@ Accept pipeline input: False
5851
Accept wildcard characters: False
5952
```
6053
61-
### -InputObject
62-
Identity Parameter
63-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
64-
65-
```yaml
66-
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
67-
Parameter Sets: GetViaIdentity
68-
Aliases:
69-
70-
Required: True
71-
Position: Named
72-
Default value: None
73-
Accept pipeline input: True (ByValue)
74-
Accept wildcard characters: False
75-
```
76-
7754
### -SubscriptionId
7855
The ID of the target subscription.
7956
8057
```yaml
8158
Type: System.String[]
82-
Parameter Sets: Get
59+
Parameter Sets: (All)
8360
Aliases:
8461

8562
Required: False
@@ -94,11 +71,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9471
9572
## INPUTS
9673
97-
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
98-
9974
## OUTPUTS
10075
101-
### System.String
76+
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IApplianceGetTelemetryConfigResult
10277
10378
## NOTES
10479

src/ArcResourceBridge/ArcResourceBridge.Autorest/docs/Get-AzArcResourceBridgeUpgradeGraph.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Get-AzArcResourceBridgeUpgradeGraph -InputObject <IArcResourceBridgeIdentity> [-
2424
[<CommonParameters>]
2525
```
2626

27+
### GetViaIdentityAppliance
28+
```
29+
Get-AzArcResourceBridgeUpgradeGraph -ApplianceInputObject <IArcResourceBridgeIdentity> -UpgradeGraph <String>
30+
[-DefaultProfile <PSObject>] [<CommonParameters>]
31+
```
32+
2733
## DESCRIPTION
2834
Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.
2935

@@ -44,6 +50,21 @@ Gets the upgrade graph of an Appliance with a specified resource group and name
4450

4551
## PARAMETERS
4652

53+
### -ApplianceInputObject
54+
Identity Parameter
55+
56+
```yaml
57+
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
58+
Parameter Sets: GetViaIdentityAppliance
59+
Aliases:
60+
61+
Required: True
62+
Position: Named
63+
Default value: None
64+
Accept pipeline input: True (ByValue)
65+
Accept wildcard characters: False
66+
```
67+
4768
### -DefaultProfile
4869
The DefaultProfile parameter is not functional.
4970
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
@@ -62,7 +83,6 @@ Accept wildcard characters: False
6283
6384
### -InputObject
6485
Identity Parameter
65-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
6686
6787
```yaml
6888
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
@@ -127,7 +147,7 @@ Upgrade graph version, ex - stable
127147
128148
```yaml
129149
Type: System.String
130-
Parameter Sets: Get
150+
Parameter Sets: Get, GetViaIdentityAppliance
131151
Aliases:
132152

133153
Required: True
@@ -146,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
146166
147167
## OUTPUTS
148168
149-
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IUpgradeGraph
169+
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IUpgradeGraph
150170
151171
## NOTES
152172

0 commit comments

Comments
 (0)