From f221e24287cb7ec3981a26d6464ae161a9f6ff34 Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Thu, 9 Sep 2021 14:49:44 -0700 Subject: [PATCH 1/9] add swagger --- .../stable/2018-01-01/APIManagement.json | 161 ++++++++++++++++++ .../2018-01-01/examples/productCreated.json | 12 ++ specification/eventgrid/data-plane/readme.md | 4 +- 3 files changed, 175 insertions(+), 2 deletions(-) create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json new file mode 100644 index 000000000000..1893e42e764b --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json @@ -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": { + "UserCreatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserCreated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "UserUpdatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserUpdated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "UserDeletedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserDeleted event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "SubscriptionCreatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionCreated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "SubscriptionUpdatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionUpdated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "SubscriptionDeletedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionDeleted event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "ProductCreatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductCreated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "ProductUpdatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductUpdated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "ProductDeletedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductDeleted event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "APICreatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APICreated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "APIUpdatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIUpdated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "APIDeletedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIDeleted event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "ApiReleaseCreatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseCreated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "ApiReleaseUpdatedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseUpdated event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + }, + "ApiReleaseDeletedEventData": { + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseDeleted event.", + "type": "object", + "properties": { + "resourceUri": { + "description": "The URI of the API Management resource that triggered the event.", + "type": "string" + } + } + } + } +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json new file mode 100644 index 000000000000..505749f20ca7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json @@ -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" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index 555b2d27c3c4..7985eea60432 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -86,7 +86,7 @@ input-file: - Microsoft.Web/stable/2018-01-01/Web.json - Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json - Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json - +- Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json ``` ### Suppression @@ -180,7 +180,7 @@ input-file: - $(this-folder)/Microsoft.Cache/stable/2018-01-01/RedisCache.json - $(this-folder)/Microsoft.Web/stable/2018-01-01/Web.json - $(this-folder)/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json - + - $(this-folder)/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json ``` If there are files that should not be in the `all-api-versions` set, From a1534e6e39fb558f5eb68e93dc19976c40ee6bf2 Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Thu, 9 Sep 2021 14:53:31 -0700 Subject: [PATCH 2/9] align --- specification/eventgrid/data-plane/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index 7985eea60432..42fb82635de0 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -87,6 +87,7 @@ input-file: - Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json - Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json - Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json + ``` ### Suppression @@ -181,6 +182,7 @@ input-file: - $(this-folder)/Microsoft.Web/stable/2018-01-01/Web.json - $(this-folder)/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json - $(this-folder)/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json + ``` If there are files that should not be in the `all-api-versions` set, From ef10a162f11349ce71db09b6a510d673c37e577f Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Fri, 10 Sep 2021 16:29:54 -0700 Subject: [PATCH 3/9] rephrase --- .../stable/2018-01-01/APIManagement.json | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json index 1893e42e764b..c69ea19a7a72 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json @@ -12,7 +12,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -22,7 +22,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -32,7 +32,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -42,7 +42,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -52,7 +52,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -62,7 +62,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -72,7 +72,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -82,7 +82,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -92,7 +92,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -102,7 +102,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -112,7 +112,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -122,7 +122,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -132,7 +132,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -142,7 +142,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } @@ -152,7 +152,7 @@ "type": "object", "properties": { "resourceUri": { - "description": "The URI of the API Management resource that triggered the event.", + "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//resourceGroups//Microsoft.ApiManagement/service///`", "type": "string" } } From a99abd608047e383daf9f9c2ed32133c6cf6fcff Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Fri, 10 Sep 2021 16:34:27 -0700 Subject: [PATCH 4/9] resolvemergeconflict --- specification/eventgrid/data-plane/readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index 42fb82635de0..bbe968a3c5cd 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -86,6 +86,7 @@ input-file: - Microsoft.Web/stable/2018-01-01/Web.json - Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json - Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json +- Microsoft.ContainerService/stable/2018-01-01/ContainerService.json - Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json ``` @@ -181,6 +182,7 @@ input-file: - $(this-folder)/Microsoft.Cache/stable/2018-01-01/RedisCache.json - $(this-folder)/Microsoft.Web/stable/2018-01-01/Web.json - $(this-folder)/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json + - $(this-folder)/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json - $(this-folder)/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json ``` From 4d9f58ed53b19b646d52c3401548471a4cc83429 Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Mon, 13 Sep 2021 11:45:08 -0700 Subject: [PATCH 5/9] comments --- .../stable/2018-01-01/APIManagement.json | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json index c69ea19a7a72..d434b1b95ac7 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json @@ -7,7 +7,7 @@ }, "paths": {}, "definitions": { - "UserCreatedEventData": { + "ApiManagementUserCreatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserCreated event.", "type": "object", "properties": { @@ -17,7 +17,7 @@ } } }, - "UserUpdatedEventData": { + "ApiManagementUserUpdatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserUpdated event.", "type": "object", "properties": { @@ -27,7 +27,7 @@ } } }, - "UserDeletedEventData": { + "ApiManagementUserDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserDeleted event.", "type": "object", "properties": { @@ -37,7 +37,7 @@ } } }, - "SubscriptionCreatedEventData": { + "ApiManagementSubscriptionCreatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionCreated event.", "type": "object", "properties": { @@ -47,7 +47,7 @@ } } }, - "SubscriptionUpdatedEventData": { + "ApiManagementSubscriptionUpdatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionUpdated event.", "type": "object", "properties": { @@ -57,7 +57,7 @@ } } }, - "SubscriptionDeletedEventData": { + "ApiManagementSubscriptionDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionDeleted event.", "type": "object", "properties": { @@ -67,7 +67,7 @@ } } }, - "ProductCreatedEventData": { + "ApiManagementProductCreatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductCreated event.", "type": "object", "properties": { @@ -77,7 +77,7 @@ } } }, - "ProductUpdatedEventData": { + "ApiManagementProductUpdatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductUpdated event.", "type": "object", "properties": { @@ -87,7 +87,7 @@ } } }, - "ProductDeletedEventData": { + "ApiManagementProductDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductDeleted event.", "type": "object", "properties": { @@ -97,7 +97,7 @@ } } }, - "APICreatedEventData": { + "ApiManagementAPICreatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APICreated event.", "type": "object", "properties": { @@ -107,7 +107,7 @@ } } }, - "APIUpdatedEventData": { + "ApiManagementAPIUpdatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIUpdated event.", "type": "object", "properties": { @@ -117,7 +117,7 @@ } } }, - "APIDeletedEventData": { + "ApiManagementAPIDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIDeleted event.", "type": "object", "properties": { @@ -127,7 +127,7 @@ } } }, - "ApiReleaseCreatedEventData": { + "ApiManagementAPIReleaseCreatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseCreated event.", "type": "object", "properties": { @@ -137,7 +137,7 @@ } } }, - "ApiReleaseUpdatedEventData": { + "ApiManagementAPIReleaseUpdatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseUpdated event.", "type": "object", "properties": { @@ -147,7 +147,7 @@ } } }, - "ApiReleaseDeletedEventData": { + "ApiManagementAPIReleaseDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseDeleted event.", "type": "object", "properties": { From 2f54f2fc8423ff9c988276c7bd3a08b215823944 Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Tue, 14 Sep 2021 10:21:52 -0700 Subject: [PATCH 6/9] examples --- .../stable/2018-01-01/examples/apiCreated.json | 12 ++++++++++++ .../stable/2018-01-01/examples/apiDeleted.json | 12 ++++++++++++ .../stable/2018-01-01/examples/apiUpdated.json | 12 ++++++++++++ .../stable/2018-01-01/examples/productCreated.json | 2 +- .../stable/2018-01-01/examples/productDeleted.json | 12 ++++++++++++ .../stable/2018-01-01/examples/productUpdated.json | 12 ++++++++++++ .../2018-01-01/examples/subscriptionCreated .json | 12 ++++++++++++ .../2018-01-01/examples/subscriptionDeleted.json | 12 ++++++++++++ .../2018-01-01/examples/subscriptionUpdated.json | 12 ++++++++++++ .../stable/2018-01-01/examples/userCreated.json | 12 ++++++++++++ .../stable/2018-01-01/examples/userDeleted.json | 12 ++++++++++++ .../stable/2018-01-01/examples/userUpdated.json | 12 ++++++++++++ 12 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productUpdated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated .json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionUpdated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userUpdated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json new file mode 100644 index 000000000000..38c499061601 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json new file mode 100644 index 000000000000..5d38fd7f8d83 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json new file mode 100644 index 000000000000..de783aac63dc --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json index 505749f20ca7..0d4b9eb2fc50 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json @@ -9,4 +9,4 @@ "dataVersion": "1", "metadataVersion": "1", "eventTime": "2021-07-02T00:47:47.8536532Z" -} \ No newline at end of file +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productDeleted.json new file mode 100644 index 000000000000..9cf82fe549d1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productDeleted.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productUpdated.json new file mode 100644 index 000000000000..546aaecabb95 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productUpdated.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated .json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated .json new file mode 100644 index 000000000000..ad79f4166137 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated .json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionDeleted.json new file mode 100644 index 000000000000..c09e52b3caeb --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionDeleted.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionUpdated.json new file mode 100644 index 000000000000..a1e1f9531458 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionUpdated.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userCreated.json new file mode 100644 index 000000000000..48c5276b40cd --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userCreated.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userDeleted.json new file mode 100644 index 000000000000..9340e806f5af --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userDeleted.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userUpdated.json new file mode 100644 index 000000000000..aaca2d136cc3 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userUpdated.json @@ -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" +} From 5091d95b011182ca210d09a43baead4e348b5eef Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Tue, 14 Sep 2021 10:27:50 -0700 Subject: [PATCH 7/9] prettier --- .../{subscriptionCreated .json => subscriptionCreated.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{subscriptionCreated .json => subscriptionCreated.json} (100%) diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated .json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated .json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated.json From ead07f0e38e5f27e6f889ad61f22edac101851af Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Fri, 17 Sep 2021 13:57:57 -0700 Subject: [PATCH 8/9] comments --- .../stable/2018-01-01/APIManagement.json | 6 +++--- .../stable/2018-01-01/examples/apiCreated.json | 2 +- .../stable/2018-01-01/examples/apiDeleted.json | 2 +- .../stable/2018-01-01/examples/apiUpdated.json | 2 +- .../2018-01-01/examples/apireleaseCreated.json | 12 ++++++++++++ .../2018-01-01/examples/apireleaseDeleted.json | 12 ++++++++++++ .../2018-01-01/examples/apireleaseUpdated.json | 12 ++++++++++++ 7 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseUpdated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json index d434b1b95ac7..70cda07c8cb5 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json @@ -128,7 +128,7 @@ } }, "ApiManagementAPIReleaseCreatedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseCreated event.", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseCreated event.", "type": "object", "properties": { "resourceUri": { @@ -138,7 +138,7 @@ } }, "ApiManagementAPIReleaseUpdatedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseUpdated event.", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseUpdated event.", "type": "object", "properties": { "resourceUri": { @@ -148,7 +148,7 @@ } }, "ApiManagementAPIReleaseDeletedEventData": { - "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ApiReleaseDeleted event.", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseDeleted event.", "type": "object", "properties": { "resourceUri": { diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json index 38c499061601..b41105e7a0c3 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json @@ -3,7 +3,7 @@ "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" + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi" }, "eventType": "Microsoft.ApiManagement.APICreated", "dataVersion": "1", diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json index 5d38fd7f8d83..1385d1048456 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json @@ -3,7 +3,7 @@ "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" + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi;Rev=1" }, "eventType": "Microsoft.ApiManagement.APIDeleted", "dataVersion": "1", diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json index de783aac63dc..7978ccdef7d7 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json @@ -3,7 +3,7 @@ "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" + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi;Rev=1" }, "eventType": "Microsoft.ApiManagement.APIUpdated", "dataVersion": "1", diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseCreated.json new file mode 100644 index 000000000000..12d9a81d4ef8 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseCreated.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseDeleted.json new file mode 100644 index 000000000000..43077d9191a4 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseDeleted.json @@ -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" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseUpdated.json new file mode 100644 index 000000000000..19a19e82ce1a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseUpdated.json @@ -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" +} From 9daae81e82b40754e75d1a055b7bffd01a577178 Mon Sep 17 00:00:00 2001 From: Kacie Kang Date: Fri, 17 Sep 2021 14:03:06 -0700 Subject: [PATCH 9/9] pascal --- .../stable/2018-01-01/APIManagement.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json index 70cda07c8cb5..29e07a5210e6 100644 --- a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json @@ -97,7 +97,7 @@ } } }, - "ApiManagementAPICreatedEventData": { + "ApiManagementApiCreatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APICreated event.", "type": "object", "properties": { @@ -107,7 +107,7 @@ } } }, - "ApiManagementAPIUpdatedEventData": { + "ApiManagementApiUpdatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIUpdated event.", "type": "object", "properties": { @@ -117,7 +117,7 @@ } } }, - "ApiManagementAPIDeletedEventData": { + "ApiManagementApiDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIDeleted event.", "type": "object", "properties": { @@ -127,7 +127,7 @@ } } }, - "ApiManagementAPIReleaseCreatedEventData": { + "ApiManagementApiReleaseCreatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseCreated event.", "type": "object", "properties": { @@ -137,7 +137,7 @@ } } }, - "ApiManagementAPIReleaseUpdatedEventData": { + "ApiManagementApiReleaseUpdatedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseUpdated event.", "type": "object", "properties": { @@ -147,7 +147,7 @@ } } }, - "ApiManagementAPIReleaseDeletedEventData": { + "ApiManagementApiReleaseDeletedEventData": { "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseDeleted event.", "type": "object", "properties": {