1
+ {
2
+ "Entries" : [
3
+ {
4
+ "RequestUri" : " /subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps121?api-version=2021-05-01-preview" ,
5
+ "EncodedRequestUri" : " L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHMxMjE/YXBpLXZlcnNpb249MjAyMS0wNS0wMS1wcmV2aWV3" ,
6
+ "RequestMethod" : " GET" ,
7
+ "RequestBody" : " " ,
8
+ "RequestHeaders" : {
9
+ "x-ms-client-request-id" : [
10
+ " 1b150406-0d54-43d8-b23e-3024661e673c"
11
+ ],
12
+ "Accept-Language" : [
13
+ " en-US"
14
+ ],
15
+ "User-Agent" : [
16
+ " FxVersion/4.6.30015.01" ,
17
+ " OSName/Windows" ,
18
+ " OSVersion/Microsoft.Windows.10.0.19043." ,
19
+ " Microsoft.Azure.Management.ResourceManager.DeploymentStacksClient/3.13.2.0"
20
+ ]
21
+ },
22
+ "ResponseHeaders" : {
23
+ "Cache-Control" : [
24
+ " no-cache"
25
+ ],
26
+ "Pragma" : [
27
+ " no-cache"
28
+ ],
29
+ "x-ms-failure-cause" : [
30
+ " gateway"
31
+ ],
32
+ "x-ms-request-id" : [
33
+ " e21d8db3-a7c6-4221-b635-d7398e1a3c41"
34
+ ],
35
+ "x-ms-correlation-request-id" : [
36
+ " e21d8db3-a7c6-4221-b635-d7398e1a3c41"
37
+ ],
38
+ "x-ms-routing-request-id" : [
39
+ " CENTRALUS:20210810T164705Z:e21d8db3-a7c6-4221-b635-d7398e1a3c41"
40
+ ],
41
+ "Strict-Transport-Security" : [
42
+ " max-age=31536000; includeSubDomains"
43
+ ],
44
+ "X-Content-Type-Options" : [
45
+ " nosniff"
46
+ ],
47
+ "Date" : [
48
+ " Tue, 10 Aug 2021 16:47:04 GMT"
49
+ ],
50
+ "Content-Type" : [
51
+ " application/json; charset=utf-8"
52
+ ],
53
+ "Expires" : [
54
+ " -1"
55
+ ],
56
+ "Content-Length" : [
57
+ " 153"
58
+ ],
59
+ "Retry-After" : [
60
+ " 0"
61
+ ]
62
+ },
63
+ "ResponseBody" : " {\r\n \" error\" : {\r\n \" code\" : \" ResourceNotFound\" ,\r\n \" message\" : \" The resource 'ps121' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n }" ,
64
+ "StatusCode" : 404
65
+ },
66
+ {
67
+ "RequestUri" : " /subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps121?api-version=2021-05-01-preview" ,
68
+ "EncodedRequestUri" : " L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHMxMjE/YXBpLXZlcnNpb249MjAyMS0wNS0wMS1wcmV2aWV3" ,
69
+ "RequestMethod" : " PUT" ,
70
+ "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"siteLocation\": {\r\n \"value\": \"East US\"\r\n },\r\n \"sku\": {\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"value\": 0\r\n },\r\n \"hostingPlanName\": {\r\n \"value\": \"xDeploymentTestHost26668\"\r\n }\r\n },\r\n \"updateBehavior\": \"Detach\"\r\n }\r\n}",
71
+ "RequestHeaders" : {
72
+ "x-ms-client-request-id" : [
73
+ " 1b150406-0d54-43d8-b23e-3024661e673c"
74
+ ],
75
+ "Accept-Language" : [
76
+ " en-US"
77
+ ],
78
+ "User-Agent" : [
79
+ " FxVersion/4.6.30015.01" ,
80
+ " OSName/Windows" ,
81
+ " OSVersion/Microsoft.Windows.10.0.19043." ,
82
+ " Microsoft.Azure.Management.ResourceManager.DeploymentStacksClient/3.13.2.0"
83
+ ],
84
+ "Content-Type" : [
85
+ " application/json; charset=utf-8"
86
+ ],
87
+ "Content-Length" : [
88
+ " 1596"
89
+ ]
90
+ },
91
+ "ResponseHeaders" : {
92
+ "Cache-Control" : [
93
+ " no-cache"
94
+ ],
95
+ "Pragma" : [
96
+ " no-cache"
97
+ ],
98
+ "Retry-After" : [
99
+ " 0"
100
+ ],
101
+ "Azure-AsyncOperation" : [
102
+ " https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus2/deploymentStackOperationStatus/ab5bc01c-ca67-487d-b72c-50e6f5365b6d?api-version=2021-05-01-preview"
103
+ ],
104
+ "x-ms-request-id" : [
105
+ " 9d471e6a-0546-4c64-81f9-0b54d5d6623e"
106
+ ],
107
+ "Server" : [
108
+ " Microsoft-HTTPAPI/2.0"
109
+ ],
110
+ "x-ms-ratelimit-remaining-subscription-writes" : [
111
+ " 1199"
112
+ ],
113
+ "x-ms-correlation-request-id" : [
114
+ " df67be0a-7ee7-4b7b-9c89-3d03d2e728cd"
115
+ ],
116
+ "x-ms-routing-request-id" : [
117
+ " CENTRALUS:20210810T164705Z:df67be0a-7ee7-4b7b-9c89-3d03d2e728cd"
118
+ ],
119
+ "Strict-Transport-Security" : [
120
+ " max-age=31536000; includeSubDomains"
121
+ ],
122
+ "X-Content-Type-Options" : [
123
+ " nosniff"
124
+ ],
125
+ "Date" : [
126
+ " Tue, 10 Aug 2021 16:47:04 GMT"
127
+ ],
128
+ "Content-Length" : [
129
+ " 2153"
130
+ ],
131
+ "Content-Type" : [
132
+ " application/json; charset=utf-8"
133
+ ],
134
+ "Expires" : [
135
+ " -1"
136
+ ]
137
+ },
138
+ "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"updateBehavior\": \"detach\",\r\n \"parameters\": {\r\n \"siteLocation\": {\r\n \"value\": \"East US\"\r\n },\r\n \"sku\": {\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"value\": 0\r\n },\r\n \"hostingPlanName\": {\r\n \"value\": \"xDeploymentTestHost26668\"\r\n }\r\n },\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n },\r\n \"provisioningState\": \"initializing\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2021-08-10T16:47:05.6328647Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2021-08-10T16:47:05.6328647Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps121\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps121\"\r\n}",
139
+ "StatusCode" : 201
140
+ }
141
+ ],
142
+ "Names" : {
143
+ "Test-NewSubscriptionDeploymentStack" : [
144
+ " ps121"
145
+ ]
146
+ },
147
+ "Variables" : {
148
+ "SubscriptionId" : " a1bfa635-f2bf-42f1-86b5-848c674fc321"
149
+ }
150
+ }
0 commit comments