-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathsqlManagedInstances.json
251 lines (251 loc) · 7.98 KB
/
sqlManagedInstances.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
{
"swagger": "2.0",
"info": {
"version": "2021-11-01",
"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": {
"SqlManagedInstance": {
"description": "A SqlManagedInstance.",
"type": "object",
"allOf": [
{
"$ref": "./common.json#/definitions/TrackedResource"
}
],
"properties": {
"properties": {
"$ref": "#/definitions/SqlManagedInstanceProperties",
"description": "null",
"x-ms-client-flatten": false
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
"description": "The extendedLocation of the resource."
},
"sku": {
"$ref": "#/definitions/SqlManagedInstanceSku",
"description": "Resource sku."
}
},
"required": [
"properties"
]
},
"SqlManagedInstanceSku": {
"description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc",
"type": "object",
"properties": {
"name": {
"type": "string",
"enum": [
"vCore"
],
"description": "The name of the SKU."
},
"tier": {
"type": "string",
"enum": [
"GeneralPurpose",
"BusinessCritical"
],
"x-ms-enum": {
"name": "SqlManagedInstanceSkuTier",
"modelAsString": false
},
"default": "GeneralPurpose",
"description": "The pricing tier for the instance."
},
"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"
},
"capacity": {
"type": "integer",
"format": "int32"
}
},
"required": [
"name"
]
},
"SqlManagedInstanceProperties": {
"description": "Properties of sqlManagedInstance.",
"type": "object",
"properties": {
"dataControllerId": {
"type": "string",
"description": "null"
},
"admin": {
"type": "string",
"description": "The instance admin user"
},
"startTime": {
"type": "string",
"description": "The instance start time"
},
"endTime": {
"type": "string",
"description": "The instance end time"
},
"k8sRaw": {
"$ref": "#/definitions/SqlManagedInstanceK8sRaw",
"description": "The raw kubernetes information"
},
"basicLoginInformation": {
"$ref": "./common.json#/definitions/BasicLoginInformation",
"description": "Username and password for basic authentication."
},
"lastUploadedDate": {
"type": "string",
"format": "date-time",
"description": "Last uploaded date from Kubernetes cluster. Defaults to current date time"
},
"provisioningState": {
"type": "string",
"readOnly": true
},
"licenseType": {
"type": "string",
"enum": [
"BasePrice",
"LicenseIncluded"
],
"x-ms-enum": {
"name": "arcSqlManagedInstanceLicenseType",
"modelAsString": false
},
"default": "BasePrice",
"description": "The license type to apply for this managed instance."
},
"clusterId": {
"type": "string",
"description": "If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to."
},
"extensionId": {
"type": "string",
"description": "If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to."
}
}
},
"SqlManagedInstanceUpdate": {
"description": "An update to a SQL Managed Instance.",
"type": "object",
"properties": {
"tags": {
"description": "Resource tags.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"SqlManagedInstanceK8sRaw": {
"type": "object",
"description": "The raw kubernetes information.",
"properties": {
"spec": {
"$ref": "#/definitions/SqlManagedInstanceK8sSpec"
}
},
"additionalProperties": {
"type": "object"
}
},
"SqlManagedInstanceK8sSpec": {
"type": "object",
"description": "The kubernetes spec information.",
"properties": {
"scheduling": {
"$ref": "#/definitions/K8sScheduling"
},
"replicas": {
"type": "integer",
"format": "int32",
"description": "This option specifies the number of SQL Managed Instance replicas that will be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is GeneralPurpose, replicas must be '1'."
}
},
"additionalProperties": {
"type": "object"
}
},
"K8sScheduling": {
"type": "object",
"description": "The kubernetes scheduling information.",
"properties": {
"default": {
"$ref": "#/definitions/K8sSchedulingOptions"
}
},
"additionalProperties": {
"type": "object"
}
},
"K8sSchedulingOptions": {
"type": "object",
"description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service",
"properties": {
"resources": {
"$ref": "#/definitions/K8sResourceRequirements"
}
},
"additionalProperties": {
"type": "object"
}
},
"K8sResourceRequirements": {
"type": "object",
"description": "The kubernetes resource limits and requests used to restrict or reserve resource usage.",
"properties": {
"requests": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'."
},
"limits": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'."
}
},
"additionalProperties": {
"type": "object"
}
},
"SqlManagedInstanceListResult": {
"description": "A list of SqlManagedInstance.",
"type": "object",
"properties": {
"value": {
"description": "Array of results.",
"type": "array",
"items": {
"$ref": "#/definitions/SqlManagedInstance"
},
"readOnly": true
},
"nextLink": {
"description": "Link to retrieve next page of results.",
"type": "string",
"readOnly": true
}
}
}
}
}