From cf9aa8bbc862026452cfbff415c1f3485de7936b Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Mon, 18 Oct 2021 18:38:48 -0700 Subject: [PATCH 1/8] Get-AzPolicyAlias: optmize common path for single namespace --- .../Policy/GetAzurePolicyAliasCmdlet.cs | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAliasCmdlet.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAliasCmdlet.cs index 46f8191b3433..7ae0c74dc7fb 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAliasCmdlet.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAliasCmdlet.cs @@ -112,6 +112,20 @@ private bool IsMatch(string input, string match) return string.IsNullOrEmpty(match) || this.IsStringMatch(input, match); } + private IEnumerable GetProvider(string namespaceMatch) + { + try + { + var tempResult = this.ResourceManagerSdkClient.ResourceManagementClient.Providers.GetAtTenantScope(resourceProviderNamespace: namespaceMatch, expand: "resourceTypes/aliases"); + return Enumerable.Repeat(tempResult, 1); + } + catch (Exception) + { + } + + return Enumerable.Empty(); + } + private IEnumerable GetAllProviders() { var returnList = new List(); @@ -166,10 +180,15 @@ private bool FilterFunction(ProviderResourceType providerResourceType, bool list private IEnumerable GetProviderResourceTypes(bool listAvailable, string namespaceMatch, string resourceTypeMatch, string aliasMatch, string pathMatch, string apiVersionMatch, string locationMatch) { - var allProviders = this.GetAllProviders(); - var providers = this.GetMatchingProviders(allProviders, namespaceMatch, resourceTypeMatch); + var providers = this.GetProvider(namespaceMatch); + if (!providers.Any()) + { + providers = this.GetAllProviders(); + } + + var matchingProviders = this.GetMatchingProviders(providers, namespaceMatch, resourceTypeMatch); var rv = new List(); - foreach (var provider in providers) + foreach (var provider in matchingProviders) { var match = provider.ResourceTypes.Where(r => this.FilterFunction(r, listAvailable, resourceTypeMatch, aliasMatch, pathMatch, apiVersionMatch, locationMatch)); rv.AddRange(match.Select(t => new PsResourceProviderAlias { Aliases = t.Aliases, ApiVersions = t.ApiVersions, Locations = t.Locations, Namespace = provider.NamespaceProperty, ResourceType = t.ResourceType })); From 9f2a97a6fe3a61438f0f52af719c0df64491eb5e Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Mon, 18 Oct 2021 18:46:28 -0700 Subject: [PATCH 2/8] Update changelog. --- src/Resources/Resources/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 9683bcaf3d78..73b18fc63c26 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,6 +20,7 @@ ## Upcoming Release * Added property `UIFormDefinition` to Template Spec Versions, `Export-AzTemplateSpec` will now include a Template Spec Version's UIFormDefinition (if any) as part of the export. +* Performance improvement for Get-AzPolicyAlias when -NamespaceMatch matches a single RP namespace ## Version 4.4.0 * Added a clearer error message for a case in which TemplateUri do not accept bicep file. From a02f7bc7d9ec28813ecd0afdf21f1b325edc3cc2 Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Fri, 7 Jan 2022 16:21:21 -0800 Subject: [PATCH 3/8] Fox for https://github.com/Azure/azure-powershell/issues/15828 --- .../Policy/SetAzurePolicyAssignment.cs | 2 +- .../ScenarioTests/PolicyTests.ps1 | 4 + .../TestSetPolicyAssignmentParameters.json | 943 ++++++++++-------- 3 files changed, 509 insertions(+), 440 deletions(-) diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs index bb2bf5478438..e478363b58c9 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs @@ -58,7 +58,7 @@ public class SetAzurePolicyAssignmentCmdlet : PolicyCmdletBase /// Gets or sets the policy assignment not scopes parameter. /// [Parameter(Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = PolicyHelpStrings.SetPolicyAssignmentNotScopesHelp)] - [ValidateNotNullOrEmpty] + [ValidateNotNull] public string[] NotScope { get; set; } /// diff --git a/src/Resources/Resources.Test/ScenarioTests/PolicyTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/PolicyTests.ps1 index ef599bfac9d0..476992389809 100644 --- a/src/Resources/Resources.Test/ScenarioTests/PolicyTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/PolicyTests.ps1 @@ -1735,6 +1735,7 @@ $someDisplayName = "Some display name" # exception strings $parameterSetError = 'Parameter set cannot be resolved using the specified named parameters.' +$parameterNullError = '. The argument is null. Provide a valid value for the argument, and then try running the command again.' $missingParameters = 'Cannot process command because of one or more missing mandatory parameters:' $onlyDefinitionOrSetDefinition = 'Only one of PolicyDefinition or PolicySetDefinition can be specified, not both.' $policyAssignmentNotFound = 'PolicyAssignmentNotFound : ' @@ -1877,6 +1878,7 @@ function Test-SetPolicyAssignmentParameters $someParameters = '{ "someKindaParameter": { "value": [ "Mmmm", "Doh!" ] } }' $someLocation = 'west us' $someNotScope = 'not scope' + $emptyNotScope = @() # validate with no parameters Assert-ThrowsContains { Set-AzPolicyAssignment } $missingParameters @@ -1885,6 +1887,8 @@ function Test-SetPolicyAssignmentParameters Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName } $policyAssignmentNotFound Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName -Scope $goodScope } $policyAssignmentNotFound Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName -NotScope $someNotScope } $policyAssignmentNotFound + Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName -NotScope $emptyNotScope } $policyAssignmentNotFound + Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName -NotScope $null } $parameterNullError Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName -Id $someId } $parameterSetError Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName -DisplayName $someDisplayName } $policyAssignmentNotFound Assert-ThrowsContains { Set-AzPolicyAssignment -Name $someName -Description $description } $policyAssignmentNotFound diff --git a/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestSetPolicyAssignmentParameters.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestSetPolicyAssignmentParameters.json index 6a1aac4de5e6..f5a7ec52a942 100644 --- a/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestSetPolicyAssignmentParameters.json +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.PolicyTests/TestSetPolicyAssignmentParameters.json @@ -1,15 +1,15 @@ { "Entries": [ { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -26,19 +26,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "770af26a-41e6-4e8d-8b24-f08c53ad2baa" + "7d7d1c27-7c76-41ba-b736-fc64e4f159eb" ], "x-ms-correlation-request-id": [ - "770af26a-41e6-4e8d-8b24-f08c53ad2baa" + "7d7d1c27-7c76-41ba-b736-fc64e4f159eb" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231825Z:770af26a-41e6-4e8d-8b24-f08c53ad2baa" + "WESTUS:20220107T232328Z:7d7d1c27-7c76-41ba-b736-fc64e4f159eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -47,7 +47,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:24 GMT" + "Fri, 07 Jan 2022 23:23:27 GMT" ], "Content-Length": [ "104" @@ -66,15 +66,15 @@ "StatusCode": 404 }, { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -91,19 +91,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "3905c0c2-e637-436b-9c19-3f63472ddb17" + "cbbe1aa7-577f-4ba4-ba9a-c95e910451e5" ], "x-ms-correlation-request-id": [ - "3905c0c2-e637-436b-9c19-3f63472ddb17" + "cbbe1aa7-577f-4ba4-ba9a-c95e910451e5" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231825Z:3905c0c2-e637-436b-9c19-3f63472ddb17" + "WESTUS:20220107T232328Z:cbbe1aa7-577f-4ba4-ba9a-c95e910451e5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -112,7 +112,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:25 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Length": [ "104" @@ -131,15 +131,15 @@ "StatusCode": 404 }, { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -156,19 +156,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "efbf563f-4d16-480f-ab03-833c58bf7d17" + "eeb7a4da-ed3f-4f91-8e9b-efeea89435d5" ], "x-ms-correlation-request-id": [ - "efbf563f-4d16-480f-ab03-833c58bf7d17" + "eeb7a4da-ed3f-4f91-8e9b-efeea89435d5" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231826Z:efbf563f-4d16-480f-ab03-833c58bf7d17" + "WESTUS:20220107T232328Z:eeb7a4da-ed3f-4f91-8e9b-efeea89435d5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -177,7 +177,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:25 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Length": [ "104" @@ -196,15 +196,15 @@ "StatusCode": 404 }, { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -221,19 +221,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "86d1600e-4314-4674-8cd7-ab4f0e571310" + "8fd850ca-ab03-43fe-bfbd-3311c910bded" ], "x-ms-correlation-request-id": [ - "86d1600e-4314-4674-8cd7-ab4f0e571310" + "8fd850ca-ab03-43fe-bfbd-3311c910bded" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231826Z:86d1600e-4314-4674-8cd7-ab4f0e571310" + "WESTUS:20220107T232328Z:8fd850ca-ab03-43fe-bfbd-3311c910bded" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -242,7 +242,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:25 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Length": [ "104" @@ -261,15 +261,15 @@ "StatusCode": 404 }, { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -286,19 +286,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "850c2b60-6067-473c-ac2d-0427d2b97229" + "0676e57f-617b-4cef-b615-ac50fc7544db" ], "x-ms-correlation-request-id": [ - "850c2b60-6067-473c-ac2d-0427d2b97229" + "0676e57f-617b-4cef-b615-ac50fc7544db" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231826Z:850c2b60-6067-473c-ac2d-0427d2b97229" + "WESTUS:20220107T232328Z:0676e57f-617b-4cef-b615-ac50fc7544db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -307,7 +307,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:26 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Length": [ "104" @@ -326,15 +326,80 @@ "StatusCode": 404 }, { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" + ], + "ParameterSetName": [ + "NameParameterSet" + ], + "CommandName": [ + "Set-AzPolicyAssignment" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-store, no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "Server": [ + "Kestrel" + ], + "x-ms-request-id": [ + "0ae8c238-69f6-403f-a70d-7c5f66cae44a" + ], + "x-ms-correlation-request-id": [ + "0ae8c238-69f6-403f-a70d-7c5f66cae44a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20220107T232329Z:0ae8c238-69f6-403f-a70d-7c5f66cae44a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 07 Jan 2022 23:23:28 GMT" + ], + "Content-Length": [ + "104" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"PolicyAssignmentNotFound\",\r\n \"message\": \"The policy assignment 'someName' is not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "AzurePowershell/v5.4.0", + "PSVersion/v3.0.0.0", + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -351,19 +416,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "b048bb6d-f57e-4a46-9924-e3e800fc3ccd" + "bf9d9675-ce09-48e2-b9dd-e3335687f5ae" ], "x-ms-correlation-request-id": [ - "b048bb6d-f57e-4a46-9924-e3e800fc3ccd" + "bf9d9675-ce09-48e2-b9dd-e3335687f5ae" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231827Z:b048bb6d-f57e-4a46-9924-e3e800fc3ccd" + "WESTUS:20220107T232329Z:bf9d9675-ce09-48e2-b9dd-e3335687f5ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -372,7 +437,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:26 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Length": [ "104" @@ -391,15 +456,15 @@ "StatusCode": 404 }, { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameStringParameterSet" @@ -416,19 +481,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "e162f6de-2a53-478a-aa5c-3011cc623228" + "fe3aeb71-3253-4df3-bc98-88f614d9d4bd" ], "x-ms-correlation-request-id": [ - "e162f6de-2a53-478a-aa5c-3011cc623228" + "fe3aeb71-3253-4df3-bc98-88f614d9d4bd" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231827Z:e162f6de-2a53-478a-aa5c-3011cc623228" + "WESTUS:20220107T232329Z:fe3aeb71-3253-4df3-bc98-88f614d9d4bd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -437,7 +502,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:26 GMT" + "Fri, 07 Jan 2022 23:23:29 GMT" ], "Content-Length": [ "104" @@ -456,15 +521,15 @@ "StatusCode": 404 }, { - "RequestUri": "/Subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/Subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -481,19 +546,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "92946426-9c6b-44a7-93e6-154f61ca7af2" + "b65c3365-b9a5-4bb3-a029-0041566c21f7" ], "x-ms-correlation-request-id": [ - "92946426-9c6b-44a7-93e6-154f61ca7af2" + "b65c3365-b9a5-4bb3-a029-0041566c21f7" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231827Z:92946426-9c6b-44a7-93e6-154f61ca7af2" + "WESTUS:20220107T232329Z:b65c3365-b9a5-4bb3-a029-0041566c21f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -502,7 +567,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:26 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Length": [ "104" @@ -521,15 +586,15 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyassignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lhc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -546,19 +611,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "9a7f9c43-29cf-414a-aae0-92d71e0d050b" + "944c791d-d3e1-47b9-b96a-10524d9ec2fa" ], "x-ms-correlation-request-id": [ - "9a7f9c43-29cf-414a-aae0-92d71e0d050b" + "944c791d-d3e1-47b9-b96a-10524d9ec2fa" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231825Z:9a7f9c43-29cf-414a-aae0-92d71e0d050b" + "WESTUS:20220107T232328Z:944c791d-d3e1-47b9-b96a-10524d9ec2fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -567,7 +632,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:25 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Length": [ "104" @@ -592,9 +657,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -614,13 +679,13 @@ "gateway" ], "x-ms-request-id": [ - "720cceef-9cea-4d4d-b90e-3d8b964db064" + "3ebbc24e-808f-428b-b4f2-e1750a407ca6" ], "x-ms-correlation-request-id": [ - "720cceef-9cea-4d4d-b90e-3d8b964db064" + "3ebbc24e-808f-428b-b4f2-e1750a407ca6" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231827Z:720cceef-9cea-4d4d-b90e-3d8b964db064" + "WESTUS:20220107T232329Z:3ebbc24e-808f-428b-b4f2-e1750a407ca6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -629,7 +694,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:26 GMT" + "Fri, 07 Jan 2022 23:23:28 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -654,9 +719,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -676,13 +741,13 @@ "gateway" ], "x-ms-request-id": [ - "4b776931-b68a-443d-b846-4dfe433b92f7" + "1e455c28-36d5-4d3d-b220-23b8512fedf2" ], "x-ms-correlation-request-id": [ - "4b776931-b68a-443d-b846-4dfe433b92f7" + "1e455c28-36d5-4d3d-b220-23b8512fedf2" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231827Z:4b776931-b68a-443d-b846-4dfe433b92f7" + "WESTUS:20220107T232329Z:1e455c28-36d5-4d3d-b220-23b8512fedf2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -691,7 +756,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:27 GMT" + "Fri, 07 Jan 2022 23:23:29 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -716,9 +781,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -738,13 +803,13 @@ "gateway" ], "x-ms-request-id": [ - "d919cc8e-cfc4-4e25-8ddf-5c2e973f863d" + "9c0405ac-7910-459c-b8c2-1ef3aaaa190b" ], "x-ms-correlation-request-id": [ - "d919cc8e-cfc4-4e25-8ddf-5c2e973f863d" + "9c0405ac-7910-459c-b8c2-1ef3aaaa190b" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231827Z:d919cc8e-cfc4-4e25-8ddf-5c2e973f863d" + "WESTUS:20220107T232330Z:9c0405ac-7910-459c-b8c2-1ef3aaaa190b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -753,7 +818,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:27 GMT" + "Fri, 07 Jan 2022 23:23:29 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -778,9 +843,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -800,13 +865,13 @@ "gateway" ], "x-ms-request-id": [ - "e0022872-fe81-4f4c-a7fd-61a0589120fb" + "75efde9f-6d4d-44f2-babf-d726d12f6494" ], "x-ms-correlation-request-id": [ - "e0022872-fe81-4f4c-a7fd-61a0589120fb" + "75efde9f-6d4d-44f2-babf-d726d12f6494" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231828Z:e0022872-fe81-4f4c-a7fd-61a0589120fb" + "WESTUS:20220107T232330Z:75efde9f-6d4d-44f2-babf-d726d12f6494" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -815,7 +880,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:27 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -840,9 +905,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -862,13 +927,13 @@ "gateway" ], "x-ms-request-id": [ - "31ec2421-4781-4969-af80-5758cd241645" + "012c74a0-b55f-4603-91f4-73043fd898cf" ], "x-ms-correlation-request-id": [ - "31ec2421-4781-4969-af80-5758cd241645" + "012c74a0-b55f-4603-91f4-73043fd898cf" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231828Z:31ec2421-4781-4969-af80-5758cd241645" + "WESTUS:20220107T232330Z:012c74a0-b55f-4603-91f4-73043fd898cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -877,7 +942,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:27 GMT" + "Fri, 07 Jan 2022 23:23:29 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -902,9 +967,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameStringParameterSet" @@ -924,13 +989,13 @@ "gateway" ], "x-ms-request-id": [ - "06ca9012-68d1-4352-839f-c6448f26ff8f" + "c18e1f80-758b-466b-8e0e-97af50a1dbe0" ], "x-ms-correlation-request-id": [ - "06ca9012-68d1-4352-839f-c6448f26ff8f" + "c18e1f80-758b-466b-8e0e-97af50a1dbe0" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231828Z:06ca9012-68d1-4352-839f-c6448f26ff8f" + "WESTUS:20220107T232330Z:c18e1f80-758b-466b-8e0e-97af50a1dbe0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -939,7 +1004,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:27 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -964,9 +1029,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -986,13 +1051,13 @@ "gateway" ], "x-ms-request-id": [ - "cfa8bf5f-4fb5-443b-abbc-35392e113443" + "e4f312f2-eef8-40dd-8be4-0f8fcd634a5c" ], "x-ms-correlation-request-id": [ - "cfa8bf5f-4fb5-443b-abbc-35392e113443" + "e4f312f2-eef8-40dd-8be4-0f8fcd634a5c" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231828Z:cfa8bf5f-4fb5-443b-abbc-35392e113443" + "WESTUS:20220107T232330Z:e4f312f2-eef8-40dd-8be4-0f8fcd634a5c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1001,7 +1066,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1026,9 +1091,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1048,13 +1113,13 @@ "gateway" ], "x-ms-request-id": [ - "b663bf49-17fe-41c2-b68f-e7a13e41c40c" + "04e0fca2-c87b-4776-ae19-f71f43ea6f66" ], "x-ms-correlation-request-id": [ - "b663bf49-17fe-41c2-b68f-e7a13e41c40c" + "04e0fca2-c87b-4776-ae19-f71f43ea6f66" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231828Z:b663bf49-17fe-41c2-b68f-e7a13e41c40c" + "WESTUS:20220107T232330Z:04e0fca2-c87b-4776-ae19-f71f43ea6f66" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1063,7 +1128,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1088,9 +1153,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1110,13 +1175,13 @@ "gateway" ], "x-ms-request-id": [ - "26bb407b-16b4-4443-bdf6-b45c4c6ab3ad" + "237e90c4-e2bc-48e1-a4d1-bf32e9aab35c" ], "x-ms-correlation-request-id": [ - "26bb407b-16b4-4443-bdf6-b45c4c6ab3ad" + "237e90c4-e2bc-48e1-a4d1-bf32e9aab35c" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231828Z:26bb407b-16b4-4443-bdf6-b45c4c6ab3ad" + "WESTUS:20220107T232331Z:237e90c4-e2bc-48e1-a4d1-bf32e9aab35c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1125,7 +1190,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1150,9 +1215,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1172,13 +1237,13 @@ "gateway" ], "x-ms-request-id": [ - "787dcdaf-249f-483e-b299-5101ee3b1cdf" + "fe7b3b7b-bc80-4a89-822a-11b4591b623c" ], "x-ms-correlation-request-id": [ - "787dcdaf-249f-483e-b299-5101ee3b1cdf" + "fe7b3b7b-bc80-4a89-822a-11b4591b623c" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231829Z:787dcdaf-249f-483e-b299-5101ee3b1cdf" + "WESTUS:20220107T232331Z:fe7b3b7b-bc80-4a89-822a-11b4591b623c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1187,7 +1252,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1212,9 +1277,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -1234,13 +1299,13 @@ "gateway" ], "x-ms-request-id": [ - "af0551c3-27bb-4fe8-a43e-758dd7e8f474" + "fbe31135-3ee1-4028-92f9-c953874e90b3" ], "x-ms-correlation-request-id": [ - "af0551c3-27bb-4fe8-a43e-758dd7e8f474" + "fbe31135-3ee1-4028-92f9-c953874e90b3" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231829Z:af0551c3-27bb-4fe8-a43e-758dd7e8f474" + "WESTUS:20220107T232331Z:fbe31135-3ee1-4028-92f9-c953874e90b3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1249,7 +1314,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1274,9 +1339,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameStringParameterSet" @@ -1296,13 +1361,13 @@ "gateway" ], "x-ms-request-id": [ - "da447fdc-720e-471f-a9e1-1134ecdae7a1" + "6eb33d53-e236-4385-854d-00d7dda7fe3a" ], "x-ms-correlation-request-id": [ - "da447fdc-720e-471f-a9e1-1134ecdae7a1" + "6eb33d53-e236-4385-854d-00d7dda7fe3a" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231829Z:da447fdc-720e-471f-a9e1-1134ecdae7a1" + "WESTUS:20220107T232331Z:6eb33d53-e236-4385-854d-00d7dda7fe3a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1311,7 +1376,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1336,9 +1401,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1358,13 +1423,13 @@ "gateway" ], "x-ms-request-id": [ - "2e114327-6eb9-4d2d-b9b2-35792b6d6c44" + "38cd60c8-998f-41a7-99dc-fbf5340df0f9" ], "x-ms-correlation-request-id": [ - "2e114327-6eb9-4d2d-b9b2-35792b6d6c44" + "38cd60c8-998f-41a7-99dc-fbf5340df0f9" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231829Z:2e114327-6eb9-4d2d-b9b2-35792b6d6c44" + "WESTUS:20220107T232331Z:38cd60c8-998f-41a7-99dc-fbf5340df0f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1373,7 +1438,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:30 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1398,9 +1463,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1420,13 +1485,13 @@ "gateway" ], "x-ms-request-id": [ - "83eca57e-a97c-4f1f-9576-1f33352aa463" + "1b7b09c1-97df-43e4-98da-d974769869eb" ], "x-ms-correlation-request-id": [ - "83eca57e-a97c-4f1f-9576-1f33352aa463" + "1b7b09c1-97df-43e4-98da-d974769869eb" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231829Z:83eca57e-a97c-4f1f-9576-1f33352aa463" + "WESTUS:20220107T232331Z:1b7b09c1-97df-43e4-98da-d974769869eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1435,7 +1500,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:28 GMT" + "Fri, 07 Jan 2022 23:23:31 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1460,9 +1525,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1482,13 +1547,13 @@ "gateway" ], "x-ms-request-id": [ - "41eaf18f-5603-47c0-90d5-d3aa9b187425" + "98100ae6-5989-4e71-b920-a039d16c9d22" ], "x-ms-correlation-request-id": [ - "41eaf18f-5603-47c0-90d5-d3aa9b187425" + "98100ae6-5989-4e71-b920-a039d16c9d22" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231829Z:41eaf18f-5603-47c0-90d5-d3aa9b187425" + "WESTUS:20220107T232331Z:98100ae6-5989-4e71-b920-a039d16c9d22" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1497,7 +1562,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:29 GMT" + "Fri, 07 Jan 2022 23:23:31 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1522,9 +1587,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -1544,13 +1609,13 @@ "gateway" ], "x-ms-request-id": [ - "a2093299-9945-4287-b471-dea253d42661" + "b1285a8e-4780-40d5-b49d-205fd39a07aa" ], "x-ms-correlation-request-id": [ - "a2093299-9945-4287-b471-dea253d42661" + "b1285a8e-4780-40d5-b49d-205fd39a07aa" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231829Z:a2093299-9945-4287-b471-dea253d42661" + "WESTUS:20220107T232332Z:b1285a8e-4780-40d5-b49d-205fd39a07aa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1559,7 +1624,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:29 GMT" + "Fri, 07 Jan 2022 23:23:31 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1584,9 +1649,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameStringParameterSet" @@ -1606,13 +1671,13 @@ "gateway" ], "x-ms-request-id": [ - "3d4c1d7a-8b6c-474e-ba3a-ba5b4ba6246b" + "dcd50e42-1e2a-423f-9279-8166d7e86b3c" ], "x-ms-correlation-request-id": [ - "3d4c1d7a-8b6c-474e-ba3a-ba5b4ba6246b" + "dcd50e42-1e2a-423f-9279-8166d7e86b3c" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231830Z:3d4c1d7a-8b6c-474e-ba3a-ba5b4ba6246b" + "WESTUS:20220107T232332Z:dcd50e42-1e2a-423f-9279-8166d7e86b3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1621,7 +1686,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:29 GMT" + "Fri, 07 Jan 2022 23:23:31 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1646,9 +1711,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1668,13 +1733,13 @@ "gateway" ], "x-ms-request-id": [ - "d7211b69-7e49-4042-b5cb-b12a4a4e380e" + "2ba93160-6494-49c6-bbf5-89fe291eea6f" ], "x-ms-correlation-request-id": [ - "d7211b69-7e49-4042-b5cb-b12a4a4e380e" + "2ba93160-6494-49c6-bbf5-89fe291eea6f" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231830Z:d7211b69-7e49-4042-b5cb-b12a4a4e380e" + "WESTUS:20220107T232332Z:2ba93160-6494-49c6-bbf5-89fe291eea6f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1683,7 +1748,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:30 GMT" + "Fri, 07 Jan 2022 23:23:31 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1708,9 +1773,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1730,13 +1795,13 @@ "gateway" ], "x-ms-request-id": [ - "30ba7363-0633-4441-85f2-5896704fbc7d" + "818cc7f0-a8a2-4c2d-9aa0-1216d3d021bb" ], "x-ms-correlation-request-id": [ - "30ba7363-0633-4441-85f2-5896704fbc7d" + "818cc7f0-a8a2-4c2d-9aa0-1216d3d021bb" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231830Z:30ba7363-0633-4441-85f2-5896704fbc7d" + "WESTUS:20220107T232332Z:818cc7f0-a8a2-4c2d-9aa0-1216d3d021bb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1745,7 +1810,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:30 GMT" + "Fri, 07 Jan 2022 23:23:31 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1770,9 +1835,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -1792,13 +1857,13 @@ "gateway" ], "x-ms-request-id": [ - "326861fb-990d-4d53-b3c3-b42cffefce67" + "93fa344b-4931-4b59-aaeb-9f795b20916b" ], "x-ms-correlation-request-id": [ - "326861fb-990d-4d53-b3c3-b42cffefce67" + "93fa344b-4931-4b59-aaeb-9f795b20916b" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231830Z:326861fb-990d-4d53-b3c3-b42cffefce67" + "WESTUS:20220107T232332Z:93fa344b-4931-4b59-aaeb-9f795b20916b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1807,7 +1872,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:30 GMT" + "Fri, 07 Jan 2022 23:23:32 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1832,9 +1897,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameStringParameterSet" @@ -1854,13 +1919,13 @@ "gateway" ], "x-ms-request-id": [ - "addd9e68-5441-4368-b869-1676d10fdd99" + "3faebf21-40b1-4cc7-b8af-1666a933d6cb" ], "x-ms-correlation-request-id": [ - "addd9e68-5441-4368-b869-1676d10fdd99" + "3faebf21-40b1-4cc7-b8af-1666a933d6cb" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231830Z:addd9e68-5441-4368-b869-1676d10fdd99" + "WESTUS:20220107T232332Z:3faebf21-40b1-4cc7-b8af-1666a933d6cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1869,7 +1934,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:30 GMT" + "Fri, 07 Jan 2022 23:23:32 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1894,9 +1959,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -1916,13 +1981,13 @@ "gateway" ], "x-ms-request-id": [ - "31cbd0b3-f08f-4261-9577-ec91a81652fd" + "b79ede31-5e8c-4ca1-bd0a-9c6bac5e6a90" ], "x-ms-correlation-request-id": [ - "31cbd0b3-f08f-4261-9577-ec91a81652fd" + "b79ede31-5e8c-4ca1-bd0a-9c6bac5e6a90" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231831Z:31cbd0b3-f08f-4261-9577-ec91a81652fd" + "WESTUS:20220107T232333Z:b79ede31-5e8c-4ca1-bd0a-9c6bac5e6a90" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1931,7 +1996,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:30 GMT" + "Fri, 07 Jan 2022 23:23:32 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1956,9 +2021,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -1978,13 +2043,13 @@ "gateway" ], "x-ms-request-id": [ - "578f0929-5f59-4cb8-88da-07f41bf06715" + "c5e3336a-fbcb-4e16-a786-40122f0ac0e0" ], "x-ms-correlation-request-id": [ - "578f0929-5f59-4cb8-88da-07f41bf06715" + "c5e3336a-fbcb-4e16-a786-40122f0ac0e0" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231831Z:578f0929-5f59-4cb8-88da-07f41bf06715" + "WESTUS:20220107T232333Z:c5e3336a-fbcb-4e16-a786-40122f0ac0e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1993,7 +2058,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:30 GMT" + "Fri, 07 Jan 2022 23:23:32 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2018,9 +2083,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameStringParameterSet" @@ -2040,13 +2105,13 @@ "gateway" ], "x-ms-request-id": [ - "e46f007c-b6cb-4209-a236-8008738cdba3" + "45da0379-8558-4ce0-aac7-6142e2ef72d1" ], "x-ms-correlation-request-id": [ - "e46f007c-b6cb-4209-a236-8008738cdba3" + "45da0379-8558-4ce0-aac7-6142e2ef72d1" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231831Z:e46f007c-b6cb-4209-a236-8008738cdba3" + "WESTUS:20220107T232333Z:45da0379-8558-4ce0-aac7-6142e2ef72d1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2055,7 +2120,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:31 GMT" + "Fri, 07 Jan 2022 23:23:33 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2080,9 +2145,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "NameParameterSet" @@ -2102,13 +2167,13 @@ "gateway" ], "x-ms-request-id": [ - "591fc0c8-1cb3-4b63-943b-036a6a7a1b8f" + "23793118-2026-4990-ad68-c937edcb27c5" ], "x-ms-correlation-request-id": [ - "591fc0c8-1cb3-4b63-943b-036a6a7a1b8f" + "23793118-2026-4990-ad68-c937edcb27c5" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231831Z:591fc0c8-1cb3-4b63-943b-036a6a7a1b8f" + "WESTUS:20220107T232333Z:23793118-2026-4990-ad68-c937edcb27c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2117,7 +2182,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:31 GMT" + "Fri, 07 Jan 2022 23:23:32 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2142,9 +2207,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -2164,13 +2229,13 @@ "gateway" ], "x-ms-request-id": [ - "b983bbe2-c09a-4cbe-9203-6bfcf2e8636b" + "b13487a7-4b21-41f2-bd0a-f85f8804fbf1" ], "x-ms-correlation-request-id": [ - "b983bbe2-c09a-4cbe-9203-6bfcf2e8636b" + "b13487a7-4b21-41f2-bd0a-f85f8804fbf1" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231831Z:b983bbe2-c09a-4cbe-9203-6bfcf2e8636b" + "WESTUS:20220107T232333Z:b13487a7-4b21-41f2-bd0a-f85f8804fbf1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2179,7 +2244,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:31 GMT" + "Fri, 07 Jan 2022 23:23:33 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2204,9 +2269,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -2226,13 +2291,13 @@ "gateway" ], "x-ms-request-id": [ - "a57aa5f8-4702-46b4-805a-157bb9f3f256" + "152149f1-4807-4417-9259-4d85068fc098" ], "x-ms-correlation-request-id": [ - "a57aa5f8-4702-46b4-805a-157bb9f3f256" + "152149f1-4807-4417-9259-4d85068fc098" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231831Z:a57aa5f8-4702-46b4-805a-157bb9f3f256" + "WESTUS:20220107T232333Z:152149f1-4807-4417-9259-4d85068fc098" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2241,7 +2306,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:31 GMT" + "Fri, 07 Jan 2022 23:23:32 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2266,9 +2331,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -2288,13 +2353,13 @@ "gateway" ], "x-ms-request-id": [ - "c486a519-cd37-44d3-aa72-70f181361bdc" + "31835ab8-ce8d-4820-85a4-70b78b197b53" ], "x-ms-correlation-request-id": [ - "c486a519-cd37-44d3-aa72-70f181361bdc" + "31835ab8-ce8d-4820-85a4-70b78b197b53" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231832Z:c486a519-cd37-44d3-aa72-70f181361bdc" + "WESTUS:20220107T232333Z:31835ab8-ce8d-4820-85a4-70b78b197b53" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2303,7 +2368,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:31 GMT" + "Fri, 07 Jan 2022 23:23:33 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2328,9 +2393,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterNameObjectParameterSet" @@ -2350,13 +2415,13 @@ "gateway" ], "x-ms-request-id": [ - "fe93898e-46df-4957-8727-5eac1656bfbd" + "4d4e78c5-114a-4b3b-98a9-b8998b23b5e0" ], "x-ms-correlation-request-id": [ - "fe93898e-46df-4957-8727-5eac1656bfbd" + "4d4e78c5-114a-4b3b-98a9-b8998b23b5e0" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231832Z:fe93898e-46df-4957-8727-5eac1656bfbd" + "WESTUS:20220107T232334Z:4d4e78c5-114a-4b3b-98a9-b8998b23b5e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2365,7 +2430,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:31 GMT" + "Fri, 07 Jan 2022 23:23:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2384,15 +2449,15 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/2c2f67af-09f9-4d60-b051-c5d956d2c9a7/providers/Microsoft.Authorization/policyAssignments/someName?api-version=2021-06-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMmMyZjY3YWYtMDlmOS00ZDYwLWIwNTEtYzVkOTU2ZDJjOWE3L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lBc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", + "RequestUri": "/subscriptions/d0610b27-9663-4c05-89f8-5b4be01e86a5/providers/Microsoft.Authorization/policyAssignments/someName?api-version=2021-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZDA2MTBiMjctOTY2My00YzA1LTg5ZjgtNWI0YmUwMWU4NmE1L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wb2xpY3lBc3NpZ25tZW50cy9zb21lTmFtZT9hcGktdmVyc2lvbj0yMDIxLTA2LTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2409,19 +2474,19 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11999" ], "Server": [ "Kestrel" ], "x-ms-request-id": [ - "5a64764a-b4dd-493e-92e5-510967a55d1f" + "6e70c092-699b-482a-bcc3-34e514303c21" ], "x-ms-correlation-request-id": [ - "5a64764a-b4dd-493e-92e5-510967a55d1f" + "6e70c092-699b-482a-bcc3-34e514303c21" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231832Z:5a64764a-b4dd-493e-92e5-510967a55d1f" + "WESTUS:20220107T232334Z:6e70c092-699b-482a-bcc3-34e514303c21" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2430,7 +2495,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:32 GMT" + "Fri, 07 Jan 2022 23:23:33 GMT" ], "Content-Length": [ "104" @@ -2455,9 +2520,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2477,13 +2542,13 @@ "gateway" ], "x-ms-request-id": [ - "85f30cd6-e1c7-4703-bff2-1dfb28173bd1" + "2aa74eff-5bb1-4afa-bff0-085d2a0ce302" ], "x-ms-correlation-request-id": [ - "85f30cd6-e1c7-4703-bff2-1dfb28173bd1" + "2aa74eff-5bb1-4afa-bff0-085d2a0ce302" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231832Z:85f30cd6-e1c7-4703-bff2-1dfb28173bd1" + "WESTUS:20220107T232334Z:2aa74eff-5bb1-4afa-bff0-085d2a0ce302" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2492,7 +2557,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:31 GMT" + "Fri, 07 Jan 2022 23:23:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2517,9 +2582,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2539,13 +2604,13 @@ "gateway" ], "x-ms-request-id": [ - "83a5a686-6ab9-466a-8892-545ed08aa027" + "0ff1db7f-a4cd-497f-9dfa-e3b25455dd12" ], "x-ms-correlation-request-id": [ - "83a5a686-6ab9-466a-8892-545ed08aa027" + "0ff1db7f-a4cd-497f-9dfa-e3b25455dd12" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231832Z:83a5a686-6ab9-466a-8892-545ed08aa027" + "WESTUS:20220107T232334Z:0ff1db7f-a4cd-497f-9dfa-e3b25455dd12" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2554,7 +2619,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:32 GMT" + "Fri, 07 Jan 2022 23:23:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2579,9 +2644,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2601,13 +2666,13 @@ "gateway" ], "x-ms-request-id": [ - "6c2a4a3e-313c-4316-9aa2-3cdb8109f50b" + "a45ebe23-da20-4eaf-8cea-c26b15c2ade6" ], "x-ms-correlation-request-id": [ - "6c2a4a3e-313c-4316-9aa2-3cdb8109f50b" + "a45ebe23-da20-4eaf-8cea-c26b15c2ade6" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231833Z:6c2a4a3e-313c-4316-9aa2-3cdb8109f50b" + "WESTUS:20220107T232334Z:a45ebe23-da20-4eaf-8cea-c26b15c2ade6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2616,7 +2681,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:33 GMT" + "Fri, 07 Jan 2022 23:23:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2641,9 +2706,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2663,13 +2728,13 @@ "gateway" ], "x-ms-request-id": [ - "72635d6f-2568-491f-87e2-d703f5e865b3" + "cde9c588-d5ee-4d05-a739-a1825be4ed5b" ], "x-ms-correlation-request-id": [ - "72635d6f-2568-491f-87e2-d703f5e865b3" + "cde9c588-d5ee-4d05-a739-a1825be4ed5b" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231833Z:72635d6f-2568-491f-87e2-d703f5e865b3" + "WESTUS:20220107T232334Z:cde9c588-d5ee-4d05-a739-a1825be4ed5b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2678,7 +2743,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:32 GMT" + "Fri, 07 Jan 2022 23:23:33 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2703,9 +2768,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -2725,13 +2790,13 @@ "gateway" ], "x-ms-request-id": [ - "28962987-f5b4-49a9-aa3d-c88625d646bf" + "6471b2f1-2c1d-48cc-9687-e9233a01fa93" ], "x-ms-correlation-request-id": [ - "28962987-f5b4-49a9-aa3d-c88625d646bf" + "6471b2f1-2c1d-48cc-9687-e9233a01fa93" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231833Z:28962987-f5b4-49a9-aa3d-c88625d646bf" + "WESTUS:20220107T232335Z:6471b2f1-2c1d-48cc-9687-e9233a01fa93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2740,7 +2805,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:33 GMT" + "Fri, 07 Jan 2022 23:23:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2765,9 +2830,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdStringParameterSet" @@ -2787,13 +2852,13 @@ "gateway" ], "x-ms-request-id": [ - "cfb1b164-a41c-4fd0-a3ff-7a7154f1ac39" + "2a2dde19-cab6-44f1-920e-7acf4c276224" ], "x-ms-correlation-request-id": [ - "cfb1b164-a41c-4fd0-a3ff-7a7154f1ac39" + "2a2dde19-cab6-44f1-920e-7acf4c276224" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231833Z:cfb1b164-a41c-4fd0-a3ff-7a7154f1ac39" + "WESTUS:20220107T232335Z:2a2dde19-cab6-44f1-920e-7acf4c276224" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2802,7 +2867,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:33 GMT" + "Fri, 07 Jan 2022 23:23:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2827,9 +2892,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2849,13 +2914,13 @@ "gateway" ], "x-ms-request-id": [ - "0972c303-fd50-4f7e-b2be-f70b6ccf8850" + "4a0c543a-99ef-4e26-8284-42b160d6d0d7" ], "x-ms-correlation-request-id": [ - "0972c303-fd50-4f7e-b2be-f70b6ccf8850" + "4a0c543a-99ef-4e26-8284-42b160d6d0d7" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231833Z:0972c303-fd50-4f7e-b2be-f70b6ccf8850" + "WESTUS:20220107T232335Z:4a0c543a-99ef-4e26-8284-42b160d6d0d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2864,7 +2929,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:32 GMT" + "Fri, 07 Jan 2022 23:23:35 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2889,9 +2954,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2911,13 +2976,13 @@ "gateway" ], "x-ms-request-id": [ - "857f50e0-3de3-42e9-8035-c1c3e0fe6c13" + "3a3a1ebf-92ac-4fff-a6bf-8e74d663ce70" ], "x-ms-correlation-request-id": [ - "857f50e0-3de3-42e9-8035-c1c3e0fe6c13" + "3a3a1ebf-92ac-4fff-a6bf-8e74d663ce70" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231833Z:857f50e0-3de3-42e9-8035-c1c3e0fe6c13" + "WESTUS:20220107T232335Z:3a3a1ebf-92ac-4fff-a6bf-8e74d663ce70" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2926,7 +2991,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:33 GMT" + "Fri, 07 Jan 2022 23:23:35 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2951,9 +3016,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -2973,13 +3038,13 @@ "gateway" ], "x-ms-request-id": [ - "6b9d3dae-0cf2-491a-98ad-63f1203e3030" + "dc96f31b-3b88-41a3-98d1-20da75a42260" ], "x-ms-correlation-request-id": [ - "6b9d3dae-0cf2-491a-98ad-63f1203e3030" + "dc96f31b-3b88-41a3-98d1-20da75a42260" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231834Z:6b9d3dae-0cf2-491a-98ad-63f1203e3030" + "WESTUS:20220107T232335Z:dc96f31b-3b88-41a3-98d1-20da75a42260" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -2988,7 +3053,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:33 GMT" + "Fri, 07 Jan 2022 23:23:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3013,9 +3078,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3035,13 +3100,13 @@ "gateway" ], "x-ms-request-id": [ - "5ceb7133-e27d-4ccc-bbe5-848b75029510" + "fd3b0c19-36e9-4f92-b717-18110530cbd2" ], "x-ms-correlation-request-id": [ - "5ceb7133-e27d-4ccc-bbe5-848b75029510" + "fd3b0c19-36e9-4f92-b717-18110530cbd2" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231834Z:5ceb7133-e27d-4ccc-bbe5-848b75029510" + "WESTUS:20220107T232335Z:fd3b0c19-36e9-4f92-b717-18110530cbd2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3050,7 +3115,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:33 GMT" + "Fri, 07 Jan 2022 23:23:35 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3075,9 +3140,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -3097,13 +3162,13 @@ "gateway" ], "x-ms-request-id": [ - "cf5c0e5a-5eb4-465e-83ea-5c2f4fb68e1d" + "0a2c44bf-232e-427c-bc2b-e99459158faa" ], "x-ms-correlation-request-id": [ - "cf5c0e5a-5eb4-465e-83ea-5c2f4fb68e1d" + "0a2c44bf-232e-427c-bc2b-e99459158faa" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231834Z:cf5c0e5a-5eb4-465e-83ea-5c2f4fb68e1d" + "WESTUS:20220107T232335Z:0a2c44bf-232e-427c-bc2b-e99459158faa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3112,7 +3177,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:34 GMT" + "Fri, 07 Jan 2022 23:23:35 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3137,9 +3202,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdStringParameterSet" @@ -3159,13 +3224,13 @@ "gateway" ], "x-ms-request-id": [ - "3f1988a8-97cd-4e34-a144-260d89b0c615" + "407c29c3-d897-4584-ba71-59995c8933c3" ], "x-ms-correlation-request-id": [ - "3f1988a8-97cd-4e34-a144-260d89b0c615" + "407c29c3-d897-4584-ba71-59995c8933c3" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231834Z:3f1988a8-97cd-4e34-a144-260d89b0c615" + "WESTUS:20220107T232336Z:407c29c3-d897-4584-ba71-59995c8933c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3174,7 +3239,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:33 GMT" + "Fri, 07 Jan 2022 23:23:35 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3199,9 +3264,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3221,13 +3286,13 @@ "gateway" ], "x-ms-request-id": [ - "596f0c4e-2768-44b6-8b9b-18710ee1b12e" + "64dd5000-1a39-47d5-beb5-6ed6d2c09354" ], "x-ms-correlation-request-id": [ - "596f0c4e-2768-44b6-8b9b-18710ee1b12e" + "64dd5000-1a39-47d5-beb5-6ed6d2c09354" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231834Z:596f0c4e-2768-44b6-8b9b-18710ee1b12e" + "WESTUS:20220107T232336Z:64dd5000-1a39-47d5-beb5-6ed6d2c09354" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3236,7 +3301,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:34 GMT" + "Fri, 07 Jan 2022 23:23:36 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3261,9 +3326,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3283,13 +3348,13 @@ "gateway" ], "x-ms-request-id": [ - "f4cb9fd7-aff1-42d6-bee9-d9dfb5ee9233" + "7cd5370d-e353-401c-ab49-96ee0d3da024" ], "x-ms-correlation-request-id": [ - "f4cb9fd7-aff1-42d6-bee9-d9dfb5ee9233" + "7cd5370d-e353-401c-ab49-96ee0d3da024" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231835Z:f4cb9fd7-aff1-42d6-bee9-d9dfb5ee9233" + "WESTUS:20220107T232336Z:7cd5370d-e353-401c-ab49-96ee0d3da024" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3298,7 +3363,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:34 GMT" + "Fri, 07 Jan 2022 23:23:35 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3323,9 +3388,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3345,13 +3410,13 @@ "gateway" ], "x-ms-request-id": [ - "e8be843a-5c18-426b-b920-a775fc93755d" + "55742790-c078-49bf-93fe-b677f1c41ad0" ], "x-ms-correlation-request-id": [ - "e8be843a-5c18-426b-b920-a775fc93755d" + "55742790-c078-49bf-93fe-b677f1c41ad0" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231835Z:e8be843a-5c18-426b-b920-a775fc93755d" + "WESTUS:20220107T232336Z:55742790-c078-49bf-93fe-b677f1c41ad0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3360,7 +3425,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:35 GMT" + "Fri, 07 Jan 2022 23:23:35 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3385,9 +3450,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -3407,13 +3472,13 @@ "gateway" ], "x-ms-request-id": [ - "70303131-6b5b-4325-87ab-37a8dc558de8" + "e2b23726-ea4f-4408-9f46-1b5c3e513e1f" ], "x-ms-correlation-request-id": [ - "70303131-6b5b-4325-87ab-37a8dc558de8" + "e2b23726-ea4f-4408-9f46-1b5c3e513e1f" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231835Z:70303131-6b5b-4325-87ab-37a8dc558de8" + "WESTUS:20220107T232336Z:e2b23726-ea4f-4408-9f46-1b5c3e513e1f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3422,7 +3487,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:34 GMT" + "Fri, 07 Jan 2022 23:23:36 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3447,9 +3512,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdStringParameterSet" @@ -3469,13 +3534,13 @@ "gateway" ], "x-ms-request-id": [ - "0de1cbbe-e4a8-4f23-8c8a-97defc484ab9" + "3db0bf36-1884-4c56-a2d1-a1bf8505a6a0" ], "x-ms-correlation-request-id": [ - "0de1cbbe-e4a8-4f23-8c8a-97defc484ab9" + "3db0bf36-1884-4c56-a2d1-a1bf8505a6a0" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231835Z:0de1cbbe-e4a8-4f23-8c8a-97defc484ab9" + "WESTUS:20220107T232336Z:3db0bf36-1884-4c56-a2d1-a1bf8505a6a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3484,7 +3549,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:34 GMT" + "Fri, 07 Jan 2022 23:23:36 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3509,9 +3574,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3531,13 +3596,13 @@ "gateway" ], "x-ms-request-id": [ - "c335657a-c914-400c-b70c-5d0e65a4b029" + "c1da0ef0-0a11-4a7b-b767-926157022f7f" ], "x-ms-correlation-request-id": [ - "c335657a-c914-400c-b70c-5d0e65a4b029" + "c1da0ef0-0a11-4a7b-b767-926157022f7f" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231835Z:c335657a-c914-400c-b70c-5d0e65a4b029" + "WESTUS:20220107T232337Z:c1da0ef0-0a11-4a7b-b767-926157022f7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3546,7 +3611,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:35 GMT" + "Fri, 07 Jan 2022 23:23:36 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3571,9 +3636,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3593,13 +3658,13 @@ "gateway" ], "x-ms-request-id": [ - "160a9e92-e442-4254-b768-7176e70e7069" + "451285b9-e96c-456c-9020-2839fe786230" ], "x-ms-correlation-request-id": [ - "160a9e92-e442-4254-b768-7176e70e7069" + "451285b9-e96c-456c-9020-2839fe786230" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231835Z:160a9e92-e442-4254-b768-7176e70e7069" + "WESTUS:20220107T232337Z:451285b9-e96c-456c-9020-2839fe786230" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3608,7 +3673,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:35 GMT" + "Fri, 07 Jan 2022 23:23:36 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3633,9 +3698,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -3655,13 +3720,13 @@ "gateway" ], "x-ms-request-id": [ - "123f2881-5c3f-4b2b-a07d-1ce4f49310b1" + "fa6b5be8-b9b7-47e5-b2f9-3f593bd2d987" ], "x-ms-correlation-request-id": [ - "123f2881-5c3f-4b2b-a07d-1ce4f49310b1" + "fa6b5be8-b9b7-47e5-b2f9-3f593bd2d987" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231836Z:123f2881-5c3f-4b2b-a07d-1ce4f49310b1" + "WESTUS:20220107T232337Z:fa6b5be8-b9b7-47e5-b2f9-3f593bd2d987" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3670,7 +3735,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:35 GMT" + "Fri, 07 Jan 2022 23:23:36 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3695,9 +3760,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdStringParameterSet" @@ -3717,13 +3782,13 @@ "gateway" ], "x-ms-request-id": [ - "56446b86-5f5c-4a11-8a87-a346d3fab294" + "7c9842b8-3ae2-4b4f-b411-c2a34faec7d2" ], "x-ms-correlation-request-id": [ - "56446b86-5f5c-4a11-8a87-a346d3fab294" + "7c9842b8-3ae2-4b4f-b411-c2a34faec7d2" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231836Z:56446b86-5f5c-4a11-8a87-a346d3fab294" + "WESTUS:20220107T232337Z:7c9842b8-3ae2-4b4f-b411-c2a34faec7d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3732,7 +3797,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:36 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3757,9 +3822,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3779,13 +3844,13 @@ "gateway" ], "x-ms-request-id": [ - "ab40ac0e-cbc3-4eef-b94a-bed835b53c62" + "d65a1976-c892-4f08-8e3d-1fc93c34f504" ], "x-ms-correlation-request-id": [ - "ab40ac0e-cbc3-4eef-b94a-bed835b53c62" + "d65a1976-c892-4f08-8e3d-1fc93c34f504" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231836Z:ab40ac0e-cbc3-4eef-b94a-bed835b53c62" + "WESTUS:20220107T232337Z:d65a1976-c892-4f08-8e3d-1fc93c34f504" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3794,7 +3859,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:35 GMT" + "Fri, 07 Jan 2022 23:23:37 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3819,9 +3884,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -3841,13 +3906,13 @@ "gateway" ], "x-ms-request-id": [ - "161beba9-08cd-4f0a-bb72-88991c43b06d" + "be81fd7d-27d9-4ae1-a2ed-90c1e3c119e0" ], "x-ms-correlation-request-id": [ - "161beba9-08cd-4f0a-bb72-88991c43b06d" + "be81fd7d-27d9-4ae1-a2ed-90c1e3c119e0" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231836Z:161beba9-08cd-4f0a-bb72-88991c43b06d" + "WESTUS:20220107T232337Z:be81fd7d-27d9-4ae1-a2ed-90c1e3c119e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3856,7 +3921,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:37 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3881,9 +3946,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdStringParameterSet" @@ -3903,13 +3968,13 @@ "gateway" ], "x-ms-request-id": [ - "01df83c4-74d9-48b9-9194-029c12a89dd5" + "da8f439c-9e32-46c2-8ef9-bf85c29a1f4f" ], "x-ms-correlation-request-id": [ - "01df83c4-74d9-48b9-9194-029c12a89dd5" + "da8f439c-9e32-46c2-8ef9-bf85c29a1f4f" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231836Z:01df83c4-74d9-48b9-9194-029c12a89dd5" + "WESTUS:20220107T232338Z:da8f439c-9e32-46c2-8ef9-bf85c29a1f4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3918,7 +3983,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:37 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -3943,9 +4008,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "IdParameterSet" @@ -3965,13 +4030,13 @@ "gateway" ], "x-ms-request-id": [ - "30fcad40-f0ec-4973-9962-e5a3e1834748" + "f48545d9-055c-49d6-a57f-24b0d646c1ee" ], "x-ms-correlation-request-id": [ - "30fcad40-f0ec-4973-9962-e5a3e1834748" + "f48545d9-055c-49d6-a57f-24b0d646c1ee" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231836Z:30fcad40-f0ec-4973-9962-e5a3e1834748" + "WESTUS:20220107T232338Z:f48545d9-055c-49d6-a57f-24b0d646c1ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3980,7 +4045,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:37 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -4005,9 +4070,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -4027,13 +4092,13 @@ "gateway" ], "x-ms-request-id": [ - "6402ef14-559e-43fa-8850-6f9769b88c0c" + "b88f60d0-2aea-4fd1-a203-e8b6960ef224" ], "x-ms-correlation-request-id": [ - "6402ef14-559e-43fa-8850-6f9769b88c0c" + "b88f60d0-2aea-4fd1-a203-e8b6960ef224" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231837Z:6402ef14-559e-43fa-8850-6f9769b88c0c" + "WESTUS:20220107T232338Z:b88f60d0-2aea-4fd1-a203-e8b6960ef224" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -4042,7 +4107,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:37 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -4067,9 +4132,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -4089,13 +4154,13 @@ "gateway" ], "x-ms-request-id": [ - "0096e611-bc88-4935-bcf0-a4dce2c44078" + "a0e3b4cd-8a9a-4d6c-b089-7c264221d31f" ], "x-ms-correlation-request-id": [ - "0096e611-bc88-4935-bcf0-a4dce2c44078" + "a0e3b4cd-8a9a-4d6c-b089-7c264221d31f" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231837Z:0096e611-bc88-4935-bcf0-a4dce2c44078" + "WESTCENTRALUS:20220107T232338Z:a0e3b4cd-8a9a-4d6c-b089-7c264221d31f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -4104,7 +4169,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:38 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -4129,9 +4194,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -4151,13 +4216,13 @@ "gateway" ], "x-ms-request-id": [ - "2d79cebc-6105-4cc9-bcc6-a6d5eb0324ce" + "c858a108-302c-4d43-b698-912e13ff775a" ], "x-ms-correlation-request-id": [ - "2d79cebc-6105-4cc9-bcc6-a6d5eb0324ce" + "c858a108-302c-4d43-b698-912e13ff775a" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231837Z:2d79cebc-6105-4cc9-bcc6-a6d5eb0324ce" + "WESTCENTRALUS:20220107T232338Z:c858a108-302c-4d43-b698-912e13ff775a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -4166,7 +4231,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:38 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -4191,9 +4256,9 @@ "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "AzurePowershell/v0.0.0", + "AzurePowershell/v5.4.0", "PSVersion/v3.0.0.0", - "Az.Resources/4.4.1" + "Az.Resources/5.2.0" ], "ParameterSetName": [ "PolicyParameterIdObjectParameterSet" @@ -4213,13 +4278,13 @@ "gateway" ], "x-ms-request-id": [ - "007cb9d4-72bb-4aa5-9170-b5e99fe739f6" + "05a88445-701e-4a69-a0b8-48666739407f" ], "x-ms-correlation-request-id": [ - "007cb9d4-72bb-4aa5-9170-b5e99fe739f6" + "05a88445-701e-4a69-a0b8-48666739407f" ], "x-ms-routing-request-id": [ - "NORTHCENTRALUS:20211118T231837Z:007cb9d4-72bb-4aa5-9170-b5e99fe739f6" + "WESTCENTRALUS:20220107T232339Z:05a88445-701e-4a69-a0b8-48666739407f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -4228,7 +4293,7 @@ "nosniff" ], "Date": [ - "Thu, 18 Nov 2021 23:18:36 GMT" + "Fri, 07 Jan 2022 23:23:38 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -4249,6 +4314,6 @@ ], "Names": {}, "Variables": { - "SubscriptionId": "2c2f67af-09f9-4d60-b051-c5d956d2c9a7" + "SubscriptionId": "d0610b27-9663-4c05-89f8-5b4be01e86a5" } } \ No newline at end of file From 688d6e39f792668ef0bccc9268a258f80b5f412f Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Fri, 7 Jan 2022 16:34:41 -0800 Subject: [PATCH 4/8] Update changelog --- src/Resources/Resources/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index cde311c385b0..f35688d779eb 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,6 +20,7 @@ ## Upcoming Release * Updated parameter name `EnableAccount` to `AccountEnabled`, and added alias `EnableAccount` for `Update-AzADUser` [#16753] +* Fix for https://github.com/Azure/azure-powershell/issues/15828 (Set-AzPolicyAssignment) ## Version 5.2.0 * Fixed incorrect alias for `Get-AzADSpCredential` [#16592] From a563fb8e014d454378250e1d3bd34075912ff68d Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Mon, 28 Aug 2023 13:23:42 -0700 Subject: [PATCH 5/8] Add breaking change warnings to Policy CRUD cmdlets. --- .../Implementation/Policy/GetAzurePolicyAssignment.cs | 3 +++ .../Implementation/Policy/GetAzurePolicyDefinition.cs | 4 ++++ .../Implementation/Policy/GetAzurePolicyExemption.cs | 4 ++++ .../Implementation/Policy/GetAzurePolicySetDefinition.cs | 4 ++++ .../Implementation/Policy/NewAzurePolicyAssignment.cs | 3 +++ .../Implementation/Policy/NewAzurePolicyDefinition.cs | 4 ++++ .../Implementation/Policy/NewAzurePolicyExemption.cs | 4 ++++ .../Implementation/Policy/NewAzurePolicySetDefinition.cs | 4 ++++ .../Implementation/Policy/SetAzurePolicyAssignment.cs | 3 +++ .../Implementation/Policy/SetAzurePolicyDefinition.cs | 4 ++++ .../Implementation/Policy/SetAzurePolicyExemption.cs | 4 ++++ .../Implementation/Policy/SetAzurePolicySetDefinition.cs | 4 ++++ src/Resources/Resources/ChangeLog.md | 1 + 13 files changed, 46 insertions(+) diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs index 5dade71769bf..63b2f3dae213 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs @@ -27,6 +27,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Gets the policy assignment. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "EnforcementMode", "Metadata", "NonComplianceMessages", "NotScopes", "Parameters", "PolicyDefinitionId", "Scope" })] [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyAssignment", DefaultParameterSetName = PolicyCmdletBase.DefaultParameterSet), OutputType(typeof(PsPolicyAssignment))] public class GetAzurePolicyAssignmentCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs index 98e9d8c5afd5..fa7d1ffd96cf 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ErrorResponses; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; using Microsoft.Azure.Commands.ResourceManager.Common; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -28,6 +29,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Gets the policy definition. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Mode", "Parameters", "PolicyRule", "PolicyType" })] [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyDefinition))] public class GetAzurePolicyDefinitionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs index 829e21e84de2..1265085ecc99 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; using Microsoft.Azure.Commands.ResourceManager.Common; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -26,6 +27,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Gets the policy exemption. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "ExemptionCategory", "ExpiresOn", "Metadata", "PolicyAssignmentId", "PolicyDefinitionReferenceIds" })] [Cmdlet(VerbsCommon.Get, AzureRMConstants.AzureRMPrefix + "PolicyExemption", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyExemption))] public class GetAzurePolicyExemptionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs index 973bbbf5d35f..4c4def3da3c3 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.ErrorResponses; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; using Microsoft.Azure.Commands.ResourceManager.Common; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -28,6 +29,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Gets the policy set definition. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Parameters", "PolicyDefinitionGroups", "PolicyDefinitions", "PolicyType" })] [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicySetDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicySetDefinition))] public class GetAzurePolicySetDefinitionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs index de2e9c93db5b..269526df5f26 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs @@ -34,6 +34,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Creates a policy assignment. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "EnforcementMode", "Metadata", "NonComplianceMessages", "NotScopes", "Parameters", "PolicyDefinitionId", "Scope" })] [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyAssignment", DefaultParameterSetName = PolicyCmdletBase.DefaultParameterSet), OutputType(typeof(PsPolicyAssignment))] public class NewAzurePolicyAssignmentCmdlet : PolicyCmdletBase, IDynamicParameters { diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs index 27f21801bbe0..4a7c9d8952ca 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -27,6 +28,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Creates the new policy definition. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Mode", "Parameters", "PolicyRule", "PolicyType" })] [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyDefinition))] public class NewAzurePolicyDefinitionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs index b2ed51035304..f51826743830 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs @@ -21,6 +21,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; using Microsoft.Azure.Commands.ResourceManager.Common; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -28,6 +29,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Creates a policy exemption. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "ExemptionCategory", "ExpiresOn", "Metadata", "PolicyAssignmentId", "PolicyDefinitionReferenceIds" })] [Cmdlet(VerbsCommon.New, AzureRMConstants.AzureRMPrefix + "PolicyExemption", DefaultParameterSetName = PolicyCmdletBase.DefaultParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicyExemption))] public class NewAzurePolicyExemptionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs index 03b2ab2fae6f..ab14b6771214 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -26,6 +27,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Creates the policy set definition. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Parameters", "PolicyDefinitionGroups", "PolicyDefinitions", "PolicyType" })] [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicySetDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicySetDefinition))] public class NewAzurePolicySetDefinitionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs index 8e91da5940d3..c809d2c2fd1f 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs @@ -32,6 +32,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Sets the policy assignment. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "EnforcementMode", "Metadata", "NonComplianceMessages", "NotScopes", "Parameters", "PolicyDefinitionId", "Scope" })] [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyAssignment", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyAssignment))] public class SetAzurePolicyAssignmentCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs index e605f321de6e..8f8eed9e5d51 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -27,6 +28,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Sets the policy definition. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Mode", "Parameters", "PolicyRule", "PolicyType" })] [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyDefinition))] public class SetAzurePolicyDefinitionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs index d6d4f1d3ea73..5be9d75edfcd 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; using Microsoft.Azure.Commands.ResourceManager.Common; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -27,6 +28,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Sets the policy exemption. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "ExemptionCategory", "ExpiresOn", "Metadata", "PolicyAssignmentId", "PolicyDefinitionReferenceIds" })] [Cmdlet(VerbsCommon.Set, AzureRMConstants.AzureRMPrefix + "PolicyExemption", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicyExemption))] public class SetAzurePolicyExemptionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs index c5ac5db631fd..5533dd9b6060 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Entities.Policy; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Extensions; + using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using Newtonsoft.Json.Linq; using Policy; @@ -26,6 +27,9 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// /// Sets the policy definition. /// + [CmdletOutputBreakingChangeWithVersion( + typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Parameters", "PolicyDefinitionGroups", "PolicyDefinitions", "PolicyType" })] [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicySetDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicySetDefinition))] public class SetAzurePolicySetDefinitionCmdlet : PolicyCmdletBase { diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 765c58794d59..53b6b53a82fc 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,6 +20,7 @@ ## Upcoming Release * Implemented logic that allows Deployment Stack objects to be piped into Save and Remove Deployment Stack cmdlets. +* Add breaking change warnings for Azure Policy cmdlets. ## Version 6.9.1 * Fixed the warning prompt condition check in New-Az*DeploymentStack cmdlets. From f8498b1cc632e5393487a6bb88f959dcb0a8acdc Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Mon, 28 Aug 2023 14:38:18 -0700 Subject: [PATCH 6/8] Minor changelog correction --- src/Resources/Resources/ChangeLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 53b6b53a82fc..ff8edb86b60c 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,7 +20,7 @@ ## Upcoming Release * Implemented logic that allows Deployment Stack objects to be piped into Save and Remove Deployment Stack cmdlets. -* Add breaking change warnings for Azure Policy cmdlets. +* Added breaking change warnings for Azure Policy cmdlets. ## Version 6.9.1 * Fixed the warning prompt condition check in New-Az*DeploymentStack cmdlets. From 3f4ca63cc955daff5da0dfe45fcfd025cb25376c Mon Sep 17 00:00:00 2001 From: Chris Stackhouse Date: Tue, 29 Aug 2023 12:30:33 -0700 Subject: [PATCH 7/8] Added per-cmdlet information about upcoming changes Corrected deprecation version per feedback --- .../Policy/GetAzurePolicyAssignment.cs | 2 +- .../Policy/GetAzurePolicyDefinition.cs | 2 +- .../Policy/GetAzurePolicyExemption.cs | 2 +- .../Policy/GetAzurePolicySetDefinition.cs | 2 +- .../Policy/NewAzurePolicyAssignment.cs | 2 +- .../Policy/NewAzurePolicyDefinition.cs | 2 +- .../Policy/NewAzurePolicyExemption.cs | 2 +- .../Policy/NewAzurePolicySetDefinition.cs | 2 +- .../Policy/SetAzurePolicyAssignment.cs | 2 +- .../Policy/SetAzurePolicyDefinition.cs | 2 +- .../Policy/SetAzurePolicyExemption.cs | 2 +- .../Policy/SetAzurePolicySetDefinition.cs | 2 +- src/Resources/Resources/ChangeLog.md | 15 ++++++++++++++- 13 files changed, 26 insertions(+), 13 deletions(-) diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs index 63b2f3dae213..c7379348119a 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyAssignment.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Gets the policy assignment. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "EnforcementMode", "Metadata", "NonComplianceMessages", "NotScopes", "Parameters", "PolicyDefinitionId", "Scope" })] [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyAssignment", DefaultParameterSetName = PolicyCmdletBase.DefaultParameterSet), OutputType(typeof(PsPolicyAssignment))] public class GetAzurePolicyAssignmentCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs index fa7d1ffd96cf..fddfb5d5a1b1 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyDefinition.cs @@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Gets the policy definition. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Mode", "Parameters", "PolicyRule", "PolicyType" })] [Cmdlet(VerbsCommon.Get, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyDefinition))] public class GetAzurePolicyDefinitionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs index 1265085ecc99..a315c1bd2631 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicyExemption.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Gets the policy exemption. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "ExemptionCategory", "ExpiresOn", "Metadata", "PolicyAssignmentId", "PolicyDefinitionReferenceIds" })] [Cmdlet(VerbsCommon.Get, AzureRMConstants.AzureRMPrefix + "PolicyExemption", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyExemption))] public class GetAzurePolicyExemptionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs index 4c4def3da3c3..086ddee38b8f 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/GetAzurePolicySetDefinition.cs @@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Gets the policy set definition. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Parameters", "PolicyDefinitionGroups", "PolicyDefinitions", "PolicyType" })] [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicySetDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicySetDefinition))] public class GetAzurePolicySetDefinitionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs index 269526df5f26..cfbae95473ae 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyAssignment.cs @@ -35,7 +35,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Creates a policy assignment. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "EnforcementMode", "Metadata", "NonComplianceMessages", "NotScopes", "Parameters", "PolicyDefinitionId", "Scope" })] [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyAssignment", DefaultParameterSetName = PolicyCmdletBase.DefaultParameterSet), OutputType(typeof(PsPolicyAssignment))] public class NewAzurePolicyAssignmentCmdlet : PolicyCmdletBase, IDynamicParameters diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs index 4a7c9d8952ca..630e13234b68 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyDefinition.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Creates the new policy definition. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Mode", "Parameters", "PolicyRule", "PolicyType" })] [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyDefinition))] public class NewAzurePolicyDefinitionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs index f51826743830..11b5ba2df831 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicyExemption.cs @@ -30,7 +30,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Creates a policy exemption. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "ExemptionCategory", "ExpiresOn", "Metadata", "PolicyAssignmentId", "PolicyDefinitionReferenceIds" })] [Cmdlet(VerbsCommon.New, AzureRMConstants.AzureRMPrefix + "PolicyExemption", DefaultParameterSetName = PolicyCmdletBase.DefaultParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicyExemption))] public class NewAzurePolicyExemptionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs index ab14b6771214..1aca1a7fb3bc 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/NewAzurePolicySetDefinition.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Creates the policy set definition. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Parameters", "PolicyDefinitionGroups", "PolicyDefinitions", "PolicyType" })] [Cmdlet(VerbsCommon.New, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicySetDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicySetDefinition))] public class NewAzurePolicySetDefinitionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs index c809d2c2fd1f..79592d096f8d 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyAssignment.cs @@ -33,7 +33,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Sets the policy assignment. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyAssignment), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "EnforcementMode", "Metadata", "NonComplianceMessages", "NotScopes", "Parameters", "PolicyDefinitionId", "Scope" })] [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyAssignment", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyAssignment))] public class SetAzurePolicyAssignmentCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs index 8f8eed9e5d51..60b6928995ed 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyDefinition.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Sets the policy definition. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Mode", "Parameters", "PolicyRule", "PolicyType" })] [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicyDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet), OutputType(typeof(PsPolicyDefinition))] public class SetAzurePolicyDefinitionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs index 5be9d75edfcd..f51f6ad876f3 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicyExemption.cs @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Sets the policy exemption. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicyExemption), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "ExemptionCategory", "ExpiresOn", "Metadata", "PolicyAssignmentId", "PolicyDefinitionReferenceIds" })] [Cmdlet(VerbsCommon.Set, AzureRMConstants.AzureRMPrefix + "PolicyExemption", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicyExemption))] public class SetAzurePolicyExemptionCmdlet : PolicyCmdletBase diff --git a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs index 5533dd9b6060..b4f55aa4deeb 100644 --- a/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs +++ b/src/Resources/ResourceManager/Implementation/Policy/SetAzurePolicySetDefinition.cs @@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation /// Sets the policy definition. /// [CmdletOutputBreakingChangeWithVersion( - typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "6.9.2", DeprecatedOutputProperties = new[] { "Properties" }, + typeof(PsPolicySetDefinition), deprecateByAzVersion: "11.0.0", deprecateByVersion: "7.0.0", DeprecatedOutputProperties = new[] { "Properties" }, NewOutputProperties = new[] { "Description", "DisplayName", "Metadata", "Parameters", "PolicyDefinitionGroups", "PolicyDefinitions", "PolicyType" })] [Cmdlet(VerbsCommon.Set, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "PolicySetDefinition", DefaultParameterSetName = PolicyCmdletBase.NameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PsPolicySetDefinition))] public class SetAzurePolicySetDefinitionCmdlet : PolicyCmdletBase diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index ff8edb86b60c..b0cfb9c056df 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,7 +20,20 @@ ## Upcoming Release * Implemented logic that allows Deployment Stack objects to be piped into Save and Remove Deployment Stack cmdlets. -* Added breaking change warnings for Azure Policy cmdlets. +### `New-AzPolicyAssignment`, `Get-AzPolicyAssignment`, `Set-AzPolicyAssignment` +* Policy assignment output type is changed to flatten out the Properties object. +* `Description`, `DisplayName`, `EnforcementMode`, `Metadata`, `NonComplianceMessages`, `NotScopes`, `Parameters`, `PolicyDefinitionId`, and `Scope` properties are moved to the top level. +### `New-AzPolicyExemption`, `Get-AzPolicyExemption`, `Set-AzPolicyExemption` +* Policy exemption output type is changed to flatten out the Properties object. +* `Description`, `DisplayName`, `ExemptionCategory`, `ExpiresOn`, `Metadata`, `PolicyAssignmentId`, and `PolicyDefinitionReferenceIds` properties are moved to the top level. +### `New-AzPolicyDefinition`, `Get-AzPolicyDefinition`, `Set-AzPolicyDefinition` +* Policy definition output type is changed to flatten out the Properties object. +* `Description`, `DisplayName`, `Metadata`, `Mode`, `Parameters`, `PolicyRule`, and `PolicyType` properties are moved to the top level. +### `New-AzPolicySetDefinition`, `Get-AzPolicySetDefinition`, `Set-AzPolicySetDefinition` +* Policy set definition output type is changed to flatten out the Properties object. +* `Description`, `DisplayName`, `Metadata`, `Parameters`, `PolicyDefinitionGroups`, `PolicyDefinitions`, and `PolicyType` properties are moved to the top level. +### `Remove-AzPolicyAssignment`, `Remove-AzPolicyDefinition`, `Remove-AzPolicyExemption`, `Remove-AzPolicySetDefinition` +* Return boolean value is removed unless the -Passthru switch is given. ## Version 6.9.1 * Fixed the warning prompt condition check in New-Az*DeploymentStack cmdlets. From 03180fb6c485057dcf149e323726937473e7d981 Mon Sep 17 00:00:00 2001 From: YanaXu Date: Wed, 30 Aug 2023 10:13:03 +0800 Subject: [PATCH 8/8] update changelog --- src/Resources/Resources/ChangeLog.md | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index b0cfb9c056df..5fe40da7b170 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -19,21 +19,8 @@ --> ## Upcoming Release +* Added breaking change warnings for Azure Policy cmdlets. * Implemented logic that allows Deployment Stack objects to be piped into Save and Remove Deployment Stack cmdlets. -### `New-AzPolicyAssignment`, `Get-AzPolicyAssignment`, `Set-AzPolicyAssignment` -* Policy assignment output type is changed to flatten out the Properties object. -* `Description`, `DisplayName`, `EnforcementMode`, `Metadata`, `NonComplianceMessages`, `NotScopes`, `Parameters`, `PolicyDefinitionId`, and `Scope` properties are moved to the top level. -### `New-AzPolicyExemption`, `Get-AzPolicyExemption`, `Set-AzPolicyExemption` -* Policy exemption output type is changed to flatten out the Properties object. -* `Description`, `DisplayName`, `ExemptionCategory`, `ExpiresOn`, `Metadata`, `PolicyAssignmentId`, and `PolicyDefinitionReferenceIds` properties are moved to the top level. -### `New-AzPolicyDefinition`, `Get-AzPolicyDefinition`, `Set-AzPolicyDefinition` -* Policy definition output type is changed to flatten out the Properties object. -* `Description`, `DisplayName`, `Metadata`, `Mode`, `Parameters`, `PolicyRule`, and `PolicyType` properties are moved to the top level. -### `New-AzPolicySetDefinition`, `Get-AzPolicySetDefinition`, `Set-AzPolicySetDefinition` -* Policy set definition output type is changed to flatten out the Properties object. -* `Description`, `DisplayName`, `Metadata`, `Parameters`, `PolicyDefinitionGroups`, `PolicyDefinitions`, and `PolicyType` properties are moved to the top level. -### `Remove-AzPolicyAssignment`, `Remove-AzPolicyDefinition`, `Remove-AzPolicyExemption`, `Remove-AzPolicySetDefinition` -* Return boolean value is removed unless the -Passthru switch is given. ## Version 6.9.1 * Fixed the warning prompt condition check in New-Az*DeploymentStack cmdlets.