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

adding ContainerService eventgrid event schema #15118

Merged
merged 3 commits into from
Jul 15, 2021
Merged
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
@@ -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