-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
workspaceSkus.json
230 lines (230 loc) · 6.81 KB
/
workspaceSkus.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
{
"swagger": "2.0",
"info": {
"title": "Azure Machine Learning Workspaces",
"version": "2022-01-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": {
"get": {
"tags": [
"WorkspaceSkus"
],
"description": "Lists all skus with associated features",
"operationId": "WorkspaceSkus_List",
"x-ms-examples": {
"List Skus": {
"$ref": "./examples/WorkspaceSku/list.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/SkuListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"SkuListResult": {
"description": "List of skus with features",
"type": "object",
"properties": {
"value": {
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/WorkspaceSku"
}
},
"nextLink": {
"type": "string",
"description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus"
}
}
},
"SKUCapability": {
"description": "Features/user capabilities associated with the sku",
"type": "object",
"properties": {
"name": {
"description": "Capability/Feature ID",
"type": "string"
},
"value": {
"description": "Details about the feature/capability",
"type": "string"
}
}
},
"Restriction": {
"properties": {
"type": {
"readOnly": true,
"type": "string",
"description": "The type of restrictions. As of now only possible value for this is location."
},
"values": {
"readOnly": true,
"type": "array",
"items": {
"type": "string"
},
"description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted."
},
"reasonCode": {
"type": "string",
"enum": [
"NotSpecified",
"NotAvailableForRegion",
"NotAvailableForSubscription"
],
"x-ms-enum": {
"name": "ReasonCode",
"modelAsString": true
},
"description": "The reason for the restriction."
}
},
"description": "The restriction because of which SKU cannot be used."
},
"ResourceSkuLocationInfo": {
"properties": {
"location": {
"readOnly": true,
"type": "string",
"description": "Location of the SKU"
},
"zones": {
"readOnly": true,
"type": "array",
"items": {
"type": "string"
},
"description": "List of availability zones where the SKU is supported."
},
"zoneDetails": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/definitions/ResourceSkuZoneDetails"
},
"description": "Details of capabilities available to a SKU in specific zones."
}
}
},
"ResourceSkuZoneDetails": {
"properties": {
"name": {
"type": "array",
"readOnly": true,
"items": {
"type": "string"
},
"description": "The set of zones that the SKU is available in with the specified capabilities."
},
"capabilities": {
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/SKUCapability"
},
"description": "A list of capabilities that are available for the SKU in the specified list of zones."
}
},
"description": "Describes The zonal capabilities of a SKU."
},
"WorkspaceSku": {
"description": "Describes Workspace Sku details and features",
"type": "object",
"properties": {
"locations": {
"readOnly": true,
"type": "array",
"items": {
"type": "string"
},
"description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)."
},
"locationInfo": {
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/ResourceSkuLocationInfo"
},
"description": "A list of locations and availability zones in those locations where the SKU is available."
},
"tier": {
"description": "Sku Tier like Basic or Enterprise",
"type": "string",
"readOnly": true
},
"resourceType": {
"type": "string",
"readOnly": true
},
"name": {
"type": "string",
"readOnly": true
},
"capabilities": {
"description": "List of features/user capabilities associated with the sku",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/SKUCapability"
},
"readOnly": true
},
"restrictions": {
"type": "array",
"items": {
"$ref": "#/definitions/Restriction"
},
"description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
}
}
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
},
"description": "Azure Active Directory OAuth2 Flow."
}
}
}