pulumi-oci 3.4.0a1755585924__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.0a1755585924.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755585924.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.0a1755585924.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755585924.dist-info → pulumi_oci-3.4.0a1755922408.dist-info}/top_level.txt +0 -0
@@ -122,7 +122,7 @@ class AutoScalingConfigurationPolicy(dict):
|
|
122
122
|
:param 'AutoScalingConfigurationPolicyExecutionScheduleArgs' execution_schedule: An execution schedule for an autoscaling policy.
|
123
123
|
:param _builtins.str id: ID of the condition that is assigned after creation.
|
124
124
|
:param _builtins.bool is_enabled: Whether the autoscaling policy is enabled.
|
125
|
-
:param 'AutoScalingConfigurationPolicyResourceActionArgs' resource_action: An action
|
125
|
+
:param 'AutoScalingConfigurationPolicyResourceActionArgs' resource_action: An action to run on a resource, such as stopping or starting an instance pool.
|
126
126
|
:param _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`
|
127
127
|
"""
|
128
128
|
pulumi.set(__self__, "policy_type", policy_type)
|
@@ -195,7 +195,7 @@ class AutoScalingConfigurationPolicy(dict):
|
|
195
195
|
@pulumi.getter(name="resourceAction")
|
196
196
|
def resource_action(self) -> Optional['outputs.AutoScalingConfigurationPolicyResourceAction']:
|
197
197
|
"""
|
198
|
-
An action
|
198
|
+
An action to run on a resource, such as stopping or starting an instance pool.
|
199
199
|
"""
|
200
200
|
return pulumi.get(self, "resource_action")
|
201
201
|
|
@@ -347,7 +347,7 @@ class AutoScalingConfigurationPolicyResourceAction(dict):
|
|
347
347
|
action: _builtins.str,
|
348
348
|
action_type: _builtins.str):
|
349
349
|
"""
|
350
|
-
:param _builtins.str action_type: The
|
350
|
+
:param _builtins.str action_type: The category of action to run on the resource.
|
351
351
|
"""
|
352
352
|
pulumi.set(__self__, "action", action)
|
353
353
|
pulumi.set(__self__, "action_type", action_type)
|
@@ -361,7 +361,7 @@ class AutoScalingConfigurationPolicyResourceAction(dict):
|
|
361
361
|
@pulumi.getter(name="actionType")
|
362
362
|
def action_type(self) -> _builtins.str:
|
363
363
|
"""
|
364
|
-
The
|
364
|
+
The category of action to run on the resource.
|
365
365
|
"""
|
366
366
|
return pulumi.get(self, "action_type")
|
367
367
|
|
@@ -391,9 +391,9 @@ class AutoScalingConfigurationPolicyRule(dict):
|
|
391
391
|
id: Optional[_builtins.str] = None,
|
392
392
|
metric: Optional['outputs.AutoScalingConfigurationPolicyRuleMetric'] = None):
|
393
393
|
"""
|
394
|
+
:param _builtins.str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
394
395
|
:param 'AutoScalingConfigurationPolicyRuleActionArgs' action: The action to take when autoscaling is triggered.
|
395
396
|
:param _builtins.str id: ID of the condition that is assigned after creation.
|
396
|
-
:param 'AutoScalingConfigurationPolicyRuleMetricArgs' metric: Metric and threshold details for triggering an autoscaling action.
|
397
397
|
"""
|
398
398
|
pulumi.set(__self__, "display_name", display_name)
|
399
399
|
if action is not None:
|
@@ -406,6 +406,9 @@ class AutoScalingConfigurationPolicyRule(dict):
|
|
406
406
|
@_builtins.property
|
407
407
|
@pulumi.getter(name="displayName")
|
408
408
|
def display_name(self) -> _builtins.str:
|
409
|
+
"""
|
410
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
411
|
+
"""
|
409
412
|
return pulumi.get(self, "display_name")
|
410
413
|
|
411
414
|
@_builtins.property
|
@@ -427,9 +430,6 @@ class AutoScalingConfigurationPolicyRule(dict):
|
|
427
430
|
@_builtins.property
|
428
431
|
@pulumi.getter
|
429
432
|
def metric(self) -> Optional['outputs.AutoScalingConfigurationPolicyRuleMetric']:
|
430
|
-
"""
|
431
|
-
Metric and threshold details for triggering an autoscaling action.
|
432
|
-
"""
|
433
433
|
return pulumi.get(self, "metric")
|
434
434
|
|
435
435
|
|
@@ -469,8 +469,16 @@ class AutoScalingConfigurationPolicyRuleMetric(dict):
|
|
469
469
|
@staticmethod
|
470
470
|
def __key_warning(key: str):
|
471
471
|
suggest = None
|
472
|
-
if key == "
|
472
|
+
if key == "metricCompartmentId":
|
473
|
+
suggest = "metric_compartment_id"
|
474
|
+
elif key == "metricSource":
|
475
|
+
suggest = "metric_source"
|
476
|
+
elif key == "metricType":
|
473
477
|
suggest = "metric_type"
|
478
|
+
elif key == "pendingDuration":
|
479
|
+
suggest = "pending_duration"
|
480
|
+
elif key == "resourceGroup":
|
481
|
+
suggest = "resource_group"
|
474
482
|
|
475
483
|
if suggest:
|
476
484
|
pulumi.log.warn(f"Key '{key}' not found in AutoScalingConfigurationPolicyRuleMetric. Access the value via the '{suggest}' property getter instead.")
|
@@ -484,18 +492,120 @@ class AutoScalingConfigurationPolicyRuleMetric(dict):
|
|
484
492
|
return super().get(key, default)
|
485
493
|
|
486
494
|
def __init__(__self__, *,
|
495
|
+
metric_compartment_id: Optional[_builtins.str] = None,
|
496
|
+
metric_source: Optional[_builtins.str] = None,
|
487
497
|
metric_type: Optional[_builtins.str] = None,
|
498
|
+
namespace: Optional[_builtins.str] = None,
|
499
|
+
pending_duration: Optional[_builtins.str] = None,
|
500
|
+
query: Optional[_builtins.str] = None,
|
501
|
+
resource_group: Optional[_builtins.str] = None,
|
488
502
|
threshold: Optional['outputs.AutoScalingConfigurationPolicyRuleMetricThreshold'] = None):
|
503
|
+
"""
|
504
|
+
:param _builtins.str metric_compartment_id: The OCID of the compartment containing the metrics.
|
505
|
+
:param _builtins.str metric_source: Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
506
|
+
|
507
|
+
The following values are supported:
|
508
|
+
* `COMPUTE_AGENT`: CPU or memory metrics emitted by the Compute Instance Monitoring plugin.
|
509
|
+
* `CUSTOM_QUERY`: A custom Monitoring Query Language (MQL) expression.
|
510
|
+
:param _builtins.str namespace: The namespace for the query.
|
511
|
+
:param _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."
|
512
|
+
|
513
|
+
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.
|
514
|
+
:param _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()`.
|
515
|
+
|
516
|
+
Example of threshold alarm:
|
517
|
+
|
518
|
+
-----
|
519
|
+
|
520
|
+
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
|
521
|
+
|
522
|
+
-----
|
523
|
+
:param _builtins.str resource_group: The resource group for the query.
|
524
|
+
"""
|
525
|
+
if metric_compartment_id is not None:
|
526
|
+
pulumi.set(__self__, "metric_compartment_id", metric_compartment_id)
|
527
|
+
if metric_source is not None:
|
528
|
+
pulumi.set(__self__, "metric_source", metric_source)
|
489
529
|
if metric_type is not None:
|
490
530
|
pulumi.set(__self__, "metric_type", metric_type)
|
531
|
+
if namespace is not None:
|
532
|
+
pulumi.set(__self__, "namespace", namespace)
|
533
|
+
if pending_duration is not None:
|
534
|
+
pulumi.set(__self__, "pending_duration", pending_duration)
|
535
|
+
if query is not None:
|
536
|
+
pulumi.set(__self__, "query", query)
|
537
|
+
if resource_group is not None:
|
538
|
+
pulumi.set(__self__, "resource_group", resource_group)
|
491
539
|
if threshold is not None:
|
492
540
|
pulumi.set(__self__, "threshold", threshold)
|
493
541
|
|
542
|
+
@_builtins.property
|
543
|
+
@pulumi.getter(name="metricCompartmentId")
|
544
|
+
def metric_compartment_id(self) -> Optional[_builtins.str]:
|
545
|
+
"""
|
546
|
+
The OCID of the compartment containing the metrics.
|
547
|
+
"""
|
548
|
+
return pulumi.get(self, "metric_compartment_id")
|
549
|
+
|
550
|
+
@_builtins.property
|
551
|
+
@pulumi.getter(name="metricSource")
|
552
|
+
def metric_source(self) -> Optional[_builtins.str]:
|
553
|
+
"""
|
554
|
+
Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
555
|
+
|
556
|
+
The following values are supported:
|
557
|
+
* `COMPUTE_AGENT`: CPU or memory metrics emitted by the Compute Instance Monitoring plugin.
|
558
|
+
* `CUSTOM_QUERY`: A custom Monitoring Query Language (MQL) expression.
|
559
|
+
"""
|
560
|
+
return pulumi.get(self, "metric_source")
|
561
|
+
|
494
562
|
@_builtins.property
|
495
563
|
@pulumi.getter(name="metricType")
|
496
564
|
def metric_type(self) -> Optional[_builtins.str]:
|
497
565
|
return pulumi.get(self, "metric_type")
|
498
566
|
|
567
|
+
@_builtins.property
|
568
|
+
@pulumi.getter
|
569
|
+
def namespace(self) -> Optional[_builtins.str]:
|
570
|
+
"""
|
571
|
+
The namespace for the query.
|
572
|
+
"""
|
573
|
+
return pulumi.get(self, "namespace")
|
574
|
+
|
575
|
+
@_builtins.property
|
576
|
+
@pulumi.getter(name="pendingDuration")
|
577
|
+
def pending_duration(self) -> Optional[_builtins.str]:
|
578
|
+
"""
|
579
|
+
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."
|
580
|
+
|
581
|
+
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.
|
582
|
+
"""
|
583
|
+
return pulumi.get(self, "pending_duration")
|
584
|
+
|
585
|
+
@_builtins.property
|
586
|
+
@pulumi.getter
|
587
|
+
def query(self) -> Optional[_builtins.str]:
|
588
|
+
"""
|
589
|
+
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()`.
|
590
|
+
|
591
|
+
Example of threshold alarm:
|
592
|
+
|
593
|
+
-----
|
594
|
+
|
595
|
+
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
|
596
|
+
|
597
|
+
-----
|
598
|
+
"""
|
599
|
+
return pulumi.get(self, "query")
|
600
|
+
|
601
|
+
@_builtins.property
|
602
|
+
@pulumi.getter(name="resourceGroup")
|
603
|
+
def resource_group(self) -> Optional[_builtins.str]:
|
604
|
+
"""
|
605
|
+
The resource group for the query.
|
606
|
+
"""
|
607
|
+
return pulumi.get(self, "resource_group")
|
608
|
+
|
499
609
|
@_builtins.property
|
500
610
|
@pulumi.getter
|
501
611
|
def threshold(self) -> Optional['outputs.AutoScalingConfigurationPolicyRuleMetricThreshold']:
|
@@ -583,7 +693,7 @@ class GetAutoScalingConfigurationPolicyResult(dict):
|
|
583
693
|
:param _builtins.str id: ID of the condition that is assigned after creation.
|
584
694
|
:param _builtins.bool is_enabled: Whether the autoscaling policy is enabled.
|
585
695
|
:param _builtins.str policy_type: The type of autoscaling policy.
|
586
|
-
:param Sequence['GetAutoScalingConfigurationPolicyResourceActionArgs'] resource_actions: An action
|
696
|
+
:param Sequence['GetAutoScalingConfigurationPolicyResourceActionArgs'] resource_actions: An action to run on a resource, such as stopping or starting an instance pool.
|
587
697
|
:param _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`
|
588
698
|
"""
|
589
699
|
pulumi.set(__self__, "capacities", capacities)
|
@@ -648,7 +758,7 @@ class GetAutoScalingConfigurationPolicyResult(dict):
|
|
648
758
|
@pulumi.getter(name="resourceActions")
|
649
759
|
def resource_actions(self) -> Sequence['outputs.GetAutoScalingConfigurationPolicyResourceActionResult']:
|
650
760
|
"""
|
651
|
-
An action
|
761
|
+
An action to run on a resource, such as stopping or starting an instance pool.
|
652
762
|
"""
|
653
763
|
return pulumi.get(self, "resource_actions")
|
654
764
|
|
@@ -753,7 +863,7 @@ class GetAutoScalingConfigurationPolicyResourceActionResult(dict):
|
|
753
863
|
action_type: _builtins.str):
|
754
864
|
"""
|
755
865
|
:param _builtins.str action: The action to take when autoscaling is triggered.
|
756
|
-
:param _builtins.str action_type: The
|
866
|
+
:param _builtins.str action_type: The category of action to run on the resource.
|
757
867
|
"""
|
758
868
|
pulumi.set(__self__, "action", action)
|
759
869
|
pulumi.set(__self__, "action_type", action_type)
|
@@ -770,7 +880,7 @@ class GetAutoScalingConfigurationPolicyResourceActionResult(dict):
|
|
770
880
|
@pulumi.getter(name="actionType")
|
771
881
|
def action_type(self) -> _builtins.str:
|
772
882
|
"""
|
773
|
-
The
|
883
|
+
The category of action to run on the resource.
|
774
884
|
"""
|
775
885
|
return pulumi.get(self, "action_type")
|
776
886
|
|
@@ -786,7 +896,6 @@ class GetAutoScalingConfigurationPolicyRuleResult(dict):
|
|
786
896
|
:param Sequence['GetAutoScalingConfigurationPolicyRuleActionArgs'] actions: The action to take when autoscaling is triggered.
|
787
897
|
:param _builtins.str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
788
898
|
:param _builtins.str id: ID of the condition that is assigned after creation.
|
789
|
-
:param Sequence['GetAutoScalingConfigurationPolicyRuleMetricArgs'] metrics: Metric and threshold details for triggering an autoscaling action.
|
790
899
|
"""
|
791
900
|
pulumi.set(__self__, "actions", actions)
|
792
901
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -820,9 +929,6 @@ class GetAutoScalingConfigurationPolicyRuleResult(dict):
|
|
820
929
|
@_builtins.property
|
821
930
|
@pulumi.getter
|
822
931
|
def metrics(self) -> Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricResult']:
|
823
|
-
"""
|
824
|
-
Metric and threshold details for triggering an autoscaling action.
|
825
|
-
"""
|
826
932
|
return pulumi.get(self, "metrics")
|
827
933
|
|
828
934
|
|
@@ -854,16 +960,88 @@ class GetAutoScalingConfigurationPolicyRuleActionResult(dict):
|
|
854
960
|
@pulumi.output_type
|
855
961
|
class GetAutoScalingConfigurationPolicyRuleMetricResult(dict):
|
856
962
|
def __init__(__self__, *,
|
963
|
+
metric_compartment_id: _builtins.str,
|
964
|
+
metric_source: _builtins.str,
|
857
965
|
metric_type: _builtins.str,
|
966
|
+
namespace: _builtins.str,
|
967
|
+
pending_duration: _builtins.str,
|
968
|
+
query: _builtins.str,
|
969
|
+
resource_group: _builtins.str,
|
858
970
|
thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricThresholdResult']):
|
971
|
+
"""
|
972
|
+
:param _builtins.str metric_compartment_id: The OCID of the compartment containing the metrics.
|
973
|
+
:param _builtins.str metric_source: Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
974
|
+
:param _builtins.str metric_type: Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
|
975
|
+
:param _builtins.str namespace: The namespace for the query.
|
976
|
+
:param _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."
|
977
|
+
:param _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()`.
|
978
|
+
:param _builtins.str resource_group: The resource group for the query.
|
979
|
+
"""
|
980
|
+
pulumi.set(__self__, "metric_compartment_id", metric_compartment_id)
|
981
|
+
pulumi.set(__self__, "metric_source", metric_source)
|
859
982
|
pulumi.set(__self__, "metric_type", metric_type)
|
983
|
+
pulumi.set(__self__, "namespace", namespace)
|
984
|
+
pulumi.set(__self__, "pending_duration", pending_duration)
|
985
|
+
pulumi.set(__self__, "query", query)
|
986
|
+
pulumi.set(__self__, "resource_group", resource_group)
|
860
987
|
pulumi.set(__self__, "thresholds", thresholds)
|
861
988
|
|
989
|
+
@_builtins.property
|
990
|
+
@pulumi.getter(name="metricCompartmentId")
|
991
|
+
def metric_compartment_id(self) -> _builtins.str:
|
992
|
+
"""
|
993
|
+
The OCID of the compartment containing the metrics.
|
994
|
+
"""
|
995
|
+
return pulumi.get(self, "metric_compartment_id")
|
996
|
+
|
997
|
+
@_builtins.property
|
998
|
+
@pulumi.getter(name="metricSource")
|
999
|
+
def metric_source(self) -> _builtins.str:
|
1000
|
+
"""
|
1001
|
+
Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
1002
|
+
"""
|
1003
|
+
return pulumi.get(self, "metric_source")
|
1004
|
+
|
862
1005
|
@_builtins.property
|
863
1006
|
@pulumi.getter(name="metricType")
|
864
1007
|
def metric_type(self) -> _builtins.str:
|
1008
|
+
"""
|
1009
|
+
Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
|
1010
|
+
"""
|
865
1011
|
return pulumi.get(self, "metric_type")
|
866
1012
|
|
1013
|
+
@_builtins.property
|
1014
|
+
@pulumi.getter
|
1015
|
+
def namespace(self) -> _builtins.str:
|
1016
|
+
"""
|
1017
|
+
The namespace for the query.
|
1018
|
+
"""
|
1019
|
+
return pulumi.get(self, "namespace")
|
1020
|
+
|
1021
|
+
@_builtins.property
|
1022
|
+
@pulumi.getter(name="pendingDuration")
|
1023
|
+
def pending_duration(self) -> _builtins.str:
|
1024
|
+
"""
|
1025
|
+
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."
|
1026
|
+
"""
|
1027
|
+
return pulumi.get(self, "pending_duration")
|
1028
|
+
|
1029
|
+
@_builtins.property
|
1030
|
+
@pulumi.getter
|
1031
|
+
def query(self) -> _builtins.str:
|
1032
|
+
"""
|
1033
|
+
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()`.
|
1034
|
+
"""
|
1035
|
+
return pulumi.get(self, "query")
|
1036
|
+
|
1037
|
+
@_builtins.property
|
1038
|
+
@pulumi.getter(name="resourceGroup")
|
1039
|
+
def resource_group(self) -> _builtins.str:
|
1040
|
+
"""
|
1041
|
+
The resource group for the query.
|
1042
|
+
"""
|
1043
|
+
return pulumi.get(self, "resource_group")
|
1044
|
+
|
867
1045
|
@_builtins.property
|
868
1046
|
@pulumi.getter
|
869
1047
|
def thresholds(self) -> Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricThresholdResult']:
|
@@ -1082,7 +1260,7 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResult(dict):
|
|
1082
1260
|
:param _builtins.str id: ID of the condition that is assigned after creation.
|
1083
1261
|
:param _builtins.bool is_enabled: Whether the autoscaling policy is enabled.
|
1084
1262
|
:param _builtins.str policy_type: The type of autoscaling policy.
|
1085
|
-
:param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionArgs'] resource_actions: An action
|
1263
|
+
:param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionArgs'] resource_actions: An action to run on a resource, such as stopping or starting an instance pool.
|
1086
1264
|
:param _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`
|
1087
1265
|
"""
|
1088
1266
|
pulumi.set(__self__, "capacities", capacities)
|
@@ -1147,7 +1325,7 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResult(dict):
|
|
1147
1325
|
@pulumi.getter(name="resourceActions")
|
1148
1326
|
def resource_actions(self) -> Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionResult']:
|
1149
1327
|
"""
|
1150
|
-
An action
|
1328
|
+
An action to run on a resource, such as stopping or starting an instance pool.
|
1151
1329
|
"""
|
1152
1330
|
return pulumi.get(self, "resource_actions")
|
1153
1331
|
|
@@ -1252,7 +1430,7 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionRe
|
|
1252
1430
|
action_type: _builtins.str):
|
1253
1431
|
"""
|
1254
1432
|
:param _builtins.str action: The action to take when autoscaling is triggered.
|
1255
|
-
:param _builtins.str action_type: The
|
1433
|
+
:param _builtins.str action_type: The category of action to run on the resource.
|
1256
1434
|
"""
|
1257
1435
|
pulumi.set(__self__, "action", action)
|
1258
1436
|
pulumi.set(__self__, "action_type", action_type)
|
@@ -1269,7 +1447,7 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionRe
|
|
1269
1447
|
@pulumi.getter(name="actionType")
|
1270
1448
|
def action_type(self) -> _builtins.str:
|
1271
1449
|
"""
|
1272
|
-
The
|
1450
|
+
The category of action to run on the resource.
|
1273
1451
|
"""
|
1274
1452
|
return pulumi.get(self, "action_type")
|
1275
1453
|
|
@@ -1285,7 +1463,7 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult(dict)
|
|
1285
1463
|
:param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleActionArgs'] actions: The action to take when autoscaling is triggered.
|
1286
1464
|
:param _builtins.str display_name: A filter to return only resources that match the given display name exactly.
|
1287
1465
|
:param _builtins.str id: ID of the condition that is assigned after creation.
|
1288
|
-
:param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricArgs'] metrics: Metric
|
1466
|
+
:param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricArgs'] metrics: Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
|
1289
1467
|
"""
|
1290
1468
|
pulumi.set(__self__, "actions", actions)
|
1291
1469
|
pulumi.set(__self__, "display_name", display_name)
|
@@ -1320,7 +1498,7 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult(dict)
|
|
1320
1498
|
@pulumi.getter
|
1321
1499
|
def metrics(self) -> Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult']:
|
1322
1500
|
"""
|
1323
|
-
Metric
|
1501
|
+
Metric type example: CPU_UTILIZATION, MEMORY_UTILIZATION
|
1324
1502
|
"""
|
1325
1503
|
return pulumi.get(self, "metrics")
|
1326
1504
|
|
@@ -1353,16 +1531,84 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleActionResult
|
|
1353
1531
|
@pulumi.output_type
|
1354
1532
|
class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult(dict):
|
1355
1533
|
def __init__(__self__, *,
|
1534
|
+
metric_compartment_id: _builtins.str,
|
1535
|
+
metric_source: _builtins.str,
|
1356
1536
|
metric_type: _builtins.str,
|
1537
|
+
namespace: _builtins.str,
|
1538
|
+
pending_duration: _builtins.str,
|
1539
|
+
query: _builtins.str,
|
1540
|
+
resource_group: _builtins.str,
|
1357
1541
|
thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult']):
|
1542
|
+
"""
|
1543
|
+
:param _builtins.str metric_compartment_id: The OCID of the compartment containing the metrics.
|
1544
|
+
:param _builtins.str metric_source: Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
1545
|
+
:param _builtins.str namespace: The namespace for the query.
|
1546
|
+
:param _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."
|
1547
|
+
:param _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()`.
|
1548
|
+
:param _builtins.str resource_group: The resource group for the query.
|
1549
|
+
"""
|
1550
|
+
pulumi.set(__self__, "metric_compartment_id", metric_compartment_id)
|
1551
|
+
pulumi.set(__self__, "metric_source", metric_source)
|
1358
1552
|
pulumi.set(__self__, "metric_type", metric_type)
|
1553
|
+
pulumi.set(__self__, "namespace", namespace)
|
1554
|
+
pulumi.set(__self__, "pending_duration", pending_duration)
|
1555
|
+
pulumi.set(__self__, "query", query)
|
1556
|
+
pulumi.set(__self__, "resource_group", resource_group)
|
1359
1557
|
pulumi.set(__self__, "thresholds", thresholds)
|
1360
1558
|
|
1559
|
+
@_builtins.property
|
1560
|
+
@pulumi.getter(name="metricCompartmentId")
|
1561
|
+
def metric_compartment_id(self) -> _builtins.str:
|
1562
|
+
"""
|
1563
|
+
The OCID of the compartment containing the metrics.
|
1564
|
+
"""
|
1565
|
+
return pulumi.get(self, "metric_compartment_id")
|
1566
|
+
|
1567
|
+
@_builtins.property
|
1568
|
+
@pulumi.getter(name="metricSource")
|
1569
|
+
def metric_source(self) -> _builtins.str:
|
1570
|
+
"""
|
1571
|
+
Source of the metric data for creating the alarm used to trigger autoscaling actions.
|
1572
|
+
"""
|
1573
|
+
return pulumi.get(self, "metric_source")
|
1574
|
+
|
1361
1575
|
@_builtins.property
|
1362
1576
|
@pulumi.getter(name="metricType")
|
1363
1577
|
def metric_type(self) -> _builtins.str:
|
1364
1578
|
return pulumi.get(self, "metric_type")
|
1365
1579
|
|
1580
|
+
@_builtins.property
|
1581
|
+
@pulumi.getter
|
1582
|
+
def namespace(self) -> _builtins.str:
|
1583
|
+
"""
|
1584
|
+
The namespace for the query.
|
1585
|
+
"""
|
1586
|
+
return pulumi.get(self, "namespace")
|
1587
|
+
|
1588
|
+
@_builtins.property
|
1589
|
+
@pulumi.getter(name="pendingDuration")
|
1590
|
+
def pending_duration(self) -> _builtins.str:
|
1591
|
+
"""
|
1592
|
+
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."
|
1593
|
+
"""
|
1594
|
+
return pulumi.get(self, "pending_duration")
|
1595
|
+
|
1596
|
+
@_builtins.property
|
1597
|
+
@pulumi.getter
|
1598
|
+
def query(self) -> _builtins.str:
|
1599
|
+
"""
|
1600
|
+
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()`.
|
1601
|
+
"""
|
1602
|
+
return pulumi.get(self, "query")
|
1603
|
+
|
1604
|
+
@_builtins.property
|
1605
|
+
@pulumi.getter(name="resourceGroup")
|
1606
|
+
def resource_group(self) -> _builtins.str:
|
1607
|
+
"""
|
1608
|
+
The resource group for the query.
|
1609
|
+
"""
|
1610
|
+
return pulumi.get(self, "resource_group")
|
1611
|
+
|
1366
1612
|
@_builtins.property
|
1367
1613
|
@pulumi.getter
|
1368
1614
|
def thresholds(self) -> Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult']:
|