Skip to content

Commit 3b414eb

Browse files
authored
add or modify files (#21539)
1 parent 9d00bb9 commit 3b414eb

File tree

82 files changed

+8766
-2
lines changed

Some content is hidden

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

82 files changed

+8766
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2022-11-11-preview",
5+
"title": "DevCenter",
6+
"description": "DevCenter Management API"
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+
"Capability": {
39+
"description": "A name/value pair to describe a capability.",
40+
"type": "object",
41+
"properties": {
42+
"name": {
43+
"description": "Name of the capability.",
44+
"type": "string",
45+
"readOnly": true
46+
},
47+
"value": {
48+
"description": "Value of the capability.",
49+
"type": "string",
50+
"readOnly": true
51+
}
52+
}
53+
},
54+
"TrackedResourceUpdate": {
55+
"description": "Base tracked resource type for PATCH updates",
56+
"type": "object",
57+
"properties": {
58+
"tags": {
59+
"$ref": "#/definitions/Tags",
60+
"description": "Resource tags."
61+
},
62+
"location": {
63+
"type": "string",
64+
"x-ms-mutability": [
65+
"read",
66+
"create"
67+
],
68+
"description": "The geo-location where the resource lives"
69+
}
70+
}
71+
},
72+
"Tags": {
73+
"type": "object",
74+
"additionalProperties": {
75+
"type": "string"
76+
},
77+
"x-ms-mutability": [
78+
"read",
79+
"create",
80+
"update"
81+
],
82+
"description": "Resource tags."
83+
},
84+
"CloudError": {
85+
"x-ms-external": true,
86+
"type": "object",
87+
"properties": {
88+
"error": {
89+
"description": "Error body",
90+
"$ref": "#/definitions/CloudErrorBody"
91+
}
92+
},
93+
"description": "An error response from the DevCenter service.",
94+
"required": [
95+
"error"
96+
]
97+
},
98+
"CloudErrorBody": {
99+
"x-ms-external": true,
100+
"type": "object",
101+
"properties": {
102+
"code": {
103+
"type": "string",
104+
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
105+
},
106+
"message": {
107+
"type": "string",
108+
"description": "A message describing the error, intended to be suitable for display in a user interface."
109+
},
110+
"target": {
111+
"type": "string",
112+
"description": "The target of the particular error. For example, the name of the property in error."
113+
},
114+
"details": {
115+
"type": "array",
116+
"items": {
117+
"$ref": "#/definitions/CloudErrorBody"
118+
},
119+
"x-ms-identifiers": [],
120+
"description": "A list of additional details about the error."
121+
}
122+
},
123+
"description": "An error response from the DevCenter service.",
124+
"required": [
125+
"code",
126+
"message"
127+
]
128+
},
129+
"DevCenterSku": {
130+
"description": "The resource model definition representing SKU for DevCenter resources",
131+
"type": "object",
132+
"allOf": [
133+
{
134+
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku"
135+
}
136+
],
137+
"properties": {
138+
"resourceType": {
139+
"type": "string",
140+
"description": "The name of the resource type",
141+
"readOnly": true
142+
},
143+
"locations": {
144+
"description": "SKU supported locations.",
145+
"type": "array",
146+
"readOnly": true,
147+
"items": {
148+
"type": "string"
149+
}
150+
},
151+
"capabilities": {
152+
"description": "Collection of name/value pairs to describe the SKU capabilities.",
153+
"type": "array",
154+
"readOnly": true,
155+
"items": {
156+
"$ref": "#/definitions/Capability"
157+
},
158+
"x-ms-identifiers": []
159+
}
160+
},
161+
"required": [
162+
"name"
163+
]
164+
},
165+
"ProvisioningState": {
166+
"type": "string",
167+
"description": "Provisioning state of the resource.",
168+
"enum": [
169+
"NotSpecified",
170+
"Accepted",
171+
"Running",
172+
"Creating",
173+
"Created",
174+
"Updating",
175+
"Updated",
176+
"Deleting",
177+
"Deleted",
178+
"Succeeded",
179+
"Failed",
180+
"Canceled",
181+
"MovingResources",
182+
"TransientFailure",
183+
"RolloutInProgress",
184+
"StorageProvisioningFailed"
185+
],
186+
"readOnly": true,
187+
"x-ms-enum": {
188+
"name": "ProvisioningState",
189+
"modelAsString": true
190+
}
191+
}
192+
},
193+
"parameters": {
194+
"ProjectNameParameter": {
195+
"name": "projectName",
196+
"in": "path",
197+
"required": true,
198+
"type": "string",
199+
"description": "The name of the project.",
200+
"x-ms-parameter-location": "method"
201+
},
202+
"TopParameter": {
203+
"name": "$top",
204+
"in": "query",
205+
"description": "The maximum number of resources to return from the operation. Example: '$top=10'.",
206+
"type": "integer",
207+
"format": "int32",
208+
"required": false,
209+
"x-ms-parameter-location": "method"
210+
}
211+
}
212+
}

0 commit comments

Comments
 (0)