From 345a0e00edb3068f3700e2104c54148763d57789 Mon Sep 17 00:00:00 2001 From: Jinpei Li Date: Tue, 15 Apr 2025 11:26:25 +0800 Subject: [PATCH 1/2] Az.CustomProviders update generation tool version: autorest.powershell v3->v4 --- .../Properties/AssemblyInfo.cs | 27 +++ .../CustomProviders.Autorest/README.md | 36 ++-- .../docs/Az.CustomProviders.md | 11 +- .../docs/Get-AzCustomProvider.md | 3 +- .../docs/Get-AzCustomProviderAssociation.md | 3 +- .../docs/New-AzCustomProvider.md | 70 ++++-- .../docs/New-AzCustomProviderAssociation.md | 51 ++++- .../docs/Remove-AzCustomProvider.md | 1 - .../Remove-AzCustomProviderAssociation.md | 1 - .../docs/Update-AzCustomProvider.md | 57 ++++- .../Update-AzCustomProviderAssociation.md | 201 +++++++++++++++++ .../Update-AzCustomProviderAssociation.md | 13 ++ .../generate-info.json | 2 +- .../resources/README.md | 11 + ...date-AzCustomProviderAssociation.Tests.ps1 | 25 +++ src/CustomProviders/CustomProviders.sln | 89 +++++++- .../CustomProviders/Az.CustomProviders.psd1 | 16 +- .../CustomProviders/ChangeLog.md | 1 + .../help/Az.CustomProviders.md | 9 +- .../help/Get-AzCustomProvider.md | 3 +- .../help/Get-AzCustomProviderAssociation.md | 3 +- .../help/New-AzCustomProvider.md | 70 ++++-- .../help/New-AzCustomProviderAssociation.md | 53 ++++- .../help/Remove-AzCustomProvider.md | 1 - .../Remove-AzCustomProviderAssociation.md | 1 - .../help/Update-AzCustomProvider.md | 59 ++++- .../Update-AzCustomProviderAssociation.md | 202 ++++++++++++++++++ 27 files changed, 913 insertions(+), 106 deletions(-) create mode 100644 src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs create mode 100644 src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProviderAssociation.md create mode 100644 src/CustomProviders/CustomProviders.Autorest/examples/Update-AzCustomProviderAssociation.md create mode 100644 src/CustomProviders/CustomProviders.Autorest/resources/README.md create mode 100644 src/CustomProviders/CustomProviders.Autorest/test/Update-AzCustomProviderAssociation.Tests.ps1 create mode 100644 src/CustomProviders/CustomProviders/help/Update-AzCustomProviderAssociation.md diff --git a/src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs b/src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..c60183346c2b --- /dev/null +++ b/src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - CustomProviders")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.2")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/CustomProviders/CustomProviders.Autorest/README.md b/src/CustomProviders/CustomProviders.Autorest/README.md index ca2a16d94c6d..e56c71bba030 100644 --- a/src/CustomProviders/CustomProviders.Autorest/README.md +++ b/src/CustomProviders/CustomProviders.Autorest/README.md @@ -54,10 +54,6 @@ module-version: 0.1.0 title: CustomProviders subject-prefix: '' -# 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: - where: subject: CustomResourceProvider @@ -69,28 +65,34 @@ directive: set: subject: CustomProviderAssociation - - where: - verb: New - subject: ^CustomProvider.*$ - variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Create$ + - where: + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) remove: true - - where: - verb: Set - subject: CustomProviderAssociation - variant: ^Update$|^UpdateViaIdentity$ + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true + # - where: + # verb: New + # subject: ^CustomProvider.*$ + # variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Create$ + # remove: true + + # - where: + # verb: Set + # subject: CustomProviderAssociation + # variant: ^Update$|^UpdateViaIdentity$ + # remove: true - where: verb: Set subject: ^CustomProvider$ remove: true - - where: - verb: Update - subject: CustomProvider - variant: ^Update$|^UpdateViaIdentity$ - remove: true + # - where: + # verb: Update + # subject: CustomProvider + # variant: ^Update$|^UpdateViaIdentity$ + # remove: true - where: verb: Set diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/Az.CustomProviders.md b/src/CustomProviders/CustomProviders.Autorest/docs/Az.CustomProviders.md index e450403c381c..c0f7c499c1b1 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/Az.CustomProviders.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/Az.CustomProviders.md @@ -1,6 +1,6 @@ --- Module Name: Az.CustomProviders -Module Guid: b98dded0-6e9a-4371-b2c6-d74464fb724b +Module Guid: ada95d58-e126-4685-9380-6e88db6da852 Download Help Link: https://learn.microsoft.com/powershell/module/az.customproviders Help Version: 1.0.0.0 Locale: en-US @@ -18,10 +18,10 @@ Gets the custom resource provider manifest. Get an association. ### [New-AzCustomProvider](New-AzCustomProvider.md) -Creates or updates the custom resource provider. +create the custom resource provider. ### [New-AzCustomProviderAssociation](New-AzCustomProviderAssociation.md) -Create or update an association. +create an association. ### [Remove-AzCustomProvider](Remove-AzCustomProvider.md) Deletes the custom resource provider. @@ -30,6 +30,9 @@ Deletes the custom resource provider. Delete an association. ### [Update-AzCustomProvider](Update-AzCustomProvider.md) -Updates an existing custom resource provider. +update an existing custom resource provider. The only value that can be updated via PATCH currently is the tags. +### [Update-AzCustomProviderAssociation](Update-AzCustomProviderAssociation.md) +update an association. + diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProvider.md b/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProvider.md index 8bc88188fd26..c952598d7c2b 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProvider.md @@ -94,7 +94,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.CustomProviders.Models.ICustomProvidersIdentity @@ -164,7 +163,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpManifest +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpManifest ## NOTES diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProviderAssociation.md index b56fdc3fa227..5cbff154f58a 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProviderAssociation.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/Get-AzCustomProviderAssociation.md @@ -80,7 +80,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.CustomProviders.Models.ICustomProvidersIdentity @@ -133,7 +132,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.IAssociation +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.IAssociation ## NOTES diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProvider.md b/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProvider.md index 5a16674570a7..b87a624a2777 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProvider.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzCustomProvider ## SYNOPSIS -Creates or updates the custom resource provider. +create the custom resource provider. ## SYNTAX +### CreateExpanded (Default) ``` New-AzCustomProvider -Name -ResourceGroupName -Location [-SubscriptionId ] [-Action ] [-ResourceType ] @@ -19,8 +20,22 @@ New-AzCustomProvider -Name -ResourceGroupName -Location ] ``` +### CreateViaJsonFilePath +``` +New-AzCustomProvider -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzCustomProvider -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Creates or updates the custom resource provider. +create the custom resource provider. ## EXAMPLES @@ -54,11 +69,10 @@ Create a custom provider, with a route for Custom provider associations. ### -Action A list of actions that the custom resource provider implements. -To construct, see NOTES section for ACTION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpActionRouteDefinition[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpActionRouteDefinition[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -99,12 +113,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -161,11 +205,10 @@ Accept wildcard characters: False ### -ResourceType A list of resource types that the custom resource provider implements. -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpResourceTypeRouteDefinition[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpResourceTypeRouteDefinition[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -197,7 +240,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -209,11 +252,10 @@ Accept wildcard characters: False ### -Validation A list of validations to run on the custom resource provider's requests. -To construct, see NOTES section for VALIDATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpValidations[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpValidations[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -261,7 +303,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpManifest +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpManifest ## NOTES diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProviderAssociation.md index 58fee02a42c5..28ab0ff73293 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProviderAssociation.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/New-AzCustomProviderAssociation.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzCustomProviderAssociation ## SYNOPSIS -Create or update an association. +create an association. ## SYNTAX +### CreateExpanded (Default) ``` New-AzCustomProviderAssociation -Name -Scope [-TargetResourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzCustomProviderAssociation -Name -Scope -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzCustomProviderAssociation -Name -Scope -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Create or update an association. +create an association. ## EXAMPLES @@ -69,6 +82,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the association. @@ -121,7 +164,7 @@ The REST resource instance of the target resource for this association. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -169,7 +212,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.IAssociation +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.IAssociation ## NOTES diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProvider.md b/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProvider.md index 959bd9581db0..df38dc7f2f04 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProvider.md @@ -82,7 +82,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.CustomProviders.Models.ICustomProvidersIdentity diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProviderAssociation.md index 3db3950c4240..cd422fd8def5 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProviderAssociation.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/Remove-AzCustomProviderAssociation.md @@ -82,7 +82,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.CustomProviders.Models.ICustomProvidersIdentity diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProvider.md b/src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProvider.md index 17e37d5f4903..ef2f6d5e2b00 100644 --- a/src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProvider.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzCustomProvider ## SYNOPSIS -Updates an existing custom resource provider. +update an existing custom resource provider. The only value that can be updated via PATCH currently is the tags. ## SYNTAX @@ -25,8 +25,20 @@ Update-AzCustomProvider -InputObject [-Tag ] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzCustomProvider -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzCustomProvider -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Updates an existing custom resource provider. +update an existing custom resource provider. The only value that can be updated via PATCH currently is the tags. ## EXAMPLES @@ -83,7 +95,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.CustomProviders.Models.ICustomProvidersIdentity @@ -97,12 +108,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the resource provider. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: ResourceProviderName Required: True @@ -117,7 +158,7 @@ The name of the resource group. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -134,7 +175,7 @@ This is a GUID-formatted string (e.g. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -149,7 +190,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -199,7 +240,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpManifest +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpManifest ## NOTES diff --git a/src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProviderAssociation.md new file mode 100644 index 000000000000..f33ab300c432 --- /dev/null +++ b/src/CustomProviders/CustomProviders.Autorest/docs/Update-AzCustomProviderAssociation.md @@ -0,0 +1,201 @@ +--- +external help file: +Module Name: Az.CustomProviders +online version: https://learn.microsoft.com/powershell/module/az.customproviders/update-azcustomproviderassociation +schema: 2.0.0 +--- + +# Update-AzCustomProviderAssociation + +## SYNOPSIS +update an association. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzCustomProviderAssociation -Name -Scope [-TargetResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzCustomProviderAssociation -InputObject [-TargetResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +update an association. + +## EXAMPLES + +### Example 1: Update a custom provider association +```powershell +$provider = Get-AzCustomProvider -ResourceGroupName myRg -Name Namespace.Type +Update-AzCustomProviderAssociation -Scope $resourceId -Name MyAssoc -TargetResourceId $provider.Id +``` + +```output +Location Name Type +-------- ---- ---- +East US 2 MyAssoc Microsoft.CustomProviders/associations +``` + +Update a custom provider association, the associated target provioder must be properly configured with a route for "associations" + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomProvidersIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the association. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: AssociationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the association. +The scope can be any valid REST resource instance. +For example, use '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}' for a virtual machine resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetResourceId +The REST resource instance of the target resource for this association. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomProvidersIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.IAssociation + +## NOTES + +## RELATED LINKS + diff --git a/src/CustomProviders/CustomProviders.Autorest/examples/Update-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders.Autorest/examples/Update-AzCustomProviderAssociation.md new file mode 100644 index 000000000000..5243f2d31bf4 --- /dev/null +++ b/src/CustomProviders/CustomProviders.Autorest/examples/Update-AzCustomProviderAssociation.md @@ -0,0 +1,13 @@ +### Example 1: Update a custom provider association +```powershell +$provider = Get-AzCustomProvider -ResourceGroupName myRg -Name Namespace.Type +Update-AzCustomProviderAssociation -Scope $resourceId -Name MyAssoc -TargetResourceId $provider.Id +``` + +```output +Location Name Type +-------- ---- ---- +East US 2 MyAssoc Microsoft.CustomProviders/associations +``` + +Update a custom provider association, the associated target provioder must be properly configured with a route for "associations" \ No newline at end of file diff --git a/src/CustomProviders/CustomProviders.Autorest/generate-info.json b/src/CustomProviders/CustomProviders.Autorest/generate-info.json index 6deccc63555a..06e0be2daa9c 100644 --- a/src/CustomProviders/CustomProviders.Autorest/generate-info.json +++ b/src/CustomProviders/CustomProviders.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "cbd1450c-a41e-4af7-9b13-23452be1a95e" + "generate_Id": "2551a24d-aafa-4362-9661-e53d3802476f" } diff --git a/src/CustomProviders/CustomProviders.Autorest/resources/README.md b/src/CustomProviders/CustomProviders.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/CustomProviders/CustomProviders.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +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. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +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. \ No newline at end of file diff --git a/src/CustomProviders/CustomProviders.Autorest/test/Update-AzCustomProviderAssociation.Tests.ps1 b/src/CustomProviders/CustomProviders.Autorest/test/Update-AzCustomProviderAssociation.Tests.ps1 new file mode 100644 index 000000000000..255d6072a5b1 --- /dev/null +++ b/src/CustomProviders/CustomProviders.Autorest/test/Update-AzCustomProviderAssociation.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzCustomProviderAssociation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzCustomProviderAssociation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzCustomProviderAssociation' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/CustomProviders/CustomProviders.sln b/src/CustomProviders/CustomProviders.sln index 402cb76cd5ad..a32ce98b656f 100644 --- a/src/CustomProviders/CustomProviders.sln +++ b/src/CustomProviders/CustomProviders.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomProviders", "CustomProviders\CustomProviders.csproj", "{4D25CE26-CFF3-43A3-9956-7977FC8C3849}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.CustomProviders", "..\..\generated\CustomProviders\CustomProviders.Autorest\Az.CustomProviders.csproj", "{AD567A43-94B7-423B-BB1B-7519158E919B}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CustomProviders.Autorest", "CustomProviders.Autorest", "{D4A35A70-9780-6423-D4F5-B3F0E8291AF1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.CustomProviders", "..\..\generated\CustomProviders\CustomProviders.Autorest\Az.CustomProviders.csproj", "{F184EE3B-C832-46BF-B8BC-16E66F30E062}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Debug|x64.ActiveCfg = Debug|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Debug|x64.Build.0 = Debug|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Debug|x86.ActiveCfg = Debug|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Debug|x86.Build.0 = Debug|Any CPU {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Release|Any CPU.ActiveCfg = Release|Any CPU {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Release|Any CPU.Build.0 = Release|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Release|x64.ActiveCfg = Release|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Release|x64.Build.0 = Release|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Release|x86.ActiveCfg = Release|Any CPU + {A93A5399-9EA8-48EA-9B86-54BED031DBF1}.Release|x86.Build.0 = Release|Any CPU {F9DA4B25-CDF1-4612-A099-2508A586F206}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F9DA4B25-CDF1-4612-A099-2508A586F206}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Debug|x64.ActiveCfg = Debug|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Debug|x64.Build.0 = Debug|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Debug|x86.ActiveCfg = Debug|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Debug|x86.Build.0 = Debug|Any CPU {F9DA4B25-CDF1-4612-A099-2508A586F206}.Release|Any CPU.ActiveCfg = Release|Any CPU {F9DA4B25-CDF1-4612-A099-2508A586F206}.Release|Any CPU.Build.0 = Release|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Release|x64.ActiveCfg = Release|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Release|x64.Build.0 = Release|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Release|x86.ActiveCfg = Release|Any CPU + {F9DA4B25-CDF1-4612-A099-2508A586F206}.Release|x86.Build.0 = Release|Any CPU {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Debug|x64.ActiveCfg = Debug|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Debug|x64.Build.0 = Debug|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Debug|x86.ActiveCfg = Debug|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Debug|x86.Build.0 = Debug|Any CPU {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Release|Any CPU.ActiveCfg = Release|Any CPU {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Release|Any CPU.Build.0 = Release|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Release|x64.ActiveCfg = Release|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Release|x64.Build.0 = Release|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Release|x86.ActiveCfg = Release|Any CPU + {AA0224AB-691B-4FC8-BCC5-060C37D6662D}.Release|x86.Build.0 = Release|Any CPU {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Debug|x64.ActiveCfg = Debug|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Debug|x64.Build.0 = Debug|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Debug|x86.ActiveCfg = Debug|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Debug|x86.Build.0 = Debug|Any CPU {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Release|Any CPU.ActiveCfg = Release|Any CPU {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Release|Any CPU.Build.0 = Release|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Release|x64.ActiveCfg = Release|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Release|x64.Build.0 = Release|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Release|x86.ActiveCfg = Release|Any CPU + {A37BFE92-51E2-4B30-999F-F27CCABB6700}.Release|x86.Build.0 = Release|Any CPU {9266DA12-4134-4B54-9D16-F0F784807EA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9266DA12-4134-4B54-9D16-F0F784807EA6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Debug|x64.ActiveCfg = Debug|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Debug|x64.Build.0 = Debug|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Debug|x86.ActiveCfg = Debug|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Debug|x86.Build.0 = Debug|Any CPU {9266DA12-4134-4B54-9D16-F0F784807EA6}.Release|Any CPU.ActiveCfg = Release|Any CPU {9266DA12-4134-4B54-9D16-F0F784807EA6}.Release|Any CPU.Build.0 = Release|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Release|x64.ActiveCfg = Release|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Release|x64.Build.0 = Release|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Release|x86.ActiveCfg = Release|Any CPU + {9266DA12-4134-4B54-9D16-F0F784807EA6}.Release|x86.Build.0 = Release|Any CPU {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Debug|x64.ActiveCfg = Debug|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Debug|x64.Build.0 = Debug|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Debug|x86.ActiveCfg = Debug|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Debug|x86.Build.0 = Debug|Any CPU {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Release|Any CPU.ActiveCfg = Release|Any CPU {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Release|Any CPU.Build.0 = Release|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Release|x64.ActiveCfg = Release|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Release|x64.Build.0 = Release|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Release|x86.ActiveCfg = Release|Any CPU + {8E0B72A2-AB7E-459B-8F86-F758F00D91F5}.Release|x86.Build.0 = Release|Any CPU {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Debug|x64.ActiveCfg = Debug|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Debug|x64.Build.0 = Debug|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Debug|x86.ActiveCfg = Debug|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Debug|x86.Build.0 = Debug|Any CPU {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|Any CPU.ActiveCfg = Release|Any CPU {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|Any CPU.Build.0 = Release|Any CPU - {AD567A43-94B7-423B-BB1B-7519158E919B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AD567A43-94B7-423B-BB1B-7519158E919B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AD567A43-94B7-423B-BB1B-7519158E919B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AD567A43-94B7-423B-BB1B-7519158E919B}.Release|Any CPU.Build.0 = Release|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|x64.ActiveCfg = Release|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|x64.Build.0 = Release|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|x86.ActiveCfg = Release|Any CPU + {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|x86.Build.0 = Release|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x64.ActiveCfg = Debug|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x64.Build.0 = Debug|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x86.ActiveCfg = Debug|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x86.Build.0 = Debug|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|Any CPU.Build.0 = Release|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x64.ActiveCfg = Release|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x64.Build.0 = Release|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x86.ActiveCfg = Release|Any CPU + {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {A93A5399-9EA8-48EA-9B86-54BED031DBF1} = {7B77899B-BD43-46DD-A379-83C41033599C} @@ -70,5 +140,6 @@ Global {A37BFE92-51E2-4B30-999F-F27CCABB6700} = {7B77899B-BD43-46DD-A379-83C41033599C} {9266DA12-4134-4B54-9D16-F0F784807EA6} = {7B77899B-BD43-46DD-A379-83C41033599C} {8E0B72A2-AB7E-459B-8F86-F758F00D91F5} = {7B77899B-BD43-46DD-A379-83C41033599C} + {F184EE3B-C832-46BF-B8BC-16E66F30E062} = {D4A35A70-9780-6423-D4F5-B3F0E8291AF1} EndGlobalSection EndGlobal diff --git a/src/CustomProviders/CustomProviders/Az.CustomProviders.psd1 b/src/CustomProviders/CustomProviders/Az.CustomProviders.psd1 index 1154f61f5784..b8a341c0ee05 100644 --- a/src/CustomProviders/CustomProviders/Az.CustomProviders.psd1 +++ b/src/CustomProviders/CustomProviders/Az.CustomProviders.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-04-15 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.1.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'CustomProviders.Autorest/bin/Az.CustomProviders.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'CustomProviders.Autorest\Az.CustomProviders.format.ps1xml' +FormatsToProcess = 'CustomProviders.Autorest/Az.CustomProviders.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('CustomProviders.Autorest/Az.CustomProviders.psm1') @@ -72,7 +72,7 @@ NestedModules = @('CustomProviders.Autorest/Az.CustomProviders.psm1') FunctionsToExport = 'Get-AzCustomProvider', 'Get-AzCustomProviderAssociation', 'New-AzCustomProvider', 'New-AzCustomProviderAssociation', 'Remove-AzCustomProvider', 'Remove-AzCustomProviderAssociation', - 'Update-AzCustomProvider' + 'Update-AzCustomProvider', 'Update-AzCustomProviderAssociation' # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. CmdletsToExport = @() @@ -98,7 +98,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','CustomProviders' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'CustomProviders' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -123,7 +123,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/CustomProviders/CustomProviders/ChangeLog.md b/src/CustomProviders/CustomProviders/ChangeLog.md index 292a5985d318..fb0a51504bcd 100644 --- a/src/CustomProviders/CustomProviders/ChangeLog.md +++ b/src/CustomProviders/CustomProviders/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md). ## Version 0.1.2 * Upgraded nuget package to signed package. diff --git a/src/CustomProviders/CustomProviders/help/Az.CustomProviders.md b/src/CustomProviders/CustomProviders/help/Az.CustomProviders.md index e450403c381c..c150f605bedb 100644 --- a/src/CustomProviders/CustomProviders/help/Az.CustomProviders.md +++ b/src/CustomProviders/CustomProviders/help/Az.CustomProviders.md @@ -18,10 +18,10 @@ Gets the custom resource provider manifest. Get an association. ### [New-AzCustomProvider](New-AzCustomProvider.md) -Creates or updates the custom resource provider. +create the custom resource provider. ### [New-AzCustomProviderAssociation](New-AzCustomProviderAssociation.md) -Create or update an association. +create an association. ### [Remove-AzCustomProvider](Remove-AzCustomProvider.md) Deletes the custom resource provider. @@ -30,6 +30,9 @@ Deletes the custom resource provider. Delete an association. ### [Update-AzCustomProvider](Update-AzCustomProvider.md) -Updates an existing custom resource provider. +update an existing custom resource provider. The only value that can be updated via PATCH currently is the tags. +### [Update-AzCustomProviderAssociation](Update-AzCustomProviderAssociation.md) +update an association. + diff --git a/src/CustomProviders/CustomProviders/help/Get-AzCustomProvider.md b/src/CustomProviders/CustomProviders/help/Get-AzCustomProvider.md index de4d509905d8..22ac4521e0a3 100644 --- a/src/CustomProviders/CustomProviders/help/Get-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders/help/Get-AzCustomProvider.md @@ -95,7 +95,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.CustomProviders.Models.ICustomProvidersIdentity @@ -165,7 +164,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpManifest +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpManifest ## NOTES diff --git a/src/CustomProviders/CustomProviders/help/Get-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders/help/Get-AzCustomProviderAssociation.md index 393305bcabf7..77afe2cc6b31 100644 --- a/src/CustomProviders/CustomProviders/help/Get-AzCustomProviderAssociation.md +++ b/src/CustomProviders/CustomProviders/help/Get-AzCustomProviderAssociation.md @@ -81,7 +81,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.CustomProviders.Models.ICustomProvidersIdentity @@ -134,7 +133,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.IAssociation +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.IAssociation ## NOTES diff --git a/src/CustomProviders/CustomProviders/help/New-AzCustomProvider.md b/src/CustomProviders/CustomProviders/help/New-AzCustomProvider.md index 93f3ba1e40a3..9581d6853bf8 100644 --- a/src/CustomProviders/CustomProviders/help/New-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders/help/New-AzCustomProvider.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzCustomProvider ## SYNOPSIS -Creates or updates the custom resource provider. +create the custom resource provider. ## SYNTAX +### CreateExpanded (Default) ``` New-AzCustomProvider -Name -ResourceGroupName [-SubscriptionId ] -Location [-Action ] [-ResourceType ] @@ -19,8 +20,22 @@ New-AzCustomProvider -Name -ResourceGroupName [-SubscriptionId [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzCustomProvider -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzCustomProvider -Name -ResourceGroupName [-SubscriptionId ] -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Creates or updates the custom resource provider. +create the custom resource provider. ## EXAMPLES @@ -54,11 +69,10 @@ Create a custom provider, with a route for Custom provider associations. ### -Action A list of actions that the custom resource provider implements. -To construct, see NOTES section for ACTION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpActionRouteDefinition[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpActionRouteDefinition[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -99,12 +113,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location Resource location ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -161,11 +205,10 @@ Accept wildcard characters: False ### -ResourceType A list of resource types that the custom resource provider implements. -To construct, see NOTES section for RESOURCETYPE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpResourceTypeRouteDefinition[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpResourceTypeRouteDefinition[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -197,7 +240,7 @@ Resource tags ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -209,11 +252,10 @@ Accept wildcard characters: False ### -Validation A list of validations to run on the custom resource provider's requests. -To construct, see NOTES section for VALIDATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpValidations[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpValidations[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -261,7 +303,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.ICustomRpManifest +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomRpManifest ## NOTES diff --git a/src/CustomProviders/CustomProviders/help/New-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders/help/New-AzCustomProviderAssociation.md index 2860f77f2506..cf5a2d198e65 100644 --- a/src/CustomProviders/CustomProviders/help/New-AzCustomProviderAssociation.md +++ b/src/CustomProviders/CustomProviders/help/New-AzCustomProviderAssociation.md @@ -8,18 +8,33 @@ schema: 2.0.0 # New-AzCustomProviderAssociation ## SYNOPSIS -Create or update an association. +create an association. ## SYNTAX +### CreateExpanded (Default) ``` New-AzCustomProviderAssociation -Name -Scope [-TargetResourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzCustomProviderAssociation -Name -Scope -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzCustomProviderAssociation -Name -Scope -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Create or update an association. +create an association. ## EXAMPLES @@ -70,6 +85,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of the association. @@ -122,7 +167,7 @@ The REST resource instance of the target resource for this association. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -170,7 +215,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.Api20180901Preview.IAssociation +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.IAssociation ## NOTES diff --git a/src/CustomProviders/CustomProviders/help/Remove-AzCustomProvider.md b/src/CustomProviders/CustomProviders/help/Remove-AzCustomProvider.md index 965ffda4b6bf..914dfdafb23e 100644 --- a/src/CustomProviders/CustomProviders/help/Remove-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders/help/Remove-AzCustomProvider.md @@ -83,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.CustomProviders.Models.ICustomProvidersIdentity diff --git a/src/CustomProviders/CustomProviders/help/Remove-AzCustomProviderAssociation.md b/src/CustomProviders/CustomProviders/help/Remove-AzCustomProviderAssociation.md index 1d67d0fc6934..d4a322f13844 100644 --- a/src/CustomProviders/CustomProviders/help/Remove-AzCustomProviderAssociation.md +++ b/src/CustomProviders/CustomProviders/help/Remove-AzCustomProviderAssociation.md @@ -82,7 +82,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.CustomProviders.Models.ICustomProvidersIdentity diff --git a/src/CustomProviders/CustomProviders/help/Update-AzCustomProvider.md b/src/CustomProviders/CustomProviders/help/Update-AzCustomProvider.md index 4982f5b4d2a5..3c0a8ead02bf 100644 --- a/src/CustomProviders/CustomProviders/help/Update-AzCustomProvider.md +++ b/src/CustomProviders/CustomProviders/help/Update-AzCustomProvider.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzCustomProvider ## SYNOPSIS -Updates an existing custom resource provider. +update an existing custom resource provider. The only value that can be updated via PATCH currently is the tags. ## SYNTAX @@ -20,6 +20,20 @@ Update-AzCustomProvider -Name -ResourceGroupName [-Subscriptio [] ``` +### UpdateViaJsonString +``` +Update-AzCustomProvider -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzCustomProvider -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzCustomProvider -InputObject [-Tag ] [-DefaultProfile ] @@ -27,7 +41,7 @@ Update-AzCustomProvider -InputObject [-Tag -Scope [-TargetResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzCustomProviderAssociation -InputObject [-TargetResourceId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +update an association. + +## EXAMPLES + +### Example 1: Update a custom provider association +```powershell +$provider = Get-AzCustomProvider -ResourceGroupName myRg -Name Namespace.Type +Update-AzCustomProviderAssociation -Scope $resourceId -Name MyAssoc -TargetResourceId $provider.Id +``` + +```output +Location Name Type +-------- ---- ---- +East US 2 MyAssoc Microsoft.CustomProviders/associations +``` + +Update a custom provider association, the associated target provioder must be properly configured with a route for "associations" + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomProvidersIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the association. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: AssociationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the association. +The scope can be any valid REST resource instance. +For example, use '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}' for a virtual machine resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetResourceId +The REST resource instance of the target resource for this association. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.ICustomProvidersIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.CustomProviders.Models.IAssociation + +## NOTES + +## RELATED LINKS From 08b9954ae582cbfb56216b5011f8fa0a5b546470 Mon Sep 17 00:00:00 2001 From: Jinpei Li Date: Tue, 15 Apr 2025 11:28:57 +0800 Subject: [PATCH 2/2] Update README.md file --- .../Properties/AssemblyInfo.cs | 1 - .../CustomProviders.Autorest/README.md | 17 ----------- .../generate-info.json | 2 +- src/CustomProviders/CustomProviders.sln | 28 +++++++++---------- 4 files changed, 15 insertions(+), 33 deletions(-) diff --git a/src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs b/src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs index c60183346c2b..b39a609080b2 100644 --- a/src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs +++ b/src/CustomProviders/CustomProviders.Autorest/Properties/AssemblyInfo.cs @@ -24,4 +24,3 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.2")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] - diff --git a/src/CustomProviders/CustomProviders.Autorest/README.md b/src/CustomProviders/CustomProviders.Autorest/README.md index e56c71bba030..6f5323d2eea2 100644 --- a/src/CustomProviders/CustomProviders.Autorest/README.md +++ b/src/CustomProviders/CustomProviders.Autorest/README.md @@ -71,29 +71,12 @@ directive: - where: variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true - # - where: - # verb: New - # subject: ^CustomProvider.*$ - # variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Create$ - # remove: true - - # - where: - # verb: Set - # subject: CustomProviderAssociation - # variant: ^Update$|^UpdateViaIdentity$ - # remove: true - where: verb: Set subject: ^CustomProvider$ remove: true - # - where: - # verb: Update - # subject: CustomProvider - # variant: ^Update$|^UpdateViaIdentity$ - # remove: true - - where: verb: Set subject: CustomProviderAssociation diff --git a/src/CustomProviders/CustomProviders.Autorest/generate-info.json b/src/CustomProviders/CustomProviders.Autorest/generate-info.json index 06e0be2daa9c..5d5734f4e038 100644 --- a/src/CustomProviders/CustomProviders.Autorest/generate-info.json +++ b/src/CustomProviders/CustomProviders.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "2551a24d-aafa-4362-9661-e53d3802476f" + "generate_Id": "6b3b34b2-7cb4-4de3-8d33-279bdbd868f6" } diff --git a/src/CustomProviders/CustomProviders.sln b/src/CustomProviders/CustomProviders.sln index a32ce98b656f..0d4165bf05f9 100644 --- a/src/CustomProviders/CustomProviders.sln +++ b/src/CustomProviders/CustomProviders.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomProviders", "CustomPr EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CustomProviders.Autorest", "CustomProviders.Autorest", "{D4A35A70-9780-6423-D4F5-B3F0E8291AF1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.CustomProviders", "..\..\generated\CustomProviders\CustomProviders.Autorest\Az.CustomProviders.csproj", "{F184EE3B-C832-46BF-B8BC-16E66F30E062}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.CustomProviders", "..\..\generated\CustomProviders\CustomProviders.Autorest\Az.CustomProviders.csproj", "{4A56028E-FB78-4190-BB5B-9BFAB2677356}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|x64.Build.0 = Release|Any CPU {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|x86.ActiveCfg = Release|Any CPU {4D25CE26-CFF3-43A3-9956-7977FC8C3849}.Release|x86.Build.0 = Release|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x64.ActiveCfg = Debug|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x64.Build.0 = Debug|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x86.ActiveCfg = Debug|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Debug|x86.Build.0 = Debug|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|Any CPU.Build.0 = Release|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x64.ActiveCfg = Release|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x64.Build.0 = Release|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x86.ActiveCfg = Release|Any CPU - {F184EE3B-C832-46BF-B8BC-16E66F30E062}.Release|x86.Build.0 = Release|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Debug|x64.ActiveCfg = Debug|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Debug|x64.Build.0 = Debug|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Debug|x86.ActiveCfg = Debug|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Debug|x86.Build.0 = Debug|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Release|Any CPU.Build.0 = Release|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Release|x64.ActiveCfg = Release|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Release|x64.Build.0 = Release|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Release|x86.ActiveCfg = Release|Any CPU + {4A56028E-FB78-4190-BB5B-9BFAB2677356}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {A37BFE92-51E2-4B30-999F-F27CCABB6700} = {7B77899B-BD43-46DD-A379-83C41033599C} {9266DA12-4134-4B54-9D16-F0F784807EA6} = {7B77899B-BD43-46DD-A379-83C41033599C} {8E0B72A2-AB7E-459B-8F86-F758F00D91F5} = {7B77899B-BD43-46DD-A379-83C41033599C} - {F184EE3B-C832-46BF-B8BC-16E66F30E062} = {D4A35A70-9780-6423-D4F5-B3F0E8291AF1} + {4A56028E-FB78-4190-BB5B-9BFAB2677356} = {D4A35A70-9780-6423-D4F5-B3F0E8291AF1} EndGlobalSection EndGlobal