-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
common.json
146 lines (146 loc) · 4.47 KB
/
common.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"swagger": "2.0",
"info": {
"version": "2023-01-15-preview",
"title": "AzureArcDataManagementClient",
"description": "The AzureArcData management API provides a RESTful set of web APIs to manage Azure Data Services on Azure Arc Resources."
},
"paths": {},
"definitions": {
"CommonSku": {
"description": "The resource model definition representing SKU for ARM resources",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the SKU. It is typically a letter+number code"
},
"dev": {
"type": "boolean",
"default": true,
"description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. "
},
"size": {
"type": "string",
"description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
},
"family": {
"type": "string",
"description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
},
"capacity": {
"type": "integer",
"format": "int32",
"description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
}
},
"required": [
"name"
]
},
"ErrorResponse": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/ErrorResponseBody",
"description": "null"
}
},
"description": "An error response from the Azure Data on Azure Arc service."
},
"ErrorResponseBody": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/ErrorResponseBody"
},
"x-ms-identifiers": [
"message",
"target"
],
"description": "A list of additional details about the error."
}
},
"description": "An error response from the Batch service."
},
"ExtendedLocation": {
"type": "object",
"description": "The complex type of the extended location.",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"$ref": "#/definitions/ExtendedLocationType",
"description": "The type of the extended location."
}
}
},
"ExtendedLocationType": {
"type": "string",
"description": "The type of extendedLocation.",
"enum": [
"CustomLocation"
],
"x-ms-enum": {
"name": "ExtendedLocationTypes",
"modelAsString": true
}
},
"BasicLoginInformation": {
"type": "object",
"description": "Username and password for basic login authentication.",
"properties": {
"username": {
"type": "string",
"description": "Login username."
},
"password": {
"type": "string",
"description": "Login password.",
"x-ms-mutability": [
"create",
"update"
],
"x-ms-secret": true
}
}
}
},
"parameters": {
"apiVersion": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The API version to use for the request",
"x-ms-parameter-location": "client"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
}
}