|
2 | 2 | "swagger": "2.0", |
3 | 3 | "info": { |
4 | 4 | "title": "Microsoft.Cdn/EdgeAction", |
5 | | - "version": "2025-09-01-preview", |
| 5 | + "version": "2025-12-01-preview", |
6 | 6 | "x-typespec-generated": [ |
7 | 7 | { |
8 | 8 | "emitter": "@azure-tools/typespec-autorest" |
|
388 | 388 | "x-ms-long-running-operation": true |
389 | 389 | } |
390 | 390 | }, |
391 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/addAttachment": { |
392 | | - "post": { |
393 | | - "operationId": "EdgeActions_AddAttachment", |
394 | | - "tags": [ |
395 | | - "EdgeActions" |
396 | | - ], |
397 | | - "description": "A long-running resource action.", |
398 | | - "parameters": [ |
399 | | - { |
400 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" |
401 | | - }, |
402 | | - { |
403 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" |
404 | | - }, |
405 | | - { |
406 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" |
407 | | - }, |
408 | | - { |
409 | | - "name": "edgeActionName", |
410 | | - "in": "path", |
411 | | - "description": "The name of the Edge Action", |
412 | | - "required": true, |
413 | | - "type": "string", |
414 | | - "maxLength": 50, |
415 | | - "pattern": "[a-zA-Z0-9]+" |
416 | | - }, |
417 | | - { |
418 | | - "name": "body", |
419 | | - "in": "body", |
420 | | - "description": "The content of the action request", |
421 | | - "required": true, |
422 | | - "schema": { |
423 | | - "$ref": "#/definitions/EdgeActionAttachment" |
424 | | - } |
425 | | - } |
426 | | - ], |
427 | | - "responses": { |
428 | | - "200": { |
429 | | - "description": "Azure operation completed successfully.", |
430 | | - "schema": { |
431 | | - "$ref": "#/definitions/EdgeActionAttachmentResponse" |
432 | | - } |
433 | | - }, |
434 | | - "202": { |
435 | | - "description": "Resource operation accepted.", |
436 | | - "headers": { |
437 | | - "Location": { |
438 | | - "type": "string", |
439 | | - "description": "The Location header contains the URL where the status of the long running operation can be checked." |
440 | | - }, |
441 | | - "Retry-After": { |
442 | | - "type": "integer", |
443 | | - "format": "int32", |
444 | | - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." |
445 | | - } |
446 | | - } |
447 | | - }, |
448 | | - "default": { |
449 | | - "description": "An unexpected error response.", |
450 | | - "schema": { |
451 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" |
452 | | - } |
453 | | - } |
454 | | - }, |
455 | | - "x-ms-examples": { |
456 | | - "AddAttachment": { |
457 | | - "$ref": "./examples/EdgeActions_AddAttachment.json" |
458 | | - } |
459 | | - }, |
460 | | - "x-ms-long-running-operation-options": { |
461 | | - "final-state-via": "location" |
462 | | - }, |
463 | | - "x-ms-long-running-operation": true |
464 | | - } |
465 | | - }, |
466 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/deleteAttachment": { |
467 | | - "post": { |
468 | | - "operationId": "EdgeActions_DeleteAttachment", |
469 | | - "tags": [ |
470 | | - "EdgeActions" |
471 | | - ], |
472 | | - "description": "A long-running resource action.", |
473 | | - "parameters": [ |
474 | | - { |
475 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" |
476 | | - }, |
477 | | - { |
478 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" |
479 | | - }, |
480 | | - { |
481 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" |
482 | | - }, |
483 | | - { |
484 | | - "name": "edgeActionName", |
485 | | - "in": "path", |
486 | | - "description": "The name of the Edge Action", |
487 | | - "required": true, |
488 | | - "type": "string", |
489 | | - "maxLength": 50, |
490 | | - "pattern": "[a-zA-Z0-9]+" |
491 | | - }, |
492 | | - { |
493 | | - "name": "body", |
494 | | - "in": "body", |
495 | | - "description": "The content of the action request", |
496 | | - "required": true, |
497 | | - "schema": { |
498 | | - "$ref": "#/definitions/EdgeActionAttachment" |
499 | | - } |
500 | | - } |
501 | | - ], |
502 | | - "responses": { |
503 | | - "202": { |
504 | | - "description": "Resource operation accepted.", |
505 | | - "headers": { |
506 | | - "Location": { |
507 | | - "type": "string", |
508 | | - "description": "The Location header contains the URL where the status of the long running operation can be checked." |
509 | | - }, |
510 | | - "Retry-After": { |
511 | | - "type": "integer", |
512 | | - "format": "int32", |
513 | | - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." |
514 | | - } |
515 | | - } |
516 | | - }, |
517 | | - "204": { |
518 | | - "description": "Action completed successfully." |
519 | | - }, |
520 | | - "default": { |
521 | | - "description": "An unexpected error response.", |
522 | | - "schema": { |
523 | | - "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" |
524 | | - } |
525 | | - } |
526 | | - }, |
527 | | - "x-ms-examples": { |
528 | | - "DeleteAttachment": { |
529 | | - "$ref": "./examples/EdgeActions_DeleteAttachment.json" |
530 | | - } |
531 | | - }, |
532 | | - "x-ms-long-running-operation-options": { |
533 | | - "final-state-via": "location" |
534 | | - }, |
535 | | - "x-ms-long-running-operation": true |
536 | | - } |
537 | | - }, |
538 | 391 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/executionFilters": { |
539 | 392 | "get": { |
540 | 393 | "operationId": "EdgeActionExecutionFilters_ListByEdgeAction", |
|
1540 | 1393 | "attachedResourceId" |
1541 | 1394 | ] |
1542 | 1395 | }, |
1543 | | - "EdgeActionAttachmentResponse": { |
1544 | | - "type": "object", |
1545 | | - "description": "Edge action attachment response", |
1546 | | - "properties": { |
1547 | | - "edgeActionId": { |
1548 | | - "type": "string", |
1549 | | - "description": "Non changing guid to identity edge action", |
1550 | | - "x-ms-mutability": [ |
1551 | | - "read", |
1552 | | - "update", |
1553 | | - "create" |
1554 | | - ] |
1555 | | - } |
1556 | | - }, |
1557 | | - "required": [ |
1558 | | - "edgeActionId" |
1559 | | - ] |
1560 | | - }, |
1561 | 1396 | "EdgeActionExecutionFilter": { |
1562 | 1397 | "type": "object", |
1563 | 1398 | "description": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", |
|
0 commit comments