Skip to content

Commit e8258cb

Browse files
komo23xKomal Yadav
andauthored
Add Registries 2023-04-01 Swagger (#23085)
* add swagger + examples * fix readme * fix readme * switching to autogenerated registries swagger * fix spellcheck * update ga examples * previous API version for comparison = 2023-02-01-preview * new API version for comparison = 2023-04-01 * update examples * update swagger, examples to fix pr gates * fix lint diff errors * delete should have a 202 response, update createorupdate examples, fix removeRegions operation * removeRegions -> LRO POST operation * fix LRO options on removeRegions * add registryNameParamert * update swagger * update * PATCH property should have sku, identity properties * fix example --------- Co-authored-by: Komal Yadav <[email protected]>
1 parent ea7763c commit e8258cb

File tree

13 files changed

+2408
-0
lines changed

13 files changed

+2408
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "test-rg",
5+
"registryName": "string",
6+
"api-version": "2023-04-01",
7+
"body": {
8+
"properties": {
9+
"regionDetails": [
10+
{
11+
"location": "string",
12+
"storageAccountDetails": [
13+
{
14+
"systemCreatedStorageAccount": {
15+
"storageAccountName": "string",
16+
"storageAccountType": "string",
17+
"storageAccountHnsEnabled": false,
18+
"armResourceId": {
19+
"resourceId": "string"
20+
},
21+
"allowBlobPublicAccess": false
22+
}
23+
}
24+
],
25+
"acrDetails": [
26+
{
27+
"systemCreatedAcrAccount": {
28+
"acrAccountName": "string",
29+
"acrAccountSku": "string",
30+
"armResourceId": {
31+
"resourceId": "string"
32+
}
33+
}
34+
}
35+
]
36+
}
37+
],
38+
"intellectualPropertyPublisher": "string",
39+
"publicNetworkAccess": "string",
40+
"discoveryUrl": "string",
41+
"managedResourceGroup": {
42+
"resourceId": "string"
43+
},
44+
"mlFlowRegistryUri": "string",
45+
"privateEndpointConnections": [
46+
{
47+
"id": "string",
48+
"location": "string",
49+
"properties": {
50+
"provisioningState": "string",
51+
"privateEndpoint": {
52+
"subnetArmId": "string"
53+
},
54+
"privateLinkServiceConnectionState": {
55+
"status": "Approved",
56+
"description": "string",
57+
"actionsRequired": "string"
58+
},
59+
"groupIds": [
60+
"string"
61+
]
62+
}
63+
}
64+
]
65+
},
66+
"tags": {},
67+
"location": "string",
68+
"kind": "string",
69+
"identity": {
70+
"type": "None",
71+
"userAssignedIdentities": {
72+
"string": {}
73+
}
74+
},
75+
"sku": {
76+
"name": "string",
77+
"tier": "Free",
78+
"size": "string",
79+
"family": "string",
80+
"capacity": 1
81+
}
82+
}
83+
},
84+
"responses": {
85+
"200": {
86+
"headers": {},
87+
"body": {
88+
"tags": {},
89+
"location": "string",
90+
"kind": "string",
91+
"identity": {
92+
"type": "SystemAssigned",
93+
"principalId": "00000000-1111-2222-3333-444444444444",
94+
"tenantId": "00000000-1111-2222-3333-444444444444",
95+
"userAssignedIdentities": {
96+
"string": {
97+
"principalId": "00000000-1111-2222-3333-444444444444",
98+
"clientId": "00000000-1111-2222-3333-444444444444"
99+
}
100+
}
101+
},
102+
"sku": {
103+
"name": "string",
104+
"tier": "Free",
105+
"size": "string",
106+
"family": "string",
107+
"capacity": 1
108+
},
109+
"id": "string",
110+
"name": "string",
111+
"type": "string",
112+
"properties": {
113+
"regionDetails": [
114+
{
115+
"location": "string",
116+
"storageAccountDetails": [
117+
{
118+
"systemCreatedStorageAccount": {
119+
"storageAccountName": "string",
120+
"storageAccountType": "string",
121+
"storageAccountHnsEnabled": false,
122+
"armResourceId": {
123+
"resourceId": "string"
124+
},
125+
"allowBlobPublicAccess": false
126+
}
127+
}
128+
],
129+
"acrDetails": [
130+
{
131+
"systemCreatedAcrAccount": {
132+
"acrAccountName": "string",
133+
"acrAccountSku": "string",
134+
"armResourceId": {
135+
"resourceId": "string"
136+
}
137+
}
138+
}
139+
]
140+
}
141+
],
142+
"intellectualPropertyPublisher": "string",
143+
"publicNetworkAccess": "string",
144+
"discoveryUrl": "string",
145+
"managedResourceGroup": {
146+
"resourceId": "string"
147+
},
148+
"mlFlowRegistryUri": "string",
149+
"privateEndpointConnections": [
150+
{
151+
"id": "string",
152+
"location": "string",
153+
"properties": {
154+
"provisioningState": "string",
155+
"privateEndpoint": {
156+
"id": "string",
157+
"subnetArmId": "string"
158+
},
159+
"privateLinkServiceConnectionState": {
160+
"status": "Approved",
161+
"description": "string",
162+
"actionsRequired": "string"
163+
},
164+
"groupIds": [
165+
"string"
166+
]
167+
}
168+
}
169+
]
170+
},
171+
"systemData": {
172+
"createdAt": "2020-01-01T12:34:56.999+00:38",
173+
"createdBy": "string",
174+
"createdByType": "User",
175+
"lastModifiedAt": "2020-01-01T12:34:56.999+00:38",
176+
"lastModifiedBy": "string",
177+
"lastModifiedByType": "User"
178+
}
179+
}
180+
},
181+
"201": {
182+
"headers": {},
183+
"body": {
184+
"tags": {},
185+
"location": "string",
186+
"kind": "string",
187+
"identity": {
188+
"type": "SystemAssigned",
189+
"principalId": "00000000-1111-2222-3333-444444444444",
190+
"tenantId": "00000000-1111-2222-3333-444444444444",
191+
"userAssignedIdentities": {
192+
"string": {
193+
"principalId": "00000000-1111-2222-3333-444444444444",
194+
"clientId": "00000000-1111-2222-3333-444444444444"
195+
}
196+
}
197+
},
198+
"sku": {
199+
"name": "string",
200+
"tier": "Free",
201+
"size": "string",
202+
"family": "string",
203+
"capacity": 1
204+
},
205+
"id": "string",
206+
"name": "string",
207+
"type": "string",
208+
"properties": {
209+
"regionDetails": [
210+
{
211+
"location": "string",
212+
"storageAccountDetails": [
213+
{
214+
"systemCreatedStorageAccount": {
215+
"storageAccountName": "string",
216+
"storageAccountType": "string",
217+
"storageAccountHnsEnabled": false,
218+
"armResourceId": {
219+
"resourceId": "string"
220+
},
221+
"allowBlobPublicAccess": false
222+
}
223+
}
224+
],
225+
"acrDetails": [
226+
{
227+
"systemCreatedAcrAccount": {
228+
"acrAccountName": "string",
229+
"acrAccountSku": "string",
230+
"armResourceId": {
231+
"resourceId": "string"
232+
}
233+
}
234+
}
235+
]
236+
}
237+
],
238+
"intellectualPropertyPublisher": "string",
239+
"publicNetworkAccess": "string",
240+
"discoveryUrl": "string",
241+
"managedResourceGroup": {
242+
"resourceId": "string"
243+
},
244+
"mlFlowRegistryUri": "string",
245+
"privateEndpointConnections": [
246+
{
247+
"id": "string",
248+
"location": "string",
249+
"properties": {
250+
"provisioningState": "string",
251+
"privateEndpoint": {
252+
"id": "string",
253+
"subnetArmId": "string"
254+
},
255+
"privateLinkServiceConnectionState": {
256+
"status": "Approved",
257+
"description": "string",
258+
"actionsRequired": "string"
259+
},
260+
"groupIds": [
261+
"string"
262+
]
263+
}
264+
}
265+
]
266+
},
267+
"systemData": {
268+
"createdAt": "2020-01-01T12:34:56.999+00:38",
269+
"createdBy": "string",
270+
"createdByType": "User",
271+
"lastModifiedAt": "2020-01-01T12:34:56.999+00:38",
272+
"lastModifiedBy": "string",
273+
"lastModifiedByType": "User"
274+
}
275+
}
276+
}
277+
}
278+
}

0 commit comments

Comments
 (0)