diff --git a/src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs b/src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..cc264df5469c --- /dev/null +++ b/src/Automanage/Automanage.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Automanage")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.1.0")] +[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 b0d1b7551780..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: diff --git a/src/Automanage/Automanage.Autorest/docs/Az.Automanage.md b/src/Automanage/Automanage.Autorest/docs/Az.Automanage.md index 8ba44ad4502d..4a154de375a5 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: b573b797-567a-4f0d-8ba3-6a447bed6278 +Module Guid: 3008154d-a7cb-4ea0-ac19-475ebc2e4ae3 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..078bc4a75d50 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileAssignment.md @@ -0,0 +1,216 @@ +--- +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: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## 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..f0f1b0d0f5a7 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHciAssignment.md @@ -0,0 +1,215 @@ +--- +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: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## 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..81f85d38f3c7 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/docs/Update-AzAutomanageConfigProfileHcrpAssignment.md @@ -0,0 +1,215 @@ +--- +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: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## 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..0371f56c36d2 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + 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..0371f56c36d2 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHciAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + 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..0371f56c36d2 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/examples/Update-AzAutomanageConfigProfileHcrpAssignment.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/Automanage/Automanage.Autorest/generate-info.json b/src/Automanage/Automanage.Autorest/generate-info.json index 2b859443cd17..a47f29050b8c 100644 --- a/src/Automanage/Automanage.Autorest/generate-info.json +++ b/src/Automanage/Automanage.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "3a39ac38-3dfc-4726-ab14-1d3affa7d250" + "generate_Id": "7bed839d-292b-4b5c-b4cb-615f2d6ede95" } diff --git a/src/Automanage/Automanage.Autorest/resources/README.md b/src/Automanage/Automanage.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Automanage/Automanage.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/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 403bebe3051c..acfe939b3c7e 100644 --- a/src/Automanage/Automanage.sln +++ b/src/Automanage/Automanage.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -19,49 +19,119 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accoun EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Automanage", "Automanage\Automanage.csproj", "{E1A4AD3A-998E-4929-8B1E-7D59B17436D7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Automanage", "..\..\generated\Automanage\Automanage.Autorest\Az.Automanage.csproj", "{6D2307AA-DFFB-4BB7-910F-F1038310DC15}" +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", "{404D90DA-1C42-43E6-B4A1-E25030221A92}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {C82F9A41-005C-4164-87E0-9C0565EA827A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C82F9A41-005C-4164-87E0-9C0565EA827A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Debug|x64.ActiveCfg = Debug|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Debug|x64.Build.0 = Debug|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Debug|x86.ActiveCfg = Debug|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Debug|x86.Build.0 = Debug|Any CPU {C82F9A41-005C-4164-87E0-9C0565EA827A}.Release|Any CPU.ActiveCfg = Release|Any CPU {C82F9A41-005C-4164-87E0-9C0565EA827A}.Release|Any CPU.Build.0 = Release|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Release|x64.ActiveCfg = Release|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Release|x64.Build.0 = Release|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Release|x86.ActiveCfg = Release|Any CPU + {C82F9A41-005C-4164-87E0-9C0565EA827A}.Release|x86.Build.0 = Release|Any CPU {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Debug|x64.ActiveCfg = Debug|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Debug|x64.Build.0 = Debug|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Debug|x86.ActiveCfg = Debug|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Debug|x86.Build.0 = Debug|Any CPU {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Release|Any CPU.ActiveCfg = Release|Any CPU {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Release|Any CPU.Build.0 = Release|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Release|x64.ActiveCfg = Release|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Release|x64.Build.0 = Release|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Release|x86.ActiveCfg = Release|Any CPU + {F1EB717A-27F9-4B35-9E4C-795D94801A13}.Release|x86.Build.0 = Release|Any CPU {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Debug|x64.ActiveCfg = Debug|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Debug|x64.Build.0 = Debug|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Debug|x86.ActiveCfg = Debug|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Debug|x86.Build.0 = Debug|Any CPU {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Release|Any CPU.ActiveCfg = Release|Any CPU {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Release|Any CPU.Build.0 = Release|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Release|x64.ActiveCfg = Release|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Release|x64.Build.0 = Release|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Release|x86.ActiveCfg = Release|Any CPU + {30CD9C8A-9FF1-413A-8DB5-0EC27B00CFF2}.Release|x86.Build.0 = Release|Any CPU {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Debug|x64.ActiveCfg = Debug|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Debug|x64.Build.0 = Debug|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Debug|x86.ActiveCfg = Debug|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Debug|x86.Build.0 = Debug|Any CPU {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Release|Any CPU.ActiveCfg = Release|Any CPU {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Release|Any CPU.Build.0 = Release|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Release|x64.ActiveCfg = Release|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Release|x64.Build.0 = Release|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Release|x86.ActiveCfg = Release|Any CPU + {FF4636DB-2CDB-41E1-A505-7B3255360AEA}.Release|x86.Build.0 = Release|Any CPU {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Debug|x64.ActiveCfg = Debug|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Debug|x64.Build.0 = Debug|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Debug|x86.ActiveCfg = Debug|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Debug|x86.Build.0 = Debug|Any CPU {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Release|Any CPU.ActiveCfg = Release|Any CPU {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Release|Any CPU.Build.0 = Release|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Release|x64.ActiveCfg = Release|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Release|x64.Build.0 = Release|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Release|x86.ActiveCfg = Release|Any CPU + {69C9FE0B-FCEF-4A82-A139-53C93FD8E4D5}.Release|x86.Build.0 = Release|Any CPU {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Debug|x64.ActiveCfg = Debug|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Debug|x64.Build.0 = Debug|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Debug|x86.ActiveCfg = Debug|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Debug|x86.Build.0 = Debug|Any CPU {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Release|Any CPU.ActiveCfg = Release|Any CPU {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Release|Any CPU.Build.0 = Release|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Release|x64.ActiveCfg = Release|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Release|x64.Build.0 = Release|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Release|x86.ActiveCfg = Release|Any CPU + {2A52E052-5C01-4156-AE42-DC2B2D2FE440}.Release|x86.Build.0 = Release|Any CPU {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Debug|x64.ActiveCfg = Debug|Any CPU + {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Debug|x64.Build.0 = Debug|Any CPU + {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Debug|x86.ActiveCfg = Debug|Any CPU + {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Debug|x86.Build.0 = Debug|Any CPU {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Release|Any CPU.ActiveCfg = Release|Any CPU {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Release|Any CPU.Build.0 = Release|Any CPU - {6D2307AA-DFFB-4BB7-910F-F1038310DC15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6D2307AA-DFFB-4BB7-910F-F1038310DC15}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6D2307AA-DFFB-4BB7-910F-F1038310DC15}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6D2307AA-DFFB-4BB7-910F-F1038310DC15}.Release|Any CPU.Build.0 = Release|Any CPU + {E1A4AD3A-998E-4929-8B1E-7D59B17436D7}.Release|x64.ActiveCfg = Release|Any CPU + {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 + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Debug|Any CPU.Build.0 = Debug|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Debug|x64.ActiveCfg = Debug|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Debug|x64.Build.0 = Debug|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Debug|x86.ActiveCfg = Debug|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Debug|x86.Build.0 = Debug|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Release|Any CPU.ActiveCfg = Release|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Release|Any CPU.Build.0 = Release|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Release|x64.ActiveCfg = Release|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Release|x64.Build.0 = Release|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Release|x86.ActiveCfg = Release|Any CPU + {404D90DA-1C42-43E6-B4A1-E25030221A92}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {C82F9A41-005C-4164-87E0-9C0565EA827A} = {BE7DE270-0A81-4F9E-BE79-BC6E770138FA} @@ -70,5 +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} + {404D90DA-1C42-43E6-B4A1-E25030221A92} = {A3FCDF16-E89B-6A8A-797C-6A596AE0D377} EndGlobalSection EndGlobal diff --git a/src/Automanage/Automanage/Az.Automanage.psd1 b/src/Automanage/Automanage/Az.Automanage.psd1 index 8bc76c1b7437..1bbf27189623 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: 1/9/2025 +# Generated on: 2025-07-13 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.1'; }) # Assemblies that must be loaded prior to importing this module 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' +FormatsToProcess = 'Automanage.Autorest/Az.Automanage.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('Automanage.Autorest/Az.Automanage.psm1') @@ -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/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..d852aa795f66 --- /dev/null +++ b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileAssignment.md @@ -0,0 +1,215 @@ +--- +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: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## 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..3765dbcf986c --- /dev/null +++ b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHciAssignment.md @@ -0,0 +1,216 @@ +--- +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: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## 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..c4bc41f86586 --- /dev/null +++ b/src/Automanage/Automanage/help/Update-AzAutomanageConfigProfileHcrpAssignment.md @@ -0,0 +1,216 @@ +--- +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: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## 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