Skip to content

Commit aee5f1f

Browse files
authored
Merge pull request #97728 from vayada/vayada-patch-1
Added billingDetails to notification payload.
2 parents 1e46e36 + fe6a115 commit aee5f1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/managed-applications/publish-notifications.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ POST https://{your_endpoint_URI}/resource?{optional_parameter}={optional_paramet
126126
"applicationId": "subscriptions/<subId>/resourceGroups/<rgName>/providers/Microsoft.Solutions/applications/<applicationName>",
127127
"eventTime": "2019-08-14T19:20:08.1707163Z",
128128
"provisioningState": "Succeeded",
129+
"billingDetails":{"resourceUsageId":"<resourceUsageId>"},
129130
"plan": {
130131
"publisher": "publisherId",
131132
"product": "offer",
@@ -172,6 +173,7 @@ eventType | The type of event that triggered the notification. (e.g. "PUT", "PAT
172173
applicationId | The fully qualified resource identifier of the managed application for which the notification was triggered.
173174
eventTime | The timestamp of the event that triggered the notification. (Date and time in UTC ISO 8601 format.)
174175
provisioningState | The provisioning state of the managed application instance. (e.g. "Succeeded", "Failed", "Deleting", "Deleted")
176+
billingDetails | The billing details of the managed application instance. Contains the resourceUsageId that can be used to query marketplace for usage details.
175177
error | *Only specified when the provisioningState is Failed*. Contains the error code, message, and details of the issue that caused the failure.
176178
applicationDefinitionId | *Only specified for Service Catalog managed applications*. Represents the fully qualified resource identifier of the application definition for which the managed application instance was provisioned.
177179
plan | *Only specified for Marketplace managed applications*. Represents the publisher, offer, sku, and version of the managed application instance.

0 commit comments

Comments
 (0)