pulumi-oci 2.24.0a1738823453__py3-none-any.whl → 2.25.0__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 +107 -0
- pulumi_oci/_utilities.py +8 -4
- pulumi_oci/config/__init__.pyi +2 -0
- pulumi_oci/config/vars.py +4 -0
- pulumi_oci/containerengine/_inputs.py +40 -0
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/outputs.py +70 -0
- pulumi_oci/database/__init__.py +20 -0
- pulumi_oci/database/_inputs.py +2474 -1135
- pulumi_oci/database/autonomous_container_database.py +92 -0
- pulumi_oci/database/autonomous_database.py +97 -8
- pulumi_oci/database/backup_destination.py +84 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/db_system.py +111 -8
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/execution_action.py +812 -0
- pulumi_oci/database/execution_window.py +856 -0
- pulumi_oci/database/get_autonomous_container_database.py +43 -1
- pulumi_oci/database/get_autonomous_database.py +32 -1
- pulumi_oci/database/get_autonomous_databases.py +0 -26
- pulumi_oci/database/get_backup_destination.py +43 -1
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +15 -1
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_database_maintenance_run_history.py +29 -1
- pulumi_oci/database/get_exadata_infrastructure.py +15 -1
- pulumi_oci/database/get_execution_action.py +352 -0
- pulumi_oci/database/get_execution_actions.py +213 -0
- pulumi_oci/database/get_execution_window.py +379 -0
- pulumi_oci/database/get_execution_windows.py +213 -0
- pulumi_oci/database/get_maintenance_run.py +32 -4
- pulumi_oci/database/get_maintenance_runs.py +20 -1
- pulumi_oci/database/get_scheduled_action.py +324 -0
- pulumi_oci/database/get_scheduled_action_params.py +144 -0
- pulumi_oci/database/get_scheduled_actions.py +240 -0
- pulumi_oci/database/get_scheduling_plan.py +323 -0
- pulumi_oci/database/get_scheduling_plans.py +243 -0
- pulumi_oci/database/get_scheduling_policies.py +191 -0
- pulumi_oci/database/get_scheduling_policy.py +268 -0
- pulumi_oci/database/get_scheduling_policy_recommended_scheduled_actions.py +182 -0
- pulumi_oci/database/get_scheduling_policy_scheduling_window.py +276 -0
- pulumi_oci/database/get_scheduling_policy_scheduling_windows.py +213 -0
- pulumi_oci/database/maintenance_run.py +58 -2
- pulumi_oci/database/outputs.py +13088 -8368
- pulumi_oci/database/scheduled_action.py +775 -0
- pulumi_oci/database/scheduling_plan.py +744 -0
- pulumi_oci/database/scheduling_policy.py +616 -0
- pulumi_oci/database/scheduling_policy_scheduling_window.py +584 -0
- pulumi_oci/datasafe/__init__.py +8 -0
- pulumi_oci/datasafe/_inputs.py +466 -12
- pulumi_oci/datasafe/alert.py +7 -7
- pulumi_oci/datasafe/alert_policy.py +7 -7
- pulumi_oci/datasafe/audit_archive_retrieval.py +7 -7
- pulumi_oci/datasafe/audit_policy.py +7 -7
- pulumi_oci/datasafe/audit_policy_management.py +21 -21
- pulumi_oci/datasafe/audit_profile.py +18 -18
- pulumi_oci/datasafe/audit_profile_management.py +21 -21
- pulumi_oci/datasafe/audit_trail.py +14 -14
- pulumi_oci/datasafe/audit_trail_management.py +14 -14
- pulumi_oci/datasafe/data_safe_configuration.py +4 -4
- pulumi_oci/datasafe/data_safe_private_endpoint.py +7 -7
- pulumi_oci/datasafe/database_security_config.py +7 -7
- pulumi_oci/datasafe/database_security_config_management.py +7 -7
- pulumi_oci/datasafe/discovery_mod.py +7 -7
- pulumi_oci/datasafe/get_alert.py +1 -1
- pulumi_oci/datasafe/get_alert_policy.py +1 -1
- pulumi_oci/datasafe/get_audit_archive_retrieval.py +1 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policy.py +1 -1
- pulumi_oci/datasafe/get_audit_profile.py +2 -2
- pulumi_oci/datasafe/get_audit_trail.py +1 -1
- pulumi_oci/datasafe/get_data_safe_configuration.py +1 -1
- pulumi_oci/datasafe/get_data_safe_private_endpoint.py +1 -1
- pulumi_oci/datasafe/get_database_security_config.py +1 -1
- pulumi_oci/datasafe/get_discovery_job.py +1 -1
- pulumi_oci/datasafe/get_library_masking_format.py +1 -1
- pulumi_oci/datasafe/get_masking_policy.py +1 -1
- pulumi_oci/datasafe/get_masking_policy_health_report.py +33 -5
- pulumi_oci/datasafe/get_masking_policy_referential_relations.py +232 -0
- pulumi_oci/datasafe/get_onprem_connector.py +1 -1
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_report_definition.py +1 -1
- pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +1 -1
- pulumi_oci/datasafe/get_security_assessment.py +1 -1
- pulumi_oci/datasafe/get_security_policy.py +1 -1
- pulumi_oci/datasafe/get_security_policy_deployment.py +1 -1
- pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
- pulumi_oci/datasafe/get_sensitive_data_model_referential_relation.py +186 -0
- pulumi_oci/datasafe/get_sensitive_data_model_referential_relations.py +254 -0
- pulumi_oci/datasafe/get_sensitive_type.py +1 -1
- pulumi_oci/datasafe/get_sensitive_types_export.py +267 -0
- pulumi_oci/datasafe/get_sensitive_types_exports.py +296 -0
- pulumi_oci/datasafe/get_sql_collection.py +1 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +1 -1
- pulumi_oci/datasafe/get_sql_firewall_policy.py +1 -1
- pulumi_oci/datasafe/get_target_alert_policy_association.py +1 -1
- pulumi_oci/datasafe/get_target_database.py +1 -1
- pulumi_oci/datasafe/get_user_assessment.py +1 -1
- pulumi_oci/datasafe/get_user_assessment_password_expiry_date_analytics.py +240 -0
- pulumi_oci/datasafe/get_user_assessment_user_analytics.py +41 -3
- pulumi_oci/datasafe/get_user_assessment_users.py +39 -1
- pulumi_oci/datasafe/library_masing_format.py +7 -7
- pulumi_oci/datasafe/masking_policy.py +7 -7
- pulumi_oci/datasafe/on_prem_connector.py +7 -7
- pulumi_oci/datasafe/outputs.py +1266 -151
- pulumi_oci/datasafe/report.py +7 -7
- pulumi_oci/datasafe/report_definition.py +7 -7
- pulumi_oci/datasafe/sdm_masking_policy_difference.py +7 -7
- pulumi_oci/datasafe/security_assessment.py +36 -37
- pulumi_oci/datasafe/security_policy.py +7 -7
- pulumi_oci/datasafe/security_policy_deployment.py +7 -7
- pulumi_oci/datasafe/security_policy_deployment_management.py +7 -7
- pulumi_oci/datasafe/security_policy_management.py +7 -7
- pulumi_oci/datasafe/sensitive_data_model.py +7 -7
- pulumi_oci/datasafe/sensitive_data_model_referential_relation.py +504 -0
- pulumi_oci/datasafe/sensitive_type.py +7 -7
- pulumi_oci/datasafe/sensitive_types_export.py +637 -0
- pulumi_oci/datasafe/sql_collection.py +7 -7
- pulumi_oci/datasafe/sql_firewall_policy.py +7 -7
- pulumi_oci/datasafe/sql_firewall_policy_management.py +56 -56
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -7
- pulumi_oci/datasafe/target_database.py +7 -7
- pulumi_oci/datasafe/user_assessment.py +7 -7
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1811 -0
- pulumi_oci/datascience/get_containers.py +270 -0
- pulumi_oci/datascience/get_schedule.py +366 -0
- pulumi_oci/datascience/get_schedules.py +221 -0
- pulumi_oci/datascience/outputs.py +8697 -4890
- pulumi_oci/datascience/schedule.py +1045 -0
- pulumi_oci/filestorage/file_system.py +28 -0
- pulumi_oci/filestorage/filesystem_snapshot_policy.py +28 -0
- pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +15 -1
- pulumi_oci/filestorage/get_outbound_connector.py +15 -1
- pulumi_oci/filestorage/get_replication.py +15 -1
- pulumi_oci/filestorage/get_replication_target.py +15 -1
- pulumi_oci/filestorage/get_snapshot.py +15 -1
- pulumi_oci/filestorage/mount_target.py +28 -0
- pulumi_oci/filestorage/outbound_connector.py +28 -0
- pulumi_oci/filestorage/outputs.py +77 -0
- pulumi_oci/filestorage/replication.py +28 -0
- pulumi_oci/filestorage/snapshot.py +28 -0
- pulumi_oci/goldengate/connection.py +561 -162
- pulumi_oci/goldengate/database_registration.py +14 -14
- pulumi_oci/goldengate/get_connection.py +117 -6
- pulumi_oci/goldengate/outputs.py +96 -10
- pulumi_oci/jms/__init__.py +4 -0
- pulumi_oci/jms/_inputs.py +196 -0
- pulumi_oci/jms/get_fleet_error_analytics.py +163 -0
- pulumi_oci/jms/get_fleet_errors.py +264 -0
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +23 -1
- pulumi_oci/jms/get_jms_plugins.py +23 -1
- pulumi_oci/jms/get_plugin_error_analytics.py +163 -0
- pulumi_oci/jms/get_plugin_errors.py +264 -0
- pulumi_oci/jms/outputs.py +566 -6
- pulumi_oci/mysql/_inputs.py +229 -9
- pulumi_oci/mysql/get_mysql_db_system.py +47 -1
- pulumi_oci/mysql/mysql_db_system.py +185 -0
- pulumi_oci/mysql/outputs.py +477 -26
- pulumi_oci/provider.py +20 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/stackmonitoring/__init__.py +8 -0
- pulumi_oci/stackmonitoring/_inputs.py +372 -1
- pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py +185 -0
- pulumi_oci/stackmonitoring/get_metric_extension.py +1 -1
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +15 -1
- pulumi_oci/stackmonitoring/get_monitoring_template.py +380 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py +318 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py +262 -0
- pulumi_oci/stackmonitoring/get_monitoring_templates.py +289 -0
- pulumi_oci/stackmonitoring/metric_extension.py +4 -4
- pulumi_oci/stackmonitoring/monitored_resource_type.py +30 -0
- pulumi_oci/stackmonitoring/monitoring_template.py +954 -0
- pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py +780 -0
- pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py +253 -0
- pulumi_oci/stackmonitoring/outputs.py +1305 -118
- pulumi_oci/tenantmanagercontrolplane/__init__.py +33 -0
- pulumi_oci/tenantmanagercontrolplane/_inputs.py +685 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription.py +478 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain.py +253 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py +281 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_domains.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_link.py +197 -0
- pulumi_oci/tenantmanagercontrolplane/get_links.py +191 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py +233 -0
- pulumi_oci/tenantmanagercontrolplane/get_organizations.py +147 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.py +213 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py +235 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription.py +464 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.py +210 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/outputs.py +3257 -0
- pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py +409 -0
- pulumi_oci/vault/__init__.py +1 -1
- pulumi_oci/vault/_inputs.py +92 -0
- pulumi_oci/vault/get_secret.py +40 -1
- pulumi_oci/vault/{get_secret_version.py → get_secret_version_sdk_v2.py} +32 -77
- pulumi_oci/vault/outputs.py +210 -0
- pulumi_oci/vault/secret.py +122 -0
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0.dist-info}/RECORD +213 -142
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0.dist-info}/top_level.txt +0 -0
@@ -27,7 +27,7 @@ class GetExadataInfrastructureResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getExadataInfrastructure.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, activated_storage_count=None, activation_file=None, additional_compute_count=None, additional_compute_system_model=None, additional_storage_count=None, admin_network_cidr=None, availability_domain=None, cloud_control_plane_server1=None, cloud_control_plane_server2=None, compartment_id=None, compute_count=None, contacts=None, corporate_proxy=None, cpus_enabled=None, create_async=None, csi_number=None, data_storage_size_in_tbs=None, db_node_storage_size_in_gbs=None, db_server_version=None, defined_file_system_configurations=None, defined_tags=None, display_name=None, dns_servers=None, exadata_infrastructure_id=None, freeform_tags=None, gateway=None, id=None, infini_band_network_cidr=None, is_cps_offline_report_enabled=None, is_multi_rack_deployment=None, lifecycle_details=None, maintenance_slo_status=None, maintenance_windows=None, max_cpu_count=None, max_data_storage_in_tbs=None, max_db_node_storage_in_gbs=None, max_memory_in_gbs=None, memory_size_in_gbs=None, monthly_db_server_version=None, multi_rack_configuration_file=None, netmask=None, network_bonding_mode_details=None, ntp_servers=None, rack_serial_number=None, shape=None, state=None, storage_count=None, storage_server_version=None, time_created=None, time_zone=None):
|
30
|
+
def __init__(__self__, activated_storage_count=None, activation_file=None, additional_compute_count=None, additional_compute_system_model=None, additional_storage_count=None, admin_network_cidr=None, availability_domain=None, cloud_control_plane_server1=None, cloud_control_plane_server2=None, compartment_id=None, compute_count=None, contacts=None, corporate_proxy=None, cpus_enabled=None, create_async=None, csi_number=None, data_storage_size_in_tbs=None, db_node_storage_size_in_gbs=None, db_server_version=None, defined_file_system_configurations=None, defined_tags=None, display_name=None, dns_servers=None, exadata_infrastructure_id=None, freeform_tags=None, gateway=None, id=None, infini_band_network_cidr=None, is_cps_offline_report_enabled=None, is_multi_rack_deployment=None, is_scheduling_policy_associated=None, lifecycle_details=None, maintenance_slo_status=None, maintenance_windows=None, max_cpu_count=None, max_data_storage_in_tbs=None, max_db_node_storage_in_gbs=None, max_memory_in_gbs=None, memory_size_in_gbs=None, monthly_db_server_version=None, multi_rack_configuration_file=None, netmask=None, network_bonding_mode_details=None, ntp_servers=None, rack_serial_number=None, shape=None, state=None, storage_count=None, storage_server_version=None, time_created=None, time_zone=None):
|
31
31
|
if activated_storage_count and not isinstance(activated_storage_count, int):
|
32
32
|
raise TypeError("Expected argument 'activated_storage_count' to be a int")
|
33
33
|
pulumi.set(__self__, "activated_storage_count", activated_storage_count)
|
@@ -118,6 +118,9 @@ class GetExadataInfrastructureResult:
|
|
118
118
|
if is_multi_rack_deployment and not isinstance(is_multi_rack_deployment, bool):
|
119
119
|
raise TypeError("Expected argument 'is_multi_rack_deployment' to be a bool")
|
120
120
|
pulumi.set(__self__, "is_multi_rack_deployment", is_multi_rack_deployment)
|
121
|
+
if is_scheduling_policy_associated and not isinstance(is_scheduling_policy_associated, bool):
|
122
|
+
raise TypeError("Expected argument 'is_scheduling_policy_associated' to be a bool")
|
123
|
+
pulumi.set(__self__, "is_scheduling_policy_associated", is_scheduling_policy_associated)
|
121
124
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
122
125
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
123
126
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
@@ -410,6 +413,14 @@ class GetExadataInfrastructureResult:
|
|
410
413
|
"""
|
411
414
|
return pulumi.get(self, "is_multi_rack_deployment")
|
412
415
|
|
416
|
+
@property
|
417
|
+
@pulumi.getter(name="isSchedulingPolicyAssociated")
|
418
|
+
def is_scheduling_policy_associated(self) -> bool:
|
419
|
+
"""
|
420
|
+
If true, the infrastructure is using granular maintenance scheduling preference.
|
421
|
+
"""
|
422
|
+
return pulumi.get(self, "is_scheduling_policy_associated")
|
423
|
+
|
413
424
|
@property
|
414
425
|
@pulumi.getter(name="lifecycleDetails")
|
415
426
|
def lifecycle_details(self) -> str:
|
@@ -607,6 +618,7 @@ class AwaitableGetExadataInfrastructureResult(GetExadataInfrastructureResult):
|
|
607
618
|
infini_band_network_cidr=self.infini_band_network_cidr,
|
608
619
|
is_cps_offline_report_enabled=self.is_cps_offline_report_enabled,
|
609
620
|
is_multi_rack_deployment=self.is_multi_rack_deployment,
|
621
|
+
is_scheduling_policy_associated=self.is_scheduling_policy_associated,
|
610
622
|
lifecycle_details=self.lifecycle_details,
|
611
623
|
maintenance_slo_status=self.maintenance_slo_status,
|
612
624
|
maintenance_windows=self.maintenance_windows,
|
@@ -676,6 +688,7 @@ def get_exadata_infrastructure(exadata_infrastructure_id: Optional[str] = None,
|
|
676
688
|
infini_band_network_cidr=pulumi.get(__ret__, 'infini_band_network_cidr'),
|
677
689
|
is_cps_offline_report_enabled=pulumi.get(__ret__, 'is_cps_offline_report_enabled'),
|
678
690
|
is_multi_rack_deployment=pulumi.get(__ret__, 'is_multi_rack_deployment'),
|
691
|
+
is_scheduling_policy_associated=pulumi.get(__ret__, 'is_scheduling_policy_associated'),
|
679
692
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
680
693
|
maintenance_slo_status=pulumi.get(__ret__, 'maintenance_slo_status'),
|
681
694
|
maintenance_windows=pulumi.get(__ret__, 'maintenance_windows'),
|
@@ -742,6 +755,7 @@ def get_exadata_infrastructure_output(exadata_infrastructure_id: Optional[pulumi
|
|
742
755
|
infini_band_network_cidr=pulumi.get(__response__, 'infini_band_network_cidr'),
|
743
756
|
is_cps_offline_report_enabled=pulumi.get(__response__, 'is_cps_offline_report_enabled'),
|
744
757
|
is_multi_rack_deployment=pulumi.get(__response__, 'is_multi_rack_deployment'),
|
758
|
+
is_scheduling_policy_associated=pulumi.get(__response__, 'is_scheduling_policy_associated'),
|
745
759
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
746
760
|
maintenance_slo_status=pulumi.get(__response__, 'maintenance_slo_status'),
|
747
761
|
maintenance_windows=pulumi.get(__response__, 'maintenance_windows'),
|
@@ -0,0 +1,352 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetExecutionActionResult',
|
20
|
+
'AwaitableGetExecutionActionResult',
|
21
|
+
'get_execution_action',
|
22
|
+
'get_execution_action_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetExecutionActionResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getExecutionAction.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, action_members=None, action_params=None, action_type=None, compartment_id=None, defined_tags=None, description=None, display_name=None, estimated_time_in_mins=None, execution_action_id=None, execution_action_order=None, execution_window_id=None, freeform_tags=None, id=None, lifecycle_details=None, lifecycle_substate=None, state=None, time_created=None, time_updated=None, total_time_taken_in_mins=None):
|
31
|
+
if action_members and not isinstance(action_members, list):
|
32
|
+
raise TypeError("Expected argument 'action_members' to be a list")
|
33
|
+
pulumi.set(__self__, "action_members", action_members)
|
34
|
+
if action_params and not isinstance(action_params, dict):
|
35
|
+
raise TypeError("Expected argument 'action_params' to be a dict")
|
36
|
+
pulumi.set(__self__, "action_params", action_params)
|
37
|
+
if action_type and not isinstance(action_type, str):
|
38
|
+
raise TypeError("Expected argument 'action_type' to be a str")
|
39
|
+
pulumi.set(__self__, "action_type", action_type)
|
40
|
+
if compartment_id and not isinstance(compartment_id, str):
|
41
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
42
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
43
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
44
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
45
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
46
|
+
if description and not isinstance(description, str):
|
47
|
+
raise TypeError("Expected argument 'description' to be a str")
|
48
|
+
pulumi.set(__self__, "description", description)
|
49
|
+
if display_name and not isinstance(display_name, str):
|
50
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
51
|
+
pulumi.set(__self__, "display_name", display_name)
|
52
|
+
if estimated_time_in_mins and not isinstance(estimated_time_in_mins, int):
|
53
|
+
raise TypeError("Expected argument 'estimated_time_in_mins' to be a int")
|
54
|
+
pulumi.set(__self__, "estimated_time_in_mins", estimated_time_in_mins)
|
55
|
+
if execution_action_id and not isinstance(execution_action_id, str):
|
56
|
+
raise TypeError("Expected argument 'execution_action_id' to be a str")
|
57
|
+
pulumi.set(__self__, "execution_action_id", execution_action_id)
|
58
|
+
if execution_action_order and not isinstance(execution_action_order, int):
|
59
|
+
raise TypeError("Expected argument 'execution_action_order' to be a int")
|
60
|
+
pulumi.set(__self__, "execution_action_order", execution_action_order)
|
61
|
+
if execution_window_id and not isinstance(execution_window_id, str):
|
62
|
+
raise TypeError("Expected argument 'execution_window_id' to be a str")
|
63
|
+
pulumi.set(__self__, "execution_window_id", execution_window_id)
|
64
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
65
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
66
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
67
|
+
if id and not isinstance(id, str):
|
68
|
+
raise TypeError("Expected argument 'id' to be a str")
|
69
|
+
pulumi.set(__self__, "id", id)
|
70
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
71
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
72
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
73
|
+
if lifecycle_substate and not isinstance(lifecycle_substate, str):
|
74
|
+
raise TypeError("Expected argument 'lifecycle_substate' to be a str")
|
75
|
+
pulumi.set(__self__, "lifecycle_substate", lifecycle_substate)
|
76
|
+
if state and not isinstance(state, str):
|
77
|
+
raise TypeError("Expected argument 'state' to be a str")
|
78
|
+
pulumi.set(__self__, "state", state)
|
79
|
+
if time_created and not isinstance(time_created, str):
|
80
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
81
|
+
pulumi.set(__self__, "time_created", time_created)
|
82
|
+
if time_updated and not isinstance(time_updated, str):
|
83
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
84
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
85
|
+
if total_time_taken_in_mins and not isinstance(total_time_taken_in_mins, int):
|
86
|
+
raise TypeError("Expected argument 'total_time_taken_in_mins' to be a int")
|
87
|
+
pulumi.set(__self__, "total_time_taken_in_mins", total_time_taken_in_mins)
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="actionMembers")
|
91
|
+
def action_members(self) -> Sequence['outputs.GetExecutionActionActionMemberResult']:
|
92
|
+
"""
|
93
|
+
List of action members of this execution action.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "action_members")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="actionParams")
|
99
|
+
def action_params(self) -> Mapping[str, str]:
|
100
|
+
"""
|
101
|
+
Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "action_params")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="actionType")
|
107
|
+
def action_type(self) -> str:
|
108
|
+
"""
|
109
|
+
The action type of the execution action being performed
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "action_type")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="compartmentId")
|
115
|
+
def compartment_id(self) -> str:
|
116
|
+
"""
|
117
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "compartment_id")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="definedTags")
|
123
|
+
def defined_tags(self) -> Mapping[str, str]:
|
124
|
+
"""
|
125
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "defined_tags")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def description(self) -> str:
|
132
|
+
"""
|
133
|
+
Description of the execution action.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "description")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="displayName")
|
139
|
+
def display_name(self) -> str:
|
140
|
+
"""
|
141
|
+
The user-friendly name for the execution action. The name does not need to be unique.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "display_name")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
147
|
+
def estimated_time_in_mins(self) -> int:
|
148
|
+
"""
|
149
|
+
The estimated time of the execution action in minutes.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="executionActionId")
|
155
|
+
def execution_action_id(self) -> str:
|
156
|
+
return pulumi.get(self, "execution_action_id")
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="executionActionOrder")
|
160
|
+
def execution_action_order(self) -> int:
|
161
|
+
"""
|
162
|
+
The priority order of the execution action.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "execution_action_order")
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="executionWindowId")
|
168
|
+
def execution_window_id(self) -> str:
|
169
|
+
"""
|
170
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "execution_window_id")
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="freeformTags")
|
176
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
177
|
+
"""
|
178
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "freeform_tags")
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter
|
184
|
+
def id(self) -> str:
|
185
|
+
"""
|
186
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution action.
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "id")
|
189
|
+
|
190
|
+
@property
|
191
|
+
@pulumi.getter(name="lifecycleDetails")
|
192
|
+
def lifecycle_details(self) -> str:
|
193
|
+
"""
|
194
|
+
Additional information about the current lifecycle state.
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "lifecycle_details")
|
197
|
+
|
198
|
+
@property
|
199
|
+
@pulumi.getter(name="lifecycleSubstate")
|
200
|
+
def lifecycle_substate(self) -> str:
|
201
|
+
"""
|
202
|
+
The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
|
203
|
+
"""
|
204
|
+
return pulumi.get(self, "lifecycle_substate")
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def state(self) -> str:
|
209
|
+
"""
|
210
|
+
The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "state")
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter(name="timeCreated")
|
216
|
+
def time_created(self) -> str:
|
217
|
+
"""
|
218
|
+
The date and time the execution action was created.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "time_created")
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter(name="timeUpdated")
|
224
|
+
def time_updated(self) -> str:
|
225
|
+
"""
|
226
|
+
The last date and time that the execution action was updated.
|
227
|
+
"""
|
228
|
+
return pulumi.get(self, "time_updated")
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
232
|
+
def total_time_taken_in_mins(self) -> int:
|
233
|
+
"""
|
234
|
+
The total time taken by corresponding resource activity in minutes.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
237
|
+
|
238
|
+
|
239
|
+
class AwaitableGetExecutionActionResult(GetExecutionActionResult):
|
240
|
+
# pylint: disable=using-constant-test
|
241
|
+
def __await__(self):
|
242
|
+
if False:
|
243
|
+
yield self
|
244
|
+
return GetExecutionActionResult(
|
245
|
+
action_members=self.action_members,
|
246
|
+
action_params=self.action_params,
|
247
|
+
action_type=self.action_type,
|
248
|
+
compartment_id=self.compartment_id,
|
249
|
+
defined_tags=self.defined_tags,
|
250
|
+
description=self.description,
|
251
|
+
display_name=self.display_name,
|
252
|
+
estimated_time_in_mins=self.estimated_time_in_mins,
|
253
|
+
execution_action_id=self.execution_action_id,
|
254
|
+
execution_action_order=self.execution_action_order,
|
255
|
+
execution_window_id=self.execution_window_id,
|
256
|
+
freeform_tags=self.freeform_tags,
|
257
|
+
id=self.id,
|
258
|
+
lifecycle_details=self.lifecycle_details,
|
259
|
+
lifecycle_substate=self.lifecycle_substate,
|
260
|
+
state=self.state,
|
261
|
+
time_created=self.time_created,
|
262
|
+
time_updated=self.time_updated,
|
263
|
+
total_time_taken_in_mins=self.total_time_taken_in_mins)
|
264
|
+
|
265
|
+
|
266
|
+
def get_execution_action(execution_action_id: Optional[str] = None,
|
267
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExecutionActionResult:
|
268
|
+
"""
|
269
|
+
This data source provides details about a specific Execution Action resource in Oracle Cloud Infrastructure Database service.
|
270
|
+
|
271
|
+
Gets information about the specified execution action.
|
272
|
+
|
273
|
+
## Example Usage
|
274
|
+
|
275
|
+
```python
|
276
|
+
import pulumi
|
277
|
+
import pulumi_oci as oci
|
278
|
+
|
279
|
+
test_execution_action = oci.Database.get_execution_action(execution_action_id=test_execution_action_oci_database_execution_action["id"])
|
280
|
+
```
|
281
|
+
|
282
|
+
|
283
|
+
:param str execution_action_id: The execution action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
284
|
+
"""
|
285
|
+
__args__ = dict()
|
286
|
+
__args__['executionActionId'] = execution_action_id
|
287
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
288
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExecutionAction:getExecutionAction', __args__, opts=opts, typ=GetExecutionActionResult).value
|
289
|
+
|
290
|
+
return AwaitableGetExecutionActionResult(
|
291
|
+
action_members=pulumi.get(__ret__, 'action_members'),
|
292
|
+
action_params=pulumi.get(__ret__, 'action_params'),
|
293
|
+
action_type=pulumi.get(__ret__, 'action_type'),
|
294
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
295
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
296
|
+
description=pulumi.get(__ret__, 'description'),
|
297
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
298
|
+
estimated_time_in_mins=pulumi.get(__ret__, 'estimated_time_in_mins'),
|
299
|
+
execution_action_id=pulumi.get(__ret__, 'execution_action_id'),
|
300
|
+
execution_action_order=pulumi.get(__ret__, 'execution_action_order'),
|
301
|
+
execution_window_id=pulumi.get(__ret__, 'execution_window_id'),
|
302
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
303
|
+
id=pulumi.get(__ret__, 'id'),
|
304
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
305
|
+
lifecycle_substate=pulumi.get(__ret__, 'lifecycle_substate'),
|
306
|
+
state=pulumi.get(__ret__, 'state'),
|
307
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
308
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
309
|
+
total_time_taken_in_mins=pulumi.get(__ret__, 'total_time_taken_in_mins'))
|
310
|
+
def get_execution_action_output(execution_action_id: Optional[pulumi.Input[str]] = None,
|
311
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExecutionActionResult]:
|
312
|
+
"""
|
313
|
+
This data source provides details about a specific Execution Action resource in Oracle Cloud Infrastructure Database service.
|
314
|
+
|
315
|
+
Gets information about the specified execution action.
|
316
|
+
|
317
|
+
## Example Usage
|
318
|
+
|
319
|
+
```python
|
320
|
+
import pulumi
|
321
|
+
import pulumi_oci as oci
|
322
|
+
|
323
|
+
test_execution_action = oci.Database.get_execution_action(execution_action_id=test_execution_action_oci_database_execution_action["id"])
|
324
|
+
```
|
325
|
+
|
326
|
+
|
327
|
+
:param str execution_action_id: The execution action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
328
|
+
"""
|
329
|
+
__args__ = dict()
|
330
|
+
__args__['executionActionId'] = execution_action_id
|
331
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
332
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getExecutionAction:getExecutionAction', __args__, opts=opts, typ=GetExecutionActionResult)
|
333
|
+
return __ret__.apply(lambda __response__: GetExecutionActionResult(
|
334
|
+
action_members=pulumi.get(__response__, 'action_members'),
|
335
|
+
action_params=pulumi.get(__response__, 'action_params'),
|
336
|
+
action_type=pulumi.get(__response__, 'action_type'),
|
337
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
338
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
339
|
+
description=pulumi.get(__response__, 'description'),
|
340
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
341
|
+
estimated_time_in_mins=pulumi.get(__response__, 'estimated_time_in_mins'),
|
342
|
+
execution_action_id=pulumi.get(__response__, 'execution_action_id'),
|
343
|
+
execution_action_order=pulumi.get(__response__, 'execution_action_order'),
|
344
|
+
execution_window_id=pulumi.get(__response__, 'execution_window_id'),
|
345
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
346
|
+
id=pulumi.get(__response__, 'id'),
|
347
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
348
|
+
lifecycle_substate=pulumi.get(__response__, 'lifecycle_substate'),
|
349
|
+
state=pulumi.get(__response__, 'state'),
|
350
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
351
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
352
|
+
total_time_taken_in_mins=pulumi.get(__response__, 'total_time_taken_in_mins')))
|
@@ -0,0 +1,213 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetExecutionActionsResult',
|
21
|
+
'AwaitableGetExecutionActionsResult',
|
22
|
+
'get_execution_actions',
|
23
|
+
'get_execution_actions_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetExecutionActionsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getExecutionActions.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, execution_actions=None, execution_window_id=None, filters=None, id=None, state=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if execution_actions and not isinstance(execution_actions, list):
|
39
|
+
raise TypeError("Expected argument 'execution_actions' to be a list")
|
40
|
+
pulumi.set(__self__, "execution_actions", execution_actions)
|
41
|
+
if execution_window_id and not isinstance(execution_window_id, str):
|
42
|
+
raise TypeError("Expected argument 'execution_window_id' to be a str")
|
43
|
+
pulumi.set(__self__, "execution_window_id", execution_window_id)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="compartmentId")
|
56
|
+
def compartment_id(self) -> str:
|
57
|
+
"""
|
58
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "compartment_id")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="displayName")
|
64
|
+
def display_name(self) -> Optional[str]:
|
65
|
+
"""
|
66
|
+
The user-friendly name for the execution action. The name does not need to be unique.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "display_name")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="executionActions")
|
72
|
+
def execution_actions(self) -> Sequence['outputs.GetExecutionActionsExecutionActionResult']:
|
73
|
+
"""
|
74
|
+
The list of execution_actions.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "execution_actions")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="executionWindowId")
|
80
|
+
def execution_window_id(self) -> Optional[str]:
|
81
|
+
"""
|
82
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "execution_window_id")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def filters(self) -> Optional[Sequence['outputs.GetExecutionActionsFilterResult']]:
|
89
|
+
return pulumi.get(self, "filters")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def id(self) -> str:
|
94
|
+
"""
|
95
|
+
The provider-assigned unique ID for this managed resource.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def state(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetExecutionActionsResult(GetExecutionActionsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetExecutionActionsResult(
|
114
|
+
compartment_id=self.compartment_id,
|
115
|
+
display_name=self.display_name,
|
116
|
+
execution_actions=self.execution_actions,
|
117
|
+
execution_window_id=self.execution_window_id,
|
118
|
+
filters=self.filters,
|
119
|
+
id=self.id,
|
120
|
+
state=self.state)
|
121
|
+
|
122
|
+
|
123
|
+
def get_execution_actions(compartment_id: Optional[str] = None,
|
124
|
+
display_name: Optional[str] = None,
|
125
|
+
execution_window_id: Optional[str] = None,
|
126
|
+
filters: Optional[Sequence[Union['GetExecutionActionsFilterArgs', 'GetExecutionActionsFilterArgsDict']]] = None,
|
127
|
+
state: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExecutionActionsResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Execution Actions in Oracle Cloud Infrastructure Database service.
|
131
|
+
|
132
|
+
Lists the execution action resources in the specified compartment.
|
133
|
+
|
134
|
+
## Example Usage
|
135
|
+
|
136
|
+
```python
|
137
|
+
import pulumi
|
138
|
+
import pulumi_oci as oci
|
139
|
+
|
140
|
+
test_execution_actions = oci.Database.get_execution_actions(compartment_id=compartment_id,
|
141
|
+
display_name=execution_action_display_name,
|
142
|
+
execution_window_id=test_execution_window["id"],
|
143
|
+
state=execution_action_state)
|
144
|
+
```
|
145
|
+
|
146
|
+
|
147
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
148
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
149
|
+
:param str execution_window_id: A filter to return only resources that match the given execution wondow id.
|
150
|
+
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
151
|
+
"""
|
152
|
+
__args__ = dict()
|
153
|
+
__args__['compartmentId'] = compartment_id
|
154
|
+
__args__['displayName'] = display_name
|
155
|
+
__args__['executionWindowId'] = execution_window_id
|
156
|
+
__args__['filters'] = filters
|
157
|
+
__args__['state'] = state
|
158
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExecutionActions:getExecutionActions', __args__, opts=opts, typ=GetExecutionActionsResult).value
|
160
|
+
|
161
|
+
return AwaitableGetExecutionActionsResult(
|
162
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
164
|
+
execution_actions=pulumi.get(__ret__, 'execution_actions'),
|
165
|
+
execution_window_id=pulumi.get(__ret__, 'execution_window_id'),
|
166
|
+
filters=pulumi.get(__ret__, 'filters'),
|
167
|
+
id=pulumi.get(__ret__, 'id'),
|
168
|
+
state=pulumi.get(__ret__, 'state'))
|
169
|
+
def get_execution_actions_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
170
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
execution_window_id: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetExecutionActionsFilterArgs', 'GetExecutionActionsFilterArgsDict']]]]] = None,
|
173
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExecutionActionsResult]:
|
175
|
+
"""
|
176
|
+
This data source provides the list of Execution Actions in Oracle Cloud Infrastructure Database service.
|
177
|
+
|
178
|
+
Lists the execution action resources in the specified compartment.
|
179
|
+
|
180
|
+
## Example Usage
|
181
|
+
|
182
|
+
```python
|
183
|
+
import pulumi
|
184
|
+
import pulumi_oci as oci
|
185
|
+
|
186
|
+
test_execution_actions = oci.Database.get_execution_actions(compartment_id=compartment_id,
|
187
|
+
display_name=execution_action_display_name,
|
188
|
+
execution_window_id=test_execution_window["id"],
|
189
|
+
state=execution_action_state)
|
190
|
+
```
|
191
|
+
|
192
|
+
|
193
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
194
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
195
|
+
:param str execution_window_id: A filter to return only resources that match the given execution wondow id.
|
196
|
+
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
197
|
+
"""
|
198
|
+
__args__ = dict()
|
199
|
+
__args__['compartmentId'] = compartment_id
|
200
|
+
__args__['displayName'] = display_name
|
201
|
+
__args__['executionWindowId'] = execution_window_id
|
202
|
+
__args__['filters'] = filters
|
203
|
+
__args__['state'] = state
|
204
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getExecutionActions:getExecutionActions', __args__, opts=opts, typ=GetExecutionActionsResult)
|
206
|
+
return __ret__.apply(lambda __response__: GetExecutionActionsResult(
|
207
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
209
|
+
execution_actions=pulumi.get(__response__, 'execution_actions'),
|
210
|
+
execution_window_id=pulumi.get(__response__, 'execution_window_id'),
|
211
|
+
filters=pulumi.get(__response__, 'filters'),
|
212
|
+
id=pulumi.get(__response__, 'id'),
|
213
|
+
state=pulumi.get(__response__, 'state')))
|