Skip to content

Commit

Permalink
Add actions to event grid schema (#3504)
Browse files Browse the repository at this point in the history
Added ResourceActionSuccessData, ResourceActionFailedData and ResourceActionCancelData
  • Loading branch information
laxmankumar12 authored and sarangan12 committed Jul 27, 2018
1 parent 9cddf68 commit 1505239
Showing 1 changed file with 151 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,156 @@
"type": "string"
}
}
},
"ResourceActionSuccessData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionSuccess event. This is raised when a resource action 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"
}
}
},
"ResourceActionFailureData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionFailure event. This is raised when a resource action 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"
}
}
},
"ResourceActionCancelData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Resources.ResourceActionCancel event. This is raised when a resource action 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"
}
}
}
}
}
}

0 comments on commit 1505239

Please sign in to comment.