pulumi-oci 1.17.0a1702406535__py3-none-any.whl → 1.18.0a1702447417__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. pulumi_oci/__init__.py +48 -0
  2. pulumi_oci/core/instance.py +7 -7
  3. pulumi_oci/database/__init__.py +1 -0
  4. pulumi_oci/database/autonomous_database.py +20 -1
  5. pulumi_oci/database/autonomous_database_saas_admin_user.py +479 -0
  6. pulumi_oci/datacatalog/_inputs.py +216 -0
  7. pulumi_oci/datacatalog/catalog.py +58 -0
  8. pulumi_oci/datacatalog/catalog_private_endpoint.py +58 -0
  9. pulumi_oci/datacatalog/get_catalog.py +28 -1
  10. pulumi_oci/datacatalog/get_catalog_private_endpoint.py +28 -1
  11. pulumi_oci/datacatalog/get_metastore.py +28 -1
  12. pulumi_oci/datacatalog/metastore.py +58 -0
  13. pulumi_oci/datacatalog/outputs.py +603 -0
  14. pulumi_oci/datasafe/_inputs.py +32 -0
  15. pulumi_oci/datasafe/database_security_config.py +7 -7
  16. pulumi_oci/datasafe/get_audit_events.py +1 -1
  17. pulumi_oci/datasafe/get_discovery_analytics.py +38 -1
  18. pulumi_oci/datasafe/get_report.py +1 -1
  19. pulumi_oci/datasafe/get_report_content.py +2 -2
  20. pulumi_oci/datasafe/get_report_definition.py +4 -4
  21. pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +2 -2
  22. pulumi_oci/datasafe/get_sdm_masking_policy_differences.py +1 -1
  23. pulumi_oci/datasafe/get_security_assessment_findings.py +1 -1
  24. pulumi_oci/datasafe/get_sensitive_type.py +14 -1
  25. pulumi_oci/datasafe/get_sensitive_types.py +21 -1
  26. pulumi_oci/datasafe/get_user_assessment_profile_analytics.py +2 -2
  27. pulumi_oci/datasafe/get_user_assessment_user_analytics.py +2 -2
  28. pulumi_oci/datasafe/masking_policies_masking_column.py +2 -0
  29. pulumi_oci/datasafe/outputs.py +114 -24
  30. pulumi_oci/datasafe/report_definition.py +16 -16
  31. pulumi_oci/datasafe/sensitive_type.py +28 -0
  32. pulumi_oci/datasafe/sql_firewall_policy.py +103 -103
  33. pulumi_oci/goldengate/_inputs.py +28 -2
  34. pulumi_oci/goldengate/connection.py +77 -21
  35. pulumi_oci/goldengate/database_registration.py +7 -7
  36. pulumi_oci/goldengate/deployment.py +110 -7
  37. pulumi_oci/goldengate/get_connection.py +16 -2
  38. pulumi_oci/goldengate/get_database_registration.py +1 -1
  39. pulumi_oci/goldengate/get_deployment.py +41 -2
  40. pulumi_oci/goldengate/outputs.py +138 -11
  41. pulumi_oci/identity/__init__.py +3 -0
  42. pulumi_oci/identity/_inputs.py +862 -6
  43. pulumi_oci/identity/domains_identity_propagation_trust.py +3489 -0
  44. pulumi_oci/identity/domains_user.py +40 -41
  45. pulumi_oci/identity/get_domains_identity_propagation_trust.py +581 -0
  46. pulumi_oci/identity/get_domains_identity_propagation_trusts.py +310 -0
  47. pulumi_oci/identity/outputs.py +2625 -821
  48. pulumi_oci/logging/_inputs.py +17 -1
  49. pulumi_oci/logging/log.py +2 -0
  50. pulumi_oci/logging/outputs.py +35 -1
  51. pulumi_oci/meteringcomputation/__init__.py +7 -0
  52. pulumi_oci/meteringcomputation/_inputs.py +787 -0
  53. pulumi_oci/meteringcomputation/get_average_carbon_emission.py +121 -0
  54. pulumi_oci/meteringcomputation/get_clean_energy_usage.py +116 -0
  55. pulumi_oci/meteringcomputation/get_schedule.py +2 -2
  56. pulumi_oci/meteringcomputation/get_usage_carbon_emissions_config.py +119 -0
  57. pulumi_oci/meteringcomputation/get_usage_carbon_emissions_queries.py +136 -0
  58. pulumi_oci/meteringcomputation/get_usage_carbon_emissions_query.py +132 -0
  59. pulumi_oci/meteringcomputation/outputs.py +2410 -1149
  60. pulumi_oci/meteringcomputation/schedule.py +14 -14
  61. pulumi_oci/meteringcomputation/usage_carbon_emission.py +597 -0
  62. pulumi_oci/meteringcomputation/usage_carbon_emissions_query.py +282 -0
  63. pulumi_oci/opsi/__init__.py +4 -0
  64. pulumi_oci/opsi/_inputs.py +46 -0
  65. pulumi_oci/opsi/awr_hub.py +49 -22
  66. pulumi_oci/opsi/awr_hub_source.py +957 -0
  67. pulumi_oci/opsi/awr_hub_source_awrhubsources_management.py +248 -0
  68. pulumi_oci/opsi/get_awr_hub.py +14 -1
  69. pulumi_oci/opsi/get_awr_hub_source.py +391 -0
  70. pulumi_oci/opsi/get_awr_hub_sources.py +250 -0
  71. pulumi_oci/opsi/operations_insights_warehouse.py +7 -7
  72. pulumi_oci/opsi/outputs.py +319 -0
  73. pulumi_oci/optimizer/get_histories.py +18 -1
  74. pulumi_oci/optimizer/get_profile.py +11 -1
  75. pulumi_oci/optimizer/get_resource_action.py +22 -5
  76. pulumi_oci/optimizer/get_resource_actions.py +18 -1
  77. pulumi_oci/optimizer/outputs.py +7 -0
  78. pulumi_oci/optimizer/profile.py +20 -0
  79. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/METADATA +1 -1
  80. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/RECORD +82 -67
  81. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/WHEEL +0 -0
  82. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/top_level.txt +0 -0
@@ -22,6 +22,13 @@ __all__ = [
22
22
  'ScheduleQueryPropertiesDateRange',
23
23
  'ScheduleQueryPropertiesGroupByTag',
24
24
  'ScheduleResultLocation',
25
+ 'UsageCarbonEmissionGroupByTag',
26
+ 'UsageCarbonEmissionItem',
27
+ 'UsageCarbonEmissionItemTag',
28
+ 'UsageCarbonEmissionsQueryQueryDefinition',
29
+ 'UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUi',
30
+ 'UsageCarbonEmissionsQueryQueryDefinitionReportQuery',
31
+ 'UsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTag',
25
32
  'UsageForecast',
26
33
  'UsageGroupByTag',
27
34
  'UsageItem',
@@ -61,6 +68,18 @@ __all__ = [
61
68
  'GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult',
62
69
  'GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult',
63
70
  'GetSchedulesScheduleCollectionItemResultLocationResult',
71
+ 'GetUsageCarbonEmissionsConfigItemResult',
72
+ 'GetUsageCarbonEmissionsQueriesFilterResult',
73
+ 'GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionResult',
74
+ 'GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemResult',
75
+ 'GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionResult',
76
+ 'GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionCostAnalysisUiResult',
77
+ 'GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryResult',
78
+ 'GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult',
79
+ 'GetUsageCarbonEmissionsQueryQueryDefinitionResult',
80
+ 'GetUsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUiResult',
81
+ 'GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryResult',
82
+ 'GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTagResult',
64
83
  ]
65
84
 
66
85
  @pulumi.output_type
@@ -938,70 +957,7 @@ class ScheduleResultLocation(dict):
938
957
 
939
958
 
940
959
  @pulumi.output_type
941
- class UsageForecast(dict):
942
- @staticmethod
943
- def __key_warning(key: str):
944
- suggest = None
945
- if key == "timeForecastEnded":
946
- suggest = "time_forecast_ended"
947
- elif key == "forecastType":
948
- suggest = "forecast_type"
949
- elif key == "timeForecastStarted":
950
- suggest = "time_forecast_started"
951
-
952
- if suggest:
953
- pulumi.log.warn(f"Key '{key}' not found in UsageForecast. Access the value via the '{suggest}' property getter instead.")
954
-
955
- def __getitem__(self, key: str) -> Any:
956
- UsageForecast.__key_warning(key)
957
- return super().__getitem__(key)
958
-
959
- def get(self, key: str, default = None) -> Any:
960
- UsageForecast.__key_warning(key)
961
- return super().get(key, default)
962
-
963
- def __init__(__self__, *,
964
- time_forecast_ended: str,
965
- forecast_type: Optional[str] = None,
966
- time_forecast_started: Optional[str] = None):
967
- """
968
- :param str time_forecast_ended: The forecast end time.
969
- :param str forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
970
- :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified.
971
- """
972
- pulumi.set(__self__, "time_forecast_ended", time_forecast_ended)
973
- if forecast_type is not None:
974
- pulumi.set(__self__, "forecast_type", forecast_type)
975
- if time_forecast_started is not None:
976
- pulumi.set(__self__, "time_forecast_started", time_forecast_started)
977
-
978
- @property
979
- @pulumi.getter(name="timeForecastEnded")
980
- def time_forecast_ended(self) -> str:
981
- """
982
- The forecast end time.
983
- """
984
- return pulumi.get(self, "time_forecast_ended")
985
-
986
- @property
987
- @pulumi.getter(name="forecastType")
988
- def forecast_type(self) -> Optional[str]:
989
- """
990
- BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
991
- """
992
- return pulumi.get(self, "forecast_type")
993
-
994
- @property
995
- @pulumi.getter(name="timeForecastStarted")
996
- def time_forecast_started(self) -> Optional[str]:
997
- """
998
- The forecast start time. Defaults to UTC-1 if not specified.
999
- """
1000
- return pulumi.get(self, "time_forecast_started")
1001
-
1002
-
1003
- @pulumi.output_type
1004
- class UsageGroupByTag(dict):
960
+ class UsageCarbonEmissionGroupByTag(dict):
1005
961
  def __init__(__self__, *,
1006
962
  key: Optional[str] = None,
1007
963
  namespace: Optional[str] = None,
@@ -1044,7 +1000,7 @@ class UsageGroupByTag(dict):
1044
1000
 
1045
1001
 
1046
1002
  @pulumi.output_type
1047
- class UsageItem(dict):
1003
+ class UsageCarbonEmissionItem(dict):
1048
1004
  @staticmethod
1049
1005
  def __key_warning(key: str):
1050
1006
  suggest = None
@@ -1054,16 +1010,10 @@ class UsageItem(dict):
1054
1010
  suggest = "compartment_name"
1055
1011
  elif key == "compartmentPath":
1056
1012
  suggest = "compartment_path"
1057
- elif key == "computedAmount":
1058
- suggest = "computed_amount"
1059
- elif key == "computedQuantity":
1060
- suggest = "computed_quantity"
1061
- elif key == "isForecast":
1062
- suggest = "is_forecast"
1063
- elif key == "listRate":
1064
- suggest = "list_rate"
1065
- elif key == "overagesFlag":
1066
- suggest = "overages_flag"
1013
+ elif key == "computedCarbonEmission":
1014
+ suggest = "computed_carbon_emission"
1015
+ elif key == "emissionCalculationMethod":
1016
+ suggest = "emission_calculation_method"
1067
1017
  elif key == "resourceId":
1068
1018
  suggest = "resource_id"
1069
1019
  elif key == "resourceName":
@@ -1082,18 +1032,16 @@ class UsageItem(dict):
1082
1032
  suggest = "time_usage_ended"
1083
1033
  elif key == "timeUsageStarted":
1084
1034
  suggest = "time_usage_started"
1085
- elif key == "unitPrice":
1086
- suggest = "unit_price"
1087
1035
 
1088
1036
  if suggest:
1089
- pulumi.log.warn(f"Key '{key}' not found in UsageItem. Access the value via the '{suggest}' property getter instead.")
1037
+ pulumi.log.warn(f"Key '{key}' not found in UsageCarbonEmissionItem. Access the value via the '{suggest}' property getter instead.")
1090
1038
 
1091
1039
  def __getitem__(self, key: str) -> Any:
1092
- UsageItem.__key_warning(key)
1040
+ UsageCarbonEmissionItem.__key_warning(key)
1093
1041
  return super().__getitem__(key)
1094
1042
 
1095
1043
  def get(self, key: str, default = None) -> Any:
1096
- UsageItem.__key_warning(key)
1044
+ UsageCarbonEmissionItem.__key_warning(key)
1097
1045
  return super().get(key, default)
1098
1046
 
1099
1047
  def __init__(__self__, *,
@@ -1101,65 +1049,41 @@ class UsageItem(dict):
1101
1049
  compartment_id: Optional[str] = None,
1102
1050
  compartment_name: Optional[str] = None,
1103
1051
  compartment_path: Optional[str] = None,
1104
- computed_amount: Optional[float] = None,
1105
- computed_quantity: Optional[float] = None,
1106
- currency: Optional[str] = None,
1107
- discount: Optional[float] = None,
1108
- is_forecast: Optional[bool] = None,
1109
- list_rate: Optional[float] = None,
1110
- overage: Optional[str] = None,
1111
- overages_flag: Optional[str] = None,
1052
+ computed_carbon_emission: Optional[float] = None,
1053
+ emission_calculation_method: Optional[str] = None,
1112
1054
  platform: Optional[str] = None,
1113
1055
  region: Optional[str] = None,
1114
1056
  resource_id: Optional[str] = None,
1115
1057
  resource_name: Optional[str] = None,
1116
1058
  service: Optional[str] = None,
1117
- shape: Optional[str] = None,
1118
1059
  sku_name: Optional[str] = None,
1119
1060
  sku_part_number: Optional[str] = None,
1120
1061
  subscription_id: Optional[str] = None,
1121
- tags: Optional[Sequence['outputs.UsageItemTag']] = None,
1062
+ tags: Optional[Sequence['outputs.UsageCarbonEmissionItemTag']] = None,
1122
1063
  tenant_id: Optional[str] = None,
1123
1064
  tenant_name: Optional[str] = None,
1124
1065
  time_usage_ended: Optional[str] = None,
1125
- time_usage_started: Optional[str] = None,
1126
- unit: Optional[str] = None,
1127
- unit_price: Optional[float] = None,
1128
- weight: Optional[float] = None):
1066
+ time_usage_started: Optional[str] = None):
1129
1067
  """
1130
1068
  :param str ad: The availability domain of the usage.
1131
1069
  :param str compartment_id: The compartment OCID.
1132
1070
  :param str compartment_name: The compartment name.
1133
1071
  :param str compartment_path: The compartment path, starting from root.
1134
- :param float computed_amount: The computed cost.
1135
- :param float computed_quantity: The usage number.
1136
- :param str currency: The price currency.
1137
- :param float discount: The discretionary discount applied to the SKU.
1138
- :param bool is_forecast: The forecasted data.
1139
- :param float list_rate: The SKU list rate (not discount).
1140
- :param str overage: The overage usage.
1141
- :param str overages_flag: The SPM OverageFlag.
1072
+ :param float computed_carbon_emission: The carbon emission in MTCO2 unit.
1073
+ :param str emission_calculation_method: The method used to calculate carbon emission.
1142
1074
  :param str platform: Platform for the cost.
1143
1075
  :param str region: The region of the usage.
1144
1076
  :param str resource_id: The resource OCID that is incurring the cost.
1145
1077
  :param str resource_name: The resource name that is incurring the cost.
1146
1078
  :param str service: The service name that is incurring the cost.
1147
- :param str shape: The resource shape.
1148
1079
  :param str sku_name: The SKU friendly name.
1149
1080
  :param str sku_part_number: The SKU part number.
1150
1081
  :param str subscription_id: The subscription ID.
1151
- :param Sequence['UsageItemTagArgs'] tags: For grouping, a tag definition. For filtering, a definition and key.
1082
+ :param Sequence['UsageCarbonEmissionItemTagArgs'] tags: For grouping, a tag definition. For filtering, a definition and key.
1152
1083
  :param str tenant_id: Tenant ID.
1153
1084
  :param str tenant_name: The tenancy name.
1154
1085
  :param str time_usage_ended: The usage end time.
1155
1086
  :param str time_usage_started: The usage start time.
1156
-
1157
-
1158
- ** IMPORTANT **
1159
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1160
- :param str unit: The usage unit.
1161
- :param float unit_price: The price per unit.
1162
- :param float weight: The resource size being metered.
1163
1087
  """
1164
1088
  if ad is not None:
1165
1089
  pulumi.set(__self__, "ad", ad)
@@ -1169,22 +1093,10 @@ class UsageItem(dict):
1169
1093
  pulumi.set(__self__, "compartment_name", compartment_name)
1170
1094
  if compartment_path is not None:
1171
1095
  pulumi.set(__self__, "compartment_path", compartment_path)
1172
- if computed_amount is not None:
1173
- pulumi.set(__self__, "computed_amount", computed_amount)
1174
- if computed_quantity is not None:
1175
- pulumi.set(__self__, "computed_quantity", computed_quantity)
1176
- if currency is not None:
1177
- pulumi.set(__self__, "currency", currency)
1178
- if discount is not None:
1179
- pulumi.set(__self__, "discount", discount)
1180
- if is_forecast is not None:
1181
- pulumi.set(__self__, "is_forecast", is_forecast)
1182
- if list_rate is not None:
1183
- pulumi.set(__self__, "list_rate", list_rate)
1184
- if overage is not None:
1185
- pulumi.set(__self__, "overage", overage)
1186
- if overages_flag is not None:
1187
- pulumi.set(__self__, "overages_flag", overages_flag)
1096
+ if computed_carbon_emission is not None:
1097
+ pulumi.set(__self__, "computed_carbon_emission", computed_carbon_emission)
1098
+ if emission_calculation_method is not None:
1099
+ pulumi.set(__self__, "emission_calculation_method", emission_calculation_method)
1188
1100
  if platform is not None:
1189
1101
  pulumi.set(__self__, "platform", platform)
1190
1102
  if region is not None:
@@ -1195,8 +1107,6 @@ class UsageItem(dict):
1195
1107
  pulumi.set(__self__, "resource_name", resource_name)
1196
1108
  if service is not None:
1197
1109
  pulumi.set(__self__, "service", service)
1198
- if shape is not None:
1199
- pulumi.set(__self__, "shape", shape)
1200
1110
  if sku_name is not None:
1201
1111
  pulumi.set(__self__, "sku_name", sku_name)
1202
1112
  if sku_part_number is not None:
@@ -1213,12 +1123,6 @@ class UsageItem(dict):
1213
1123
  pulumi.set(__self__, "time_usage_ended", time_usage_ended)
1214
1124
  if time_usage_started is not None:
1215
1125
  pulumi.set(__self__, "time_usage_started", time_usage_started)
1216
- if unit is not None:
1217
- pulumi.set(__self__, "unit", unit)
1218
- if unit_price is not None:
1219
- pulumi.set(__self__, "unit_price", unit_price)
1220
- if weight is not None:
1221
- pulumi.set(__self__, "weight", weight)
1222
1126
 
1223
1127
  @property
1224
1128
  @pulumi.getter
@@ -1253,68 +1157,20 @@ class UsageItem(dict):
1253
1157
  return pulumi.get(self, "compartment_path")
1254
1158
 
1255
1159
  @property
1256
- @pulumi.getter(name="computedAmount")
1257
- def computed_amount(self) -> Optional[float]:
1258
- """
1259
- The computed cost.
1260
- """
1261
- return pulumi.get(self, "computed_amount")
1262
-
1263
- @property
1264
- @pulumi.getter(name="computedQuantity")
1265
- def computed_quantity(self) -> Optional[float]:
1266
- """
1267
- The usage number.
1268
- """
1269
- return pulumi.get(self, "computed_quantity")
1270
-
1271
- @property
1272
- @pulumi.getter
1273
- def currency(self) -> Optional[str]:
1274
- """
1275
- The price currency.
1276
- """
1277
- return pulumi.get(self, "currency")
1278
-
1279
- @property
1280
- @pulumi.getter
1281
- def discount(self) -> Optional[float]:
1282
- """
1283
- The discretionary discount applied to the SKU.
1284
- """
1285
- return pulumi.get(self, "discount")
1286
-
1287
- @property
1288
- @pulumi.getter(name="isForecast")
1289
- def is_forecast(self) -> Optional[bool]:
1290
- """
1291
- The forecasted data.
1292
- """
1293
- return pulumi.get(self, "is_forecast")
1294
-
1295
- @property
1296
- @pulumi.getter(name="listRate")
1297
- def list_rate(self) -> Optional[float]:
1298
- """
1299
- The SKU list rate (not discount).
1300
- """
1301
- return pulumi.get(self, "list_rate")
1302
-
1303
- @property
1304
- @pulumi.getter
1305
- def overage(self) -> Optional[str]:
1160
+ @pulumi.getter(name="computedCarbonEmission")
1161
+ def computed_carbon_emission(self) -> Optional[float]:
1306
1162
  """
1307
- The overage usage.
1163
+ The carbon emission in MTCO2 unit.
1308
1164
  """
1309
- return pulumi.get(self, "overage")
1165
+ return pulumi.get(self, "computed_carbon_emission")
1310
1166
 
1311
1167
  @property
1312
- @pulumi.getter(name="overagesFlag")
1313
- def overages_flag(self) -> Optional[str]:
1168
+ @pulumi.getter(name="emissionCalculationMethod")
1169
+ def emission_calculation_method(self) -> Optional[str]:
1314
1170
  """
1315
- The SPM OverageFlag.
1171
+ The method used to calculate carbon emission.
1316
1172
  """
1317
- return pulumi.get(self, "overages_flag")
1173
+ return pulumi.get(self, "emission_calculation_method")
1318
1174
 
1319
1175
  @property
1320
1176
  @pulumi.getter
@@ -1356,14 +1212,6 @@ class UsageItem(dict):
1356
1212
  """
1357
1213
  return pulumi.get(self, "service")
1358
1214
 
1359
- @property
1360
- @pulumi.getter
1361
- def shape(self) -> Optional[str]:
1362
- """
1363
- The resource shape.
1364
- """
1365
- return pulumi.get(self, "shape")
1366
-
1367
1215
  @property
1368
1216
  @pulumi.getter(name="skuName")
1369
1217
  def sku_name(self) -> Optional[str]:
@@ -1390,7 +1238,7 @@ class UsageItem(dict):
1390
1238
 
1391
1239
  @property
1392
1240
  @pulumi.getter
1393
- def tags(self) -> Optional[Sequence['outputs.UsageItemTag']]:
1241
+ def tags(self) -> Optional[Sequence['outputs.UsageCarbonEmissionItemTag']]:
1394
1242
  """
1395
1243
  For grouping, a tag definition. For filtering, a definition and key.
1396
1244
  """
@@ -1425,40 +1273,12 @@ class UsageItem(dict):
1425
1273
  def time_usage_started(self) -> Optional[str]:
1426
1274
  """
1427
1275
  The usage start time.
1428
-
1429
-
1430
- ** IMPORTANT **
1431
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1432
1276
  """
1433
1277
  return pulumi.get(self, "time_usage_started")
1434
1278
 
1435
- @property
1436
- @pulumi.getter
1437
- def unit(self) -> Optional[str]:
1438
- """
1439
- The usage unit.
1440
- """
1441
- return pulumi.get(self, "unit")
1442
-
1443
- @property
1444
- @pulumi.getter(name="unitPrice")
1445
- def unit_price(self) -> Optional[float]:
1446
- """
1447
- The price per unit.
1448
- """
1449
- return pulumi.get(self, "unit_price")
1450
-
1451
- @property
1452
- @pulumi.getter
1453
- def weight(self) -> Optional[float]:
1454
- """
1455
- The resource size being metered.
1456
- """
1457
- return pulumi.get(self, "weight")
1458
-
1459
1279
 
1460
1280
  @pulumi.output_type
1461
- class UsageItemTag(dict):
1281
+ class UsageCarbonEmissionItemTag(dict):
1462
1282
  def __init__(__self__, *,
1463
1283
  key: Optional[str] = None,
1464
1284
  namespace: Optional[str] = None,
@@ -1501,566 +1321,1953 @@ class UsageItemTag(dict):
1501
1321
 
1502
1322
 
1503
1323
  @pulumi.output_type
1504
- class GetConfigurationItemResult(dict):
1324
+ class UsageCarbonEmissionsQueryQueryDefinition(dict):
1325
+ @staticmethod
1326
+ def __key_warning(key: str):
1327
+ suggest = None
1328
+ if key == "costAnalysisUi":
1329
+ suggest = "cost_analysis_ui"
1330
+ elif key == "displayName":
1331
+ suggest = "display_name"
1332
+ elif key == "reportQuery":
1333
+ suggest = "report_query"
1334
+
1335
+ if suggest:
1336
+ pulumi.log.warn(f"Key '{key}' not found in UsageCarbonEmissionsQueryQueryDefinition. Access the value via the '{suggest}' property getter instead.")
1337
+
1338
+ def __getitem__(self, key: str) -> Any:
1339
+ UsageCarbonEmissionsQueryQueryDefinition.__key_warning(key)
1340
+ return super().__getitem__(key)
1341
+
1342
+ def get(self, key: str, default = None) -> Any:
1343
+ UsageCarbonEmissionsQueryQueryDefinition.__key_warning(key)
1344
+ return super().get(key, default)
1345
+
1505
1346
  def __init__(__self__, *,
1506
- key: str,
1507
- values: Sequence[str]):
1508
- """
1509
- :param str key: The configuration key.
1510
- :param Sequence[str] values: The configuration value.
1347
+ cost_analysis_ui: 'outputs.UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUi',
1348
+ display_name: str,
1349
+ report_query: 'outputs.UsageCarbonEmissionsQueryQueryDefinitionReportQuery',
1350
+ version: int):
1511
1351
  """
1512
- pulumi.set(__self__, "key", key)
1513
- pulumi.set(__self__, "values", values)
1352
+ :param 'UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUiArgs' cost_analysis_ui: (Updatable) The common fields for Cost Analysis UI rendering.
1353
+ :param str display_name: (Updatable) The query display name. Avoid entering confidential information.
1354
+ :param 'UsageCarbonEmissionsQueryQueryDefinitionReportQueryArgs' report_query: (Updatable) The request of the generated usage carbon emissions report.
1355
+ :param int version: (Updatable) The saved query version.
1356
+
1357
+
1358
+ ** IMPORTANT **
1359
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1360
+ """
1361
+ pulumi.set(__self__, "cost_analysis_ui", cost_analysis_ui)
1362
+ pulumi.set(__self__, "display_name", display_name)
1363
+ pulumi.set(__self__, "report_query", report_query)
1364
+ pulumi.set(__self__, "version", version)
1365
+
1366
+ @property
1367
+ @pulumi.getter(name="costAnalysisUi")
1368
+ def cost_analysis_ui(self) -> 'outputs.UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUi':
1369
+ """
1370
+ (Updatable) The common fields for Cost Analysis UI rendering.
1371
+ """
1372
+ return pulumi.get(self, "cost_analysis_ui")
1373
+
1374
+ @property
1375
+ @pulumi.getter(name="displayName")
1376
+ def display_name(self) -> str:
1377
+ """
1378
+ (Updatable) The query display name. Avoid entering confidential information.
1379
+ """
1380
+ return pulumi.get(self, "display_name")
1381
+
1382
+ @property
1383
+ @pulumi.getter(name="reportQuery")
1384
+ def report_query(self) -> 'outputs.UsageCarbonEmissionsQueryQueryDefinitionReportQuery':
1385
+ """
1386
+ (Updatable) The request of the generated usage carbon emissions report.
1387
+ """
1388
+ return pulumi.get(self, "report_query")
1514
1389
 
