Skip to content

Commit 20b4195

Browse files
Juliehzljijohn14sushmithavangalasonwan2020LGDoor
authored
Release app microsoft.app 2024 02 02 preview (#29312)
* Adds base for updating Microsoft.App from version preview/2023-11-02-preview to version 2024-02-02-preview * Updates readme * Updates API version in new specs and examples * Functions Extension endpoint for Web RP (#27873) * Functions extension api-spec commit * merge with latest * Functions Extension in 2024-02-02-preview * correcetd version in readme * avacado fail fix - version * pattern addition * fix for PathForResourceAction * lint diff and model validation checks * AutoRest exception fix * endpoint response as string and not schema * response schema with string * example schema * example within spec * extension example with data * extensions example with body * body as string * [Microsoft.App] add runtime attribute to app configuration (#27892) * add configuration.runtime for apps * Add Nacos For Java Component. (#28045) * Add Nacos For Java Component. * fix spell check. * [Container Apps] Update Runtime to add DotNet support (#28001) * [Container Apps] Update Runtime to add DotNet support * Remove default value * Rename dotNet to dotnet * [Container Apps] Remove AspireResourceServerApi type for DotNetComponent (#28005) * [Container Apps] Remove AspireResourceServerApi type for DotNetComponent * Only keep changes to 2024-02-02-preview * [ContainerApp] Support peer traffic encryption. (#28129) * Make the JavaComponent definitions polymorphism and expose fqdn for sba and eureka (#28102) * Make the JavaComponent definitions polymorphism * fix api version * revert error response change * refine examples * fix default value * fix * fix * try to remove required * try remove require in patch body * fix * try fix lint * fix * add suppression for discriminator * fix --------- Co-authored-by: Xuyang Cao <[email protected]> * ContainerAppsBuild and ContainerAppsPatch API (#27982) * Added CloudBuild and CloudPatch * Fixed pipeline errors * Added ContainerApp example * Fixed typo in example * Fixed linting error * Fixed spacing * Addressed comments * Addressed comments and modified sample * Fixed linting error * Addressed comments * Linting * Fixed typo * Fixed Typo * Resolving model validation error * [Microsoft.App] add java agent related properties (#28192) * add java agent related properties * fix build error * fix format * re-run pipeline * update enum list and fix typo * revert cspell config * update level field type from enum to string * add identifiers for array prop * Fix error response for aca (#28425) * fix * fix * Adding identity for scale rules (#28283) * Adding identity for scale rules * fix scale example * Fix schema issue for Microsoft.App in 2024-02-02-preview (#28454) * fix * fix * fix * fix * fix * fix * Update Container Apps Swagger Schema to include kind property (#28405) * Added support for KIND property to container apps schema * added reference to example request schema * prettier check * changes to example conforming to swagger * used enum for app kind * minor fixes * merged main * Revert "merged main" This reverts commit 2437d60. * fixed checks * Add detailed job execution to api (#27977) * Add detailed job execution to api * Add fields * address comment * add x-ms-identifiers * prettier * address comments * Address comments * Address comments * update example * Fix property name * Fix example * [Microsoft.App] optimize java agent related properties (#28573) * optimize java agent related props * fix * adding logging property to include logger settings --------- Co-authored-by: Bowen Wan <[email protected]> * Add accountName for queueScaler (#28672) * add accountName for queueScaler * updated example * updated * updated * updated * Adding identity settings (#28117) * Adding identity settings * fix casing in examples * Switch to array since ARM doesn't allow dictionaries. * identity property should be required. * prettier * Updating description * Adding Jobs spec * Update specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/Jobs.json Co-authored-by: Jitin John <[email protected]> * Move IdentitySettings to CommonDefinitions --------- Co-authored-by: Jitin John <[email protected]> * Add SessionPools and Sessions (#28047) * Add SessionPools.json and Sessions.json * Add private endpoint connections for managed environment (#28775) * add pe * fix * fix * fix * fix * fix * fix * use v5 * fix * fix * Add support for SMB storage in connectedEnvironment (#29158) * Add support for SMB storage in connectedEnvironment * move smb properties to common * fix reference --------- Co-authored-by: [email protected] <[email protected]> * API spec for LogicApps extension on Microsoft.App (#29083) * API spec for LogicApps extension on Microsoft.App * format * fix typos * fix issues * fix example references * fix more issues * fix issues * fix more model validation * fix * fix model * fix format * fix lintdiff * fix example * fix headers * add delete * add missing file --------- Co-authored-by: Anand G Menon <[email protected]> * Add publicNetworkAccess in managed environment (#29092) * fix * fix * fix example * fix lint * revert previous change for patch * fix go sdk duplicate schema * fix go sdk duplicate schema * fix billing meter * fix billing meter --------- Co-authored-by: Jitin John <[email protected]> Co-authored-by: SushmithaVReddy <[email protected]> Co-authored-by: sonwan2020 <[email protected]> Co-authored-by: Xiangyang Yu <[email protected]> Co-authored-by: daniv-msft <[email protected]> Co-authored-by: Xuyang Cao <[email protected]> Co-authored-by: Xuyang Cao <[email protected]> Co-authored-by: Harry Li <[email protected]> Co-authored-by: Jimmy Fang <[email protected]> Co-authored-by: Vaclav Turecek <[email protected]> Co-authored-by: Shubham Sachdeva <[email protected]> Co-authored-by: lihaMSFT <[email protected]> Co-authored-by: Bowen Wan <[email protected]> Co-authored-by: njucz <[email protected]> Co-authored-by: yitaopan <[email protected]> Co-authored-by: anandgmenon <[email protected]> Co-authored-by: [email protected] <[email protected]>
1 parent 62da663 commit 20b4195

File tree

226 files changed

+31786
-3
lines changed

Some content is hidden

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

226 files changed

+31786
-3
lines changed

cSpell.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,12 @@
247247
"otlp"
248248
]
249249
},
250+
{
251+
"filename": "**/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/ContainerApps.json",
252+
"words": [
253+
"workflowapp"
254+
]
255+
},
250256
{
251257
"filename": "**/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json",
252258
"words": [

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,6 +1868,7 @@ myvolume
18681868
myworkbooks
18691869
n'eventtype
18701870
n'recognition
1871+
nacos
18711872
nadella
18721873
nagios
18731874
nameserver
Lines changed: 312 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,312 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "ContainerApps API Client",
5+
"version": "2024-02-02-preview"
6+
},
7+
"host": "management.azure.com",
8+
"schemes": [
9+
"https"
10+
],
11+
"consumes": [
12+
"application/json"
13+
],
14+
"produces": [
15+
"application/json"
16+
],
17+
"paths": {
18+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{appName}/resiliencyPolicies/{name}": {
19+
"put": {
20+
"tags": [
21+
"AppResiliency"
22+
],
23+
"summary": "Create or update an application's resiliency policy.",
24+
"description": "Create or update container app resiliency policy.",
25+
"operationId": "AppResiliency_CreateOrUpdate",
26+
"parameters": [
27+
{
28+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
29+
},
30+
{
31+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
32+
},
33+
{
34+
"name": "appName",
35+
"description": "Name of the Container App.",
36+
"in": "path",
37+
"required": true,
38+
"type": "string",
39+
"pattern": "^[-\\w\\._\\(\\)]+$"
40+
},
41+
{
42+
"name": "name",
43+
"description": "Name of the resiliency policy.",
44+
"in": "path",
45+
"required": true,
46+
"type": "string",
47+
"pattern": "^[-\\w\\._\\(\\)]+$"
48+
},
49+
{
50+
"name": "resiliencyEnvelope",
51+
"in": "body",
52+
"description": "The resiliency policy to create or update.",
53+
"required": true,
54+
"schema": {
55+
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
56+
}
57+
},
58+
{
59+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
60+
}
61+
],
62+
"responses": {
63+
"200": {
64+
"description": "OK",
65+
"schema": {
66+
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
67+
}
68+
},
69+
"201": {
70+
"description": "App Resiliency create or update has been started.",
71+
"schema": {
72+
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
73+
}
74+
},
75+
"default": {
76+
"description": "Common error response.",
77+
"schema": {
78+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
79+
}
80+
}
81+
},
82+
"x-ms-examples": {
83+
"Create or Update App Resiliency": {
84+
"$ref": "./examples/AppResiliency_CreateOrUpdate.json"
85+
}
86+
}
87+
},
88+
"patch": {
89+
"tags": [
90+
"AppResiliency"
91+
],
92+
"summary": "Update an application's resiliency policy.",
93+
"description": "Update container app resiliency policy.",
94+
"operationId": "AppResiliency_Update",
95+
"parameters": [
96+
{
97+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
98+
},
99+
{
100+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
101+
},
102+
{
103+
"name": "appName",
104+
"description": "Name of the Container App.",
105+
"in": "path",
106+
"required": true,
107+
"type": "string",
108+
"pattern": "^[-\\w\\._\\(\\)]+$"
109+
},
110+
{
111+
"name": "name",
112+
"description": "Name of the resiliency policy.",
113+
"in": "path",
114+
"required": true,
115+
"type": "string",
116+
"pattern": "^[-\\w\\._\\(\\)]+$"
117+
},
118+
{
119+
"name": "resiliencyEnvelope",
120+
"in": "body",
121+
"description": "The resiliency policy to update.",
122+
"required": true,
123+
"schema": {
124+
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
125+
}
126+
},
127+
{
128+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
129+
}
130+
],
131+
"responses": {
132+
"200": {
133+
"description": "OK",
134+
"schema": {
135+
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
136+
}
137+
},
138+
"default": {
139+
"description": "Common error response.",
140+
"schema": {
141+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
142+
}
143+
}
144+
},
145+
"x-ms-examples": {
146+
"Update App Resiliency": {
147+
"$ref": "./examples/AppResiliency_Patch.json"
148+
}
149+
}
150+
},
151+
"delete": {
152+
"tags": [
153+
"AppResiliency"
154+
],
155+
"summary": "Delete an application's resiliency policy.",
156+
"description": "Delete container app resiliency policy.",
157+
"operationId": "AppResiliency_Delete",
158+
"parameters": [
159+
{
160+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
161+
},
162+
{
163+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
164+
},
165+
{
166+
"name": "appName",
167+
"description": "Name of the Container App.",
168+
"in": "path",
169+
"required": true,
170+
"type": "string",
171+
"pattern": "^[-\\w\\._\\(\\)]+$"
172+
},
173+
{
174+
"name": "name",
175+
"description": "Name of the resiliency policy.",
176+
"in": "path",
177+
"required": true,
178+
"type": "string",
179+
"pattern": "^[-\\w\\._\\(\\)]+$"
180+
},
181+
{
182+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
183+
}
184+
],
185+
"responses": {
186+
"200": {
187+
"description": "Resiliency policy deleted successfully."
188+
},
189+
"204": {
190+
"description": "Resiliency policy does not exist."
191+
},
192+
"default": {
193+
"description": "Common error response.",
194+
"schema": {
195+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
196+
}
197+
}
198+
},
199+
"x-ms-examples": {
200+
"Delete App Resiliency": {
201+
"$ref": "./examples/AppResiliency_Delete.json"
202+
}
203+
}
204+
},
205+
"get": {
206+
"tags": [
207+
"AppResiliency"
208+
],
209+
"summary": "Get an application's resiliency policy.",
210+
"description": "Get container app resiliency policy.",
211+
"operationId": "AppResiliency_Get",
212+
"parameters": [
213+
{
214+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
215+
},
216+
{
217+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
218+
},
219+
{
220+
"name": "appName",
221+
"description": "Name of the Container App.",
222+
"in": "path",
223+
"required": true,
224+
"type": "string",
225+
"pattern": "^[-\\w\\._\\(\\)]+$"
226+
},
227+
{
228+
"name": "name",
229+
"description": "Name of the resiliency policy.",
230+
"in": "path",
231+
"required": true,
232+
"type": "string",
233+
"pattern": "^[-\\w\\._\\(\\)]+$"
234+
},
235+
{
236+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
237+
}
238+
],
239+
"responses": {
240+
"200": {
241+
"description": "OK",
242+
"schema": {
243+
"$ref": "./CommonDefinitions.json#/definitions/AppResiliency"
244+
}
245+
},
246+
"default": {
247+
"description": "Common error response.",
248+
"schema": {
249+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
250+
}
251+
}
252+
},
253+
"x-ms-examples": {
254+
"Get App Resiliency": {
255+
"$ref": "./examples/AppResiliency_Get.json"
256+
}
257+
}
258+
}
259+
},
260+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{appName}/resiliencyPolicies": {
261+
"get": {
262+
"tags": [
263+
"AppResiliency"
264+
],
265+
"summary": "List an application's resiliency policies.",
266+
"description": "List container app resiliency policies.",
267+
"operationId": "AppResiliency_List",
268+
"parameters": [
269+
{
270+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter"
271+
},
272+
{
273+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter"
274+
},
275+
{
276+
"name": "appName",
277+
"description": "Name of the Container App.",
278+
"in": "path",
279+
"required": true,
280+
"type": "string",
281+
"pattern": "^[-\\w\\._\\(\\)]+$"
282+
},
283+
{
284+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter"
285+
}
286+
],
287+
"responses": {
288+
"200": {
289+
"description": "OK",
290+
"schema": {
291+
"$ref": "./CommonDefinitions.json#/definitions/AppResiliencyCollection"
292+
}
293+
},
294+
"default": {
295+
"description": "Common error response.",
296+
"schema": {
297+
"$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
298+
}
299+
}
300+
},
301+
"x-ms-examples": {
302+
"List App Resiliency": {
303+
"$ref": "./examples/AppResiliency_List.json"
304+
}
305+
},
306+
"x-ms-pageable": {
307+
"nextLinkName": "nextLink"
308+
}
309+
}
310+
}
311+
}
312+
}

0 commit comments

Comments
 (0)