Skip to content

Commit 7026463

Browse files
authored
adding ContainerService eventgrid event schema (#15118)
* adding ContainerService eventgrid event schema * add ref in readme * move to correct folder
1 parent d826a1f commit 7026463

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2018-01-01",
5+
"title": "Schema of Azure Kubernetes Service events published to Azure Event Grid",
6+
"description": "Describes the schema of the Azure Kubernetes Service events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent"
7+
},
8+
"paths": {},
9+
"definitions": {
10+
"ContainerServiceNewKubernetesVersionAvailableEventData": {
11+
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NewKubernetesVersionAvailable event",
12+
"type": "object",
13+
"properties": {
14+
"latestSupportedKubernetesVersion": {
15+
"description": "The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource",
16+
"type": "string"
17+
},
18+
"latestStableKubernetesVersion": {
19+
"description": "The highest PATCH Kubernetes version for the MINOR version considered stable for the ManagedCluster resource",
20+
"type": "string"
21+
},
22+
"lowestMinorKubernetesVersion": {
23+
"description": "The highest PATCH Kubernetes version for the lowest applicable MINOR version available for the ManagedCluster resource",
24+
"type": "string"
25+
},
26+
"latestPreviewKubernetesVersion": {
27+
"description": "The highest PATCH Kubernetes version considered preview for the ManagedCluster resource. There might not be any version in preview at the time of publishing the event",
28+
"type": "string"
29+
}
30+
}
31+
}
32+
}
33+
}

specification/eventgrid/data-plane/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ input-file:
8686
- Microsoft.Web/stable/2018-01-01/Web.json
8787
- Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json
8888
- Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json
89-
89+
- Microsoft.ContainerService/stable/2018-01-01/ContainerService.json
9090
```
9191

9292
### Suppression
@@ -180,6 +180,7 @@ input-file:
180180
- $(this-folder)/Microsoft.Cache/stable/2018-01-01/RedisCache.json
181181
- $(this-folder)/Microsoft.Web/stable/2018-01-01/Web.json
182182
- $(this-folder)/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json
183+
- $(this-folder)/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json
183184
184185
```
185186

0 commit comments

Comments
 (0)