Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.