Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EG] appconfig required/optional #30763

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -2903,7 +2915,12 @@
"type": "string",
"description": "The sync token representing the server state after the event."
}
}
},
"required": [
"name",
"etag",
"syncToken"
]
},
"AppConfigurationSnapshotModifiedEventData": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -2959,7 +2971,12 @@
"type": "string",
"description": "The sync token representing the server state after the event."
}
}
},
"required": [
"name",
"etag",
"syncToken"
]
},
"AppConfigurationSnapshotModifiedEventData": {
"type": "object",
Expand Down