From 99199b4c7bf51e71a571e008d59357cafb4f20b3 Mon Sep 17 00:00:00 2001 From: Libba Lawrence Date: Thu, 26 Sep 2024 15:30:37 -0700 Subject: [PATCH] appconfig --- .../AppConfiguration.tsp | 22 +++++++++--------- .../2018-01-01/GeneratedSystemEvents.json | 23 ++++++++++++++++--- .../2024-01-01/GeneratedSystemEvents.json | 23 ++++++++++++++++--- 3 files changed, 51 insertions(+), 17 deletions(-) diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.AppConfiguration/AppConfiguration.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.AppConfiguration/AppConfiguration.tsp index b0eb4b6da095..5915c3284ef0 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.AppConfiguration/AppConfiguration.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.AppConfiguration/AppConfiguration.tsp @@ -4,43 +4,43 @@ namespace Microsoft.EventGrid.SystemEvents; /** Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.KeyValueModified event. */ model AppConfigurationKeyValueModifiedEventData { /** The key used to identify the key-value that was modified. */ - key?: string; + key: string; /** The label, if any, used to identify the key-value that was modified. */ - label?: string; + label: string; /** The etag representing the new state of the key-value. */ - etag?: string; + etag: string; /** The sync token representing the server state after the event. */ - syncToken?: string; + syncToken: string; } /** Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.KeyValueDeleted event. */ model AppConfigurationKeyValueDeletedEventData { /** The key used to identify the key-value that was deleted. */ - key?: string; + key: string; /** The label, if any, used to identify the key-value that was deleted. */ - label?: string; + label: string; /** The etag representing the key-value that was deleted. */ - etag?: string; + etag: string; /** The sync token representing the server state after the event. */ - syncToken?: string; + syncToken: string; } /** Schema of common properties of snapshot events */ model AppConfigurationSnapshotEventData { /** The name of the snapshot. */ - name?: string; + name: string; /** The etag representing the new state of the snapshot. */ - etag?: string; + etag: string; /** The sync token representing the server state after the event. */ - syncToken?: string; + syncToken: string; } /** Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.SnapshotCreated event. */ diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json index 48945635b761..e2bff0e4b7af 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json @@ -2854,7 +2854,13 @@ "type": "string", "description": "The sync token representing the server state after the event." } - } + }, + "required": [ + "key", + "label", + "etag", + "syncToken" + ] }, "AppConfigurationKeyValueModifiedEventData": { "type": "object", @@ -2876,7 +2882,13 @@ "type": "string", "description": "The sync token representing the server state after the event." } - } + }, + "required": [ + "key", + "label", + "etag", + "syncToken" + ] }, "AppConfigurationSnapshotCreatedEventData": { "type": "object", @@ -2903,7 +2915,12 @@ "type": "string", "description": "The sync token representing the server state after the event." } - } + }, + "required": [ + "name", + "etag", + "syncToken" + ] }, "AppConfigurationSnapshotModifiedEventData": { "type": "object", diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json index 36bd7e604627..5f0ec4398cc1 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json @@ -2910,7 +2910,13 @@ "type": "string", "description": "The sync token representing the server state after the event." } - } + }, + "required": [ + "key", + "label", + "etag", + "syncToken" + ] }, "AppConfigurationKeyValueModifiedEventData": { "type": "object", @@ -2932,7 +2938,13 @@ "type": "string", "description": "The sync token representing the server state after the event." } - } + }, + "required": [ + "key", + "label", + "etag", + "syncToken" + ] }, "AppConfigurationSnapshotCreatedEventData": { "type": "object", @@ -2959,7 +2971,12 @@ "type": "string", "description": "The sync token representing the server state after the event." } - } + }, + "required": [ + "name", + "etag", + "syncToken" + ] }, "AppConfigurationSnapshotModifiedEventData": { "type": "object",