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 GetMaintenanceRunResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getMaintenanceRun.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, compartment_id=None, current_custom_action_timeout_in_mins=None, current_patching_component=None, custom_action_timeout_in_mins=None, database_software_image_id=None, description=None, display_name=None, estimated_component_patching_start_time=None, estimated_patching_times=None, id=None, is_custom_action_timeout_enabled=None, is_dst_file_update_enabled=None, lifecycle_details=None, maintenance_run_id=None, maintenance_subtype=None, maintenance_type=None, patch_failure_count=None, patch_id=None, patch_type=None, patching_end_time=None, patching_mode=None, patching_start_time=None, patching_status=None, peer_maintenance_run_id=None, state=None, target_db_server_version=None, target_resource_id=None, target_resource_type=None, target_storage_server_version=None, time_ended=None, time_scheduled=None, time_started=None):
|
30
|
+
def __init__(__self__, compartment_id=None, current_custom_action_timeout_in_mins=None, current_patching_component=None, custom_action_timeout_in_mins=None, database_software_image_id=None, description=None, display_name=None, estimated_component_patching_start_time=None, estimated_patching_times=None, id=None, is_custom_action_timeout_enabled=None, is_dst_file_update_enabled=None, is_maintenance_run_granular=None, lifecycle_details=None, maintenance_run_id=None, maintenance_subtype=None, maintenance_type=None, patch_failure_count=None, patch_id=None, patch_type=None, patching_end_time=None, patching_mode=None, patching_start_time=None, patching_status=None, peer_maintenance_run_id=None, state=None, target_db_server_version=None, target_resource_id=None, target_resource_type=None, target_storage_server_version=None, time_ended=None, time_scheduled=None, time_started=None, total_time_taken_in_mins=None):
|
31
31
|
if compartment_id and not isinstance(compartment_id, str):
|
32
32
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
33
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -64,6 +64,9 @@ class GetMaintenanceRunResult:
|
|
64
64
|
if is_dst_file_update_enabled and not isinstance(is_dst_file_update_enabled, bool):
|
65
65
|
raise TypeError("Expected argument 'is_dst_file_update_enabled' to be a bool")
|
66
66
|
pulumi.set(__self__, "is_dst_file_update_enabled", is_dst_file_update_enabled)
|
67
|
+
if is_maintenance_run_granular and not isinstance(is_maintenance_run_granular, bool):
|
68
|
+
raise TypeError("Expected argument 'is_maintenance_run_granular' to be a bool")
|
69
|
+
pulumi.set(__self__, "is_maintenance_run_granular", is_maintenance_run_granular)
|
67
70
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
68
71
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
69
72
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
@@ -124,6 +127,9 @@ class GetMaintenanceRunResult:
|
|
124
127
|
if time_started and not isinstance(time_started, str):
|
125
128
|
raise TypeError("Expected argument 'time_started' to be a str")
|
126
129
|
pulumi.set(__self__, "time_started", time_started)
|
130
|
+
if total_time_taken_in_mins and not isinstance(total_time_taken_in_mins, int):
|
131
|
+
raise TypeError("Expected argument 'total_time_taken_in_mins' to be a int")
|
132
|
+
pulumi.set(__self__, "total_time_taken_in_mins", total_time_taken_in_mins)
|
127
133
|
|
128
134
|
@property
|
129
135
|
@pulumi.getter(name="compartmentId")
|
@@ -221,6 +227,14 @@ class GetMaintenanceRunResult:
|
|
221
227
|
"""
|
222
228
|
return pulumi.get(self, "is_dst_file_update_enabled")
|
223
229
|
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="isMaintenanceRunGranular")
|
232
|
+
def is_maintenance_run_granular(self) -> bool:
|
233
|
+
"""
|
234
|
+
If `FALSE`, the maintenance run doesn't support granular maintenance.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "is_maintenance_run_granular")
|
237
|
+
|
224
238
|
@property
|
225
239
|
@pulumi.getter(name="lifecycleDetails")
|
226
240
|
def lifecycle_details(self) -> str:
|
@@ -375,6 +389,14 @@ class GetMaintenanceRunResult:
|
|
375
389
|
"""
|
376
390
|
return pulumi.get(self, "time_started")
|
377
391
|
|
392
|
+
@property
|
393
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
394
|
+
def total_time_taken_in_mins(self) -> int:
|
395
|
+
"""
|
396
|
+
The total time taken by corresponding resource activity in minutes.
|
397
|
+
"""
|
398
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
399
|
+
|
378
400
|
|
379
401
|
class AwaitableGetMaintenanceRunResult(GetMaintenanceRunResult):
|
380
402
|
# pylint: disable=using-constant-test
|
@@ -394,6 +416,7 @@ class AwaitableGetMaintenanceRunResult(GetMaintenanceRunResult):
|
|
394
416
|
id=self.id,
|
395
417
|
is_custom_action_timeout_enabled=self.is_custom_action_timeout_enabled,
|
396
418
|
is_dst_file_update_enabled=self.is_dst_file_update_enabled,
|
419
|
+
is_maintenance_run_granular=self.is_maintenance_run_granular,
|
397
420
|
lifecycle_details=self.lifecycle_details,
|
398
421
|
maintenance_run_id=self.maintenance_run_id,
|
399
422
|
maintenance_subtype=self.maintenance_subtype,
|
@@ -413,7 +436,8 @@ class AwaitableGetMaintenanceRunResult(GetMaintenanceRunResult):
|
|
413
436
|
target_storage_server_version=self.target_storage_server_version,
|
414
437
|
time_ended=self.time_ended,
|
415
438
|
time_scheduled=self.time_scheduled,
|
416
|
-
time_started=self.time_started
|
439
|
+
time_started=self.time_started,
|
440
|
+
total_time_taken_in_mins=self.total_time_taken_in_mins)
|
417
441
|
|
418
442
|
|
419
443
|
def get_maintenance_run(maintenance_run_id: Optional[str] = None,
|
@@ -453,6 +477,7 @@ def get_maintenance_run(maintenance_run_id: Optional[str] = None,
|
|
453
477
|
id=pulumi.get(__ret__, 'id'),
|
454
478
|
is_custom_action_timeout_enabled=pulumi.get(__ret__, 'is_custom_action_timeout_enabled'),
|
455
479
|
is_dst_file_update_enabled=pulumi.get(__ret__, 'is_dst_file_update_enabled'),
|
480
|
+
is_maintenance_run_granular=pulumi.get(__ret__, 'is_maintenance_run_granular'),
|
456
481
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
457
482
|
maintenance_run_id=pulumi.get(__ret__, 'maintenance_run_id'),
|
458
483
|
maintenance_subtype=pulumi.get(__ret__, 'maintenance_subtype'),
|
@@ -472,7 +497,8 @@ def get_maintenance_run(maintenance_run_id: Optional[str] = None,
|
|
472
497
|
target_storage_server_version=pulumi.get(__ret__, 'target_storage_server_version'),
|
473
498
|
time_ended=pulumi.get(__ret__, 'time_ended'),
|
474
499
|
time_scheduled=pulumi.get(__ret__, 'time_scheduled'),
|
475
|
-
time_started=pulumi.get(__ret__, 'time_started')
|
500
|
+
time_started=pulumi.get(__ret__, 'time_started'),
|
501
|
+
total_time_taken_in_mins=pulumi.get(__ret__, 'total_time_taken_in_mins'))
|
476
502
|
def get_maintenance_run_output(maintenance_run_id: Optional[pulumi.Input[str]] = None,
|
477
503
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMaintenanceRunResult]:
|
478
504
|
"""
|
@@ -509,6 +535,7 @@ def get_maintenance_run_output(maintenance_run_id: Optional[pulumi.Input[str]] =
|
|
509
535
|
id=pulumi.get(__response__, 'id'),
|
510
536
|
is_custom_action_timeout_enabled=pulumi.get(__response__, 'is_custom_action_timeout_enabled'),
|
511
537
|
is_dst_file_update_enabled=pulumi.get(__response__, 'is_dst_file_update_enabled'),
|
538
|
+
is_maintenance_run_granular=pulumi.get(__response__, 'is_maintenance_run_granular'),
|
512
539
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
513
540
|
maintenance_run_id=pulumi.get(__response__, 'maintenance_run_id'),
|
514
541
|
maintenance_subtype=pulumi.get(__response__, 'maintenance_subtype'),
|
@@ -528,4 +555,5 @@ def get_maintenance_run_output(maintenance_run_id: Optional[pulumi.Input[str]] =
|
|
528
555
|
target_storage_server_version=pulumi.get(__response__, 'target_storage_server_version'),
|
529
556
|
time_ended=pulumi.get(__response__, 'time_ended'),
|
530
557
|
time_scheduled=pulumi.get(__response__, 'time_scheduled'),
|
531
|
-
time_started=pulumi.get(__response__, 'time_started')
|
558
|
+
time_started=pulumi.get(__response__, 'time_started'),
|
559
|
+
total_time_taken_in_mins=pulumi.get(__response__, 'total_time_taken_in_mins')))
|
@@ -28,7 +28,7 @@ class GetMaintenanceRunsResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getMaintenanceRuns.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, id=None, maintenance_runs=None, maintenance_subtype=None, maintenance_type=None, state=None, target_resource_id=None, target_resource_type=None):
|
31
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, filters=None, id=None, is_local_adg=None, maintenance_runs=None, maintenance_subtype=None, maintenance_type=None, state=None, target_resource_id=None, target_resource_type=None):
|
32
32
|
if availability_domain and not isinstance(availability_domain, str):
|
33
33
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
34
34
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -41,6 +41,9 @@ class GetMaintenanceRunsResult:
|
|
41
41
|
if id and not isinstance(id, str):
|
42
42
|
raise TypeError("Expected argument 'id' to be a str")
|
43
43
|
pulumi.set(__self__, "id", id)
|
44
|
+
if is_local_adg and not isinstance(is_local_adg, bool):
|
45
|
+
raise TypeError("Expected argument 'is_local_adg' to be a bool")
|
46
|
+
pulumi.set(__self__, "is_local_adg", is_local_adg)
|
44
47
|
if maintenance_runs and not isinstance(maintenance_runs, list):
|
45
48
|
raise TypeError("Expected argument 'maintenance_runs' to be a list")
|
46
49
|
pulumi.set(__self__, "maintenance_runs", maintenance_runs)
|
@@ -86,6 +89,11 @@ class GetMaintenanceRunsResult:
|
|
86
89
|
"""
|
87
90
|
return pulumi.get(self, "id")
|
88
91
|
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="isLocalAdg")
|
94
|
+
def is_local_adg(self) -> Optional[bool]:
|
95
|
+
return pulumi.get(self, "is_local_adg")
|
96
|
+
|
89
97
|
@property
|
90
98
|
@pulumi.getter(name="maintenanceRuns")
|
91
99
|
def maintenance_runs(self) -> Sequence['outputs.GetMaintenanceRunsMaintenanceRunResult']:
|
@@ -145,6 +153,7 @@ class AwaitableGetMaintenanceRunsResult(GetMaintenanceRunsResult):
|
|
145
153
|
compartment_id=self.compartment_id,
|
146
154
|
filters=self.filters,
|
147
155
|
id=self.id,
|
156
|
+
is_local_adg=self.is_local_adg,
|
148
157
|
maintenance_runs=self.maintenance_runs,
|
149
158
|
maintenance_subtype=self.maintenance_subtype,
|
150
159
|
maintenance_type=self.maintenance_type,
|
@@ -156,6 +165,7 @@ class AwaitableGetMaintenanceRunsResult(GetMaintenanceRunsResult):
|
|
156
165
|
def get_maintenance_runs(availability_domain: Optional[str] = None,
|
157
166
|
compartment_id: Optional[str] = None,
|
158
167
|
filters: Optional[Sequence[Union['GetMaintenanceRunsFilterArgs', 'GetMaintenanceRunsFilterArgsDict']]] = None,
|
168
|
+
is_local_adg: Optional[bool] = None,
|
159
169
|
maintenance_subtype: Optional[str] = None,
|
160
170
|
maintenance_type: Optional[str] = None,
|
161
171
|
state: Optional[str] = None,
|
@@ -175,6 +185,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None,
|
|
175
185
|
|
176
186
|
test_maintenance_runs = oci.Database.get_maintenance_runs(compartment_id=compartment_id,
|
177
187
|
availability_domain=maintenance_run_availability_domain,
|
188
|
+
is_local_adg=maintenance_run_is_local_adg,
|
178
189
|
maintenance_subtype=maintenance_run_maintenance_subtype,
|
179
190
|
maintenance_type=maintenance_run_maintenance_type,
|
180
191
|
state=maintenance_run_state,
|
@@ -185,6 +196,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None,
|
|
185
196
|
|
186
197
|
:param str availability_domain: A filter to return only resources that match the given availability domain exactly.
|
187
198
|
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
199
|
+
:param bool is_local_adg: A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
|
188
200
|
:param str maintenance_subtype: The sub-type of the maintenance run.
|
189
201
|
:param str maintenance_type: The maintenance type.
|
190
202
|
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
@@ -195,6 +207,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None,
|
|
195
207
|
__args__['availabilityDomain'] = availability_domain
|
196
208
|
__args__['compartmentId'] = compartment_id
|
197
209
|
__args__['filters'] = filters
|
210
|
+
__args__['isLocalAdg'] = is_local_adg
|
198
211
|
__args__['maintenanceSubtype'] = maintenance_subtype
|
199
212
|
__args__['maintenanceType'] = maintenance_type
|
200
213
|
__args__['state'] = state
|
@@ -208,6 +221,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None,
|
|
208
221
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
209
222
|
filters=pulumi.get(__ret__, 'filters'),
|
210
223
|
id=pulumi.get(__ret__, 'id'),
|
224
|
+
is_local_adg=pulumi.get(__ret__, 'is_local_adg'),
|
211
225
|
maintenance_runs=pulumi.get(__ret__, 'maintenance_runs'),
|
212
226
|
maintenance_subtype=pulumi.get(__ret__, 'maintenance_subtype'),
|
213
227
|
maintenance_type=pulumi.get(__ret__, 'maintenance_type'),
|
@@ -217,6 +231,7 @@ def get_maintenance_runs(availability_domain: Optional[str] = None,
|
|
217
231
|
def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None,
|
218
232
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
219
233
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetMaintenanceRunsFilterArgs', 'GetMaintenanceRunsFilterArgsDict']]]]] = None,
|
234
|
+
is_local_adg: Optional[pulumi.Input[Optional[bool]]] = None,
|
220
235
|
maintenance_subtype: Optional[pulumi.Input[Optional[str]]] = None,
|
221
236
|
maintenance_type: Optional[pulumi.Input[Optional[str]]] = None,
|
222
237
|
state: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -236,6 +251,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio
|
|
236
251
|
|
237
252
|
test_maintenance_runs = oci.Database.get_maintenance_runs(compartment_id=compartment_id,
|
238
253
|
availability_domain=maintenance_run_availability_domain,
|
254
|
+
is_local_adg=maintenance_run_is_local_adg,
|
239
255
|
maintenance_subtype=maintenance_run_maintenance_subtype,
|
240
256
|
maintenance_type=maintenance_run_maintenance_type,
|
241
257
|
state=maintenance_run_state,
|
@@ -246,6 +262,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio
|
|
246
262
|
|
247
263
|
:param str availability_domain: A filter to return only resources that match the given availability domain exactly.
|
248
264
|
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
265
|
+
:param bool is_local_adg: A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
|
249
266
|
:param str maintenance_subtype: The sub-type of the maintenance run.
|
250
267
|
:param str maintenance_type: The maintenance type.
|
251
268
|
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
@@ -256,6 +273,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio
|
|
256
273
|
__args__['availabilityDomain'] = availability_domain
|
257
274
|
__args__['compartmentId'] = compartment_id
|
258
275
|
__args__['filters'] = filters
|
276
|
+
__args__['isLocalAdg'] = is_local_adg
|
259
277
|
__args__['maintenanceSubtype'] = maintenance_subtype
|
260
278
|
__args__['maintenanceType'] = maintenance_type
|
261
279
|
__args__['state'] = state
|
@@ -268,6 +286,7 @@ def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[Optio
|
|
268
286
|
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
269
287
|
filters=pulumi.get(__response__, 'filters'),
|
270
288
|
id=pulumi.get(__response__, 'id'),
|
289
|
+
is_local_adg=pulumi.get(__response__, 'is_local_adg'),
|
271
290
|
maintenance_runs=pulumi.get(__response__, 'maintenance_runs'),
|
272
291
|
maintenance_subtype=pulumi.get(__response__, 'maintenance_subtype'),
|
273
292
|
maintenance_type=pulumi.get(__response__, 'maintenance_type'),
|
@@ -0,0 +1,324 @@
|
|
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
|
+
'GetScheduledActionResult',
|
20
|
+
'AwaitableGetScheduledActionResult',
|
21
|
+
'get_scheduled_action',
|
22
|
+
'get_scheduled_action_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetScheduledActionResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getScheduledAction.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, action_members=None, action_order=None, action_params=None, action_type=None, compartment_id=None, defined_tags=None, display_name=None, estimated_time_in_mins=None, freeform_tags=None, id=None, scheduled_action_id=None, scheduling_plan_id=None, scheduling_window_id=None, state=None, system_tags=None, time_created=None, time_updated=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_order and not isinstance(action_order, int):
|
35
|
+
raise TypeError("Expected argument 'action_order' to be a int")
|
36
|
+
pulumi.set(__self__, "action_order", action_order)
|
37
|
+
if action_params and not isinstance(action_params, dict):
|
38
|
+
raise TypeError("Expected argument 'action_params' to be a dict")
|
39
|
+
pulumi.set(__self__, "action_params", action_params)
|
40
|
+
if action_type and not isinstance(action_type, str):
|
41
|
+
raise TypeError("Expected argument 'action_type' to be a str")
|
42
|
+
pulumi.set(__self__, "action_type", action_type)
|
43
|
+
if compartment_id and not isinstance(compartment_id, str):
|
44
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
45
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
46
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
47
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
48
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
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 freeform_tags and not isinstance(freeform_tags, dict):
|
56
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
57
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
58
|
+
if id and not isinstance(id, str):
|
59
|
+
raise TypeError("Expected argument 'id' to be a str")
|
60
|
+
pulumi.set(__self__, "id", id)
|
61
|
+
if scheduled_action_id and not isinstance(scheduled_action_id, str):
|
62
|
+
raise TypeError("Expected argument 'scheduled_action_id' to be a str")
|
63
|
+
pulumi.set(__self__, "scheduled_action_id", scheduled_action_id)
|
64
|
+
if scheduling_plan_id and not isinstance(scheduling_plan_id, str):
|
65
|
+
raise TypeError("Expected argument 'scheduling_plan_id' to be a str")
|
66
|
+
pulumi.set(__self__, "scheduling_plan_id", scheduling_plan_id)
|
67
|
+
if scheduling_window_id and not isinstance(scheduling_window_id, str):
|
68
|
+
raise TypeError("Expected argument 'scheduling_window_id' to be a str")
|
69
|
+
pulumi.set(__self__, "scheduling_window_id", scheduling_window_id)
|
70
|
+
if state and not isinstance(state, str):
|
71
|
+
raise TypeError("Expected argument 'state' to be a str")
|
72
|
+
pulumi.set(__self__, "state", state)
|
73
|
+
if system_tags and not isinstance(system_tags, dict):
|
74
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
75
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
76
|
+
if time_created and not isinstance(time_created, str):
|
77
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
78
|
+
pulumi.set(__self__, "time_created", time_created)
|
79
|
+
if time_updated and not isinstance(time_updated, str):
|
80
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
81
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="actionMembers")
|
85
|
+
def action_members(self) -> Sequence['outputs.GetScheduledActionActionMemberResult']:
|
86
|
+
"""
|
87
|
+
The list of action members in a scheduled action.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "action_members")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="actionOrder")
|
93
|
+
def action_order(self) -> int:
|
94
|
+
"""
|
95
|
+
The order of the scheduled action.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "action_order")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="actionParams")
|
101
|
+
def action_params(self) -> Mapping[str, str]:
|
102
|
+
"""
|
103
|
+
Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "action_params")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="actionType")
|
109
|
+
def action_type(self) -> str:
|
110
|
+
"""
|
111
|
+
The type of the scheduled action being performed
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "action_type")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="compartmentId")
|
117
|
+
def compartment_id(self) -> str:
|
118
|
+
"""
|
119
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "compartment_id")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="definedTags")
|
125
|
+
def defined_tags(self) -> Mapping[str, str]:
|
126
|
+
"""
|
127
|
+
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).
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "defined_tags")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="displayName")
|
133
|
+
def display_name(self) -> str:
|
134
|
+
"""
|
135
|
+
The display name of the Scheduled Action.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "display_name")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
141
|
+
def estimated_time_in_mins(self) -> int:
|
142
|
+
"""
|
143
|
+
The estimated patching time for the scheduled action.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="freeformTags")
|
149
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
150
|
+
"""
|
151
|
+
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"}`
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "freeform_tags")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def id(self) -> str:
|
158
|
+
"""
|
159
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduled Action.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "id")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="scheduledActionId")
|
165
|
+
def scheduled_action_id(self) -> str:
|
166
|
+
return pulumi.get(self, "scheduled_action_id")
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="schedulingPlanId")
|
170
|
+
def scheduling_plan_id(self) -> str:
|
171
|
+
"""
|
172
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "scheduling_plan_id")
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter(name="schedulingWindowId")
|
178
|
+
def scheduling_window_id(self) -> str:
|
179
|
+
"""
|
180
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "scheduling_window_id")
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter
|
186
|
+
def state(self) -> str:
|
187
|
+
"""
|
188
|
+
The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "state")
|
191
|
+
|
192
|
+
@property
|
193
|
+
@pulumi.getter(name="systemTags")
|
194
|
+
def system_tags(self) -> Mapping[str, str]:
|
195
|
+
"""
|
196
|
+
System 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).
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "system_tags")
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="timeCreated")
|
202
|
+
def time_created(self) -> str:
|
203
|
+
"""
|
204
|
+
The date and time the Scheduled Action Resource was created.
|
205
|
+
"""
|
206
|
+
return pulumi.get(self, "time_created")
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter(name="timeUpdated")
|
210
|
+
def time_updated(self) -> str:
|
211
|
+
"""
|
212
|
+
The date and time the Scheduled Action Resource was updated.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "time_updated")
|
215
|
+
|
216
|
+
|
217
|
+
class AwaitableGetScheduledActionResult(GetScheduledActionResult):
|
218
|
+
# pylint: disable=using-constant-test
|
219
|
+
def __await__(self):
|
220
|
+
if False:
|
221
|
+
yield self
|
222
|
+
return GetScheduledActionResult(
|
223
|
+
action_members=self.action_members,
|
224
|
+
action_order=self.action_order,
|
225
|
+
action_params=self.action_params,
|
226
|
+
action_type=self.action_type,
|
227
|
+
compartment_id=self.compartment_id,
|
228
|
+
defined_tags=self.defined_tags,
|
229
|
+
display_name=self.display_name,
|
230
|
+
estimated_time_in_mins=self.estimated_time_in_mins,
|
231
|
+
freeform_tags=self.freeform_tags,
|
232
|
+
id=self.id,
|
233
|
+
scheduled_action_id=self.scheduled_action_id,
|
234
|
+
scheduling_plan_id=self.scheduling_plan_id,
|
235
|
+
scheduling_window_id=self.scheduling_window_id,
|
236
|
+
state=self.state,
|
237
|
+
system_tags=self.system_tags,
|
238
|
+
time_created=self.time_created,
|
239
|
+
time_updated=self.time_updated)
|
240
|
+
|
241
|
+
|
242
|
+
def get_scheduled_action(scheduled_action_id: Optional[str] = None,
|
243
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledActionResult:
|
244
|
+
"""
|
245
|
+
This data source provides details about a specific Scheduled Action resource in Oracle Cloud Infrastructure Database service.
|
246
|
+
|
247
|
+
Gets information about the specified Scheduled Action.
|
248
|
+
|
249
|
+
## Example Usage
|
250
|
+
|
251
|
+
```python
|
252
|
+
import pulumi
|
253
|
+
import pulumi_oci as oci
|
254
|
+
|
255
|
+
test_scheduled_action = oci.Database.get_scheduled_action(scheduled_action_id=test_scheduled_action_oci_database_scheduled_action["id"])
|
256
|
+
```
|
257
|
+
|
258
|
+
|
259
|
+
:param str scheduled_action_id: The Scheduled Action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
260
|
+
"""
|
261
|
+
__args__ = dict()
|
262
|
+
__args__['scheduledActionId'] = scheduled_action_id
|
263
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
264
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getScheduledAction:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult).value
|
265
|
+
|
266
|
+
return AwaitableGetScheduledActionResult(
|
267
|
+
action_members=pulumi.get(__ret__, 'action_members'),
|
268
|
+
action_order=pulumi.get(__ret__, 'action_order'),
|
269
|
+
action_params=pulumi.get(__ret__, 'action_params'),
|
270
|
+
action_type=pulumi.get(__ret__, 'action_type'),
|
271
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
272
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
273
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
274
|
+
estimated_time_in_mins=pulumi.get(__ret__, 'estimated_time_in_mins'),
|
275
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
276
|
+
id=pulumi.get(__ret__, 'id'),
|
277
|
+
scheduled_action_id=pulumi.get(__ret__, 'scheduled_action_id'),
|
278
|
+
scheduling_plan_id=pulumi.get(__ret__, 'scheduling_plan_id'),
|
279
|
+
scheduling_window_id=pulumi.get(__ret__, 'scheduling_window_id'),
|
280
|
+
state=pulumi.get(__ret__, 'state'),
|
281
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
282
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
283
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
284
|
+
def get_scheduled_action_output(scheduled_action_id: Optional[pulumi.Input[str]] = None,
|
285
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScheduledActionResult]:
|
286
|
+
"""
|
287
|
+
This data source provides details about a specific Scheduled Action resource in Oracle Cloud Infrastructure Database service.
|
288
|
+
|
289
|
+
Gets information about the specified Scheduled Action.
|
290
|
+
|
291
|
+
## Example Usage
|
292
|
+
|
293
|
+
```python
|
294
|
+
import pulumi
|
295
|
+
import pulumi_oci as oci
|
296
|
+
|
297
|
+
test_scheduled_action = oci.Database.get_scheduled_action(scheduled_action_id=test_scheduled_action_oci_database_scheduled_action["id"])
|
298
|
+
```
|
299
|
+
|
300
|
+
|
301
|
+
:param str scheduled_action_id: The Scheduled Action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
302
|
+
"""
|
303
|
+
__args__ = dict()
|
304
|
+
__args__['scheduledActionId'] = scheduled_action_id
|
305
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
306
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getScheduledAction:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult)
|
307
|
+
return __ret__.apply(lambda __response__: GetScheduledActionResult(
|
308
|
+
action_members=pulumi.get(__response__, 'action_members'),
|
309
|
+
action_order=pulumi.get(__response__, 'action_order'),
|
310
|
+
action_params=pulumi.get(__response__, 'action_params'),
|
311
|
+
action_type=pulumi.get(__response__, 'action_type'),
|
312
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
313
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
314
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
315
|
+
estimated_time_in_mins=pulumi.get(__response__, 'estimated_time_in_mins'),
|
316
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
317
|
+
id=pulumi.get(__response__, 'id'),
|
318
|
+
scheduled_action_id=pulumi.get(__response__, 'scheduled_action_id'),
|
319
|
+
scheduling_plan_id=pulumi.get(__response__, 'scheduling_plan_id'),
|
320
|
+
scheduling_window_id=pulumi.get(__response__, 'scheduling_window_id'),
|
321
|
+
state=pulumi.get(__response__, 'state'),
|
322
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
323
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
324
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|