|
21 | 21 | "in": "path", |
22 | 22 | "description": "Supported Azure-AI asset endpoints.", |
23 | 23 | "required": true, |
24 | | - "type": "string" |
| 24 | + "type": "string", |
| 25 | + "format": "uri", |
| 26 | + "x-ms-skip-url-encoding": true |
25 | 27 | }, |
26 | 28 | { |
27 | 29 | "name": "subscriptionId", |
|
112 | 114 | "x-ms-examples": { |
113 | 115 | "Indexes_ListLatest": { |
114 | 116 | "$ref": "./examples/Indexes_ListLatest_MaximumSet_Gen.json" |
115 | | - }, |
116 | | - "Indexes_ListLatest_MaximumSet_Gen": { |
117 | | - "$ref": "./examples/Indexes_ListLatest_MaximumSet_Gen.json" |
118 | 117 | } |
119 | 118 | }, |
120 | 119 | "x-ms-pageable": { |
|
136 | 135 | "description": "Name of the index.", |
137 | 136 | "required": true, |
138 | 137 | "type": "string", |
139 | | - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]*$", |
140 | | - "maxLength": 254 |
| 138 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-_]{0,254}$" |
141 | 139 | } |
142 | 140 | ], |
143 | 141 | "responses": { |
|
163 | 161 | "x-ms-examples": { |
164 | 162 | "Indexes_GetLatest": { |
165 | 163 | "$ref": "./examples/Indexes_GetLatest_MaximumSet_Gen.json" |
166 | | - }, |
167 | | - "Indexes_GetLatest_MaximumSet_Gen": { |
168 | | - "$ref": "./examples/Indexes_GetLatest_MaximumSet_Gen.json" |
169 | 164 | } |
170 | 165 | } |
171 | 166 | } |
|
210 | 205 | "x-ms-examples": { |
211 | 206 | "Indexes_GetNextVersion": { |
212 | 207 | "$ref": "./examples/Indexes_GetNextVersion_MaximumSet_Gen.json" |
213 | | - }, |
214 | | - "Indexes_GetNextVersion_MaximumSet_Gen": { |
215 | | - "$ref": "./examples/Indexes_GetNextVersion_MaximumSet_Gen.json" |
216 | 208 | } |
217 | 209 | } |
218 | 210 | } |
|
288 | 280 | "x-ms-examples": { |
289 | 281 | "Indexes_List": { |
290 | 282 | "$ref": "./examples/Indexes_List_MaximumSet_Gen.json" |
291 | | - }, |
292 | | - "Indexes_List_MaximumSet_Gen": { |
293 | | - "$ref": "./examples/Indexes_List_MaximumSet_Gen.json" |
294 | 283 | } |
295 | 284 | }, |
296 | 285 | "x-ms-pageable": { |
|
345 | 334 | "x-ms-examples": { |
346 | 335 | "Indexes_Get": { |
347 | 336 | "$ref": "./examples/Indexes_Get_MaximumSet_Gen.json" |
348 | | - }, |
349 | | - "Indexes_Get_MaximumSet_Gen": { |
350 | | - "$ref": "./examples/Indexes_Get_MaximumSet_Gen.json" |
351 | 337 | } |
352 | 338 | } |
353 | 339 | }, |
|
412 | 398 | "x-ms-examples": { |
413 | 399 | "Indexes_CreateOrUpdate": { |
414 | 400 | "$ref": "./examples/Indexes_CreateOrUpdate_MaximumSet_Gen.json" |
415 | | - }, |
416 | | - "Indexes_CreateOrUpdate_MaximumSet_Gen": { |
417 | | - "$ref": "./examples/Indexes_CreateOrUpdate_MaximumSet_Gen.json" |
418 | 401 | } |
419 | 402 | } |
420 | 403 | } |
|
460 | 443 | "x-ms-examples": { |
461 | 444 | "Prompts_ListLatest": { |
462 | 445 | "$ref": "./examples/Prompts_ListLatest_MaximumSet_Gen.json" |
463 | | - }, |
464 | | - "Prompts_ListLatest_MaximumSet_Gen": { |
465 | | - "$ref": "./examples/Prompts_ListLatest_MaximumSet_Gen.json" |
466 | 446 | } |
467 | 447 | }, |
468 | 448 | "x-ms-pageable": { |
|
510 | 490 | "x-ms-examples": { |
511 | 491 | "Prompts_GetLatest": { |
512 | 492 | "$ref": "./examples/Prompts_GetLatest_MaximumSet_Gen.json" |
513 | | - }, |
514 | | - "Prompts_GetLatest_MaximumSet_Gen": { |
515 | | - "$ref": "./examples/Prompts_GetLatest_MaximumSet_Gen.json" |
516 | 493 | } |
517 | 494 | } |
518 | 495 | } |
|
557 | 534 | "x-ms-examples": { |
558 | 535 | "Prompts_GetNextVersion": { |
559 | 536 | "$ref": "./examples/Prompts_GetNextVersion_MaximumSet_Gen.json" |
560 | | - }, |
561 | | - "Prompts_GetNextVersion_MaximumSet_Gen": { |
562 | | - "$ref": "./examples/Prompts_GetNextVersion_MaximumSet_Gen.json" |
563 | 537 | } |
564 | 538 | } |
565 | 539 | } |
|
635 | 609 | "x-ms-examples": { |
636 | 610 | "Prompts_List": { |
637 | 611 | "$ref": "./examples/Prompts_List_MaximumSet_Gen.json" |
638 | | - }, |
639 | | - "Prompts_List_MaximumSet_Gen": { |
640 | | - "$ref": "./examples/Prompts_List_MaximumSet_Gen.json" |
641 | 612 | } |
642 | 613 | }, |
643 | 614 | "x-ms-pageable": { |
|
692 | 663 | "x-ms-examples": { |
693 | 664 | "Prompts_Get": { |
694 | 665 | "$ref": "./examples/Prompts_Get_MaximumSet_Gen.json" |
695 | | - }, |
696 | | - "Prompts_Get_MaximumSet_Gen": { |
697 | | - "$ref": "./examples/Prompts_Get_MaximumSet_Gen.json" |
698 | 666 | } |
699 | 667 | } |
700 | 668 | }, |
|
759 | 727 | "x-ms-examples": { |
760 | 728 | "Prompts_CreateOrUpdate": { |
761 | 729 | "$ref": "./examples/Prompts_CreateOrUpdate_MaximumSet_Gen.json" |
762 | | - }, |
763 | | - "Prompts_CreateOrUpdate_MaximumSet_Gen": { |
764 | | - "$ref": "./examples/Prompts_CreateOrUpdate_MaximumSet_Gen.json" |
765 | 730 | } |
766 | 731 | } |
767 | 732 | } |
768 | 733 | } |
769 | 734 | }, |
770 | 735 | "definitions": { |
| 736 | + "AssetVersion": { |
| 737 | + "type": "object", |
| 738 | + "description": "AssetVersion Definition", |
| 739 | + "properties": { |
| 740 | + "id": { |
| 741 | + "type": "string", |
| 742 | + "description": "Fully qualified resource Id: azureml://workspace/{workspaceName}/indexes/{name}/versions/{version} of the index.", |
| 743 | + "readOnly": true |
| 744 | + }, |
| 745 | + "stage": { |
| 746 | + "type": "string", |
| 747 | + "description": "Update stage to 'Archive' to archive the asset. Default is Development, which means the asset is under development.", |
| 748 | + "default": "Development" |
| 749 | + }, |
| 750 | + "description": { |
| 751 | + "type": "string", |
| 752 | + "description": "Description information of the asset." |
| 753 | + }, |
| 754 | + "systemData": { |
| 755 | + "$ref": "#/definitions/SystemData", |
| 756 | + "description": "Metadata containing createdBy and modifiedBy information.", |
| 757 | + "readOnly": true |
| 758 | + }, |
| 759 | + "tags": { |
| 760 | + "type": "object", |
| 761 | + "description": "Asset's tags.", |
| 762 | + "additionalProperties": { |
| 763 | + "type": "string" |
| 764 | + } |
| 765 | + }, |
| 766 | + "properties": { |
| 767 | + "type": "object", |
| 768 | + "description": "Asset's properties.", |
| 769 | + "additionalProperties": { |
| 770 | + "type": "string" |
| 771 | + } |
| 772 | + } |
| 773 | + }, |
| 774 | + "required": [ |
| 775 | + "id", |
| 776 | + "stage" |
| 777 | + ] |
| 778 | + }, |
771 | 779 | "Azure.Core.Foundations.Error": { |
772 | 780 | "type": "object", |
773 | 781 | "description": "The error object.", |
|
868 | 876 | }, |
869 | 877 | "storageUri": { |
870 | 878 | "type": "string", |
871 | | - "format": "uri", |
872 | 879 | "description": "Default workspace blob storage Uri. Should work across storage types and auth scenarios." |
873 | 880 | } |
874 | 881 | }, |
|
961 | 968 | }, |
962 | 969 | "dataUri": { |
963 | 970 | "type": "string", |
964 | | - "format": "uri", |
965 | | - "description": "Default workspace blob storage URI. Should work across storage types and auth scenarios." |
| 971 | + "description": "Default workspace blob storage Ui. Should work across storage types and auth scenarios." |
966 | 972 | }, |
967 | 973 | "templatePath": { |
968 | 974 | "type": "string", |
|
0 commit comments