Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,311 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"title": "Schema of Azure resource events published to Azure Event Grid",
"description": "Describes the schema of the Azure resource events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
"paths": {},
"definitions": {
"ResourceWriteSuccessData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteSuccess event. This is raised when a resource create or update operation succeeds.",
"type": "object",
"properties": {
"tenantId": {
"description": "The tenant ID of the resource.",
"type": "string"
},
"subscriptionId": {
"description": "The subscription ID of the resource.",
"type": "string"
},
"resourceGroup": {
"description": "The resource group of the resource.",
"type": "string"
},
"resourceProvider": {
"description": "The resource provider performing the operation.",
"type": "string"
},
"resourceUri": {
"description": "The URI of the resource in the operation.",
"type": "string"
},
"operationName": {
"description": "The operation that was performed.",
"type": "string"
},
"status": {
"description": "The status of the operation.",
"type": "string"
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
}
}
},
"ResourceWriteFailureData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteFailure event. This is raised when a resource create or update operation fails.",
"type": "object",
"properties": {
"tenantId": {
"description": "The tenant ID of the resource.",
"type": "string"
},
"subscriptionId": {
"description": "The subscription ID of the resource.",
"type": "string"
},
"resourceGroup": {
"description": "The resource group of the resource.",
"type": "string"
},
"resourceProvider": {
"description": "The resource provider performing the operation.",
"type": "string"
},
"resourceUri": {
"description": "The URI of the resource in the operation.",
"type": "string"
},
"operationName": {
"description": "The operation that was performed.",
"type": "string"
},
"status": {
"description": "The status of the operation.",
"type": "string"
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
}
}
},
"ResourceWriteCancelData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteCancel event. This is raised when a resource create or update operation is canceled.",
"type": "object",
"properties": {
"tenantId": {
"description": "The tenant ID of the resource.",
"type": "string"
},
"subscriptionId": {
"description": "The subscription ID of the resource.",
"type": "string"
},
"resourceGroup": {
"description": "The resource group of the resource.",
"type": "string"
},
"resourceProvider": {
"description": "The resource provider performing the operation.",
"type": "string"
},
"resourceUri": {
"description": "The URI of the resource in the operation.",
"type": "string"
},
"operationName": {
"description": "The operation that was performed.",
"type": "string"
},
"status": {
"description": "The status of the operation.",
"type": "string"
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
}
}
},
"ResourceDeleteSuccessData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a resource delete operation succeeds.",
"type": "object",
"properties": {
"tenantId": {
"description": "The tenant ID of the resource.",
"type": "string"
},
"subscriptionId": {
"description": "The subscription ID of the resource.",
"type": "string"
},
"resourceGroup": {
"description": "The resource group of the resource.",
"type": "string"
},
"resourceProvider": {
"description": "The resource provider performing the operation.",
"type": "string"
},
"resourceUri": {
"description": "The URI of the resource in the operation.",
"type": "string"
},
"operationName": {
"description": "The operation that was performed.",
"type": "string"
},
"status": {
"description": "The status of the operation.",
"type": "string"
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
}
}
},
"ResourceDeleteFailureData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteFailure event. This is raised when a resource delete operation fails.",
"type": "object",
"properties": {
"tenantId": {
"description": "The tenant ID of the resource.",
"type": "string"
},
"subscriptionId": {
"description": "The subscription ID of the resource.",
"type": "string"
},
"resourceGroup": {
"description": "The resource group of the resource.",
"type": "string"
},
"resourceProvider": {
"description": "The resource provider performing the operation.",
"type": "string"
},
"resourceUri": {
"description": "The URI of the resource in the operation.",
"type": "string"
},
"operationName": {
"description": "The operation that was performed.",
"type": "string"
},
"status": {
"description": "The status of the operation.",
"type": "string"
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
}
}
},
"ResourceDeleteCancelData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Resources.ResourceDeleteCancel event. This is raised when a resource delete operation is canceled.",
"type": "object",
"properties": {
"tenantId": {
"description": "The tenant ID of the resource.",
"type": "string"
},
"subscriptionId": {
"description": "The subscription ID of the resource.",
"type": "string"
},
"resourceGroup": {
"description": "The resource group of the resource.",
"type": "string"
},
"resourceProvider": {
"description": "The resource provider performing the operation.",
"type": "string"
},
"resourceUri": {
"description": "The URI of the resource in the operation.",
"type": "string"
},
"operationName": {
"description": "The operation that was performed.",
"type": "string"
},
"status": {
"description": "The status of the operation.",
"type": "string"
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
}
}
}
}
}
1 change: 1 addition & 0 deletions specification/eventgrid/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ These settings apply only when `--tag=package-2018-01` is specified on the comma
input-file:
- Microsoft.Storage/stable/2018-01-01/Storage.json
- Microsoft.EventHub/stable/2018-01-01/EventHub.json
- Microsoft.Resources/stable/2018-01-01/Resources.json
- Microsoft.EventGrid/stable/2018-01-01/EventGrid.json
```

Expand Down