1515
1390
  @property
1516
1391
  @pulumi.getter
1517
- def key(self) -> str:
1392
+ def version(self) -> int:
1518
1393
  """
1519
- The configuration key.
1394
+ (Updatable) The saved query version.
1395
+
1396
+
1397
+ ** IMPORTANT **
1398
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1520
1399
  """
1521
- return pulumi.get(self, "key")
1400
+ return pulumi.get(self, "version")
1401
+
1402
+
1403
+ @pulumi.output_type
1404
+ class UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUi(dict):
1405
+ @staticmethod
1406
+ def __key_warning(key: str):
1407
+ suggest = None
1408
+ if key == "isCumulativeGraph":
1409
+ suggest = "is_cumulative_graph"
1410
+
1411
+ if suggest:
1412
+ pulumi.log.warn(f"Key '{key}' not found in UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUi. Access the value via the '{suggest}' property getter instead.")
1413
+
1414
+ def __getitem__(self, key: str) -> Any:
1415
+ UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUi.__key_warning(key)
1416
+ return super().__getitem__(key)
1417
+
1418
+ def get(self, key: str, default = None) -> Any:
1419
+ UsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUi.__key_warning(key)
1420
+ return super().get(key, default)
1421
+
1422
+ def __init__(__self__, *,
1423
+ graph: Optional[str] = None,
1424
+ is_cumulative_graph: Optional[bool] = None):
1425
+ """
1426
+ :param str graph: (Updatable) The graph type.
1427
+ :param bool is_cumulative_graph: (Updatable) A cumulative graph.
1428
+ """
1429
+ if graph is not None:
1430
+ pulumi.set(__self__, "graph", graph)
1431
+ if is_cumulative_graph is not None:
1432
+ pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph)
1522
1433
 
1523
1434
  @property
1524
1435
  @pulumi.getter
1525
- def values(self) -> Sequence[str]:
1436
+ def graph(self) -> Optional[str]:
1526
1437
  """
1527
- The configuration value.
1438
+ (Updatable) The graph type.
1528
1439
  """
1529
- return pulumi.get(self, "values")
1440
+ return pulumi.get(self, "graph")
1441
+
1442
+ @property
1443
+ @pulumi.getter(name="isCumulativeGraph")
1444
+ def is_cumulative_graph(self) -> Optional[bool]:
1445
+ """
1446
+ (Updatable) A cumulative graph.
1447
+ """
1448
+ return pulumi.get(self, "is_cumulative_graph")
1530
1449
 
1531
1450
 
1532
1451
  @pulumi.output_type
1533
- class GetCustomTableSavedCustomTableResult(dict):
1452
+ class UsageCarbonEmissionsQueryQueryDefinitionReportQuery(dict):
1453
+ @staticmethod
1454
+ def __key_warning(key: str):
1455
+ suggest = None
1456
+ if key == "tenantId":
1457
+ suggest = "tenant_id"
1458
+ elif key == "compartmentDepth":
1459
+ suggest = "compartment_depth"
1460
+ elif key == "dateRangeName":
1461
+ suggest = "date_range_name"
1462
+ elif key == "groupBies":
1463
+ suggest = "group_bies"
1464
+ elif key == "groupByTags":
1465
+ suggest = "group_by_tags"
1466
+ elif key == "isAggregateByTime":
1467
+ suggest = "is_aggregate_by_time"
1468
+ elif key == "timeUsageEnded":
1469
+ suggest = "time_usage_ended"
1470
+ elif key == "timeUsageStarted":
1471
+ suggest = "time_usage_started"
1472
+ elif key == "usageCarbonEmissionsQueryFilter":
1473
+ suggest = "usage_carbon_emissions_query_filter"
1474
+
1475
+ if suggest:
1476
+ pulumi.log.warn(f"Key '{key}' not found in UsageCarbonEmissionsQueryQueryDefinitionReportQuery. Access the value via the '{suggest}' property getter instead.")
1477
+
1478
+ def __getitem__(self, key: str) -> Any:
1479
+ UsageCarbonEmissionsQueryQueryDefinitionReportQuery.__key_warning(key)
1480
+ return super().__getitem__(key)
1481
+
1482
+ def get(self, key: str, default = None) -> Any:
1483
+ UsageCarbonEmissionsQueryQueryDefinitionReportQuery.__key_warning(key)
1484
+ return super().get(key, default)
1485
+
1534
1486
  def __init__(__self__, *,
1535
- column_group_bies: Sequence[str],
1536
- compartment_depth: float,
1537
- display_name: str,
1538
- group_by_tags: Sequence['outputs.GetCustomTableSavedCustomTableGroupByTagResult'],
1539
- row_group_bies: Sequence[str],
1540
- version: float):
1487
+ tenant_id: str,
1488
+ compartment_depth: Optional[int] = None,
1489
+ date_range_name: Optional[str] = None,
1490
+ group_bies: Optional[Sequence[str]] = None,
1491
+ group_by_tags: Optional[Sequence['outputs.UsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTag']] = None,
1492
+ is_aggregate_by_time: Optional[bool] = None,
1493
+ time_usage_ended: Optional[str] = None,
1494
+ time_usage_started: Optional[str] = None,
1495
+ usage_carbon_emissions_query_filter: Optional[str] = None):
1541
1496
  """
1542
- :param Sequence[str] column_group_bies: The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1543
- :param float compartment_depth: The compartment depth level.
1544
- :param str display_name: The name of the custom table.
1545
- :param Sequence['GetCustomTableSavedCustomTableGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
1546
- :param Sequence[str] row_group_bies: The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1547
- :param float version: The version of the custom table.
1497
+ :param str tenant_id: (Updatable) Tenant ID.
1498
+ :param int compartment_depth: (Updatable) The compartment depth level.
1499
+ :param str date_range_name: (Updatable) The UI date range, for example, LAST_THREE_MONTHS. It will override timeUsageStarted and timeUsageEnded properties.
1500
+ :param Sequence[str] group_bies: (Updatable) Specifies what to aggregate the result by. For example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1501
+ :param Sequence['UsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTagArgs'] group_by_tags: (Updatable) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
1502
+ :param bool is_aggregate_by_time: (Updatable) Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
1503
+ :param str time_usage_ended: (Updatable) The usage end time.
1504
+ :param str time_usage_started: (Updatable) The usage start time.
1505
+ :param str usage_carbon_emissions_query_filter: (Updatable) The filter object for query usage.
1548
1506
  """
1549
- pulumi.set(__self__, "column_group_bies", column_group_bies)
1550
- pulumi.set(__self__, "compartment_depth", compartment_depth)
1551
- pulumi.set(__self__, "display_name", display_name)
1552
- pulumi.set(__self__, "group_by_tags", group_by_tags)
1553
- pulumi.set(__self__, "row_group_bies", row_group_bies)
1554
- pulumi.set(__self__, "version", version)
1507
+ pulumi.set(__self__, "tenant_id", tenant_id)
1508
+ if compartment_depth is not None:
1509
+ pulumi.set(__self__, "compartment_depth", compartment_depth)
1510
+ if date_range_name is not None:
1511
+ pulumi.set(__self__, "date_range_name", date_range_name)
1512
+ if group_bies is not None:
1513
+ pulumi.set(__self__, "group_bies", group_bies)
1514
+ if group_by_tags is not None:
1515
+ pulumi.set(__self__, "group_by_tags", group_by_tags)
1516
+ if is_aggregate_by_time is not None:
1517
+ pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time)
1518
+ if time_usage_ended is not None:
1519
+ pulumi.set(__self__, "time_usage_ended", time_usage_ended)
1520
+ if time_usage_started is not None:
1521
+ pulumi.set(__self__, "time_usage_started", time_usage_started)
1522
+ if usage_carbon_emissions_query_filter is not None:
1523
+ pulumi.set(__self__, "usage_carbon_emissions_query_filter", usage_carbon_emissions_query_filter)
1555
1524
 
1556
1525
  @property
1557
- @pulumi.getter(name="columnGroupBies")
1558
- def column_group_bies(self) -> Sequence[str]:
1526
+ @pulumi.getter(name="tenantId")
1527
+ def tenant_id(self) -> str:
1559
1528
  """
1560
- The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1529
+ (Updatable) Tenant ID.
1561
1530
  """
1562
- return pulumi.get(self, "column_group_bies")
1531
+ return pulumi.get(self, "tenant_id")
1563
1532
 
1564
1533
  @property
1565
1534
  @pulumi.getter(name="compartmentDepth")
1566
- def compartment_depth(self) -> float:
1535
+ def compartment_depth(self) -> Optional[int]:
1567
1536
  """
1568
- The compartment depth level.
1537
+ (Updatable) The compartment depth level.
1569
1538
  """
1570
1539
  return pulumi.get(self, "compartment_depth")
1571
1540
 
1572
1541
  @property
1573
- @pulumi.getter(name="displayName")
1574
- def display_name(self) -> str:
1542
+ @pulumi.getter(name="dateRangeName")
1543
+ def date_range_name(self) -> Optional[str]:
1575
1544
  """
1576
- The name of the custom table.
1545
+ (Updatable) The UI date range, for example, LAST_THREE_MONTHS. It will override timeUsageStarted and timeUsageEnded properties.
1577
1546
  """
1578
- return pulumi.get(self, "display_name")
1547
+ return pulumi.get(self, "date_range_name")
1548
+
1549
+ @property
1550
+ @pulumi.getter(name="groupBies")
1551
+ def group_bies(self) -> Optional[Sequence[str]]:
1552
+ """
1553
+ (Updatable) Specifies what to aggregate the result by. For example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1554
+ """
1555
+ return pulumi.get(self, "group_bies")
1579
1556
 
1580
1557
  @property
1581
1558
  @pulumi.getter(name="groupByTags")
1582
- def group_by_tags(self) -> Sequence['outputs.GetCustomTableSavedCustomTableGroupByTagResult']:
1559
+ def group_by_tags(self) -> Optional[Sequence['outputs.UsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTag']]:
1583
1560
  """
1584
- GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
1561
+ (Updatable) GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
1585
1562
  """
1586
1563
  return pulumi.get(self, "group_by_tags")
1587
1564
 
1588
1565
  @property
1589
- @pulumi.getter(name="rowGroupBies")
1590
- def row_group_bies(self) -> Sequence[str]:
1566
+ @pulumi.getter(name="isAggregateByTime")
1567
+ def is_aggregate_by_time(self) -> Optional[bool]:
1591
1568
  """
1592
- The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1569
+ (Updatable) Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
1593
1570
  """
1594
- return pulumi.get(self, "row_group_bies")
1571
+ return pulumi.get(self, "is_aggregate_by_time")
1595
1572
 
1596
1573
  @property
1597
- @pulumi.getter
1598
- def version(self) -> float:
1574
+ @pulumi.getter(name="timeUsageEnded")
1575
+ def time_usage_ended(self) -> Optional[str]:
1599
1576
  """
1600
- The version of the custom table.
1577
+ (Updatable) The usage end time.
1601
1578
  """
1602
- return pulumi.get(self, "version")
1579
+ return pulumi.get(self, "time_usage_ended")
1580
+
1581
+ @property
1582
+ @pulumi.getter(name="timeUsageStarted")
1583
+ def time_usage_started(self) -> Optional[str]:
1584
+ """
1585
+ (Updatable) The usage start time.
1586
+ """
1587
+ return pulumi.get(self, "time_usage_started")
1588
+
1589
+ @property
1590
+ @pulumi.getter(name="usageCarbonEmissionsQueryFilter")
1591
+ def usage_carbon_emissions_query_filter(self) -> Optional[str]:
1592
+ """
1593
+ (Updatable) The filter object for query usage.
1594
+ """
1595
+ return pulumi.get(self, "usage_carbon_emissions_query_filter")
1603
1596
 
1604
1597
 
1605
1598
  @pulumi.output_type
1606
- class GetCustomTableSavedCustomTableGroupByTagResult(dict):
1599
+ class UsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTag(dict):
1607
1600
  def __init__(__self__, *,
1608
- key: str,
1609
- namespace: str,
1610
- value: str):
1601
+ key: Optional[str] = None,
1602
+ namespace: Optional[str] = None,
1603
+ value: Optional[str] = None):
1611
1604
  """
1612
- :param str key: The tag key.
1613
- :param str namespace: The tag namespace.
1614
- :param str value: The tag value.
1605
+ :param str key: (Updatable) The tag key.
1606
+ :param str namespace: (Updatable) The tag namespace.
1607
+ :param str value: (Updatable) The tag value.
1615
1608
  """
1616
- pulumi.set(__self__, "key", key)
1617
- pulumi.set(__self__, "namespace", namespace)
1618
- pulumi.set(__self__, "value", value)
1609
+ if key is not None:
1610
+ pulumi.set(__self__, "key", key)
1611
+ if namespace is not None:
1612
+ pulumi.set(__self__, "namespace", namespace)
1613
+ if value is not None:
1614
+ pulumi.set(__self__, "value", value)
1619
1615
 
1620
1616
  @property
1621
1617
  @pulumi.getter
1622
- def key(self) -> str:
1618
+ def key(self) -> Optional[str]:
1623
1619
  """
1624
- The tag key.
1620
+ (Updatable) The tag key.
1625
1621
  """
1626
1622
  return pulumi.get(self, "key")
1627
1623
 
1628
1624
  @property
1629
1625
  @pulumi.getter
1630
- def namespace(self) -> str:
1626
+ def namespace(self) -> Optional[str]:
1631
1627
  """
1632
- The tag namespace.
1628
+ (Updatable) The tag namespace.
1633
1629
  """
1634
1630
  return pulumi.get(self, "namespace")
1635
1631
 
1636
1632
  @property
1637
1633
  @pulumi.getter
1638
- def value(self) -> str:
1634
+ def value(self) -> Optional[str]:
1639
1635
  """
1640
- The tag value.
1636
+ (Updatable) The tag value.
1641
1637
  """
1642
1638
  return pulumi.get(self, "value")
1643
1639
 
1644
1640
 
1645
1641
  @pulumi.output_type
1646
- class GetCustomTablesCustomTableCollectionResult(dict):
1647
- def __init__(__self__, *,
1648
- items: Sequence['outputs.GetCustomTablesCustomTableCollectionItemResult']):
1649
- pulumi.set(__self__, "items", items)
1650
-
1651
- @property
1652
- @pulumi.getter
1653
- def items(self) -> Sequence['outputs.GetCustomTablesCustomTableCollectionItemResult']:
1654
- return pulumi.get(self, "items")
1655
-
1656
-
1657
- @pulumi.output_type
1642
+ class UsageForecast(dict):
1643
+ @staticmethod
1644
+ def __key_warning(key: str):
1645
+ suggest = None
1646
+ if key == "timeForecastEnded":
1647
+ suggest = "time_forecast_ended"
1648
+ elif key == "forecastType":
1649
+ suggest = "forecast_type"
1650
+ elif key == "timeForecastStarted":
1651
+ suggest = "time_forecast_started"
1652
+
1653
+ if suggest:
1654
+ pulumi.log.warn(f"Key '{key}' not found in UsageForecast. Access the value via the '{suggest}' property getter instead.")
1655
+
1656
+ def __getitem__(self, key: str) -> Any:
1657
+ UsageForecast.__key_warning(key)
1658
+ return super().__getitem__(key)
1659
+
1660
+ def get(self, key: str, default = None) -> Any:
1661
+ UsageForecast.__key_warning(key)
1662
+ return super().get(key, default)
1663
+
1664
+ def __init__(__self__, *,
1665
+ time_forecast_ended: str,
1666
+ forecast_type: Optional[str] = None,
1667
+ time_forecast_started: Optional[str] = None):
1668
+ """
1669
+ :param str time_forecast_ended: The forecast end time.
1670
+ :param str forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
1671
+ :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified.
1672
+ """
1673
+ pulumi.set(__self__, "time_forecast_ended", time_forecast_ended)
1674
+ if forecast_type is not None:
1675
+ pulumi.set(__self__, "forecast_type", forecast_type)
1676
+ if time_forecast_started is not None:
1677
+ pulumi.set(__self__, "time_forecast_started", time_forecast_started)
1678
+
1679
+ @property
1680
+ @pulumi.getter(name="timeForecastEnded")
1681
+ def time_forecast_ended(self) -> str:
1682
+ """
1683
+ The forecast end time.
1684
+ """
1685
+ return pulumi.get(self, "time_forecast_ended")
1686
+
1687
+ @property
1688
+ @pulumi.getter(name="forecastType")
1689
+ def forecast_type(self) -> Optional[str]:
1690
+ """
1691
+ BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
1692
+ """
1693
+ return pulumi.get(self, "forecast_type")
1694
+
1695
+ @property
1696
+ @pulumi.getter(name="timeForecastStarted")
1697
+ def time_forecast_started(self) -> Optional[str]:
1698
+ """
1699
+ The forecast start time. Defaults to UTC-1 if not specified.
1700
+ """
1701
+ return pulumi.get(self, "time_forecast_started")
1702
+
1703
+
1704
+ @pulumi.output_type
1705
+ class UsageGroupByTag(dict):
1706
+ def __init__(__self__, *,
1707
+ key: Optional[str] = None,
1708
+ namespace: Optional[str] = None,
1709
+ value: Optional[str] = None):
1710
+ """
1711
+ :param str key: The tag key.
1712
+ :param str namespace: The tag namespace.
1713
+ :param str value: The tag value.
1714
+ """
1715
+ if key is not None:
1716
+ pulumi.set(__self__, "key", key)
1717
+ if namespace is not None:
1718
+ pulumi.set(__self__, "namespace", namespace)
1719
+ if value is not None:
1720
+ pulumi.set(__self__, "value", value)
1721
+
1722
+ @property
1723
+ @pulumi.getter
1724
+ def key(self) -> Optional[str]:
1725
+ """
1726
+ The tag key.
1727
+ """
1728
+ return pulumi.get(self, "key")
1729
+
1730
+ @property
1731
+ @pulumi.getter
1732
+ def namespace(self) -> Optional[str]:
1733
+ """
1734
+ The tag namespace.
1735
+ """
1736
+ return pulumi.get(self, "namespace")
1737
+
1738
+ @property
1739
+ @pulumi.getter
1740
+ def value(self) -> Optional[str]:
1741
+ """
1742
+ The tag value.
1743
+ """
1744
+ return pulumi.get(self, "value")
1745
+
1746
+
1747
+ @pulumi.output_type
1748
+ class UsageItem(dict):
1749
+ @staticmethod
1750
+ def __key_warning(key: str):
1751
+ suggest = None
1752
+ if key == "compartmentId":
1753
+ suggest = "compartment_id"
1754
+ elif key == "compartmentName":
1755
+ suggest = "compartment_name"
1756
+ elif key == "compartmentPath":
1757
+ suggest = "compartment_path"
1758
+ elif key == "computedAmount":
1759
+ suggest = "computed_amount"
1760
+ elif key == "computedQuantity":
1761
+ suggest = "computed_quantity"
1762
+ elif key == "isForecast":
1763
+ suggest = "is_forecast"
1764
+ elif key == "listRate":
1765
+ suggest = "list_rate"
1766
+ elif key == "overagesFlag":
1767
+ suggest = "overages_flag"
1768
+ elif key == "resourceId":
1769
+ suggest = "resource_id"
1770
+ elif key == "resourceName":
1771
+ suggest = "resource_name"
1772
+ elif key == "skuName":
1773
+ suggest = "sku_name"
1774
+ elif key == "skuPartNumber":
1775
+ suggest = "sku_part_number"
1776
+ elif key == "subscriptionId":
1777
+ suggest = "subscription_id"
1778
+ elif key == "tenantId":
1779
+ suggest = "tenant_id"
1780
+ elif key == "tenantName":
1781
+ suggest = "tenant_name"
1782
+ elif key == "timeUsageEnded":
1783
+ suggest = "time_usage_ended"
1784
+ elif key == "timeUsageStarted":
1785
+ suggest = "time_usage_started"
1786
+ elif key == "unitPrice":
1787
+ suggest = "unit_price"
1788
+
1789
+ if suggest:
1790
+ pulumi.log.warn(f"Key '{key}' not found in UsageItem. Access the value via the '{suggest}' property getter instead.")
1791
+
1792
+ def __getitem__(self, key: str) -> Any:
1793
+ UsageItem.__key_warning(key)
1794
+ return super().__getitem__(key)
1795
+
1796
+ def get(self, key: str, default = None) -> Any:
1797
+ UsageItem.__key_warning(key)
1798
+ return super().get(key, default)
1799
+
1800
+ def __init__(__self__, *,
1801
+ ad: Optional[str] = None,
1802
+ compartment_id: Optional[str] = None,
1803
+ compartment_name: Optional[str] = None,
1804
+ compartment_path: Optional[str] = None,
1805
+ computed_amount: Optional[float] = None,
1806
+ computed_quantity: Optional[float] = None,
1807
+ currency: Optional[str] = None,
1808
+ discount: Optional[float] = None,
1809
+ is_forecast: Optional[bool] = None,
1810
+ list_rate: Optional[float] = None,
1811
+ overage: Optional[str] = None,
1812
+ overages_flag: Optional[str] = None,
1813
+ platform: Optional[str] = None,
1814
+ region: Optional[str] = None,
1815
+ resource_id: Optional[str] = None,
1816
+ resource_name: Optional[str] = None,
1817
+ service: Optional[str] = None,
1818
+ shape: Optional[str] = None,
1819
+ sku_name: Optional[str] = None,
1820
+ sku_part_number: Optional[str] = None,
1821
+ subscription_id: Optional[str] = None,
1822
+ tags: Optional[Sequence['outputs.UsageItemTag']] = None,
1823
+ tenant_id: Optional[str] = None,
1824
+ tenant_name: Optional[str] = None,
1825
+ time_usage_ended: Optional[str] = None,
1826
+ time_usage_started: Optional[str] = None,
1827
+ unit: Optional[str] = None,
1828
+ unit_price: Optional[float] = None,
1829
+ weight: Optional[float] = None):
1830
+ """
1831
+ :param str ad: The availability domain of the usage.
1832
+ :param str compartment_id: The compartment OCID.
1833
+ :param str compartment_name: The compartment name.
1834
+ :param str compartment_path: The compartment path, starting from root.
1835
+ :param float computed_amount: The computed cost.
1836
+ :param float computed_quantity: The usage number.
1837
+ :param str currency: The price currency.
1838
+ :param float discount: The discretionary discount applied to the SKU.
1839
+ :param bool is_forecast: The forecasted data.
1840
+ :param float list_rate: The SKU list rate (not discount).
1841
+ :param str overage: The overage usage.
1842
+ :param str overages_flag: The SPM OverageFlag.
1843
+ :param str platform: Platform for the cost.
1844
+ :param str region: The region of the usage.
1845
+ :param str resource_id: The resource OCID that is incurring the cost.
1846
+ :param str resource_name: The resource name that is incurring the cost.
1847
+ :param str service: The service name that is incurring the cost.
1848
+ :param str shape: The resource shape.
1849
+ :param str sku_name: The SKU friendly name.
1850
+ :param str sku_part_number: The SKU part number.
1851
+ :param str subscription_id: The subscription ID.
1852
+ :param Sequence['UsageItemTagArgs'] tags: For grouping, a tag definition. For filtering, a definition and key.
1853
+ :param str tenant_id: Tenant ID.
1854
+ :param str tenant_name: The tenancy name.
1855
+ :param str time_usage_ended: The usage end time.
1856
+ :param str time_usage_started: The usage start time.
1857
+
1858
+
1859
+ ** IMPORTANT **
1860
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
1861
+ :param str unit: The usage unit.
1862
+ :param float unit_price: The price per unit.
1863
+ :param float weight: The resource size being metered.
1864
+ """
1865
+ if ad is not None:
1866
+ pulumi.set(__self__, "ad", ad)
1867
+ if compartment_id is not None:
1868
+ pulumi.set(__self__, "compartment_id", compartment_id)
1869
+ if compartment_name is not None:
1870
+ pulumi.set(__self__, "compartment_name", compartment_name)
1871
+ if compartment_path is not None:
1872
+ pulumi.set(__self__, "compartment_path", compartment_path)
1873
+ if computed_amount is not None:
1874
+ pulumi.set(__self__, "computed_amount", computed_amount)
1875
+ if computed_quantity is not None:
1876
+ pulumi.set(__self__, "computed_quantity", computed_quantity)
1877
+ if currency is not None:
1878
+ pulumi.set(__self__, "currency", currency)
1879
+ if discount is not None:
1880
+ pulumi.set(__self__, "discount", discount)
1881
+ if is_forecast is not None:
1882
+ pulumi.set(__self__, "is_forecast", is_forecast)
1883
+ if list_rate is not None:
1884
+ pulumi.set(__self__, "list_rate", list_rate)
1885
+ if overage is not None:
1886
+ pulumi.set(__self__, "overage", overage)
1887
+ if overages_flag is not None:
1888
+ pulumi.set(__self__, "overages_flag", overages_flag)
1889
+ if platform is not None:
1890
+ pulumi.set(__self__, "platform", platform)
1891
+ if region is not None:
1892
+ pulumi.set(__self__, "region", region)
1893
+ if resource_id is not None:
1894
+ pulumi.set(__self__, "resource_id", resource_id)
1895
+ if resource_name is not None:
1896
+ pulumi.set(__self__, "resource_name", resource_name)
1897
+ if service is not None:
1898
+ pulumi.set(__self__, "service", service)
1899
+ if shape is not None:
1900
+ pulumi.set(__self__, "shape", shape)
1901
+ if sku_name is not None:
1902
+ pulumi.set(__self__, "sku_name", sku_name)
1903
+ if sku_part_number is not None:
1904
+ pulumi.set(__self__, "sku_part_number", sku_part_number)
1905
+ if subscription_id is not None:
1906
+ pulumi.set(__self__, "subscription_id", subscription_id)
1907
+ if tags is not None:
1908
+ pulumi.set(__self__, "tags", tags)
1909
+ if tenant_id is not None:
1910
+ pulumi.set(__self__, "tenant_id", tenant_id)
1911
+ if tenant_name is not None:
1912
+ pulumi.set(__self__, "tenant_name", tenant_name)
1913
+ if time_usage_ended is not None:
1914
+ pulumi.set(__self__, "time_usage_ended", time_usage_ended)
1915
+ if time_usage_started is not None:
1916
+ pulumi.set(__self__, "time_usage_started", time_usage_started)
1917
+ if unit is not None:
1918
+ pulumi.set(__self__, "unit", unit)
1919
+ if unit_price is not None:
1920
+ pulumi.set(__self__, "unit_price", unit_price)
1921
+ if weight is not None:
1922
+ pulumi.set(__self__, "weight", weight)
1923
+
1924
+ @property
1925
+ @pulumi.getter
1926
+ def ad(self) -> Optional[str]:
1927
+ """
1928
+ The availability domain of the usage.
1929
+ """
1930
+ return pulumi.get(self, "ad")
1931
+
1932
+ @property
1933
+ @pulumi.getter(name="compartmentId")
1934
+ def compartment_id(self) -> Optional[str]:
1935
+ """
1936
+ The compartment OCID.
1937
+ """
1938
+ return pulumi.get(self, "compartment_id")
1939
+
1940
+ @property
1941
+ @pulumi.getter(name="compartmentName")
1942
+ def compartment_name(self) -> Optional[str]:
1943
+ """
1944
+ The compartment name.
1945
+ """
1946
+ return pulumi.get(self, "compartment_name")
1947
+
1948
+ @property
1949
+ @pulumi.getter(name="compartmentPath")
1950
+ def compartment_path(self) -> Optional[str]:
1951
+ """
1952
+ The compartment path, starting from root.
1953
+ """
1954
+ return pulumi.get(self, "compartment_path")
1955
+
1956
+ @property
1957
+ @pulumi.getter(name="computedAmount")
1958
+ def computed_amount(self) -> Optional[float]:
1959
+ """
1960
+ The computed cost.
1961
+ """
1962
+ return pulumi.get(self, "computed_amount")
1963
+
1964
+ @property
1965
+ @pulumi.getter(name="computedQuantity")
1966
+ def computed_quantity(self) -> Optional[float]:
1967
+ """
1968
+ The usage number.
1969
+ """
1970
+ return pulumi.get(self, "computed_quantity")
1971
+
1972
+ @property
1973
+ @pulumi.getter
1974
+ def currency(self) -> Optional[str]:
1975
+ """
1976
+ The price currency.
1977
+ """
1978
+ return pulumi.get(self, "currency")
1979
+
1980
+ @property
1981
+ @pulumi.getter
1982
+ def discount(self) -> Optional[float]:
1983
+ """
1984
+ The discretionary discount applied to the SKU.
1985
+ """
1986
+ return pulumi.get(self, "discount")
1987
+
1988
+ @property
1989
+ @pulumi.getter(name="isForecast")
1990
+ def is_forecast(self) -> Optional[bool]:
1991
+ """
1992
+ The forecasted data.
1993
+ """
1994
+ return pulumi.get(self, "is_forecast")
1995
+
1996
+ @property
1997
+ @pulumi.getter(name="listRate")
1998
+ def list_rate(self) -> Optional[float]:
1999
+ """
2000
+ The SKU list rate (not discount).
2001
+ """
2002
+ return pulumi.get(self, "list_rate")
2003
+
2004
+ @property
2005
+ @pulumi.getter
2006
+ def overage(self) -> Optional[str]:
2007
+ """
2008
+ The overage usage.
2009
+ """
2010
+ return pulumi.get(self, "overage")
2011
+
2012
+ @property
2013
+ @pulumi.getter(name="overagesFlag")
2014
+ def overages_flag(self) -> Optional[str]:
2015
+ """
2016
+ The SPM OverageFlag.
2017
+ """
2018
+ return pulumi.get(self, "overages_flag")
2019
+
2020
+ @property
2021
+ @pulumi.getter
2022
+ def platform(self) -> Optional[str]:
2023
+ """
2024
+ Platform for the cost.
2025
+ """
2026
+ return pulumi.get(self, "platform")
2027
+
2028
+ @property
2029
+ @pulumi.getter
2030
+ def region(self) -> Optional[str]:
2031
+ """
2032
+ The region of the usage.
2033
+ """
2034
+ return pulumi.get(self, "region")
2035
+
2036
+ @property
2037
+ @pulumi.getter(name="resourceId")
2038
+ def resource_id(self) -> Optional[str]:
2039
+ """
2040
+ The resource OCID that is incurring the cost.
2041
+ """
2042
+ return pulumi.get(self, "resource_id")
2043
+
2044
+ @property
2045
+ @pulumi.getter(name="resourceName")
2046
+ def resource_name(self) -> Optional[str]:
2047
+ """
2048
+ The resource name that is incurring the cost.
2049
+ """
2050
+ return pulumi.get(self, "resource_name")
2051
+
2052
+ @property
2053
+ @pulumi.getter
2054
+ def service(self) -> Optional[str]:
2055
+ """
2056
+ The service name that is incurring the cost.
2057
+ """
2058
+ return pulumi.get(self, "service")
2059
+
2060
+ @property
2061
+ @pulumi.getter
2062
+ def shape(self) -> Optional[str]:
2063
+ """
2064
+ The resource shape.
2065
+ """
2066
+ return pulumi.get(self, "shape")
2067
+
2068
+ @property
2069
+ @pulumi.getter(name="skuName")
2070
+ def sku_name(self) -> Optional[str]:
2071
+ """
2072
+ The SKU friendly name.
2073
+ """
2074
+ return pulumi.get(self, "sku_name")
2075
+
2076
+ @property
2077
+ @pulumi.getter(name="skuPartNumber")
2078
+ def sku_part_number(self) -> Optional[str]:
2079
+ """
2080
+ The SKU part number.
2081
+ """
2082
+ return pulumi.get(self, "sku_part_number")
2083
+
2084
+ @property
2085
+ @pulumi.getter(name="subscriptionId")
2086
+ def subscription_id(self) -> Optional[str]:
2087
+ """
2088
+ The subscription ID.
2089
+ """
2090
+ return pulumi.get(self, "subscription_id")
2091
+
2092
+ @property
2093
+ @pulumi.getter
2094
+ def tags(self) -> Optional[Sequence['outputs.UsageItemTag']]:
2095
+ """
2096
+ For grouping, a tag definition. For filtering, a definition and key.
2097
+ """
2098
+ return pulumi.get(self, "tags")
2099
+
2100
+ @property
2101
+ @pulumi.getter(name="tenantId")
2102
+ def tenant_id(self) -> Optional[str]:
2103
+ """
2104
+ Tenant ID.
2105
+ """
2106
+ return pulumi.get(self, "tenant_id")
2107
+
2108
+ @property
2109
+ @pulumi.getter(name="tenantName")
2110
+ def tenant_name(self) -> Optional[str]:
2111
+ """
2112
+ The tenancy name.
2113
+ """
2114
+ return pulumi.get(self, "tenant_name")
2115
+
2116
+ @property
2117
+ @pulumi.getter(name="timeUsageEnded")
2118
+ def time_usage_ended(self) -> Optional[str]:
2119
+ """
2120
+ The usage end time.
2121
+ """
2122
+ return pulumi.get(self, "time_usage_ended")
2123
+
2124
+ @property
2125
+ @pulumi.getter(name="timeUsageStarted")
2126
+ def time_usage_started(self) -> Optional[str]:
2127
+ """
2128
+ The usage start time.
2129
+
2130
+
2131
+ ** IMPORTANT **
2132
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
2133
+ """
2134
+ return pulumi.get(self, "time_usage_started")
2135
+
2136
+ @property
2137
+ @pulumi.getter
2138
+ def unit(self) -> Optional[str]:
2139
+ """
2140
+ The usage unit.
2141
+ """
2142
+ return pulumi.get(self, "unit")
2143
+
2144
+ @property
2145
+ @pulumi.getter(name="unitPrice")
2146
+ def unit_price(self) -> Optional[float]:
2147
+ """
2148
+ The price per unit.
2149
+ """
2150
+ return pulumi.get(self, "unit_price")
2151
+
2152
+ @property
2153
+ @pulumi.getter
2154
+ def weight(self) -> Optional[float]:
2155
+ """
2156
+ The resource size being metered.
2157
+ """
2158
+ return pulumi.get(self, "weight")
2159
+
2160
+
2161
+ @pulumi.output_type
2162
+ class UsageItemTag(dict):
2163
+ def __init__(__self__, *,
2164
+ key: Optional[str] = None,
2165
+ namespace: Optional[str] = None,
2166
+ value: Optional[str] = None):
2167
+ """
2168
+ :param str key: The tag key.
2169
+ :param str namespace: The tag namespace.
2170
+ :param str value: The tag value.
2171
+ """
2172
+ if key is not None:
2173
+ pulumi.set(__self__, "key", key)
2174
+ if namespace is not None:
2175
+ pulumi.set(__self__, "namespace", namespace)
2176
+ if value is not None:
2177
+ pulumi.set(__self__, "value", value)
2178
+
2179
+ @property
2180
+ @pulumi.getter
2181
+ def key(self) -> Optional[str]:
2182
+ """
2183
+ The tag key.
2184
+ """
2185
+ return pulumi.get(self, "key")
2186
+
2187
+ @property
2188
+ @pulumi.getter
2189
+ def namespace(self) -> Optional[str]:
2190
+ """
2191
+ The tag namespace.
2192
+ """
2193
+ return pulumi.get(self, "namespace")
2194
+
2195
+ @property
2196
+ @pulumi.getter
2197
+ def value(self) -> Optional[str]:
2198
+ """
2199
+ The tag value.
2200
+ """
2201
+ return pulumi.get(self, "value")
2202
+
2203
+
2204
+ @pulumi.output_type
2205
+ class GetConfigurationItemResult(dict):
2206
+ def __init__(__self__, *,
2207
+ key: str,
2208
+ values: Sequence[str]):
2209
+ """
2210
+ :param str key: The configuration key.
2211
+ :param Sequence[str] values: The configuration value.
2212
+ """
2213
+ pulumi.set(__self__, "key", key)
2214
+ pulumi.set(__self__, "values", values)
2215
+
2216
+ @property
2217
+ @pulumi.getter
2218
+ def key(self) -> str:
2219
+ """
2220
+ The configuration key.
2221
+ """
2222
+ return pulumi.get(self, "key")
2223
+
2224
+ @property
2225
+ @pulumi.getter
2226
+ def values(self) -> Sequence[str]:
2227
+ """
2228
+ The configuration value.
2229
+ """
2230
+ return pulumi.get(self, "values")
2231
+
2232
+
2233
+ @pulumi.output_type
2234
+ class GetCustomTableSavedCustomTableResult(dict):
2235
+ def __init__(__self__, *,
2236
+ column_group_bies: Sequence[str],
2237
+ compartment_depth: float,
2238
+ display_name: str,
2239
+ group_by_tags: Sequence['outputs.GetCustomTableSavedCustomTableGroupByTagResult'],
2240
+ row_group_bies: Sequence[str],
2241
+ version: float):
2242
+ """
2243
+ :param Sequence[str] column_group_bies: The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2244
+ :param float compartment_depth: The compartment depth level.
2245
+ :param str display_name: The name of the custom table.
2246
+ :param Sequence['GetCustomTableSavedCustomTableGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2247
+ :param Sequence[str] row_group_bies: The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2248
+ :param float version: The version of the custom table.
2249
+ """
2250
+ pulumi.set(__self__, "column_group_bies", column_group_bies)
2251
+ pulumi.set(__self__, "compartment_depth", compartment_depth)
2252
+ pulumi.set(__self__, "display_name", display_name)
2253
+ pulumi.set(__self__, "group_by_tags", group_by_tags)
2254
+ pulumi.set(__self__, "row_group_bies", row_group_bies)
2255
+ pulumi.set(__self__, "version", version)
2256
+
2257
+ @property
2258
+ @pulumi.getter(name="columnGroupBies")
2259
+ def column_group_bies(self) -> Sequence[str]:
2260
+ """
2261
+ The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2262
+ """
2263
+ return pulumi.get(self, "column_group_bies")
2264
+
2265
+ @property
2266
+ @pulumi.getter(name="compartmentDepth")
2267
+ def compartment_depth(self) -> float:
2268
+ """
2269
+ The compartment depth level.
2270
+ """
2271
+ return pulumi.get(self, "compartment_depth")
2272
+
2273
+ @property
2274
+ @pulumi.getter(name="displayName")
2275
+ def display_name(self) -> str:
2276
+ """
2277
+ The name of the custom table.
2278
+ """
2279
+ return pulumi.get(self, "display_name")
2280
+
2281
+ @property
2282
+ @pulumi.getter(name="groupByTags")
2283
+ def group_by_tags(self) -> Sequence['outputs.GetCustomTableSavedCustomTableGroupByTagResult']:
2284
+ """
2285
+ GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2286
+ """
2287
+ return pulumi.get(self, "group_by_tags")
2288
+
2289
+ @property
2290
+ @pulumi.getter(name="rowGroupBies")
2291
+ def row_group_bies(self) -> Sequence[str]:
2292
+ """
2293
+ The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2294
+ """
2295
+ return pulumi.get(self, "row_group_bies")
2296
+
2297
+ @property
2298
+ @pulumi.getter
2299
+ def version(self) -> float:
2300
+ """
2301
+ The version of the custom table.
2302
+ """
2303
+ return pulumi.get(self, "version")
2304
+
2305
+
2306
+ @pulumi.output_type
2307
+ class GetCustomTableSavedCustomTableGroupByTagResult(dict):
2308
+ def __init__(__self__, *,
2309
+ key: str,
2310
+ namespace: str,
2311
+ value: str):
2312
+ """
2313
+ :param str key: The tag key.
2314
+ :param str namespace: The tag namespace.
2315
+ :param str value: The tag value.
2316
+ """
2317
+ pulumi.set(__self__, "key", key)
2318
+ pulumi.set(__self__, "namespace", namespace)
2319
+ pulumi.set(__self__, "value", value)
2320
+
2321
+ @property
2322
+ @pulumi.getter
2323
+ def key(self) -> str:
2324
+ """
2325
+ The tag key.
2326
+ """
2327
+ return pulumi.get(self, "key")
2328
+
2329
+ @property
2330
+ @pulumi.getter
2331
+ def namespace(self) -> str:
2332
+ """
2333
+ The tag namespace.
2334
+ """
2335
+ return pulumi.get(self, "namespace")
2336
+
2337
+ @property
2338
+ @pulumi.getter
2339
+ def value(self) -> str:
2340
+ """
2341
+ The tag value.
2342
+ """
2343
+ return pulumi.get(self, "value")
2344
+
2345
+
2346
+ @pulumi.output_type
2347
+ class GetCustomTablesCustomTableCollectionResult(dict):
2348
+ def __init__(__self__, *,
2349
+ items: Sequence['outputs.GetCustomTablesCustomTableCollectionItemResult']):
2350
+ pulumi.set(__self__, "items", items)
2351
+
2352
+ @property
2353
+ @pulumi.getter
2354
+ def items(self) -> Sequence['outputs.GetCustomTablesCustomTableCollectionItemResult']:
2355
+ return pulumi.get(self, "items")
2356
+
2357
+
2358
+ @pulumi.output_type
1658
2359
  class GetCustomTablesCustomTableCollectionItemResult(dict):
1659
2360
  def __init__(__self__, *,
1660
2361
  compartment_id: str,
1661
2362
  id: str,
1662
- saved_custom_tables: Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableResult'],
1663
- saved_report_id: str):
2363
+ saved_custom_tables: Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableResult'],
2364
+ saved_report_id: str):
2365
+ """
2366
+ :param str compartment_id: The compartment ID in which to list resources.
2367
+ :param str id: The custom table OCID.
2368
+ :param Sequence['GetCustomTablesCustomTableCollectionItemSavedCustomTableArgs'] saved_custom_tables: The custom table for Cost Analysis UI rendering.
2369
+ :param str saved_report_id: The saved report ID in which to list resources.
2370
+ """
2371
+ pulumi.set(__self__, "compartment_id", compartment_id)
2372
+ pulumi.set(__self__, "id", id)
2373
+ pulumi.set(__self__, "saved_custom_tables", saved_custom_tables)
2374
+ pulumi.set(__self__, "saved_report_id", saved_report_id)
2375
+
2376
+ @property
2377
+ @pulumi.getter(name="compartmentId")
2378
+ def compartment_id(self) -> str:
2379
+ """
2380
+ The compartment ID in which to list resources.
2381
+ """
2382
+ return pulumi.get(self, "compartment_id")
2383
+
2384
+ @property
2385
+ @pulumi.getter
2386
+ def id(self) -> str:
2387
+ """
2388
+ The custom table OCID.
2389
+ """
2390
+ return pulumi.get(self, "id")
2391
+
2392
+ @property
2393
+ @pulumi.getter(name="savedCustomTables")
2394
+ def saved_custom_tables(self) -> Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableResult']:
2395
+ """
2396
+ The custom table for Cost Analysis UI rendering.
2397
+ """
2398
+ return pulumi.get(self, "saved_custom_tables")
2399
+
2400
+ @property
2401
+ @pulumi.getter(name="savedReportId")
2402
+ def saved_report_id(self) -> str:
2403
+ """
2404
+ The saved report ID in which to list resources.
2405
+ """
2406
+ return pulumi.get(self, "saved_report_id")
2407
+
2408
+
2409
+ @pulumi.output_type
2410
+ class GetCustomTablesCustomTableCollectionItemSavedCustomTableResult(dict):
2411
+ def __init__(__self__, *,
2412
+ column_group_bies: Sequence[str],
2413
+ compartment_depth: float,
2414
+ display_name: str,
2415
+ group_by_tags: Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult'],
2416
+ row_group_bies: Sequence[str],
2417
+ version: float):
2418
+ """
2419
+ :param Sequence[str] column_group_bies: The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2420
+ :param float compartment_depth: The compartment depth level.
2421
+ :param str display_name: The name of the custom table.
2422
+ :param Sequence['GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2423
+ :param Sequence[str] row_group_bies: The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2424
+ :param float version: The version of the custom table.
2425
+ """
2426
+ pulumi.set(__self__, "column_group_bies", column_group_bies)
2427
+ pulumi.set(__self__, "compartment_depth", compartment_depth)
2428
+ pulumi.set(__self__, "display_name", display_name)
2429
+ pulumi.set(__self__, "group_by_tags", group_by_tags)
2430
+ pulumi.set(__self__, "row_group_bies", row_group_bies)
2431
+ pulumi.set(__self__, "version", version)
2432
+
2433
+ @property
2434
+ @pulumi.getter(name="columnGroupBies")
2435
+ def column_group_bies(self) -> Sequence[str]:
2436
+ """
2437
+ The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2438
+ """
2439
+ return pulumi.get(self, "column_group_bies")
2440
+
2441
+ @property
2442
+ @pulumi.getter(name="compartmentDepth")
2443
+ def compartment_depth(self) -> float:
2444
+ """
2445
+ The compartment depth level.
2446
+ """
2447
+ return pulumi.get(self, "compartment_depth")
2448
+
2449
+ @property
2450
+ @pulumi.getter(name="displayName")
2451
+ def display_name(self) -> str:
2452
+ """
2453
+ The name of the custom table.
2454
+ """
2455
+ return pulumi.get(self, "display_name")
2456
+
2457
+ @property
2458
+ @pulumi.getter(name="groupByTags")
2459
+ def group_by_tags(self) -> Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult']:
2460
+ """
2461
+ GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2462
+ """
2463
+ return pulumi.get(self, "group_by_tags")
2464
+
2465
+ @property
2466
+ @pulumi.getter(name="rowGroupBies")
2467
+ def row_group_bies(self) -> Sequence[str]:
2468
+ """
2469
+ The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2470
+ """
2471
+ return pulumi.get(self, "row_group_bies")
2472
+
2473
+ @property
2474
+ @pulumi.getter
2475
+ def version(self) -> float:
2476
+ """
2477
+ The version of the custom table.
2478
+ """
2479
+ return pulumi.get(self, "version")
2480
+
2481
+
2482
+ @pulumi.output_type
2483
+ class GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult(dict):
2484
+ def __init__(__self__, *,
2485
+ key: str,
2486
+ namespace: str,
2487
+ value: str):
2488
+ """
2489
+ :param str key: The tag key.
2490
+ :param str namespace: The tag namespace.
2491
+ :param str value: The tag value.
2492
+ """
2493
+ pulumi.set(__self__, "key", key)
2494
+ pulumi.set(__self__, "namespace", namespace)
2495
+ pulumi.set(__self__, "value", value)
2496
+
2497
+ @property
2498
+ @pulumi.getter
2499
+ def key(self) -> str:
2500
+ """
2501
+ The tag key.
2502
+ """
2503
+ return pulumi.get(self, "key")
2504
+
2505
+ @property
2506
+ @pulumi.getter
2507
+ def namespace(self) -> str:
2508
+ """
2509
+ The tag namespace.
2510
+ """
2511
+ return pulumi.get(self, "namespace")
2512
+
2513
+ @property
2514
+ @pulumi.getter
2515
+ def value(self) -> str:
2516
+ """
2517
+ The tag value.
2518
+ """
2519
+ return pulumi.get(self, "value")
2520
+
2521
+
2522
+ @pulumi.output_type
2523
+ class GetCustomTablesFilterResult(dict):
2524
+ def __init__(__self__, *,
2525
+ name: str,
2526
+ values: Sequence[str],
2527
+ regex: Optional[bool] = None):
2528
+ pulumi.set(__self__, "name", name)
2529
+ pulumi.set(__self__, "values", values)
2530
+ if regex is not None:
2531
+ pulumi.set(__self__, "regex", regex)
2532
+
2533
+ @property
2534
+ @pulumi.getter
2535
+ def name(self) -> str:
2536
+ return pulumi.get(self, "name")
2537
+
2538
+ @property
2539
+ @pulumi.getter
2540
+ def values(self) -> Sequence[str]:
2541
+ return pulumi.get(self, "values")
2542
+
2543
+ @property
2544
+ @pulumi.getter
2545
+ def regex(self) -> Optional[bool]:
2546
+ return pulumi.get(self, "regex")
2547
+
2548
+
2549
+ @pulumi.output_type
2550
+ class GetQueriesFilterResult(dict):
2551
+ def __init__(__self__, *,
2552
+ name: str,
2553
+ values: Sequence[str],
2554
+ regex: Optional[bool] = None):
2555
+ pulumi.set(__self__, "name", name)
2556
+ pulumi.set(__self__, "values", values)
2557
+ if regex is not None:
2558
+ pulumi.set(__self__, "regex", regex)
2559
+
2560
+ @property
2561
+ @pulumi.getter
2562
+ def name(self) -> str:
2563
+ return pulumi.get(self, "name")
2564
+
2565
+ @property
2566
+ @pulumi.getter
2567
+ def values(self) -> Sequence[str]:
2568
+ return pulumi.get(self, "values")
2569
+
2570
+ @property
2571
+ @pulumi.getter
2572
+ def regex(self) -> Optional[bool]:
2573
+ return pulumi.get(self, "regex")
2574
+
2575
+
2576
+ @pulumi.output_type
2577
+ class GetQueriesQueryCollectionResult(dict):
2578
+ def __init__(__self__, *,
2579
+ items: Sequence['outputs.GetQueriesQueryCollectionItemResult']):
2580
+ pulumi.set(__self__, "items", items)
2581
+
2582
+ @property
2583
+ @pulumi.getter
2584
+ def items(self) -> Sequence['outputs.GetQueriesQueryCollectionItemResult']:
2585
+ return pulumi.get(self, "items")
2586
+
2587
+
2588
+ @pulumi.output_type
2589
+ class GetQueriesQueryCollectionItemResult(dict):
2590
+ def __init__(__self__, *,
2591
+ compartment_id: str,
2592
+ id: str,
2593
+ query_definitions: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionResult']):
2594
+ """
2595
+ :param str compartment_id: The compartment ID in which to list resources.
2596
+ :param str id: The query OCID.
2597
+ :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionArgs'] query_definitions: The common fields for queries.
2598
+ """
2599
+ pulumi.set(__self__, "compartment_id", compartment_id)
2600
+ pulumi.set(__self__, "id", id)
2601
+ pulumi.set(__self__, "query_definitions", query_definitions)
2602
+
2603
+ @property
2604
+ @pulumi.getter(name="compartmentId")
2605
+ def compartment_id(self) -> str:
2606
+ """
2607
+ The compartment ID in which to list resources.
2608
+ """
2609
+ return pulumi.get(self, "compartment_id")
2610
+
2611
+ @property
2612
+ @pulumi.getter
2613
+ def id(self) -> str:
2614
+ """
2615
+ The query OCID.
2616
+ """
2617
+ return pulumi.get(self, "id")
2618
+
2619
+ @property
2620
+ @pulumi.getter(name="queryDefinitions")
2621
+ def query_definitions(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionResult']:
2622
+ """
2623
+ The common fields for queries.
2624
+ """
2625
+ return pulumi.get(self, "query_definitions")
2626
+
2627
+
2628
+ @pulumi.output_type
2629
+ class GetQueriesQueryCollectionItemQueryDefinitionResult(dict):
2630
+ def __init__(__self__, *,
2631
+ cost_analysis_uis: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult'],
2632
+ display_name: str,
2633
+ report_queries: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult'],
2634
+ version: float):
2635
+ """
2636
+ :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiArgs'] cost_analysis_uis: The common fields for Cost Analysis UI rendering.
2637
+ :param str display_name: The query display name. Avoid entering confidential information.
2638
+ :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionReportQueryArgs'] report_queries: The request of the generated Cost Analysis report.
2639
+ :param float version: The saved query version.
2640
+ """
2641
+ pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis)
2642
+ pulumi.set(__self__, "display_name", display_name)
2643
+ pulumi.set(__self__, "report_queries", report_queries)
2644
+ pulumi.set(__self__, "version", version)
2645
+
2646
+ @property
2647
+ @pulumi.getter(name="costAnalysisUis")
2648
+ def cost_analysis_uis(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult']:
2649
+ """
2650
+ The common fields for Cost Analysis UI rendering.
2651
+ """
2652
+ return pulumi.get(self, "cost_analysis_uis")
2653
+
2654
+ @property
2655
+ @pulumi.getter(name="displayName")
2656
+ def display_name(self) -> str:
2657
+ """
2658
+ The query display name. Avoid entering confidential information.
2659
+ """
2660
+ return pulumi.get(self, "display_name")
2661
+
2662
+ @property
2663
+ @pulumi.getter(name="reportQueries")
2664
+ def report_queries(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult']:
2665
+ """
2666
+ The request of the generated Cost Analysis report.
2667
+ """
2668
+ return pulumi.get(self, "report_queries")
2669
+
2670
+ @property
2671
+ @pulumi.getter
2672
+ def version(self) -> float:
2673
+ """
2674
+ The saved query version.
2675
+ """
2676
+ return pulumi.get(self, "version")
2677
+
2678
+
2679
+ @pulumi.output_type
2680
+ class GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult(dict):
2681
+ def __init__(__self__, *,
2682
+ graph: str,
2683
+ is_cumulative_graph: bool):
2684
+ """
2685
+ :param str graph: The graph type.
2686
+ :param bool is_cumulative_graph: A cumulative graph.
2687
+ """
2688
+ pulumi.set(__self__, "graph", graph)
2689
+ pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph)
2690
+
2691
+ @property
2692
+ @pulumi.getter
2693
+ def graph(self) -> str:
2694
+ """
2695
+ The graph type.
2696
+ """
2697
+ return pulumi.get(self, "graph")
2698
+
2699
+ @property
2700
+ @pulumi.getter(name="isCumulativeGraph")
2701
+ def is_cumulative_graph(self) -> bool:
2702
+ """
2703
+ A cumulative graph.
2704
+ """
2705
+ return pulumi.get(self, "is_cumulative_graph")
2706
+
2707
+
2708
+ @pulumi.output_type
2709
+ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult(dict):
2710
+ def __init__(__self__, *,
2711
+ compartment_depth: float,
2712
+ date_range_name: str,
2713
+ filter: str,
2714
+ forecasts: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult'],
2715
+ granularity: str,
2716
+ group_bies: Sequence[str],
2717
+ group_by_tags: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult'],
2718
+ is_aggregate_by_time: bool,
2719
+ query_type: str,
2720
+ tenant_id: str,
2721
+ time_usage_ended: str,
2722
+ time_usage_started: str):
2723
+ """
2724
+ :param float compartment_depth: The compartment depth level.
2725
+ :param str date_range_name: The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
2726
+ :param str filter: The filter object for query usage.
2727
+ :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastArgs'] forecasts: Forecast configuration of usage/cost.
2728
+ :param str granularity: The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
2729
+ :param Sequence[str] group_bies: Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2730
+ :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2731
+ :param bool is_aggregate_by_time: Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
2732
+ :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
2733
+ :param str tenant_id: Tenant ID.
2734
+ :param str time_usage_ended: The usage end time.
2735
+ :param str time_usage_started: The usage start time.
1664
2736
  """
1665
- :param str compartment_id: The compartment ID in which to list resources.
1666
- :param str id: The custom table OCID.
1667
- :param Sequence['GetCustomTablesCustomTableCollectionItemSavedCustomTableArgs'] saved_custom_tables: The custom table for Cost Analysis UI rendering.
1668
- :param str saved_report_id: The saved report ID in which to list resources.
2737
+ pulumi.set(__self__, "compartment_depth", compartment_depth)
2738
+ pulumi.set(__self__, "date_range_name", date_range_name)
2739
+ pulumi.set(__self__, "filter", filter)
2740
+ pulumi.set(__self__, "forecasts", forecasts)
2741
+ pulumi.set(__self__, "granularity", granularity)
2742
+ pulumi.set(__self__, "group_bies", group_bies)
2743
+ pulumi.set(__self__, "group_by_tags", group_by_tags)
2744
+ pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time)
2745
+ pulumi.set(__self__, "query_type", query_type)
2746
+ pulumi.set(__self__, "tenant_id", tenant_id)
2747
+ pulumi.set(__self__, "time_usage_ended", time_usage_ended)
2748
+ pulumi.set(__self__, "time_usage_started", time_usage_started)
2749
+
2750
+ @property
2751
+ @pulumi.getter(name="compartmentDepth")
2752
+ def compartment_depth(self) -> float:
1669
2753
  """
1670
- pulumi.set(__self__, "compartment_id", compartment_id)
1671
- pulumi.set(__self__, "id", id)
1672
- pulumi.set(__self__, "saved_custom_tables", saved_custom_tables)
1673
- pulumi.set(__self__, "saved_report_id", saved_report_id)
2754
+ The compartment depth level.
2755
+ """
2756
+ return pulumi.get(self, "compartment_depth")
1674
2757
 
1675
2758
  @property
1676
- @pulumi.getter(name="compartmentId")
1677
- def compartment_id(self) -> str:
2759
+ @pulumi.getter(name="dateRangeName")
2760
+ def date_range_name(self) -> str:
1678
2761
  """
1679
- The compartment ID in which to list resources.
2762
+ The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
1680
2763
  """
1681
- return pulumi.get(self, "compartment_id")
2764
+ return pulumi.get(self, "date_range_name")
1682
2765
 
1683
2766
  @property
1684
2767
  @pulumi.getter
1685
- def id(self) -> str:
2768
+ def filter(self) -> str:
1686
2769
  """
1687
- The custom table OCID.
2770
+ The filter object for query usage.
1688
2771
  """
1689
- return pulumi.get(self, "id")
2772
+ return pulumi.get(self, "filter")
1690
2773
 
1691
2774
  @property
1692
- @pulumi.getter(name="savedCustomTables")
1693
- def saved_custom_tables(self) -> Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableResult']:
2775
+ @pulumi.getter
2776
+ def forecasts(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult']:
1694
2777
  """
1695
- The custom table for Cost Analysis UI rendering.
2778
+ Forecast configuration of usage/cost.
1696
2779
  """
1697
- return pulumi.get(self, "saved_custom_tables")
2780
+ return pulumi.get(self, "forecasts")
1698
2781
 
1699
2782
  @property
1700
- @pulumi.getter(name="savedReportId")
1701
- def saved_report_id(self) -> str:
2783
+ @pulumi.getter
2784
+ def granularity(self) -> str:
1702
2785
  """
1703
- The saved report ID in which to list resources.
2786
+ The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
1704
2787
  """
1705
- return pulumi.get(self, "saved_report_id")
2788
+ return pulumi.get(self, "granularity")
2789
+
2790
+ @property
2791
+ @pulumi.getter(name="groupBies")
2792
+ def group_bies(self) -> Sequence[str]:
2793
+ """
2794
+ Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2795
+ """
2796
+ return pulumi.get(self, "group_bies")
2797
+
2798
+ @property
2799
+ @pulumi.getter(name="groupByTags")
2800
+ def group_by_tags(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult']:
2801
+ """
2802
+ GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2803
+ """
2804
+ return pulumi.get(self, "group_by_tags")
2805
+
2806
+ @property
2807
+ @pulumi.getter(name="isAggregateByTime")
2808
+ def is_aggregate_by_time(self) -> bool:
2809
+ """
2810
+ Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
2811
+ """
2812
+ return pulumi.get(self, "is_aggregate_by_time")
2813
+
2814
+ @property
2815
+ @pulumi.getter(name="queryType")
2816
+ def query_type(self) -> str:
2817
+ """
2818
+ The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
2819
+ """
2820
+ return pulumi.get(self, "query_type")
2821
+
2822
+ @property
2823
+ @pulumi.getter(name="tenantId")
2824
+ def tenant_id(self) -> str:
2825
+ """
2826
+ Tenant ID.
2827
+ """
2828
+ return pulumi.get(self, "tenant_id")
2829
+
2830
+ @property
2831
+ @pulumi.getter(name="timeUsageEnded")
2832
+ def time_usage_ended(self) -> str:
2833
+ """
2834
+ The usage end time.
2835
+ """
2836
+ return pulumi.get(self, "time_usage_ended")
2837
+
2838
+ @property
2839
+ @pulumi.getter(name="timeUsageStarted")
2840
+ def time_usage_started(self) -> str:
2841
+ """
2842
+ The usage start time.
2843
+ """
2844
+ return pulumi.get(self, "time_usage_started")
1706
2845
 
1707
2846
 
1708
2847
  @pulumi.output_type
1709
- class GetCustomTablesCustomTableCollectionItemSavedCustomTableResult(dict):
2848
+ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult(dict):
1710
2849
  def __init__(__self__, *,
1711
- column_group_bies: Sequence[str],
1712
- compartment_depth: float,
1713
- display_name: str,
1714
- group_by_tags: Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult'],
1715
- row_group_bies: Sequence[str],
1716
- version: float):
2850
+ forecast_type: str,
2851
+ time_forecast_ended: str,
2852
+ time_forecast_started: str):
1717
2853
  """
1718
- :param Sequence[str] column_group_bies: The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1719
- :param float compartment_depth: The compartment depth level.
1720
- :param str display_name: The name of the custom table.
1721
- :param Sequence['GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
1722
- :param Sequence[str] row_group_bies: The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
1723
- :param float version: The version of the custom table.
2854
+ :param str forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
2855
+ :param str time_forecast_ended: The forecast end time.
2856
+ :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified.
1724
2857
  """
1725
- pulumi.set(__self__, "column_group_bies", column_group_bies)
1726
- pulumi.set(__self__, "compartment_depth", compartment_depth)
1727
- pulumi.set(__self__, "display_name", display_name)
1728
- pulumi.set(__self__, "group_by_tags", group_by_tags)
1729
- pulumi.set(__self__, "row_group_bies", row_group_bies)
1730
- pulumi.set(__self__, "version", version)
2858
+ pulumi.set(__self__, "forecast_type", forecast_type)
2859
+ pulumi.set(__self__, "time_forecast_ended", time_forecast_ended)
2860
+ pulumi.set(__self__, "time_forecast_started", time_forecast_started)
1731
2861
 
1732
2862
  @property
1733
- @pulumi.getter(name="columnGroupBies")
1734
- def column_group_bies(self) -> Sequence[str]:
2863
+ @pulumi.getter(name="forecastType")
2864
+ def forecast_type(self) -> str:
1735
2865
  """
1736
- The column groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2866
+ BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
1737
2867
  """
1738
- return pulumi.get(self, "column_group_bies")
2868
+ return pulumi.get(self, "forecast_type")
1739
2869
 
1740
2870
  @property
1741
- @pulumi.getter(name="compartmentDepth")
1742
- def compartment_depth(self) -> float:
2871
+ @pulumi.getter(name="timeForecastEnded")
2872
+ def time_forecast_ended(self) -> str:
1743
2873
  """
1744
- The compartment depth level.
2874
+ The forecast end time.
1745
2875
  """
1746
- return pulumi.get(self, "compartment_depth")
2876
+ return pulumi.get(self, "time_forecast_ended")
1747
2877
 
1748
2878
  @property
1749
- @pulumi.getter(name="displayName")
1750
- def display_name(self) -> str:
2879
+ @pulumi.getter(name="timeForecastStarted")
2880
+ def time_forecast_started(self) -> str:
1751
2881
  """
1752
- The name of the custom table.
2882
+ The forecast start time. Defaults to UTC-1 if not specified.
1753
2883
  """
1754
- return pulumi.get(self, "display_name")
2884
+ return pulumi.get(self, "time_forecast_started")
2885
+
2886
+
2887
+ @pulumi.output_type
2888
+ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult(dict):
2889
+ def __init__(__self__, *,
2890
+ key: str,
2891
+ namespace: str,
2892
+ value: str):
2893
+ """
2894
+ :param str key: The tag key.
2895
+ :param str namespace: The tag namespace.
2896
+ :param str value: The tag value.
2897
+ """
2898
+ pulumi.set(__self__, "key", key)
2899
+ pulumi.set(__self__, "namespace", namespace)
2900
+ pulumi.set(__self__, "value", value)
1755
2901
 
1756
2902
  @property
1757
- @pulumi.getter(name="groupByTags")
1758
- def group_by_tags(self) -> Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult']:
2903
+ @pulumi.getter
2904
+ def key(self) -> str:
1759
2905
  """
1760
- GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2906
+ The tag key.
1761
2907
  """
1762
- return pulumi.get(self, "group_by_tags")
2908
+ return pulumi.get(self, "key")
1763
2909
 
1764
2910
  @property
1765
- @pulumi.getter(name="rowGroupBies")
1766
- def row_group_bies(self) -> Sequence[str]:
2911
+ @pulumi.getter
2912
+ def namespace(self) -> str:
1767
2913
  """
1768
- The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2914
+ The tag namespace.
1769
2915
  """
1770
- return pulumi.get(self, "row_group_bies")
2916
+ return pulumi.get(self, "namespace")
2917
+
2918
+ @property
2919
+ @pulumi.getter
2920
+ def value(self) -> str:
2921
+ """
2922
+ The tag value.
2923
+ """
2924
+ return pulumi.get(self, "value")
2925
+
2926
+
2927
+ @pulumi.output_type
2928
+ class GetQueryQueryDefinitionResult(dict):
2929
+ def __init__(__self__, *,
2930
+ cost_analysis_uis: Sequence['outputs.GetQueryQueryDefinitionCostAnalysisUiResult'],
2931
+ display_name: str,
2932
+ report_queries: Sequence['outputs.GetQueryQueryDefinitionReportQueryResult'],
2933
+ version: float):
2934
+ """
2935
+ :param Sequence['GetQueryQueryDefinitionCostAnalysisUiArgs'] cost_analysis_uis: The common fields for Cost Analysis UI rendering.
2936
+ :param str display_name: The query display name. Avoid entering confidential information.
2937
+ :param Sequence['GetQueryQueryDefinitionReportQueryArgs'] report_queries: The request of the generated Cost Analysis report.
2938
+ :param float version: The saved query version.
2939
+ """
2940
+ pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis)
2941
+ pulumi.set(__self__, "display_name", display_name)
2942
+ pulumi.set(__self__, "report_queries", report_queries)
2943
+ pulumi.set(__self__, "version", version)
2944
+
2945
+ @property
2946
+ @pulumi.getter(name="costAnalysisUis")
2947
+ def cost_analysis_uis(self) -> Sequence['outputs.GetQueryQueryDefinitionCostAnalysisUiResult']:
2948
+ """
2949
+ The common fields for Cost Analysis UI rendering.
2950
+ """
2951
+ return pulumi.get(self, "cost_analysis_uis")
2952
+
2953
+ @property
2954
+ @pulumi.getter(name="displayName")
2955
+ def display_name(self) -> str:
2956
+ """
2957
+ The query display name. Avoid entering confidential information.
2958
+ """
2959
+ return pulumi.get(self, "display_name")
2960
+
2961
+ @property
2962
+ @pulumi.getter(name="reportQueries")
2963
+ def report_queries(self) -> Sequence['outputs.GetQueryQueryDefinitionReportQueryResult']:
2964
+ """
2965
+ The request of the generated Cost Analysis report.
2966
+ """
2967
+ return pulumi.get(self, "report_queries")
1771
2968
 
1772
2969
  @property
1773
2970
  @pulumi.getter
1774
2971
  def version(self) -> float:
1775
2972
  """
1776
- The version of the custom table.
2973
+ The saved query version.
1777
2974
  """
1778
2975
  return pulumi.get(self, "version")
1779
2976
 
1780
2977
 
1781
2978
  @pulumi.output_type
1782
- class GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult(dict):
2979
+ class GetQueryQueryDefinitionCostAnalysisUiResult(dict):
1783
2980
  def __init__(__self__, *,
1784
- key: str,
1785
- namespace: str,
1786
- value: str):
1787
- """
1788
- :param str key: The tag key.
1789
- :param str namespace: The tag namespace.
1790
- :param str value: The tag value.
1791
- """
1792
- pulumi.set(__self__, "key", key)
1793
- pulumi.set(__self__, "namespace", namespace)
1794
- pulumi.set(__self__, "value", value)
1795
-
1796
- @property
1797
- @pulumi.getter
1798
- def key(self) -> str:
2981
+ graph: str,
2982
+ is_cumulative_graph: bool):
1799
2983
  """
1800
- The tag key.
2984
+ :param str graph: The graph type.
2985
+ :param bool is_cumulative_graph: A cumulative graph.
1801
2986
  """
1802
- return pulumi.get(self, "key")
2987
+ pulumi.set(__self__, "graph", graph)
2988
+ pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph)
1803
2989
 
1804
2990
  @property
1805
2991
  @pulumi.getter
1806
- def namespace(self) -> str:
2992
+ def graph(self) -> str:
1807
2993
  """
1808
- The tag namespace.
2994
+ The graph type.
1809
2995
  """
1810
- return pulumi.get(self, "namespace")
2996
+ return pulumi.get(self, "graph")
1811
2997
 
1812
2998
  @property
1813
- @pulumi.getter
1814
- def value(self) -> str:
2999
+ @pulumi.getter(name="isCumulativeGraph")
3000
+ def is_cumulative_graph(self) -> bool:
1815
3001
  """
1816
- The tag value.
3002
+ A cumulative graph.
1817
3003
  """
1818
- return pulumi.get(self, "value")
3004
+ return pulumi.get(self, "is_cumulative_graph")
1819
3005
 
1820
3006
 
1821
3007
  @pulumi.output_type
1822
- class GetCustomTablesFilterResult(dict):
3008
+ class GetQueryQueryDefinitionReportQueryResult(dict):
1823
3009
  def __init__(__self__, *,
1824
- name: str,
1825
- values: Sequence[str],
1826
- regex: Optional[bool] = None):
1827
- pulumi.set(__self__, "name", name)
1828
- pulumi.set(__self__, "values", values)
1829
- if regex is not None:
1830
- pulumi.set(__self__, "regex", regex)
3010
+ compartment_depth: float,
3011
+ date_range_name: str,
3012
+ filter: str,
3013
+ forecasts: Sequence['outputs.GetQueryQueryDefinitionReportQueryForecastResult'],
3014
+ granularity: str,
3015
+ group_bies: Sequence[str],
3016
+ group_by_tags: Sequence['outputs.GetQueryQueryDefinitionReportQueryGroupByTagResult'],
3017
+ is_aggregate_by_time: bool,
3018
+ query_type: str,
3019
+ tenant_id: str,
3020
+ time_usage_ended: str,
3021
+ time_usage_started: str):
3022
+ """
3023
+ :param float compartment_depth: The compartment depth level.
3024
+ :param str date_range_name: The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
3025
+ :param str filter: The filter object for query usage.
3026
+ :param Sequence['GetQueryQueryDefinitionReportQueryForecastArgs'] forecasts: Forecast configuration of usage/cost.
3027
+ :param str granularity: The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
3028
+ :param Sequence[str] group_bies: Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
3029
+ :param Sequence['GetQueryQueryDefinitionReportQueryGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
3030
+ :param bool is_aggregate_by_time: Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
3031
+ :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
3032
+ :param str tenant_id: Tenant ID.
3033
+ :param str time_usage_ended: The usage end time.
3034
+ :param str time_usage_started: The usage start time.
3035
+ """
3036
+ pulumi.set(__self__, "compartment_depth", compartment_depth)
3037
+ pulumi.set(__self__, "date_range_name", date_range_name)
3038
+ pulumi.set(__self__, "filter", filter)
3039
+ pulumi.set(__self__, "forecasts", forecasts)
3040
+ pulumi.set(__self__, "granularity", granularity)
3041
+ pulumi.set(__self__, "group_bies", group_bies)
3042
+ pulumi.set(__self__, "group_by_tags", group_by_tags)
3043
+ pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time)
3044
+ pulumi.set(__self__, "query_type", query_type)
3045
+ pulumi.set(__self__, "tenant_id", tenant_id)
3046
+ pulumi.set(__self__, "time_usage_ended", time_usage_ended)
3047
+ pulumi.set(__self__, "time_usage_started", time_usage_started)
1831
3048
 
1832
3049
  @property
1833
- @pulumi.getter
1834
- def name(self) -> str:
1835
- return pulumi.get(self, "name")
3050
+ @pulumi.getter(name="compartmentDepth")
3051
+ def compartment_depth(self) -> float:
3052
+ """
3053
+ The compartment depth level.
3054
+ """
3055
+ return pulumi.get(self, "compartment_depth")
1836
3056
 
1837
3057
  @property
1838
- @pulumi.getter
1839
- def values(self) -> Sequence[str]:
1840
- return pulumi.get(self, "values")
3058
+ @pulumi.getter(name="dateRangeName")
3059
+ def date_range_name(self) -> str:
3060
+ """
3061
+ The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
3062
+ """
3063
+ return pulumi.get(self, "date_range_name")
1841
3064
 
1842
3065
  @property
1843
3066
  @pulumi.getter
1844
- def regex(self) -> Optional[bool]:
1845
- return pulumi.get(self, "regex")
1846
-
1847
-
1848
- @pulumi.output_type
1849
- class GetQueriesFilterResult(dict):
1850
- def __init__(__self__, *,
1851
- name: str,
1852
- values: Sequence[str],
1853
- regex: Optional[bool] = None):
1854
- pulumi.set(__self__, "name", name)
1855
- pulumi.set(__self__, "values", values)
1856
- if regex is not None:
1857
- pulumi.set(__self__, "regex", regex)
3067
+ def filter(self) -> str:
3068
+ """
3069
+ The filter object for query usage.
3070
+ """
3071
+ return pulumi.get(self, "filter")
1858
3072
 
1859
3073
  @property
1860
3074
  @pulumi.getter
1861
- def name(self) -> str:
1862
- return pulumi.get(self, "name")
3075
+ def forecasts(self) -> Sequence['outputs.GetQueryQueryDefinitionReportQueryForecastResult']:
3076
+ """
3077
+ Forecast configuration of usage/cost.
3078
+ """
3079
+ return pulumi.get(self, "forecasts")
1863
3080
 
1864
3081
  @property
1865
3082
  @pulumi.getter
1866
- def values(self) -> Sequence[str]:
1867
- return pulumi.get(self, "values")
3083
+ def granularity(self) -> str:
3084
+ """
3085
+ The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
3086
+ """
3087
+ return pulumi.get(self, "granularity")
1868
3088
 
1869
3089
  @property
1870
- @pulumi.getter
1871
- def regex(self) -> Optional[bool]:
1872
- return pulumi.get(self, "regex")
1873
-
1874
-
1875
- @pulumi.output_type
1876
- class GetQueriesQueryCollectionResult(dict):
1877
- def __init__(__self__, *,
1878
- items: Sequence['outputs.GetQueriesQueryCollectionItemResult']):
1879
- pulumi.set(__self__, "items", items)
3090
+ @pulumi.getter(name="groupBies")
3091
+ def group_bies(self) -> Sequence[str]:
3092
+ """
3093
+ Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
3094
+ """
3095
+ return pulumi.get(self, "group_bies")
1880
3096
 
1881
3097
  @property
1882
- @pulumi.getter
1883
- def items(self) -> Sequence['outputs.GetQueriesQueryCollectionItemResult']:
1884
- return pulumi.get(self, "items")
3098
+ @pulumi.getter(name="groupByTags")
3099
+ def group_by_tags(self) -> Sequence['outputs.GetQueryQueryDefinitionReportQueryGroupByTagResult']:
3100
+ """
3101
+ GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
3102
+ """
3103
+ return pulumi.get(self, "group_by_tags")
1885
3104
 
3105
+ @property
3106
+ @pulumi.getter(name="isAggregateByTime")
3107
+ def is_aggregate_by_time(self) -> bool:
3108
+ """
3109
+ Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
3110
+ """
3111
+ return pulumi.get(self, "is_aggregate_by_time")
1886
3112
 
1887
- @pulumi.output_type
1888
- class GetQueriesQueryCollectionItemResult(dict):
1889
- def __init__(__self__, *,
1890
- compartment_id: str,
1891
- id: str,
1892
- query_definitions: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionResult']):
3113
+ @property
3114
+ @pulumi.getter(name="queryType")
3115
+ def query_type(self) -> str:
1893
3116
  """
1894
- :param str compartment_id: The compartment ID in which to list resources.
1895
- :param str id: The query OCID.
1896
- :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionArgs'] query_definitions: The common fields for queries.
3117
+ The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
1897
3118
  """
1898
- pulumi.set(__self__, "compartment_id", compartment_id)
1899
- pulumi.set(__self__, "id", id)
1900
- pulumi.set(__self__, "query_definitions", query_definitions)
3119
+ return pulumi.get(self, "query_type")
1901
3120
 
1902
3121
  @property
1903
- @pulumi.getter(name="compartmentId")
1904
- def compartment_id(self) -> str:
3122
+ @pulumi.getter(name="tenantId")
3123
+ def tenant_id(self) -> str:
1905
3124
  """
1906
- The compartment ID in which to list resources.
3125
+ Tenant ID.
1907
3126
  """
1908
- return pulumi.get(self, "compartment_id")
3127
+ return pulumi.get(self, "tenant_id")
1909
3128
 
1910
3129
  @property
1911
- @pulumi.getter
1912
- def id(self) -> str:
3130
+ @pulumi.getter(name="timeUsageEnded")
3131
+ def time_usage_ended(self) -> str:
1913
3132
  """
1914
- The query OCID.
3133
+ The usage end time.
1915
3134
  """
1916
- return pulumi.get(self, "id")
3135
+ return pulumi.get(self, "time_usage_ended")
1917
3136
 
1918
3137
  @property
1919
- @pulumi.getter(name="queryDefinitions")
1920
- def query_definitions(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionResult']:
3138
+ @pulumi.getter(name="timeUsageStarted")
3139
+ def time_usage_started(self) -> str:
1921
3140
  """
1922
- The common fields for queries.
3141
+ The usage start time.
1923
3142
  """
1924
- return pulumi.get(self, "query_definitions")
3143
+ return pulumi.get(self, "time_usage_started")
1925
3144
 
1926
3145
 
1927
3146
  @pulumi.output_type
1928
- class GetQueriesQueryCollectionItemQueryDefinitionResult(dict):
3147
+ class GetQueryQueryDefinitionReportQueryForecastResult(dict):
1929
3148
  def __init__(__self__, *,
1930
- cost_analysis_uis: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult'],
1931
- display_name: str,
1932
- report_queries: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult'],
1933
- version: float):
1934
- """
1935
- :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiArgs'] cost_analysis_uis: The common fields for Cost Analysis UI rendering.
1936
- :param str display_name: The query display name. Avoid entering confidential information.
1937
- :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionReportQueryArgs'] report_queries: The request of the generated Cost Analysis report.
1938
- :param float version: The saved query version.
1939
- """
1940
- pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis)
1941
- pulumi.set(__self__, "display_name", display_name)
1942
- pulumi.set(__self__, "report_queries", report_queries)
1943
- pulumi.set(__self__, "version", version)
1944
-
1945
- @property
1946
- @pulumi.getter(name="costAnalysisUis")
1947
- def cost_analysis_uis(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult']:
3149
+ forecast_type: str,
3150
+ time_forecast_ended: str,
3151
+ time_forecast_started: str):
1948
3152
  """
1949
- The common fields for Cost Analysis UI rendering.
3153
+ :param str forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
3154
+ :param str time_forecast_ended: The forecast end time.
3155
+ :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified.
1950
3156
  """
1951
- return pulumi.get(self, "cost_analysis_uis")
3157
+ pulumi.set(__self__, "forecast_type", forecast_type)
3158
+ pulumi.set(__self__, "time_forecast_ended", time_forecast_ended)
3159
+ pulumi.set(__self__, "time_forecast_started", time_forecast_started)
1952
3160
 
1953
3161
  @property
1954
- @pulumi.getter(name="displayName")
1955
- def display_name(self) -> str:
3162
+ @pulumi.getter(name="forecastType")
3163
+ def forecast_type(self) -> str:
1956
3164
  """
1957
- The query display name. Avoid entering confidential information.
3165
+ BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
1958
3166
  """
1959
- return pulumi.get(self, "display_name")
3167
+ return pulumi.get(self, "forecast_type")
1960
3168
 
1961
3169
  @property
1962
- @pulumi.getter(name="reportQueries")
1963
- def report_queries(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult']:
3170
+ @pulumi.getter(name="timeForecastEnded")
3171
+ def time_forecast_ended(self) -> str:
1964
3172
  """
1965
- The request of the generated Cost Analysis report.
3173
+ The forecast end time.
1966
3174
  """
1967
- return pulumi.get(self, "report_queries")
3175
+ return pulumi.get(self, "time_forecast_ended")
1968
3176
 
1969
3177
  @property
1970
- @pulumi.getter
1971
- def version(self) -> float:
3178
+ @pulumi.getter(name="timeForecastStarted")
3179
+ def time_forecast_started(self) -> str:
1972
3180
  """
1973
- The saved query version.
3181
+ The forecast start time. Defaults to UTC-1 if not specified.
1974
3182
  """
1975
- return pulumi.get(self, "version")
3183
+ return pulumi.get(self, "time_forecast_started")
1976
3184
 
1977
3185
 
1978
3186
  @pulumi.output_type
1979
- class GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult(dict):
3187
+ class GetQueryQueryDefinitionReportQueryGroupByTagResult(dict):
1980
3188
  def __init__(__self__, *,
1981
- graph: str,
1982
- is_cumulative_graph: bool):
3189
+ key: str,
3190
+ namespace: str,
3191
+ value: str):
1983
3192
  """
1984
- :param str graph: The graph type.
1985
- :param bool is_cumulative_graph: A cumulative graph.
3193
+ :param str key: The tag key.
3194
+ :param str namespace: The tag namespace.
3195
+ :param str value: The tag value.
1986
3196
  """
1987
- pulumi.set(__self__, "graph", graph)
1988
- pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph)
3197
+ pulumi.set(__self__, "key", key)
3198
+ pulumi.set(__self__, "namespace", namespace)
3199
+ pulumi.set(__self__, "value", value)
1989
3200
 
1990
3201
  @property
1991
3202
  @pulumi.getter
1992
- def graph(self) -> str:
3203
+ def key(self) -> str:
1993
3204
  """
1994
- The graph type.
3205
+ The tag key.
1995
3206
  """
1996
- return pulumi.get(self, "graph")
3207
+ return pulumi.get(self, "key")
1997
3208
 
1998
3209
  @property
1999
- @pulumi.getter(name="isCumulativeGraph")
2000
- def is_cumulative_graph(self) -> bool:
3210
+ @pulumi.getter
3211
+ def namespace(self) -> str:
2001
3212
  """
2002
- A cumulative graph.
3213
+ The tag namespace.
2003
3214
  """
2004
- return pulumi.get(self, "is_cumulative_graph")
3215
+ return pulumi.get(self, "namespace")
3216
+
3217
+ @property
3218
+ @pulumi.getter
3219
+ def value(self) -> str:
3220
+ """
3221
+ The tag value.
3222
+ """
3223
+ return pulumi.get(self, "value")
2005
3224
 
2006
3225
 
2007
3226
  @pulumi.output_type
2008
- class GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult(dict):
3227
+ class GetScheduleQueryPropertyResult(dict):
2009
3228
  def __init__(__self__, *,
2010
3229
  compartment_depth: float,
2011
- date_range_name: str,
3230
+ date_ranges: Sequence['outputs.GetScheduleQueryPropertyDateRangeResult'],
2012
3231
  filter: str,
2013
- forecasts: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult'],
2014
3232
  granularity: str,
2015
3233
  group_bies: Sequence[str],
2016
- group_by_tags: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult'],
3234
+ group_by_tags: Sequence['outputs.GetScheduleQueryPropertyGroupByTagResult'],
2017
3235
  is_aggregate_by_time: bool,
2018
- query_type: str,
2019
- tenant_id: str,
2020
- time_usage_ended: str,
2021
- time_usage_started: str):
3236
+ query_type: str):
2022
3237
  """
2023
- :param float compartment_depth: The compartment depth level.
2024
- :param str date_range_name: The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
3238
+ :param float compartment_depth: The depth level of the compartment.
3239
+ :param Sequence['GetScheduleQueryPropertyDateRangeArgs'] date_ranges: Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
2025
3240
  :param str filter: The filter object for query usage.
2026
- :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastArgs'] forecasts: Forecast configuration of usage/cost.
2027
- :param str granularity: The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
2028
- :param Sequence[str] group_bies: Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2029
- :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2030
- :param bool is_aggregate_by_time: Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
2031
- :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
2032
- :param str tenant_id: Tenant ID.
2033
- :param str time_usage_ended: The usage end time.
2034
- :param str time_usage_started: The usage start time.
3241
+ :param str granularity: The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
3242
+ :param Sequence[str] group_bies: Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
3243
+ :param Sequence['GetScheduleQueryPropertyGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
3244
+ :param bool is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
3245
+ :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
2035
3246
  """
2036
3247
  pulumi.set(__self__, "compartment_depth", compartment_depth)
2037
- pulumi.set(__self__, "date_range_name", date_range_name)
3248
+ pulumi.set(__self__, "date_ranges", date_ranges)
2038
3249
  pulumi.set(__self__, "filter", filter)
2039
- pulumi.set(__self__, "forecasts", forecasts)
2040
3250
  pulumi.set(__self__, "granularity", granularity)
2041
3251
  pulumi.set(__self__, "group_bies", group_bies)
2042
3252
  pulumi.set(__self__, "group_by_tags", group_by_tags)
2043
3253
  pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time)
2044
3254
  pulumi.set(__self__, "query_type", query_type)
2045
- pulumi.set(__self__, "tenant_id", tenant_id)
2046
- pulumi.set(__self__, "time_usage_ended", time_usage_ended)
2047
- pulumi.set(__self__, "time_usage_started", time_usage_started)
2048
3255
 
2049
3256
  @property
2050
3257
  @pulumi.getter(name="compartmentDepth")
2051
3258
  def compartment_depth(self) -> float:
2052
3259
  """
2053
- The compartment depth level.
3260
+ The depth level of the compartment.
2054
3261
  """
2055
3262
  return pulumi.get(self, "compartment_depth")
2056
3263
 
2057
3264
  @property
2058
- @pulumi.getter(name="dateRangeName")
2059
- def date_range_name(self) -> str:
3265
+ @pulumi.getter(name="dateRanges")
3266
+ def date_ranges(self) -> Sequence['outputs.GetScheduleQueryPropertyDateRangeResult']:
2060
3267
  """
2061
- The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
3268
+ Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
2062
3269
  """
2063
- return pulumi.get(self, "date_range_name")
3270
+ return pulumi.get(self, "date_ranges")
2064
3271
 
2065
3272
  @property
2066
3273
  @pulumi.getter
@@ -2070,19 +3277,11 @@ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult(dict):
2070
3277
  """
2071
3278
  return pulumi.get(self, "filter")
2072
3279
 
2073
- @property
2074
- @pulumi.getter
2075
- def forecasts(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult']:
2076
- """
2077
- Forecast configuration of usage/cost.
2078
- """
2079
- return pulumi.get(self, "forecasts")
2080
-
2081
3280
  @property
2082
3281
  @pulumi.getter
2083
3282
  def granularity(self) -> str:
2084
3283
  """
2085
- The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
3284
+ The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
2086
3285
  """
2087
3286
  return pulumi.get(self, "granularity")
2088
3287
 
@@ -2090,15 +3289,15 @@ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult(dict):
2090
3289
  @pulumi.getter(name="groupBies")
2091
3290
  def group_bies(self) -> Sequence[str]:
2092
3291
  """
2093
- Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
3292
+ Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
2094
3293
  """
2095
3294
  return pulumi.get(self, "group_bies")
2096
3295
 
2097
3296
  @property
2098
3297
  @pulumi.getter(name="groupByTags")
2099
- def group_by_tags(self) -> Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult']:
3298
+ def group_by_tags(self) -> Sequence['outputs.GetScheduleQueryPropertyGroupByTagResult']:
2100
3299
  """
2101
- GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
3300
+ GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
2102
3301
  """
2103
3302
  return pulumi.get(self, "group_by_tags")
2104
3303
 
@@ -2106,7 +3305,7 @@ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult(dict):
2106
3305
  @pulumi.getter(name="isAggregateByTime")
2107
3306
  def is_aggregate_by_time(self) -> bool:
2108
3307
  """
2109
- Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
3308
+ Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
2110
3309
  """
2111
3310
  return pulumi.get(self, "is_aggregate_by_time")
2112
3311
 
@@ -2114,17 +3313,40 @@ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult(dict):
2114
3313
  @pulumi.getter(name="queryType")
2115
3314
  def query_type(self) -> str:
2116
3315
  """
2117
- The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
3316
+ The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
2118
3317
  """
2119
3318
  return pulumi.get(self, "query_type")
2120
3319
 
3320
+
3321
+ @pulumi.output_type
3322
+ class GetScheduleQueryPropertyDateRangeResult(dict):
3323
+ def __init__(__self__, *,
3324
+ date_range_type: str,
3325
+ dynamic_date_range_type: str,
3326
+ time_usage_ended: str,
3327
+ time_usage_started: str):
3328
+ """
3329
+ :param str date_range_type: Defines whether the schedule date range is STATIC or DYNAMIC.
3330
+ :param str time_usage_ended: The usage end time.
3331
+ :param str time_usage_started: The usage start time.
3332
+ """
3333
+ pulumi.set(__self__, "date_range_type", date_range_type)
3334
+ pulumi.set(__self__, "dynamic_date_range_type", dynamic_date_range_type)
3335
+ pulumi.set(__self__, "time_usage_ended", time_usage_ended)
3336
+ pulumi.set(__self__, "time_usage_started", time_usage_started)
3337
+
2121
3338
  @property
2122
- @pulumi.getter(name="tenantId")
2123
- def tenant_id(self) -> str:
3339
+ @pulumi.getter(name="dateRangeType")
3340
+ def date_range_type(self) -> str:
2124
3341
  """
2125
- Tenant ID.
3342
+ Defines whether the schedule date range is STATIC or DYNAMIC.
2126
3343
  """
2127
- return pulumi.get(self, "tenant_id")
3344
+ return pulumi.get(self, "date_range_type")
3345
+
3346
+ @property
3347
+ @pulumi.getter(name="dynamicDateRangeType")
3348
+ def dynamic_date_range_type(self) -> str:
3349
+ return pulumi.get(self, "dynamic_date_range_type")
2128
3350
 
2129
3351
  @property
2130
3352
  @pulumi.getter(name="timeUsageEnded")
@@ -2144,402 +3366,454 @@ class GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult(dict):
2144
3366
 
2145
3367
 
2146
3368
  @pulumi.output_type
2147
- class GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult(dict):
3369
+ class GetScheduleQueryPropertyGroupByTagResult(dict):
2148
3370
  def __init__(__self__, *,
2149
- forecast_type: str,
2150
- time_forecast_ended: str,
2151
- time_forecast_started: str):
3371
+ key: str,
3372
+ namespace: str,
3373
+ value: str):
2152
3374
  """
2153
- :param str forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
2154
- :param str time_forecast_ended: The forecast end time.
2155
- :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified.
3375
+ :param str key: The tag key.
3376
+ :param str namespace: The namespace needed to determine the object storage bucket.
3377
+ :param str value: The tag value.
2156
3378
  """
2157
- pulumi.set(__self__, "forecast_type", forecast_type)
2158
- pulumi.set(__self__, "time_forecast_ended", time_forecast_ended)
2159
- pulumi.set(__self__, "time_forecast_started", time_forecast_started)
3379
+ pulumi.set(__self__, "key", key)
3380
+ pulumi.set(__self__, "namespace", namespace)
3381
+ pulumi.set(__self__, "value", value)
2160
3382
 
2161
3383
  @property
2162
- @pulumi.getter(name="forecastType")
2163
- def forecast_type(self) -> str:
3384
+ @pulumi.getter
3385
+ def key(self) -> str:
2164
3386
  """
2165
- BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
3387
+ The tag key.
2166
3388
  """
2167
- return pulumi.get(self, "forecast_type")
3389
+ return pulumi.get(self, "key")
2168
3390
 
2169
3391
  @property
2170
- @pulumi.getter(name="timeForecastEnded")
2171
- def time_forecast_ended(self) -> str:
3392
+ @pulumi.getter
3393
+ def namespace(self) -> str:
2172
3394
  """
2173
- The forecast end time.
3395
+ The namespace needed to determine the object storage bucket.
2174
3396
  """
2175
- return pulumi.get(self, "time_forecast_ended")
3397
+ return pulumi.get(self, "namespace")
2176
3398
 
2177
3399
  @property
2178
- @pulumi.getter(name="timeForecastStarted")
2179
- def time_forecast_started(self) -> str:
3400
+ @pulumi.getter
3401
+ def value(self) -> str:
2180
3402
  """
2181
- The forecast start time. Defaults to UTC-1 if not specified.
3403
+ The tag value.
2182
3404
  """
2183
- return pulumi.get(self, "time_forecast_started")
3405
+ return pulumi.get(self, "value")
2184
3406
 
2185
3407
 
2186
3408
  @pulumi.output_type
2187
- class GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult(dict):
3409
+ class GetScheduleResultLocationResult(dict):
2188
3410
  def __init__(__self__, *,
2189
- key: str,
3411
+ bucket: str,
3412
+ location_type: str,
2190
3413
  namespace: str,
2191
- value: str):
3414
+ region: str):
2192
3415
  """
2193
- :param str key: The tag key.
2194
- :param str namespace: The tag namespace.
2195
- :param str value: The tag value.
3416
+ :param str bucket: The bucket name where usage or cost CSVs will be uploaded.
3417
+ :param str location_type: Defines the type of location where the usage or cost CSVs will be stored.
3418
+ :param str namespace: The namespace needed to determine the object storage bucket.
3419
+ :param str region: The destination Object Store Region specified by the customer.
2196
3420
  """
2197
- pulumi.set(__self__, "key", key)
3421
+ pulumi.set(__self__, "bucket", bucket)
3422
+ pulumi.set(__self__, "location_type", location_type)
2198
3423
  pulumi.set(__self__, "namespace", namespace)
2199
- pulumi.set(__self__, "value", value)
3424
+ pulumi.set(__self__, "region", region)
3425
+
3426
+ @property
3427
+ @pulumi.getter
3428
+ def bucket(self) -> str:
3429
+ """
3430
+ The bucket name where usage or cost CSVs will be uploaded.
3431
+ """
3432
+ return pulumi.get(self, "bucket")
3433
+
3434
+ @property
3435
+ @pulumi.getter(name="locationType")
3436
+ def location_type(self) -> str:
3437
+ """
3438
+ Defines the type of location where the usage or cost CSVs will be stored.
3439
+ """
3440
+ return pulumi.get(self, "location_type")
3441
+
3442
+ @property
3443
+ @pulumi.getter
3444
+ def namespace(self) -> str:
3445
+ """
3446
+ The namespace needed to determine the object storage bucket.
3447
+ """
3448
+ return pulumi.get(self, "namespace")
3449
+
3450
+ @property
3451
+ @pulumi.getter
3452
+ def region(self) -> str:
3453
+ """
3454
+ The destination Object Store Region specified by the customer.
3455
+ """
3456
+ return pulumi.get(self, "region")
3457
+
3458
+
3459
+ @pulumi.output_type
3460
+ class GetScheduledRunsFilterResult(dict):
3461
+ def __init__(__self__, *,
3462
+ name: str,
3463
+ values: Sequence[str],
3464
+ regex: Optional[bool] = None):
3465
+ pulumi.set(__self__, "name", name)
3466
+ pulumi.set(__self__, "values", values)
3467
+ if regex is not None:
3468
+ pulumi.set(__self__, "regex", regex)
3469
+
3470
+ @property
3471
+ @pulumi.getter
3472
+ def name(self) -> str:
3473
+ return pulumi.get(self, "name")
2200
3474
 
2201
3475
  @property
2202
3476
  @pulumi.getter
2203
- def key(self) -> str:
2204
- """
2205
- The tag key.
2206
- """
2207
- return pulumi.get(self, "key")
3477
+ def values(self) -> Sequence[str]:
3478
+ return pulumi.get(self, "values")
2208
3479
 
2209
3480
  @property
2210
3481
  @pulumi.getter
2211
- def namespace(self) -> str:
2212
- """
2213
- The tag namespace.
2214
- """
2215
- return pulumi.get(self, "namespace")
3482
+ def regex(self) -> Optional[bool]:
3483
+ return pulumi.get(self, "regex")
3484
+
3485
+
3486
+ @pulumi.output_type
3487
+ class GetScheduledRunsScheduledRunCollectionResult(dict):
3488
+ def __init__(__self__, *,
3489
+ items: Sequence['outputs.GetScheduledRunsScheduledRunCollectionItemResult']):
3490
+ pulumi.set(__self__, "items", items)
2216
3491
 
2217
3492
  @property
2218
3493
  @pulumi.getter
2219
- def value(self) -> str:
2220
- """
2221
- The tag value.
2222
- """
2223
- return pulumi.get(self, "value")
3494
+ def items(self) -> Sequence['outputs.GetScheduledRunsScheduledRunCollectionItemResult']:
3495
+ return pulumi.get(self, "items")
2224
3496
 
2225
3497
 
2226
3498
  @pulumi.output_type
2227
- class GetQueryQueryDefinitionResult(dict):
3499
+ class GetScheduledRunsScheduledRunCollectionItemResult(dict):
2228
3500
  def __init__(__self__, *,
2229
- cost_analysis_uis: Sequence['outputs.GetQueryQueryDefinitionCostAnalysisUiResult'],
2230
- display_name: str,
2231
- report_queries: Sequence['outputs.GetQueryQueryDefinitionReportQueryResult'],
2232
- version: float):
3501
+ id: str,
3502
+ lifecycle_details: str,
3503
+ schedule_id: str,
3504
+ state: str,
3505
+ time_created: str,
3506
+ time_finished: str):
2233
3507
  """
2234
- :param Sequence['GetQueryQueryDefinitionCostAnalysisUiArgs'] cost_analysis_uis: The common fields for Cost Analysis UI rendering.
2235
- :param str display_name: The query display name. Avoid entering confidential information.
2236
- :param Sequence['GetQueryQueryDefinitionReportQueryArgs'] report_queries: The request of the generated Cost Analysis report.
2237
- :param float version: The saved query version.
3508
+ :param str id: The ocid representing unique shedule run
3509
+ :param str lifecycle_details: Additional details about scheduled run failure
3510
+ :param str schedule_id: The unique ID of a schedule.
3511
+ :param str state: Specifies if the schedule job was run successfully or not.
3512
+ :param str time_created: The time when schedule started executing
3513
+ :param str time_finished: The time when schedule finished executing
2238
3514
  """
2239
- pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis)
2240
- pulumi.set(__self__, "display_name", display_name)
2241
- pulumi.set(__self__, "report_queries", report_queries)
2242
- pulumi.set(__self__, "version", version)
3515
+ pulumi.set(__self__, "id", id)
3516
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
3517
+ pulumi.set(__self__, "schedule_id", schedule_id)
3518
+ pulumi.set(__self__, "state", state)
3519
+ pulumi.set(__self__, "time_created", time_created)
3520
+ pulumi.set(__self__, "time_finished", time_finished)
2243
3521
 
2244
3522
  @property
2245
- @pulumi.getter(name="costAnalysisUis")
2246
- def cost_analysis_uis(self) -> Sequence['outputs.GetQueryQueryDefinitionCostAnalysisUiResult']:
3523
+ @pulumi.getter
3524
+ def id(self) -> str:
2247
3525
  """
2248
- The common fields for Cost Analysis UI rendering.
3526
+ The ocid representing unique shedule run
2249
3527
  """
2250
- return pulumi.get(self, "cost_analysis_uis")
3528
+ return pulumi.get(self, "id")
2251
3529
 
2252
3530
  @property
2253
- @pulumi.getter(name="displayName")
2254
- def display_name(self) -> str:
3531
+ @pulumi.getter(name="lifecycleDetails")
3532
+ def lifecycle_details(self) -> str:
2255
3533
  """
2256
- The query display name. Avoid entering confidential information.
3534
+ Additional details about scheduled run failure
2257
3535
  """
2258
- return pulumi.get(self, "display_name")
3536
+ return pulumi.get(self, "lifecycle_details")
2259
3537
 
2260
3538
  @property
2261
- @pulumi.getter(name="reportQueries")
2262
- def report_queries(self) -> Sequence['outputs.GetQueryQueryDefinitionReportQueryResult']:
3539
+ @pulumi.getter(name="scheduleId")
3540
+ def schedule_id(self) -> str:
2263
3541
  """
2264
- The request of the generated Cost Analysis report.
3542
+ The unique ID of a schedule.
2265
3543
  """
2266
- return pulumi.get(self, "report_queries")
3544
+ return pulumi.get(self, "schedule_id")
2267
3545
 
2268
3546
  @property
2269
3547
  @pulumi.getter
2270
- def version(self) -> float:
2271
- """
2272
- The saved query version.
2273
- """
2274
- return pulumi.get(self, "version")
2275
-
2276
-
2277
- @pulumi.output_type
2278
- class GetQueryQueryDefinitionCostAnalysisUiResult(dict):
2279
- def __init__(__self__, *,
2280
- graph: str,
2281
- is_cumulative_graph: bool):
3548
+ def state(self) -> str:
2282
3549
  """
2283
- :param str graph: The graph type.
2284
- :param bool is_cumulative_graph: A cumulative graph.
3550
+ Specifies if the schedule job was run successfully or not.
2285
3551
  """
2286
- pulumi.set(__self__, "graph", graph)
2287
- pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph)
3552
+ return pulumi.get(self, "state")
2288
3553
 
2289
3554
  @property
2290
- @pulumi.getter
2291
- def graph(self) -> str:
3555
+ @pulumi.getter(name="timeCreated")
3556
+ def time_created(self) -> str:
2292
3557
  """
2293
- The graph type.
3558
+ The time when schedule started executing
2294
3559
  """
2295
- return pulumi.get(self, "graph")
3560
+ return pulumi.get(self, "time_created")
2296
3561
 
2297
3562
  @property
2298
- @pulumi.getter(name="isCumulativeGraph")
2299
- def is_cumulative_graph(self) -> bool:
3563
+ @pulumi.getter(name="timeFinished")
3564
+ def time_finished(self) -> str:
2300
3565
  """
2301
- A cumulative graph.
3566
+ The time when schedule finished executing
2302
3567
  """
2303
- return pulumi.get(self, "is_cumulative_graph")
3568
+ return pulumi.get(self, "time_finished")
2304
3569
 
2305
3570
 
2306
3571
  @pulumi.output_type
2307
- class GetQueryQueryDefinitionReportQueryResult(dict):
3572
+ class GetSchedulesFilterResult(dict):
2308
3573
  def __init__(__self__, *,
2309
- compartment_depth: float,
2310
- date_range_name: str,
2311
- filter: str,
2312
- forecasts: Sequence['outputs.GetQueryQueryDefinitionReportQueryForecastResult'],
2313
- granularity: str,
2314
- group_bies: Sequence[str],
2315
- group_by_tags: Sequence['outputs.GetQueryQueryDefinitionReportQueryGroupByTagResult'],
2316
- is_aggregate_by_time: bool,
2317
- query_type: str,
2318
- tenant_id: str,
2319
- time_usage_ended: str,
2320
- time_usage_started: str):
3574
+ name: str,
3575
+ values: Sequence[str],
3576
+ regex: Optional[bool] = None):
2321
3577
  """
2322
- :param float compartment_depth: The compartment depth level.
2323
- :param str date_range_name: The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
2324
- :param str filter: The filter object for query usage.
2325
- :param Sequence['GetQueryQueryDefinitionReportQueryForecastArgs'] forecasts: Forecast configuration of usage/cost.
2326
- :param str granularity: The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
2327
- :param Sequence[str] group_bies: Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
2328
- :param Sequence['GetQueryQueryDefinitionReportQueryGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
2329
- :param bool is_aggregate_by_time: Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
2330
- :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
2331
- :param str tenant_id: Tenant ID.
2332
- :param str time_usage_ended: The usage end time.
2333
- :param str time_usage_started: The usage start time.
3578
+ :param str name: Query parameter for filtering by name
2334
3579
  """
2335
- pulumi.set(__self__, "compartment_depth", compartment_depth)
2336
- pulumi.set(__self__, "date_range_name", date_range_name)
2337
- pulumi.set(__self__, "filter", filter)
2338
- pulumi.set(__self__, "forecasts", forecasts)
2339
- pulumi.set(__self__, "granularity", granularity)
2340
- pulumi.set(__self__, "group_bies", group_bies)
2341
- pulumi.set(__self__, "group_by_tags", group_by_tags)
2342
- pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time)
2343
- pulumi.set(__self__, "query_type", query_type)
2344
- pulumi.set(__self__, "tenant_id", tenant_id)
2345
- pulumi.set(__self__, "time_usage_ended", time_usage_ended)
2346
- pulumi.set(__self__, "time_usage_started", time_usage_started)
3580
+ pulumi.set(__self__, "name", name)
3581
+ pulumi.set(__self__, "values", values)
3582
+ if regex is not None:
3583
+ pulumi.set(__self__, "regex", regex)
2347
3584
 
2348
3585
  @property
2349
- @pulumi.getter(name="compartmentDepth")
2350
- def compartment_depth(self) -> float:
3586
+ @pulumi.getter
3587
+ def name(self) -> str:
2351
3588
  """
2352
- The compartment depth level.
3589
+ Query parameter for filtering by name
2353
3590
  """
2354
- return pulumi.get(self, "compartment_depth")
3591
+ return pulumi.get(self, "name")
2355
3592
 
2356
3593
  @property
2357
- @pulumi.getter(name="dateRangeName")
2358
- def date_range_name(self) -> str:
2359
- """
2360
- The UI date range, for example, LAST_THREE_MONTHS. Conflicts with timeUsageStarted and timeUsageEnded.
2361
- """
2362
- return pulumi.get(self, "date_range_name")
3594
+ @pulumi.getter
3595
+ def values(self) -> Sequence[str]:
3596
+ return pulumi.get(self, "values")
2363
3597
 
2364
3598
  @property
2365
3599
  @pulumi.getter
2366
- def filter(self) -> str:
2367
- """
2368
- The filter object for query usage.
2369
- """
2370
- return pulumi.get(self, "filter")
3600
+ def regex(self) -> Optional[bool]:
3601
+ return pulumi.get(self, "regex")
3602
+
3603
+
3604
+ @pulumi.output_type
3605
+ class GetSchedulesScheduleCollectionResult(dict):
3606
+ def __init__(__self__, *,
3607
+ items: Sequence['outputs.GetSchedulesScheduleCollectionItemResult']):
3608
+ pulumi.set(__self__, "items", items)
2371
3609
 
2372
3610
  @property
2373
3611
  @pulumi.getter
2374
- def forecasts(self) -> Sequence['outputs.GetQueryQueryDefinitionReportQueryForecastResult']:
3612
+ def items(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResult']:
3613
+ return pulumi.get(self, "items")
3614
+
3615
+
3616
+ @pulumi.output_type
3617
+ class GetSchedulesScheduleCollectionItemResult(dict):
3618
+ def __init__(__self__, *,
3619
+ compartment_id: str,
3620
+ defined_tags: Mapping[str, Any],
3621
+ description: str,
3622
+ freeform_tags: Mapping[str, Any],
3623
+ id: str,
3624
+ name: str,
3625
+ output_file_format: str,
3626
+ query_properties: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyResult'],
3627
+ result_locations: Sequence['outputs.GetSchedulesScheduleCollectionItemResultLocationResult'],
3628
+ saved_report_id: str,
3629
+ schedule_recurrences: str,
3630
+ state: str,
3631
+ system_tags: Mapping[str, Any],
3632
+ time_created: str,
3633
+ time_next_run: str,
3634
+ time_scheduled: str):
2375
3635
  """
2376
- Forecast configuration of usage/cost.
3636
+ :param str compartment_id: The compartment ID in which to list resources.
3637
+ :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
3638
+ :param str description: The description of the schedule.
3639
+ :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
3640
+ :param str id: The OCID representing a unique shedule.
3641
+ :param str name: Query parameter for filtering by name
3642
+ :param str output_file_format: Specifies the supported output file format.
3643
+ :param Sequence['GetSchedulesScheduleCollectionItemQueryPropertyArgs'] query_properties: The query properties.
3644
+ :param Sequence['GetSchedulesScheduleCollectionItemResultLocationArgs'] result_locations: The location where usage or cost CSVs will be uploaded defined by `locationType`, which corresponds with type-specific characteristics.
3645
+ :param str saved_report_id: The saved report ID which can also be used to generate a query.
3646
+ :param str schedule_recurrences: Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in [RFC 5545 section 3.3.10](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
3647
+ :param str state: The schedule lifecycle state.
3648
+ :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}`
3649
+ :param str time_created: The date and time the schedule was created.
3650
+ :param str time_next_run: The date and time of the next job execution.
3651
+ :param str time_scheduled: The date and time of the first time job execution.
2377
3652
  """
2378
- return pulumi.get(self, "forecasts")
3653
+ pulumi.set(__self__, "compartment_id", compartment_id)
3654
+ pulumi.set(__self__, "defined_tags", defined_tags)
3655
+ pulumi.set(__self__, "description", description)
3656
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
3657
+ pulumi.set(__self__, "id", id)
3658
+ pulumi.set(__self__, "name", name)
3659
+ pulumi.set(__self__, "output_file_format", output_file_format)
3660
+ pulumi.set(__self__, "query_properties", query_properties)
3661
+ pulumi.set(__self__, "result_locations", result_locations)
3662
+ pulumi.set(__self__, "saved_report_id", saved_report_id)
3663
+ pulumi.set(__self__, "schedule_recurrences", schedule_recurrences)
3664
+ pulumi.set(__self__, "state", state)
3665
+ pulumi.set(__self__, "system_tags", system_tags)
3666
+ pulumi.set(__self__, "time_created", time_created)
3667
+ pulumi.set(__self__, "time_next_run", time_next_run)
3668
+ pulumi.set(__self__, "time_scheduled", time_scheduled)
2379
3669
 
2380
3670
  @property
2381
- @pulumi.getter
2382
- def granularity(self) -> str:
3671
+ @pulumi.getter(name="compartmentId")
3672
+ def compartment_id(self) -> str:
2383
3673
  """
2384
- The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
3674
+ The compartment ID in which to list resources.
2385
3675
  """
2386
- return pulumi.get(self, "granularity")
3676
+ return pulumi.get(self, "compartment_id")
2387
3677
 
2388
3678
  @property
2389
- @pulumi.getter(name="groupBies")
2390
- def group_bies(self) -> Sequence[str]:
3679
+ @pulumi.getter(name="definedTags")
3680
+ def defined_tags(self) -> Mapping[str, Any]:
2391
3681
  """
2392
- Aggregate the result by. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
3682
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
2393
3683
  """
2394
- return pulumi.get(self, "group_bies")
3684
+ return pulumi.get(self, "defined_tags")
2395
3685
 
2396
3686
  @property
2397
- @pulumi.getter(name="groupByTags")
2398
- def group_by_tags(self) -> Sequence['outputs.GetQueryQueryDefinitionReportQueryGroupByTagResult']:
3687
+ @pulumi.getter
3688
+ def description(self) -> str:
2399
3689
  """
2400
- GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
3690
+ The description of the schedule.
2401
3691
  """
2402
- return pulumi.get(self, "group_by_tags")
3692
+ return pulumi.get(self, "description")
2403
3693
 
2404
3694
  @property
2405
- @pulumi.getter(name="isAggregateByTime")
2406
- def is_aggregate_by_time(self) -> bool:
3695
+ @pulumi.getter(name="freeformTags")
3696
+ def freeform_tags(self) -> Mapping[str, Any]:
2407
3697
  """
2408
- Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up.
3698
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
2409
3699
  """
2410
- return pulumi.get(self, "is_aggregate_by_time")
3700
+ return pulumi.get(self, "freeform_tags")
2411
3701
 
2412
3702
  @property
2413
- @pulumi.getter(name="queryType")
2414
- def query_type(self) -> str:
3703
+ @pulumi.getter
3704
+ def id(self) -> str:
2415
3705
  """
2416
- The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data AllCredit - Query the credit adjustments and expired credit
3706
+ The OCID representing a unique shedule.
2417
3707
  """
2418
- return pulumi.get(self, "query_type")
3708
+ return pulumi.get(self, "id")
2419
3709
 
2420
3710
  @property
2421
- @pulumi.getter(name="tenantId")
2422
- def tenant_id(self) -> str:
3711
+ @pulumi.getter
3712
+ def name(self) -> str:
2423
3713
  """
2424
- Tenant ID.
3714
+ Query parameter for filtering by name
2425
3715
  """
2426
- return pulumi.get(self, "tenant_id")
3716
+ return pulumi.get(self, "name")
2427
3717
 
2428
3718
  @property
2429
- @pulumi.getter(name="timeUsageEnded")
2430
- def time_usage_ended(self) -> str:
3719
+ @pulumi.getter(name="outputFileFormat")
3720
+ def output_file_format(self) -> str:
2431
3721
  """
2432
- The usage end time.
3722
+ Specifies the supported output file format.
2433
3723
  """
2434
- return pulumi.get(self, "time_usage_ended")
3724
+ return pulumi.get(self, "output_file_format")
2435
3725
 
2436
3726
  @property
2437
- @pulumi.getter(name="timeUsageStarted")
2438
- def time_usage_started(self) -> str:
3727
+ @pulumi.getter(name="queryProperties")
3728
+ def query_properties(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyResult']:
2439
3729
  """
2440
- The usage start time.
3730
+ The query properties.
2441
3731
  """
2442
- return pulumi.get(self, "time_usage_started")
2443
-
3732
+ return pulumi.get(self, "query_properties")
2444
3733
 
2445
- @pulumi.output_type
2446
- class GetQueryQueryDefinitionReportQueryForecastResult(dict):
2447
- def __init__(__self__, *,
2448
- forecast_type: str,
2449
- time_forecast_ended: str,
2450
- time_forecast_started: str):
3734
+ @property
3735
+ @pulumi.getter(name="resultLocations")
3736
+ def result_locations(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResultLocationResult']:
2451
3737
  """
2452
- :param str forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
2453
- :param str time_forecast_ended: The forecast end time.
2454
- :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified.
3738
+ The location where usage or cost CSVs will be uploaded defined by `locationType`, which corresponds with type-specific characteristics.
2455
3739
  """
2456
- pulumi.set(__self__, "forecast_type", forecast_type)
2457
- pulumi.set(__self__, "time_forecast_ended", time_forecast_ended)
2458
- pulumi.set(__self__, "time_forecast_started", time_forecast_started)
3740
+ return pulumi.get(self, "result_locations")
2459
3741
 
2460
3742
  @property
2461
- @pulumi.getter(name="forecastType")
2462
- def forecast_type(self) -> str:
3743
+ @pulumi.getter(name="savedReportId")
3744
+ def saved_report_id(self) -> str:
2463
3745
  """
2464
- BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made.
3746
+ The saved report ID which can also be used to generate a query.
2465
3747
  """
2466
- return pulumi.get(self, "forecast_type")
3748
+ return pulumi.get(self, "saved_report_id")
2467
3749
 
2468
3750
  @property
2469
- @pulumi.getter(name="timeForecastEnded")
2470
- def time_forecast_ended(self) -> str:
3751
+ @pulumi.getter(name="scheduleRecurrences")
3752
+ def schedule_recurrences(self) -> str:
2471
3753
  """
2472
- The forecast end time.
3754
+ Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in [RFC 5545 section 3.3.10](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
2473
3755
  """
2474
- return pulumi.get(self, "time_forecast_ended")
3756
+ return pulumi.get(self, "schedule_recurrences")
2475
3757
 
2476
3758
  @property
2477
- @pulumi.getter(name="timeForecastStarted")
2478
- def time_forecast_started(self) -> str:
3759
+ @pulumi.getter
3760
+ def state(self) -> str:
2479
3761
  """
2480
- The forecast start time. Defaults to UTC-1 if not specified.
3762
+ The schedule lifecycle state.
2481
3763
  """
2482
- return pulumi.get(self, "time_forecast_started")
2483
-
3764
+ return pulumi.get(self, "state")
2484
3765
 
2485
- @pulumi.output_type
2486
- class GetQueryQueryDefinitionReportQueryGroupByTagResult(dict):
2487
- def __init__(__self__, *,
2488
- key: str,
2489
- namespace: str,
2490
- value: str):
3766
+ @property
3767
+ @pulumi.getter(name="systemTags")
3768
+ def system_tags(self) -> Mapping[str, Any]:
2491
3769
  """
2492
- :param str key: The tag key.
2493
- :param str namespace: The tag namespace.
2494
- :param str value: The tag value.
3770
+ Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}`
2495
3771
  """
2496
- pulumi.set(__self__, "key", key)
2497
- pulumi.set(__self__, "namespace", namespace)
2498
- pulumi.set(__self__, "value", value)
3772
+ return pulumi.get(self, "system_tags")
2499
3773
 
2500
3774
  @property
2501
- @pulumi.getter
2502
- def key(self) -> str:
3775
+ @pulumi.getter(name="timeCreated")
3776
+ def time_created(self) -> str:
2503
3777
  """
2504
- The tag key.
3778
+ The date and time the schedule was created.
2505
3779
  """
2506
- return pulumi.get(self, "key")
3780
+ return pulumi.get(self, "time_created")
2507
3781
 
2508
3782
  @property
2509
- @pulumi.getter
2510
- def namespace(self) -> str:
3783
+ @pulumi.getter(name="timeNextRun")
3784
+ def time_next_run(self) -> str:
2511
3785
  """
2512
- The tag namespace.
3786
+ The date and time of the next job execution.
2513
3787
  """
2514
- return pulumi.get(self, "namespace")
3788
+ return pulumi.get(self, "time_next_run")
2515
3789
 
2516
3790
  @property
2517
- @pulumi.getter
2518
- def value(self) -> str:
3791
+ @pulumi.getter(name="timeScheduled")
3792
+ def time_scheduled(self) -> str:
2519
3793
  """
2520
- The tag value.
3794
+ The date and time of the first time job execution.
2521
3795
  """
2522
- return pulumi.get(self, "value")
3796
+ return pulumi.get(self, "time_scheduled")
2523
3797
 
2524
3798
 
2525
3799
  @pulumi.output_type
2526
- class GetScheduleQueryPropertyResult(dict):
3800
+ class GetSchedulesScheduleCollectionItemQueryPropertyResult(dict):
2527
3801
  def __init__(__self__, *,
2528
3802
  compartment_depth: float,
2529
- date_ranges: Sequence['outputs.GetScheduleQueryPropertyDateRangeResult'],
3803
+ date_ranges: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult'],
2530
3804
  filter: str,
2531
3805
  granularity: str,
2532
3806
  group_bies: Sequence[str],
2533
- group_by_tags: Sequence['outputs.GetScheduleQueryPropertyGroupByTagResult'],
3807
+ group_by_tags: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult'],
2534
3808
  is_aggregate_by_time: bool,
2535
3809
  query_type: str):
2536
3810
  """
2537
3811
  :param float compartment_depth: The depth level of the compartment.
2538
- :param Sequence['GetScheduleQueryPropertyDateRangeArgs'] date_ranges: Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
3812
+ :param Sequence['GetSchedulesScheduleCollectionItemQueryPropertyDateRangeArgs'] date_ranges: Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
2539
3813
  :param str filter: The filter object for query usage.
2540
3814
  :param str granularity: The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
2541
3815
  :param Sequence[str] group_bies: Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
2542
- :param Sequence['GetScheduleQueryPropertyGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
3816
+ :param Sequence['GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
2543
3817
  :param bool is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
2544
3818
  :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
2545
3819
  """
@@ -2562,7 +3836,7 @@ class GetScheduleQueryPropertyResult(dict):
2562
3836
 
2563
3837
  @property
2564
3838
  @pulumi.getter(name="dateRanges")
2565
- def date_ranges(self) -> Sequence['outputs.GetScheduleQueryPropertyDateRangeResult']:
3839
+ def date_ranges(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult']:
2566
3840
  """
2567
3841
  Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
2568
3842
  """
@@ -2594,7 +3868,7 @@ class GetScheduleQueryPropertyResult(dict):
2594
3868
 
2595
3869
  @property
2596
3870
  @pulumi.getter(name="groupByTags")
2597
- def group_by_tags(self) -> Sequence['outputs.GetScheduleQueryPropertyGroupByTagResult']:
3871
+ def group_by_tags(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult']:
2598
3872
  """
2599
3873
  GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
2600
3874
  """
@@ -2618,7 +3892,7 @@ class GetScheduleQueryPropertyResult(dict):
2618
3892
 
2619
3893
 
2620
3894
  @pulumi.output_type
2621
- class GetScheduleQueryPropertyDateRangeResult(dict):
3895
+ class GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult(dict):
2622
3896
  def __init__(__self__, *,
2623
3897
  date_range_type: str,
2624
3898
  dynamic_date_range_type: str,
@@ -2665,7 +3939,7 @@ class GetScheduleQueryPropertyDateRangeResult(dict):
2665
3939
 
2666
3940
 
2667
3941
  @pulumi.output_type
2668
- class GetScheduleQueryPropertyGroupByTagResult(dict):
3942
+ class GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult(dict):
2669
3943
  def __init__(__self__, *,
2670
3944
  key: str,
2671
3945
  namespace: str,
@@ -2705,7 +3979,7 @@ class GetScheduleQueryPropertyGroupByTagResult(dict):
2705
3979
 
2706
3980
 
2707
3981
  @pulumi.output_type
2708
- class GetScheduleResultLocationResult(dict):
3982
+ class GetSchedulesScheduleCollectionItemResultLocationResult(dict):
2709
3983
  def __init__(__self__, *,
2710
3984
  bucket: str,
2711
3985
  location_type: str,
@@ -2756,126 +4030,40 @@ class GetScheduleResultLocationResult(dict):
2756
4030
 
2757
4031
 
2758
4032
  @pulumi.output_type
2759
- class GetScheduledRunsFilterResult(dict):
2760
- def __init__(__self__, *,
2761
- name: str,
2762
- values: Sequence[str],
2763
- regex: Optional[bool] = None):
2764
- pulumi.set(__self__, "name", name)
2765
- pulumi.set(__self__, "values", values)
2766
- if regex is not None:
2767
- pulumi.set(__self__, "regex", regex)
2768
-
2769
- @property
2770
- @pulumi.getter
2771
- def name(self) -> str:
2772
- return pulumi.get(self, "name")
2773
-
2774
- @property
2775
- @pulumi.getter
2776
- def values(self) -> Sequence[str]:
2777
- return pulumi.get(self, "values")
2778
-
2779
- @property
2780
- @pulumi.getter
2781
- def regex(self) -> Optional[bool]:
2782
- return pulumi.get(self, "regex")
2783
-
2784
-
2785
- @pulumi.output_type
2786
- class GetScheduledRunsScheduledRunCollectionResult(dict):
2787
- def __init__(__self__, *,
2788
- items: Sequence['outputs.GetScheduledRunsScheduledRunCollectionItemResult']):
2789
- pulumi.set(__self__, "items", items)
2790
-
2791
- @property
2792
- @pulumi.getter
2793
- def items(self) -> Sequence['outputs.GetScheduledRunsScheduledRunCollectionItemResult']:
2794
- return pulumi.get(self, "items")
2795
-
2796
-
2797
- @pulumi.output_type
2798
- class GetScheduledRunsScheduledRunCollectionItemResult(dict):
4033
+ class GetUsageCarbonEmissionsConfigItemResult(dict):
2799
4034
  def __init__(__self__, *,
2800
- id: str,
2801
- lifecycle_details: str,
2802
- schedule_id: str,
2803
- state: str,
2804
- time_created: str,
2805
- time_finished: str):
2806
- """
2807
- :param str id: The ocid representing unique shedule run
2808
- :param str lifecycle_details: Additional details about scheduled run failure
2809
- :param str schedule_id: The unique ID of a schedule.
2810
- :param str state: Specifies if the schedule job was run successfully or not.
2811
- :param str time_created: The time when schedule started executing
2812
- :param str time_finished: The time when schedule finished executing
2813
- """
2814
- pulumi.set(__self__, "id", id)
2815
- pulumi.set(__self__, "lifecycle_details", lifecycle_details)
2816
- pulumi.set(__self__, "schedule_id", schedule_id)
2817
- pulumi.set(__self__, "state", state)
2818
- pulumi.set(__self__, "time_created", time_created)
2819
- pulumi.set(__self__, "time_finished", time_finished)
2820
-
2821
- @property
2822
- @pulumi.getter
2823
- def id(self) -> str:
2824
- """
2825
- The ocid representing unique shedule run
2826
- """
2827
- return pulumi.get(self, "id")
2828
-
2829
- @property
2830
- @pulumi.getter(name="lifecycleDetails")
2831
- def lifecycle_details(self) -> str:
2832
- """
2833
- Additional details about scheduled run failure
2834
- """
2835
- return pulumi.get(self, "lifecycle_details")
2836
-
2837
- @property
2838
- @pulumi.getter(name="scheduleId")
2839
- def schedule_id(self) -> str:
2840
- """
2841
- The unique ID of a schedule.
2842
- """
2843
- return pulumi.get(self, "schedule_id")
2844
-
2845
- @property
2846
- @pulumi.getter
2847
- def state(self) -> str:
4035
+ key: str,
4036
+ values: Sequence[str]):
2848
4037
  """
2849
- Specifies if the schedule job was run successfully or not.
4038
+ :param str key: The configuration key.
4039
+ :param Sequence[str] values: The configuration value.
2850
4040
  """
2851
- return pulumi.get(self, "state")
4041
+ pulumi.set(__self__, "key", key)
4042
+ pulumi.set(__self__, "values", values)
2852
4043
 
2853
4044
  @property
2854
- @pulumi.getter(name="timeCreated")
2855
- def time_created(self) -> str:
4045
+ @pulumi.getter
4046
+ def key(self) -> str:
2856
4047
  """
2857
- The time when schedule started executing
4048
+ The configuration key.
2858
4049
  """
2859
- return pulumi.get(self, "time_created")
4050
+ return pulumi.get(self, "key")
2860
4051
 
2861
4052
  @property
2862
- @pulumi.getter(name="timeFinished")
2863
- def time_finished(self) -> str:
4053
+ @pulumi.getter
4054
+ def values(self) -> Sequence[str]:
2864
4055
  """
2865
- The time when schedule finished executing
4056
+ The configuration value.
2866
4057
  """
2867
- return pulumi.get(self, "time_finished")
4058
+ return pulumi.get(self, "values")
2868
4059
 
2869
4060
 
2870
4061
  @pulumi.output_type
2871
- class GetSchedulesFilterResult(dict):
4062
+ class GetUsageCarbonEmissionsQueriesFilterResult(dict):
2872
4063
  def __init__(__self__, *,
2873
4064
  name: str,
2874
4065
  values: Sequence[str],
2875
4066
  regex: Optional[bool] = None):
2876
- """
2877
- :param str name: Query parameter for filtering by name
2878
- """
2879
4067
  pulumi.set(__self__, "name", name)
2880
4068
  pulumi.set(__self__, "values", values)
2881
4069
  if regex is not None:
@@ -2884,9 +4072,6 @@ class GetSchedulesFilterResult(dict):
2884
4072
  @property
2885
4073
  @pulumi.getter
2886
4074
  def name(self) -> str:
2887
- """
2888
- Query parameter for filtering by name
2889
- """
2890
4075
  return pulumi.get(self, "name")
2891
4076
 
2892
4077
  @property
@@ -2901,70 +4086,31 @@ class GetSchedulesFilterResult(dict):
2901
4086
 
2902
4087
 
2903
4088
  @pulumi.output_type
2904
- class GetSchedulesScheduleCollectionResult(dict):
4089
+ class GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionResult(dict):
2905
4090
  def __init__(__self__, *,
2906
- items: Sequence['outputs.GetSchedulesScheduleCollectionItemResult']):
4091
+ items: Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemResult']):
2907
4092
  pulumi.set(__self__, "items", items)
2908
4093
 
2909
4094
  @property
2910
4095
  @pulumi.getter
2911
- def items(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResult']:
4096
+ def items(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemResult']:
2912
4097
  return pulumi.get(self, "items")
2913
4098
 
2914
4099
 
2915
4100
  @pulumi.output_type
2916
- class GetSchedulesScheduleCollectionItemResult(dict):
4101
+ class GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemResult(dict):
2917
4102
  def __init__(__self__, *,
2918
4103
  compartment_id: str,
2919
- defined_tags: Mapping[str, Any],
2920
- description: str,
2921
- freeform_tags: Mapping[str, Any],
2922
4104
  id: str,
2923
- name: str,
2924
- output_file_format: str,
2925
- query_properties: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyResult'],
2926
- result_locations: Sequence['outputs.GetSchedulesScheduleCollectionItemResultLocationResult'],
2927
- saved_report_id: str,
2928
- schedule_recurrences: str,
2929
- state: str,
2930
- system_tags: Mapping[str, Any],
2931
- time_created: str,
2932
- time_next_run: str,
2933
- time_scheduled: str):
4105
+ query_definitions: Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionResult']):
2934
4106
  """
2935
4107
  :param str compartment_id: The compartment ID in which to list resources.
2936
- :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
2937
- :param str description: The description of the schedule.
2938
- :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
2939
- :param str id: The OCID representing a unique shedule.
2940
- :param str name: Query parameter for filtering by name
2941
- :param str output_file_format: Specifies supported output file format.
2942
- :param Sequence['GetSchedulesScheduleCollectionItemQueryPropertyArgs'] query_properties: The query properties.
2943
- :param Sequence['GetSchedulesScheduleCollectionItemResultLocationArgs'] result_locations: The location where usage or cost CSVs will be uploaded defined by `locationType`, which corresponds with type-specific characteristics.
2944
- :param str saved_report_id: The saved report id which can also be used to generate query.
2945
- :param str schedule_recurrences: Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in [RFC 5545 section 3.3.10](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
2946
- :param str state: The schedule lifecycle state.
2947
- :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}`
2948
- :param str time_created: The date and time the schedule was created.
2949
- :param str time_next_run: The date and time of the next job execution.
2950
- :param str time_scheduled: The date and time of the first time job execution.
4108
+ :param str id: The query OCID.
4109
+ :param Sequence['GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionArgs'] query_definitions: The common fields for queries.
2951
4110
  """
2952
4111
  pulumi.set(__self__, "compartment_id", compartment_id)
2953
- pulumi.set(__self__, "defined_tags", defined_tags)
2954
- pulumi.set(__self__, "description", description)
2955
- pulumi.set(__self__, "freeform_tags", freeform_tags)
2956
4112
  pulumi.set(__self__, "id", id)
2957
- pulumi.set(__self__, "name", name)
2958
- pulumi.set(__self__, "output_file_format", output_file_format)
2959
- pulumi.set(__self__, "query_properties", query_properties)
2960
- pulumi.set(__self__, "result_locations", result_locations)
2961
- pulumi.set(__self__, "saved_report_id", saved_report_id)
2962
- pulumi.set(__self__, "schedule_recurrences", schedule_recurrences)
2963
- pulumi.set(__self__, "state", state)
2964
- pulumi.set(__self__, "system_tags", system_tags)
2965
- pulumi.set(__self__, "time_created", time_created)
2966
- pulumi.set(__self__, "time_next_run", time_next_run)
2967
- pulumi.set(__self__, "time_scheduled", time_scheduled)
4113
+ pulumi.set(__self__, "query_definitions", query_definitions)
2968
4114
 
2969
4115
  @property
2970
4116
  @pulumi.getter(name="compartmentId")
@@ -2975,201 +4121,390 @@ class GetSchedulesScheduleCollectionItemResult(dict):
2975
4121
  return pulumi.get(self, "compartment_id")
2976
4122
 
2977
4123
  @property
2978
- @pulumi.getter(name="definedTags")
2979
- def defined_tags(self) -> Mapping[str, Any]:
4124
+ @pulumi.getter
4125
+ def id(self) -> str:
2980
4126
  """
2981
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
4127
+ The query OCID.
2982
4128
  """
2983
- return pulumi.get(self, "defined_tags")
4129
+ return pulumi.get(self, "id")
4130
+
4131
+ @property
4132
+ @pulumi.getter(name="queryDefinitions")
4133
+ def query_definitions(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionResult']:
4134
+ """
4135
+ The common fields for queries.
4136
+ """
4137
+ return pulumi.get(self, "query_definitions")
4138
+
4139
+
4140
+ @pulumi.output_type
4141
+ class GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionResult(dict):
4142
+ def __init__(__self__, *,
4143
+ cost_analysis_uis: Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionCostAnalysisUiResult'],
4144
+ display_name: str,
4145
+ report_queries: Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryResult'],
4146
+ version: int):
4147
+ """
4148
+ :param Sequence['GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionCostAnalysisUiArgs'] cost_analysis_uis: The common fields for Cost Analysis UI rendering.
4149
+ :param str display_name: The query display name. Avoid entering confidential information.
4150
+ :param Sequence['GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryArgs'] report_queries: The request of the generated usage carbon emissions report.
4151
+ :param int version: The saved query version.
4152
+ """
4153
+ pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis)
4154
+ pulumi.set(__self__, "display_name", display_name)
4155
+ pulumi.set(__self__, "report_queries", report_queries)
4156
+ pulumi.set(__self__, "version", version)
4157
+
4158
+ @property
4159
+ @pulumi.getter(name="costAnalysisUis")
4160
+ def cost_analysis_uis(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionCostAnalysisUiResult']:
4161
+ """
4162
+ The common fields for Cost Analysis UI rendering.
4163
+ """
4164
+ return pulumi.get(self, "cost_analysis_uis")
4165
+
4166
+ @property
4167
+ @pulumi.getter(name="displayName")
4168
+ def display_name(self) -> str:
4169
+ """
4170
+ The query display name. Avoid entering confidential information.
4171
+ """
4172
+ return pulumi.get(self, "display_name")
4173
+
4174
+ @property
4175
+ @pulumi.getter(name="reportQueries")
4176
+ def report_queries(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryResult']:
4177
+ """
4178
+ The request of the generated usage carbon emissions report.
4179
+ """
4180
+ return pulumi.get(self, "report_queries")
2984
4181
 
2985
4182
  @property
2986
4183
  @pulumi.getter
2987
- def description(self) -> str:
4184
+ def version(self) -> int:
2988
4185
  """
2989
- The description of the schedule.
4186
+ The saved query version.
2990
4187
  """
2991
- return pulumi.get(self, "description")
4188
+ return pulumi.get(self, "version")
4189
+
4190
+
4191
+ @pulumi.output_type
4192
+ class GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionCostAnalysisUiResult(dict):
4193
+ def __init__(__self__, *,
4194
+ graph: str,
4195
+ is_cumulative_graph: bool):
4196
+ """
4197
+ :param str graph: The graph type.
4198
+ :param bool is_cumulative_graph: A cumulative graph.
4199
+ """
4200
+ pulumi.set(__self__, "graph", graph)
4201
+ pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph)
2992
4202
 
2993
4203
  @property
2994
- @pulumi.getter(name="freeformTags")
2995
- def freeform_tags(self) -> Mapping[str, Any]:
4204
+ @pulumi.getter
4205
+ def graph(self) -> str:
2996
4206
  """
2997
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}`
4207
+ The graph type.
4208
+ """
4209
+ return pulumi.get(self, "graph")
4210
+
4211
+ @property
4212
+ @pulumi.getter(name="isCumulativeGraph")
4213
+ def is_cumulative_graph(self) -> bool:
4214
+ """
4215
+ A cumulative graph.
4216
+ """
4217
+ return pulumi.get(self, "is_cumulative_graph")
4218
+
4219
+
4220
+ @pulumi.output_type
4221
+ class GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryResult(dict):
4222
+ def __init__(__self__, *,
4223
+ compartment_depth: int,
4224
+ date_range_name: str,
4225
+ group_bies: Sequence[str],
4226
+ group_by_tags: Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult'],
4227
+ is_aggregate_by_time: bool,
4228
+ tenant_id: str,
4229
+ time_usage_ended: str,
4230
+ time_usage_started: str,
4231
+ usage_carbon_emissions_query_filter: str):
4232
+ """
4233
+ :param int compartment_depth: The compartment depth level.
4234
+ :param str date_range_name: The UI date range, for example, LAST_THREE_MONTHS. It will override timeUsageStarted and timeUsageEnded properties.
4235
+ :param Sequence[str] group_bies: Specifies what to aggregate the result by. For example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
4236
+ :param Sequence['GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
4237
+ :param bool is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
4238
+ :param str tenant_id: Tenant ID.
4239
+ :param str time_usage_ended: The usage end time.
4240
+ :param str time_usage_started: The usage start time.
4241
+ :param str usage_carbon_emissions_query_filter: The filter object for query usage.
4242
+ """
4243
+ pulumi.set(__self__, "compartment_depth", compartment_depth)
4244
+ pulumi.set(__self__, "date_range_name", date_range_name)
4245
+ pulumi.set(__self__, "group_bies", group_bies)
4246
+ pulumi.set(__self__, "group_by_tags", group_by_tags)
4247
+ pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time)
4248
+ pulumi.set(__self__, "tenant_id", tenant_id)
4249
+ pulumi.set(__self__, "time_usage_ended", time_usage_ended)
4250
+ pulumi.set(__self__, "time_usage_started", time_usage_started)
4251
+ pulumi.set(__self__, "usage_carbon_emissions_query_filter", usage_carbon_emissions_query_filter)
4252
+
4253
+ @property
4254
+ @pulumi.getter(name="compartmentDepth")
4255
+ def compartment_depth(self) -> int:
4256
+ """
4257
+ The compartment depth level.
4258
+ """
4259
+ return pulumi.get(self, "compartment_depth")
4260
+
4261
+ @property
4262
+ @pulumi.getter(name="dateRangeName")
4263
+ def date_range_name(self) -> str:
4264
+ """
4265
+ The UI date range, for example, LAST_THREE_MONTHS. It will override timeUsageStarted and timeUsageEnded properties.
4266
+ """
4267
+ return pulumi.get(self, "date_range_name")
4268
+
4269
+ @property
4270
+ @pulumi.getter(name="groupBies")
4271
+ def group_bies(self) -> Sequence[str]:
4272
+ """
4273
+ Specifies what to aggregate the result by. For example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
4274
+ """
4275
+ return pulumi.get(self, "group_bies")
4276
+
4277
+ @property
4278
+ @pulumi.getter(name="groupByTags")
4279
+ def group_by_tags(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult']:
4280
+ """
4281
+ GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
4282
+ """
4283
+ return pulumi.get(self, "group_by_tags")
4284
+
4285
+ @property
4286
+ @pulumi.getter(name="isAggregateByTime")
4287
+ def is_aggregate_by_time(self) -> bool:
4288
+ """
4289
+ Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
4290
+ """
4291
+ return pulumi.get(self, "is_aggregate_by_time")
4292
+
4293
+ @property
4294
+ @pulumi.getter(name="tenantId")
4295
+ def tenant_id(self) -> str:
4296
+ """
4297
+ Tenant ID.
4298
+ """
4299
+ return pulumi.get(self, "tenant_id")
4300
+
4301
+ @property
4302
+ @pulumi.getter(name="timeUsageEnded")
4303
+ def time_usage_ended(self) -> str:
4304
+ """
4305
+ The usage end time.
4306
+ """
4307
+ return pulumi.get(self, "time_usage_ended")
4308
+
4309
+ @property
4310
+ @pulumi.getter(name="timeUsageStarted")
4311
+ def time_usage_started(self) -> str:
4312
+ """
4313
+ The usage start time.
4314
+ """
4315
+ return pulumi.get(self, "time_usage_started")
4316
+
4317
+ @property
4318
+ @pulumi.getter(name="usageCarbonEmissionsQueryFilter")
4319
+ def usage_carbon_emissions_query_filter(self) -> str:
4320
+ """
4321
+ The filter object for query usage.
4322
+ """
4323
+ return pulumi.get(self, "usage_carbon_emissions_query_filter")
4324
+
4325
+
4326
+ @pulumi.output_type
4327
+ class GetUsageCarbonEmissionsQueriesUsageCarbonEmissionsQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult(dict):
4328
+ def __init__(__self__, *,
4329
+ key: str,
4330
+ namespace: str,
4331
+ value: str):
4332
+ """
4333
+ :param str key: The tag key.
4334
+ :param str namespace: The tag namespace.
4335
+ :param str value: The tag value.
2998
4336
  """
2999
- return pulumi.get(self, "freeform_tags")
4337
+ pulumi.set(__self__, "key", key)
4338
+ pulumi.set(__self__, "namespace", namespace)
4339
+ pulumi.set(__self__, "value", value)
3000
4340
 
3001
4341
  @property
3002
4342
  @pulumi.getter
3003
- def id(self) -> str:
4343
+ def key(self) -> str:
3004
4344
  """
3005
- The OCID representing a unique shedule.
4345
+ The tag key.
3006
4346
  """
3007
- return pulumi.get(self, "id")
4347
+ return pulumi.get(self, "key")
3008
4348
 
3009
4349
  @property
3010
4350
  @pulumi.getter
3011
- def name(self) -> str:
4351
+ def namespace(self) -> str:
3012
4352
  """
3013
- Query parameter for filtering by name
4353
+ The tag namespace.
3014
4354
  """
3015
- return pulumi.get(self, "name")
4355
+ return pulumi.get(self, "namespace")
3016
4356
 
3017
4357
  @property
3018
- @pulumi.getter(name="outputFileFormat")
3019
- def output_file_format(self) -> str:
4358
+ @pulumi.getter
4359
+ def value(self) -> str:
3020
4360
  """
3021
- Specifies supported output file format.
4361
+ The tag value.
3022
4362
  """
3023
- return pulumi.get(self, "output_file_format")
4363
+ return pulumi.get(self, "value")
3024
4364
 
3025
- @property
3026
- @pulumi.getter(name="queryProperties")
3027
- def query_properties(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyResult']:
4365
+
4366
+ @pulumi.output_type
4367
+ class GetUsageCarbonEmissionsQueryQueryDefinitionResult(dict):
4368
+ def __init__(__self__, *,
4369
+ cost_analysis_uis: Sequence['outputs.GetUsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUiResult'],
4370
+ display_name: str,
4371
+ report_queries: Sequence['outputs.GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryResult'],
4372
+ version: int):
3028
4373
  """
3029
- The query properties.
4374
+ :param Sequence['GetUsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUiArgs'] cost_analysis_uis: The common fields for Cost Analysis UI rendering.
4375
+ :param str display_name: The query display name. Avoid entering confidential information.
4376
+ :param Sequence['GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryArgs'] report_queries: The request of the generated usage carbon emissions report.
4377
+ :param int version: The saved query version.
3030
4378
  """
3031
- return pulumi.get(self, "query_properties")
4379
+ pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis)
4380
+ pulumi.set(__self__, "display_name", display_name)
4381
+ pulumi.set(__self__, "report_queries", report_queries)
4382
+ pulumi.set(__self__, "version", version)
3032
4383
 
3033
4384
  @property
3034
- @pulumi.getter(name="resultLocations")
3035
- def result_locations(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemResultLocationResult']:
4385
+ @pulumi.getter(name="costAnalysisUis")
4386
+ def cost_analysis_uis(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUiResult']:
3036
4387
  """
3037
- The location where usage or cost CSVs will be uploaded defined by `locationType`, which corresponds with type-specific characteristics.
4388
+ The common fields for Cost Analysis UI rendering.
3038
4389
  """
3039
- return pulumi.get(self, "result_locations")
4390
+ return pulumi.get(self, "cost_analysis_uis")
3040
4391
 
3041
4392
  @property
3042
- @pulumi.getter(name="savedReportId")
3043
- def saved_report_id(self) -> str:
4393
+ @pulumi.getter(name="displayName")
4394
+ def display_name(self) -> str:
3044
4395
  """
3045
- The saved report id which can also be used to generate query.
4396
+ The query display name. Avoid entering confidential information.
3046
4397
  """
3047
- return pulumi.get(self, "saved_report_id")
4398
+ return pulumi.get(self, "display_name")
3048
4399
 
3049
4400
  @property
3050
- @pulumi.getter(name="scheduleRecurrences")
3051
- def schedule_recurrences(self) -> str:
4401
+ @pulumi.getter(name="reportQueries")
4402
+ def report_queries(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryResult']:
3052
4403
  """
3053
- Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in [RFC 5545 section 3.3.10](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
4404
+ The request of the generated usage carbon emissions report.
3054
4405
  """
3055
- return pulumi.get(self, "schedule_recurrences")
4406
+ return pulumi.get(self, "report_queries")
3056
4407
 
3057
4408
  @property
3058
4409
  @pulumi.getter
3059
- def state(self) -> str:
4410
+ def version(self) -> int:
3060
4411
  """
3061
- The schedule lifecycle state.
4412
+ The saved query version.
3062
4413
  """
3063
- return pulumi.get(self, "state")
4414
+ return pulumi.get(self, "version")
3064
4415
 
3065
- @property
3066
- @pulumi.getter(name="systemTags")
3067
- def system_tags(self) -> Mapping[str, Any]:
3068
- """
3069
- Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}`
3070
- """
3071
- return pulumi.get(self, "system_tags")
3072
4416
 
3073
- @property
3074
- @pulumi.getter(name="timeCreated")
3075
- def time_created(self) -> str:
4417
+ @pulumi.output_type
4418
+ class GetUsageCarbonEmissionsQueryQueryDefinitionCostAnalysisUiResult(dict):
4419
+ def __init__(__self__, *,
4420
+ graph: str,
4421
+ is_cumulative_graph: bool):
3076
4422
  """
3077
- The date and time the schedule was created.
4423
+ :param str graph: The graph type.
4424
+ :param bool is_cumulative_graph: A cumulative graph.
3078
4425
  """
3079
- return pulumi.get(self, "time_created")
4426
+ pulumi.set(__self__, "graph", graph)
4427
+ pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph)
3080
4428
 
3081
4429
  @property
3082
- @pulumi.getter(name="timeNextRun")
3083
- def time_next_run(self) -> str:
4430
+ @pulumi.getter
4431
+ def graph(self) -> str:
3084
4432
  """
3085
- The date and time of the next job execution.
4433
+ The graph type.
3086
4434
  """
3087
- return pulumi.get(self, "time_next_run")
4435
+ return pulumi.get(self, "graph")
3088
4436
 
3089
4437
  @property
3090
- @pulumi.getter(name="timeScheduled")
3091
- def time_scheduled(self) -> str:
4438
+ @pulumi.getter(name="isCumulativeGraph")
4439
+ def is_cumulative_graph(self) -> bool:
3092
4440
  """
3093
- The date and time of the first time job execution.
4441
+ A cumulative graph.
3094
4442
  """
3095
- return pulumi.get(self, "time_scheduled")
4443
+ return pulumi.get(self, "is_cumulative_graph")
3096
4444
 
3097
4445
 
3098
4446
  @pulumi.output_type
3099
- class GetSchedulesScheduleCollectionItemQueryPropertyResult(dict):
4447
+ class GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryResult(dict):
3100
4448
  def __init__(__self__, *,
3101
- compartment_depth: float,
3102
- date_ranges: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult'],
3103
- filter: str,
3104
- granularity: str,
4449
+ compartment_depth: int,
4450
+ date_range_name: str,
3105
4451
  group_bies: Sequence[str],
3106
- group_by_tags: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult'],
4452
+ group_by_tags: Sequence['outputs.GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTagResult'],
3107
4453
  is_aggregate_by_time: bool,
3108
- query_type: str):
4454
+ tenant_id: str,
4455
+ time_usage_ended: str,
4456
+ time_usage_started: str,
4457
+ usage_carbon_emissions_query_filter: str):
3109
4458
  """
3110
- :param float compartment_depth: The depth level of the compartment.
3111
- :param Sequence['GetSchedulesScheduleCollectionItemQueryPropertyDateRangeArgs'] date_ranges: Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
3112
- :param str filter: The filter object for query usage.
3113
- :param str granularity: The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
3114
- :param Sequence[str] group_bies: Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
3115
- :param Sequence['GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
4459
+ :param int compartment_depth: The compartment depth level.
4460
+ :param str date_range_name: The UI date range, for example, LAST_THREE_MONTHS. It will override timeUsageStarted and timeUsageEnded properties.
4461
+ :param Sequence[str] group_bies: Specifies what to aggregate the result by. For example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
4462
+ :param Sequence['GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTagArgs'] group_by_tags: GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
3116
4463
  :param bool is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up.
3117
- :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
4464
+ :param str tenant_id: Tenant ID.
4465
+ :param str time_usage_ended: The usage end time.
4466
+ :param str time_usage_started: The usage start time.
4467
+ :param str usage_carbon_emissions_query_filter: The filter object for query usage.
3118
4468
  """
3119
4469
  pulumi.set(__self__, "compartment_depth", compartment_depth)
3120
- pulumi.set(__self__, "date_ranges", date_ranges)
3121
- pulumi.set(__self__, "filter", filter)
3122
- pulumi.set(__self__, "granularity", granularity)
4470
+ pulumi.set(__self__, "date_range_name", date_range_name)
3123
4471
  pulumi.set(__self__, "group_bies", group_bies)
3124
4472
  pulumi.set(__self__, "group_by_tags", group_by_tags)
3125
4473
  pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time)
3126
- pulumi.set(__self__, "query_type", query_type)
4474
+ pulumi.set(__self__, "tenant_id", tenant_id)
4475
+ pulumi.set(__self__, "time_usage_ended", time_usage_ended)
4476
+ pulumi.set(__self__, "time_usage_started", time_usage_started)
4477
+ pulumi.set(__self__, "usage_carbon_emissions_query_filter", usage_carbon_emissions_query_filter)
3127
4478
 
3128
4479
  @property
3129
4480
  @pulumi.getter(name="compartmentDepth")
3130
- def compartment_depth(self) -> float:
4481
+ def compartment_depth(self) -> int:
3131
4482
  """
3132
- The depth level of the compartment.
4483
+ The compartment depth level.
3133
4484
  """
3134
4485
  return pulumi.get(self, "compartment_depth")
3135
4486
 
3136
4487
  @property
3137
- @pulumi.getter(name="dateRanges")
3138
- def date_ranges(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult']:
3139
- """
3140
- Static or dynamic date range `dateRangeType`, which corresponds with type-specific characteristics.
3141
- """
3142
- return pulumi.get(self, "date_ranges")
3143
-
3144
- @property
3145
- @pulumi.getter
3146
- def filter(self) -> str:
3147
- """
3148
- The filter object for query usage.
3149
- """
3150
- return pulumi.get(self, "filter")
3151
-
3152
- @property
3153
- @pulumi.getter
3154
- def granularity(self) -> str:
4488
+ @pulumi.getter(name="dateRangeName")
4489
+ def date_range_name(self) -> str:
3155
4490
  """
3156
- The usage granularity. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. Allowed values are: DAILY MONTHLY
4491
+ The UI date range, for example, LAST_THREE_MONTHS. It will override timeUsageStarted and timeUsageEnded properties.
3157
4492
  """
3158
- return pulumi.get(self, "granularity")
4493
+ return pulumi.get(self, "date_range_name")
3159
4494
 
3160
4495
  @property
3161
4496
  @pulumi.getter(name="groupBies")
3162
4497
  def group_bies(self) -> Sequence[str]:
3163
4498
  """
3164
- Aggregate the result by. For example: [ "tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName" ]
4499
+ Specifies what to aggregate the result by. For example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]`
3165
4500
  """
3166
4501
  return pulumi.get(self, "group_bies")
3167
4502
 
3168
4503
  @property
3169
4504
  @pulumi.getter(name="groupByTags")
3170
- def group_by_tags(self) -> Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult']:
4505
+ def group_by_tags(self) -> Sequence['outputs.GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTagResult']:
3171
4506
  """
3172
- GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: [ { "namespace": "oracle", "key": "createdBy" ]
4507
+ GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only supports one tag in the list. For example: `[{"namespace":"oracle", "key":"createdBy"]`
3173
4508
  """
3174
4509
  return pulumi.get(self, "group_by_tags")
3175
4510
 
@@ -3182,43 +4517,12 @@ class GetSchedulesScheduleCollectionItemQueryPropertyResult(dict):
3182
4517
  return pulumi.get(self, "is_aggregate_by_time")
3183
4518
 
3184
4519
  @property
3185
- @pulumi.getter(name="queryType")
3186
- def query_type(self) -> str:
3187
- """
3188
- The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST
3189
- """
3190
- return pulumi.get(self, "query_type")
3191
-
3192
-
3193
- @pulumi.output_type
3194
- class GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult(dict):
3195
- def __init__(__self__, *,
3196
- date_range_type: str,
3197
- dynamic_date_range_type: str,
3198
- time_usage_ended: str,
3199
- time_usage_started: str):
3200
- """
3201
- :param str date_range_type: Defines whether the schedule date range is STATIC or DYNAMIC.
3202
- :param str time_usage_ended: The usage end time.
3203
- :param str time_usage_started: The usage start time.
3204
- """
3205
- pulumi.set(__self__, "date_range_type", date_range_type)
3206
- pulumi.set(__self__, "dynamic_date_range_type", dynamic_date_range_type)
3207
- pulumi.set(__self__, "time_usage_ended", time_usage_ended)
3208
- pulumi.set(__self__, "time_usage_started", time_usage_started)
3209
-
3210
- @property
3211
- @pulumi.getter(name="dateRangeType")
3212
- def date_range_type(self) -> str:
4520
+ @pulumi.getter(name="tenantId")
4521
+ def tenant_id(self) -> str:
3213
4522
  """
3214
- Defines whether the schedule date range is STATIC or DYNAMIC.
4523
+ Tenant ID.
3215
4524
  """
3216
- return pulumi.get(self, "date_range_type")
3217
-
3218
- @property
3219
- @pulumi.getter(name="dynamicDateRangeType")
3220
- def dynamic_date_range_type(self) -> str:
3221
- return pulumi.get(self, "dynamic_date_range_type")
4525
+ return pulumi.get(self, "tenant_id")
3222
4526
 
3223
4527
  @property
3224
4528
  @pulumi.getter(name="timeUsageEnded")
@@ -3236,16 +4540,24 @@ class GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult(dict):
3236
4540
  """
3237
4541
  return pulumi.get(self, "time_usage_started")
3238
4542
 
4543
+ @property
4544
+ @pulumi.getter(name="usageCarbonEmissionsQueryFilter")
4545
+ def usage_carbon_emissions_query_filter(self) -> str:
4546
+ """
4547
+ The filter object for query usage.
4548
+ """
4549
+ return pulumi.get(self, "usage_carbon_emissions_query_filter")
4550
+
3239
4551
 
3240
4552
  @pulumi.output_type
3241
- class GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult(dict):
4553
+ class GetUsageCarbonEmissionsQueryQueryDefinitionReportQueryGroupByTagResult(dict):
3242
4554
  def __init__(__self__, *,
3243
4555
  key: str,
3244
4556
  namespace: str,
3245
4557
  value: str):
3246
4558
  """
3247
4559
  :param str key: The tag key.
3248
- :param str namespace: The namespace needed to determine the object storage bucket.
4560
+ :param str namespace: The tag namespace.
3249
4561
  :param str value: The tag value.
3250
4562
  """
3251
4563
  pulumi.set(__self__, "key", key)
@@ -3264,7 +4576,7 @@ class GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult(dict):
3264
4576
  @pulumi.getter
3265
4577
  def namespace(self) -> str:
3266
4578
  """
3267
- The namespace needed to determine the object storage bucket.
4579
+ The tag namespace.
3268
4580
  """
3269
4581
  return pulumi.get(self, "namespace")
3270
4582
 
@@ -3277,54 +4589,3 @@ class GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult(dict):
3277
4589
  return pulumi.get(self, "value")
3278
4590
 
3279
4591
 
3280
- @pulumi.output_type
3281
- class GetSchedulesScheduleCollectionItemResultLocationResult(dict):
3282
- def __init__(__self__, *,
3283
- bucket: str,
3284
- location_type: str,
3285
- namespace: str,
3286
- region: str):
3287
- """
3288
- :param str bucket: The bucket name where usage or cost CSVs will be uploaded.
3289
- :param str location_type: Defines the type of location where the usage or cost CSVs will be stored.
3290
- :param str namespace: The namespace needed to determine the object storage bucket.
3291
- :param str region: The destination Object Store Region specified by the customer.
3292
- """
3293
- pulumi.set(__self__, "bucket", bucket)
3294
- pulumi.set(__self__, "location_type", location_type)
3295
- pulumi.set(__self__, "namespace", namespace)
3296
- pulumi.set(__self__, "region", region)
3297
-
3298
- @property
3299
- @pulumi.getter
3300
- def bucket(self) -> str:
3301
- """
3302
- The bucket name where usage or cost CSVs will be uploaded.
3303
- """
3304
- return pulumi.get(self, "bucket")
3305
-
3306
- @property
3307
- @pulumi.getter(name="locationType")
3308
- def location_type(self) -> str:
3309
- """
3310
- Defines the type of location where the usage or cost CSVs will be stored.
3311
- """
3312
- return pulumi.get(self, "location_type")
3313
-
3314
- @property
3315
- @pulumi.getter
3316
- def namespace(self) -> str:
3317
- """
3318
- The namespace needed to determine the object storage bucket.
3319
- """
3320
- return pulumi.get(self, "namespace")
3321
-
3322
- @property
3323
- @pulumi.getter
3324
- def region(self) -> str:
3325
- """
3326
- The destination Object Store Region specified by the customer.
3327
- """
3328
- return pulumi.get(self, "region")
3329
-
3330
-