diff --git a/src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs b/src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs index cc264df5469c..372a4df68f4d 100644 --- a/src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs +++ b/src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs @@ -20,7 +20,7 @@ [assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] [assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] [assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Automanage")] -[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)] diff --git a/src/Automanage/Automanage.Autorest/README.md b/src/Automanage/Automanage.Autorest/README.md index 4f6753691118..79e09254b3c2 100644 --- a/src/Automanage/Automanage.Autorest/README.md +++ b/src/Automanage/Automanage.Autorest/README.md @@ -34,17 +34,6 @@ require: input-file: - $(repo)/specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/automanage.json -# title: Databricks -# subject-prefix: $(service-name) - -inlining-threshold: 100 -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: - from: swagger-document where: $.definitions.ConfigurationDictionary @@ -63,9 +52,11 @@ directive: verb: Set remove: true - # remove variant - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$ + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true - where: @@ -209,22 +200,4 @@ directive: - Name - AuthorizationSet - ServicePrincipalId - - - where: - verb: Get - subject: HciReport|HcrpReport|Report - set: - breaking-change: - deprecated-output-properties: - - AdditionalInfo - - Detail - - Resource - new-output-properties: - - AdditionalInfo - - Detail - - Resource - change-description: The types of the properties 'AdditionalInfo', 'Detail' and 'Resource' 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 ``` diff --git a/src/Automanage/Automanage.Autorest/docs/Az.Automanage.md b/src/Automanage/Automanage.Autorest/docs/Az.Automanage.md index ad167dc10654..3fba31dd4828 100644 --- a/src/Automanage/Automanage.Autorest/docs/Az.Automanage.md +++ b/src/Automanage/Automanage.Autorest/docs/Az.Automanage.md @@ -1,6 +1,6 @@ --- Module Name: Az.Automanage -Module Guid: a5929fa8-2b6e-4212-8396-8c4f1b48500d +Module Guid: e54e2b12-08b9-4e24-8906-d2acb72fb103 Download Help Link: https://learn.microsoft.com/powershell/module/az.automanage Help Version: 1.0.0.0 Locale: en-US @@ -36,16 +36,16 @@ Get information about a report associated with a configuration profile assignmen Get information about a report associated with a configuration profile assignment run ### [New-AzAutomanageConfigProfile](New-AzAutomanageConfigProfile.md) -Creates a configuration profile +Create a configuration profile ### [New-AzAutomanageConfigProfileAssignment](New-AzAutomanageConfigProfileAssignment.md) -Creates an association between a VM and Automanage configuration profile +Create an association between a VM and Automanage configuration profile ### [New-AzAutomanageConfigProfileHciAssignment](New-AzAutomanageConfigProfileHciAssignment.md) -Creates an association between a AzureStackHCI cluster and Automanage configuration profile +Create an association between a AzureStackHCI cluster and Automanage configuration profile ### [New-AzAutomanageConfigProfileHcrpAssignment](New-AzAutomanageConfigProfileHcrpAssignment.md) -Creates an association between a ARC machine and Automanage configuration profile +Create an association between a ARC machine and Automanage configuration profile ### [Remove-AzAutomanageConfigProfile](Remove-AzAutomanageConfigProfile.md) Delete a configuration profile @@ -60,5 +60,14 @@ Delete a configuration profile assignment Delete a configuration profile assignment ### [Update-AzAutomanageConfigProfile](Update-AzAutomanageConfigProfile.md) -Updates a configuration profile +Update a configuration profile + +### [Update-AzAutomanageConfigProfileAssignment](Update-AzAutomanageConfigProfileAssignment.md) +Update an association between a VM and Automanage configuration profile + +### [Update-AzAutomanageConfigProfileHciAssignment](Update-AzAutomanageConfigProfileHciAssignment.md) +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +### [Update-AzAutomanageConfigProfileHcrpAssignment](Update-AzAutomanageConfigProfileHcrpAssignment.md) +Update an association between a ARC machine and Automanage configuration profile diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageBestPractice.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageBestPractice.md index 05f188ff3211..e5d1a7e763a6 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageBestPractice.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageBestPractice.md @@ -94,7 +94,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IBestPractice +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IBestPractice ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfile.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfile.md index 5b96f369fe22..707f42fe7268 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfile.md @@ -101,7 +101,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.Automanage.Models.IAutomanageIdentity @@ -170,7 +169,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfile ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileAssignment.md index 888b72bef342..5542f8daf361 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileAssignment.md @@ -30,6 +30,12 @@ Get-AzAutomanageConfigProfileAssignment -InputObject [-Def [] ``` +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageConfigProfileAssignment -ConfigurationProfileAssignmentInputObject + -VMName [-DefaultProfile ] [] +``` + ### List1 ``` Get-AzAutomanageConfigProfileAssignment -ResourceGroupName [-SubscriptionId ] @@ -110,6 +116,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -128,7 +149,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.Automanage.Models.IAutomanageIdentity @@ -193,7 +213,7 @@ The name of the virtual machine. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityConfigurationProfileAssignment Aliases: Required: True @@ -212,7 +232,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHciAssignment.md index 97b5ac056d2e..1ce54346df3a 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHciAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHciAssignment.md @@ -24,6 +24,12 @@ Get-AzAutomanageConfigProfileHciAssignment -InputObject [- [] ``` +### GetViaIdentityCluster +``` +Get-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get information about a configuration profile assignment @@ -71,6 +77,21 @@ This command gets information about a configuration profile assignment. ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. @@ -104,7 +125,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.Automanage.Models.IAutomanageIdentity @@ -158,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHcrpAssignment.md index e474034b3956..15bb9435a054 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHcrpAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageConfigProfileHcrpAssignment.md @@ -24,6 +24,12 @@ Get-AzAutomanageConfigProfileHcrpAssignment -InputObject [ [] ``` +### GetViaIdentityMachine +``` +Get-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get information about a configuration profile assignment @@ -89,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.Automanage.Models.IAutomanageIdentity @@ -103,6 +108,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. @@ -158,7 +178,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHciReport.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHciReport.md index de8302798c90..026b877c5f6b 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHciReport.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHciReport.md @@ -29,6 +29,18 @@ Get-AzAutomanageHciReport -ClusterName -Name -ResourceGroupNam Get-AzAutomanageHciReport -InputObject [-DefaultProfile ] [] ``` +### GetViaIdentityCluster +``` +Get-AzAutomanageHciReport -ClusterInputObject -Name + [-DefaultProfile ] [] +``` + +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageHciReport -ConfigurationProfileAssignmentInputObject -Name + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get information about a report associated with a configuration profile assignment run @@ -69,6 +81,21 @@ This command gets information about a report associated with a configuration pro ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. @@ -84,6 +111,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -102,7 +144,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.Automanage.Models.IAutomanageIdentity @@ -121,7 +162,7 @@ The report name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityCluster, GetViaIdentityConfigurationProfileAssignment Aliases: Required: True @@ -171,7 +212,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReport ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHcrpReport.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHcrpReport.md index 65f6e2664f89..73a1913dcfcc 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHcrpReport.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageHcrpReport.md @@ -30,6 +30,18 @@ Get-AzAutomanageHcrpReport -InputObject [-DefaultProfile < [] ``` +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageHcrpReport -ConfigurationProfileAssignmentInputObject -Name + [-DefaultProfile ] [] +``` + +### GetViaIdentityMachine +``` +Get-AzAutomanageHcrpReport -MachineInputObject -Name + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get information about a report associated with a configuration profile assignment run @@ -70,6 +82,21 @@ This command gets information about a report associated with a configuration pro ## PARAMETERS +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -88,7 +115,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.Automanage.Models.IAutomanageIdentity @@ -102,6 +128,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. @@ -122,7 +163,7 @@ The report name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityConfigurationProfileAssignment, GetViaIdentityMachine Aliases: Required: True @@ -172,7 +213,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReport ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageReport.md b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageReport.md index 659fefea75ee..02d20fc0fd38 100644 --- a/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageReport.md +++ b/src/Automanage/Automanage.Autorest/docs/Get-AzAutomanageReport.md @@ -29,6 +29,18 @@ Get-AzAutomanageReport -Name -ResourceGroupName -VMName [-DefaultProfile ] [] ``` +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageReport -ConfigurationProfileAssignmentInputObject -Name + -VMName [-DefaultProfile ] [] +``` + +### GetViaIdentityReport +``` +Get-AzAutomanageReport -ReportInputObject -VMName [-DefaultProfile ] + [] +``` + ## DESCRIPTION Get information about a report associated with a configuration profile assignment run @@ -69,6 +81,21 @@ This command gets information about a report associated with a configuration pro ## PARAMETERS +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -87,7 +114,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.Automanage.Models.IAutomanageIdentity @@ -106,7 +132,7 @@ The report name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityConfigurationProfileAssignment Aliases: ReportName Required: True @@ -116,6 +142,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ReportInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityReport +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -152,7 +193,7 @@ The name of the virtual machine. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: Get, GetViaIdentityConfigurationProfileAssignment, GetViaIdentityReport, List Aliases: Required: True @@ -171,7 +212,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReport ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfile.md b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfile.md index 29291e7359af..1a1733aaabed 100644 --- a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfile.md @@ -8,18 +8,31 @@ schema: 2.0.0 # New-AzAutomanageConfigProfile ## SYNOPSIS -Creates a configuration profile +Create a configuration profile ## SYNTAX +### CreateExpanded (Default) ``` New-AzAutomanageConfigProfile -Name -ResourceGroupName -Location [-SubscriptionId ] [-Configuration ] [-Tag ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfile -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzAutomanageConfigProfile -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates a configuration profile +Create a configuration profile ## EXAMPLES @@ -54,7 +67,7 @@ configuration dictionary of the configuration profile. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -80,12 +93,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 The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -146,7 +189,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -194,7 +237,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfile ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileAssignment.md index 7f269339cd9b..b93610487508 100644 --- a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileAssignment.md @@ -8,18 +8,38 @@ schema: 2.0.0 # New-AzAutomanageConfigProfileAssignment ## SYNOPSIS -Creates an association between a VM and Automanage configuration profile +Create an association between a VM and Automanage configuration profile ## SYNTAX +### CreateExpanded (Default) ``` New-AzAutomanageConfigProfileAssignment -ResourceGroupName -VMName [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityConfigurationProfileAssignmentExpanded +``` +New-AzAutomanageConfigProfileAssignment -ConfigurationProfileAssignmentInputObject + -VMName [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfileAssignment -ResourceGroupName -VMName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzAutomanageConfigProfileAssignment -ResourceGroupName -VMName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates an association between a VM and Automanage configuration profile +Create an association between a VM and Automanage configuration profile ## EXAMPLES @@ -43,7 +63,7 @@ The Automanage configurationProfile ARM Resource URI. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityConfigurationProfileAssignmentExpanded Aliases: Required: False @@ -53,6 +73,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: CreateViaIdentityConfigurationProfileAssignmentExpanded +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. @@ -69,13 +104,43 @@ 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 +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -90,7 +155,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -151,9 +216,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHciAssignment.md index a29a757cb9f9..70e2b124a2e0 100644 --- a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHciAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHciAssignment.md @@ -8,18 +8,39 @@ schema: 2.0.0 # New-AzAutomanageConfigProfileHciAssignment ## SYNOPSIS -Creates an association between a AzureStackHCI cluster and Automanage configuration profile +Create an association between a AzureStackHCI cluster and Automanage configuration profile ## SYNTAX +### CreateExpanded (Default) ``` New-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityClusterExpanded +``` +New-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Creates an association between a AzureStackHCI cluster and Automanage configuration profile +Create an association between a AzureStackHCI cluster and Automanage configuration profile ## EXAMPLES @@ -38,12 +59,27 @@ This command creates an association between a AzureStackHCI cluster and Automana ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: CreateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -58,7 +94,7 @@ The Automanage configurationProfile ARM Resource URI. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityClusterExpanded Aliases: Required: False @@ -84,13 +120,43 @@ 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 +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -105,7 +171,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -151,9 +217,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHcrpAssignment.md index 46cf0b2749b0..7cad2ab89a0d 100644 --- a/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHcrpAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/New-AzAutomanageConfigProfileHcrpAssignment.md @@ -8,18 +8,39 @@ schema: 2.0.0 # New-AzAutomanageConfigProfileHcrpAssignment ## SYNOPSIS -Creates an association between a ARC machine and Automanage configuration profile +Create an association between a ARC machine and Automanage configuration profile ## SYNTAX +### CreateExpanded (Default) ``` New-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaIdentityMachineExpanded +``` +New-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + ## DESCRIPTION -Creates an association between a ARC machine and Automanage configuration profile +Create an association between a ARC machine and Automanage configuration profile ## EXAMPLES @@ -43,7 +64,7 @@ The Automanage configurationProfile ARM Resource URI. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMachineExpanded Aliases: Required: False @@ -69,12 +90,57 @@ 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 +``` + +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: CreateViaIdentityMachineExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -90,7 +156,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: True @@ -105,7 +171,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString Aliases: Required: False @@ -151,9 +217,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfile.md b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfile.md index 92088e7888a7..3c5f400cfe90 100644 --- a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfile.md @@ -63,7 +63,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.Automanage.Models.IAutomanageIdentity diff --git a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileAssignment.md index 32aac62eee46..191da0b48ba1 100644 --- a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileAssignment.md @@ -24,6 +24,12 @@ Remove-AzAutomanageConfigProfileAssignment -InputObject [- [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityConfigurationProfileAssignment +``` +Remove-AzAutomanageConfigProfileAssignment -ConfigurationProfileAssignmentInputObject + -VMName [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a configuration profile assignment @@ -45,6 +51,21 @@ This command deletes a configuration profile assignment by pipeline. ## PARAMETERS +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: DeleteViaIdentityConfigurationProfileAssignment +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. @@ -63,7 +84,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.Automanage.Models.IAutomanageIdentity @@ -128,7 +148,7 @@ The name of the virtual machine. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityConfigurationProfileAssignment Aliases: Required: True diff --git a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHciAssignment.md index eeccdcb4f12e..67b5fe70db68 100644 --- a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHciAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHciAssignment.md @@ -24,6 +24,12 @@ Remove-AzAutomanageConfigProfileHciAssignment -InputObject [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityCluster +``` +Remove-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a configuration profile assignment @@ -45,6 +51,21 @@ This command deletes a configuration profile assignment by pipeline. ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: DeleteViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. @@ -78,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.Automanage.Models.IAutomanageIdentity diff --git a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHcrpAssignment.md index f7d478d1bdef..40ecc55afaf0 100644 --- a/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHcrpAssignment.md +++ b/src/Automanage/Automanage.Autorest/docs/Remove-AzAutomanageConfigProfileHcrpAssignment.md @@ -24,6 +24,12 @@ Remove-AzAutomanageConfigProfileHcrpAssignment -InputObject ] ``` +### DeleteViaIdentityMachine +``` +Remove-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a configuration profile assignment @@ -63,7 +69,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.Automanage.Models.IAutomanageIdentity @@ -77,6 +82,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: DeleteViaIdentityMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. diff --git a/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfile.md b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfile.md index 9c3c0f965bcf..f82eb9d843cb 100644 --- a/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfile.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzAutomanageConfigProfile ## SYNOPSIS -Updates a configuration profile +Update a configuration profile ## SYNTAX @@ -25,8 +25,20 @@ Update-AzAutomanageConfigProfile -InputObject [-Configurat [-Tag ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzAutomanageConfigProfile -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzAutomanageConfigProfile -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Updates a configuration profile +Update a configuration profile ## EXAMPLES @@ -63,7 +75,7 @@ configuration dictionary of the configuration profile. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -91,7 +103,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.Automanage.Models.IAutomanageIdentity @@ -105,12 +116,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 Name of the configuration profile. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: ConfigurationProfileName Required: True @@ -126,7 +167,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -141,7 +182,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -156,7 +197,7 @@ The tags of the resource. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -206,7 +247,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfile ## NOTES diff --git a/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileAssignment.md new file mode 100644 index 000000000000..97284264795c --- /dev/null +++ b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileAssignment.md @@ -0,0 +1,207 @@ +--- +external help file: +Module Name: Az.Automanage +online version: https://learn.microsoft.com/powershell/module/az.automanage/update-azautomanageconfigprofileassignment +schema: 2.0.0 +--- + +# Update-AzAutomanageConfigProfileAssignment + +## SYNOPSIS +Update an association between a VM and Automanage configuration profile + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzAutomanageConfigProfileAssignment -ResourceGroupName -VMName + [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityConfigurationProfileAssignmentExpanded +``` +Update-AzAutomanageConfigProfileAssignment -ConfigurationProfileAssignmentInputObject + -VMName [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzAutomanageConfigProfileAssignment -InputObject [-ConfigurationProfile ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an association between a VM and Automanage configuration profile + +## EXAMPLES + +### Example 1: Update an association between a VM and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileAssignment -ResourceGroupName automangerg -VMName aglinuxvm -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Compute/virtualMachines/aglinuxvm +``` + +Update an association between a VM and Automanage configuration profile + +## PARAMETERS + +### -ConfigurationProfile +The Automanage configurationProfile ARM Resource URI. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityConfigurationProfileAssignmentExpanded +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. + +```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.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VMName +The name of the virtual machine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityConfigurationProfileAssignmentExpanded +Aliases: + +Required: True +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.Automanage.Models.IAutomanageIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHciAssignment.md new file mode 100644 index 000000000000..6e2441b57e68 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHciAssignment.md @@ -0,0 +1,206 @@ +--- +external help file: +Module Name: Az.Automanage +online version: https://learn.microsoft.com/powershell/module/az.automanage/update-azautomanageconfigprofilehciassignment +schema: 2.0.0 +--- + +# Update-AzAutomanageConfigProfileHciAssignment + +## SYNOPSIS +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName + [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityClusterExpanded +``` +Update-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzAutomanageConfigProfileHciAssignment -InputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +## EXAMPLES + +### Example 1: Update an association between a AzureStackHCI cluster and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileHciAssignment -ResourceGroupName automangerg -ClusterName aglinuxcluster -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.AzureStackHci/clusters/aglinuxcluster +``` + +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +## PARAMETERS + +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterName +The name of the Arc machine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConfigurationProfile +The Automanage configurationProfile ARM Resource URI. + +```yaml +Type: System.String +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.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +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.Automanage.Models.IAutomanageIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHcrpAssignment.md new file mode 100644 index 000000000000..c677dbfc53a6 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHcrpAssignment.md @@ -0,0 +1,206 @@ +--- +external help file: +Module Name: Az.Automanage +online version: https://learn.microsoft.com/powershell/module/az.automanage/update-azautomanageconfigprofilehcrpassignment +schema: 2.0.0 +--- + +# Update-AzAutomanageConfigProfileHcrpAssignment + +## SYNOPSIS +Update an association between a ARC machine and Automanage configuration profile + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName + [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzAutomanageConfigProfileHcrpAssignment -InputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityMachineExpanded +``` +Update-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an association between a ARC machine and Automanage configuration profile + +## EXAMPLES + +### Example 1: Update an association between a ARC machine and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileHcrpAssignment -ResourceGroupName automangerg -MachineName aglinuxmachines -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.HybridCompute/machines/aglinuxmachines +``` + +Update an association between a ARC machine and Automanage configuration profile + +## PARAMETERS + +### -ConfigurationProfile +The Automanage configurationProfile ARM Resource URI. + +```yaml +Type: System.String +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.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityMachineExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MachineName +The name of the Arc machine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +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.Automanage.Models.IAutomanageIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileAssignment.md new file mode 100644 index 000000000000..2da6a3626fff --- /dev/null +++ b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileAssignment.md @@ -0,0 +1,12 @@ +### Example 1: Update an association between a VM and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileAssignment -ResourceGroupName automangerg -VMName aglinuxvm -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Compute/virtualMachines/aglinuxvm +``` + +Update an association between a VM and Automanage configuration profile \ No newline at end of file diff --git a/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHciAssignment.md new file mode 100644 index 000000000000..1206b55bd780 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHciAssignment.md @@ -0,0 +1,12 @@ +### Example 1: Update an association between a AzureStackHCI cluster and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileHciAssignment -ResourceGroupName automangerg -ClusterName aglinuxcluster -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.AzureStackHci/clusters/aglinuxcluster +``` + +Update an association between a AzureStackHCI cluster and Automanage configuration profile \ No newline at end of file diff --git a/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHcrpAssignment.md new file mode 100644 index 000000000000..809f448f249e --- /dev/null +++ b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHcrpAssignment.md @@ -0,0 +1,12 @@ +### Example 1: Update an association between a ARC machine and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileHcrpAssignment -ResourceGroupName automangerg -MachineName aglinuxmachines -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.HybridCompute/machines/aglinuxmachines +``` + +Update an association between a ARC machine and Automanage configuration profile \ No newline at end of file diff --git a/src/Automanage/Automanage.Autorest/generate-info.json b/src/Automanage/Automanage.Autorest/generate-info.json index 9f271062c2e3..670112b24c0e 100644 --- a/src/Automanage/Automanage.Autorest/generate-info.json +++ b/src/Automanage/Automanage.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "4ce1d8e9-cb1f-4289-af6c-e3079038e9a2" + "generate_Id": "d22eaae8-97d8-44a8-8ce4-a7f1bad687f2" } diff --git a/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageBestPractice.Recording.json b/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageBestPractice.Recording.json index 287249799075..adfe517c14a4 100644 --- a/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageBestPractice.Recording.json +++ b/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageBestPractice.Recording.json @@ -7,11 +7,11 @@ "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "37b90ae7-aacb-4962-9cbb-8e7f04b3b852" ], + "x-ms-client-request-id": [ "43be94a6-e4b5-4152-9b1f-889b37377977" ], "CommandName": [ "Get-AzAutomanageBestPractice" ], "FullCommandName": [ "Get-AzAutomanageBestPractice_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -24,20 +24,22 @@ "Pragma": [ "no-cache" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "b4daa78b-d111-4534-93cd-391439f79942" ], - "x-ms-correlation-request-id": [ "b4daa78b-d111-4534-93cd-391439f79942" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T082203Z:b4daa78b-d111-4534-93cd-391439f79942" ], + "x-ms-operation-identifier": [ "" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "2199" ], + "x-ms-request-id": [ "1006e549-e20b-4d2e-b6d8-a7060f911174" ], + "x-ms-correlation-request-id": [ "1006e549-e20b-4d2e-b6d8-a7060f911174" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071211Z:1006e549-e20b-4d2e-b6d8-a7060f911174" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:22:02 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 416E2AE4E6764A5797005A4F98513577 Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:11Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2354" ], + "Content-Length": [ "3203" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction\",\"name\":\"AzureBestPracticesProduction\",\"type\":\"Microsoft.Automanage/bestPractices\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":\"true\",\"Antimalware/EnableRealTimeProtection\":\"true\",\"Antimalware/RunScheduledScan\":\"true\",\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":\"7\",\"Antimalware/ScanTimeInMinutes\":\"120\",\"Backup/Enable\":\"true\",\"Backup/PolicyName\":\"dailyBackupPolicy\",\"Backup/TimeZone\":\"UTC\",\"Backup/InstantRpRetentionRangeInDays\":\"2\",\"Backup/SchedulePolicy/ScheduleRunFrequency\":\"Daily\",\"Backup/SchedulePolicy/ScheduleRunTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicy\",\"Backup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"Backup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":\"180\",\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"VMInsights/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"2021-06-30T00:00:00+00:00\",\"createdBy\":\"SYSTEM\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2022-10-03T00:00:00+00:00\",\"lastModifiedBy\":\"SYSTEM\",\"lastModifiedByType\":\"User\"}},{\"id\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesDevTest\",\"name\":\"AzureBestPracticesDevTest\",\"type\":\"Microsoft.Automanage/bestPractices\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":\"true\",\"Antimalware/EnableRealTimeProtection\":\"true\",\"Antimalware/RunScheduledScan\":\"true\",\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":\"7\",\"Antimalware/ScanTimeInMinutes\":\"120\",\"Backup/Enable\":\"false\",\"VMInsights/Enable\":\"false\",\"AzureSecurityCenter/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"WindowsAdminCenter/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"2021-06-30T00:00:00+00:00\",\"createdBy\":\"SYSTEM\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2022-10-03T00:00:00+00:00\",\"lastModifiedBy\":\"SYSTEM\",\"lastModifiedByType\":\"User\"}}]}", + "Content": "{\"value\":[{\"id\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction\",\"name\":\"AzureBestPracticesProduction\",\"type\":\"Microsoft.Automanage/bestPractices\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":true,\"Antimalware/EnableRealTimeProtection\":true,\"Antimalware/RunScheduledScan\":true,\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":\"7\",\"Antimalware/ScanTimeInMinutes\":\"120\",\"Backup/Enable\":true,\"Backup/PolicyName\":\"dailyBackupPolicy\",\"Backup/TimeZone\":\"UTC\",\"Backup/InstantRpRetentionRangeInDays\":\"2\",\"Backup/SchedulePolicy/ScheduleRunFrequency\":\"Daily\",\"Backup/SchedulePolicy/ScheduleRunTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicy\",\"Backup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"Backup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":\"180\",\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"EnhancedBackup/Enable\":true,\"EnhancedBackup/PolicyName\":\"Automanage-Default-Enhanced\",\"EnhancedBackup/TimeZone\":\"UTC\",\"EnhancedBackup/InstantRpRetentionRangeInDays\":\"7\",\"EnhancedBackup/SchedulePolicy/ScheduleRunFrequency\":\"Hourly\",\"EnhancedBackup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicyV2\",\"EnhancedBackup/SchedulePolicy/HourlySchedule/Interval\":\"4\",\"EnhancedBackup/SchedulePolicy/HourlySchedule/ScheduleWindowStartTime\":\"2023-01-26T08:00:00Z\",\"EnhancedBackup/SchedulePolicy/HourlySchedule/ScheduleWindowDuration\":\"12\",\"EnhancedBackup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"EnhancedBackup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2020-09-09T00:00:00Z\"],\"EnhancedBackup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":\"30\",\"EnhancedBackup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"VMInsights/Enable\":true,\"DefenderForCloud/Enable\":true,\"UpdateManagement/Enable\":true,\"ChangeTrackingAndInventory/Enable\":true,\"GuestConfiguration/Enable\":true,\"LogAnalytics/Enable\":true,\"BootDiagnostics/Enable\":true,\"WindowsAdminCenter/Enable\":false}},\"systemData\":{\"createdAt\":\"2021-06-30T00:00:00+00:00\",\"createdBy\":\"SYSTEM\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2023-03-15T00:00:00+00:00\",\"lastModifiedBy\":\"SYSTEM\",\"lastModifiedByType\":\"User\"}},{\"id\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesDevTest\",\"name\":\"AzureBestPracticesDevTest\",\"type\":\"Microsoft.Automanage/bestPractices\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":true,\"Antimalware/EnableRealTimeProtection\":true,\"Antimalware/RunScheduledScan\":true,\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":\"7\",\"Antimalware/ScanTimeInMinutes\":\"120\",\"Backup/Enable\":false,\"VMInsights/Enable\":false,\"AzureSecurityCenter/Enable\":true,\"UpdateManagement/Enable\":true,\"ChangeTrackingAndInventory/Enable\":true,\"GuestConfiguration/Enable\":true,\"LogAnalytics/Enable\":true,\"BootDiagnostics/Enable\":true,\"WindowsAdminCenter/Enable\":true}},\"systemData\":{\"createdAt\":\"2021-06-30T00:00:00+00:00\",\"createdBy\":\"SYSTEM\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2022-10-07T00:00:00+00:00\",\"lastModifiedBy\":\"SYSTEM\",\"lastModifiedByType\":\"User\"}}]}", "isContentBase64": false } }, @@ -49,11 +51,11 @@ "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "948b8783-719f-43fb-9b78-93ef7a33955e" ], + "x-ms-client-request-id": [ "882098ef-3d51-44f9-9c7c-e75c90126096" ], "CommandName": [ "Get-AzAutomanageBestPractice" ], "FullCommandName": [ "Get-AzAutomanageBestPractice_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -66,20 +68,22 @@ "Pragma": [ "no-cache" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "769e800a-016b-4700-ba93-fae1afc905e6" ], - "x-ms-correlation-request-id": [ "769e800a-016b-4700-ba93-fae1afc905e6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T082204Z:769e800a-016b-4700-ba93-fae1afc905e6" ], + "x-ms-operation-identifier": [ "" ], + "x-ms-ratelimit-remaining-tenant-reads": [ "2199" ], + "x-ms-request-id": [ "b849a42e-97a8-47e3-b87e-f2d2289937ee" ], + "x-ms-correlation-request-id": [ "b849a42e-97a8-47e3-b87e-f2d2289937ee" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071211Z:b849a42e-97a8-47e3-b87e-f2d2289937ee" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:22:03 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 00D5E5C79C954F288C6055B399C0711D Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:11Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1449" ], + "Content-Length": [ "2322" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction\",\"name\":\"AzureBestPracticesProduction\",\"type\":\"Microsoft.Automanage/bestPractices\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":\"true\",\"Antimalware/EnableRealTimeProtection\":\"true\",\"Antimalware/RunScheduledScan\":\"true\",\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":\"7\",\"Antimalware/ScanTimeInMinutes\":\"120\",\"Backup/Enable\":\"true\",\"Backup/PolicyName\":\"dailyBackupPolicy\",\"Backup/TimeZone\":\"UTC\",\"Backup/InstantRpRetentionRangeInDays\":\"2\",\"Backup/SchedulePolicy/ScheduleRunFrequency\":\"Daily\",\"Backup/SchedulePolicy/ScheduleRunTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicy\",\"Backup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"Backup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":\"180\",\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"VMInsights/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"2021-06-30T00:00:00+00:00\",\"createdBy\":\"SYSTEM\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2022-10-03T00:00:00+00:00\",\"lastModifiedBy\":\"SYSTEM\",\"lastModifiedByType\":\"User\"}}", + "Content": "{\"id\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction\",\"name\":\"AzureBestPracticesProduction\",\"type\":\"Microsoft.Automanage/bestPractices\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":true,\"Antimalware/EnableRealTimeProtection\":true,\"Antimalware/RunScheduledScan\":true,\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":\"7\",\"Antimalware/ScanTimeInMinutes\":\"120\",\"Backup/Enable\":true,\"Backup/PolicyName\":\"dailyBackupPolicy\",\"Backup/TimeZone\":\"UTC\",\"Backup/InstantRpRetentionRangeInDays\":\"2\",\"Backup/SchedulePolicy/ScheduleRunFrequency\":\"Daily\",\"Backup/SchedulePolicy/ScheduleRunTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicy\",\"Backup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"Backup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2017-01-26T00:00:00Z\"],\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":\"180\",\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"EnhancedBackup/Enable\":true,\"EnhancedBackup/PolicyName\":\"Automanage-Default-Enhanced\",\"EnhancedBackup/TimeZone\":\"UTC\",\"EnhancedBackup/InstantRpRetentionRangeInDays\":\"7\",\"EnhancedBackup/SchedulePolicy/ScheduleRunFrequency\":\"Hourly\",\"EnhancedBackup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicyV2\",\"EnhancedBackup/SchedulePolicy/HourlySchedule/Interval\":\"4\",\"EnhancedBackup/SchedulePolicy/HourlySchedule/ScheduleWindowStartTime\":\"2023-01-26T08:00:00Z\",\"EnhancedBackup/SchedulePolicy/HourlySchedule/ScheduleWindowDuration\":\"12\",\"EnhancedBackup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"EnhancedBackup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2020-09-09T00:00:00Z\"],\"EnhancedBackup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":\"30\",\"EnhancedBackup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"VMInsights/Enable\":true,\"DefenderForCloud/Enable\":true,\"UpdateManagement/Enable\":true,\"ChangeTrackingAndInventory/Enable\":true,\"GuestConfiguration/Enable\":true,\"LogAnalytics/Enable\":true,\"BootDiagnostics/Enable\":true,\"WindowsAdminCenter/Enable\":false}},\"systemData\":{\"createdAt\":\"2021-06-30T00:00:00+00:00\",\"createdBy\":\"SYSTEM\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2023-03-15T00:00:00+00:00\",\"lastModifiedBy\":\"SYSTEM\",\"lastModifiedByType\":\"User\"}}", "isContentBase64": false } } diff --git a/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfile.Recording.json b/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfile.Recording.json index bb684ad5f91a..d1232ba19662 100644 --- a/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfile.Recording.json +++ b/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfile.Recording.json @@ -7,11 +7,11 @@ "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "00814e6d-a8fe-496d-8475-16cbfc564df2" ], + "x-ms-client-request-id": [ "bace2841-ae40-4721-ab76-b51d1c7d8279" ], "CommandName": [ "Get-AzAutomanageConfigProfile" ], "FullCommandName": [ "Get-AzAutomanageConfigProfile_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,22 +22,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ "" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-request-id": [ "0b0fa8b5-b778-4dec-8f87-1183627ac7ad" ], - "x-ms-correlation-request-id": [ "0b0fa8b5-b778-4dec-8f87-1183627ac7ad" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T082206Z:0b0fa8b5-b778-4dec-8f87-1183627ac7ad" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], + "x-ms-ratelimit-remaining-subscription-global-reads": [ "16499" ], + "x-ms-request-id": [ "19a8149c-8974-4639-9ad3-9a1c75f0ac2c" ], + "x-ms-correlation-request-id": [ "19a8149c-8974-4639-9ad3-9a1c75f0ac2c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071213Z:19a8149c-8974-4639-9ad3-9a1c75f0ac2c" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:22:05 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E766E13570004A34B2C46359E4E16F44 Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:12Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2515" ], + "Content-Length": [ "830" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":\"false\",\"LogAnalytics/Enable\":\"true\",\"Backup/Enable\":\"false\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"VMInsights/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"0001-01-01T00:00:00+00:00\",\"lastModifiedAt\":\"2022-09-08T06:36:00.6350397+00:00\",\"lastModifiedBy\":\"v-diya@microsoft.com\",\"lastModifiedByType\":\"User\"}},{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/lucas-best-practices-devtest\",\"name\":\"lucas-best-practices-devtest\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":true,\"Antimalware/Exclusions/Paths\":\"\",\"Antimalware/Exclusions/Extensions\":\"\",\"Antimalware/Exclusions/Processes\":\"\",\"Antimalware/EnableRealTimeProtection\":true,\"Antimalware/RunScheduledScan\":true,\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":7,\"Antimalware/ScanTimeInMinutes\":120,\"Backup/Enable\":true,\"Backup/PolicyName\":\"dailyBackupPolicy\",\"Backup/TimeZone\":\"UTC\",\"Backup/InstantRpRetentionRangeInDays\":2,\"Backup/SchedulePolicy/ScheduleRunFrequency\":\"Daily\",\"Backup/SchedulePolicy/ScheduleRunTimes\":[\"2022-09-13T12:00:00Z\"],\"Backup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicy\",\"Backup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"Backup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2022-09-13T12:00:00Z\"],\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":180,\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"WindowsAdminCenter/Enable\":false,\"VMInsights/Enable\":true,\"AzureSecurityCenter/Enable\":true,\"UpdateManagement/Enable\":true,\"ChangeTrackingAndInventory/Enable\":true,\"GuestConfiguration/Enable\":true,\"AutomationAccount/Enable\":true,\"LogAnalytics/Enable\":true,\"BootDiagnostics/Enable\":true}},\"systemData\":{\"createdAt\":\"2022-09-13T01:49:52.7359039+00:00\",\"createdBy\":\"v-diya@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2022-09-13T01:49:52.7359039+00:00\",\"lastModifiedBy\":\"v-diya@microsoft.com\",\"lastModifiedByType\":\"User\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"LogAnalytics/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"Backup/Enable\":\"false\",\"AzureSecurityCenter/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"VMInsights/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"2025-09-11T07:10:14.8354125+00:00\",\"createdBy\":\"v-jinpel@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2025-09-11T07:10:31.2327095+00:00\",\"lastModifiedBy\":\"v-jinpel@microsoft.com\",\"lastModifiedByType\":\"User\"}}]}", "isContentBase64": false } }, @@ -49,11 +52,11 @@ "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "98af8d96-0a2b-439d-9bd5-91d3c3e53fbf" ], + "x-ms-client-request-id": [ "368fb811-aaa2-449e-aa2e-abdf121e53b1" ], "CommandName": [ "Get-AzAutomanageConfigProfile" ], "FullCommandName": [ "Get-AzAutomanageConfigProfile_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,22 +67,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ "" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-request-id": [ "bb25cfe7-08e9-47f5-a778-e0db7b1a9e21" ], - "x-ms-correlation-request-id": [ "bb25cfe7-08e9-47f5-a778-e0db7b1a9e21" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T082206Z:bb25cfe7-08e9-47f5-a778-e0db7b1a9e21" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], + "x-ms-ratelimit-remaining-subscription-global-reads": [ "16499" ], + "x-ms-request-id": [ "4df8d08f-8be9-40b4-a45d-95451fd6bc6f" ], + "x-ms-correlation-request-id": [ "4df8d08f-8be9-40b4-a45d-95451fd6bc6f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071216Z:4df8d08f-8be9-40b4-a45d-95451fd6bc6f" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:22:06 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: CEE4E62F8E2E4D9AAF559C3ECBB9790C Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:13Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2515" ], + "Content-Length": [ "830" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":\"false\",\"LogAnalytics/Enable\":\"true\",\"Backup/Enable\":\"false\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"VMInsights/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"0001-01-01T00:00:00+00:00\",\"lastModifiedAt\":\"2022-09-08T06:36:00.6350397+00:00\",\"lastModifiedBy\":\"v-diya@microsoft.com\",\"lastModifiedByType\":\"User\"}},{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/lucas-best-practices-devtest\",\"name\":\"lucas-best-practices-devtest\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"Antimalware/Enable\":true,\"Antimalware/Exclusions/Paths\":\"\",\"Antimalware/Exclusions/Extensions\":\"\",\"Antimalware/Exclusions/Processes\":\"\",\"Antimalware/EnableRealTimeProtection\":true,\"Antimalware/RunScheduledScan\":true,\"Antimalware/ScanType\":\"Quick\",\"Antimalware/ScanDay\":7,\"Antimalware/ScanTimeInMinutes\":120,\"Backup/Enable\":true,\"Backup/PolicyName\":\"dailyBackupPolicy\",\"Backup/TimeZone\":\"UTC\",\"Backup/InstantRpRetentionRangeInDays\":2,\"Backup/SchedulePolicy/ScheduleRunFrequency\":\"Daily\",\"Backup/SchedulePolicy/ScheduleRunTimes\":[\"2022-09-13T12:00:00Z\"],\"Backup/SchedulePolicy/SchedulePolicyType\":\"SimpleSchedulePolicy\",\"Backup/RetentionPolicy/RetentionPolicyType\":\"LongTermRetentionPolicy\",\"Backup/RetentionPolicy/DailySchedule/RetentionTimes\":[\"2022-09-13T12:00:00Z\"],\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/Count\":180,\"Backup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType\":\"Days\",\"WindowsAdminCenter/Enable\":false,\"VMInsights/Enable\":true,\"AzureSecurityCenter/Enable\":true,\"UpdateManagement/Enable\":true,\"ChangeTrackingAndInventory/Enable\":true,\"GuestConfiguration/Enable\":true,\"AutomationAccount/Enable\":true,\"LogAnalytics/Enable\":true,\"BootDiagnostics/Enable\":true}},\"systemData\":{\"createdAt\":\"2022-09-13T01:49:52.7359039+00:00\",\"createdBy\":\"v-diya@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2022-09-13T01:49:52.7359039+00:00\",\"lastModifiedBy\":\"v-diya@microsoft.com\",\"lastModifiedByType\":\"User\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"LogAnalytics/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"Backup/Enable\":\"false\",\"AzureSecurityCenter/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"VMInsights/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"2025-09-11T07:10:14.8354125+00:00\",\"createdBy\":\"v-jinpel@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2025-09-11T07:10:31.2327095+00:00\",\"lastModifiedBy\":\"v-jinpel@microsoft.com\",\"lastModifiedByType\":\"User\"}}]}", "isContentBase64": false } }, diff --git a/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfileAssignment.Recording.json b/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfileAssignment.Recording.json index b0d4769da70b..48b0d8509fbb 100644 --- a/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfileAssignment.Recording.json +++ b/src/Automanage/Automanage.Autorest/test/Get-AzAutomanageConfigProfileAssignment.Recording.json @@ -7,11 +7,11 @@ "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "f9079ad5-e3ae-4cea-8064-172cd50f2705" ], + "x-ms-client-request-id": [ "0b8999ff-ad2c-44ea-82a6-ab2f6fec0f43" ], "CommandName": [ "Get-AzAutomanageConfigProfileAssignment" ], "FullCommandName": [ "Get-AzAutomanageConfigProfileAssignment_List2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -23,20 +23,24 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "x-ms-original-request-ids": [ "", "", "", "", "", "", "", "" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-request-id": [ "bb31b72a-80d8-47ec-bc26-ed36d2926096" ], - "x-ms-correlation-request-id": [ "bb31b72a-80d8-47ec-bc26-ed36d2926096" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T082209Z:bb31b72a-80d8-47ec-bc26-ed36d2926096" ], + "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=22bd255d-54e2-4ff9-8907-30ddfa087ef5/southeastasia/ab2c86f5-86c0-45e5-9116-a80dd9940aac" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], + "x-ms-ratelimit-remaining-subscription-global-reads": [ "16499" ], + "x-ms-request-id": [ "a16853fb-380f-4cf4-99fb-3bbab20c44df" ], + "x-ms-correlation-request-id": [ "a16853fb-380f-4cf4-99fb-3bbab20c44df" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071217Z:a16853fb-380f-4cf4-99fb-3bbab20c44df" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:22:08 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0D8314BE52D34F428387A1CC6430401B Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:17Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:16 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "12" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "1733" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Compute/virtualMachines/aglinuxvm/providers/Microsoft.Automanage/configurationProfileAssignments/default\",\"name\":\"default\",\"type\":\"Microsoft.Automanage/configurationProfileAssignments\",\"properties\":{\"targetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Compute/virtualMachines/aglinuxvm\",\"configurationProfile\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction\",\"status\":\"Conformant\"},\"systemData\":{\"createdAt\":\"2022-10-08T06:26:35.5675306+00:00\",\"createdBy\":\"d828acde-4b48-47f5-a6e8-52460104a052\",\"createdByType\":\"Application\",\"lastModifiedAt\":\"2022-10-08T06:26:35.5675306+00:00\",\"lastModifiedBy\":\"d828acde-4b48-47f5-a6e8-52460104a052\",\"lastModifiedByType\":\"Application\"}},{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lnxtest/providers/Microsoft.Compute/virtualMachines/advisortest2/providers/Microsoft.Automanage/configurationProfileAssignments/default\",\"name\":\"default\",\"type\":\"Microsoft.Automanage/configurationProfileAssignments\",\"properties\":{\"targetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lnxtest/providers/Microsoft.Compute/virtualMachines/advisortest2\",\"configurationProfile\":\"/providers/Microsoft.Automanage/bestPractices/azurebestpracticesproduction\",\"status\":\"Conformant\"},\"systemData\":{\"createdAt\":\"2022-10-08T03:18:09.255135+00:00\",\"createdBy\":\"d828acde-4b48-47f5-a6e8-52460104a052\",\"createdByType\":\"Application\",\"lastModifiedAt\":\"2022-10-08T03:18:09.255135+00:00\",\"lastModifiedBy\":\"d828acde-4b48-47f5-a6e8-52460104a052\",\"lastModifiedByType\":\"Application\"}}]}", + "Content": "{\"value\":[]}", "isContentBase64": false } }, @@ -48,11 +52,11 @@ "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "330a5e95-bbc6-41a5-a2d8-ba9b9d0a72fe" ], + "x-ms-client-request-id": [ "993dc9d6-8b2e-4f57-8055-26482964d5ef" ], "CommandName": [ "Get-AzAutomanageConfigProfileAssignment" ], "FullCommandName": [ "Get-AzAutomanageConfigProfileAssignment_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,20 +68,24 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "x-ms-original-request-ids": [ "", "", "", "", "", "", "", "" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-request-id": [ "61201b22-8c09-4c4b-b3da-9d0f0441d05e" ], - "x-ms-correlation-request-id": [ "61201b22-8c09-4c4b-b3da-9d0f0441d05e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T082210Z:61201b22-8c09-4c4b-b3da-9d0f0441d05e" ], + "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=22bd255d-54e2-4ff9-8907-30ddfa087ef5/southeastasia/0e3bac69-675f-4e89-8fdf-b0b1291669f4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "1099" ], + "x-ms-ratelimit-remaining-subscription-global-reads": [ "16499" ], + "x-ms-request-id": [ "e59f3213-1ad3-42a0-9433-b3a5cc8f6c71" ], + "x-ms-correlation-request-id": [ "e59f3213-1ad3-42a0-9433-b3a5cc8f6c71" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071219Z:e59f3213-1ad3-42a0-9433-b3a5cc8f6c71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:22:09 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8EFFC12C31C84059AB3B8F27E827E948 Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:18Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:18 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "12" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "874" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Compute/virtualMachines/aglinuxvm/providers/Microsoft.Automanage/configurationProfileAssignments/default\",\"name\":\"default\",\"type\":\"Microsoft.Automanage/configurationProfileAssignments\",\"properties\":{\"targetId\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Compute/virtualMachines/aglinuxvm\",\"configurationProfile\":\"/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction\",\"status\":\"Conformant\"},\"systemData\":{\"createdAt\":\"2022-10-08T06:26:35.5675306+00:00\",\"createdBy\":\"d828acde-4b48-47f5-a6e8-52460104a052\",\"createdByType\":\"Application\",\"lastModifiedAt\":\"2022-10-08T06:26:35.5675306+00:00\",\"lastModifiedBy\":\"d828acde-4b48-47f5-a6e8-52460104a052\",\"lastModifiedByType\":\"Application\"}}]}", + "Content": "{\"value\":[]}", "isContentBase64": false } }, diff --git a/src/Automanage/Automanage.Autorest/test/New-AzAutomanageConfigProfile.Recording.json b/src/Automanage/Automanage.Autorest/test/New-AzAutomanageConfigProfile.Recording.json index 3f08536c440e..5799dd4a6b0a 100644 --- a/src/Automanage/Automanage.Autorest/test/New-AzAutomanageConfigProfile.Recording.json +++ b/src/Automanage/Automanage.Autorest/test/New-AzAutomanageConfigProfile.Recording.json @@ -3,7 +3,7 @@ "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01?api-version=2022-05-04", - "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"configuration\": {\r\n \"Backup/Enable\": \"false\",\r\n \"ChangeTrackingAndInventory/Enable\": \"true\",\r\n \"LogAnalytics/Enable\": \"true\",\r\n \"VMInsights/Enable\": \"true\",\r\n \"UpdateManagement/Enable\": \"true\",\r\n \"BootDiagnostics/Enable\": \"true\",\r\n \"AzureSecurityCenter/Enable\": \"true\",\r\n \"Antimalware/Enable\": \"false\",\r\n \"GuestConfiguration/Enable\": \"true\"\r\n }\r\n }\r\n}", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"configuration\": {\r\n \"BootDiagnostics/Enable\": \"true\",\r\n \"AzureSecurityCenter/Enable\": \"true\",\r\n \"UpdateManagement/Enable\": \"true\",\r\n \"Antimalware/Enable\": \"false\",\r\n \"GuestConfiguration/Enable\": \"true\",\r\n \"LogAnalytics/Enable\": \"true\",\r\n \"ChangeTrackingAndInventory/Enable\": \"true\",\r\n \"VMInsights/Enable\": \"true\",\r\n \"Backup/Enable\": \"false\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -19,20 +19,23 @@ "Pragma": [ "no-cache" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "78458b4a-7c11-43f6-94ac-4e47e33ddcb2" ], - "x-ms-correlation-request-id": [ "78458b4a-7c11-43f6-94ac-4e47e33ddcb2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T084219Z:78458b4a-7c11-43f6-94ac-4e47e33ddcb2" ], + "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=22bd255d-54e2-4ff9-8907-30ddfa087ef5/southeastasia/88308ec2-674b-4887-b946-65296afb53a1" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], + "x-ms-ratelimit-remaining-subscription-global-writes": [ "11999" ], + "x-ms-request-id": [ "cf816520-d6a6-432a-afb7-9796435a732f" ], + "x-ms-correlation-request-id": [ "cf816520-d6a6-432a-afb7-9796435a732f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071223Z:cf816520-d6a6-432a-afb7-9796435a732f" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:42:18 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A8770813740F4C77A99420B6B3809BE0 Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:22Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "748" ], + "Content-Length": [ "818" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"Backup/Enable\":\"false\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"VMInsights/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"GuestConfiguration/Enable\":\"true\"}},\"systemData\":{\"createdAt\":\"0001-01-01T00:00:00+00:00\",\"lastModifiedAt\":\"2022-10-08T08:42:16.3024671+00:00\",\"lastModifiedBy\":\"v-diya@microsoft.com\",\"lastModifiedByType\":\"User\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"BootDiagnostics/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"GuestConfiguration/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"VMInsights/Enable\":\"true\",\"Backup/Enable\":\"false\"}},\"systemData\":{\"createdAt\":\"2025-09-11T07:10:14.8354125+00:00\",\"createdBy\":\"v-jinpel@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2025-09-11T07:12:23.0127149+00:00\",\"lastModifiedBy\":\"v-jinpel@microsoft.com\",\"lastModifiedByType\":\"User\"}}", "isContentBase64": false } } diff --git a/src/Automanage/Automanage.Autorest/test/Remove-AzAutomanageConfigProfile.Recording.json b/src/Automanage/Automanage.Autorest/test/Remove-AzAutomanageConfigProfile.Recording.json index 8b55cbd4d3ed..07092526cd2c 100644 --- a/src/Automanage/Automanage.Autorest/test/Remove-AzAutomanageConfigProfile.Recording.json +++ b/src/Automanage/Automanage.Autorest/test/Remove-AzAutomanageConfigProfile.Recording.json @@ -3,7 +3,7 @@ "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01?api-version=2022-05-04", - "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"configuration\": {\r\n \"VMInsights/Enable\": \"true\",\r\n \"Antimalware/Enable\": \"false\",\r\n \"ChangeTrackingAndInventory/Enable\": \"true\",\r\n \"GuestConfiguration/Enable\": \"true\",\r\n \"UpdateManagement/Enable\": \"true\",\r\n \"LogAnalytics/Enable\": \"true\",\r\n \"AzureSecurityCenter/Enable\": \"true\",\r\n \"BootDiagnostics/Enable\": \"true\",\r\n \"Backup/Enable\": \"false\"\r\n }\r\n }\r\n}", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"configuration\": {\r\n \"BootDiagnostics/Enable\": \"true\",\r\n \"AzureSecurityCenter/Enable\": \"true\",\r\n \"UpdateManagement/Enable\": \"true\",\r\n \"Antimalware/Enable\": \"false\",\r\n \"GuestConfiguration/Enable\": \"true\",\r\n \"LogAnalytics/Enable\": \"true\",\r\n \"ChangeTrackingAndInventory/Enable\": \"true\",\r\n \"VMInsights/Enable\": \"true\",\r\n \"Backup/Enable\": \"false\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -19,20 +19,23 @@ "Pragma": [ "no-cache" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "da8eb0d4-da29-4137-a88f-3113370fdb4c" ], - "x-ms-correlation-request-id": [ "da8eb0d4-da29-4137-a88f-3113370fdb4c" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T085920Z:da8eb0d4-da29-4137-a88f-3113370fdb4c" ], + "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=22bd255d-54e2-4ff9-8907-30ddfa087ef5/southeastasia/4bc4f6d5-2ec1-4370-a44f-37024ab64c11" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], + "x-ms-ratelimit-remaining-subscription-global-writes": [ "11999" ], + "x-ms-request-id": [ "49a18caf-84fe-4bf0-9023-a4cbbe7988ac" ], + "x-ms-correlation-request-id": [ "49a18caf-84fe-4bf0-9023-a4cbbe7988ac" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071226Z:49a18caf-84fe-4bf0-9023-a4cbbe7988ac" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:59:19 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 937B0DB15BE241B6B4BFD6C6DB6F8435 Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:25Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "748" ], + "Content-Length": [ "817" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"VMInsights/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"Backup/Enable\":\"false\"}},\"systemData\":{\"createdAt\":\"0001-01-01T00:00:00+00:00\",\"lastModifiedAt\":\"2022-10-08T08:59:19.3351828+00:00\",\"lastModifiedBy\":\"v-diya@microsoft.com\",\"lastModifiedByType\":\"User\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"BootDiagnostics/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"GuestConfiguration/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"VMInsights/Enable\":\"true\",\"Backup/Enable\":\"false\"}},\"systemData\":{\"createdAt\":\"2025-09-11T07:10:14.8354125+00:00\",\"createdBy\":\"v-jinpel@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2025-09-11T07:12:26.154287+00:00\",\"lastModifiedBy\":\"v-jinpel@microsoft.com\",\"lastModifiedByType\":\"User\"}}", "isContentBase64": false } }, @@ -43,12 +46,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "d5243cfe-9593-4e19-9fcd-09bb66c8f3e8" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "d46b41d7-2f43-4a92-a2b3-0d9cdfffa532" ], "CommandName": [ "Remove-AzAutomanageConfigProfile" ], "FullCommandName": [ "Remove-AzAutomanageConfigProfile_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -61,13 +64,16 @@ "Pragma": [ "no-cache" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-request-id": [ "b07bbe0b-e335-4acb-b540-803e61e30347" ], - "x-ms-correlation-request-id": [ "b07bbe0b-e335-4acb-b540-803e61e30347" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T085926Z:b07bbe0b-e335-4acb-b540-803e61e30347" ], + "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=22bd255d-54e2-4ff9-8907-30ddfa087ef5/southeastasia/03ab8eca-32a6-4298-b468-342a7dfb5d0d" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "799" ], + "x-ms-ratelimit-remaining-subscription-global-deletes": [ "11999" ], + "x-ms-request-id": [ "678fe8fd-bc1b-4d5a-8bc1-4fb83440c5f1" ], + "x-ms-correlation-request-id": [ "678fe8fd-bc1b-4d5a-8bc1-4fb83440c5f1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071230Z:678fe8fd-bc1b-4d5a-8bc1-4fb83440c5f1" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:59:25 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2B44515E94F94F9FACA9D612D3F28D42 Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:27Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:29 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -81,7 +87,7 @@ "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01?api-version=2022-05-04", - "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"configuration\": {\r\n \"VMInsights/Enable\": \"true\",\r\n \"Antimalware/Enable\": \"false\",\r\n \"ChangeTrackingAndInventory/Enable\": \"true\",\r\n \"GuestConfiguration/Enable\": \"true\",\r\n \"UpdateManagement/Enable\": \"true\",\r\n \"LogAnalytics/Enable\": \"true\",\r\n \"AzureSecurityCenter/Enable\": \"true\",\r\n \"BootDiagnostics/Enable\": \"true\",\r\n \"Backup/Enable\": \"false\"\r\n }\r\n }\r\n}", + "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"configuration\": {\r\n \"BootDiagnostics/Enable\": \"true\",\r\n \"AzureSecurityCenter/Enable\": \"true\",\r\n \"UpdateManagement/Enable\": \"true\",\r\n \"Antimalware/Enable\": \"false\",\r\n \"GuestConfiguration/Enable\": \"true\",\r\n \"LogAnalytics/Enable\": \"true\",\r\n \"ChangeTrackingAndInventory/Enable\": \"true\",\r\n \"VMInsights/Enable\": \"true\",\r\n \"Backup/Enable\": \"false\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -98,20 +104,23 @@ "Location": [ "/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-request-id": [ "04319b2c-2957-4d46-8073-11e341afbf78" ], - "x-ms-correlation-request-id": [ "04319b2c-2957-4d46-8073-11e341afbf78" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T085930Z:04319b2c-2957-4d46-8073-11e341afbf78" ], + "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=22bd255d-54e2-4ff9-8907-30ddfa087ef5/southeastasia/e58111d5-0664-46bf-be85-fde6ec8067bc" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "799" ], + "x-ms-ratelimit-remaining-subscription-global-writes": [ "11999" ], + "x-ms-request-id": [ "59fbfd13-f849-44fb-b583-2a4b4dcae4a2" ], + "x-ms-correlation-request-id": [ "59fbfd13-f849-44fb-b583-2a4b4dcae4a2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071233Z:59fbfd13-f849-44fb-b583-2a4b4dcae4a2" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:59:30 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6B7A22C3996B4628A79FE97FF3523A5C Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:31Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "818" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"VMInsights/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"GuestConfiguration/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"BootDiagnostics/Enable\":\"true\",\"Backup/Enable\":\"false\"}},\"systemData\":{\"createdAt\":\"2022-10-08T08:59:28.699423+00:00\",\"createdBy\":\"v-diya@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2022-10-08T08:59:28.699423+00:00\",\"lastModifiedBy\":\"v-diya@microsoft.com\",\"lastModifiedByType\":\"User\"}}", + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Automanage/configurationProfiles/confpro-pwsh01\",\"name\":\"confpro-pwsh01\",\"type\":\"Microsoft.Automanage/configurationProfiles\",\"location\":\"eastus\",\"properties\":{\"configuration\":{\"BootDiagnostics/Enable\":\"true\",\"AzureSecurityCenter/Enable\":\"true\",\"UpdateManagement/Enable\":\"true\",\"Antimalware/Enable\":\"false\",\"GuestConfiguration/Enable\":\"true\",\"LogAnalytics/Enable\":\"true\",\"ChangeTrackingAndInventory/Enable\":\"true\",\"VMInsights/Enable\":\"true\",\"Backup/Enable\":\"false\"}},\"systemData\":{\"createdAt\":\"2025-09-11T07:12:32.9578014+00:00\",\"createdBy\":\"v-jinpel@microsoft.com\",\"createdByType\":\"User\",\"lastModifiedAt\":\"2025-09-11T07:12:32.9578014+00:00\",\"lastModifiedBy\":\"v-jinpel@microsoft.com\",\"lastModifiedByType\":\"User\"}}", "isContentBase64": false } }, @@ -122,12 +131,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "532ac5bb-6671-4365-8adc-68fea5e33da5" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "d6503dcd-5a4c-425a-8060-a98c92eb2a6f" ], "CommandName": [ "Remove-AzAutomanageConfigProfile" ], "FullCommandName": [ "Remove-AzAutomanageConfigProfile_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.1.4", "Az.Automanage/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.5.2", "Az.Automanage/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -140,13 +149,16 @@ "Pragma": [ "no-cache" ], "Request-Context": [ "appId=cid-v1:a4d240dc-d543-4b4e-a019-0a571290b85d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-request-id": [ "fdfc270f-ae2d-4456-b070-e57f07fc353a" ], - "x-ms-correlation-request-id": [ "fdfc270f-ae2d-4456-b070-e57f07fc353a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20221008T085932Z:fdfc270f-ae2d-4456-b070-e57f07fc353a" ], + "x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=22bd255d-54e2-4ff9-8907-30ddfa087ef5/southeastasia/17a8327d-70be-49b6-b7cf-2ab956fa2b82" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "799" ], + "x-ms-ratelimit-remaining-subscription-global-deletes": [ "11999" ], + "x-ms-request-id": [ "d4f19541-2ed9-43a8-8242-c292e48558f3" ], + "x-ms-correlation-request-id": [ "d4f19541-2ed9-43a8-8242-c292e48558f3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20250911T071238Z:d4f19541-2ed9-43a8-8242-c292e48558f3" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Sat, 08 Oct 2022 08:59:32 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4ADCA5EC87504A02BBFA7022B0441B46 Ref B: MAA201060514049 Ref C: 2025-09-11T07:12:34Z" ], + "Date": [ "Thu, 11 Sep 2025 07:12:37 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], diff --git a/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileAssignment.Tests.ps1 b/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileAssignment.Tests.ps1 new file mode 100644 index 000000000000..57b7e76b7b7d --- /dev/null +++ b/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileAssignment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzAutomanageConfigProfileAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzAutomanageConfigProfileAssignment.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-AzAutomanageConfigProfileAssignment' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityConfigurationProfileAssignmentExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileHciAssignment.Tests.ps1 b/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileHciAssignment.Tests.ps1 new file mode 100644 index 000000000000..9cd1fc12cff0 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileHciAssignment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzAutomanageConfigProfileHciAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzAutomanageConfigProfileHciAssignment.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-AzAutomanageConfigProfileHciAssignment' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityClusterExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileHcrpAssignment.Tests.ps1 b/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileHcrpAssignment.Tests.ps1 new file mode 100644 index 000000000000..0c4ccc1b07a9 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/test/Update-AzAutomanageConfigProfileHcrpAssignment.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzAutomanageConfigProfileHcrpAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzAutomanageConfigProfileHcrpAssignment.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-AzAutomanageConfigProfileHcrpAssignment' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityMachineExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Automanage/Automanage.sln b/src/Automanage/Automanage.sln index 06c977f11f3f..b1475326bb7a 100644 --- a/src/Automanage/Automanage.sln +++ b/src/Automanage/Automanage.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Automanage", "Automanage\Au EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Automanage.Autorest", "Automanage.Autorest", "{A3FCDF16-E89B-6A8A-797C-6A596AE0D377}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Automanage", "..\..\generated\Automanage\Automanage.Autorest\Az.Automanage.csproj", "{5454EE77-7B20-4AE5-9C0F-B58108955DB3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Automanage", "..\..\generated\Automanage\Automanage.Autorest\Az.Automanage.csproj", "{A0BE439A-7403-49BD-93A8-13D4C7AD6958}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Release|x64.Build.0 = Release|Any CPU {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Release|x86.ActiveCfg = Release|Any CPU {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Release|x86.Build.0 = Release|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Debug|x64.ActiveCfg = Debug|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Debug|x64.Build.0 = Debug|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Debug|x86.ActiveCfg = Debug|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Debug|x86.Build.0 = Debug|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Release|Any CPU.Build.0 = Release|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Release|x64.ActiveCfg = Release|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Release|x64.Build.0 = Release|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Release|x86.ActiveCfg = Release|Any CPU - {5454EE77-7B20-4AE5-9C0F-B58108955DB3}.Release|x86.Build.0 = Release|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Debug|x64.ActiveCfg = Debug|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Debug|x64.Build.0 = Debug|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Debug|x86.ActiveCfg = Debug|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Debug|x86.Build.0 = Debug|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Release|Any CPU.Build.0 = Release|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Release|x64.ActiveCfg = Release|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Release|x64.Build.0 = Release|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Release|x86.ActiveCfg = Release|Any CPU + {A0BE439A-7403-49BD-93A8-13D4C7AD6958}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {FF4636DB-2CDB-41E1-A505-7B3255360AEA} = {BE7DE270-0A81-4F9E-BE79-BC6E770138FA} {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5} = {BE7DE270-0A81-4F9E-BE79-BC6E770138FA} {2A52E052-5C01-4156-AE42-DC2B2D2FE440} = {BE7DE270-0A81-4F9E-BE79-BC6E770138FA} - {5454EE77-7B20-4AE5-9C0F-B58108955DB3} = {A3FCDF16-E89B-6A8A-797C-6A596AE0D377} + {A0BE439A-7403-49BD-93A8-13D4C7AD6958} = {A3FCDF16-E89B-6A8A-797C-6A596AE0D377} EndGlobalSection EndGlobal diff --git a/src/Automanage/Automanage/Az.Automanage.psd1 b/src/Automanage/Automanage/Az.Automanage.psd1 index f1ddffe10045..c11132e31401 100644 --- a/src/Automanage/Automanage/Az.Automanage.psd1 +++ b/src/Automanage/Automanage/Az.Automanage.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 8/27/2025 +# Generated on: 2025-09-11 # @{ @@ -57,10 +57,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.0'; }) RequiredAssemblies = 'Automanage.Autorest/bin/Az.Automanage.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 = 'Automanage.Autorest/Az.Automanage.format.ps1xml' @@ -82,7 +82,10 @@ FunctionsToExport = 'Get-AzAutomanageBestPractice', 'Get-AzAutomanageConfigProfi 'Remove-AzAutomanageConfigProfileAssignment', 'Remove-AzAutomanageConfigProfileHciAssignment', 'Remove-AzAutomanageConfigProfileHcrpAssignment', - 'Update-AzAutomanageConfigProfile' + 'Update-AzAutomanageConfigProfile', + 'Update-AzAutomanageConfigProfileAssignment', + 'Update-AzAutomanageConfigProfileHciAssignment', + 'Update-AzAutomanageConfigProfileHcrpAssignment' # 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 = @() @@ -108,7 +111,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','Automanage' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'Automanage' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -133,7 +136,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Automanage/Automanage/ChangeLog.md b/src/Automanage/Automanage/ChangeLog.md index c8952ee7d410..8761677fdd94 100644 --- a/src/Automanage/Automanage/ChangeLog.md +++ b/src/Automanage/Automanage/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 1.1.1 * Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229 diff --git a/src/Automanage/Automanage/help/Az.Automanage.md b/src/Automanage/Automanage/help/Az.Automanage.md index 8ba44ad4502d..abbbf82a3416 100644 --- a/src/Automanage/Automanage/help/Az.Automanage.md +++ b/src/Automanage/Automanage/help/Az.Automanage.md @@ -36,16 +36,16 @@ Get information about a report associated with a configuration profile assignmen Get information about a report associated with a configuration profile assignment run ### [New-AzAutomanageConfigProfile](New-AzAutomanageConfigProfile.md) -Creates a configuration profile +Create a configuration profile ### [New-AzAutomanageConfigProfileAssignment](New-AzAutomanageConfigProfileAssignment.md) -Creates an association between a VM and Automanage configuration profile +Create an association between a VM and Automanage configuration profile ### [New-AzAutomanageConfigProfileHciAssignment](New-AzAutomanageConfigProfileHciAssignment.md) -Creates an association between a AzureStackHCI cluster and Automanage configuration profile +Create an association between a AzureStackHCI cluster and Automanage configuration profile ### [New-AzAutomanageConfigProfileHcrpAssignment](New-AzAutomanageConfigProfileHcrpAssignment.md) -Creates an association between a ARC machine and Automanage configuration profile +Create an association between a ARC machine and Automanage configuration profile ### [Remove-AzAutomanageConfigProfile](Remove-AzAutomanageConfigProfile.md) Delete a configuration profile @@ -60,5 +60,14 @@ Delete a configuration profile assignment Delete a configuration profile assignment ### [Update-AzAutomanageConfigProfile](Update-AzAutomanageConfigProfile.md) -Updates a configuration profile +Update a configuration profile + +### [Update-AzAutomanageConfigProfileAssignment](Update-AzAutomanageConfigProfileAssignment.md) +Update an association between a VM and Automanage configuration profile + +### [Update-AzAutomanageConfigProfileHciAssignment](Update-AzAutomanageConfigProfileHciAssignment.md) +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +### [Update-AzAutomanageConfigProfileHcrpAssignment](Update-AzAutomanageConfigProfileHcrpAssignment.md) +Update an association between a ARC machine and Automanage configuration profile diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageBestPractice.md b/src/Automanage/Automanage/help/Get-AzAutomanageBestPractice.md index c1afc095cc75..f0e61e59e1d7 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageBestPractice.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageBestPractice.md @@ -96,7 +96,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IBestPractice +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IBestPractice ## NOTES diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfile.md b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfile.md index d41612c5b719..69a1bd060bc2 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfile.md @@ -102,7 +102,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.Automanage.Models.IAutomanageIdentity @@ -171,7 +170,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfile ## NOTES diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileAssignment.md index 987a01bd3af8..75d2c860cb0c 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileAssignment.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileAssignment.md @@ -42,6 +42,13 @@ Get-AzAutomanageConfigProfileAssignment -ResourceGroupName [-Subscripti -VMName [-DefaultProfile ] [] ``` +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageConfigProfileAssignment -VMName + -ConfigurationProfileAssignmentInputObject [-DefaultProfile ] + [] +``` + ### GetViaIdentity ``` Get-AzAutomanageConfigProfileAssignment -InputObject [-DefaultProfile ] @@ -110,6 +117,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -128,7 +150,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.Automanage.Models.IAutomanageIdentity @@ -193,7 +214,7 @@ The name of the virtual machine. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityConfigurationProfileAssignment Aliases: Required: True @@ -212,7 +233,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHciAssignment.md index 9ae6c41b04d4..7f235db02c66 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHciAssignment.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHciAssignment.md @@ -25,6 +25,12 @@ Get-AzAutomanageConfigProfileHciAssignment -InputObject [- [] ``` +### GetViaIdentityCluster +``` +Get-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get information about a configuration profile assignment @@ -72,6 +78,21 @@ This command gets information about a configuration profile assignment. ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. @@ -105,7 +126,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.Automanage.Models.IAutomanageIdentity @@ -159,7 +179,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHcrpAssignment.md index 99e0e72bece1..95300ee9da84 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHcrpAssignment.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageConfigProfileHcrpAssignment.md @@ -25,6 +25,12 @@ Get-AzAutomanageConfigProfileHcrpAssignment -InputObject [ [] ``` +### GetViaIdentityMachine +``` +Get-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get information about a configuration profile assignment @@ -90,7 +96,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.Automanage.Models.IAutomanageIdentity @@ -104,6 +109,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. @@ -159,7 +179,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageHciReport.md b/src/Automanage/Automanage/help/Get-AzAutomanageHciReport.md index a99e503ded45..107000993179 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageHciReport.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageHciReport.md @@ -25,6 +25,18 @@ Get-AzAutomanageHciReport -ClusterName -Name -ResourceGroupNam [] ``` +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageHciReport -Name -ConfigurationProfileAssignmentInputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityCluster +``` +Get-AzAutomanageHciReport -Name -ClusterInputObject [-DefaultProfile ] + [] +``` + ### GetViaIdentity ``` Get-AzAutomanageHciReport -InputObject [-DefaultProfile ] @@ -71,6 +83,21 @@ This command gets information about a report associated with a configuration pro ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. @@ -86,6 +113,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -104,7 +146,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.Automanage.Models.IAutomanageIdentity @@ -123,7 +164,7 @@ The report name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityConfigurationProfileAssignment, GetViaIdentityCluster Aliases: Required: True @@ -173,7 +214,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReport ## NOTES diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageHcrpReport.md b/src/Automanage/Automanage/help/Get-AzAutomanageHcrpReport.md index 09252dcd022b..94c12d20f332 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageHcrpReport.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageHcrpReport.md @@ -25,6 +25,18 @@ Get-AzAutomanageHcrpReport -MachineName -Name -ResourceGroupNa [] ``` +### GetViaIdentityMachine +``` +Get-AzAutomanageHcrpReport -Name -MachineInputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageHcrpReport -Name -ConfigurationProfileAssignmentInputObject + [-DefaultProfile ] [] +``` + ### GetViaIdentity ``` Get-AzAutomanageHcrpReport -InputObject [-DefaultProfile ] @@ -71,6 +83,21 @@ This command gets information about a report associated with a configuration pro ## PARAMETERS +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -89,7 +116,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.Automanage.Models.IAutomanageIdentity @@ -103,6 +129,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. @@ -123,7 +164,7 @@ The report name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityMachine, GetViaIdentityConfigurationProfileAssignment Aliases: Required: True @@ -173,7 +214,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReport ## NOTES diff --git a/src/Automanage/Automanage/help/Get-AzAutomanageReport.md b/src/Automanage/Automanage/help/Get-AzAutomanageReport.md index f2be3f75c94e..205028374a70 100644 --- a/src/Automanage/Automanage/help/Get-AzAutomanageReport.md +++ b/src/Automanage/Automanage/help/Get-AzAutomanageReport.md @@ -18,12 +18,25 @@ Get-AzAutomanageReport -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [] ``` +### GetViaIdentityConfigurationProfileAssignment +``` +Get-AzAutomanageReport -Name -VMName + -ConfigurationProfileAssignmentInputObject [-DefaultProfile ] + [] +``` + ### Get ``` Get-AzAutomanageReport -Name -ResourceGroupName [-SubscriptionId ] -VMName [-DefaultProfile ] [] ``` +### GetViaIdentityReport +``` +Get-AzAutomanageReport -VMName -ReportInputObject [-DefaultProfile ] + [] +``` + ### GetViaIdentity ``` Get-AzAutomanageReport -InputObject [-DefaultProfile ] @@ -70,6 +83,21 @@ This command gets information about a report associated with a configuration pro ## PARAMETERS +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityConfigurationProfileAssignment +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. @@ -88,7 +116,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.Automanage.Models.IAutomanageIdentity @@ -107,7 +134,7 @@ The report name. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: GetViaIdentityConfigurationProfileAssignment, Get Aliases: ReportName Required: True @@ -117,6 +144,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ReportInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: GetViaIdentityReport +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -153,7 +195,7 @@ The name of the virtual machine. ```yaml Type: System.String -Parameter Sets: List, Get +Parameter Sets: List, GetViaIdentityConfigurationProfileAssignment, Get, GetViaIdentityReport Aliases: Required: True @@ -172,7 +214,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReport ## NOTES diff --git a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfile.md b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfile.md index ae9050bac739..22ad54a4a2a8 100644 --- a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfile.md @@ -8,18 +8,33 @@ schema: 2.0.0 # New-AzAutomanageConfigProfile ## SYNOPSIS -Creates a configuration profile +Create a configuration profile ## SYNTAX +### CreateExpanded (Default) ``` New-AzAutomanageConfigProfile -Name -ResourceGroupName [-SubscriptionId ] -Location [-Configuration ] [-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzAutomanageConfigProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Creates a configuration profile +Create a configuration profile ## EXAMPLES @@ -54,7 +69,7 @@ configuration dictionary of the configuration profile. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -80,12 +95,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 The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -146,7 +191,7 @@ Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -194,7 +239,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfile ## NOTES diff --git a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileAssignment.md index cad0db22cd9c..22d96631ea54 100644 --- a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileAssignment.md +++ b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileAssignment.md @@ -8,18 +8,40 @@ schema: 2.0.0 # New-AzAutomanageConfigProfileAssignment ## SYNOPSIS -Creates an association between a VM and Automanage configuration profile +Create an association between a VM and Automanage configuration profile ## SYNTAX +### CreateExpanded (Default) ``` -New-AzAutomanageConfigProfileAssignment -ResourceGroupName -VMName [-SubscriptionId ] +New-AzAutomanageConfigProfileAssignment -VMName -ResourceGroupName [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonString +``` +New-AzAutomanageConfigProfileAssignment -VMName -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfileAssignment -VMName -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaIdentityConfigurationProfileAssignmentExpanded +``` +New-AzAutomanageConfigProfileAssignment -VMName + -ConfigurationProfileAssignmentInputObject [-ConfigurationProfile ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates an association between a VM and Automanage configuration profile +Create an association between a VM and Automanage configuration profile ## EXAMPLES @@ -43,7 +65,7 @@ The Automanage configurationProfile ARM Resource URI. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityConfigurationProfileAssignmentExpanded Aliases: Required: False @@ -53,6 +75,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: CreateViaIdentityConfigurationProfileAssignmentExpanded +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. @@ -69,13 +106,43 @@ 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 +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -90,7 +157,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -151,9 +218,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHciAssignment.md index 7ef78334b224..290c1a8f3be1 100644 --- a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHciAssignment.md +++ b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHciAssignment.md @@ -8,18 +8,40 @@ schema: 2.0.0 # New-AzAutomanageConfigProfileHciAssignment ## SYNOPSIS -Creates an association between a AzureStackHCI cluster and Automanage configuration profile +Create an association between a AzureStackHCI cluster and Automanage configuration profile ## SYNTAX +### CreateExpanded (Default) ``` New-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonString +``` +New-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityClusterExpanded +``` +New-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + ## DESCRIPTION -Creates an association between a AzureStackHCI cluster and Automanage configuration profile +Create an association between a AzureStackHCI cluster and Automanage configuration profile ## EXAMPLES @@ -38,12 +60,27 @@ This command creates an association between a AzureStackHCI cluster and Automana ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: CreateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -58,7 +95,7 @@ The Automanage configurationProfile ARM Resource URI. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityClusterExpanded Aliases: Required: False @@ -84,13 +121,43 @@ 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 +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -105,7 +172,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -151,9 +218,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHcrpAssignment.md index fb4fca9377a8..dbd6c5e2ccca 100644 --- a/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHcrpAssignment.md +++ b/src/Automanage/Automanage/help/New-AzAutomanageConfigProfileHcrpAssignment.md @@ -8,18 +8,40 @@ schema: 2.0.0 # New-AzAutomanageConfigProfileHcrpAssignment ## SYNOPSIS -Creates an association between a ARC machine and Automanage configuration profile +Create an association between a ARC machine and Automanage configuration profile ## SYNTAX +### CreateExpanded (Default) ``` New-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonString +``` +New-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName + [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityMachineExpanded +``` +New-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + ## DESCRIPTION -Creates an association between a ARC machine and Automanage configuration profile +Create an association between a ARC machine and Automanage configuration profile ## EXAMPLES @@ -43,7 +65,7 @@ The Automanage configurationProfile ARM Resource URI. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaIdentityMachineExpanded Aliases: Required: False @@ -69,12 +91,57 @@ 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 +``` + +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: CreateViaIdentityMachineExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -90,7 +157,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: True @@ -105,7 +172,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath Aliases: Required: False @@ -151,9 +218,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity + ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment ## NOTES diff --git a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfile.md b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfile.md index d73645053f64..a41a7def581e 100644 --- a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfile.md @@ -64,7 +64,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.Automanage.Models.IAutomanageIdentity diff --git a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileAssignment.md index bda6c321b4dd..57e67f453f57 100644 --- a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileAssignment.md +++ b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileAssignment.md @@ -19,6 +19,13 @@ Remove-AzAutomanageConfigProfileAssignment -ResourceGroupName [-Subscri [-Confirm] [] ``` +### DeleteViaIdentityConfigurationProfileAssignment +``` +Remove-AzAutomanageConfigProfileAssignment -VMName + -ConfigurationProfileAssignmentInputObject [-DefaultProfile ] [-PassThru] + [-WhatIf] [-Confirm] [] +``` + ### DeleteViaIdentity ``` Remove-AzAutomanageConfigProfileAssignment -InputObject [-DefaultProfile ] @@ -46,6 +53,21 @@ This command deletes a configuration profile assignment by pipeline. ## PARAMETERS +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: DeleteViaIdentityConfigurationProfileAssignment +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. @@ -64,7 +86,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.Automanage.Models.IAutomanageIdentity @@ -129,7 +150,7 @@ The name of the virtual machine. ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityConfigurationProfileAssignment Aliases: Required: True diff --git a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHciAssignment.md index 0611f7a27169..baef64ecaec0 100644 --- a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHciAssignment.md +++ b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHciAssignment.md @@ -25,6 +25,13 @@ Remove-AzAutomanageConfigProfileHciAssignment -InputObject [-PassThru] [-WhatIf] [-Confirm] [] ``` +### DeleteViaIdentityCluster +``` +Remove-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION Delete a configuration profile assignment @@ -46,6 +53,21 @@ This command deletes a configuration profile assignment by pipeline. ## PARAMETERS +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: DeleteViaIdentityCluster +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ClusterName The name of the Arc machine. @@ -79,7 +101,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.Automanage.Models.IAutomanageIdentity diff --git a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHcrpAssignment.md index 181590bc1711..3cac0fd1d3eb 100644 --- a/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHcrpAssignment.md +++ b/src/Automanage/Automanage/help/Remove-AzAutomanageConfigProfileHcrpAssignment.md @@ -25,6 +25,13 @@ Remove-AzAutomanageConfigProfileHcrpAssignment -InputObject ] ``` +### DeleteViaIdentityMachine +``` +Remove-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION Delete a configuration profile assignment @@ -64,7 +71,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.Automanage.Models.IAutomanageIdentity @@ -78,6 +84,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: DeleteViaIdentityMachine +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MachineName The name of the Arc machine. diff --git a/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfile.md b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfile.md index c91ce2b4570d..16f091c7f8ec 100644 --- a/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfile.md +++ b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfile.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzAutomanageConfigProfile ## SYNOPSIS -Updates a configuration profile +Update a configuration profile ## SYNTAX @@ -19,6 +19,20 @@ Update-AzAutomanageConfigProfile -Name -ResourceGroupName [-Su [-WhatIf] [-Confirm] [] ``` +### UpdateViaJsonString +``` +Update-AzAutomanageConfigProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzAutomanageConfigProfile -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzAutomanageConfigProfile -InputObject [-Configuration ] @@ -27,7 +41,7 @@ Update-AzAutomanageConfigProfile -InputObject [-Configurat ``` ## DESCRIPTION -Updates a configuration profile +Update a configuration profile ## EXAMPLES @@ -64,7 +78,7 @@ configuration dictionary of the configuration profile. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -92,7 +106,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.Automanage.Models.IAutomanageIdentity @@ -106,12 +119,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 Name of the configuration profile. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: ConfigurationProfileName Required: True @@ -127,7 +170,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -142,7 +185,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -157,7 +200,7 @@ The tags of the resource. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -207,7 +250,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfile ## NOTES diff --git a/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileAssignment.md b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileAssignment.md new file mode 100644 index 000000000000..b8ddc630c8da --- /dev/null +++ b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileAssignment.md @@ -0,0 +1,206 @@ +--- +external help file: Az.Automanage-help.xml +Module Name: Az.Automanage +online version: https://learn.microsoft.com/powershell/module/az.automanage/update-azautomanageconfigprofileassignment +schema: 2.0.0 +--- + +# Update-AzAutomanageConfigProfileAssignment + +## SYNOPSIS +Update an association between a VM and Automanage configuration profile + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzAutomanageConfigProfileAssignment -ResourceGroupName [-SubscriptionId ] + -VMName [-ConfigurationProfile ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityConfigurationProfileAssignmentExpanded +``` +Update-AzAutomanageConfigProfileAssignment -VMName + -ConfigurationProfileAssignmentInputObject [-ConfigurationProfile ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzAutomanageConfigProfileAssignment -InputObject [-ConfigurationProfile ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update an association between a VM and Automanage configuration profile + +## EXAMPLES + +### Example 1: Update an association between a VM and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileAssignment -ResourceGroupName automangerg -VMName aglinuxvm -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.Compute/virtualMachines/aglinuxvm +``` + +Update an association between a VM and Automanage configuration profile + +## PARAMETERS + +### -ConfigurationProfile +The Automanage configurationProfile ARM Resource URI. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConfigurationProfileAssignmentInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityConfigurationProfileAssignmentExpanded +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. + +```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.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VMName +The name of the virtual machine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityConfigurationProfileAssignmentExpanded +Aliases: + +Required: True +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.Automanage.Models.IAutomanageIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment + +## NOTES + +## RELATED LINKS diff --git a/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHciAssignment.md b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHciAssignment.md new file mode 100644 index 000000000000..65b0318166f3 --- /dev/null +++ b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHciAssignment.md @@ -0,0 +1,207 @@ +--- +external help file: Az.Automanage-help.xml +Module Name: Az.Automanage +online version: https://learn.microsoft.com/powershell/module/az.automanage/update-azautomanageconfigprofilehciassignment +schema: 2.0.0 +--- + +# Update-AzAutomanageConfigProfileHciAssignment + +## SYNOPSIS +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzAutomanageConfigProfileHciAssignment -ClusterName -ResourceGroupName + [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityClusterExpanded +``` +Update-AzAutomanageConfigProfileHciAssignment -ClusterInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzAutomanageConfigProfileHciAssignment -InputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +## EXAMPLES + +### Example 1: Update an association between a AzureStackHCI cluster and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileHciAssignment -ResourceGroupName automangerg -ClusterName aglinuxcluster -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.AzureStackHci/clusters/aglinuxcluster +``` + +Update an association between a AzureStackHCI cluster and Automanage configuration profile + +## PARAMETERS + +### -ClusterInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityClusterExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ClusterName +The name of the Arc machine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConfigurationProfile +The Automanage configurationProfile ARM Resource URI. + +```yaml +Type: System.String +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.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +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.Automanage.Models.IAutomanageIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment + +## NOTES + +## RELATED LINKS diff --git a/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHcrpAssignment.md b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHcrpAssignment.md new file mode 100644 index 000000000000..42705241dfcc --- /dev/null +++ b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHcrpAssignment.md @@ -0,0 +1,207 @@ +--- +external help file: Az.Automanage-help.xml +Module Name: Az.Automanage +online version: https://learn.microsoft.com/powershell/module/az.automanage/update-azautomanageconfigprofilehcrpassignment +schema: 2.0.0 +--- + +# Update-AzAutomanageConfigProfileHcrpAssignment + +## SYNOPSIS +Update an association between a ARC machine and Automanage configuration profile + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzAutomanageConfigProfileHcrpAssignment -MachineName -ResourceGroupName + [-SubscriptionId ] [-ConfigurationProfile ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzAutomanageConfigProfileHcrpAssignment -InputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + +### UpdateViaIdentityMachineExpanded +``` +Update-AzAutomanageConfigProfileHcrpAssignment -MachineInputObject + [-ConfigurationProfile ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Update an association between a ARC machine and Automanage configuration profile + +## EXAMPLES + +### Example 1: Update an association between a ARC machine and Automanage configuration profile +```powershell +Update-AzAutomanageConfigProfileHcrpAssignment -ResourceGroupName automangerg -MachineName aglinuxmachines -ConfigurationProfile "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" +``` + +```output +Name ResourceGroupName ManagedBy Status TargetId +---- ----------------- --------- ------ -------- +default automangerg Unknown /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/automangerg/providers/Microsoft.HybridCompute/machines/aglinuxmachines +``` + +Update an association between a ARC machine and Automanage configuration profile + +## PARAMETERS + +### -ConfigurationProfile +The Automanage configurationProfile ARM Resource URI. + +```yaml +Type: System.String +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.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MachineInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IAutomanageIdentity +Parameter Sets: UpdateViaIdentityMachineExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MachineName +The name of the Arc machine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +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.Automanage.Models.IAutomanageIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IConfigurationProfileAssignment + +## NOTES + +## RELATED LINKS diff --git a/tools/StaticAnalysis/Exceptions/Az.Automanage/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Automanage/BreakingChangeIssues.csv new file mode 100644 index 000000000000..e462db5d9db0 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.Automanage/BreakingChangeIssues.csv @@ -0,0 +1,37 @@ +"Module","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.Automanage","Get-AzAutomanageBestPractice","Get-AzAutomanageBestPractice","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IBestPractice' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageBestPractice","Get-AzAutomanageBestPractice","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IBestPractice' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfile","Get-AzAutomanageConfigProfile","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfile","Get-AzAutomanageConfigProfile","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfileAssignment","Get-AzAutomanageConfigProfileAssignment","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfileAssignment","Get-AzAutomanageConfigProfileAssignment","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfileHciAssignment","Get-AzAutomanageConfigProfileHciAssignment","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfileHciAssignment","Get-AzAutomanageConfigProfileHciAssignment","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfileHcrpAssignment","Get-AzAutomanageConfigProfileHcrpAssignment","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageConfigProfileHcrpAssignment","Get-AzAutomanageConfigProfileHcrpAssignment","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageHciReport","Get-AzAutomanageHciReport","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo'." +"Az.Automanage","Get-AzAutomanageHciReport","Get-AzAutomanageHciReport","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail'." +"Az.Automanage","Get-AzAutomanageHciReport","Get-AzAutomanageHciReport","0","3000","The type of property 'Resource' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource]'.","Change the type of property 'Resource' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource'." +"Az.Automanage","Get-AzAutomanageHciReport","Get-AzAutomanageHciReport","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageHciReport","Get-AzAutomanageHciReport","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageHcrpReport","Get-AzAutomanageHcrpReport","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo'." +"Az.Automanage","Get-AzAutomanageHcrpReport","Get-AzAutomanageHcrpReport","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail'." +"Az.Automanage","Get-AzAutomanageHcrpReport","Get-AzAutomanageHcrpReport","0","3000","The type of property 'Resource' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource]'.","Change the type of property 'Resource' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource'." +"Az.Automanage","Get-AzAutomanageHcrpReport","Get-AzAutomanageHcrpReport","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageHcrpReport","Get-AzAutomanageHcrpReport","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageReport","Get-AzAutomanageReport","0","3000","The type of property 'AdditionalInfo' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo]'.","Change the type of property 'AdditionalInfo' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorAdditionalInfo'." +"Az.Automanage","Get-AzAutomanageReport","Get-AzAutomanageReport","0","3000","The type of property 'Detail' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail]'.","Change the type of property 'Detail' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IErrorDetail'." +"Az.Automanage","Get-AzAutomanageReport","Get-AzAutomanageReport","0","3000","The type of property 'Resource' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource]'.","Change the type of property 'Resource' back to 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.IReportResource'." +"Az.Automanage","Get-AzAutomanageReport","Get-AzAutomanageReport","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Get-AzAutomanageReport","Get-AzAutomanageReport","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IReport' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfile","New-AzAutomanageConfigProfile","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfile","New-AzAutomanageConfigProfile","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfileAssignment","New-AzAutomanageConfigProfileAssignment","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfileAssignment","New-AzAutomanageConfigProfileAssignment","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfileHciAssignment","New-AzAutomanageConfigProfileHciAssignment","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfileHciAssignment","New-AzAutomanageConfigProfileHciAssignment","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfileHcrpAssignment","New-AzAutomanageConfigProfileHcrpAssignment","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","New-AzAutomanageConfigProfileHcrpAssignment","New-AzAutomanageConfigProfileHcrpAssignment","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfileAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Update-AzAutomanageConfigProfile","Update-AzAutomanageConfigProfile","0","3000","The type of property 'SystemDataCreatedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataCreatedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Update-AzAutomanageConfigProfile","Update-AzAutomanageConfigProfile","0","3000","The type of property 'SystemDataLastModifiedByType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Automanage.Models.Api20220504.IConfigurationProfile' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]' to 'System.String'.","Change the type of property 'SystemDataLastModifiedByType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Automanage.Support.CreatedByType]'." +"Az.Automanage","Update-AzAutomanageConfigProfile","Update-AzAutomanageConfigProfile","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzAutomanageConfigProfile' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzAutomanageConfigProfile'." \ No newline at end of file