Skip to content

Commit 6516b8e

Browse files
authored
Merge branch 'main' into tejaswis/validateArmLeases
2 parents e1fac09 + 04fedd7 commit 6516b8e

22 files changed

Lines changed: 571 additions & 1110 deletions

File tree

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
/specification/deploymentmanager/ @netrock
125125

126126
# PRLabel: %Device Registry
127-
/specification/deviceregistry/ @rohankhandelwal @atastrophic @siongithub @mryanlo
127+
/specification/deviceregistry/ @atastrophic @siongithub @mryanlo @hmmorales
128128

129129
/specification/documentdb/ @dmakwana
130130

@@ -313,7 +313,7 @@
313313
/.github/copilot-instructions.md @praveenkuttappan @maririos
314314
/.github/prompts/ @praveenkuttappan @maririos
315315
/.github/instructions/ @praveenkuttappan @maririos
316-
/.github/instructions/*arm*.md @raosuhas
316+
/.github/instructions/*arm*.md @praveenkuttappan @raosuhas @ravimeda @laxmankumar12
317317
/.github/chatmodes/ @praveenkuttappan @maririos
318318

319319
# Add owners for notifications for specific pipelines

.github/package-lock.json

Lines changed: 164 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"@js-temporal/polyfill": "0.5.1",
1111
"debug": "^4.4.3",
1212
"js-yaml": "^4.1.0",
13+
"marked": "^18.0.0",
1314
"markdown-table": "^3.0.4",
1415
"marked": "^17.0.0",
1516
"simple-git": "^3.27.0",

.github/shared/package-lock.json

Lines changed: 160 additions & 136 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/app/data-plane/DynamicSessions/preview/2024-10-02-preview/DynamicSessions.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"/executions": {
5656
"post": {
5757
"operationId": "CodeExecution_Execute",
58-
"description": "Execute code in a session.",
58+
"description": "Execute code in a session. This is only supported for code-interpreter session pools.",
5959
"parameters": [
6060
{
6161
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -131,7 +131,7 @@
131131
"/executions/{executionId}": {
132132
"get": {
133133
"operationId": "CodeExecution_Get",
134-
"description": "Get the code execution result.",
134+
"description": "Get the code execution result. This is only supported for code-interpreter session pools.",
135135
"parameters": [
136136
{
137137
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -186,7 +186,7 @@
186186
"/files": {
187187
"get": {
188188
"operationId": "SessionResourceFiles_List",
189-
"description": "List the file resources.",
189+
"description": "List the file resources. This is only supported for code-interpreter session pools.",
190190
"parameters": [
191191
{
192192
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -229,7 +229,7 @@
229229
},
230230
"post": {
231231
"operationId": "SessionResourceFiles_Upload",
232-
"description": "Upload a file to a session.",
232+
"description": "Upload a file to a session. This is only supported for code-interpreter session pools.",
233233
"consumes": [
234234
"multipart/form-data"
235235
],
@@ -281,7 +281,7 @@
281281
"/files/{name}": {
282282
"get": {
283283
"operationId": "SessionResourceFiles_Get",
284-
"description": "Get the file resource.",
284+
"description": "Get the file resource. This is only supported for code-interpreter session pools.",
285285
"parameters": [
286286
{
287287
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -328,7 +328,7 @@
328328
},
329329
"delete": {
330330
"operationId": "SessionResourceFiles_Delete",
331-
"description": "Delete the file.",
331+
"description": "Delete the file. This is only supported for code-interpreter session pools.",
332332
"parameters": [
333333
{
334334
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -374,7 +374,7 @@
374374
"/files/{name}/content": {
375375
"get": {
376376
"operationId": "SessionResourceFiles_GetContent",
377-
"description": "Get the content of the file.",
377+
"description": "Get the content of the file. This is only supported for code-interpreter session pools.",
378378
"produces": [
379379
"application/octet-stream",
380380
"application/json"

specification/app/data-plane/DynamicSessions/preview/2025-02-02-preview/DynamicSessions.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"/executions": {
5656
"post": {
5757
"operationId": "CodeExecution_Execute",
58-
"description": "Execute code in a session.",
58+
"description": "Execute code in a session. This is only supported for code-interpreter session pools.",
5959
"parameters": [
6060
{
6161
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -131,7 +131,7 @@
131131
"/executions/{executionId}": {
132132
"get": {
133133
"operationId": "CodeExecution_Get",
134-
"description": "Get the code execution result.",
134+
"description": "Get the code execution result. This is only supported for code-interpreter session pools.",
135135
"parameters": [
136136
{
137137
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -186,7 +186,7 @@
186186
"/files": {
187187
"get": {
188188
"operationId": "SessionResourceFiles_List",
189-
"description": "List the file resources.",
189+
"description": "List the file resources. This is only supported for code-interpreter session pools.",
190190
"parameters": [
191191
{
192192
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -229,7 +229,7 @@
229229
},
230230
"post": {
231231
"operationId": "SessionResourceFiles_Upload",
232-
"description": "Upload a file to a session.",
232+
"description": "Upload a file to a session. This is only supported for code-interpreter session pools.",
233233
"consumes": [
234234
"multipart/form-data"
235235
],
@@ -281,7 +281,7 @@
281281
"/files/{name}": {
282282
"get": {
283283
"operationId": "SessionResourceFiles_Get",
284-
"description": "Get the file resource.",
284+
"description": "Get the file resource. This is only supported for code-interpreter session pools.",
285285
"parameters": [
286286
{
287287
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -328,7 +328,7 @@
328328
},
329329
"delete": {
330330
"operationId": "SessionResourceFiles_Delete",
331-
"description": "Delete the file.",
331+
"description": "Delete the file. This is only supported for code-interpreter session pools.",
332332
"parameters": [
333333
{
334334
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -374,7 +374,7 @@
374374
"/files/{name}/content": {
375375
"get": {
376376
"operationId": "SessionResourceFiles_GetContent",
377-
"description": "Get the content of the file.",
377+
"description": "Get the content of the file. This is only supported for code-interpreter session pools.",
378378
"produces": [
379379
"application/octet-stream",
380380
"application/json"
@@ -427,7 +427,7 @@
427427
"/listSessions": {
428428
"get": {
429429
"operationId": "ListSessions_Get",
430-
"description": "List the sessions.",
430+
"description": "List the sessions. This is not supported for custom container session pools.",
431431
"parameters": [
432432
{
433433
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -471,7 +471,7 @@
471471
"/metadata": {
472472
"get": {
473473
"operationId": "SessionPoolMetadata_Get",
474-
"description": "Get the metadata information.",
474+
"description": "Get the metadata information. This is only supported for code-interpreter session pools.",
475475
"parameters": [
476476
{
477477
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -507,7 +507,7 @@
507507
"/session": {
508508
"get": {
509509
"operationId": "SessionManagement_Get",
510-
"description": "Get the session.",
510+
"description": "Get the session. This is not supported for custom container session pools.",
511511
"parameters": [
512512
{
513513
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -544,7 +544,7 @@
544544
},
545545
"delete": {
546546
"operationId": "SessionManagement_Delete",
547-
"description": "Delete the session.",
547+
"description": "Delete the session. This is not supported for custom container session pools.",
548548
"parameters": [
549549
{
550550
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"

specification/app/data-plane/DynamicSessions/preview/2025-10-02-preview/DynamicSessions.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"/executions": {
5656
"post": {
5757
"operationId": "CodeExecution_Execute",
58-
"description": "Execute code in a session.",
58+
"description": "Execute code in a session. This is only supported for code-interpreter session pools.",
5959
"parameters": [
6060
{
6161
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -146,7 +146,7 @@
146146
"/executions/{executionId}": {
147147
"get": {
148148
"operationId": "CodeExecution_Get",
149-
"description": "Get the code execution result.",
149+
"description": "Get the code execution result. This is only supported for code-interpreter session pools.",
150150
"parameters": [
151151
{
152152
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -201,7 +201,7 @@
201201
"/files": {
202202
"get": {
203203
"operationId": "SessionResourceFiles_List",
204-
"description": "List the file resources.",
204+
"description": "List the file resources. This is only supported for code-interpreter session pools.",
205205
"parameters": [
206206
{
207207
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -250,7 +250,7 @@
250250
},
251251
"post": {
252252
"operationId": "SessionResourceFiles_Upload",
253-
"description": "Upload a file to a session.",
253+
"description": "Upload a file to a session. This is only supported for code-interpreter session pools.",
254254
"consumes": [
255255
"multipart/form-data"
256256
],
@@ -302,7 +302,7 @@
302302
"/files/{name}": {
303303
"get": {
304304
"operationId": "SessionResourceFiles_Get",
305-
"description": "Get the file resource.",
305+
"description": "Get the file resource. This is only supported for code-interpreter session pools.",
306306
"parameters": [
307307
{
308308
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -349,7 +349,7 @@
349349
},
350350
"delete": {
351351
"operationId": "SessionResourceFiles_Delete",
352-
"description": "Delete the file.",
352+
"description": "Delete the file. This is only supported for code-interpreter session pools.",
353353
"parameters": [
354354
{
355355
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -395,7 +395,7 @@
395395
"/files/{name}/content": {
396396
"get": {
397397
"operationId": "SessionResourceFiles_GetContent",
398-
"description": "Get the content of the file.",
398+
"description": "Get the content of the file. This is only supported for code-interpreter session pools.",
399399
"produces": [
400400
"application/octet-stream",
401401
"application/json"
@@ -448,7 +448,7 @@
448448
"/listSessions": {
449449
"get": {
450450
"operationId": "ListSessions_Get",
451-
"description": "List the sessions.",
451+
"description": "List the sessions. This is not supported for custom container session pools.",
452452
"parameters": [
453453
{
454454
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -492,7 +492,7 @@
492492
"/metadata": {
493493
"get": {
494494
"operationId": "SessionPoolMetadata_Get",
495-
"description": "Get the metadata information.",
495+
"description": "Get the metadata information. This is only supported for code-interpreter session pools.",
496496
"parameters": [
497497
{
498498
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -528,7 +528,7 @@
528528
"/session": {
529529
"get": {
530530
"operationId": "SessionManagement_Get",
531-
"description": "Get the session.",
531+
"description": "Get the session. This is not supported for custom container session pools.",
532532
"parameters": [
533533
{
534534
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
@@ -565,7 +565,7 @@
565565
},
566566
"delete": {
567567
"operationId": "SessionManagement_Delete",
568-
"description": "Delete the session.",
568+
"description": "Delete the session. This is not supported for custom container session pools.",
569569
"parameters": [
570570
{
571571
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"

specification/app/data-plane/DynamicSessions/routes.tsp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ alias CodeExecutionTraits = BaseOperationTraits &
2525
alias CodeExecutionOperations = Azure.Core.ResourceOperations<CodeExecutionTraits>;
2626

2727
interface CodeExecution {
28-
/** Execute code in a session. */
28+
/** Execute code in a session. This is only supported for code-interpreter session pools. */
2929
@route("/executions")
3030
execute is RpcOperation<
3131
{
@@ -41,7 +41,7 @@ interface CodeExecution {
4141
CodeExecutionTraits
4242
>;
4343

44-
/** Get the code execution result. */
44+
/** Get the code execution result. This is only supported for code-interpreter session pools. */
4545
get is CodeExecutionOperations.ResourceRead<SessionCodeExecutionResource>;
4646
}
4747

@@ -58,25 +58,25 @@ alias SessionResourceFilesListQueryParamsTrait = QueryParametersTrait<{
5858
alias SessionResourceFilesOperations = Azure.Core.ResourceOperations<BaseOperationTraits>;
5959

6060
interface SessionResourceFiles {
61-
/** List the file resources. */
61+
/** List the file resources. This is only supported for code-interpreter session pools. */
6262
list is SessionResourceFilesOperations.ResourceList<
6363
SessionResourceFile,
6464
SessionResourceFilesListQueryParamsTrait
6565
>;
6666

67-
/** Get the file resource. */
67+
/** Get the file resource. This is only supported for code-interpreter session pools. */
6868
get is SessionResourceFilesOperations.ResourceRead<
6969
SessionResourceFile,
7070
SessionResourceFilesQueryParamsTrait
7171
>;
7272

73-
/** Delete the file. */
73+
/** Delete the file. This is only supported for code-interpreter session pools. */
7474
delete is SessionResourceFilesOperations.ResourceDelete<
7575
SessionResourceFile,
7676
SessionResourceFilesQueryParamsTrait
7777
>;
7878

79-
/** Upload a file to a session. */
79+
/** Upload a file to a session. This is only supported for code-interpreter session pools. */
8080
#suppress "@azure-tools/typespec-azure-core/byos" "Storage service is not used"
8181
@route("/files")
8282
upload is RpcOperation<
@@ -98,7 +98,7 @@ interface SessionResourceFiles {
9898
// Azure standard operations require resource identifier (here session id) to be passed in the request path.
9999
// But for sessions, session identifier needs to be passed as a query parameter for conformity with other operations.
100100
// So we need to use custom operations instead of standard operations.
101-
/** Get the content of the file. */
101+
/** Get the content of the file. This is only supported for code-interpreter session pools. */
102102
#suppress "@azure-tools/typespec-azure-core/verb-conflict" "GET allowed on Action"
103103
@get
104104
@action("content")
@@ -119,12 +119,12 @@ interface SessionResourceFiles {
119119
@route("/session")
120120
@added(Versions.v2025_02_02_preview)
121121
interface SessionManagement {
122-
/** Get the session. */
122+
/** Get the session. This is not supported for custom container session pools. */
123123
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "No suitable standard operation found."
124124
@get
125125
get is Foundations.Operation<SessionIdentifier, Session>;
126126

127-
/** Delete the session. */
127+
/** Delete the session. This is not supported for custom container session pools. */
128128
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "No suitable standard operation found."
129129
@delete
130130
delete is Foundations.Operation<
@@ -139,7 +139,7 @@ interface SessionManagement {
139139
@route("/listSessions")
140140
@added(Versions.v2025_02_02_preview)
141141
interface ListSessions {
142-
/** List the sessions. */
142+
/** List the sessions. This is not supported for custom container session pools. */
143143
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "No suitable standard operation found."
144144
@get
145145
get is Foundations.Operation<
@@ -157,7 +157,7 @@ interface ListSessions {
157157
// So we need to use custom operations instead of standard operations.
158158
@added(Versions.v2025_02_02_preview)
159159
interface SessionPoolMetadata {
160-
/** Get the metadata information. */
160+
/** Get the metadata information. This is only supported for code-interpreter session pools. */
161161
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "No suitable standard operation found."
162162
@route("/metadata")
163163
@get

0 commit comments

Comments
 (0)