|
139 | 139 | "$ref": "#/definitions/DedicatedCapacity"
|
140 | 140 | }
|
141 | 141 | },
|
| 142 | + "202": { |
| 143 | + "description": "InProgress. The operation is still in progress.", |
| 144 | + "schema": { |
| 145 | + "$ref": "#/definitions/DedicatedCapacity" |
| 146 | + } |
| 147 | + }, |
142 | 148 | "default": {
|
143 | 149 | "description": "Error response describing why the operation failed.",
|
144 | 150 | "schema": {
|
|
655 | 661 | "description": "Operation type: create, update, delete, etc.",
|
656 | 662 | "type": "string",
|
657 | 663 | "readOnly": true
|
| 664 | + }, |
| 665 | + "description": { |
| 666 | + "type": "string", |
| 667 | + "description": "Localized description of the operation." |
| 668 | + } |
| 669 | + } |
| 670 | + }, |
| 671 | + "origin": { |
| 672 | + "type": "string", |
| 673 | + "description": "Origin of the operation." |
| 674 | + }, |
| 675 | + "properties": { |
| 676 | + "type": "object", |
| 677 | + "description": "Additional properties to expose performance metrics to shoebox.", |
| 678 | + "properties": { |
| 679 | + "serviceSpecification": { |
| 680 | + "type": "object", |
| 681 | + "description": "Service specification for exposing performance metrics to shoebox.", |
| 682 | + "properties": { |
| 683 | + "metricSpecifications": { |
| 684 | + "type": "array", |
| 685 | + "description": "Metric specification for exposing performance metrics to shoebox.", |
| 686 | + "items": { |
| 687 | + "type": "object", |
| 688 | + "properties": { |
| 689 | + "name": { |
| 690 | + "type": "string", |
| 691 | + "description": "Metric name" |
| 692 | + }, |
| 693 | + "displayName": { |
| 694 | + "type": "string", |
| 695 | + "description": "Localizable metric name" |
| 696 | + }, |
| 697 | + "displayDescription": { |
| 698 | + "type": "string", |
| 699 | + "description": "Localizable description of metric" |
| 700 | + }, |
| 701 | + "unit": { |
| 702 | + "type": "string", |
| 703 | + "description": "Unit for the metric" |
| 704 | + }, |
| 705 | + "aggregationType": { |
| 706 | + "type": "string", |
| 707 | + "description": "Aggregation type for the metric" |
| 708 | + }, |
| 709 | + "metricFilterPattern": { |
| 710 | + "type": "string", |
| 711 | + "description": "Pattern used to filter the metric" |
| 712 | + }, |
| 713 | + "dimensions": { |
| 714 | + "type": "array", |
| 715 | + "description": "For describing multi dimensional metrics", |
| 716 | + "items": { |
| 717 | + "type": "object", |
| 718 | + "properties": { |
| 719 | + "name": { |
| 720 | + "type": "string", |
| 721 | + "description": "Dimension of the metric" |
| 722 | + }, |
| 723 | + "displayName": { |
| 724 | + "type": "string", |
| 725 | + "description": "Localizable dimension of the metric" |
| 726 | + } |
| 727 | + } |
| 728 | + } |
| 729 | + } |
| 730 | + } |
| 731 | + } |
| 732 | + }, |
| 733 | + "logSpecifications": { |
| 734 | + "type": "array", |
| 735 | + "description": "Log specification for exposing diagnostic logs to shoebox.", |
| 736 | + "items": { |
| 737 | + "type": "object", |
| 738 | + "properties": { |
| 739 | + "name": { |
| 740 | + "type": "string", |
| 741 | + "description": "Name of the log" |
| 742 | + }, |
| 743 | + "displayName": { |
| 744 | + "type": "string", |
| 745 | + "description": "Localizable name of the log" |
| 746 | + }, |
| 747 | + "blobDuration": { |
| 748 | + "type": "string", |
| 749 | + "description": "Blob duration for the log" |
| 750 | + } |
| 751 | + } |
| 752 | + } |
| 753 | + } |
| 754 | + } |
658 | 755 | }
|
659 | 756 | }
|
660 | 757 | }
|
|
830 | 927 | "modelAsString": true
|
831 | 928 | },
|
832 | 929 | "description": "The name of the Azure pricing tier to which the SKU applies."
|
| 930 | + }, |
| 931 | + "capacity": { |
| 932 | + "type": "integer", |
| 933 | + "format": "int32", |
| 934 | + "description": "The capacity of the SKU." |
833 | 935 | }
|
834 | 936 | },
|
835 | 937 | "required": [
|
|
848 | 950 | "description": "The capacity mode.",
|
849 | 951 | "type": "string",
|
850 | 952 | "readOnly": true
|
| 953 | + }, |
| 954 | + "tenantId": { |
| 955 | + "type": "string", |
| 956 | + "description": "Tenant ID for the capacity. Used for creating Pro Plus capacity." |
| 957 | + }, |
| 958 | + "friendlyName": { |
| 959 | + "type": "string", |
| 960 | + "description": "Capacity name" |
851 | 961 | }
|
852 | 962 | }
|
853 | 963 | },
|
|
895 | 1005 | "description": "An object that represents SKU details for existing resources",
|
896 | 1006 | "type": "object",
|
897 | 1007 | "properties": {
|
| 1008 | + "resourceType": { |
| 1009 | + "type": "string", |
| 1010 | + "description": "The resource type" |
| 1011 | + }, |
898 | 1012 | "sku": {
|
899 | 1013 | "$ref": "#/definitions/ResourceSku",
|
900 | 1014 | "description": "The SKU in SKU details for existing resources."
|
|
912 | 1026 | "type": "string",
|
913 | 1027 | "description": "Error code"
|
914 | 1028 | },
|
| 1029 | + "subCode": { |
| 1030 | + "type": "integer", |
| 1031 | + "format": "int32", |
| 1032 | + "description": "Error sub code" |
| 1033 | + }, |
| 1034 | + "httpStatusCode": { |
| 1035 | + "type": "string", |
| 1036 | + "description": "HTTP status code returned" |
| 1037 | + }, |
915 | 1038 | "message": {
|
916 | 1039 | "type": "string",
|
917 | 1040 | "description": "Error message indicating why the operation failed."
|
| 1041 | + }, |
| 1042 | + "timestamp": { |
| 1043 | + "type": "string", |
| 1044 | + "description": "Timestamp for the error" |
| 1045 | + }, |
| 1046 | + "details": { |
| 1047 | + "type": "object", |
| 1048 | + "description": "The details object", |
| 1049 | + "properties": { |
| 1050 | + "code": { |
| 1051 | + "type": "string", |
| 1052 | + "description": "Error code" |
| 1053 | + }, |
| 1054 | + "message": { |
| 1055 | + "type": "string", |
| 1056 | + "description": "Error message indicating why the operation failed." |
| 1057 | + } |
| 1058 | + } |
918 | 1059 | }
|
919 | 1060 | }
|
920 | 1061 | }
|
|
0 commit comments