Created
September 20, 2017 20:16
-
-
Save aw230012/636e0d925bdc6625875cb718117723bf to your computer and use it in GitHub Desktop.
Test-AzureRmResourceGroupDeployment debug output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG: 4:13:20 PM - TestAzureResourceGroupDeploymentCmdlet begin processing with ParameterSet 'Deployment via template file without parameters'. | |
DEBUG: 4:13:20 PM - using account id '[email protected]'... | |
DEBUG: [Common.Authentication]: Authenticating using Account: '[email protected]', environment: 'AzureCloud', tenant: '414efc33-68fe-4520-802f-aea4401192d0' | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: de1aeee7-690a-4798-bce6-4066bed44690 - AcquireTokenHandlerBase: === Token Acquisition started: | |
Authority: https://login.microsoftonline.com/414efc33-68fe-4520-802f-aea4401192d0/ | |
Resource: https://management.core.windows.net/ | |
ClientId: 1950a258-227b-4e31-a9cf-717495945fc2 | |
CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (13 items) | |
Authentication Target: User | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: - TokenCache: Deserialized 13 items to token cache. | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : | |
DEBUG: 09/20/2017 20:13:20: de1aeee7-690a-4798-bce6-4066bed44690 - TokenCache: Looking up cache for a token... | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: de1aeee7-690a-4798-bce6-4066bed44690 - TokenCache: An item matching the requested resource was found in the cache | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : | |
DEBUG: 09/20/2017 20:13:20: de1aeee7-690a-4798-bce6-4066bed44690 - TokenCache: 46.46653674 minutes left until token in cache expires | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: de1aeee7-690a-4798-bce6-4066bed44690 - TokenCache: A matching item (access token or refresh token or both) was found in the cache | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: de1aeee7-690a-4798-bce6-4066bed44690 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned: | |
Access Token Hash: ZGxBJGsF8U9v7xmzzQdinmhnBJ5YcKIDEZ675HiI7cg= | |
Refresh Token Hash: fI6clhc9rW7lXz7KPvR3MIs/XPCiisG57MMKx8lWPww= | |
Expiration Time: 09/20/2017 20:59:48 +00:00 | |
User Hash: vKjdLn+6UceVw7EF16yoPPduQHj+KISfE0SvTNpWFtk= | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: c4aeba58-a68c-4571-8c4c-aa857404bdc1 - AcquireTokenHandlerBase: === Token Acquisition started: | |
Authority: https://login.microsoftonline.com/414efc33-68fe-4520-802f-aea4401192d0/ | |
Resource: https://management.core.windows.net/ | |
ClientId: 1950a258-227b-4e31-a9cf-717495945fc2 | |
CacheType: Microsoft.Azure.Commands.Common.Authentication.ProtectedFileTokenCache (13 items) | |
Authentication Target: User | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: - TokenCache: Deserialized 13 items to token cache. | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : | |
DEBUG: 09/20/2017 20:13:20: c4aeba58-a68c-4571-8c4c-aa857404bdc1 - TokenCache: Looking up cache for a token... | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: c4aeba58-a68c-4571-8c4c-aa857404bdc1 - TokenCache: An item matching the requested resource was found in the cache | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Verbose: 1 : | |
DEBUG: 09/20/2017 20:13:20: c4aeba58-a68c-4571-8c4c-aa857404bdc1 - TokenCache: 46.4663738016667 minutes left until token in cache expires | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: c4aeba58-a68c-4571-8c4c-aa857404bdc1 - TokenCache: A matching item (access token or refresh token or both) was found in the cache | |
DEBUG: Microsoft.IdentityModel.Clients.ActiveDirectory Information: 2 : | |
DEBUG: 09/20/2017 20:13:20: c4aeba58-a68c-4571-8c4c-aa857404bdc1 - AcquireTokenHandlerBase: === Token Acquisition finished successfully. An access token was retuned: | |
Access Token Hash: ZGxBJGsF8U9v7xmzzQdinmhnBJ5YcKIDEZ675HiI7cg= | |
Refresh Token Hash: fI6clhc9rW7lXz7KPvR3MIs/XPCiisG57MMKx8lWPww= | |
Expiration Time: 09/20/2017 20:59:48 +00:00 | |
User Hash: vKjdLn+6UceVw7EF16yoPPduQHj+KISfE0SvTNpWFtk= | |
DEBUG: ============================ HTTP REQUEST ============================ | |
HTTP Method: | |
POST | |
Absolute Uri: | |
https://management.azure.com/subscriptions/xxx/resourcegroups/SLACKBOT-RG/providers/Microsoft.Resources/deployments/1c930d31-368c-466b-8848-c647ba5155a4/validate?api-version=2017-05-10 | |
Headers: | |
x-ms-client-request-id : f696cb91-b808-4ecd-862f-b6e26323e703 | |
accept-language : en-US | |
Body: | |
{ | |
"properties": { | |
"template": { | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"vmName": { | |
"type": "string" | |
} | |
}, | |
"variables": { | |
"deploymentApiVersion": "2017-05-10", | |
"computeApiVersion": "2017-03-30", | |
"storageApiVersion": "2015-06-15" | |
}, | |
"resources": [ | |
{ | |
"name": "[concat(parameters('vmName'), '-DataDisksDeployment')]", | |
"type": "Microsoft.Resources/deployments", | |
"apiVersion": "[variables('deploymentApiVersion')]", | |
"properties": { | |
"mode": "Incremental", | |
"templateLink": { | |
"uri": "https://joshtest1234.blob.core.windows.net/joshtest1234container/childtest.json", | |
"contentVersion": "1.0.0.0" | |
}, | |
"parameters": { | |
"vmName": { | |
"value": "[parameters('vmName')]" | |
}, | |
"osType": { | |
"value": "Windows" | |
} | |
} | |
} | |
}, | |
{ | |
"apiVersion": "[variables('computeApiVersion')]", | |
"type": "Microsoft.Compute/virtualMachines", | |
"name": "[parameters('vmName')]", | |
"location": "[resourceGroup().location]", | |
"properties": { | |
"hardwareProfile": { | |
"vmSize": "Standard_D1_v2" | |
}, | |
"osProfile": { | |
"computerName": "[parameters('vmName')]", | |
"adminUsername": "ajwood", | |
"adminPassword": "Cardinal1234!" | |
}, | |
"storageProfile": { | |
"imageReference": { | |
"publisher": "MicrosoftWindowsServer", | |
"offer": "WindowsServer", | |
"sku": "2012-R2-Datacenter", | |
"version": "latest" | |
}, | |
"osDisk": { | |
"osType": "Windows", | |
"name": "[concat(parameters('vmName'), '-osDisk')]", | |
"createOption": "FromImage", | |
"caching": "ReadWrite", | |
"managedDisk": { | |
"storageAccountType": "Standard_LRS" | |
} | |
}, | |
"dataDisks": "[reference(concat(parameters('vmName'), '-DataDisksDeployment')).outputs.dataDisks.Value]" | |
} | |
} | |
} | |
], | |
"outputs": {} | |
}, | |
"parameters": { | |
"vmName": { | |
"value": "BLIPPITYP01" | |
} | |
}, | |
"mode": "Incremental" | |
} | |
} | |
DEBUG: ============================ HTTP RESPONSE ============================ | |
Status Code: | |
OK | |
Headers: | |
Pragma : no-cache | |
x-ms-ratelimit-remaining-subscription-writes: 1199 | |
x-ms-request-id : 39dd6178-e751-4721-84f7-f797c71c5f6a | |
x-ms-correlation-request-id : 39dd6178-e751-4721-84f7-f797c71c5f6a | |
x-ms-routing-request-id : EASTUS:20170920T201321Z:39dd6178-e751-4721-84f7-f797c71c5f6a | |
Strict-Transport-Security : max-age=31536000; includeSubDomains | |
Cache-Control : no-cache | |
Date : Wed, 20 Sep 2017 20:13:21 GMT | |
Body: | |
{ | |
"id": "/subscriptions/xxx/resourceGroups/SLACKBOT-RG/providers/Microsoft.Resources/deployments/1c930d31-368c-466b-8848-c647ba5155a4", | |
"name": "1c930d31-368c-466b-8848-c647ba5155a4", | |
"properties": { | |
"templateHash": "17412850040255145629", | |
"parameters": { | |
"vmName": { | |
"type": "String", | |
"value": "BLIPPITYP01" | |
} | |
}, | |
"mode": "Incremental", | |
"provisioningState": "Succeeded", | |
"timestamp": "2017-09-20T20:13:20.8696795Z", | |
"duration": "PT0S", | |
"correlationId": "39dd6178-e751-4721-84f7-f797c71c5f6a", | |
"providers": [ | |
{ | |
"namespace": "Microsoft.Resources", | |
"resourceTypes": [ | |
{ | |
"resourceType": "deployments", | |
"locations": [ | |
null | |
] | |
} | |
] | |
}, | |
{ | |
"namespace": "Microsoft.Compute", | |
"resourceTypes": [ | |
{ | |
"resourceType": "virtualMachines", | |
"locations": [ | |
"eastus2" | |
] | |
} | |
] | |
} | |
], | |
"dependencies": [ | |
{ | |
"dependsOn": [ | |
{ | |
"id": "/subscriptions/xxx/resourceGroups/SLACKBOT-RG/providers/Microsoft.Resources/deployments/BLIPPITYP01-DataDisksDeployment", | |
"resourceType": "Microsoft.Resources/deployments", | |
"resourceName": "BLIPPITYP01-DataDisksDeployment" | |
} | |
], | |
"id": "/subscriptions/xxx/resourceGroups/SLACKBOT-RG/providers/Microsoft.Compute/virtualMachines/BLIPPITYP01", | |
"resourceType": "Microsoft.Compute/virtualMachines", | |
"resourceName": "BLIPPITYP01" | |
} | |
], | |
"validatedResources": [ | |
{ | |
"apiVersion": "2017-03-30", | |
"id": "/subscriptions/xxx/resourceGroups/SLACKBOT-RG/providers/Microsoft.Compute/disks/BLIPPITYP01DataDisk", | |
"name": "BLIPPITYP01DataDisk", | |
"type": "Microsoft.Compute/disks", | |
"sku": { | |
"name": "Standard_LRS" | |
}, | |
"location": "East US 2", | |
"properties": { | |
"osType": "Windows", | |
"creationData": { | |
"createOption": "Empty" | |
}, | |
"diskSizeGB": "32" | |
} | |
}, | |
{ | |
"dependsOn": [ | |
"/subscriptions/xxx/resourceGroups/SLACKBOT-RG/providers/Microsoft.Resources/deployments/BLIPPITYP01-DataDisksDeployment" | |
], | |
"apiVersion": "2017-03-30", | |
"id": "/subscriptions/xxx/resourceGroups/SLACKBOT-RG/providers/Microsoft.Compute/virtualMachines/BLIPPITYP01", | |
"name": "BLIPPITYP01", | |
"type": "Microsoft.Compute/virtualMachines", | |
"location": "eastus2", | |
"properties": { | |
"hardwareProfile": { | |
"vmSize": "Standard_D1_v2" | |
}, | |
"osProfile": { | |
"computerName": "BLIPPITYP01", | |
"adminUsername": "xxx", | |
"adminPassword": "xxx" | |
}, | |
"storageProfile": { | |
"imageReference": { | |
"publisher": "MicrosoftWindowsServer", | |
"offer": "WindowsServer", | |
"sku": "2012-R2-Datacenter", | |
"version": "latest" | |
}, | |
"osDisk": { | |
"osType": "Windows", | |
"name": "BLIPPITYP01-osDisk", | |
"createOption": "FromImage", | |
"caching": "ReadWrite", | |
"managedDisk": { | |
"storageAccountType": "Standard_LRS" | |
} | |
}, | |
"dataDisks": "[reference(concat(parameters('vmName'), '-DataDisksDeployment')).outputs.dataDisks.Value]" | |
} | |
} | |
} | |
] | |
} | |
} | |
DEBUG: 4:13:22 PM - TestAzureResourceGroupDeploymentCmdlet end processing. | |
DEBUG: 4:13:22 PM - TestAzureResourceGroupDeploymentCmdlet end processing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment