-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathswagger.yaml
55 lines (55 loc) · 1.45 KB
/
swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
swagger: '2.0'
info:
title: Integration Villain Monitoring App
description: Integration Villain project - monitorapp Open API
version: v1
host: fncapp-integrationvillain-wus2.azurewebsites.net
schemes:
- https
consumes:
- application/json
produces:
- application/json
paths:
/api/AKSClusterStatus:
get:
tags:
- AKSClusterStatus
operationId: AKSClusterStatus_Get
summary: Gets a AKS managed cluster status.
parameters:
- $ref: '#/parameters/AKSClusterNameParameter'
responses:
'200':
description: OK
schema:
$ref: '#/definitions/PowerStateResponse'
definitions:
PowerStateResponse:
description: Describes the Power State of the cluster
properties:
powerState:
type: string
description: Tells whether the cluster is Running or Stopped
enum:
- Running
- Stopped
x-ms-enum:
name: code
modelAsString: true
values:
- value: Running
description: The cluster is running.
- value: Stopped
description: The cluster is stopped.
parameters:
AKSClusterNameParameter:
name: name
in: query
required: true
type: string
minLength: 1
maxLength: 63
pattern: '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'
description: The name of the AKS managed cluster resource.
x-ms-parameter-location: method