diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json new file mode 100644 index 000000000000..14308bc7a6d6 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json @@ -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" + } + } + } + } +} diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index 555b2d27c3c4..6fcfc2401860 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.ContainerService/stable/2018-01-01/ContainerService.json ``` ### Suppression @@ -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 ```