diff --git a/src/ManagedServices/ManagedServices.Autorest/README.md b/src/ManagedServices/ManagedServices.Autorest/README.md index 94e56a7d892e..062e68c1c412 100644 --- a/src/ManagedServices/ManagedServices.Autorest/README.md +++ b/src/ManagedServices/ManagedServices.Autorest/README.md @@ -38,94 +38,7 @@ title: ManagedServices module-version: 2.0.0 subject-prefix: $(service-name) -identity-correction-for-post: true -resourcegroup-append: true -nested-object-to-string: true - -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: - - where: - verb: New|Get - subject: RegistrationAssignment - set: - breaking-change: - deprecated-output-properties: - - Authorization[] - - EligibleAuthorization[] - new-output-properties: - - List[Authorization] - - List[EligibleAuthorization] - deprecated-by-version: 9.0.0 - deprecated-by-azversion: 15.0.0 - change-effective-date: 2025/11/03 - - where: - verb: New - subject: RegistrationDefinition - set: - breaking-change: - deprecated-output-properties: - - Authorization - - EligibleAuthorization - - DelegatedRoleDefinitionId[] - - JustInTimeAccessPolicyManagedByTenantApprover[] - new-output-properties: - - List[Authorization] - - List[EligibleAuthorization] - - List[DelegatedRoleDefinitionId] - - List[JustInTimeAccessPolicyManagedByTenantApprover] - deprecated-by-version: 9.0.0 - deprecated-by-azversion: 15.0.0 - change-effective-date: 2025/11/03 - - where: - verb: Get - subject: RegistrationDefinition - set: - breaking-change: - deprecated-output-properties: - - Authorization[] - - EligibleAuthorization[] - new-output-properties: - - List[Authorization] - - List[EligibleAuthorization] - deprecated-by-version: 9.0.0 - deprecated-by-azversion: 15.0.0 - change-effective-date: 2025/11/03 - - where: - verb: New|Get - subject: MarketplaceRegistrationDefinition - set: - breaking-change: - deprecated-output-properties: - - Authorization[] - - EligibleAuthorization[] - new-output-properties: - - List[Authorization] - - List[EligibleAuthorization] - deprecated-by-version: 9.0.0 - deprecated-by-azversion: 15.0.0 - change-effective-date: 2025/11/03 - - where: - parameter-name: Authorization - set: - breaking-change: - old-parameter-type: Array - new-parameter-type: List - deprecated-by-version: 9.0.0 - deprecated-by-azversion: 15.0.0 - change-effective-date: 2025/11/03 - - where: - parameter-name: EligibleAuthorization - set: - breaking-change: - old-parameter-type: Array - new-parameter-type: List - deprecated-by-version: 9.0.0 - deprecated-by-azversion: 15.0.0 - change-effective-date: 2025/11/03 - # Remove unnecessary cmdlet. - where: verb: Set @@ -139,8 +52,7 @@ directive: # Remove variant of the cmdlet - where: - verb: New - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$ + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))|^CreateViaIdentityExpanded$ remove: true # Hide cmdlet @@ -162,18 +74,12 @@ directive: default: script: '"subscriptions/" + (Get-AzContext).Subscription.Id' - # The regex(^/(?[^/]+)/) mathch failed because the scope inlcude '/' character. - # Replace regex to fixed it. - - from: source-file-csharp - where: $ - transform: $ = $.replace(/global::System.Text.RegularExpressions.Regex\(\"\^\/\(\?\\[\^\/\]\+\)/g, 'global::System.Text.RegularExpressions.Regex("^/(?.+)'); - # Generate memory object as parameter of the cmelet. - model-cmdlet: - # - Authorization - - EligibleApprover + - model-name: Authorization + - model-name: EligibleApprover # Need custom that add ArgumentCompleterAttribute for JustInTimeAccessPolicyMultiFactorAuthProvider parameter. - # - EligibleAuthorization + # - model-name: EligibleAuthorization # The function invalid for memory cmdlet. # Custom cmdlet. diff --git a/src/ManagedServices/ManagedServices.Autorest/custom/Get-AzManagedServicesMarketplaceDefinition.ps1 b/src/ManagedServices/ManagedServices.Autorest/custom/Get-AzManagedServicesMarketplaceDefinition.ps1 index 699464b9a0fa..0925d3a3185d 100644 --- a/src/ManagedServices/ManagedServices.Autorest/custom/Get-AzManagedServicesMarketplaceDefinition.ps1 +++ b/src/ManagedServices/ManagedServices.Autorest/custom/Get-AzManagedServicesMarketplaceDefinition.ps1 @@ -30,7 +30,7 @@ PS C:\> {{ Add code here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IManagedServicesIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IMarketplaceRegistrationDefinition +Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IMarketplaceRegistrationDefinition .Notes COMPLEX PARAMETER PROPERTIES @@ -46,7 +46,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.managedservices/get-azmanagedservicesmarketplacedefinition #> function Get-AzManagedServicesMarketplaceDefinition { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IMarketplaceRegistrationDefinition])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IMarketplaceRegistrationDefinition])] [CmdletBinding(DefaultParameterSetName='ListWithScope', PositionalBinding=$false)] param( [Parameter(ParameterSetName='GetWithScope', Mandatory)] diff --git a/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesAuthorizationObject.ps1 b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesAuthorizationObject.ps1 index 1d1f862f8756..605c8645dccc 100644 --- a/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesAuthorizationObject.ps1 +++ b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesAuthorizationObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for Authorization. Create an in-memory object for Authorization. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization +Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Authorization .Link -https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-AzManagedServicesAuthorizationObject +https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-azmanagedservicesauthorizationobject #> function New-AzManagedServicesAuthorizationObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization')] + [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Authorization')] [CmdletBinding(PositionalBinding=$false)] Param( [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.ParameterBreakingChangeAttribute("DelegatedRoleDefinitionId", "15.0.0", "9.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] @@ -45,7 +46,7 @@ function New-AzManagedServicesAuthorizationObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Authorization]::New() if ($PSBoundParameters.ContainsKey('DelegatedRoleDefinitionId')) { $Object.DelegatedRoleDefinitionId = $DelegatedRoleDefinitionId diff --git a/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 index d089980245a5..ec4b53eba88d 100644 --- a/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 +++ b/src/ManagedServices/ManagedServices.Autorest/custom/New-AzManagedServicesEligibleAuthorizationObject.ps1 @@ -1,43 +1,45 @@ - # ---------------------------------------------------------------------------------- - # - # Copyright Microsoft Corporation - # 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. - # ---------------------------------------------------------------------------------- +# ---------------------------------------------------------------------------------- +# 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. +# ---------------------------------------------------------------------------------- - <# - .Synopsis - Create a in-memory object for EligibleAuthorization - .Description - Create a in-memory object for EligibleAuthorization +<# +.Synopsis +Create an in-memory object for EligibleAuthorization. +.Description +Create an in-memory object for EligibleAuthorization. - .Outputs - Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization - .Link - https://learn.microsoft.com/powershell/module/az.ManagedServices/new-AzManagedServicesEligibleAuthorizationObject - #> +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleAuthorization +.Link +https://learn.microsoft.com/powershell/module/az.ManagedServices/new-AzManagedServicesEligibleAuthorizationObject +#> function New-AzManagedServicesEligibleAuthorizationObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization')] + [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleAuthorization')] [CmdletBinding(PositionalBinding=$false)] Param( [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Runtime.ParameterBreakingChangeAttribute("JustInTimeAccessPolicyManagedByTenantApprover", "15.0.0", "9.0.0", "2025/11/03", OldParamaterType="Array", NewParameterType="List")] [Parameter(HelpMessage="The list of managedByTenant approvers for the eligible authorization.")] - [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleApprover[]] + [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover[]] $JustInTimeAccessPolicyManagedByTenantApprover, [Parameter(HelpMessage="The maximum access duration in ISO 8601 format for just-in-time access requests.")] [System.TimeSpan] $JustInTimeAccessPolicyMaximumActivationDuration, [Parameter(HelpMessage="The multi-factor authorization provider to be used for just-in-time access requests.")] - [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider])] + [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.PSArgumentCompleterAttribute("Azure", "None")] + [string] $JustInTimeAccessPolicyMultiFactorAuthProvider, [Parameter(Mandatory, HelpMessage="The identifier of the Azure Active Directory principal.")] [string] @@ -51,7 +53,7 @@ ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleAuthorization]::New() $Object.JustInTimeAccessPolicyManagedByTenantApprover = $JustInTimeAccessPolicyManagedByTenantApprover diff --git a/src/ManagedServices/ManagedServices.Autorest/custom/autogen-model-cmdlets/New-AzManagedServicesEligibleApproverObject.ps1 b/src/ManagedServices/ManagedServices.Autorest/custom/autogen-model-cmdlets/New-AzManagedServicesEligibleApproverObject.ps1 index a5ce0aa4417e..9b97b5d64250 100644 --- a/src/ManagedServices/ManagedServices.Autorest/custom/autogen-model-cmdlets/New-AzManagedServicesEligibleApproverObject.ps1 +++ b/src/ManagedServices/ManagedServices.Autorest/custom/autogen-model-cmdlets/New-AzManagedServicesEligibleApproverObject.ps1 @@ -21,12 +21,13 @@ Create an in-memory object for EligibleApprover. Create an in-memory object for EligibleApprover. .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleApprover +Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleApprover .Link -https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-AzManagedServicesEligibleApproverObject +https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-azmanagedserviceseligibleapproverobject #> function New-AzManagedServicesEligibleApproverObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleApprover')] + [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.ModelCmdletAttribute()] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleApprover')] [CmdletBinding(PositionalBinding=$false)] Param( @@ -39,7 +40,7 @@ function New-AzManagedServicesEligibleApproverObject { ) process { - $Object = [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleApprover]::New() + $Object = [Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleApprover]::New() if ($PSBoundParameters.ContainsKey('PrincipalId')) { $Object.PrincipalId = $PrincipalId diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md b/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md index 54aa6a1a47ab..d059279915fa 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Az.ManagedServices.md @@ -1,6 +1,6 @@ --- Module Name: Az.ManagedServices -Module Guid: 61496bfd-6bc7-48fb-8803-05ad306368f3 +Module Guid: 54366ec5-1955-4a40-b1df-da4057a89b87 Download Help Link: https://learn.microsoft.com/powershell/module/az.managedservices Help Version: 1.0.0.0 Locale: en-US @@ -21,19 +21,19 @@ Gets the registration definition details. Get the marketplace registration definition for the marketplace identifier. ### [New-AzManagedServicesAssignment](New-AzManagedServicesAssignment.md) -Creates or updates a registration assignment. +Create a registration assignment. ### [New-AzManagedServicesAuthorizationObject](New-AzManagedServicesAuthorizationObject.md) Create an in-memory object for Authorization. ### [New-AzManagedServicesDefinition](New-AzManagedServicesDefinition.md) -Creates or updates a registration definition. +Create a registration definition. ### [New-AzManagedServicesEligibleApproverObject](New-AzManagedServicesEligibleApproverObject.md) Create an in-memory object for EligibleApprover. ### [New-AzManagedServicesEligibleAuthorizationObject](New-AzManagedServicesEligibleAuthorizationObject.md) -Create a in-memory object for EligibleAuthorization +Create an in-memory object for EligibleAuthorization. ### [Remove-AzManagedServicesAssignment](Remove-AzManagedServicesAssignment.md) Deletes the specified registration assignment. @@ -41,3 +41,6 @@ Deletes the specified registration assignment. ### [Remove-AzManagedServicesDefinition](Remove-AzManagedServicesDefinition.md) Deletes the registration definition. +### [Update-AzManagedServicesDefinition](Update-AzManagedServicesDefinition.md) +Update a registration definition. + diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesAssignment.md b/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesAssignment.md index dbcd3164ed77..894a9e5e0abe 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesAssignment.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesAssignment.md @@ -127,7 +127,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.ManagedServices.Models.IManagedServicesIdentity @@ -180,7 +179,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationAssignment ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesDefinition.md index 3dbaccbb4067..18bdf01ff216 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesDefinition.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesDefinition.md @@ -107,7 +107,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.ManagedServices.Models.IManagedServicesIdentity @@ -160,7 +159,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationDefinition ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesMarketplaceDefinition.md b/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesMarketplaceDefinition.md index ee77b1a665e1..342210d7f413 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesMarketplaceDefinition.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Get-AzManagedServicesMarketplaceDefinition.md @@ -165,7 +165,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IMarketplaceRegistrationDefinition +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IMarketplaceRegistrationDefinition ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAssignment.md b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAssignment.md index 5d9041af5d9a..9c6ebf997656 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAssignment.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAssignment.md @@ -8,17 +8,30 @@ schema: 2.0.0 # New-AzManagedServicesAssignment ## SYNOPSIS -Creates or updates a registration assignment. +Create a registration assignment. ## SYNTAX +### CreateExpanded (Default) ``` New-AzManagedServicesAssignment -Name [-Scope ] [-RegistrationDefinitionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzManagedServicesAssignment -Name -JsonFilePath [-Scope ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzManagedServicesAssignment -Name -JsonString [-Scope ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates or updates a registration assignment. +Create a registration assignment. ## EXAMPLES @@ -81,6 +94,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The GUID of the registration assignment. @@ -116,7 +159,7 @@ The fully qualified path of the registration definition. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -179,7 +222,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationAssignment ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAuthorizationObject.md b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAuthorizationObject.md index d5139a8cb489..2d20c4695e7f 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAuthorizationObject.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesAuthorizationObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.ManagedServices -online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-AzManagedServicesAuthorizationObject +online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-azmanagedservicesauthorizationobject schema: 2.0.0 --- @@ -118,7 +118,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Authorization ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesDefinition.md index ec6376b37ecb..89106515ad28 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesDefinition.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesDefinition.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzManagedServicesDefinition ## SYNOPSIS -Creates or updates a registration definition. +Create a registration definition. ## SYNTAX +### CreateExpanded (Default) ``` New-AzManagedServicesDefinition -Name [-Scope ] [-Authorization ] [-Description ] [-EligibleAuthorization ] [-ManagedByTenantId ] @@ -20,8 +21,20 @@ New-AzManagedServicesDefinition -Name [-Scope ] [-Authorization [] ``` +### CreateViaJsonFilePath +``` +New-AzManagedServicesDefinition -Name -JsonFilePath [-Scope ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzManagedServicesDefinition -Name -JsonString [-Scope ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates or updates a registration definition. +Create a registration definition. ## EXAMPLES @@ -76,11 +89,10 @@ Accept wildcard characters: False ### -Authorization The collection of authorization objects describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. -To construct, see NOTES section for AUTHORIZATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IAuthorization[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -111,7 +123,7 @@ The description of the registration definition. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -123,11 +135,10 @@ Accept wildcard characters: False ### -EligibleAuthorization The collection of eligible authorization objects describing the just-in-time access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. -To construct, see NOTES section for ELIGIBLEAUTHORIZATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleAuthorization[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -137,12 +148,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 +``` + ### -ManagedByTenantId The identifier of the managedBy tenant. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -187,7 +228,7 @@ Azure Marketplace plan name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -202,7 +243,7 @@ Azure Marketplace product code. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -217,7 +258,7 @@ Azure Marketplace publisher ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -232,7 +273,7 @@ Azure Marketplace plan's version. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -247,7 +288,7 @@ The name of the registration definition. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -310,7 +351,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationDefinition ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleApproverObject.md b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleApproverObject.md index 8eb0c2502e6b..9f535bd98d45 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleApproverObject.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleApproverObject.md @@ -1,7 +1,7 @@ --- external help file: Module Name: Az.ManagedServices -online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-AzManagedServicesEligibleApproverObject +online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-azmanagedserviceseligibleapproverobject schema: 2.0.0 --- @@ -74,7 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleApprover +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleApprover ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleAuthorizationObject.md b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleAuthorizationObject.md index 595f40f34313..edc419afe5a2 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleAuthorizationObject.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/New-AzManagedServicesEligibleAuthorizationObject.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzManagedServicesEligibleAuthorizationObject ## SYNOPSIS -Create a in-memory object for EligibleAuthorization +Create an in-memory object for EligibleAuthorization. ## SYNTAX @@ -16,12 +16,12 @@ Create a in-memory object for EligibleAuthorization New-AzManagedServicesEligibleAuthorizationObject -PrincipalId -RoleDefinitionId [-JustInTimeAccessPolicyManagedByTenantApprover ] [-JustInTimeAccessPolicyMaximumActivationDuration ] - [-JustInTimeAccessPolicyMultiFactorAuthProvider ] [-PrincipalIdDisplayName ] + [-JustInTimeAccessPolicyMultiFactorAuthProvider ] [-PrincipalIdDisplayName ] [] ``` ## DESCRIPTION -Create a in-memory object for EligibleAuthorization +Create an in-memory object for EligibleAuthorization. ## EXAMPLES @@ -62,10 +62,9 @@ Creates new Azure Lighthouse eligible authorization object with JustInTime (JIT) ### -JustInTimeAccessPolicyManagedByTenantApprover The list of managedByTenant approvers for the eligible authorization. -To construct, see NOTES section for JUSTINTIMEACCESSPOLICYMANAGEDBYTENANTAPPROVER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleApprover[] +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover[] Parameter Sets: (All) Aliases: @@ -95,7 +94,7 @@ Accept wildcard characters: False The multi-factor authorization provider to be used for just-in-time access requests. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider +Type: System.String Parameter Sets: (All) Aliases: @@ -158,7 +157,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleAuthorization ## NOTES diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesAssignment.md b/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesAssignment.md index 8d2cbe1e00f6..83f4fa464c2f 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesAssignment.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesAssignment.md @@ -78,7 +78,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.ManagedServices.Models.IManagedServicesIdentity diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesDefinition.md index eba89e4b5962..9abf7f5bbb61 100644 --- a/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesDefinition.md +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Remove-AzManagedServicesDefinition.md @@ -56,7 +56,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.ManagedServices.Models.IManagedServicesIdentity diff --git a/src/ManagedServices/ManagedServices.Autorest/docs/Update-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices.Autorest/docs/Update-AzManagedServicesDefinition.md new file mode 100644 index 000000000000..7fdef982a54d --- /dev/null +++ b/src/ManagedServices/ManagedServices.Autorest/docs/Update-AzManagedServicesDefinition.md @@ -0,0 +1,326 @@ +--- +external help file: +Module Name: Az.ManagedServices +online version: https://learn.microsoft.com/powershell/module/az.managedservices/update-azmanagedservicesdefinition +schema: 2.0.0 +--- + +# Update-AzManagedServicesDefinition + +## SYNOPSIS +Update a registration definition. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzManagedServicesDefinition -Name [-Scope ] [-Authorization ] + [-Description ] [-EligibleAuthorization ] [-ManagedByTenantId ] + [-PlanName ] [-PlanProduct ] [-PlanPublisher ] [-PlanVersion ] + [-RegistrationDefinitionName ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzManagedServicesDefinition -InputObject [-Authorization ] + [-Description ] [-EligibleAuthorization ] [-ManagedByTenantId ] + [-PlanName ] [-PlanProduct ] [-PlanPublisher ] [-PlanVersion ] + [-RegistrationDefinitionName ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update a registration definition. + +## EXAMPLES + +### Example 1: Update Azure Lighthouse registration definition object with permanent authorization +```powershell +$permantAuth = New-AzManagedServicesAuthorizationObject -PrincipalId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -RoleDefinitionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -PrincipalIdDisplayName "Test user" -DelegatedRoleDefinitionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + +Update-AzManagedServicesDefinition -Name xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -RegistrationDefinitionName "Test definition" -ManagedByTenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Authorization $permantAuth -Description "Test definition desc" -Scope "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +``` + +```output +Name Type +---- ---- +xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.ManagedServices/registrationDefinitions +``` + +Updates Azure Lighthouse registration definition object with permanent authorization. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Authorization +The collection of authorization objects describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization[] +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 +``` + +### -Description +The description of the registration definition. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EligibleAuthorization +The collection of eligible authorization objects describing the just-in-time access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IManagedServicesIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ManagedByTenantId +The identifier of the managedBy tenant. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The GUID of the registration definition. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RegistrationDefinitionId + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanName +Azure Marketplace plan name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanProduct +Azure Marketplace product code. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanPublisher +Azure Marketplace publisher ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanVersion +Azure Marketplace plan's version. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegistrationDefinitionName +The name of the registration definition. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: "subscriptions/" + (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.ManagedServices.Models.IManagedServicesIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationDefinition + +## NOTES + +## RELATED LINKS + diff --git a/src/ManagedServices/ManagedServices.Autorest/examples/Update-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices.Autorest/examples/Update-AzManagedServicesDefinition.md new file mode 100644 index 000000000000..ee9c79451d0b --- /dev/null +++ b/src/ManagedServices/ManagedServices.Autorest/examples/Update-AzManagedServicesDefinition.md @@ -0,0 +1,14 @@ +### Example 1: Update Azure Lighthouse registration definition object with permanent authorization +```powershell +$permantAuth = New-AzManagedServicesAuthorizationObject -PrincipalId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -RoleDefinitionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -PrincipalIdDisplayName "Test user" -DelegatedRoleDefinitionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + +Update-AzManagedServicesDefinition -Name xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -RegistrationDefinitionName "Test definition" -ManagedByTenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Authorization $permantAuth -Description "Test definition desc" -Scope "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +``` + +```output +Name Type +---- ---- +xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.ManagedServices/registrationDefinitions +``` + +Updates Azure Lighthouse registration definition object with permanent authorization. \ No newline at end of file diff --git a/src/ManagedServices/ManagedServices.Autorest/generate-info.json b/src/ManagedServices/ManagedServices.Autorest/generate-info.json index 9f6f2313ae76..edca3b52f136 100644 --- a/src/ManagedServices/ManagedServices.Autorest/generate-info.json +++ b/src/ManagedServices/ManagedServices.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "511731e3-01e0-46da-aeab-958f3336d646" + "generate_Id": "8f732608-4ca5-44f6-ace6-22d09876e956" } diff --git a/src/ManagedServices/ManagedServices.Autorest/test/Update-AzManagedServicesDefinition.Tests.ps1 b/src/ManagedServices/ManagedServices.Autorest/test/Update-AzManagedServicesDefinition.Tests.ps1 new file mode 100644 index 000000000000..4ca99d811e1e --- /dev/null +++ b/src/ManagedServices/ManagedServices.Autorest/test/Update-AzManagedServicesDefinition.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzManagedServicesDefinition')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzManagedServicesDefinition.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-AzManagedServicesDefinition' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Update' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ManagedServices/ManagedServices.sln b/src/ManagedServices/ManagedServices.sln index e4058cf23e5d..66ce81cdbcab 100644 --- a/src/ManagedServices/ManagedServices.sln +++ b/src/ManagedServices/ManagedServices.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedServices", "ManagedS EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ManagedServices.Autorest", "ManagedServices.Autorest", "{2D84CE50-F89B-94FD-0D1C-E1015598E8EB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServices", "..\..\generated\ManagedServices\ManagedServices.Autorest\Az.ManagedServices.csproj", "{EAAF3FF5-C462-450B-9156-FFDB3899DA62}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ManagedServices", "..\..\generated\ManagedServices\ManagedServices.Autorest\Az.ManagedServices.csproj", "{6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x64.Build.0 = Release|Any CPU {F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x86.ActiveCfg = Release|Any CPU {F18ADD45-27F3-48D1-98C9-632575DB58D9}.Release|x86.Build.0 = Release|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x64.ActiveCfg = Debug|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x64.Build.0 = Debug|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x86.ActiveCfg = Debug|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Debug|x86.Build.0 = Debug|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|Any CPU.Build.0 = Release|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x64.ActiveCfg = Release|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x64.Build.0 = Release|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x86.ActiveCfg = Release|Any CPU - {EAAF3FF5-C462-450B-9156-FFDB3899DA62}.Release|x86.Build.0 = Release|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Debug|x64.ActiveCfg = Debug|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Debug|x64.Build.0 = Debug|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Debug|x86.ActiveCfg = Debug|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Debug|x86.Build.0 = Debug|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Release|Any CPU.Build.0 = Release|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Release|x64.ActiveCfg = Release|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Release|x64.Build.0 = Release|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Release|x86.ActiveCfg = Release|Any CPU + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {9C8C8F4B-359B-448F-88CB-7F4F1B94709E} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C} {C7AE743C-7AA2-4D4C-B1C3-CBAA389F7431} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C} {BA824808-A1F8-4F51-AADD-B0CEDB4215B7} = {3A8A3FE9-7C8D-43B9-AC12-8FAA83CD977C} - {EAAF3FF5-C462-450B-9156-FFDB3899DA62} = {2D84CE50-F89B-94FD-0D1C-E1015598E8EB} + {6A16B5CB-F092-4DA5-BE5B-6FEFFE982096} = {2D84CE50-F89B-94FD-0D1C-E1015598E8EB} EndGlobalSection EndGlobal diff --git a/src/ManagedServices/ManagedServices/ChangeLog.md b/src/ManagedServices/ManagedServices/ChangeLog.md index cd59e7828861..7e7086617132 100644 --- a/src/ManagedServices/ManagedServices/ChangeLog.md +++ b/src/ManagedServices/ManagedServices/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Introduced various new features by upgrading code generator. Please see details [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md). ## Version 3.1.2 * Update the outputs of breaking change announcements. diff --git a/src/ManagedServices/ManagedServices/help/Az.ManagedServices.md b/src/ManagedServices/ManagedServices/help/Az.ManagedServices.md index 3a58f992d3fc..a4274552a910 100644 --- a/src/ManagedServices/ManagedServices/help/Az.ManagedServices.md +++ b/src/ManagedServices/ManagedServices/help/Az.ManagedServices.md @@ -21,19 +21,19 @@ Gets the registration definition details. Get the marketplace registration definition for the marketplace identifier. ### [New-AzManagedServicesAssignment](New-AzManagedServicesAssignment.md) -Creates or updates a registration assignment. +Create a registration assignment. ### [New-AzManagedServicesAuthorizationObject](New-AzManagedServicesAuthorizationObject.md) Create an in-memory object for Authorization. ### [New-AzManagedServicesDefinition](New-AzManagedServicesDefinition.md) -Creates or updates a registration definition. +Create a registration definition. ### [New-AzManagedServicesEligibleApproverObject](New-AzManagedServicesEligibleApproverObject.md) Create an in-memory object for EligibleApprover. ### [New-AzManagedServicesEligibleAuthorizationObject](New-AzManagedServicesEligibleAuthorizationObject.md) -Create a in-memory object for EligibleAuthorization +Create an in-memory object for EligibleAuthorization. ### [Remove-AzManagedServicesAssignment](Remove-AzManagedServicesAssignment.md) Deletes the specified registration assignment. @@ -41,3 +41,6 @@ Deletes the specified registration assignment. ### [Remove-AzManagedServicesDefinition](Remove-AzManagedServicesDefinition.md) Deletes the registration definition. +### [Update-AzManagedServicesDefinition](Update-AzManagedServicesDefinition.md) +Update a registration definition. + diff --git a/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesAssignment.md b/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesAssignment.md index d3e588b1492b..21959f7b9672 100644 --- a/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesAssignment.md +++ b/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesAssignment.md @@ -127,7 +127,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.ManagedServices.Models.IManagedServicesIdentity @@ -180,7 +179,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationAssignment ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesDefinition.md index 87b3b80aac5a..66934cd219bc 100644 --- a/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesDefinition.md +++ b/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesDefinition.md @@ -108,7 +108,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.ManagedServices.Models.IManagedServicesIdentity @@ -161,7 +160,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationDefinition ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesMarketplaceDefinition.md b/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesMarketplaceDefinition.md index f65e6535d454..452fb0c000d6 100644 --- a/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesMarketplaceDefinition.md +++ b/src/ManagedServices/ManagedServices/help/Get-AzManagedServicesMarketplaceDefinition.md @@ -165,7 +165,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IMarketplaceRegistrationDefinition +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IMarketplaceRegistrationDefinition ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAssignment.md b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAssignment.md index 18afc9fbab71..840fa9d440b4 100644 --- a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAssignment.md +++ b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAssignment.md @@ -8,18 +8,33 @@ schema: 2.0.0 # New-AzManagedServicesAssignment ## SYNOPSIS -Creates or updates a registration assignment. +Create a registration assignment. ## SYNTAX +### CreateExpanded (Default) ``` New-AzManagedServicesAssignment -Name [-Scope ] [-RegistrationDefinitionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzManagedServicesAssignment -Name [-Scope ] -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzManagedServicesAssignment -Name [-Scope ] -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Creates or updates a registration assignment. +Create a registration assignment. ## EXAMPLES @@ -82,6 +97,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The GUID of the registration assignment. @@ -117,7 +162,7 @@ The fully qualified path of the registration definition. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -180,7 +225,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationAssignment ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAuthorizationObject.md b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAuthorizationObject.md index 6925cab47450..d4da4ea1a53c 100644 --- a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAuthorizationObject.md +++ b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesAuthorizationObject.md @@ -1,7 +1,7 @@ --- external help file: Az.ManagedServices-help.xml Module Name: Az.ManagedServices -online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-AzManagedServicesAuthorizationObject +online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-azmanagedservicesauthorizationobject schema: 2.0.0 --- @@ -119,7 +119,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Authorization ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesDefinition.md index 04e1f8f05229..ece999d5ca8d 100644 --- a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesDefinition.md +++ b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesDefinition.md @@ -8,10 +8,11 @@ schema: 2.0.0 # New-AzManagedServicesDefinition ## SYNOPSIS -Creates or updates a registration definition. +Create a registration definition. ## SYNTAX +### CreateExpanded (Default) ``` New-AzManagedServicesDefinition -Name [-Scope ] [-Authorization ] [-Description ] [-EligibleAuthorization ] [-ManagedByTenantId ] @@ -20,8 +21,22 @@ New-AzManagedServicesDefinition -Name [-Scope ] [-Authorization [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzManagedServicesDefinition -Name [-Scope ] -JsonFilePath + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzManagedServicesDefinition -Name [-Scope ] -JsonString + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION -Creates or updates a registration definition. +Create a registration definition. ## EXAMPLES @@ -76,11 +91,10 @@ Accept wildcard characters: False ### -Authorization The collection of authorization objects describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. -To construct, see NOTES section for AUTHORIZATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IAuthorization[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -111,7 +125,7 @@ The description of the registration definition. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -123,11 +137,10 @@ Accept wildcard characters: False ### -EligibleAuthorization The collection of eligible authorization objects describing the just-in-time access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. -To construct, see NOTES section for ELIGIBLEAUTHORIZATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleAuthorization[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -137,12 +150,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 +``` + ### -ManagedByTenantId The identifier of the managedBy tenant. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -187,7 +230,7 @@ Azure Marketplace plan name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -202,7 +245,7 @@ Azure Marketplace product code. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -217,7 +260,7 @@ Azure Marketplace publisher ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -232,7 +275,7 @@ Azure Marketplace plan's version. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -247,7 +290,7 @@ The name of the registration definition. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -310,7 +353,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationDefinition ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleApproverObject.md b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleApproverObject.md index 5dbb68f5f7ad..d6db9bfc84b4 100644 --- a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleApproverObject.md +++ b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleApproverObject.md @@ -1,7 +1,7 @@ --- external help file: Az.ManagedServices-help.xml Module Name: Az.ManagedServices -online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-AzManagedServicesEligibleApproverObject +online version: https://learn.microsoft.com/powershell/module/Az.ManagedServices/new-azmanagedserviceseligibleapproverobject schema: 2.0.0 --- @@ -74,7 +74,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleApprover +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleApprover ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleAuthorizationObject.md b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleAuthorizationObject.md index 8f3caf6ccb0f..cc2e49d2c3e9 100644 --- a/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleAuthorizationObject.md +++ b/src/ManagedServices/ManagedServices/help/New-AzManagedServicesEligibleAuthorizationObject.md @@ -8,7 +8,7 @@ schema: 2.0.0 # New-AzManagedServicesEligibleAuthorizationObject ## SYNOPSIS -Create a in-memory object for EligibleAuthorization +Create an in-memory object for EligibleAuthorization. ## SYNTAX @@ -16,12 +16,12 @@ Create a in-memory object for EligibleAuthorization New-AzManagedServicesEligibleAuthorizationObject -PrincipalId -RoleDefinitionId [-JustInTimeAccessPolicyManagedByTenantApprover ] [-JustInTimeAccessPolicyMaximumActivationDuration ] - [-JustInTimeAccessPolicyMultiFactorAuthProvider ] [-PrincipalIdDisplayName ] + [-JustInTimeAccessPolicyMultiFactorAuthProvider ] [-PrincipalIdDisplayName ] [] ``` ## DESCRIPTION -Create a in-memory object for EligibleAuthorization +Create an in-memory object for EligibleAuthorization. ## EXAMPLES @@ -62,10 +62,9 @@ Creates new Azure Lighthouse eligible authorization object with JustInTime (JIT) ### -JustInTimeAccessPolicyManagedByTenantApprover The list of managedByTenant approvers for the eligible authorization. -To construct, see NOTES section for JUSTINTIMEACCESSPOLICYMANAGEDBYTENANTAPPROVER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleApprover[] +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover[] Parameter Sets: (All) Aliases: @@ -95,7 +94,7 @@ Accept wildcard characters: False The multi-factor authorization provider to be used for just-in-time access requests. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider +Type: System.String Parameter Sets: (All) Aliases: @@ -158,7 +157,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.EligibleAuthorization ## NOTES diff --git a/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesAssignment.md b/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesAssignment.md index f17ed88bc31e..d5f20074a288 100644 --- a/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesAssignment.md +++ b/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesAssignment.md @@ -78,7 +78,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.ManagedServices.Models.IManagedServicesIdentity diff --git a/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesDefinition.md index 40d028191534..b21e3f07e079 100644 --- a/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesDefinition.md +++ b/src/ManagedServices/ManagedServices/help/Remove-AzManagedServicesDefinition.md @@ -56,7 +56,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.ManagedServices.Models.IManagedServicesIdentity diff --git a/src/ManagedServices/ManagedServices/help/Update-AzManagedServicesDefinition.md b/src/ManagedServices/ManagedServices/help/Update-AzManagedServicesDefinition.md new file mode 100644 index 000000000000..e7c91ee1a5f5 --- /dev/null +++ b/src/ManagedServices/ManagedServices/help/Update-AzManagedServicesDefinition.md @@ -0,0 +1,325 @@ +--- +external help file: Az.ManagedServices-help.xml +Module Name: Az.ManagedServices +online version: https://learn.microsoft.com/powershell/module/az.managedservices/update-azmanagedservicesdefinition +schema: 2.0.0 +--- + +# Update-AzManagedServicesDefinition + +## SYNOPSIS +Update a registration definition. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzManagedServicesDefinition -Name [-Scope ] [-Authorization ] + [-Description ] [-EligibleAuthorization ] [-ManagedByTenantId ] + [-PlanName ] [-PlanProduct ] [-PlanPublisher ] [-PlanVersion ] + [-RegistrationDefinitionName ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzManagedServicesDefinition -InputObject [-Authorization ] + [-Description ] [-EligibleAuthorization ] [-ManagedByTenantId ] + [-PlanName ] [-PlanProduct ] [-PlanPublisher ] [-PlanVersion ] + [-RegistrationDefinitionName ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a registration definition. + +## EXAMPLES + +### Example 1: Update Azure Lighthouse registration definition object with permanent authorization +```powershell +$permantAuth = New-AzManagedServicesAuthorizationObject -PrincipalId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -RoleDefinitionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -PrincipalIdDisplayName "Test user" -DelegatedRoleDefinitionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + +Update-AzManagedServicesDefinition -Name xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -RegistrationDefinitionName "Test definition" -ManagedByTenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Authorization $permantAuth -Description "Test definition desc" -Scope "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +``` + +```output +Name Type +---- ---- +xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.ManagedServices/registrationDefinitions +``` + +Updates Azure Lighthouse registration definition object with permanent authorization. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Authorization +The collection of authorization objects describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization[] +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 +``` + +### -Description +The description of the registration definition. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EligibleAuthorization +The collection of eligible authorization objects describing the just-in-time access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IManagedServicesIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ManagedByTenantId +The identifier of the managedBy tenant. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The GUID of the registration definition. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RegistrationDefinitionId + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanName +Azure Marketplace plan name. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanProduct +Azure Marketplace product code. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanPublisher +Azure Marketplace publisher ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PlanVersion +Azure Marketplace plan's version. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegistrationDefinitionName +The name of the registration definition. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: "subscriptions/" + (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.ManagedServices.Models.IManagedServicesIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IRegistrationDefinition + +## NOTES + +## RELATED LINKS diff --git a/tools/StaticAnalysis/Exceptions/Az.ManagedServices/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.ManagedServices/BreakingChangeIssues.csv new file mode 100644 index 000000000000..dd8684acb9d5 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.ManagedServices/BreakingChangeIssues.csv @@ -0,0 +1,24 @@ +"Module","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.ManagedServices","Get-AzManagedServicesAssignment","Get-AzManagedServicesAssignment","0","3000","The type of property 'Authorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization]'.","Change the type of property 'Authorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization'." +"Az.ManagedServices","Get-AzManagedServicesAssignment","Get-AzManagedServicesAssignment","0","3000","The type of property 'EligibleAuthorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization]'.","Change the type of property 'EligibleAuthorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization'." +"Az.ManagedServices","Get-AzManagedServicesAssignment","Get-AzManagedServicesAssignment","0","3000","The type of property 'RegistrationDefinitionPropertiesProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'RegistrationDefinitionPropertiesProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]'." +"Az.ManagedServices","Get-AzManagedServicesAssignment","Get-AzManagedServicesAssignment","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]'." +"Az.ManagedServices","Get-AzManagedServicesDefinition","Get-AzManagedServicesDefinition","0","3000","The type of property 'Authorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization]'.","Change the type of property 'Authorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization'." +"Az.ManagedServices","Get-AzManagedServicesDefinition","Get-AzManagedServicesDefinition","0","3000","The type of property 'EligibleAuthorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization]'.","Change the type of property 'EligibleAuthorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization'." +"Az.ManagedServices","Get-AzManagedServicesDefinition","Get-AzManagedServicesDefinition","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]'." +"Az.ManagedServices","Get-AzManagedServicesMarketplaceDefinition","Get-AzManagedServicesMarketplaceDefinition","0","3000","The type of property 'Authorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IMarketplaceRegistrationDefinition' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization]'.","Change the type of property 'Authorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization'." +"Az.ManagedServices","Get-AzManagedServicesMarketplaceDefinition","Get-AzManagedServicesMarketplaceDefinition","0","3000","The type of property 'EligibleAuthorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IMarketplaceRegistrationDefinition' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization]'.","Change the type of property 'EligibleAuthorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization'." +"Az.ManagedServices","New-AzManagedServicesAssignment","New-AzManagedServicesAssignment","0","3000","The type of property 'Authorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization]'.","Change the type of property 'Authorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization'." +"Az.ManagedServices","New-AzManagedServicesAssignment","New-AzManagedServicesAssignment","0","3000","The type of property 'EligibleAuthorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization]'.","Change the type of property 'EligibleAuthorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization'." +"Az.ManagedServices","New-AzManagedServicesAssignment","New-AzManagedServicesAssignment","0","3000","The type of property 'RegistrationDefinitionPropertiesProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'RegistrationDefinitionPropertiesProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]'." +"Az.ManagedServices","New-AzManagedServicesAssignment","New-AzManagedServicesAssignment","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationAssignment' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]'." +"Az.ManagedServices","New-AzManagedServicesAuthorizationObject","New-AzManagedServicesAuthorizationObject","0","3000","The type of property 'DelegatedRoleDefinitionId' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.Authorization' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'DelegatedRoleDefinitionId' back to 'System.String[]'." +"Az.ManagedServices","New-AzManagedServicesDefinition","New-AzManagedServicesDefinition","0","3000","The type of property 'Authorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization]'.","Change the type of property 'Authorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IAuthorization'." +"Az.ManagedServices","New-AzManagedServicesDefinition","New-AzManagedServicesDefinition","0","3000","The type of property 'EligibleAuthorization' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization]'.","Change the type of property 'EligibleAuthorization' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleAuthorization'." +"Az.ManagedServices","New-AzManagedServicesDefinition","New-AzManagedServicesDefinition","0","3000","The type of property 'ProvisioningState' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IRegistrationDefinition' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]' to 'System.String'.","Change the type of property 'ProvisioningState' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.ProvisioningState]'." +"Az.ManagedServices","New-AzManagedServicesDefinition","New-AzManagedServicesDefinition","0","3000","The type of property 'DelegatedRoleDefinitionId' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IAuthorization' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'DelegatedRoleDefinitionId' back to 'System.String[]'." +"Az.ManagedServices","New-AzManagedServicesDefinition","New-AzManagedServicesDefinition","0","3000","The type of property 'JustInTimeAccessPolicyManagedByTenantApprover' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleAuthorization' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover]'.","Change the type of property 'JustInTimeAccessPolicyManagedByTenantApprover' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover'." +"Az.ManagedServices","New-AzManagedServicesDefinition","New-AzManagedServicesDefinition","0","3000","The type of property 'JustInTimeAccessPolicyMultiFactorAuthProvider' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.IEligibleAuthorization' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider]' to 'System.String'.","Change the type of property 'JustInTimeAccessPolicyMultiFactorAuthProvider' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider]'." +"Az.ManagedServices","New-AzManagedServicesEligibleAuthorizationObject","New-AzManagedServicesEligibleAuthorizationObject","0","3000","The type of property 'JustInTimeAccessPolicyManagedByTenantApprover' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover]'.","Change the type of property 'JustInTimeAccessPolicyManagedByTenantApprover' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.IEligibleApprover'." +"Az.ManagedServices","New-AzManagedServicesEligibleAuthorizationObject","New-AzManagedServicesEligibleAuthorizationObject","0","3000","The type of property 'JustInTimeAccessPolicyMultiFactorAuthProvider' of type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Models.Api20200201Preview.EligibleAuthorization' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider]' to 'System.String'.","Change the type of property 'JustInTimeAccessPolicyMultiFactorAuthProvider' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider]'." +"Az.ManagedServices","New-AzManagedServicesEligibleAuthorizationObject","New-AzManagedServicesEligibleAuthorizationObject","0","2020","The cmdlet 'New-AzManagedServicesEligibleAuthorizationObject' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider' for parameter 'JustInTimeAccessPolicyMultiFactorAuthProvider'.","Change the type for parameter 'JustInTimeAccessPolicyMultiFactorAuthProvider' back to 'Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.Support.MultiFactorAuthProvider'." \ No newline at end of file