|
9 | 9 | "hasMessages": true, |
10 | 10 | "hasServices": true, |
11 | 11 | "enums": [ |
| 12 | + { |
| 13 | + "name": "BudgetState", |
| 14 | + "longName": "BudgetInfo.BudgetState", |
| 15 | + "fullName": "spaceone.api.cost_analysis.v1.BudgetInfo.BudgetState", |
| 16 | + "description": "", |
| 17 | + "values": [ |
| 18 | + { |
| 19 | + "name": "None", |
| 20 | + "number": "0", |
| 21 | + "description": "" |
| 22 | + }, |
| 23 | + { |
| 24 | + "name": "SCHEDULED", |
| 25 | + "number": "1", |
| 26 | + "description": "" |
| 27 | + }, |
| 28 | + { |
| 29 | + "name": "ACTIVE", |
| 30 | + "number": "2", |
| 31 | + "description": "" |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "EXPIRED", |
| 35 | + "number": "3", |
| 36 | + "description": "" |
| 37 | + } |
| 38 | + ] |
| 39 | + }, |
12 | 40 | { |
13 | 41 | "name": "ResourceGroup", |
14 | 42 | "longName": "BudgetInfo.ResourceGroup", |
|
200 | 228 | "name": "BudgetInfo", |
201 | 229 | "longName": "BudgetInfo", |
202 | 230 | "fullName": "spaceone.api.cost_analysis.v1.BudgetInfo", |
203 | | - "description": "{\n \"budget_id\": \"budget-d51b6b6a9910\",\n \"name\": \"Cloudforet-Budget\",\n \"limit\": 18600.0,\n \"planned_limits\": [\n {\n \"date\": \"2025-01\",\n \"limit\": 1000.0\n },\n {\n \"date\": \"2025-02\",\n \"limit\": 1100.0\n },\n {\n \"date\": \"2025-03\",\n \"limit\": 1200.0\n },\n {\n \"date\": \"2025-04\",\n \"limit\": 1300.0\n },\n {\n \"date\": \"2025-05\",\n \"limit\": 1400.0\n },\n {\n \"date\": \"2025-06\",\n \"limit\": 1500.0\n },\n {\n \"date\": \"2025-07\",\n \"limit\": 1600.0\n },\n {\n \"date\": \"2025-08\",\n \"limit\": 1700.0\n },\n {\n \"date\": \"2025-09\",\n \"limit\": 1800.0\n },\n {\n \"date\": \"2025-10\",\n \"limit\": 1900.0\n },\n {\n \"date\": \"2025-11\",\n \"limit\": 2000.0\n },\n {\n \"date\": \"2025-12\",\n \"limit\": 2100.0\n }\n ],\n \"currency\": \"USD\",\n \"time_unit\": \"MONTHLY\",\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"budget_year\": \"2025\",\n \"notification\": {\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n }\n ],\n \"recipients\": {\n \"users\": [\" [email protected]\"],\n \"budget_manager_notification\": \"ENABLED\"\n }\n },\n \"utilization_rate\": 20.0,\n \"tags\": {},\n \"service_account_id\": \"sa-1234567890\",\n \"workspace_id\": \"workspace-1234567890\",\n \"domain_id\": \"domain-58010aa2e451\",\n \"created_at\": \"2022-07-18T09:30:56.901Z\",\n \"updated_at\": \"2022-07-18T09:30:56.901Z\"\n}", |
| 231 | + "description": "{\n \"budget_id\": \"budget-d51b6b6a9910\",\n \"name\": \"Cloudforet-Budget\",\n \"state\": \"ACTIVE\",\n \"limit\": 18600.0,\n \"planned_limits\": [\n {\n \"date\": \"2025-01\",\n \"limit\": 1000.0\n },\n {\n \"date\": \"2025-02\",\n \"limit\": 1100.0\n },\n {\n \"date\": \"2025-03\",\n \"limit\": 1200.0\n },\n {\n \"date\": \"2025-04\",\n \"limit\": 1300.0\n },\n {\n \"date\": \"2025-05\",\n \"limit\": 1400.0\n },\n {\n \"date\": \"2025-06\",\n \"limit\": 1500.0\n },\n {\n \"date\": \"2025-07\",\n \"limit\": 1600.0\n },\n {\n \"date\": \"2025-08\",\n \"limit\": 1700.0\n },\n {\n \"date\": \"2025-09\",\n \"limit\": 1800.0\n },\n {\n \"date\": \"2025-10\",\n \"limit\": 1900.0\n },\n {\n \"date\": \"2025-11\",\n \"limit\": 2000.0\n },\n {\n \"date\": \"2025-12\",\n \"limit\": 2100.0\n }\n ],\n \"currency\": \"USD\",\n \"time_unit\": \"MONTHLY\",\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"notification\": {\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n }\n ],\n \"recipients\": {\n \"users\": [\" [email protected]\"],\n \"budget_manager_notification\": \"ENABLED\"\n }\n },\n \"utilization_rate\": 20.0,\n \"tags\": {},\n \"service_account_id\": \"sa-1234567890\",\n \"workspace_id\": \"workspace-1234567890\",\n \"domain_id\": \"domain-58010aa2e451\",\n \"created_at\": \"2022-07-18T09:30:56.901Z\",\n \"updated_at\": \"2022-07-18T09:30:56.901Z\"\n}", |
204 | 232 | "hasExtensions": false, |
205 | 233 | "hasFields": true, |
206 | 234 | "hasOneofs": false, |
|
230 | 258 | "oneofdecl": "", |
231 | 259 | "defaultValue": "" |
232 | 260 | }, |
| 261 | + { |
| 262 | + "name": "state", |
| 263 | + "description": "", |
| 264 | + "label": "", |
| 265 | + "type": "BudgetState", |
| 266 | + "longType": "BudgetInfo.BudgetState", |
| 267 | + "fullType": "spaceone.api.cost_analysis.v1.BudgetInfo.BudgetState", |
| 268 | + "ismap": false, |
| 269 | + "isoneof": false, |
| 270 | + "oneofdecl": "", |
| 271 | + "defaultValue": "" |
| 272 | + }, |
233 | 273 | { |
234 | 274 | "name": "limit", |
235 | 275 | "description": "", |
|
302 | 342 | "oneofdecl": "", |
303 | 343 | "defaultValue": "" |
304 | 344 | }, |
305 | | - { |
306 | | - "name": "budget_year", |
307 | | - "description": "", |
308 | | - "label": "", |
309 | | - "type": "string", |
310 | | - "longType": "string", |
311 | | - "fullType": "string", |
312 | | - "ismap": false, |
313 | | - "isoneof": false, |
314 | | - "oneofdecl": "", |
315 | | - "defaultValue": "" |
316 | | - }, |
317 | 345 | { |
318 | 346 | "name": "notification", |
319 | 347 | "description": "", |
|
716 | 744 | "name": "BudgetsInfo", |
717 | 745 | "longName": "BudgetsInfo", |
718 | 746 | "fullName": "spaceone.api.cost_analysis.v1.BudgetsInfo", |
719 | | - "description": "{\n \"results\": [\n {\n \"budget_id\": \"budget-409e33836ea2\",\n \"name\": \"Budget 2 - Monthly\",\n \"limit\": 18600.0,\n \"planned_limits\": [\n {\n \"date\": \"2025-01\",\n \"limit\": 1000.0\n },\n {\n \"date\": \"2025-02\",\n \"limit\": 1100.0\n },\n {\n \"date\": \"2025-03\",\n \"limit\": 1200.0\n },\n {\n \"date\": \"2025-04\",\n \"limit\": 1300.0\n },\n {\n \"date\": \"2025-05\",\n \"limit\": 1400.0\n },\n {\n \"date\": \"2025-06\",\n \"limit\": 1500.0\n },\n {\n \"date\": \"2025-07\",\n \"limit\": 1600.0\n },\n {\n \"date\": \"2025-08\",\n \"limit\": 1700.0\n },\n {\n \"date\": \"2025-09\",\n \"limit\": 1800.0\n },\n {\n \"date\": \"2025-10\",\n \"limit\": 1900.0\n },\n {\n \"date\": \"2025-11\",\n \"limit\": 2000.0\n },\n {\n \"date\": \"2025-12\",\n \"limit\": 2100.0\n }\n ],\n \"currency\": \"USD\",\n \"time_unit\": \"MONTHLY\",\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"tags\": {},\n \"utilization_rate\": 20.0,\n \"budget_year\": \"2025\",\n \"resource_group\": \"PROJECT\",\n \"service_account_id\": \"sa-1234567890\",\n \"project_id\": \"project-1234567890\",\n \"workspace_id\": \"workspace-1234567890\",\n \"domain_id\": \"domain-58010aa2e451\",\n \"created_at\": \"2025-04-12T06:09:56.917Z\",\n \"updated_at\": \"2025-04-12T06:09:56.917Z\"\n }\n ],\n \"total_count\": 6\n}", |
| 747 | + "description": "{\n \"results\": [\n {\n \"budget_id\": \"budget-409e33836ea2\",\n \"name\": \"Budget 2 - Monthly\",\n \"limit\": 18600.0,\n \"planned_limits\": [\n {\n \"date\": \"2025-01\",\n \"limit\": 1000.0\n },\n {\n \"date\": \"2025-02\",\n \"limit\": 1100.0\n },\n {\n \"date\": \"2025-03\",\n \"limit\": 1200.0\n },\n {\n \"date\": \"2025-04\",\n \"limit\": 1300.0\n },\n {\n \"date\": \"2025-05\",\n \"limit\": 1400.0\n },\n {\n \"date\": \"2025-06\",\n \"limit\": 1500.0\n },\n {\n \"date\": \"2025-07\",\n \"limit\": 1600.0\n },\n {\n \"date\": \"2025-08\",\n \"limit\": 1700.0\n },\n {\n \"date\": \"2025-09\",\n \"limit\": 1800.0\n },\n {\n \"date\": \"2025-10\",\n \"limit\": 1900.0\n },\n {\n \"date\": \"2025-11\",\n \"limit\": 2000.0\n },\n {\n \"date\": \"2025-12\",\n \"limit\": 2100.0\n }\n ],\n \"currency\": \"USD\",\n \"time_unit\": \"MONTHLY\",\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"tags\": {},\n \"utilization_rate\": 20.0,\n \"resource_group\": \"PROJECT\",\n \"service_account_id\": \"sa-1234567890\",\n \"project_id\": \"project-1234567890\",\n \"workspace_id\": \"workspace-1234567890\",\n \"domain_id\": \"domain-58010aa2e451\",\n \"created_at\": \"2025-04-12T06:09:56.917Z\",\n \"updated_at\": \"2025-04-12T06:09:56.917Z\"\n }\n ],\n \"total_count\": 6\n}", |
720 | 748 | "hasExtensions": false, |
721 | 749 | "hasFields": true, |
722 | 750 | "hasOneofs": false, |
|
752 | 780 | "name": "CreateBudgetRequest", |
753 | 781 | "longName": "CreateBudgetRequest", |
754 | 782 | "fullName": "spaceone.api.cost_analysis.v1.CreateBudgetRequest", |
755 | | - "description": "{\n \"name\": \"Cloudforet-Budget\",\n \"planned_limits\": [{\"date\": \"2025-01\", \"limit\": 1000.0},\n {\"date\": \"2025-02\", \"limit\": 1100.0},\n {\"date\": \"2025-03\", \"limit\": 1200.0},\n {\"date\": \"2025-04\", \"limit\": 1300.0},\n {\"date\": \"2025-05\", \"limit\": 1400.0},\n {\"date\": \"2025-06\", \"limit\": 1500.0},\n {\"date\": \"2025-07\", \"limit\": 1600.0},\n {\"date\": \"2025-08\", \"limit\": 1700.0},\n {\"date\": \"2025-09\", \"limit\": 1800.0},\n {\"date\": \"2025-10\", \"limit\": 1900.0},\n {\"date\": \"2025-11\", \"limit\": 2000.0},\n {\"date\": \"2025-12\", \"limit\": 2100.0}],\n \"currency\": \"USD\",\n \"time_unit\": \"MONTHLY\",\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"budget_year\": \"2025\",\n \"notification\": {\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n }\n ],\n \"recipients\": {\n \"users\": [\" [email protected]\", \" [email protected]\"],\n \"budget_manager_notification\": \"ENABLED\"\n }\n },\n \"tags\": {},\n \"resource_group\" : \"PROJECT\",\n \"workspace_id\": \"workspace-1234567890\",\n \"project_id\": \"project-1234567890\",\n \"service_account_id\": \"service-account-1234567890\",\n \"budget_manager_id\": \" [email protected]\"\n}", |
| 783 | + "description": "{\n \"name\": \"Cloudforet-Budget\",\n \"planned_limits\": [{\"date\": \"2025-01\", \"limit\": 1000.0},\n {\"date\": \"2025-02\", \"limit\": 1100.0},\n {\"date\": \"2025-03\", \"limit\": 1200.0},\n {\"date\": \"2025-04\", \"limit\": 1300.0},\n {\"date\": \"2025-05\", \"limit\": 1400.0},\n {\"date\": \"2025-06\", \"limit\": 1500.0},\n {\"date\": \"2025-07\", \"limit\": 1600.0},\n {\"date\": \"2025-08\", \"limit\": 1700.0},\n {\"date\": \"2025-09\", \"limit\": 1800.0},\n {\"date\": \"2025-10\", \"limit\": 1900.0},\n {\"date\": \"2025-11\", \"limit\": 2000.0},\n {\"date\": \"2025-12\", \"limit\": 2100.0}],\n \"currency\": \"USD\",\n \"time_unit\": \"MONTHLY\",\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"notification\": {\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n }\n ],\n \"recipients\": {\n \"users\": [\" [email protected]\", \" [email protected]\"],\n \"budget_manager_notification\": \"ENABLED\"\n }\n },\n \"tags\": {},\n \"resource_group\" : \"PROJECT\",\n \"workspace_id\": \"workspace-1234567890\",\n \"project_id\": \"project-1234567890\",\n \"service_account_id\": \"service-account-1234567890\",\n \"budget_manager_id\": \" [email protected]\"\n}", |
756 | 784 | "hasExtensions": false, |
757 | 785 | "hasFields": true, |
758 | 786 | "hasOneofs": false, |
|
830 | 858 | "oneofdecl": "", |
831 | 859 | "defaultValue": "" |
832 | 860 | }, |
833 | | - { |
834 | | - "name": "budget_year", |
835 | | - "description": "Year of the budget, e.g. 2025, budget_year should be same as the year of start or end date", |
836 | | - "label": "", |
837 | | - "type": "string", |
838 | | - "longType": "string", |
839 | | - "fullType": "string", |
840 | | - "ismap": false, |
841 | | - "isoneof": false, |
842 | | - "oneofdecl": "", |
843 | | - "defaultValue": "" |
844 | | - }, |
845 | 861 | { |
846 | 862 | "name": "notification", |
847 | 863 | "description": "+optional", |
|
1016 | 1032 | "name": "UpdateBudgetRequest", |
1017 | 1033 | "longName": "UpdateBudgetRequest", |
1018 | 1034 | "fullName": "spaceone.api.cost_analysis.v1.UpdateBudgetRequest", |
1019 | | - "description": "{\n \"budget_id\": \"budget-d51b6b6a9910\",\n \"budget_manager_id\": \"[email protected]\",\n \"name\": \"Cloudforet-Budget-test\", \"limit\": 15000.0,\n \"planned_limits\": [{\"date\": \"2025-01\", \"limit\": 500.0},\n {\"date\": \"2025-02\", \"limit\": 500.0},\n {\"date\": \"2025-03\", \"limit\": 500.0},\n {\"date\": \"2025-04\", \"limit\": 500.0},\n {\"date\": \"2025-05\", \"limit\": 500.0},\n {\"date\": \"2025-06\", \"limit\": 500.0},\n {\"date\": \"2025-07\", \"limit\": 500.0},\n {\"date\": \"2025-08\", \"limit\": 500.0},\n {\"date\": \"2025-09\", \"limit\": 500.0}],\n \"limit\": 15000.0,\n \"budget_year\": \"2025\",\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"tags\": {}\n}", |
| 1035 | + "description": "{\n \"budget_id\": \"budget-d51b6b6a9910\",\n \"budget_manager_id\": \"[email protected]\",\n \"name\": \"Cloudforet-Budget-test\", \"limit\": 15000.0,\n \"planned_limits\": [{\"date\": \"2025-01\", \"limit\": 500.0},\n {\"date\": \"2025-02\", \"limit\": 500.0},\n {\"date\": \"2025-03\", \"limit\": 500.0},\n {\"date\": \"2025-04\", \"limit\": 500.0},\n {\"date\": \"2025-05\", \"limit\": 500.0},\n {\"date\": \"2025-06\", \"limit\": 500.0},\n {\"date\": \"2025-07\", \"limit\": 500.0},\n {\"date\": \"2025-08\", \"limit\": 500.0},\n {\"date\": \"2025-09\", \"limit\": 500.0}],\n \"limit\": 15000.0,\n \"start\": \"2025-01\",\n \"end\": \"2025-12\",\n \"tags\": {}\n}", |
1020 | 1036 | "hasExtensions": false, |
1021 | 1037 | "hasFields": true, |
1022 | 1038 | "hasOneofs": false, |
|
1094 | 1110 | "oneofdecl": "", |
1095 | 1111 | "defaultValue": "" |
1096 | 1112 | }, |
1097 | | - { |
1098 | | - "name": "budget_year", |
1099 | | - "description": "+optional", |
1100 | | - "label": "", |
1101 | | - "type": "string", |
1102 | | - "longType": "string", |
1103 | | - "fullType": "string", |
1104 | | - "ismap": false, |
1105 | | - "isoneof": false, |
1106 | | - "oneofdecl": "", |
1107 | | - "defaultValue": "" |
1108 | | - }, |
1109 | 1113 | { |
1110 | 1114 | "name": "tags", |
1111 | 1115 | "description": "+optional", |
|
0 commit comments