diff --git a/src/Resources/Authorization.Autorest/Az.Authorization.nuspec b/src/Resources/Authorization.Autorest/Az.Authorization.nuspec index 6912c6cfe8be..a3e2c82bfc85 100644 --- a/src/Resources/Authorization.Autorest/Az.Authorization.nuspec +++ b/src/Resources/Authorization.Autorest/Az.Authorization.nuspec @@ -13,7 +13,7 @@ Microsoft Corporation. All rights reserved. Azure ResourceManager ARM PSModule $(service-name) - + diff --git a/src/Resources/Authorization.Autorest/Properties/AssemblyInfo.cs b/src/Resources/Authorization.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..d8c7f1142f35 --- /dev/null +++ b/src/Resources/Authorization.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Authorization")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("8.0.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("8.0.0")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/Resources/Authorization.Autorest/README.md b/src/Resources/Authorization.Autorest/README.md index 212ab9117ad9..fa3a64eec4dc 100644 --- a/src/Resources/Authorization.Autorest/README.md +++ b/src/Resources/Authorization.Autorest/README.md @@ -49,14 +49,8 @@ title: Authorization namespace: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization # remove subject-prefix for all generated cmdlets. subject-prefix: '' -identity-correction-for-post: true -resourcegroup-append: true default-exclude-tableview-properties: false -# 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: # Swaager bug: The scope should be readonly according to the server response. - from: swagger-document @@ -78,19 +72,11 @@ directive: } # Remove "Create", "CreateViaIdentity", "CreateViaIdentityExpanded" syntax variant of the cmdlets. Because of new cmdlet does unsupport. - - where: - verb: New - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$ - # subject: RoleEligibilityScheduleRequest$|RoleManagementPolicyAssignment$ - remove: true - # Remove "Update", "UpdateViaIdentity", syntax variant of the cmdlets. Because of update cmdlet does unsupport. - where: - verb: Update - variant: ^Update$|^UpdateViaIdentity$ - subject: RoleManagementPolicy$ + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString))|^CreateViaIdentityExpanded$ remove: true - + # The parameter is not friendly and needs to be renamed. - where: parameter-name: ^TicketInfoTicketNumber$ @@ -104,8 +90,9 @@ directive: # Generate cmdlet for RoleManagementPolicyRule memory object and copy to the custom folder for rename cmdlet(New-AzAuthorizationRoleManagementPolicyRuleObject --> New-AzRoleManagementPolicyRuleObject). # Then cancel configuration of it. # - model-cmdlet: - # - RoleManagementPolicyRule - + # - model-name: RoleManagementPolicyRule + # cmdlet-name: New-AzRoleManagementPolicyRuleObject + - where: model-name: EligibleChildResource set: diff --git a/src/Resources/Authorization.Autorest/docs/Az.Authorization.md b/src/Resources/Authorization.Autorest/docs/Az.Authorization.md index bfe6e5aefab3..fe0ab6d940de 100644 --- a/src/Resources/Authorization.Autorest/docs/Az.Authorization.md +++ b/src/Resources/Authorization.Autorest/docs/Az.Authorization.md @@ -1,6 +1,6 @@ --- Module Name: Az.Authorization -Module Guid: 5e804a75-47b7-4aac-9e3b-4bbc49a1abca +Module Guid: 29b38940-f692-455e-8683-880403f4bf65 Download Help Link: https://learn.microsoft.com/powershell/module/az.authorization Help Version: 1.0.0.0 Locale: en-US @@ -39,10 +39,10 @@ Get the specified role management policy for a resource scope Get the specified role management policy assignment for a resource scope ### [New-AzRoleAssignmentScheduleRequest](New-AzRoleAssignmentScheduleRequest.md) -Creates a role assignment schedule request. +Create a role assignment schedule request. ### [New-AzRoleEligibilityScheduleRequest](New-AzRoleEligibilityScheduleRequest.md) -Creates a role eligibility schedule request. +Create a role eligibility schedule request. ### [New-AzRoleManagementPolicyAssignment](New-AzRoleManagementPolicyAssignment.md) Create a role management policy assignment @@ -59,6 +59,15 @@ Cancels a pending role assignment schedule request. ### [Stop-AzRoleEligibilityScheduleRequest](Stop-AzRoleEligibilityScheduleRequest.md) Cancels a pending role eligibility schedule request. +### [Update-AzRoleAssignmentScheduleRequest](Update-AzRoleAssignmentScheduleRequest.md) +Update a role assignment schedule request. + +### [Update-AzRoleEligibilityScheduleRequest](Update-AzRoleEligibilityScheduleRequest.md) +Update a role eligibility schedule request. + ### [Update-AzRoleManagementPolicy](Update-AzRoleManagementPolicy.md) Update a role management policy +### [Update-AzRoleManagementPolicyAssignment](Update-AzRoleManagementPolicyAssignment.md) +Update a role management policy assignment + diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentSchedule.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentSchedule.md index c6e53e115601..cc3612e91096 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentSchedule.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentSchedule.md @@ -155,7 +155,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -208,7 +207,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentSchedule +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentSchedule ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleInstance.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleInstance.md index a37ee5416d57..528d38a3a94f 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleInstance.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleInstance.md @@ -156,7 +156,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -209,7 +208,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstance +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleInstance ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleRequest.md index 1656f893ecef..a5f59efc256c 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleRequest.md @@ -140,7 +140,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -193,7 +192,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleRequest ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilitySchedule.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilitySchedule.md index 4f3e498cb095..259e9f92c636 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilitySchedule.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilitySchedule.md @@ -155,7 +155,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -208,7 +207,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilitySchedule +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilitySchedule ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleInstance.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleInstance.md index 84739d048fd7..ad5f0e1ba0f9 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleInstance.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleInstance.md @@ -156,7 +156,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -209,7 +208,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleInstance +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleInstance ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleRequest.md index 52a34c7e8b1d..332548919a43 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleRequest.md @@ -140,7 +140,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -193,7 +192,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleRequest ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibleChildResource.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibleChildResource.md index c8d7a0b7d6d6..f31d596cb310 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibleChildResource.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibleChildResource.md @@ -12,18 +12,11 @@ Get the child resources of a resource on which user has eligible access ## SYNTAX -### Get (Default) ``` Get-AzRoleEligibleChildResource -Scope [-Filter ] [-DefaultProfile ] [] ``` -### GetViaIdentity -``` -Get-AzRoleEligibleChildResource -InputObject [-Filter ] - [-DefaultProfile ] [] -``` - ## DESCRIPTION Get the child resources of a resource on which user has eligible access @@ -99,28 +92,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - ### -Scope The scope of the role management policy. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: (All) Aliases: Required: True @@ -135,11 +112,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity - ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IEligibleChildResource +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IEligibleChildResource ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicy.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicy.md index 44763471f8f2..ed82ea896dc9 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicy.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicy.md @@ -84,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -137,7 +136,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicy ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicyAssignment.md b/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicyAssignment.md index 7f6be71f8394..159857e18cd7 100644 --- a/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicyAssignment.md +++ b/src/Resources/Authorization.Autorest/docs/Get-AzRoleManagementPolicyAssignment.md @@ -86,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -139,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyAssignment ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/New-AzRoleAssignmentScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/New-AzRoleAssignmentScheduleRequest.md index 0720f007382d..0aacbf5fe006 100644 --- a/src/Resources/Authorization.Autorest/docs/New-AzRoleAssignmentScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/docs/New-AzRoleAssignmentScheduleRequest.md @@ -8,22 +8,35 @@ schema: 2.0.0 # New-AzRoleAssignmentScheduleRequest ## SYNOPSIS -Creates a role assignment schedule request. +Create a role assignment schedule request. ## SYNTAX +### CreateExpanded (Default) ``` New-AzRoleAssignmentScheduleRequest -Name -Scope [-Condition ] [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] - [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] - [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] + [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] + [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] [-TargetRoleAssignmentScheduleId ] [-TargetRoleAssignmentScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzRoleAssignmentScheduleRequest -Name -Scope -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzRoleAssignmentScheduleRequest -Name -Scope -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates a role assignment schedule request. +Create a role assignment schedule request. ## EXAMPLES @@ -100,7 +113,7 @@ e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:Contai ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -116,7 +129,7 @@ Currently accepted value is '2.0' ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -147,7 +160,7 @@ Duration of the role assignment schedule in TimeSpan. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -162,7 +175,7 @@ End DateTime of the role assignment schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -176,8 +189,8 @@ Accept wildcard characters: False Type of the role assignment schedule expiration ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -187,12 +200,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 +``` + ### -Justification Justification for the role assignment ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -207,7 +250,7 @@ The linked role eligibility schedule id - to activate an eligibility. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -238,7 +281,7 @@ The principal ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -253,8 +296,8 @@ The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -269,7 +312,7 @@ The role definition ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -284,7 +327,7 @@ Start DateTime of the role assignment schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -316,7 +359,7 @@ The resultant role assignment schedule id or the role assignment schedule id bei ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -331,7 +374,7 @@ The role assignment schedule instance id being updated ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -346,7 +389,7 @@ Ticket number for the role assignment ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -361,7 +404,7 @@ Ticket system name for the role assignment ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -409,7 +452,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleRequest ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md index 5889821fbb78..1d44e10f91c7 100644 --- a/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/docs/New-AzRoleEligibilityScheduleRequest.md @@ -8,22 +8,35 @@ schema: 2.0.0 # New-AzRoleEligibilityScheduleRequest ## SYNOPSIS -Creates a role eligibility schedule request. +Create a role eligibility schedule request. ## SYNTAX +### CreateExpanded (Default) ``` New-AzRoleEligibilityScheduleRequest -Name -Scope [-Condition ] [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] - [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] + [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] [-TargetRoleEligibilityScheduleId ] [-TargetRoleEligibilityScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzRoleEligibilityScheduleRequest -Name -Scope -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzRoleEligibilityScheduleRequest -Name -Scope -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Creates a role eligibility schedule request. +Create a role eligibility schedule request. ## EXAMPLES @@ -68,7 +81,7 @@ e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:Contai ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -84,7 +97,7 @@ Currently accepted value is '2.0' ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -115,7 +128,7 @@ Duration of the role eligibility schedule in TimeSpan. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -130,7 +143,7 @@ End DateTime of the role eligibility schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -144,8 +157,8 @@ Accept wildcard characters: False Type of the role eligibility schedule expiration ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -155,12 +168,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 +``` + ### -Justification Justification for the role eligibility ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -191,7 +234,7 @@ The principal ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -206,8 +249,8 @@ The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -222,7 +265,7 @@ The role definition ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -237,7 +280,7 @@ Start DateTime of the role eligibility schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -269,7 +312,7 @@ The resultant role eligibility schedule id or the role eligibility schedule id b ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -284,7 +327,7 @@ The role eligibility schedule instance id being updated ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -299,7 +342,7 @@ Ticket number for the role eligibility ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -314,7 +357,7 @@ Ticket system name for the role eligibility ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -362,7 +405,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleRequest ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/New-AzRoleManagementPolicyAssignment.md b/src/Resources/Authorization.Autorest/docs/New-AzRoleManagementPolicyAssignment.md index 22f4167e0ef5..b66be1074c9a 100644 --- a/src/Resources/Authorization.Autorest/docs/New-AzRoleManagementPolicyAssignment.md +++ b/src/Resources/Authorization.Autorest/docs/New-AzRoleManagementPolicyAssignment.md @@ -12,11 +12,24 @@ Create a role management policy assignment ## SYNTAX +### CreateExpanded (Default) ``` New-AzRoleManagementPolicyAssignment -Name -Scope [-PolicyId ] [-RoleDefinitionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzRoleManagementPolicyAssignment -Name -Scope -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzRoleManagementPolicyAssignment -Name -Scope -JsonString + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Create a role management policy assignment @@ -52,6 +65,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of format {guid_guid} the role management policy assignment to upsert. @@ -72,7 +115,7 @@ The policy id role management policy assignment. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -87,7 +130,7 @@ The role definition of management policy assignment. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -150,7 +193,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyAssignment ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicy.md b/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicy.md index e4c884313ade..40cd26be3bca 100644 --- a/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicy.md +++ b/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicy.md @@ -61,7 +61,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicyAssignment.md b/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicyAssignment.md index 1a7de8b21f2a..483257dd7d68 100644 --- a/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicyAssignment.md +++ b/src/Resources/Authorization.Autorest/docs/Remove-AzRoleManagementPolicyAssignment.md @@ -61,7 +61,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Authorization.Autorest/docs/Stop-AzRoleAssignmentScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/Stop-AzRoleAssignmentScheduleRequest.md index 02701c5df17f..3900b02e4731 100644 --- a/src/Resources/Authorization.Autorest/docs/Stop-AzRoleAssignmentScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/docs/Stop-AzRoleAssignmentScheduleRequest.md @@ -58,7 +58,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Authorization.Autorest/docs/Stop-AzRoleEligibilityScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/Stop-AzRoleEligibilityScheduleRequest.md index 4c52fd912dd4..4c6b5802ad4f 100644 --- a/src/Resources/Authorization.Autorest/docs/Stop-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Authorization.Autorest/docs/Stop-AzRoleEligibilityScheduleRequest.md @@ -58,7 +58,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Authorization.Autorest/docs/Update-AzRoleAssignmentScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/Update-AzRoleAssignmentScheduleRequest.md new file mode 100644 index 000000000000..1562b40ab9bb --- /dev/null +++ b/src/Resources/Authorization.Autorest/docs/Update-AzRoleAssignmentScheduleRequest.md @@ -0,0 +1,398 @@ +--- +external help file: +Module Name: Az.Resources +online version: https://learn.microsoft.com/powershell/module/az.resources/update-azroleassignmentschedulerequest +schema: 2.0.0 +--- + +# Update-AzRoleAssignmentScheduleRequest + +## SYNOPSIS +Update a role assignment schedule request. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzRoleAssignmentScheduleRequest -Name -Scope [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] + [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] + [-ScheduleInfoStartDateTime ] [-TargetRoleAssignmentScheduleId ] + [-TargetRoleAssignmentScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzRoleAssignmentScheduleRequest -InputObject [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] + [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] + [-ScheduleInfoStartDateTime ] [-TargetRoleAssignmentScheduleId ] + [-TargetRoleAssignmentScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a role assignment schedule request. + +## EXAMPLES + +### Example 1: Update a new role assignment schedule request as Admin +```powershell +$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" +$startTime = Get-Date -Format o +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleAssignmentScheduleRequest -Name $guid -Scope $scope -ExpirationDuration PT1H -ExpirationType AfterDuration -PrincipalId 5a4bdd72-ab3e-4d8e-ab0f-8dd8917481a2 -RequestType AdminAssign -RoleDefinitionId subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7 -ScheduleInfoStartDateTime $startTime +``` + +```output +Name Type Scope RoleDefinitionId +---- ---- ----- ---------------- +12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca Microsoft.Authorization/roleAssignmentScheduleRequests /subscriptions/11111111-2222-3333-4444-123456789101 /subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authori… +``` + +Updates a request to provision an active assignment of `roleDefinition` on the `scope` for the specified `principal` + +## PARAMETERS + +### -Condition +The conditions on the role assignment. +This limits the resources it can be assigned to. +e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConditionVersion +Version of the condition. +Currently accepted value is '2.0' + +```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 +``` + +### -ExpirationDuration +Duration of the role assignment schedule in TimeSpan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationEndDateTime +End DateTime of the role assignment schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationType +Type of the role assignment schedule expiration + +```yaml +Type: System.String +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.Resources.Authorization.Models.IAuthorizationIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Justification +Justification for the role assignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LinkedRoleEligibilityScheduleId +The linked role eligibility schedule id - to activate an eligibility. + +```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 name of the role assignment to create. +It can be any valid GUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RoleAssignmentScheduleRequestName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalId +The principal ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequestType +The type of the role assignment schedule request. +Eg: SelfActivate, AdminAssign etc + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RoleDefinitionId +The role definition ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleInfoStartDateTime +Start DateTime of the role assignment schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the role assignment schedule request to create. +The scope can be any REST resource instance. +For example, use '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleAssignmentScheduleId +The resultant role assignment schedule id or the role assignment schedule id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleAssignmentScheduleInstanceId +The role assignment schedule instance id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketNumber +Ticket number for the role assignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketSystem +Ticket system name for the role assignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleRequest + +## NOTES + +## RELATED LINKS + diff --git a/src/Resources/Authorization.Autorest/docs/Update-AzRoleEligibilityScheduleRequest.md b/src/Resources/Authorization.Autorest/docs/Update-AzRoleEligibilityScheduleRequest.md new file mode 100644 index 000000000000..b8859afb97b9 --- /dev/null +++ b/src/Resources/Authorization.Autorest/docs/Update-AzRoleEligibilityScheduleRequest.md @@ -0,0 +1,383 @@ +--- +external help file: +Module Name: Az.Resources +online version: https://learn.microsoft.com/powershell/module/az.resources/update-azroleeligibilityschedulerequest +schema: 2.0.0 +--- + +# Update-AzRoleEligibilityScheduleRequest + +## SYNOPSIS +Update a role eligibility schedule request. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzRoleEligibilityScheduleRequest -Name -Scope [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] + [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] + [-TargetRoleEligibilityScheduleId ] [-TargetRoleEligibilityScheduleInstanceId ] + [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzRoleEligibilityScheduleRequest -InputObject [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] + [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] + [-TargetRoleEligibilityScheduleId ] [-TargetRoleEligibilityScheduleInstanceId ] + [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update a role eligibility schedule request. + +## EXAMPLES + +### Example 1: Update a new role eligibile schedule request as Admin +```powershell +$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" +$startTime = Get-Date -Format o +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleEligibilityScheduleRequest -Name $guid -Scope $scope -ExpirationDuration PT1H -ExpirationType AfterDuration -PrincipalId 5a4bdd72-ab3e-4d8e-ab0f-8dd8917481a2 -RequestType AdminAssign -RoleDefinitionId subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7 -ScheduleInfoStartDateTime $startTime +``` + +```output +Name Type Scope RoleDefinitionId +---- ---- ----- ---------------- +12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca Microsoft.Authorization/roleEligibilityScheduleRequests /subscriptions/11111111-2222-3333-4444-123456789101 /subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authori… +``` + +Updates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal` + +## PARAMETERS + +### -Condition +The conditions on the role assignment. +This limits the resources it can be assigned to. +e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConditionVersion +Version of the condition. +Currently accepted value is '2.0' + +```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 +``` + +### -ExpirationDuration +Duration of the role eligibility schedule in TimeSpan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationEndDateTime +End DateTime of the role eligibility schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationType +Type of the role eligibility schedule expiration + +```yaml +Type: System.String +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.Resources.Authorization.Models.IAuthorizationIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Justification +Justification for the role eligibility + +```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 name of the role eligibility to create. +It can be any valid GUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RoleEligibilityScheduleRequestName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalId +The principal ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequestType +The type of the role assignment schedule request. +Eg: SelfActivate, AdminAssign etc + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RoleDefinitionId +The role definition ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleInfoStartDateTime +Start DateTime of the role eligibility schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the role eligibility schedule request to create. +The scope can be any REST resource instance. +For example, use '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleEligibilityScheduleId +The resultant role eligibility schedule id or the role eligibility schedule id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleEligibilityScheduleInstanceId +The role eligibility schedule instance id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketNumber +Ticket number for the role eligibility + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketSystem +Ticket system name for the role eligibility + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleRequest + +## NOTES + +## RELATED LINKS + diff --git a/src/Resources/Authorization.Autorest/docs/Update-AzRoleManagementPolicy.md b/src/Resources/Authorization.Autorest/docs/Update-AzRoleManagementPolicy.md index f4c0ee6ca82c..51fdbfc28886 100644 --- a/src/Resources/Authorization.Autorest/docs/Update-AzRoleManagementPolicy.md +++ b/src/Resources/Authorization.Autorest/docs/Update-AzRoleManagementPolicy.md @@ -26,6 +26,18 @@ Update-AzRoleManagementPolicy -InputObject [-Descriptio [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzRoleManagementPolicy -Name -Scope -JsonFilePath + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzRoleManagementPolicy -Name -Scope -JsonString [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Update a role management policy @@ -125,7 +137,7 @@ The role management policy description. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -140,7 +152,7 @@ The role management policy display name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -152,7 +164,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -171,7 +182,7 @@ The role management policy is default policy. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -181,12 +192,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name (guid) of the role management policy to upsert. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: RoleManagementPolicyName Required: True @@ -198,11 +239,10 @@ Accept wildcard characters: False ### -Rule The rule applied to the policy. -To construct, see NOTES section for RULE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -217,7 +257,7 @@ The scope of the role management policy to upsert. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -267,7 +307,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicy ## NOTES diff --git a/src/Resources/Authorization.Autorest/docs/Update-AzRoleManagementPolicyAssignment.md b/src/Resources/Authorization.Autorest/docs/Update-AzRoleManagementPolicyAssignment.md new file mode 100644 index 000000000000..e6b23951e8c6 --- /dev/null +++ b/src/Resources/Authorization.Autorest/docs/Update-AzRoleManagementPolicyAssignment.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.Resources +online version: https://learn.microsoft.com/powershell/module/az.resources/update-azrolemanagementpolicyassignment +schema: 2.0.0 +--- + +# Update-AzRoleManagementPolicyAssignment + +## SYNOPSIS +Update a role management policy assignment + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzRoleManagementPolicyAssignment -Name -Scope [-PolicyId ] + [-RoleDefinitionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzRoleManagementPolicyAssignment -InputObject [-PolicyId ] + [-RoleDefinitionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a role management policy assignment + +## EXAMPLES + +### Example 1: update role management policy assignment +```powershell +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleManagementPolicyAssignment -Scope $scope -Name "11111111-2222-3333-4444-123456789102" +``` + +```output +"Not implemented exception" +``` + +This operation is currently not supported. + +## PARAMETERS + +### -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.Resources.Authorization.Models.IAuthorizationIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of format {guid_guid} the role management policy assignment to upsert. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RoleManagementPolicyAssignmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +The policy id role management policy assignment. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RoleDefinitionId +The role definition of management policy assignment. + +```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 role management policy assignment to upsert. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +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.Resources.Authorization.Models.IAuthorizationIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyAssignment + +## NOTES + +## RELATED LINKS + diff --git a/src/Resources/Authorization.Autorest/examples/Update-AzRoleAssignmentScheduleRequest.md b/src/Resources/Authorization.Autorest/examples/Update-AzRoleAssignmentScheduleRequest.md new file mode 100644 index 000000000000..78773bc6bef3 --- /dev/null +++ b/src/Resources/Authorization.Autorest/examples/Update-AzRoleAssignmentScheduleRequest.md @@ -0,0 +1,15 @@ +### Example 1: Update a new role assignment schedule request as Admin +```powershell +$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" +$startTime = Get-Date -Format o +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleAssignmentScheduleRequest -Name $guid -Scope $scope -ExpirationDuration PT1H -ExpirationType AfterDuration -PrincipalId 5a4bdd72-ab3e-4d8e-ab0f-8dd8917481a2 -RequestType AdminAssign -RoleDefinitionId subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7 -ScheduleInfoStartDateTime $startTime +``` + +```output +Name Type Scope RoleDefinitionId +---- ---- ----- ---------------- +12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca Microsoft.Authorization/roleAssignmentScheduleRequests /subscriptions/11111111-2222-3333-4444-123456789101 /subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authori… +``` + +Updates a request to provision an active assignment of `roleDefinition` on the `scope` for the specified `principal` \ No newline at end of file diff --git a/src/Resources/Authorization.Autorest/examples/Update-AzRoleEligibilityScheduleRequest.md b/src/Resources/Authorization.Autorest/examples/Update-AzRoleEligibilityScheduleRequest.md new file mode 100644 index 000000000000..03a2f40d5193 --- /dev/null +++ b/src/Resources/Authorization.Autorest/examples/Update-AzRoleEligibilityScheduleRequest.md @@ -0,0 +1,15 @@ +### Example 1: Update a new role eligibile schedule request as Admin +```powershell +$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" +$startTime = Get-Date -Format o +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleEligibilityScheduleRequest -Name $guid -Scope $scope -ExpirationDuration PT1H -ExpirationType AfterDuration -PrincipalId 5a4bdd72-ab3e-4d8e-ab0f-8dd8917481a2 -RequestType AdminAssign -RoleDefinitionId subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7 -ScheduleInfoStartDateTime $startTime +``` + +```output +Name Type Scope RoleDefinitionId +---- ---- ----- ---------------- +12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca Microsoft.Authorization/roleEligibilityScheduleRequests /subscriptions/11111111-2222-3333-4444-123456789101 /subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authori… +``` + +Updates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal` diff --git a/src/Resources/Authorization.Autorest/examples/Update-AzRoleManagementPolicyAssignment.md b/src/Resources/Authorization.Autorest/examples/Update-AzRoleManagementPolicyAssignment.md new file mode 100644 index 000000000000..1dd2c63217c6 --- /dev/null +++ b/src/Resources/Authorization.Autorest/examples/Update-AzRoleManagementPolicyAssignment.md @@ -0,0 +1,12 @@ +### Example 1: update role management policy assignment +```powershell +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleManagementPolicyAssignment -Scope $scope -Name "11111111-2222-3333-4444-123456789102" +``` + +```output +"Not implemented exception" +``` + +This operation is currently not supported. + diff --git a/src/Resources/Authorization.Autorest/generate-info.json b/src/Resources/Authorization.Autorest/generate-info.json index 9e4af4483508..981762e5c6ec 100644 --- a/src/Resources/Authorization.Autorest/generate-info.json +++ b/src/Resources/Authorization.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "c1694601-4d35-40bd-94d8-1b26473b7708" + "generate_Id": "f7603b4a-9f6c-4013-b092-a2c1e5c4989a" } diff --git a/src/Resources/Authorization.Autorest/resources/README.md b/src/Resources/Authorization.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Resources/Authorization.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/Resources/Authorization.Autorest/test/Update-AzRoleAssignmentScheduleRequest.Tests.ps1 b/src/Resources/Authorization.Autorest/test/Update-AzRoleAssignmentScheduleRequest.Tests.ps1 new file mode 100644 index 000000000000..f94afe35e297 --- /dev/null +++ b/src/Resources/Authorization.Autorest/test/Update-AzRoleAssignmentScheduleRequest.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzRoleAssignmentScheduleRequest')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzRoleAssignmentScheduleRequest.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-AzRoleAssignmentScheduleRequest' { + 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/Resources/Authorization.Autorest/test/Update-AzRoleEligibilityScheduleRequest.Tests.ps1 b/src/Resources/Authorization.Autorest/test/Update-AzRoleEligibilityScheduleRequest.Tests.ps1 new file mode 100644 index 000000000000..d413887372ca --- /dev/null +++ b/src/Resources/Authorization.Autorest/test/Update-AzRoleEligibilityScheduleRequest.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzRoleEligibilityScheduleRequest')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzRoleEligibilityScheduleRequest.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-AzRoleEligibilityScheduleRequest' { + 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/Resources/Authorization.Autorest/test/Update-AzRoleManagementPolicy.Tests.ps1 b/src/Resources/Authorization.Autorest/test/Update-AzRoleManagementPolicy.Tests.ps1 index 0297e4d68edf..d087ed7b9019 100644 --- a/src/Resources/Authorization.Autorest/test/Update-AzRoleManagementPolicy.Tests.ps1 +++ b/src/Resources/Authorization.Autorest/test/Update-AzRoleManagementPolicy.Tests.ps1 @@ -18,11 +18,11 @@ Describe 'Update-AzRoleManagementPolicy' { It 'UpdateExpanded' { { $scope = "/subscriptions/38ab2ccc-3747-4567-b36b-9478f5602f0d/" - $expirationRule = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyExpirationRule]@{ + $expirationRule = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.RoleManagementPolicyExpirationRule]@{ isExpirationRequired = "false"; maximumDuration = "P180D"; id = "Expiration_Admin_Eligibility"; - ruleType = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RoleManagementPolicyRuleType]("RoleManagementPolicyExpirationRule"); + ruleType = "RoleManagementPolicyExpirationRule"; targetCaller = "Admin"; targetOperation = @('All'); targetLevel = "Eligibility"; @@ -30,14 +30,14 @@ Describe 'Update-AzRoleManagementPolicy' { targetInheritableSetting = $null; targetEnforcedSetting = $null; } - $notificationRule = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.RoleManagementPolicyNotificationRule]@{ + $notificationRule = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.RoleManagementPolicyNotificationRule]@{ notificationType = "Email"; recipientType = "Approver"; isDefaultRecipientsEnabled = "false"; notificationLevel = "Critical"; notificationRecipient = $null; id = "Notification_Approver_Admin_Eligibility"; - ruleType = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RoleManagementPolicyRuleType]("RoleManagementPolicyNotificationRule"); + ruleType = "RoleManagementPolicyNotificationRule"; targetCaller = "Admin"; targetOperation = @('All'); targetLevel = "Eligibility"; @@ -45,7 +45,7 @@ Describe 'Update-AzRoleManagementPolicy' { targetInheritableSetting = $null; targetEnforcedSetting = $null; } - $rules = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule[]]@($expirationRule, $notificationRule) + $rules = [Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule[]]@($expirationRule, $notificationRule) $policy = Update-AzRoleManagementPolicy -Scope $scope -Name "33b520ea-3544-4abc-8565-3588deb8e68e" -Rule $rules } | Should -Not -Throw } diff --git a/src/Resources/Authorization.Autorest/test/Update-AzRoleManagementPolicyAssignment.Tests.ps1 b/src/Resources/Authorization.Autorest/test/Update-AzRoleManagementPolicyAssignment.Tests.ps1 new file mode 100644 index 000000000000..cec031e1590c --- /dev/null +++ b/src/Resources/Authorization.Autorest/test/Update-AzRoleManagementPolicyAssignment.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzRoleManagementPolicyAssignment')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzRoleManagementPolicyAssignment.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-AzRoleManagementPolicyAssignment' { + 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/Resources/Resources.sln b/src/Resources/Resources.sln index 1df87a8561d7..155d8816b571 100644 --- a/src/Resources/Resources.sln +++ b/src/Resources/Resources.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -39,8 +39,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestFx", "..\..\tools\TestF EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authorization.Management.Sdk", "Authorization.Management.Sdk\Authorization.Management.Sdk.csproj", "{D3B4C59E-B382-4EE2-9A58-F69367A69741}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Authorization", "..\..\generated\Resources\Authorization.Autorest\Az.Authorization.csproj", "{84CEE20D-52B3-4ACA-83EE-8F75BDA7BF99}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DataBoundary", "..\..\generated\Resources\DataBoundary.Autorest\Az.DataBoundary.csproj", "{540A9B94-CB07-4329-8CA7-37A82C2D9D9E}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.MSGraph", "..\..\generated\Resources\MSGraph.Autorest\Az.MSGraph.csproj", "{2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}" @@ -67,133 +65,371 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.PipelineGroup", "..\..\g EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.ScheduledQueryRule", "..\..\generated\Monitor\ScheduledQueryRule.Autorest\Az.ScheduledQueryRule.csproj", "{2847B383-C099-4D3D-9B76-47D4B8D81681}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Authorization.Autorest", "Authorization.Autorest", "{1AAF54A8-4F26-B6C5-BE8F-209DDC4AEF28}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Authorization", "..\..\generated\Resources\Authorization.Autorest\Az.Authorization.csproj", "{AE72CD61-04EA-49FA-B5C0-8816F7A63E10}" +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 {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Debug|x64.ActiveCfg = Debug|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Debug|x64.Build.0 = Debug|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Debug|x86.ActiveCfg = Debug|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Debug|x86.Build.0 = Debug|Any CPU {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Release|Any CPU.ActiveCfg = Release|Any CPU {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Release|Any CPU.Build.0 = Release|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Release|x64.ActiveCfg = Release|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Release|x64.Build.0 = Release|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Release|x86.ActiveCfg = Release|Any CPU + {5323D4CC-D4B7-44A7-B79A-F91C47AC9650}.Release|x86.Build.0 = Release|Any CPU {37505100-F59C-4C0B-88AD-395FDFB419F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {37505100-F59C-4C0B-88AD-395FDFB419F9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Debug|x64.ActiveCfg = Debug|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Debug|x64.Build.0 = Debug|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Debug|x86.ActiveCfg = Debug|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Debug|x86.Build.0 = Debug|Any CPU {37505100-F59C-4C0B-88AD-395FDFB419F9}.Release|Any CPU.ActiveCfg = Release|Any CPU {37505100-F59C-4C0B-88AD-395FDFB419F9}.Release|Any CPU.Build.0 = Release|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Release|x64.ActiveCfg = Release|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Release|x64.Build.0 = Release|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Release|x86.ActiveCfg = Release|Any CPU + {37505100-F59C-4C0B-88AD-395FDFB419F9}.Release|x86.Build.0 = Release|Any CPU {18B74826-3E56-43E0-9576-476953C3044C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {18B74826-3E56-43E0-9576-476953C3044C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Debug|x64.ActiveCfg = Debug|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Debug|x64.Build.0 = Debug|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Debug|x86.ActiveCfg = Debug|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Debug|x86.Build.0 = Debug|Any CPU {18B74826-3E56-43E0-9576-476953C3044C}.Release|Any CPU.ActiveCfg = Release|Any CPU {18B74826-3E56-43E0-9576-476953C3044C}.Release|Any CPU.Build.0 = Release|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Release|x64.ActiveCfg = Release|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Release|x64.Build.0 = Release|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Release|x86.ActiveCfg = Release|Any CPU + {18B74826-3E56-43E0-9576-476953C3044C}.Release|x86.Build.0 = Release|Any CPU {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Debug|x64.ActiveCfg = Debug|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Debug|x64.Build.0 = Debug|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Debug|x86.ActiveCfg = Debug|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Debug|x86.Build.0 = Debug|Any CPU {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Release|Any CPU.ActiveCfg = Release|Any CPU {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Release|Any CPU.Build.0 = Release|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Release|x64.ActiveCfg = Release|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Release|x64.Build.0 = Release|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Release|x86.ActiveCfg = Release|Any CPU + {5E8C57B3-00C0-4D15-A9D6-F39C1C96F256}.Release|x86.Build.0 = Release|Any CPU {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Debug|x64.ActiveCfg = Debug|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Debug|x64.Build.0 = Debug|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Debug|x86.ActiveCfg = Debug|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Debug|x86.Build.0 = Debug|Any CPU {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Release|Any CPU.ActiveCfg = Release|Any CPU {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Release|Any CPU.Build.0 = Release|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Release|x64.ActiveCfg = Release|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Release|x64.Build.0 = Release|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Release|x86.ActiveCfg = Release|Any CPU + {AD0CFDA4-3147-4CDF-A747-103597B08D85}.Release|x86.Build.0 = Release|Any CPU {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Debug|Any CPU.Build.0 = Debug|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Debug|x64.ActiveCfg = Debug|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Debug|x64.Build.0 = Debug|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Debug|x86.ActiveCfg = Debug|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Debug|x86.Build.0 = Debug|Any CPU {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Release|Any CPU.ActiveCfg = Release|Any CPU {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Release|Any CPU.Build.0 = Release|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Release|x64.ActiveCfg = Release|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Release|x64.Build.0 = Release|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Release|x86.ActiveCfg = Release|Any CPU + {657EF01D-B9C5-4335-A1FE-A8216AD55379}.Release|x86.Build.0 = Release|Any CPU {2A2773E2-381E-406A-8194-460A1336D8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2A2773E2-381E-406A-8194-460A1336D8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Debug|x64.ActiveCfg = Debug|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Debug|x64.Build.0 = Debug|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Debug|x86.ActiveCfg = Debug|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Debug|x86.Build.0 = Debug|Any CPU {2A2773E2-381E-406A-8194-460A1336D8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU {2A2773E2-381E-406A-8194-460A1336D8DC}.Release|Any CPU.Build.0 = Release|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Release|x64.ActiveCfg = Release|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Release|x64.Build.0 = Release|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Release|x86.ActiveCfg = Release|Any CPU + {2A2773E2-381E-406A-8194-460A1336D8DC}.Release|x86.Build.0 = Release|Any CPU {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Debug|x64.ActiveCfg = Debug|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Debug|x64.Build.0 = Debug|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Debug|x86.ActiveCfg = Debug|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Debug|x86.Build.0 = Debug|Any CPU {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Release|Any CPU.ActiveCfg = Release|Any CPU {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Release|Any CPU.Build.0 = Release|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Release|x64.ActiveCfg = Release|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Release|x64.Build.0 = Release|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Release|x86.ActiveCfg = Release|Any CPU + {5DF85EFD-6223-449E-8E59-C41DC4D59E42}.Release|x86.Build.0 = Release|Any CPU {F25C740F-1FC7-4536-A597-837DF0C611A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F25C740F-1FC7-4536-A597-837DF0C611A8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Debug|x64.ActiveCfg = Debug|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Debug|x64.Build.0 = Debug|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Debug|x86.ActiveCfg = Debug|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Debug|x86.Build.0 = Debug|Any CPU {F25C740F-1FC7-4536-A597-837DF0C611A8}.Release|Any CPU.ActiveCfg = Release|Any CPU {F25C740F-1FC7-4536-A597-837DF0C611A8}.Release|Any CPU.Build.0 = Release|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Release|x64.ActiveCfg = Release|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Release|x64.Build.0 = Release|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Release|x86.ActiveCfg = Release|Any CPU + {F25C740F-1FC7-4536-A597-837DF0C611A8}.Release|x86.Build.0 = Release|Any CPU {06D245AC-A806-40CB-AD44-459AA3F90E21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {06D245AC-A806-40CB-AD44-459AA3F90E21}.Debug|Any CPU.Build.0 = Debug|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Debug|x64.ActiveCfg = Debug|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Debug|x64.Build.0 = Debug|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Debug|x86.ActiveCfg = Debug|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Debug|x86.Build.0 = Debug|Any CPU {06D245AC-A806-40CB-AD44-459AA3F90E21}.Release|Any CPU.ActiveCfg = Release|Any CPU {06D245AC-A806-40CB-AD44-459AA3F90E21}.Release|Any CPU.Build.0 = Release|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Release|x64.ActiveCfg = Release|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Release|x64.Build.0 = Release|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Release|x86.ActiveCfg = Release|Any CPU + {06D245AC-A806-40CB-AD44-459AA3F90E21}.Release|x86.Build.0 = Release|Any CPU {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Debug|Any CPU.Build.0 = Debug|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Debug|x64.ActiveCfg = Debug|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Debug|x64.Build.0 = Debug|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Debug|x86.ActiveCfg = Debug|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Debug|x86.Build.0 = Debug|Any CPU {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Release|Any CPU.ActiveCfg = Release|Any CPU {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Release|Any CPU.Build.0 = Release|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Release|x64.ActiveCfg = Release|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Release|x64.Build.0 = Release|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Release|x86.ActiveCfg = Release|Any CPU + {79B1C27E-AB8F-458C-B872-A5DC5041BE08}.Release|x86.Build.0 = Release|Any CPU {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Debug|x64.ActiveCfg = Debug|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Debug|x64.Build.0 = Debug|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Debug|x86.ActiveCfg = Debug|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Debug|x86.Build.0 = Debug|Any CPU {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Release|Any CPU.ActiveCfg = Release|Any CPU {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Release|Any CPU.Build.0 = Release|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Release|x64.ActiveCfg = Release|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Release|x64.Build.0 = Release|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Release|x86.ActiveCfg = Release|Any CPU + {C7499619-CE07-4D88-9EDF-97B1706CAA66}.Release|x86.Build.0 = Release|Any CPU {160431AA-A4DB-4922-AD75-C5F97D497B29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {160431AA-A4DB-4922-AD75-C5F97D497B29}.Debug|Any CPU.Build.0 = Debug|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Debug|x64.ActiveCfg = Debug|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Debug|x64.Build.0 = Debug|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Debug|x86.ActiveCfg = Debug|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Debug|x86.Build.0 = Debug|Any CPU {160431AA-A4DB-4922-AD75-C5F97D497B29}.Release|Any CPU.ActiveCfg = Release|Any CPU {160431AA-A4DB-4922-AD75-C5F97D497B29}.Release|Any CPU.Build.0 = Release|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Release|x64.ActiveCfg = Release|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Release|x64.Build.0 = Release|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Release|x86.ActiveCfg = Release|Any CPU + {160431AA-A4DB-4922-AD75-C5F97D497B29}.Release|x86.Build.0 = Release|Any CPU {B205E3EB-C341-465E-BA2E-C38C753A2528}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B205E3EB-C341-465E-BA2E-C38C753A2528}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Debug|x64.ActiveCfg = Debug|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Debug|x64.Build.0 = Debug|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Debug|x86.ActiveCfg = Debug|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Debug|x86.Build.0 = Debug|Any CPU {B205E3EB-C341-465E-BA2E-C38C753A2528}.Release|Any CPU.ActiveCfg = Release|Any CPU {B205E3EB-C341-465E-BA2E-C38C753A2528}.Release|Any CPU.Build.0 = Release|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Release|x64.ActiveCfg = Release|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Release|x64.Build.0 = Release|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Release|x86.ActiveCfg = Release|Any CPU + {B205E3EB-C341-465E-BA2E-C38C753A2528}.Release|x86.Build.0 = Release|Any CPU {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Powershell|Any CPU.ActiveCfg = Debug|Any CPU - {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Powershell|Any CPU.Build.0 = Debug|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Debug|x64.ActiveCfg = Debug|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Debug|x64.Build.0 = Debug|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Debug|x86.ActiveCfg = Debug|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Debug|x86.Build.0 = Debug|Any CPU {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Release|Any CPU.ActiveCfg = Release|Any CPU {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Release|Any CPU.Build.0 = Release|Any CPU - {84CEE20D-52B3-4ACA-83EE-8F75BDA7BF99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {84CEE20D-52B3-4ACA-83EE-8F75BDA7BF99}.Debug|Any CPU.Build.0 = Debug|Any CPU - {84CEE20D-52B3-4ACA-83EE-8F75BDA7BF99}.Release|Any CPU.ActiveCfg = Release|Any CPU - {84CEE20D-52B3-4ACA-83EE-8F75BDA7BF99}.Release|Any CPU.Build.0 = Release|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Release|x64.ActiveCfg = Release|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Release|x64.Build.0 = Release|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Release|x86.ActiveCfg = Release|Any CPU + {D3B4C59E-B382-4EE2-9A58-F69367A69741}.Release|x86.Build.0 = Release|Any CPU {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Debug|x64.ActiveCfg = Debug|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Debug|x64.Build.0 = Debug|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Debug|x86.ActiveCfg = Debug|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Debug|x86.Build.0 = Debug|Any CPU {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Release|Any CPU.ActiveCfg = Release|Any CPU {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Release|Any CPU.Build.0 = Release|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Release|x64.ActiveCfg = Release|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Release|x64.Build.0 = Release|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Release|x86.ActiveCfg = Release|Any CPU + {540A9B94-CB07-4329-8CA7-37A82C2D9D9E}.Release|x86.Build.0 = Release|Any CPU {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Debug|x64.ActiveCfg = Debug|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Debug|x64.Build.0 = Debug|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Debug|x86.ActiveCfg = Debug|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Debug|x86.Build.0 = Debug|Any CPU {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Release|Any CPU.ActiveCfg = Release|Any CPU {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Release|Any CPU.Build.0 = Release|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Release|x64.ActiveCfg = Release|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Release|x64.Build.0 = Release|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Release|x86.ActiveCfg = Release|Any CPU + {2CF572D0-24F2-4D60-98CA-FE9DC299FBFA}.Release|x86.Build.0 = Release|Any CPU {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Debug|Any CPU.Build.0 = Debug|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Debug|x64.ActiveCfg = Debug|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Debug|x64.Build.0 = Debug|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Debug|x86.ActiveCfg = Debug|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Debug|x86.Build.0 = Debug|Any CPU {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Release|Any CPU.ActiveCfg = Release|Any CPU {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Release|Any CPU.Build.0 = Release|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Release|x64.ActiveCfg = Release|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Release|x64.Build.0 = Release|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Release|x86.ActiveCfg = Release|Any CPU + {02F38315-20AB-4FBF-AFD4-7C24276AA057}.Release|x86.Build.0 = Release|Any CPU {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Debug|x64.ActiveCfg = Debug|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Debug|x64.Build.0 = Debug|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Debug|x86.ActiveCfg = Debug|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Debug|x86.Build.0 = Debug|Any CPU {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Release|Any CPU.ActiveCfg = Release|Any CPU {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Release|Any CPU.Build.0 = Release|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Release|x64.ActiveCfg = Release|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Release|x64.Build.0 = Release|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Release|x86.ActiveCfg = Release|Any CPU + {AB634D7D-4E87-4319-9329-3EEC5DE980C1}.Release|x86.Build.0 = Release|Any CPU {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Debug|x64.ActiveCfg = Debug|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Debug|x64.Build.0 = Debug|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Debug|x86.ActiveCfg = Debug|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Debug|x86.Build.0 = Debug|Any CPU {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Release|Any CPU.ActiveCfg = Release|Any CPU {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Release|Any CPU.Build.0 = Release|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Release|x64.ActiveCfg = Release|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Release|x64.Build.0 = Release|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Release|x86.ActiveCfg = Release|Any CPU + {EE5452F3-CD83-4239-AADD-95FB65A1046C}.Release|x86.Build.0 = Release|Any CPU {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Debug|x64.ActiveCfg = Debug|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Debug|x64.Build.0 = Debug|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Debug|x86.ActiveCfg = Debug|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Debug|x86.Build.0 = Debug|Any CPU {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Release|Any CPU.ActiveCfg = Release|Any CPU {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Release|Any CPU.Build.0 = Release|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Release|x64.ActiveCfg = Release|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Release|x64.Build.0 = Release|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Release|x86.ActiveCfg = Release|Any CPU + {03787EB8-B199-42F2-B948-CC44ECFB9BCB}.Release|x86.Build.0 = Release|Any CPU {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Debug|x64.ActiveCfg = Debug|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Debug|x64.Build.0 = Debug|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Debug|x86.ActiveCfg = Debug|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Debug|x86.Build.0 = Debug|Any CPU {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Release|Any CPU.ActiveCfg = Release|Any CPU {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Release|Any CPU.Build.0 = Release|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Release|x64.ActiveCfg = Release|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Release|x64.Build.0 = Release|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Release|x86.ActiveCfg = Release|Any CPU + {93833310-1565-4051-ADA6-DDDD88CDEBCE}.Release|x86.Build.0 = Release|Any CPU {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Debug|x64.ActiveCfg = Debug|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Debug|x64.Build.0 = Debug|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Debug|x86.ActiveCfg = Debug|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Debug|x86.Build.0 = Debug|Any CPU {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Release|Any CPU.ActiveCfg = Release|Any CPU {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Release|Any CPU.Build.0 = Release|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Release|x64.ActiveCfg = Release|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Release|x64.Build.0 = Release|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Release|x86.ActiveCfg = Release|Any CPU + {0BD7F45C-395B-406A-A6DF-4512A953B2DC}.Release|x86.Build.0 = Release|Any CPU {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Debug|x64.ActiveCfg = Debug|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Debug|x64.Build.0 = Debug|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Debug|x86.ActiveCfg = Debug|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Debug|x86.Build.0 = Debug|Any CPU {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Release|Any CPU.ActiveCfg = Release|Any CPU {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Release|Any CPU.Build.0 = Release|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Release|x64.ActiveCfg = Release|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Release|x64.Build.0 = Release|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Release|x86.ActiveCfg = Release|Any CPU + {8B67FBE7-61A6-4A84-B9D1-8E7D5F8EDAEC}.Release|x86.Build.0 = Release|Any CPU {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Debug|x64.ActiveCfg = Debug|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Debug|x64.Build.0 = Debug|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Debug|x86.ActiveCfg = Debug|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Debug|x86.Build.0 = Debug|Any CPU {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Release|Any CPU.ActiveCfg = Release|Any CPU {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Release|Any CPU.Build.0 = Release|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Release|x64.ActiveCfg = Release|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Release|x64.Build.0 = Release|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Release|x86.ActiveCfg = Release|Any CPU + {C4F8DFBC-8610-468B-BE6D-FC0E2753186D}.Release|x86.Build.0 = Release|Any CPU {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Debug|x64.ActiveCfg = Debug|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Debug|x64.Build.0 = Debug|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Debug|x86.ActiveCfg = Debug|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Debug|x86.Build.0 = Debug|Any CPU {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Release|Any CPU.ActiveCfg = Release|Any CPU {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Release|Any CPU.Build.0 = Release|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Release|x64.ActiveCfg = Release|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Release|x64.Build.0 = Release|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Release|x86.ActiveCfg = Release|Any CPU + {A95C8CF2-0D7D-4883-A710-FB82C5BA45F4}.Release|x86.Build.0 = Release|Any CPU {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Debug|x64.ActiveCfg = Debug|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Debug|x64.Build.0 = Debug|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Debug|x86.ActiveCfg = Debug|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Debug|x86.Build.0 = Debug|Any CPU {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Release|Any CPU.ActiveCfg = Release|Any CPU {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Release|Any CPU.Build.0 = Release|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Release|x64.ActiveCfg = Release|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Release|x64.Build.0 = Release|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Release|x86.ActiveCfg = Release|Any CPU + {CEA67721-3A9C-4CC2-9068-6C5FC9ED2BA4}.Release|x86.Build.0 = Release|Any CPU {2847B383-C099-4D3D-9B76-47D4B8D81681}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2847B383-C099-4D3D-9B76-47D4B8D81681}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Debug|x64.ActiveCfg = Debug|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Debug|x64.Build.0 = Debug|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Debug|x86.ActiveCfg = Debug|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Debug|x86.Build.0 = Debug|Any CPU {2847B383-C099-4D3D-9B76-47D4B8D81681}.Release|Any CPU.ActiveCfg = Release|Any CPU {2847B383-C099-4D3D-9B76-47D4B8D81681}.Release|Any CPU.Build.0 = Release|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Release|x64.ActiveCfg = Release|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Release|x64.Build.0 = Release|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Release|x86.ActiveCfg = Release|Any CPU + {2847B383-C099-4D3D-9B76-47D4B8D81681}.Release|x86.Build.0 = Release|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Debug|x64.ActiveCfg = Debug|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Debug|x64.Build.0 = Debug|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Debug|x86.ActiveCfg = Debug|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Debug|x86.Build.0 = Debug|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Release|Any CPU.Build.0 = Release|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Release|x64.ActiveCfg = Release|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Release|x64.Build.0 = Release|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Release|x86.ActiveCfg = Release|Any CPU + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution {5323D4CC-D4B7-44A7-B79A-F91C47AC9650} = {23F657BD-37C1-4E91-8548-5783E43D40B0} @@ -207,5 +443,6 @@ Global {5DF85EFD-6223-449E-8E59-C41DC4D59E42} = {04F74FE3-C8B4-4E4D-8057-61533EDA2257} {79B1C27E-AB8F-458C-B872-A5DC5041BE08} = {C7A81A90-F687-410D-90AB-49F378773E7E} {B205E3EB-C341-465E-BA2E-C38C753A2528} = {C7A81A90-F687-410D-90AB-49F378773E7E} + {AE72CD61-04EA-49FA-B5C0-8816F7A63E10} = {1AAF54A8-4F26-B6C5-BE8F-209DDC4AEF28} EndGlobalSection EndGlobal diff --git a/src/Resources/Resources/Az.Resources.psd1 b/src/Resources/Resources/Az.Resources.psd1 index d1ac7a032e29..ccc7c8bbd9e4 100644 --- a/src/Resources/Resources/Az.Resources.psd1 +++ b/src/Resources/Resources/Az.Resources.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 5/14/2025 +# Generated on: 6/9/2025 # @{ @@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.0.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.0.2'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'Authorization.Autorest/bin/Az.Authorization.private.dll', @@ -72,10 +72,10 @@ RequiredAssemblies = 'Authorization.Autorest/bin/Az.Authorization.private.dll', 'System.Runtime.CompilerServices.Unsafe.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 = 'Authorization.Autorest/Az.Authorization.format.ps1xml', @@ -138,7 +138,10 @@ FunctionsToExport = 'Add-AzADAppPermission', 'Add-AzADGroupMember', 'Update-AzADServicePrincipalAppRoleAssignment', 'Update-AzADUser', 'Update-AzPolicyAssignment', 'Update-AzPolicyDefinition', 'Update-AzPolicyExemption', 'Update-AzPolicySetDefinition', - 'Update-AzRoleManagementPolicy' + 'Update-AzRoleAssignmentScheduleRequest', + 'Update-AzRoleEligibilityScheduleRequest', + 'Update-AzRoleManagementPolicy', + 'Update-AzRoleManagementPolicyAssignment' # 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 = 'Export-AzResourceGroup', 'Export-AzTemplateSpec', @@ -253,7 +256,9 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','Provider','ResourceGroup','Deployment','ActiveDirectory','Authorization','Management','ManagementGroups','Tags' + Tags = 'Azure', 'ResourceManager', 'ARM', 'Provider', 'ResourceGroup', + 'Deployment', 'ActiveDirectory', 'Authorization', 'Management', + 'ManagementGroups', 'Tags' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -278,7 +283,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index aa9a3894ffef..42b37e1630fa 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -19,6 +19,8 @@ --> ## Upcoming Release +* Removed unavailable variant Get-AzRoleEligibleChildResource cmdlet for InputObject parameter. +* 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 8.0.0 * [Breaking Change] Updated API version of resource types from latest to DefaultApiVersion for cmdlets `*-AzResource` and `Invoke-AzResourceAction`. diff --git a/src/Resources/Resources/help/Az.Resources.md b/src/Resources/Resources/help/Az.Resources.md index 521b9dd2d692..0f10657aaa6f 100644 --- a/src/Resources/Resources/help/Az.Resources.md +++ b/src/Resources/Resources/help/Az.Resources.md @@ -357,7 +357,7 @@ The cmdlet may call below Microsoft Graph API according to input parameters: Please notice that this cmdlet will mark `ObjectType` as `Unknown` in output if the object of role assignment is not found or current account has insufficient privileges to get object type. ### [New-AzRoleAssignmentScheduleRequest](New-AzRoleAssignmentScheduleRequest.md) -Creates a role assignment schedule request. +Create a role assignment schedule request. ### [New-AzRoleDefinition](New-AzRoleDefinition.md) Creates a custom role in Azure RBAC. @@ -367,7 +367,7 @@ Then, modify its properties as required. Finally, use this command to create a custom role using role definition. ### [New-AzRoleEligibilityScheduleRequest](New-AzRoleEligibilityScheduleRequest.md) -Creates a role eligibility schedule request. +Create a role eligibility schedule request. ### [New-AzRoleManagementPolicyAssignment](New-AzRoleManagementPolicyAssignment.md) Create a role management policy assignment @@ -694,9 +694,18 @@ This operation updates a policy exemption with the given scope and name. ### [Update-AzPolicySetDefinition](Update-AzPolicySetDefinition.md) This operation updates an existing policy set definition in the given subscription or management group with the given name. +### [Update-AzRoleAssignmentScheduleRequest](Update-AzRoleAssignmentScheduleRequest.md) +Update a role assignment schedule request. + +### [Update-AzRoleEligibilityScheduleRequest](Update-AzRoleEligibilityScheduleRequest.md) +Update a role eligibility schedule request. + ### [Update-AzRoleManagementPolicy](Update-AzRoleManagementPolicy.md) Update a role management policy +### [Update-AzRoleManagementPolicyAssignment](Update-AzRoleManagementPolicyAssignment.md) +Update a role management policy assignment + ### [Update-AzTag](Update-AzTag.md) Selectively updates the set of tags on a resource or subscription. diff --git a/src/Resources/Resources/help/Get-AzRoleAssignmentSchedule.md b/src/Resources/Resources/help/Get-AzRoleAssignmentSchedule.md index dd0347d78aaa..b797cc8ab071 100644 --- a/src/Resources/Resources/help/Get-AzRoleAssignmentSchedule.md +++ b/src/Resources/Resources/help/Get-AzRoleAssignmentSchedule.md @@ -156,7 +156,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -209,7 +208,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentSchedule +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentSchedule ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleInstance.md b/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleInstance.md index 4ebb119dde1f..da5ad3dd6a0d 100644 --- a/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleInstance.md +++ b/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleInstance.md @@ -156,7 +156,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -209,7 +208,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstance +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleInstance ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleRequest.md b/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleRequest.md index a846e4ca785f..dcd455571c62 100644 --- a/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleRequest.md +++ b/src/Resources/Resources/help/Get-AzRoleAssignmentScheduleRequest.md @@ -138,7 +138,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -191,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleRequest ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleEligibilitySchedule.md b/src/Resources/Resources/help/Get-AzRoleEligibilitySchedule.md index 1b89644b0906..6d00324fa7e1 100644 --- a/src/Resources/Resources/help/Get-AzRoleEligibilitySchedule.md +++ b/src/Resources/Resources/help/Get-AzRoleEligibilitySchedule.md @@ -154,7 +154,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -207,7 +206,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilitySchedule +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilitySchedule ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleInstance.md b/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleInstance.md index ed51f1ffd9b6..4bfaf7971a5e 100644 --- a/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleInstance.md +++ b/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleInstance.md @@ -156,7 +156,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -209,7 +208,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleInstance +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleInstance ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleRequest.md b/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleRequest.md index 24a9e064967a..68be2ace2e6e 100644 --- a/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Resources/help/Get-AzRoleEligibilityScheduleRequest.md @@ -138,7 +138,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -191,7 +190,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleRequest ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleEligibleChildResource.md b/src/Resources/Resources/help/Get-AzRoleEligibleChildResource.md index 85669c25a9e3..24ba3e778182 100644 --- a/src/Resources/Resources/help/Get-AzRoleEligibleChildResource.md +++ b/src/Resources/Resources/help/Get-AzRoleEligibleChildResource.md @@ -12,18 +12,11 @@ Get the child resources of a resource on which user has eligible access ## SYNTAX -### Get (Default) ``` Get-AzRoleEligibleChildResource -Scope [-Filter ] [-DefaultProfile ] [] ``` -### GetViaIdentity -``` -Get-AzRoleEligibleChildResource -InputObject [-Filter ] - [-DefaultProfile ] [] -``` - ## DESCRIPTION Get the child resources of a resource on which user has eligible access @@ -99,28 +92,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity -Parameter Sets: GetViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - ### -Scope The scope of the role management policy. ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: (All) Aliases: Required: True @@ -135,11 +112,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity - ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IEligibleChildResource +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IEligibleChildResource ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleManagementPolicy.md b/src/Resources/Resources/help/Get-AzRoleManagementPolicy.md index d71314eaae92..7624e01aad17 100644 --- a/src/Resources/Resources/help/Get-AzRoleManagementPolicy.md +++ b/src/Resources/Resources/help/Get-AzRoleManagementPolicy.md @@ -86,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -139,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicy ## NOTES diff --git a/src/Resources/Resources/help/Get-AzRoleManagementPolicyAssignment.md b/src/Resources/Resources/help/Get-AzRoleManagementPolicyAssignment.md index 108e609da88a..36a2a5d11c70 100644 --- a/src/Resources/Resources/help/Get-AzRoleManagementPolicyAssignment.md +++ b/src/Resources/Resources/help/Get-AzRoleManagementPolicyAssignment.md @@ -87,7 +87,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -140,7 +139,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyAssignment ## NOTES diff --git a/src/Resources/Resources/help/New-AzRoleAssignmentScheduleRequest.md b/src/Resources/Resources/help/New-AzRoleAssignmentScheduleRequest.md index bf54cdf7f868..9d366d380b86 100644 --- a/src/Resources/Resources/help/New-AzRoleAssignmentScheduleRequest.md +++ b/src/Resources/Resources/help/New-AzRoleAssignmentScheduleRequest.md @@ -8,22 +8,35 @@ schema: 2.0.0 # New-AzRoleAssignmentScheduleRequest ## SYNOPSIS -Creates a role assignment schedule request. +Create a role assignment schedule request. ## SYNTAX +### CreateExpanded (Default) ``` New-AzRoleAssignmentScheduleRequest -Name -Scope [-Condition ] [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] - [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] - [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] + [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] + [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] [-TargetRoleAssignmentScheduleId ] [-TargetRoleAssignmentScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzRoleAssignmentScheduleRequest -Name -Scope -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzRoleAssignmentScheduleRequest -Name -Scope -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates a role assignment schedule request. +Create a role assignment schedule request. ## EXAMPLES @@ -100,7 +113,7 @@ e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:Contai ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -116,7 +129,7 @@ Currently accepted value is '2.0' ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -147,7 +160,7 @@ Duration of the role assignment schedule in TimeSpan. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -162,7 +175,7 @@ End DateTime of the role assignment schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -176,8 +189,8 @@ Accept wildcard characters: False Type of the role assignment schedule expiration ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -187,12 +200,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 +``` + ### -Justification Justification for the role assignment ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -207,7 +250,7 @@ The linked role eligibility schedule id - to activate an eligibility. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -238,7 +281,7 @@ The principal ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -253,8 +296,8 @@ The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -269,7 +312,7 @@ The role definition ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -284,7 +327,7 @@ Start DateTime of the role assignment schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -316,7 +359,7 @@ The resultant role assignment schedule id or the role assignment schedule id bei ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -331,7 +374,7 @@ The role assignment schedule instance id being updated ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -346,7 +389,7 @@ Ticket number for the role assignment ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -361,7 +404,7 @@ Ticket system name for the role assignment ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -409,7 +452,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleRequest ## NOTES diff --git a/src/Resources/Resources/help/New-AzRoleEligibilityScheduleRequest.md b/src/Resources/Resources/help/New-AzRoleEligibilityScheduleRequest.md index 02ecb6d9b890..84ebb49040d3 100644 --- a/src/Resources/Resources/help/New-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Resources/help/New-AzRoleEligibilityScheduleRequest.md @@ -8,22 +8,35 @@ schema: 2.0.0 # New-AzRoleEligibilityScheduleRequest ## SYNOPSIS -Creates a role eligibility schedule request. +Create a role eligibility schedule request. ## SYNTAX +### CreateExpanded (Default) ``` New-AzRoleEligibilityScheduleRequest -Name -Scope [-Condition ] [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] - [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] + [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] [-TargetRoleEligibilityScheduleId ] [-TargetRoleEligibilityScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzRoleEligibilityScheduleRequest -Name -Scope -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzRoleEligibilityScheduleRequest -Name -Scope -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION -Creates a role eligibility schedule request. +Create a role eligibility schedule request. ## EXAMPLES @@ -68,7 +81,7 @@ e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:Contai ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -84,7 +97,7 @@ Currently accepted value is '2.0' ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -115,7 +128,7 @@ Duration of the role eligibility schedule in TimeSpan. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -130,7 +143,7 @@ End DateTime of the role eligibility schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -144,8 +157,8 @@ Accept wildcard characters: False Type of the role eligibility schedule expiration ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -155,12 +168,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 +``` + ### -Justification Justification for the role eligibility ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -191,7 +234,7 @@ The principal ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -206,8 +249,8 @@ The type of the role assignment schedule request. Eg: SelfActivate, AdminAssign etc ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -222,7 +265,7 @@ The role definition ID. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -237,7 +280,7 @@ Start DateTime of the role eligibility schedule. ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -269,7 +312,7 @@ The resultant role eligibility schedule id or the role eligibility schedule id b ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -284,7 +327,7 @@ The role eligibility schedule instance id being updated ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -299,7 +342,7 @@ Ticket number for the role eligibility ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -314,7 +357,7 @@ Ticket system name for the role eligibility ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -362,7 +405,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleRequest ## NOTES diff --git a/src/Resources/Resources/help/New-AzRoleManagementPolicyAssignment.md b/src/Resources/Resources/help/New-AzRoleManagementPolicyAssignment.md index 52cddecb2bda..833fec38bc6f 100644 --- a/src/Resources/Resources/help/New-AzRoleManagementPolicyAssignment.md +++ b/src/Resources/Resources/help/New-AzRoleManagementPolicyAssignment.md @@ -12,12 +12,25 @@ Create a role management policy assignment ## SYNTAX +### CreateExpanded (Default) ``` New-AzRoleManagementPolicyAssignment -Name -Scope [-PolicyId ] [-RoleDefinitionId ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzRoleManagementPolicyAssignment -Name -Scope -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzRoleManagementPolicyAssignment -Name -Scope -JsonString + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ## DESCRIPTION Create a role management policy assignment @@ -53,6 +66,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name of format {guid_guid} the role management policy assignment to upsert. @@ -73,7 +116,7 @@ The policy id role management policy assignment. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -88,7 +131,7 @@ The role definition of management policy assignment. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -151,7 +194,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyAssignment +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyAssignment ## NOTES diff --git a/src/Resources/Resources/help/Remove-AzRoleManagementPolicy.md b/src/Resources/Resources/help/Remove-AzRoleManagementPolicy.md index c4e359ad3454..3217944dda69 100644 --- a/src/Resources/Resources/help/Remove-AzRoleManagementPolicy.md +++ b/src/Resources/Resources/help/Remove-AzRoleManagementPolicy.md @@ -61,7 +61,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Resources/help/Remove-AzRoleManagementPolicyAssignment.md b/src/Resources/Resources/help/Remove-AzRoleManagementPolicyAssignment.md index 959d4a42e532..d8a4474280ca 100644 --- a/src/Resources/Resources/help/Remove-AzRoleManagementPolicyAssignment.md +++ b/src/Resources/Resources/help/Remove-AzRoleManagementPolicyAssignment.md @@ -61,7 +61,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Resources/help/Stop-AzRoleAssignmentScheduleRequest.md b/src/Resources/Resources/help/Stop-AzRoleAssignmentScheduleRequest.md index 92be5b063b92..7c1be537aba7 100644 --- a/src/Resources/Resources/help/Stop-AzRoleAssignmentScheduleRequest.md +++ b/src/Resources/Resources/help/Stop-AzRoleAssignmentScheduleRequest.md @@ -58,7 +58,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Resources/help/Stop-AzRoleEligibilityScheduleRequest.md b/src/Resources/Resources/help/Stop-AzRoleEligibilityScheduleRequest.md index a7df14d1efed..5e125405a335 100644 --- a/src/Resources/Resources/help/Stop-AzRoleEligibilityScheduleRequest.md +++ b/src/Resources/Resources/help/Stop-AzRoleEligibilityScheduleRequest.md @@ -58,7 +58,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.Resources.Authorization.Models.IAuthorizationIdentity diff --git a/src/Resources/Resources/help/Update-AzRoleAssignmentScheduleRequest.md b/src/Resources/Resources/help/Update-AzRoleAssignmentScheduleRequest.md new file mode 100644 index 000000000000..035af0e0ee08 --- /dev/null +++ b/src/Resources/Resources/help/Update-AzRoleAssignmentScheduleRequest.md @@ -0,0 +1,397 @@ +--- +external help file: Az.Resources-help.xml +Module Name: Az.Resources +online version: https://learn.microsoft.com/powershell/module/az.resources/update-azroleassignmentschedulerequest +schema: 2.0.0 +--- + +# Update-AzRoleAssignmentScheduleRequest + +## SYNOPSIS +Update a role assignment schedule request. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzRoleAssignmentScheduleRequest -Name -Scope [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] + [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] + [-ScheduleInfoStartDateTime ] [-TargetRoleAssignmentScheduleId ] + [-TargetRoleAssignmentScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzRoleAssignmentScheduleRequest -InputObject [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-LinkedRoleEligibilityScheduleId ] + [-PrincipalId ] [-RequestType ] [-RoleDefinitionId ] + [-ScheduleInfoStartDateTime ] [-TargetRoleAssignmentScheduleId ] + [-TargetRoleAssignmentScheduleInstanceId ] [-TicketNumber ] [-TicketSystem ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a role assignment schedule request. + +## EXAMPLES + +### Example 1: Update a new role assignment schedule request as Admin +```powershell +$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" +$startTime = Get-Date -Format o +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleAssignmentScheduleRequest -Name $guid -Scope $scope -ExpirationDuration PT1H -ExpirationType AfterDuration -PrincipalId 5a4bdd72-ab3e-4d8e-ab0f-8dd8917481a2 -RequestType AdminAssign -RoleDefinitionId subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7 -ScheduleInfoStartDateTime $startTime +``` + +```output +Name Type Scope RoleDefinitionId +---- ---- ----- ---------------- +12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca Microsoft.Authorization/roleAssignmentScheduleRequests /subscriptions/11111111-2222-3333-4444-123456789101 /subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authori… +``` + +Updates a request to provision an active assignment of `roleDefinition` on the `scope` for the specified `principal` + +## PARAMETERS + +### -Condition +The conditions on the role assignment. +This limits the resources it can be assigned to. +e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConditionVersion +Version of the condition. +Currently accepted value is '2.0' + +```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 +``` + +### -ExpirationDuration +Duration of the role assignment schedule in TimeSpan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationEndDateTime +End DateTime of the role assignment schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationType +Type of the role assignment schedule expiration + +```yaml +Type: System.String +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.Resources.Authorization.Models.IAuthorizationIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Justification +Justification for the role assignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LinkedRoleEligibilityScheduleId +The linked role eligibility schedule id - to activate an eligibility. + +```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 name of the role assignment to create. +It can be any valid GUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RoleAssignmentScheduleRequestName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalId +The principal ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequestType +The type of the role assignment schedule request. +Eg: SelfActivate, AdminAssign etc + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RoleDefinitionId +The role definition ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleInfoStartDateTime +Start DateTime of the role assignment schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the role assignment schedule request to create. +The scope can be any REST resource instance. +For example, use '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleAssignmentScheduleId +The resultant role assignment schedule id or the role assignment schedule id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleAssignmentScheduleInstanceId +The role assignment schedule instance id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketNumber +Ticket number for the role assignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketSystem +Ticket system name for the role assignment + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleAssignmentScheduleRequest + +## NOTES + +## RELATED LINKS diff --git a/src/Resources/Resources/help/Update-AzRoleEligibilityScheduleRequest.md b/src/Resources/Resources/help/Update-AzRoleEligibilityScheduleRequest.md new file mode 100644 index 000000000000..5897b5153653 --- /dev/null +++ b/src/Resources/Resources/help/Update-AzRoleEligibilityScheduleRequest.md @@ -0,0 +1,382 @@ +--- +external help file: Az.Resources-help.xml +Module Name: Az.Resources +online version: https://learn.microsoft.com/powershell/module/az.resources/update-azroleeligibilityschedulerequest +schema: 2.0.0 +--- + +# Update-AzRoleEligibilityScheduleRequest + +## SYNOPSIS +Update a role eligibility schedule request. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzRoleEligibilityScheduleRequest -Name -Scope [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] + [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] + [-TargetRoleEligibilityScheduleId ] [-TargetRoleEligibilityScheduleInstanceId ] + [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzRoleEligibilityScheduleRequest -InputObject [-Condition ] + [-ConditionVersion ] [-ExpirationDuration ] [-ExpirationEndDateTime ] + [-ExpirationType ] [-Justification ] [-PrincipalId ] [-RequestType ] + [-RoleDefinitionId ] [-ScheduleInfoStartDateTime ] + [-TargetRoleEligibilityScheduleId ] [-TargetRoleEligibilityScheduleInstanceId ] + [-TicketNumber ] [-TicketSystem ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a role eligibility schedule request. + +## EXAMPLES + +### Example 1: Update a new role eligibile schedule request as Admin +```powershell +$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca" +$startTime = Get-Date -Format o +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleEligibilityScheduleRequest -Name $guid -Scope $scope -ExpirationDuration PT1H -ExpirationType AfterDuration -PrincipalId 5a4bdd72-ab3e-4d8e-ab0f-8dd8917481a2 -RequestType AdminAssign -RoleDefinitionId subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7 -ScheduleInfoStartDateTime $startTime +``` + +```output +Name Type Scope RoleDefinitionId +---- ---- ----- ---------------- +12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca Microsoft.Authorization/roleEligibilityScheduleRequests /subscriptions/11111111-2222-3333-4444-123456789101 /subscriptions/11111111-2222-3333-4444-123456789101/providers/Microsoft.Authori… +``` + +Updates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal` + +## PARAMETERS + +### -Condition +The conditions on the role assignment. +This limits the resources it can be assigned to. +e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConditionVersion +Version of the condition. +Currently accepted value is '2.0' + +```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 +``` + +### -ExpirationDuration +Duration of the role eligibility schedule in TimeSpan. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationEndDateTime +End DateTime of the role eligibility schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpirationType +Type of the role eligibility schedule expiration + +```yaml +Type: System.String +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.Resources.Authorization.Models.IAuthorizationIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Justification +Justification for the role eligibility + +```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 name of the role eligibility to create. +It can be any valid GUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RoleEligibilityScheduleRequestName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalId +The principal ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequestType +The type of the role assignment schedule request. +Eg: SelfActivate, AdminAssign etc + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RoleDefinitionId +The role definition ID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleInfoStartDateTime +Start DateTime of the role eligibility schedule. + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Scope +The scope of the role eligibility schedule request to create. +The scope can be any REST resource instance. +For example, use '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/' for a subscription, '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/providers/Microsoft.Subscription/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleEligibilityScheduleId +The resultant role eligibility schedule id or the role eligibility schedule id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetRoleEligibilityScheduleInstanceId +The role eligibility schedule instance id being updated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketNumber +Ticket number for the role eligibility + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TicketSystem +Ticket system name for the role eligibility + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IAuthorizationIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleEligibilityScheduleRequest + +## NOTES + +## RELATED LINKS diff --git a/src/Resources/Resources/help/Update-AzRoleManagementPolicy.md b/src/Resources/Resources/help/Update-AzRoleManagementPolicy.md index d389400d7933..b3bd70170f66 100644 --- a/src/Resources/Resources/help/Update-AzRoleManagementPolicy.md +++ b/src/Resources/Resources/help/Update-AzRoleManagementPolicy.md @@ -19,6 +19,18 @@ Update-AzRoleManagementPolicy -Name -Scope [-Description ] ``` +### UpdateViaJsonString +``` +Update-AzRoleManagementPolicy -Name -Scope -JsonString [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzRoleManagementPolicy -Name -Scope -JsonFilePath + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzRoleManagementPolicy -InputObject [-Description ] @@ -123,7 +135,7 @@ The role management policy description. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -138,7 +150,7 @@ The role management policy display name. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -150,7 +162,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.Resources.Authorization.Models.IAuthorizationIdentity @@ -169,7 +180,7 @@ The role management policy is default policy. ```yaml Type: System.Management.Automation.SwitchParameter -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -179,12 +190,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name The name (guid) of the role management policy to upsert. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: RoleManagementPolicyName Required: True @@ -196,11 +237,10 @@ Accept wildcard characters: False ### -Rule The rule applied to the policy. -To construct, see NOTES section for RULE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -215,7 +255,7 @@ The scope of the role management policy to upsert. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -265,7 +305,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicy ## NOTES diff --git a/src/Resources/Resources/help/Update-AzRoleManagementPolicyAssignment.md b/src/Resources/Resources/help/Update-AzRoleManagementPolicyAssignment.md new file mode 100644 index 000000000000..699c7dbdde04 --- /dev/null +++ b/src/Resources/Resources/help/Update-AzRoleManagementPolicyAssignment.md @@ -0,0 +1,183 @@ +--- +external help file: Az.Resources-help.xml +Module Name: Az.Resources +online version: https://learn.microsoft.com/powershell/module/az.resources/update-azrolemanagementpolicyassignment +schema: 2.0.0 +--- + +# Update-AzRoleManagementPolicyAssignment + +## SYNOPSIS +Update a role management policy assignment + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzRoleManagementPolicyAssignment -Name -Scope [-PolicyId ] + [-RoleDefinitionId ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzRoleManagementPolicyAssignment -InputObject [-PolicyId ] + [-RoleDefinitionId ] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Update a role management policy assignment + +## EXAMPLES + +### Example 1: update role management policy assignment +```powershell +$scope = "/subscriptions/11111111-2222-3333-4444-123456789101/" +Update-AzRoleManagementPolicyAssignment -Scope $scope -Name "11111111-2222-3333-4444-123456789102" +``` + +```output +"Not implemented exception" +``` + +This operation is currently not supported. + +## PARAMETERS + +### -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.Resources.Authorization.Models.IAuthorizationIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of format {guid_guid} the role management policy assignment to upsert. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: RoleManagementPolicyAssignmentName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +The policy id role management policy assignment. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RoleDefinitionId +The role definition of management policy assignment. + +```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 role management policy assignment to upsert. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +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.Resources.Authorization.Models.IAuthorizationIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyAssignment + +## NOTES + +## RELATED LINKS diff --git a/tools/StaticAnalysis/Exceptions/Az.Resources/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Resources/BreakingChangeIssues.csv new file mode 100644 index 000000000000..ca80e178ed6a --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.Resources/BreakingChangeIssues.csv @@ -0,0 +1,48 @@ +"Module","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.Resources","Get-AzRoleAssignmentSchedule","Get-AzRoleAssignmentSchedule","0","3000","The type of property 'AssignmentType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentSchedule' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.AssignmentType]' to 'System.String'.","Change the type of property 'AssignmentType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.AssignmentType]'." +"Az.Resources","Get-AzRoleAssignmentSchedule","Get-AzRoleAssignmentSchedule","0","3000","The type of property 'MemberType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentSchedule' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]' to 'System.String'.","Change the type of property 'MemberType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]'." +"Az.Resources","Get-AzRoleAssignmentSchedule","Get-AzRoleAssignmentSchedule","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentSchedule' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","Get-AzRoleAssignmentSchedule","Get-AzRoleAssignmentSchedule","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentSchedule' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","Get-AzRoleAssignmentScheduleInstance","Get-AzRoleAssignmentScheduleInstance","0","3000","The type of property 'AssignmentType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstance' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.AssignmentType]' to 'System.String'.","Change the type of property 'AssignmentType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.AssignmentType]'." +"Az.Resources","Get-AzRoleAssignmentScheduleInstance","Get-AzRoleAssignmentScheduleInstance","0","3000","The type of property 'MemberType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstance' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]' to 'System.String'.","Change the type of property 'MemberType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]'." +"Az.Resources","Get-AzRoleAssignmentScheduleInstance","Get-AzRoleAssignmentScheduleInstance","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstance' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","Get-AzRoleAssignmentScheduleInstance","Get-AzRoleAssignmentScheduleInstance","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleInstance' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","Get-AzRoleAssignmentScheduleRequest","Get-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","Get-AzRoleAssignmentScheduleRequest","Get-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'RequestType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]' to 'System.String'.","Change the type of property 'RequestType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]'." +"Az.Resources","Get-AzRoleAssignmentScheduleRequest","Get-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","Get-AzRoleAssignmentScheduleRequest","Get-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'ExpirationType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]' to 'System.String'.","Change the type of property 'ExpirationType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]'." +"Az.Resources","Get-AzRoleEligibilitySchedule","Get-AzRoleEligibilitySchedule","0","3000","The type of property 'MemberType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilitySchedule' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]' to 'System.String'.","Change the type of property 'MemberType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]'." +"Az.Resources","Get-AzRoleEligibilitySchedule","Get-AzRoleEligibilitySchedule","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilitySchedule' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","Get-AzRoleEligibilitySchedule","Get-AzRoleEligibilitySchedule","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilitySchedule' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","Get-AzRoleEligibilityScheduleInstance","Get-AzRoleEligibilityScheduleInstance","0","3000","The type of property 'MemberType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleInstance' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]' to 'System.String'.","Change the type of property 'MemberType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.MemberType]'." +"Az.Resources","Get-AzRoleEligibilityScheduleInstance","Get-AzRoleEligibilityScheduleInstance","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleInstance' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","Get-AzRoleEligibilityScheduleInstance","Get-AzRoleEligibilityScheduleInstance","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleInstance' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","Get-AzRoleEligibilityScheduleRequest","Get-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","Get-AzRoleEligibilityScheduleRequest","Get-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'RequestType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]' to 'System.String'.","Change the type of property 'RequestType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]'." +"Az.Resources","Get-AzRoleEligibilityScheduleRequest","Get-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","Get-AzRoleEligibilityScheduleRequest","Get-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'ExpirationType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]' to 'System.String'.","Change the type of property 'ExpirationType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]'." +"Az.Resources","Get-AzRoleEligibleChildResource","Get-AzRoleEligibleChildResource","0","2000","The cmdlet 'Get-AzRoleEligibleChildResource' no longer supports the parameter 'InputObject' and no alias was found for the original parameter name.","Add the parameter 'InputObject' back to the cmdlet 'Get-AzRoleEligibleChildResource', or add an alias to the original parameter name." +"Az.Resources","Get-AzRoleEligibleChildResource","Get-AzRoleEligibleChildResource","0","1050","The parameter set 'GetViaIdentity' for cmdlet 'Get-AzRoleEligibleChildResource' has been removed.","Add parameter set 'GetViaIdentity' back to cmdlet 'Get-AzRoleEligibleChildResource'." +"Az.Resources","Get-AzRoleEligibleChildResource","Get-AzRoleEligibleChildResource","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Get-AzRoleEligibleChildResource' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Get-AzRoleEligibleChildResource'." +"Az.Resources","Get-AzRoleManagementPolicy","Get-AzRoleManagementPolicy","0","3000","The type of property 'EffectiveRule' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule]'.","Change the type of property 'EffectiveRule' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule'." +"Az.Resources","Get-AzRoleManagementPolicy","Get-AzRoleManagementPolicy","0","3000","The type of property 'Rule' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule]'.","Change the type of property 'Rule' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule'." +"Az.Resources","New-AzRoleAssignmentScheduleRequest","New-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","New-AzRoleAssignmentScheduleRequest","New-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'RequestType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]' to 'System.String'.","Change the type of property 'RequestType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]'." +"Az.Resources","New-AzRoleAssignmentScheduleRequest","New-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","New-AzRoleAssignmentScheduleRequest","New-AzRoleAssignmentScheduleRequest","0","3000","The type of property 'ExpirationType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleAssignmentScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]' to 'System.String'.","Change the type of property 'ExpirationType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]'." +"Az.Resources","New-AzRoleAssignmentScheduleRequest","New-AzRoleAssignmentScheduleRequest","0","2020","The cmdlet 'New-AzRoleAssignmentScheduleRequest' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type' for parameter 'ExpirationType'.","Change the type for parameter 'ExpirationType' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type'." +"Az.Resources","New-AzRoleAssignmentScheduleRequest","New-AzRoleAssignmentScheduleRequest","0","2020","The cmdlet 'New-AzRoleAssignmentScheduleRequest' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType' for parameter 'RequestType'.","Change the type for parameter 'RequestType' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType'." +"Az.Resources","New-AzRoleEligibilityScheduleRequest","New-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'PrincipalType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]' to 'System.String'.","Change the type of property 'PrincipalType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.PrincipalType]'." +"Az.Resources","New-AzRoleEligibilityScheduleRequest","New-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'RequestType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]' to 'System.String'.","Change the type of property 'RequestType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType]'." +"Az.Resources","New-AzRoleEligibilityScheduleRequest","New-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'Status' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]' to 'System.String'.","Change the type of property 'Status' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Status]'." +"Az.Resources","New-AzRoleEligibilityScheduleRequest","New-AzRoleEligibilityScheduleRequest","0","3000","The type of property 'ExpirationType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleEligibilityScheduleRequest' has changed from 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]' to 'System.String'.","Change the type of property 'ExpirationType' back to 'System.Nullable`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type]'." +"Az.Resources","New-AzRoleEligibilityScheduleRequest","New-AzRoleEligibilityScheduleRequest","0","2020","The cmdlet 'New-AzRoleEligibilityScheduleRequest' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type' for parameter 'ExpirationType'.","Change the type for parameter 'ExpirationType' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.Type'." +"Az.Resources","New-AzRoleEligibilityScheduleRequest","New-AzRoleEligibilityScheduleRequest","0","2020","The cmdlet 'New-AzRoleEligibilityScheduleRequest' no longer supports the type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType' for parameter 'RequestType'.","Change the type for parameter 'RequestType' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RequestType'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","3000","The type of property 'EffectiveRule' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule]'.","Change the type of property 'EffectiveRule' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","3000","The type of property 'Rule' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicy' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule' to 'System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule]'.","Change the type of property 'Rule' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.IRoleManagementPolicyRule'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","3000","The type of property 'RuleType' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule' has changed from 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RoleManagementPolicyRuleType' to 'System.String'.","Change the type of property 'RuleType' back to 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Support.RoleManagementPolicyRuleType'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","3000","The type of property 'TargetEnforcedSetting' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'TargetEnforcedSetting' back to 'System.String[]'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","3000","The type of property 'TargetInheritableSetting' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'TargetInheritableSetting' back to 'System.String[]'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","3000","The type of property 'TargetObject' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'TargetObject' back to 'System.String[]'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","3000","The type of property 'TargetOperation' of type 'Microsoft.Azure.PowerShell.Cmdlets.Resources.Authorization.Models.Api20201001Preview.IRoleManagementPolicyRule' has changed from 'System.String[]' to 'System.Collections.Generic.List`1[System.String]'.","Change the type of property 'TargetOperation' back to 'System.String[]'." +"Az.Resources","Update-AzRoleManagementPolicy","Update-AzRoleManagementPolicy","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzRoleManagementPolicy' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzRoleManagementPolicy'."