Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ArcResourceBridge")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]
53 changes: 4 additions & 49 deletions src/ArcResourceBridge/ArcResourceBridge.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ title: ArcResourceBridge
module-version: 0.1.0
subject-prefix: $(service-name)

identity-correction-for-post: true
resourcegroup-append: true
nested-object-to-string: true

# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
use-extension:
"@autorest/powershell": "3.x"

directive:
Comment on lines 37 to 40
Copy link

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The README.md file is missing documentation about the AutoRest v4 upgrade and its implications. Consider adding a comment or section explaining the version change from v3 to v4 and noting that this affects the generated cmdlet interfaces.

Copilot uses AI. Check for mistakes.
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}"].delete.responses
Expand All @@ -68,7 +60,10 @@ directive:
}

- where:
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))
remove: true
- where:
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
remove: true
- where:
verb: Set
Expand Down Expand Up @@ -116,44 +111,4 @@ directive:
- Location
- ProvisioningState
- ResourceGroupName

- where:
verb: Get
subject: ApplianceCredential|Credential|UpgradeGraph
set:
breaking-change:
deprecated-output-properties:
- Kubeconfig
- SupportedVersion
new-output-properties:
- Kubeconfig
- SupportedVersion
change-description: The types of the properties 'Kubeconfig' and 'SupportedVersion' will be changed from single object to 'List'.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: Get
subject: TelemetryConfig
variant: GetViaIdentity
set:
breaking-change:
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03

- where:
verb: New
subject: Bridge
set:
breaking-change:
deprecated-output-properties:
- IdentityType
new-output-properties:
- EnableSystemAssignedIdentity
change-description: IdentityType will be removed. EnableSystemAssignedIdentity will be used to enable/disable system assigned identity.
deprecated-by-version: 9.0.0
deprecated-by-azversion: 15.0.0
change-effective-date: 2025/11/03
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.ArcResourceBridge
Module Guid: 6cd160c6-948f-43e5-b6c9-483d483f3a4b
Module Guid: 72d873c3-b8fb-4c7f-8d95-0c84eb0c90cd
Download Help Link: https://learn.microsoft.com/powershell/module/az.arcresourcebridge
Help Version: 1.0.0.0
Locale: en-US
Expand All @@ -27,11 +27,11 @@ Gets the telemetry config.
Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.

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

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
Expand Down Expand Up @@ -168,7 +167,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IAppliance
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IAppliance

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IApplianceListCredentialResults
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IApplianceListCredentialResults

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IApplianceListKeysResults
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IApplianceListKeysResults

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,11 @@ Gets the telemetry config.

## SYNTAX

### Get (Default)
```
Get-AzArcResourceBridgeTelemetryConfig [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
[<CommonParameters>]
```

### GetViaIdentity
```
Get-AzArcResourceBridgeTelemetryConfig -InputObject <IArcResourceBridgeIdentity> [-DefaultProfile <PSObject>]
[<CommonParameters>]
```

## DESCRIPTION
Gets the telemetry config.

Expand Down Expand Up @@ -58,28 +51,12 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
Parameter Sets: GetViaIdentity
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -SubscriptionId
The ID of the target subscription.

```yaml
Type: System.String[]
Parameter Sets: Get
Parameter Sets: (All)
Aliases:

Required: False
Expand All @@ -94,11 +71,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## INPUTS

### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity

## OUTPUTS

### System.String
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IApplianceGetTelemetryConfigResult

## NOTES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ Get-AzArcResourceBridgeUpgradeGraph -InputObject <IArcResourceBridgeIdentity> [-
[<CommonParameters>]
```

### GetViaIdentityAppliance
```
Get-AzArcResourceBridgeUpgradeGraph -ApplianceInputObject <IArcResourceBridgeIdentity> -UpgradeGraph <String>
[-DefaultProfile <PSObject>] [<CommonParameters>]
```

## DESCRIPTION
Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.

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

## PARAMETERS

### -ApplianceInputObject
Identity Parameter

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
Parameter Sets: GetViaIdentityAppliance
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Expand All @@ -62,7 +83,6 @@ Accept wildcard characters: False

### -InputObject
Identity Parameter
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IArcResourceBridgeIdentity
Expand Down Expand Up @@ -127,7 +147,7 @@ Upgrade graph version, ex - stable

```yaml
Type: System.String
Parameter Sets: Get
Parameter Sets: Get, GetViaIdentityAppliance
Aliases:

Required: True
Expand All @@ -146,7 +166,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

## OUTPUTS

### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.Api20221027.IUpgradeGraph
### Microsoft.Azure.PowerShell.Cmdlets.ArcResourceBridge.Models.IUpgradeGraph

## NOTES

Expand Down
Loading