-
Notifications
You must be signed in to change notification settings - Fork 45
/
parameter-flattening.json
72 lines (72 loc) · 1.86 KB
/
parameter-flattening.json
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"swagger": "2.0",
"info": {
"title": "AutoRest Parameter Flattening",
"description": "Resource Flattening for AutoRest",
"version": "1.0.0",
"x-ms-code-generation-settings": {
"ft": 2
}
},
"host": "localhost:3000",
"schemes": ["http"],
"produces": ["application/json"],
"consumes": ["application/json"],
"paths": {
"/parameterFlattening/{resourceGroupName}/{availabilitySetName}": {
"patch": {
"tags": ["AvailabilitySets"],
"operationId": "AvailabilitySets_Update",
"description": "Updates the tags for an availability set.",
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "availabilitySetName",
"x-ms-client-name": "avset",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the storage availability set.",
"maxLength": 80
},
{
"name": "tags",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/AvailabilitySetUpdateParameters"
},
"description": "The tags."
}
],
"responses": {
"200": {
"description": ""
}
}
}
}
},
"definitions": {
"AvailabilitySetUpdateParameters": {
"type": "object",
"properties": {
"tags": {
"type": "object",
"title": "A set of tags.",
"description": "A description about the set of tags.",
"additionalProperties": {
"type": "string"
}
}
},
"required": ["tags"]
}
}
}