Skip to content

Instantly share code, notes, and snippets.

@akki-s
Last active August 11, 2018 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akki-s/b87e84fd4e0c6cf37cae893ef02b41c7 to your computer and use it in GitHub Desktop.
Save akki-s/b87e84fd4e0c6cf37cae893ef02b41c7 to your computer and use it in GitHub Desktop.
An azure event grid event for a virtual machine creation
{
"subject": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/resource-group/providers/Microsoft.Compute/virtualMachines/vmName",
"eventType": "Microsoft.Resources.ResourceWriteSuccess",
"eventTime": "2018-08-05T14:48:32.945Z",
"id": "0605b293-e06e-48ac-a16d-9322fe8e24dd",
"data":
{
"authorization":
{
"scope": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/resource-group/providers/Microsoft.Compute/virtualMachines/vmName",
"action": "Microsoft.Compute/virtualMachines/write",
"evidence": []
},
"claims": {},
"correlationId": "8a2da39d-ef93-42dd-8ce6-97ac802ecc6d",
"resourceProvider": "Microsoft.Compute",
"resourceUri": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/resource-group/providers/Microsoft.Compute/virtualMachines/vmName",
"operationName": "Microsoft.Compute/virtualMachines/write",
"status": "Succeeded",
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"tenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" },
"dataVersion": "2",
"metadataVersion": "1",
"topic": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment