Skip to content

Commit c953973

Browse files
authored
[Hub Generated] Publish private branch 'dev-devcenter-Microsoft.DevCenter-2022-08-01-preview_renamerp' (#19708)
* add or modify files * Including subsequent changes made in separate PR - Azure/azure-rest-api-specs-pr#7688. 1) update environment creator role assignment in spec to match user role assignments. 2) add domainJoinType to attached network. * Fixed spellcheck failures. * Updated title to DevCenterClient to resolve sdk generation issues. * Fix RPaaS validation failure. Set 'final-state-via' property to 'location' for POST sync catalog operation
1 parent ead7d7e commit c953973

File tree

86 files changed

+8515
-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.

86 files changed

+8515
-0
lines changed

custom-words.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ Asturian
154154
asyncinfo
155155
asyncoperation
156156
atascada
157+
attachednetworks
157158
attestationcollateral
158159
attestationmechanism
159160
attributerule
@@ -589,6 +590,9 @@ deserializing
589590
destaging
590591
destinationshares
591592
deterministically
593+
devcenter
594+
devcenters
595+
devboxdefinitions
592596
deviceclass
593597
deviceclasses
594598
devicecredentials
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2022-08-01-preview",
5+
"title": "DevCenterClient",
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+
"readOnly": true
169+
}
170+
},
171+
"parameters": {
172+
"SubscriptionIdParameter": {
173+
"name": "subscriptionId",
174+
"in": "path",
175+
"required": true,
176+
"type": "string",
177+
"description": "Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)."
178+
},
179+
"ResourceGroupNameParameter": {
180+
"name": "resourceGroupName",
181+
"in": "path",
182+
"required": true,
183+
"type": "string",
184+
"description": "Name of the resource group within the Azure subscription.",
185+
"x-ms-parameter-location": "method"
186+
},
187+
"ProjectNameParameter": {
188+
"name": "projectName",
189+
"in": "path",
190+
"required": true,
191+
"type": "string",
192+
"description": "The name of the project.",
193+
"x-ms-parameter-location": "method"
194+
},
195+
"TopParameter": {
196+
"name": "$top",
197+
"in": "query",
198+
"description": "The maximum number of resources to return from the operation. Example: '$top=10'.",
199+
"type": "integer",
200+
"format": "int32",
201+
"required": false,
202+
"x-ms-parameter-location": "method"
203+
}
204+
}
205+
}

0 commit comments

Comments
 (0)