|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "title": "ContainerServiceClient", |
| 5 | + "description": "The Container Service Client.", |
| 6 | + "version": "2023-11-02-preview" |
| 7 | + }, |
| 8 | + "host": "management.azure.com", |
| 9 | + "schemes": [ |
| 10 | + "https" |
| 11 | + ], |
| 12 | + "consumes": [ |
| 13 | + "application/json" |
| 14 | + ], |
| 15 | + "produces": [ |
| 16 | + "application/json" |
| 17 | + ], |
| 18 | + "security": [ |
| 19 | + { |
| 20 | + "azure_auth": [ |
| 21 | + "user_impersonation" |
| 22 | + ] |
| 23 | + } |
| 24 | + ], |
| 25 | + "securityDefinitions": { |
| 26 | + "azure_auth": { |
| 27 | + "type": "oauth2", |
| 28 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", |
| 29 | + "flow": "implicit", |
| 30 | + "description": "Azure Active Directory OAuth2 Flow", |
| 31 | + "scopes": { |
| 32 | + "user_impersonation": "impersonate your user account" |
| 33 | + } |
| 34 | + } |
| 35 | + }, |
| 36 | + "paths": {}, |
| 37 | + "definitions": { |
| 38 | + "ScheduledEvent": { |
| 39 | + "type": "object", |
| 40 | + "allOf": [ |
| 41 | + { |
| 42 | + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" |
| 43 | + } |
| 44 | + ], |
| 45 | + "properties": { |
| 46 | + "properties": { |
| 47 | + "description": "Properties for a scheduled event.", |
| 48 | + "$ref": "#/definitions/ScheduledEventProperties", |
| 49 | + "x-ms-client-flatten": true |
| 50 | + } |
| 51 | + }, |
| 52 | + "description": "Scheduled event." |
| 53 | + }, |
| 54 | + "ScheduledEventProperties": { |
| 55 | + "type": "object", |
| 56 | + "properties": { |
| 57 | + "description": { |
| 58 | + "type": "string", |
| 59 | + "description": "The description of a scheduled event." |
| 60 | + }, |
| 61 | + "eventId": { |
| 62 | + "type": "string", |
| 63 | + "description": "The event id of a scheduled event." |
| 64 | + }, |
| 65 | + "eventSource": { |
| 66 | + "type": "string", |
| 67 | + "description": "The source of a scheduled event." |
| 68 | + }, |
| 69 | + "eventStatus": { |
| 70 | + "type": "string", |
| 71 | + "enum": [ |
| 72 | + "Scheduled", |
| 73 | + "Started", |
| 74 | + "Completed", |
| 75 | + "Cancelled", |
| 76 | + "Failed" |
| 77 | + ], |
| 78 | + "x-ms-enum": { |
| 79 | + "name": "eventStatus", |
| 80 | + "modelAsString": true |
| 81 | + }, |
| 82 | + "description": "The status of a scheduled event." |
| 83 | + }, |
| 84 | + "scheduledTime": { |
| 85 | + "type": "string", |
| 86 | + "format": "date-time", |
| 87 | + "description": "The time of a scheduled event." |
| 88 | + }, |
| 89 | + "startTime": { |
| 90 | + "type": "string", |
| 91 | + "format": "date-time", |
| 92 | + "description": "The time of a scheduled event starts." |
| 93 | + }, |
| 94 | + "lastUpdateTime": { |
| 95 | + "type": "string", |
| 96 | + "format": "date-time", |
| 97 | + "description": "The time of a scheduled event last updates." |
| 98 | + }, |
| 99 | + "resources": { |
| 100 | + "type": "array", |
| 101 | + "items": { |
| 102 | + "type": "string", |
| 103 | + "format": "arm-id", |
| 104 | + "x-ms-arm-id-details": { |
| 105 | + "allowedResources": [ |
| 106 | + { |
| 107 | + "type": "Microsoft.ContainerService/managedClusters" |
| 108 | + }, |
| 109 | + { |
| 110 | + "type": "Microsoft.ContainerService/managedClusters/agentPools" |
| 111 | + } |
| 112 | + ] |
| 113 | + } |
| 114 | + }, |
| 115 | + "description": "The list of resources of a scheduled event." |
| 116 | + }, |
| 117 | + "resourceType": { |
| 118 | + "type": "string", |
| 119 | + "enum": [ |
| 120 | + "ManagedCluster", |
| 121 | + "AgentPool" |
| 122 | + ], |
| 123 | + "x-ms-enum": { |
| 124 | + "name": "ResourceType", |
| 125 | + "modelAsString": true |
| 126 | + }, |
| 127 | + "description": "The resource type of a scheduled event." |
| 128 | + } |
| 129 | + }, |
| 130 | + "description": "Properties for a scheduled event." |
| 131 | + } |
| 132 | + } |
| 133 | +} |
0 commit comments