Skip to content

Commit faac08e

Browse files
ArberHArber Hila
andauthored
[Microsoft.DevCenter] [ConrolPlane] New 2025-07-01-preview API version (Azure#35507)
* Copy files from preview/2025-04-01-preview Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2025-07-01-preview Updated the API version from preview/2025-04-01-preview to preview/2025-07-01-preview. * Added tag for 2025-07-01-preview in readme file * 2025-07-01-preview changes and examples * Run npm install and prettier as per Swagger PrettierCheck instructions * Undo package-lock that happened due to npm install? * Add surpressions to readme.md * PR Feedback * Fix the surpression again * Adjust surpression * Fix directive * try and fix paths * Use code number instead of code name * Try again * try again * try again * try again * try agian * try again * Try again * Test * Add back where clause * Try different parameter index * Remove required type type * Add back required but for PUT only * Try suppression again * Fix examples * Remove required, keep suppression as it has always been * Fix linter complaining about dataplane specification * Explicitely add servic-dir, default is not beign picked up * Add back API-version * Try to get around erreneous spell check linter... * Remove GO sdk from tspconfig.yaml --------- Co-authored-by: Arber Hila <[email protected]>
1 parent d4af2fe commit faac08e

File tree

149 files changed

+17635
-1
lines changed

Some content is hidden

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

149 files changed

+17635
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2025-07-01-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+
"DevCenterSku": {
85+
"description": "The resource model definition representing SKU for DevCenter resources",
86+
"type": "object",
87+
"allOf": [
88+
{
89+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Sku"
90+
}
91+
],
92+
"properties": {
93+
"resourceType": {
94+
"type": "string",
95+
"description": "The name of the resource type",
96+
"readOnly": true
97+
},
98+
"locations": {
99+
"description": "SKU supported locations.",
100+
"type": "array",
101+
"readOnly": true,
102+
"items": {
103+
"type": "string"
104+
}
105+
},
106+
"capabilities": {
107+
"description": "Collection of name/value pairs to describe the SKU capabilities.",
108+
"type": "array",
109+
"readOnly": true,
110+
"items": {
111+
"$ref": "#/definitions/Capability"
112+
},
113+
"x-ms-identifiers": []
114+
}
115+
},
116+
"required": [
117+
"name"
118+
]
119+
},
120+
"ProvisioningState": {
121+
"type": "string",
122+
"description": "Provisioning state of the resource.",
123+
"enum": [
124+
"NotSpecified",
125+
"Accepted",
126+
"Running",
127+
"Creating",
128+
"Created",
129+
"Updating",
130+
"Updated",
131+
"Deleting",
132+
"Deleted",
133+
"Succeeded",
134+
"Failed",
135+
"Canceled",
136+
"MovingResources",
137+
"TransientFailure",
138+
"RolloutInProgress",
139+
"StorageProvisioningFailed"
140+
],
141+
"readOnly": true,
142+
"x-ms-enum": {
143+
"name": "ProvisioningState",
144+
"modelAsString": true
145+
}
146+
}
147+
},
148+
"parameters": {
149+
"ProjectNameParameter": {
150+
"name": "projectName",
151+
"in": "path",
152+
"required": true,
153+
"type": "string",
154+
"description": "The name of the project.",
155+
"x-ms-parameter-location": "method",
156+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$",
157+
"minLength": 3,
158+
"maxLength": 63
159+
},
160+
"TopParameter": {
161+
"name": "$top",
162+
"in": "query",
163+
"description": "The maximum number of resources to return from the operation. Example: '$top=10'.",
164+
"type": "integer",
165+
"format": "int32",
166+
"required": false,
167+
"x-ms-parameter-location": "method"
168+
}
169+
}
170+
}

0 commit comments

Comments
 (0)