-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Add scheduled events data object. #26774
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
Merged
FumingZhang
merged 1 commit into
FumingZhang-containerservice-Microsoft.ContainerService-2023-11-02-preview
from
jusu/2023-11-02-preview
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
132 changes: 132 additions & 0 deletions
132
...ce-manager/Microsoft.ContainerService/aks/preview/2023-11-02-preview/scheduledEvents.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,132 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "title": "ContainerServiceClient", | ||
| "description": "The Container Service Client.", | ||
| "version": "2023-11-02-preview" | ||
| }, | ||
| "host": "management.azure.com", | ||
| "schemes": [ | ||
| "https" | ||
| ], | ||
| "consumes": [ | ||
| "application/json" | ||
| ], | ||
| "produces": [ | ||
| "application/json" | ||
| ], | ||
| "security": [ | ||
| { | ||
| "azure_auth": [ | ||
| "user_impersonation" | ||
| ] | ||
| } | ||
| ], | ||
| "securityDefinitions": { | ||
| "azure_auth": { | ||
| "type": "oauth2", | ||
| "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
| "flow": "implicit", | ||
| "description": "Azure Active Directory OAuth2 Flow", | ||
| "scopes": { | ||
| "user_impersonation": "impersonate your user account" | ||
| } | ||
| } | ||
| }, | ||
| "paths": {}, | ||
| "definitions": { | ||
| "ScheduledEvent": { | ||
| "type": "object", | ||
| "allOf": [ | ||
| { | ||
| "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" | ||
| } | ||
| ], | ||
| "properties": { | ||
| "properties": { | ||
| "description": "Properties for the event.", | ||
| "$ref": "#/definitions/ScheduledEventProperties" | ||
| } | ||
| }, | ||
| "description": "Scheduled event." | ||
| }, | ||
| "ScheduledEventProperties": { | ||
| "type": "object", | ||
| "properties": { | ||
| "description": { | ||
| "type": "string", | ||
| "description": "The description of the event." | ||
| }, | ||
| "eventId": { | ||
| "type": "string", | ||
| "description": "The event id of the event." | ||
| }, | ||
| "eventSource": { | ||
| "type": "string", | ||
| "description": "The source of the event." | ||
| }, | ||
| "eventStatus": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "Scheduled", | ||
| "Started", | ||
| "Completed", | ||
| "Cancelled", | ||
| "Failed" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "eventStatus", | ||
| "modelAsString": true | ||
| }, | ||
| "description": "The status of the event." | ||
| }, | ||
| "scheduledTime": { | ||
| "type": "string", | ||
| "format": "date-time", | ||
| "description": "The time of the event is scheduled to start." | ||
| }, | ||
| "startTime": { | ||
| "type": "string", | ||
| "format": "date-time", | ||
| "description": "The time the event actually started." | ||
| }, | ||
| "lastUpdateTime": { | ||
| "type": "string", | ||
| "format": "date-time", | ||
| "description": "The last time the state of the event was updated." | ||
| }, | ||
| "resources": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "string", | ||
| "format": "arm-id", | ||
| "x-ms-arm-id-details": { | ||
| "allowedResources": [ | ||
| { | ||
| "type": "Microsoft.ContainerService/managedClusters" | ||
| }, | ||
| { | ||
| "type": "Microsoft.ContainerService/managedClusters/agentPools" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "description": "The list of resources impacted by the event." | ||
| }, | ||
| "resourceType": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "ManagedCluster", | ||
| "AgentPool" | ||
| ], | ||
| "x-ms-enum": { | ||
| "name": "ResourceType", | ||
| "modelAsString": true | ||
| }, | ||
| "description": "The resource type of the event." | ||
| } | ||
| }, | ||
| "description": "Properties for a scheduled event." | ||
| } | ||
| } | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.