|
124 | 124 | } |
125 | 125 | ] |
126 | 126 | }, |
127 | | - { |
128 | | - "name": "RoleType", |
129 | | - "longName": "BudgetNotificationRecipients.RoleType", |
130 | | - "fullName": "spaceone.api.cost_analysis.v1.BudgetNotificationRecipients.RoleType", |
131 | | - "description": "", |
132 | | - "values": [ |
133 | | - { |
134 | | - "name": "ROLE_TYPE_NONE", |
135 | | - "number": "0", |
136 | | - "description": "" |
137 | | - }, |
138 | | - { |
139 | | - "name": "WORKSPACE_OWNER", |
140 | | - "number": "1", |
141 | | - "description": "" |
142 | | - }, |
143 | | - { |
144 | | - "name": "WORKSPACE_MEMBER", |
145 | | - "number": "2", |
146 | | - "description": "" |
147 | | - } |
148 | | - ] |
149 | | - }, |
150 | | - { |
151 | | - "name": "ServiceAccountManager", |
152 | | - "longName": "BudgetNotificationRecipients.ServiceAccountManager", |
153 | | - "fullName": "spaceone.api.cost_analysis.v1.BudgetNotificationRecipients.ServiceAccountManager", |
154 | | - "description": "", |
155 | | - "values": [ |
156 | | - { |
157 | | - "name": "SERVICE_ACCOUNT_MANAGER_NONE", |
158 | | - "number": "0", |
159 | | - "description": "" |
160 | | - }, |
161 | | - { |
162 | | - "name": "ENABLED", |
163 | | - "number": "1", |
164 | | - "description": "" |
165 | | - }, |
166 | | - { |
167 | | - "name": "DISABLED", |
168 | | - "number": "2", |
169 | | - "description": "" |
170 | | - } |
171 | | - ] |
172 | | - }, |
173 | 127 | { |
174 | 128 | "name": "TimeUnit", |
175 | 129 | "longName": "BudgetQuery.TimeUnit", |
|
246 | 200 | "name": "BudgetInfo", |
247 | 201 | "longName": "BudgetInfo", |
248 | 202 | "fullName": "spaceone.api.cost_analysis.v1.BudgetInfo", |
249 | | - "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 \"notifications\": {\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n }\n ],\n \"recipients\": {\n \"users\": [\" [email protected]\"],\n \"role_types\": [\"WORKSPACE_OWNER\"],\n \"service_account_manager\": \"ENABLED\"\n }\n },\n \"tags\": {},\n \"data_source_id\": \"ds-fcba92ca73b1\",\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}", |
| 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 \"notification\": {\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n }\n ],\n \"recipients\": {\n \"users\": [\" [email protected]\"]\n }\n },\n \"utilization_rate\": 20.0,\n \"tags\": {},\n \"data_source_id\": \"ds-fcba92ca73b1\",\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}", |
250 | 204 | "hasExtensions": false, |
251 | 205 | "hasFields": true, |
252 | 206 | "hasOneofs": false, |
|
349 | 303 | "defaultValue": "" |
350 | 304 | }, |
351 | 305 | { |
352 | | - "name": "notifications", |
| 306 | + "name": "notification", |
353 | 307 | "description": "", |
354 | 308 | "label": "", |
355 | 309 | "type": "BudgetNotification", |
|
360 | 314 | "oneofdecl": "", |
361 | 315 | "defaultValue": "" |
362 | 316 | }, |
| 317 | + { |
| 318 | + "name": "utilization_rate", |
| 319 | + "description": "", |
| 320 | + "label": "", |
| 321 | + "type": "double", |
| 322 | + "longType": "double", |
| 323 | + "fullType": "double", |
| 324 | + "ismap": false, |
| 325 | + "isoneof": false, |
| 326 | + "oneofdecl": "", |
| 327 | + "defaultValue": "" |
| 328 | + }, |
363 | 329 | { |
364 | 330 | "name": "tags", |
365 | 331 | "description": "", |
|
433 | 399 | "defaultValue": "" |
434 | 400 | }, |
435 | 401 | { |
436 | | - "name": "data_source_id", |
| 402 | + "name": "budget_manager_id", |
437 | 403 | "description": "", |
438 | 404 | "label": "", |
439 | 405 | "type": "string", |
|
575 | 541 | "isoneof": false, |
576 | 542 | "oneofdecl": "", |
577 | 543 | "defaultValue": "" |
578 | | - }, |
579 | | - { |
580 | | - "name": "role_types", |
581 | | - "description": "", |
582 | | - "label": "repeated", |
583 | | - "type": "RoleType", |
584 | | - "longType": "BudgetNotificationRecipients.RoleType", |
585 | | - "fullType": "spaceone.api.cost_analysis.v1.BudgetNotificationRecipients.RoleType", |
586 | | - "ismap": false, |
587 | | - "isoneof": false, |
588 | | - "oneofdecl": "", |
589 | | - "defaultValue": "" |
590 | | - }, |
591 | | - { |
592 | | - "name": "service_account_manager", |
593 | | - "description": "", |
594 | | - "label": "", |
595 | | - "type": "ServiceAccountManager", |
596 | | - "longType": "BudgetNotificationRecipients.ServiceAccountManager", |
597 | | - "fullType": "spaceone.api.cost_analysis.v1.BudgetNotificationRecipients.ServiceAccountManager", |
598 | | - "ismap": false, |
599 | | - "isoneof": false, |
600 | | - "oneofdecl": "", |
601 | | - "defaultValue": "" |
602 | 544 | } |
603 | 545 | ] |
604 | 546 | }, |
|
798 | 740 | "name": "CreateBudgetRequest", |
799 | 741 | "longName": "CreateBudgetRequest", |
800 | 742 | "fullName": "spaceone.api.cost_analysis.v1.CreateBudgetRequest", |
801 | | - "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 \"time_unit\": \"MONTHLY\",\n \"start\": \"2022-01\",\n \"end\": \"2022-12\",\n \"notifications\": {\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n }\n ],\n \"recipients\": {\n \"users\": [\" [email protected]\"],\n \"role_types\": [],\n \"service_account_manager\": \"ENABLED\",\n }\n },\n \"tags\": {},\n \"resource_group\" : \"PROJECT\",\n \"data_source_id\": \"ds-fcba92ca73b1\"\n \"workspace_id\": \"workspace-1234567890\",\n \"project_id\": \"project-1234567890\",\n \"service_account_id\": \"service-account-1234567890\"\n}", |
| 743 | + "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 \"time_unit\": \"MONTHLY\",\n \"start\": \"2022-01\",\n \"end\": \"2022-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 }\n },\n \"tags\": {},\n \"resource_group\" : \"PROJECT\",\n \"data_source_id\": \"ds-fcba92ca73b1\"\n \"workspace_id\": \"workspace-1234567890\",\n \"project_id\": \"project-1234567890\",\n \"service_account_id\": \"service-account-1234567890\"\n}", |
802 | 744 | "hasExtensions": false, |
803 | 745 | "hasFields": true, |
804 | 746 | "hasOneofs": false, |
|
889 | 831 | "defaultValue": "" |
890 | 832 | }, |
891 | 833 | { |
892 | | - "name": "notifications", |
| 834 | + "name": "notification", |
893 | 835 | "description": "+optional", |
894 | 836 | "label": "", |
895 | 837 | "type": "BudgetNotification", |
|
1014 | 956 | "name": "SetBudgetNotificationRequest", |
1015 | 957 | "longName": "SetBudgetNotificationRequest", |
1016 | 958 | "fullName": "spaceone.api.cost_analysis.v1.SetBudgetNotificationRequest", |
1017 | | - "description": "{\n \"budget_id\": \"budget-4c8606da4521\",\n \"notifications\":{\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n },\n {\n \"threshold\": 90.0,\n \"unit\": \"PERCENT\"\n }],\n \"recipients\": {\n \"users\": [\"[email protected]\"],\n \"role_types\": [\"WORKSPACE_OWNER\"],\n \"service_account_manager\": \"ENABLED\"\n }\n }\n}", |
| 959 | + "description": "{\n \"budget_id\": \"budget-4c8606da4521\",\n \"notification\":{\n \"state\": \"ENABLED\",\n \"plans\": [\n {\n \"threshold\": 20.0,\n \"unit\": \"PERCENT\"\n },\n {\n \"threshold\": 90.0,\n \"unit\": \"PERCENT\"\n }],\n \"recipients\": {\n }\n }\n}", |
1018 | 960 | "hasExtensions": false, |
1019 | 961 | "hasFields": true, |
1020 | 962 | "hasOneofs": false, |
|
1033 | 975 | "defaultValue": "" |
1034 | 976 | }, |
1035 | 977 | { |
1036 | | - "name": "notifications", |
| 978 | + "name": "notification", |
1037 | 979 | "description": "", |
1038 | 980 | "label": "", |
1039 | 981 | "type": "BudgetNotification", |
|
1104 | 1046 | "oneofdecl": "", |
1105 | 1047 | "defaultValue": "" |
1106 | 1048 | }, |
| 1049 | + { |
| 1050 | + "name": "start", |
| 1051 | + "description": "+optional", |
| 1052 | + "label": "", |
| 1053 | + "type": "string", |
| 1054 | + "longType": "string", |
| 1055 | + "fullType": "string", |
| 1056 | + "ismap": false, |
| 1057 | + "isoneof": false, |
| 1058 | + "oneofdecl": "", |
| 1059 | + "defaultValue": "" |
| 1060 | + }, |
| 1061 | + { |
| 1062 | + "name": "end", |
| 1063 | + "description": "+optional", |
| 1064 | + "label": "", |
| 1065 | + "type": "string", |
| 1066 | + "longType": "string", |
| 1067 | + "fullType": "string", |
| 1068 | + "ismap": false, |
| 1069 | + "isoneof": false, |
| 1070 | + "oneofdecl": "", |
| 1071 | + "defaultValue": "" |
| 1072 | + }, |
1107 | 1073 | { |
1108 | 1074 | "name": "tags", |
1109 | 1075 | "description": "+optional", |
|
0 commit comments