Skip to content

Commit 8870ef2

Browse files
committed
copy over api version
1 parent 37c9b56 commit 8870ef2

File tree

62 files changed

+8645
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+8645
-0
lines changed
Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "ComputeManagementClient",
5+
"description": "The Compute Management Client.",
6+
"version": "v1"
7+
},
8+
"host": "management.azure.com",
9+
"schemes": [
10+
"https"
11+
],
12+
"consumes": [
13+
"application/json"
14+
],
15+
"produces": [
16+
"application/json"
17+
],
18+
"security": [
19+
{
20+
"azure_auth": [
21+
"user_impersonation"
22+
]
23+
}
24+
],
25+
"securityDefinitions": {
26+
"azure_auth": {
27+
"type": "oauth2",
28+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
29+
"flow": "implicit",
30+
"description": "Azure Active Directory OAuth2 Flow",
31+
"scopes": {
32+
"user_impersonation": "impersonate your user account"
33+
}
34+
}
35+
},
36+
"paths": {},
37+
"definitions": {
38+
"ApiErrorBase": {
39+
"properties": {
40+
"code": {
41+
"type": "string",
42+
"description": "The error code."
43+
},
44+
"target": {
45+
"type": "string",
46+
"description": "The target of the particular error."
47+
},
48+
"message": {
49+
"type": "string",
50+
"description": "The error message."
51+
}
52+
},
53+
"description": "Api error base."
54+
},
55+
"InnerError": {
56+
"properties": {
57+
"exceptiontype": {
58+
"type": "string",
59+
"description": "The exception type."
60+
},
61+
"errordetail": {
62+
"type": "string",
63+
"description": "The internal error message or exception dump."
64+
}
65+
},
66+
"description": "Inner error details."
67+
},
68+
"CloudError": {
69+
"x-ms-external": true,
70+
"properties": {
71+
"error": {
72+
"$ref": "#/definitions/ApiError"
73+
}
74+
},
75+
"description": "An error response from the Compute service."
76+
},
77+
"ApiError": {
78+
"properties": {
79+
"details": {
80+
"type": "array",
81+
"items": {
82+
"$ref": "#/definitions/ApiErrorBase"
83+
},
84+
"x-ms-identifiers": [
85+
"message",
86+
"target"
87+
],
88+
"description": "The Api error details"
89+
},
90+
"innererror": {
91+
"$ref": "#/definitions/InnerError",
92+
"description": "The Api inner error"
93+
},
94+
"code": {
95+
"type": "string",
96+
"description": "The error code."
97+
},
98+
"target": {
99+
"type": "string",
100+
"description": "The target of the particular error."
101+
},
102+
"message": {
103+
"type": "string",
104+
"description": "The error message."
105+
}
106+
},
107+
"description": "Api error."
108+
},
109+
"Resource": {
110+
"description": "The Resource model definition.",
111+
"properties": {
112+
"id": {
113+
"readOnly": true,
114+
"type": "string",
115+
"description": "Resource Id"
116+
},
117+
"name": {
118+
"readOnly": true,
119+
"type": "string",
120+
"description": "Resource name"
121+
},
122+
"type": {
123+
"readOnly": true,
124+
"type": "string",
125+
"description": "Resource type"
126+
},
127+
"location": {
128+
"type": "string",
129+
"description": "Resource location"
130+
},
131+
"tags": {
132+
"type": "object",
133+
"additionalProperties": {
134+
"type": "string"
135+
},
136+
"description": "Resource tags"
137+
}
138+
},
139+
"required": [
140+
"location"
141+
],
142+
"x-ms-azure-resource": true
143+
},
144+
"SubResource": {
145+
"properties": {
146+
"id": {
147+
"type": "string",
148+
"description": "Resource Id"
149+
}
150+
},
151+
"x-ms-azure-resource": true
152+
},
153+
"SubResourceReadOnly": {
154+
"properties": {
155+
"id": {
156+
"readOnly": true,
157+
"type": "string",
158+
"description": "Resource Id"
159+
}
160+
},
161+
"x-ms-azure-resource": true
162+
},
163+
"ResourceWithOptionalLocation": {
164+
"type": "object",
165+
"description": "The Resource model definition with location property as optional.",
166+
"properties": {
167+
"location": {
168+
"type": "string",
169+
"description": "Resource location"
170+
},
171+
"id": {
172+
"readOnly": true,
173+
"type": "string",
174+
"description": "Resource Id"
175+
},
176+
"name": {
177+
"readOnly": true,
178+
"type": "string",
179+
"description": "Resource name"
180+
},
181+
"type": {
182+
"readOnly": true,
183+
"type": "string",
184+
"description": "Resource type"
185+
},
186+
"tags": {
187+
"type": "object",
188+
"additionalProperties": {
189+
"type": "string"
190+
},
191+
"description": "Resource tags"
192+
}
193+
},
194+
"x-ms-azure-resource": true
195+
},
196+
"ExtendedLocationType": {
197+
"type": "string",
198+
"description": "The type of extendedLocation.",
199+
"enum": [
200+
"EdgeZone"
201+
],
202+
"x-ms-enum": {
203+
"name": "ExtendedLocationTypes",
204+
"modelAsString": true
205+
}
206+
},
207+
"ExtendedLocation": {
208+
"description": "The complex type of the extended location.",
209+
"properties": {
210+
"name": {
211+
"type": "string",
212+
"description": "The name of the extended location."
213+
},
214+
"type": {
215+
"$ref": "#/definitions/ExtendedLocationType",
216+
"description": "The type of the extended location."
217+
}
218+
}
219+
},
220+
"UserAssignedIdentities": {
221+
"type": "object",
222+
"additionalProperties": {
223+
"type": "object",
224+
"x-ms-client-name": "userAssignedIdentitiesValue",
225+
"properties": {
226+
"principalId": {
227+
"readOnly": true,
228+
"type": "string",
229+
"description": "The principal id of user assigned identity."
230+
},
231+
"clientId": {
232+
"readOnly": true,
233+
"type": "string",
234+
"description": "The client id of user assigned identity."
235+
}
236+
}
237+
},
238+
"description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
239+
}
240+
},
241+
"parameters": {
242+
"SubscriptionIdParameter": {
243+
"name": "subscriptionId",
244+
"in": "path",
245+
"required": true,
246+
"type": "string",
247+
"description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
248+
},
249+
"ApiVersionParameter": {
250+
"name": "api-version",
251+
"in": "query",
252+
"required": true,
253+
"type": "string",
254+
"description": "Client Api Version."
255+
}
256+
}
257+
}

0 commit comments

Comments
 (0)