forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api management events schema (Azure#15987)
* add swagger * align * rephrase * resolvemergeconflict * comments * examples * prettier * comments * pascal Co-authored-by: Kacie Kang <jikang@microsoft.com>
- Loading branch information
Showing
17 changed files
with
344 additions
and
0 deletions.
There are no files selected for viewing
161 changes: 161 additions & 0 deletions
161
...ication/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2018-01-01", | ||
"title": "Schema of Azure API Management events published to Azure Event Grid", | ||
"description": "Describes the schema of the Azure API Management events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent." | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"ApiManagementUserCreatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserCreated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementUserUpdatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserUpdated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementUserDeletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserDeleted event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementSubscriptionCreatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionCreated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementSubscriptionUpdatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionUpdated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementSubscriptionDeletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionDeleted event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementProductCreatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductCreated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementProductUpdatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductUpdated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementProductDeletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductDeleted event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementApiCreatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APICreated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementApiUpdatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIUpdated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementApiDeletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIDeleted event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementApiReleaseCreatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseCreated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementApiReleaseUpdatedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseUpdated event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"ApiManagementApiReleaseDeletedEventData": { | ||
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseDeleted event.", | ||
"type": "object", | ||
"properties": { | ||
"resourceUri": { | ||
"description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>`", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...n/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/apis/myapi", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.APICreated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-12T23:13:44.9048323Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...n/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/apis/myapi;Rev=1", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi;Rev=1" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.APIDeleted", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-12T23:13:44.9048323Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...n/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/apis/myapi;Rev=1", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi;Rev=1" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.APIUpdated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-12T23:13:44.9048323Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...grid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseCreated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/apis/{apiId}/releases/{releaseId}", | ||
"data": { | ||
"resourceUri": "/subscriptions/subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/{apiId}/releases/{releaseId}" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.APIReleaseCreated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-12T23:13:44.9048323Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...grid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseDeleted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/apis/{apiId}/releases/{releaseId}", | ||
"data": { | ||
"resourceUri": "/subscriptions/subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/{apiId}/releases/{releaseId}" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.APIReleaseDeleted", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-12T23:13:44.9048323Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...grid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseUpdated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/apis/{apiId}/releases/{releaseId}", | ||
"data": { | ||
"resourceUri": "/subscriptions/subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/{apiId}/releases/{releaseId}" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.APIReleaseUpdated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-12T23:13:44.9048323Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...entgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "92c502f2-a966-42a7-a428-d3b319844544", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/products/myproduct", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/products/myproduct" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.ProductCreated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8536532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...entgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productDeleted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "92c502f2-a966-42a7-a428-d3b319844544", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/products/myproduct", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/products/myproduct" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.ProductDeleted", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8536532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...entgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productUpdated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "92c502f2-a966-42a7-a428-d3b319844544", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/products/myproduct", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/products/myproduct" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.ProductUpdated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8536532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...id/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "831e1650-001e-001b-66ab-eeb76e069631", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/subscriptions/{subscriptionId}", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/subscriptions/{subscriptionId}" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.SubscriptionCreated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8536532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...id/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionDeleted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "831e1650-001e-001b-66ab-eeb76e069631", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/subscriptions/{subscriptionId}", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/subscriptions/{subscriptionId}" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.SubscriptionDeleted", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8536532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
...id/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionUpdated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "831e1650-001e-001b-66ab-eeb76e069631", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/subscriptions/{subscriptionId}", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/subscriptions/{subscriptionId}" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.SubscriptionUpdated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8536532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
.../eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userCreated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "92c502f2-a966-42a7-a428-d3b319844544", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/users/apimuser-contoso-com", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/users/apimuser-contoso-com" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.UserCreated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8237532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
.../eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userDeleted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "92c502f2-a966-42a7-a428-d3b319844544", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/users/apimuser-contoso-com", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/users/apimuser-contoso-com" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.UserDeleted", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:47.8536532Z" | ||
} |
12 changes: 12 additions & 0 deletions
12
.../eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userUpdated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"id": "92c502f2-a966-42a7-a428-d3b319844544", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", | ||
"subject": "/users/apimuser-contoso-com", | ||
"data": { | ||
"resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/users/apimuser-contoso-com" | ||
}, | ||
"eventType": "Microsoft.ApiManagement.UserUpdated", | ||
"dataVersion": "1", | ||
"metadataVersion": "1", | ||
"eventTime": "2021-07-02T00:47:48.8269769Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters