pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.4.0a1755922408__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.
- pulumi_oci/__init__.py +168 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +365 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +139 -7
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +470 -75
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +2 -2
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/outputs.py +192 -2
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/outputs.py +27 -8
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +3 -0
- pulumi_oci/oci/_inputs.py +146 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/outputs.py +367 -0
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/RECORD +185 -134
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/ai_private_endpoint.py +0 -643
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +0 -281
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/top_level.txt +0 -0
@@ -117,7 +117,7 @@ if not MYPY:
|
|
117
117
|
"""
|
118
118
|
resource_action: NotRequired[pulumi.Input['AutoScalingConfigurationPolicyResourceActionArgsDict']]
|
119
119
|
"""
|
120
|
-
An action
|
120
|
+
An action to run on a resource, such as stopping or starting an instance pool.
|
121
121
|
"""
|
122
122
|
rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyRuleArgsDict']]]]
|
123
123
|
time_created: NotRequired[pulumi.Input[_builtins.str]]
|
@@ -146,7 +146,7 @@ class AutoScalingConfigurationPolicyArgs:
|
|
146
146
|
:param pulumi.Input['AutoScalingConfigurationPolicyExecutionScheduleArgs'] execution_schedule: An execution schedule for an autoscaling policy.
|
147
147
|
:param pulumi.Input[_builtins.str] id: ID of the condition that is assigned after creation.
|
148
148
|
:param pulumi.Input[_builtins.bool] is_enabled: Whether the autoscaling policy is enabled.
|
149
|
-
:param pulumi.Input['AutoScalingConfigurationPolicyResourceActionArgs'] resource_action: An action
|
149
|
+
:param pulumi.Input['AutoScalingConfigurationPolicyResourceActionArgs'] resource_action: An action to run on a resource, such as stopping or starting an instance pool.
|
150
150
|
:param pulumi.Input[_builtins.str] time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z`
|
151
151
|
"""
|
152
152
|
pulumi.set(__self__, "policy_type", policy_type)
|
@@ -243,7 +243,7 @@ class AutoScalingConfigurationPolicyArgs:
|
|
243
243
|
@pulumi.getter(name="resourceAction")
|
244
244
|
def resource_action(self) -> Optional[pulumi.Input['AutoScalingConfigurationPolicyResourceActionArgs']]:
|
245
245
|
"""
|
246
|
-
An action
|
246
|
+
An action to run on a resource, such as stopping or starting an instance pool.
|
247
247
|
"""
|
248
248
|
return pulumi.get(self, "resource_action")
|
249
249
|
|
@@ -461,7 +461,7 @@ if not MYPY:
|
|
461
461
|
action: pulumi.Input[_builtins.str]
|
462
462
|
action_type: pulumi.Input[_builtins.str]
|
463
463
|
"""
|
464
|
-
The
|
464
|
+
The category of action to run on the resource.
|
465
465
|
"""
|
466
466
|
elif False:
|
467
467
|
AutoScalingConfigurationPolicyResourceActionArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -472,7 +472,7 @@ class AutoScalingConfigurationPolicyResourceActionArgs:
|
|
472
472
|
action: pulumi.Input[_builtins.str],
|
473
473
|
action_type: pulumi.Input[_builtins.str]):
|
474
474
|
"""
|
475
|
-
:param pulumi.Input[_builtins.str] action_type: The
|
475
|
+
:param pulumi.Input[_builtins.str] action_type: The category of action to run on the resource.
|
476
476
|
"""
|
477
477
|
pulumi.set(__self__, "action", action)
|
478
478
|
pulumi.set(__self__, "action_type", action_type)
|
@@ -490,7 +490,7 @@ class AutoScalingConfigurationPolicyResourceActionArgs:
|
|
490
490
|
@pulumi.getter(name="actionType")
|
491
491
|
def action_type(self) -> pulumi.Input[_builtins.str]:
|
492
492
|
"""
|
493
|
-
The
|
493
|
+
The category of action to run on the resource.
|
494
494
|
"""
|
495
495
|
return pulumi.get(self, "action_type")
|
496
496
|
|
@@ -502,6 +502,9 @@ class AutoScalingConfigurationPolicyResourceActionArgs:
|
|
502
502
|
if not MYPY:
|
503
503
|
class AutoScalingConfigurationPolicyRuleArgsDict(TypedDict):
|
504
504
|
display_name: pulumi.Input[_builtins.str]
|
505
|
+
"""
|
506
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
507
|
+
"""
|
505
508
|
action: NotRequired[pulumi.Input['AutoScalingConfigurationPolicyRuleActionArgsDict']]
|
506
509
|
"""
|
507
510
|
The action to take when autoscaling is triggered.
|
@@ -511,9 +514,6 @@ if not MYPY:
|
|
511
514
|
ID of the condition that is assigned after creation.
|
512
515
|
"""
|
513
516
|
metric: NotRequired[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgsDict']]
|
514
|
-
"""
|
515
|
-
Metric and threshold details for triggering an autoscaling action.
|
516
|
-
"""
|
517
517
|
elif False:
|
518
518
|
AutoScalingConfigurationPolicyRuleArgsDict: TypeAlias = Mapping[str, Any]
|
519
519
|
|
@@ -525,9 +525,9 @@ class AutoScalingConfigurationPolicyRuleArgs:
|
|
525
525
|
id: Optional[pulumi.Input[_builtins.str]] = None,
|
526
526
|
metric: Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs']] = None):
|
527
527
|
"""
|
528
|
+
:param pulumi.Input[_builtins.str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
528
529
|
:param pulumi.Input['AutoScalingConfigurationPolicyRuleActionArgs'] action: The action to take when autoscaling is triggered.
|
529
530
|
:param pulumi.Input[_builtins.str] id: ID of the condition that is assigned after creation.
|
530
|
-
:param pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs'] metric: Metric and threshold details for triggering an autoscaling action.
|
531
531
|
"""
|
532
532
|
pulumi.set(__self__, "display_name", display_name)
|
533
533
|
if action is not None:
|
@@ -540,6 +540,9 @@ class AutoScalingConfigurationPolicyRuleArgs:
|
|
540
540
|
@_builtins.property
|
541
541
|
@pulumi.getter(name="displayName")
|
542
542
|
def display_name(self) -> pulumi.Input[_builtins.str]:
|
543
|
+
"""
|
544
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
545
|
+
"""
|
543
546
|
return pulumi.get(self, "display_name")
|
544
547
|
|
545
548
|
@display_name.setter
|
@@ -573,9 +576,6 @@ class AutoScalingConfigurationPolicyRuleArgs:
|
|
573
576
|
@_builtins.property
|
574
577
|
@pulumi.getter
|
575
578
|
def metric(self) -> Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs']]:
|
576
|
-
"""
|
577
|
-
Metric and threshold details for triggering an autoscaling action.
|
578
|
-
"""
|
579
579
|
return pulumi.get(self, "metric")
|
580
580
|
|
581
581
|
@metric.setter
|
@@ -637,7 +637,45 @@ class AutoScalingConfigurationPolicyRuleActionArgs:
|
|
637
637
|
|
638
638
|
if not MYPY:
|
639
639
|
class AutoScalingConfigurationPolicyRuleMetricArgsDict(TypedDict):
|
640
|
+
metric_compartment_id: NotRequired[pulumi.Input[_builtins.str]]
|
641
|
+
"""
|
642
|
+
The OCID of the compartment containing the metrics.
|
643
|
+
"""
|
644
|
+
metric_source: NotRequired[pulumi.Input[_builtins.str]]
|
645
|
+
"""
|
646
|
+
Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
647
|
+
|
648
|
+
The following values are supported:
|
649
|
+
* `COMPUTE_AGENT`: CPU or memory metrics emitted by the Compute Instance Monitoring plugin.
|
650
|
+
* `CUSTOM_QUERY`: A custom Monitoring Query Language (MQL) expression.
|
651
|
+
"""
|
640
652
|
metric_type: NotRequired[pulumi.Input[_builtins.str]]
|
653
|
+
namespace: NotRequired[pulumi.Input[_builtins.str]]
|
654
|
+
"""
|
655
|
+
The namespace for the query.
|
656
|
+
"""
|
657
|
+
pending_duration: NotRequired[pulumi.Input[_builtins.str]]
|
658
|
+
"""
|
659
|
+
The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
|
660
|
+
|
661
|
+
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
|
662
|
+
"""
|
663
|
+
query: NotRequired[pulumi.Input[_builtins.str]]
|
664
|
+
"""
|
665
|
+
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: `1m`-`60m` (also `1h`). You can optionally specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`.
|
666
|
+
|
667
|
+
Example of threshold alarm:
|
668
|
+
|
669
|
+
-----
|
670
|
+
|
671
|
+
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
|
672
|
+
|
673
|
+
-----
|
674
|
+
"""
|
675
|
+
resource_group: NotRequired[pulumi.Input[_builtins.str]]
|
676
|
+
"""
|
677
|
+
The resource group for the query.
|
678
|
+
"""
|
641
679
|
threshold: NotRequired[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricThresholdArgsDict']]
|
642
680
|
elif False:
|
643
681
|
AutoScalingConfigurationPolicyRuleMetricArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -645,13 +683,81 @@ elif False:
|
|
645
683
|
@pulumi.input_type
|
646
684
|
class AutoScalingConfigurationPolicyRuleMetricArgs:
|
647
685
|
def __init__(__self__, *,
|
686
|
+
metric_compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
687
|
+
metric_source: Optional[pulumi.Input[_builtins.str]] = None,
|
648
688
|
metric_type: Optional[pulumi.Input[_builtins.str]] = None,
|
689
|
+
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
690
|
+
pending_duration: Optional[pulumi.Input[_builtins.str]] = None,
|
691
|
+
query: Optional[pulumi.Input[_builtins.str]] = None,
|
692
|
+
resource_group: Optional[pulumi.Input[_builtins.str]] = None,
|
649
693
|
threshold: Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricThresholdArgs']] = None):
|
694
|
+
"""
|
695
|
+
:param pulumi.Input[_builtins.str] metric_compartment_id: The OCID of the compartment containing the metrics.
|
696
|
+
:param pulumi.Input[_builtins.str] metric_source: Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
697
|
+
|
698
|
+
The following values are supported:
|
699
|
+
* `COMPUTE_AGENT`: CPU or memory metrics emitted by the Compute Instance Monitoring plugin.
|
700
|
+
* `CUSTOM_QUERY`: A custom Monitoring Query Language (MQL) expression.
|
701
|
+
:param pulumi.Input[_builtins.str] namespace: The namespace for the query.
|
702
|
+
:param pulumi.Input[_builtins.str] pending_duration: The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
|
703
|
+
|
704
|
+
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
|
705
|
+
:param pulumi.Input[_builtins.str] query: The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: `1m`-`60m` (also `1h`). You can optionally specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`.
|
706
|
+
|
707
|
+
Example of threshold alarm:
|
708
|
+
|
709
|
+
-----
|
710
|
+
|
711
|
+
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
|
712
|
+
|
713
|
+
-----
|
714
|
+
:param pulumi.Input[_builtins.str] resource_group: The resource group for the query.
|
715
|
+
"""
|
716
|
+
if metric_compartment_id is not None:
|
717
|
+
pulumi.set(__self__, "metric_compartment_id", metric_compartment_id)
|
718
|
+
if metric_source is not None:
|
719
|
+
pulumi.set(__self__, "metric_source", metric_source)
|
650
720
|
if metric_type is not None:
|
651
721
|
pulumi.set(__self__, "metric_type", metric_type)
|
722
|
+
if namespace is not None:
|
723
|
+
pulumi.set(__self__, "namespace", namespace)
|
724
|
+
if pending_duration is not None:
|
725
|
+
pulumi.set(__self__, "pending_duration", pending_duration)
|
726
|
+
if query is not None:
|
727
|
+
pulumi.set(__self__, "query", query)
|
728
|
+
if resource_group is not None:
|
729
|
+
pulumi.set(__self__, "resource_group", resource_group)
|
652
730
|
if threshold is not None:
|
653
731
|
pulumi.set(__self__, "threshold", threshold)
|
654
732
|
|
733
|
+
@_builtins.property
|
734
|
+
@pulumi.getter(name="metricCompartmentId")
|
735
|
+
def metric_compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
736
|
+
"""
|
737
|
+
The OCID of the compartment containing the metrics.
|
738
|
+
"""
|
739
|
+
return pulumi.get(self, "metric_compartment_id")
|
740
|
+
|
741
|
+
@metric_compartment_id.setter
|
742
|
+
def metric_compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
743
|
+
pulumi.set(self, "metric_compartment_id", value)
|
744
|
+
|
745
|
+
@_builtins.property
|
746
|
+
@pulumi.getter(name="metricSource")
|
747
|
+
def metric_source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
748
|
+
"""
|
749
|
+
Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
750
|
+
|
751
|
+
The following values are supported:
|
752
|
+
* `COMPUTE_AGENT`: CPU or memory metrics emitted by the Compute Instance Monitoring plugin.
|
753
|
+
* `CUSTOM_QUERY`: A custom Monitoring Query Language (MQL) expression.
|
754
|
+
"""
|
755
|
+
return pulumi.get(self, "metric_source")
|
756
|
+
|
757
|
+
@metric_source.setter
|
758
|
+
def metric_source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
759
|
+
pulumi.set(self, "metric_source", value)
|
760
|
+
|
655
761
|
@_builtins.property
|
656
762
|
@pulumi.getter(name="metricType")
|
657
763
|
def metric_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -661,6 +767,64 @@ class AutoScalingConfigurationPolicyRuleMetricArgs:
|
|
661
767
|
def metric_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
662
768
|
pulumi.set(self, "metric_type", value)
|
663
769
|
|
770
|
+
@_builtins.property
|
771
|
+
@pulumi.getter
|
772
|
+
def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
|
773
|
+
"""
|
774
|
+
The namespace for the query.
|
775
|
+
"""
|
776
|
+
return pulumi.get(self, "namespace")
|
777
|
+
|
778
|
+
@namespace.setter
|
779
|
+
def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
|
780
|
+
pulumi.set(self, "namespace", value)
|
781
|
+
|
782
|
+
@_builtins.property
|
783
|
+
@pulumi.getter(name="pendingDuration")
|
784
|
+
def pending_duration(self) -> Optional[pulumi.Input[_builtins.str]]:
|
785
|
+
"""
|
786
|
+
The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING" or vice versa. For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING"; likewise, the alarm must persist in not breaching the condition for five minutes before the alarm updates its state to "OK."
|
787
|
+
|
788
|
+
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
|
789
|
+
"""
|
790
|
+
return pulumi.get(self, "pending_duration")
|
791
|
+
|
792
|
+
@pending_duration.setter
|
793
|
+
def pending_duration(self, value: Optional[pulumi.Input[_builtins.str]]):
|
794
|
+
pulumi.set(self, "pending_duration", value)
|
795
|
+
|
796
|
+
@_builtins.property
|
797
|
+
@pulumi.getter
|
798
|
+
def query(self) -> Optional[pulumi.Input[_builtins.str]]:
|
799
|
+
"""
|
800
|
+
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval: `1m`-`60m` (also `1h`). You can optionally specify dimensions and grouping functions. Supported grouping functions: `grouping()`, `groupBy()`.
|
801
|
+
|
802
|
+
Example of threshold alarm:
|
803
|
+
|
804
|
+
-----
|
805
|
+
|
806
|
+
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
|
807
|
+
|
808
|
+
-----
|
809
|
+
"""
|
810
|
+
return pulumi.get(self, "query")
|
811
|
+
|
812
|
+
@query.setter
|
813
|
+
def query(self, value: Optional[pulumi.Input[_builtins.str]]):
|
814
|
+
pulumi.set(self, "query", value)
|
815
|
+
|
816
|
+
@_builtins.property
|
817
|
+
@pulumi.getter(name="resourceGroup")
|
818
|
+
def resource_group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
819
|
+
"""
|
820
|
+
The resource group for the query.
|
821
|
+
"""
|
822
|
+
return pulumi.get(self, "resource_group")
|
823
|
+
|
824
|
+
@resource_group.setter
|
825
|
+
def resource_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
826
|
+
pulumi.set(self, "resource_group", value)
|
827
|
+
|
664
828
|
@_builtins.property
|
665
829
|
@pulumi.getter
|
666
830
|
def threshold(self) -> Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricThresholdArgs']]:
|
@@ -408,7 +408,13 @@ class AutoScalingConfiguration(pulumi.CustomResource):
|
|
408
408
|
},
|
409
409
|
"display_name": auto_scaling_configuration_policies_rules_display_name,
|
410
410
|
"metric": {
|
411
|
+
"metric_compartment_id": test_compartment["id"],
|
412
|
+
"metric_source": auto_scaling_configuration_policies_rules_metric_metric_source,
|
411
413
|
"metric_type": auto_scaling_configuration_policies_rules_metric_metric_type,
|
414
|
+
"namespace": auto_scaling_configuration_policies_rules_metric_namespace,
|
415
|
+
"pending_duration": auto_scaling_configuration_policies_rules_metric_pending_duration,
|
416
|
+
"query": auto_scaling_configuration_policies_rules_metric_query,
|
417
|
+
"resource_group": auto_scaling_configuration_policies_rules_metric_resource_group,
|
412
418
|
"threshold": {
|
413
419
|
"operator": auto_scaling_configuration_policies_rules_metric_threshold_operator,
|
414
420
|
"value": auto_scaling_configuration_policies_rules_metric_threshold_value,
|
@@ -498,7 +504,13 @@ class AutoScalingConfiguration(pulumi.CustomResource):
|
|
498
504
|
},
|
499
505
|
"display_name": auto_scaling_configuration_policies_rules_display_name,
|
500
506
|
"metric": {
|
507
|
+
"metric_compartment_id": test_compartment["id"],
|
508
|
+
"metric_source": auto_scaling_configuration_policies_rules_metric_metric_source,
|
501
509
|
"metric_type": auto_scaling_configuration_policies_rules_metric_metric_type,
|
510
|
+
"namespace": auto_scaling_configuration_policies_rules_metric_namespace,
|
511
|
+
"pending_duration": auto_scaling_configuration_policies_rules_metric_pending_duration,
|
512
|
+
"query": auto_scaling_configuration_policies_rules_metric_query,
|
513
|
+
"resource_group": auto_scaling_configuration_policies_rules_metric_resource_group,
|
502
514
|
"threshold": {
|
503
515
|
"operator": auto_scaling_configuration_policies_rules_metric_threshold_operator,
|
504
516
|
"value": auto_scaling_configuration_policies_rules_metric_threshold_value,
|