Skip to content

Commit e09eb86

Browse files
committed
cleaning up powershell repo
1 parent 5ba8e31 commit e09eb86

24 files changed

+415854
-1668
lines changed

src/Resources/Resources.Test/ScenarioTests/DeploymentStackTestsMG.ps1

Lines changed: 0 additions & 552 deletions
This file was deleted.

src/Resources/Resources.Test/ScenarioTests/DeploymentStackTestsRG.ps1

Lines changed: 0 additions & 553 deletions
This file was deleted.

src/Resources/Resources.Test/ScenarioTests/DeploymentStackTestsSub.ps1

Lines changed: 0 additions & 495 deletions
This file was deleted.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestExportManagementGroupDeploymentStackTemplate.json

Lines changed: 11658 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestGetManagementGroupDeploymentStack.json

Lines changed: 17512 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestNewAndSetAndExportManagementGroupDeploymentStackWithTemplateSpec.json

Lines changed: 38186 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestNewAndSetManagementGroupDeploymentStackDenySettings.json

Lines changed: 17781 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestNewAndSetManagementGroupDeploymentStackWithBicep.json

Lines changed: 9291 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestNewManagementGroupDeploymentStack.json

Lines changed: 18069 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestNewManagementGroupDeploymentStackUnmanageActions.json

Lines changed: 211749 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestRemoveManagementGroupDeploymentStack.json

Lines changed: 60444 additions & 0 deletions
Large diffs are not rendered by default.

src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSetManagementGroupDeploymentStack.json

Lines changed: 31080 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"Entries": [
3+
{
4+
"RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps8953?api-version=2022-08-01-preview",
5+
"EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzODk1Mz9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=",
6+
"RequestMethod": "PUT",
7+
"RequestHeaders": {
8+
"x-ms-client-request-id": [
9+
"dcaee6e3-8178-4931-b2be-c832312a691a"
10+
],
11+
"Accept-Language": [
12+
"en-US"
13+
],
14+
"User-Agent": [
15+
"FxVersion/4.700.22.55902",
16+
"OSName/Windows",
17+
"OSVersion/Microsoft.Windows.10.0.22621",
18+
"Microsoft.Azure.Management.ResourceManager.DeploymentStacksClient/3.17.4.0"
19+
],
20+
"Content-Type": [
21+
"application/json; charset=utf-8"
22+
],
23+
"Content-Length": [
24+
"639"
25+
]
26+
},
27+
"RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [],\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {},\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"delete\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentScope\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df\",\r\n \"denySettings\": {\r\n \"mode\": \"None\",\r\n \"applyToChildScopes\": false\r\n }\r\n }\r\n}",
28+
"ResponseHeaders": {
29+
"Cache-Control": [
30+
"no-cache"
31+
],
32+
"Pragma": [
33+
"no-cache"
34+
],
35+
"x-ms-request-id": [
36+
"6410d98a-a2f5-4837-931f-28cbfbbe9adb"
37+
],
38+
"Server": [
39+
"Microsoft-HTTPAPI/2.0"
40+
],
41+
"x-ms-ratelimit-remaining-tenant-writes": [
42+
"1199"
43+
],
44+
"x-ms-correlation-request-id": [
45+
"6827f4b1-d973-43b7-9963-8e0ee753fb6c"
46+
],
47+
"x-ms-routing-request-id": [
48+
"WESTUS:20230211T003559Z:6827f4b1-d973-43b7-9963-8e0ee753fb6c"
49+
],
50+
"Strict-Transport-Security": [
51+
"max-age=31536000; includeSubDomains"
52+
],
53+
"X-Content-Type-Options": [
54+
"nosniff"
55+
],
56+
"Date": [
57+
"Sat, 11 Feb 2023 00:35:58 GMT"
58+
],
59+
"Content-Length": [
60+
"255"
61+
],
62+
"Content-Type": [
63+
"application/json; charset=utf-8"
64+
],
65+
"Expires": [
66+
"-1"
67+
],
68+
"Retry-After": [
69+
"0"
70+
]
71+
},
72+
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"DeploymentStackInvalidDeploymentStackDefinition\",\r\n \"message\": \"Deployment stack definition is invalid - ActionOnUnmanage is not correctly defined. Cannot set Resources to 'Detach' and Resource Groups to 'Delete'.\"\r\n }\r\n}",
73+
"StatusCode": 400
74+
}
75+
],
76+
"Names": {
77+
"Test-SetManagementGroupDeploymentStackUnmanageActions": [
78+
"ps8953"
79+
]
80+
},
81+
"Variables": {
82+
"SubscriptionId": "4ce8c9fe-cadc-47d6-9c76-335812fd59df"
83+
}
84+
}

src/Resources/Resources.Test/sampleSubscriptionDeploymentBicepFile.bicep

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/Resources/Resources.Test/sampleTemplateWithRG.json

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/Resources/Resources.Test/sampleTemplateWithRGParams.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

tools/LocalFeed/.placeholder

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)