Skip to content

Commit

Permalink
adding ContainerService eventgrid event schema (Azure#15118)
Browse files Browse the repository at this point in the history
* adding ContainerService eventgrid event schema

* add ref in readme

* move to correct folder
  • Loading branch information
serbrech authored and mkarmark committed Jul 20, 2021
1 parent 8c9397a commit e8723ee
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"title": "Schema of Azure Kubernetes Service events published to Azure Event Grid",
"description": "Describes the schema of the Azure Kubernetes Service events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent"
},
"paths": {},
"definitions": {
"ContainerServiceNewKubernetesVersionAvailableEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NewKubernetesVersionAvailable event",
"type": "object",
"properties": {
"latestSupportedKubernetesVersion": {
"description": "The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource",
"type": "string"
},
"latestStableKubernetesVersion": {
"description": "The highest PATCH Kubernetes version for the MINOR version considered stable for the ManagedCluster resource",
"type": "string"
},
"lowestMinorKubernetesVersion": {
"description": "The highest PATCH Kubernetes version for the lowest applicable MINOR version available for the ManagedCluster resource",
"type": "string"
},
"latestPreviewKubernetesVersion": {
"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",
"type": "string"
}
}
}
}
}
3 changes: 2 additions & 1 deletion specification/eventgrid/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.ContainerService/stable/2018-01-01/ContainerService.json
```

### Suppression
Expand Down Expand Up @@ -180,6 +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.ContainerService/stable/2018-01-01/ContainerService.json
```

Expand Down

0 comments on commit e8723ee

Please sign in to comment.