Skip to content

Commit

Permalink
Add scheduled events data object.
Browse files Browse the repository at this point in the history
  • Loading branch information
JunSun17 committed Nov 30, 2023
1 parent efe6496 commit e70d459
Showing 1 changed file with 77 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5091,6 +5091,83 @@
"title": "A time range.",
"description": "For example, between 2021-05-25T13:00:00Z and 2021-05-25T14:00:00Z."
},
"ScheduledEvent": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "The description of a scheduled event."
},
"eventid": {
"type": "string",
"description": "The event id of a scheduled event."
},
"eventsource": {
"type": "string",
"description": "The source of a scheduled event."
},
"eventstatus": {
"type": "string",
"enum": [
"Scheduled",
"Started",
"Completed",
"Cancelled",
"Failed"
],
"x-ms-enum": {
"name": "eventstatus",
"modelAsString": true
},
"description": "The status of a scheduled event."
},
"scheduledtime": {
"type": "string",
"format": "date-time",
"description": "The time of a scheduled event."
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "The time of a scheduled event starts."
},
"lastUpdateTime": {
"type": "string",
"format": "date-time",
"description": "The time of a scheduled event last updates."
},
"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 of a scheduled event."
},
"resourcetype": {
"type": "string",
"enum": [
"ManagedCluster",
"AgentPool"
],
"x-ms-enum": {
"name": "resourcetype",
"modelAsString": true
},
"description": "The resource type of a scheduled event."
}
}
},
"RunCommandRequest": {
"type": "object",
"properties": {
Expand Down

0 comments on commit e70d459

Please sign in to comment.