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
@@ -0,0 +1,812 @@
|
|
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__ = ['ExecutionActionArgs', 'ExecutionAction']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class ExecutionActionArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
action_type: pulumi.Input[str],
|
25
|
+
execution_window_id: pulumi.Input[str],
|
26
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]]] = None,
|
27
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
29
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
31
|
+
"""
|
32
|
+
The set of arguments for constructing a ExecutionAction resource.
|
33
|
+
:param pulumi.Input[str] action_type: The action type of the execution action being performed
|
34
|
+
:param pulumi.Input[str] execution_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]] action_members: (Updatable) List of action members of this execution action.
|
36
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
37
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
39
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
40
|
+
|
41
|
+
|
42
|
+
** IMPORTANT **
|
43
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
44
|
+
"""
|
45
|
+
pulumi.set(__self__, "action_type", action_type)
|
46
|
+
pulumi.set(__self__, "execution_window_id", execution_window_id)
|
47
|
+
if action_members is not None:
|
48
|
+
pulumi.set(__self__, "action_members", action_members)
|
49
|
+
if action_params is not None:
|
50
|
+
pulumi.set(__self__, "action_params", action_params)
|
51
|
+
if compartment_id is not None:
|
52
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
53
|
+
if defined_tags is not None:
|
54
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
55
|
+
if freeform_tags is not None:
|
56
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter(name="actionType")
|
60
|
+
def action_type(self) -> pulumi.Input[str]:
|
61
|
+
"""
|
62
|
+
The action type of the execution action being performed
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "action_type")
|
65
|
+
|
66
|
+
@action_type.setter
|
67
|
+
def action_type(self, value: pulumi.Input[str]):
|
68
|
+
pulumi.set(self, "action_type", value)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="executionWindowId")
|
72
|
+
def execution_window_id(self) -> pulumi.Input[str]:
|
73
|
+
"""
|
74
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "execution_window_id")
|
77
|
+
|
78
|
+
@execution_window_id.setter
|
79
|
+
def execution_window_id(self, value: pulumi.Input[str]):
|
80
|
+
pulumi.set(self, "execution_window_id", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter(name="actionMembers")
|
84
|
+
def action_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]]]:
|
85
|
+
"""
|
86
|
+
(Updatable) List of action members of this execution action.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "action_members")
|
89
|
+
|
90
|
+
@action_members.setter
|
91
|
+
def action_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]]]):
|
92
|
+
pulumi.set(self, "action_members", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="actionParams")
|
96
|
+
def action_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
97
|
+
"""
|
98
|
+
(Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "action_params")
|
101
|
+
|
102
|
+
@action_params.setter
|
103
|
+
def action_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
104
|
+
pulumi.set(self, "action_params", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="compartmentId")
|
108
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
109
|
+
"""
|
110
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "compartment_id")
|
113
|
+
|
114
|
+
@compartment_id.setter
|
115
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
116
|
+
pulumi.set(self, "compartment_id", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="definedTags")
|
120
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
121
|
+
"""
|
122
|
+
(Updatable) 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).
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "defined_tags")
|
125
|
+
|
126
|
+
@defined_tags.setter
|
127
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
128
|
+
pulumi.set(self, "defined_tags", value)
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="freeformTags")
|
132
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
133
|
+
"""
|
134
|
+
(Updatable) 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"}`
|
135
|
+
|
136
|
+
|
137
|
+
** IMPORTANT **
|
138
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "freeform_tags")
|
141
|
+
|
142
|
+
@freeform_tags.setter
|
143
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
144
|
+
pulumi.set(self, "freeform_tags", value)
|
145
|
+
|
146
|
+
|
147
|
+
@pulumi.input_type
|
148
|
+
class _ExecutionActionState:
|
149
|
+
def __init__(__self__, *,
|
150
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]]] = None,
|
151
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
152
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
153
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
154
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
155
|
+
description: Optional[pulumi.Input[str]] = None,
|
156
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
157
|
+
estimated_time_in_mins: Optional[pulumi.Input[int]] = None,
|
158
|
+
execution_action_order: Optional[pulumi.Input[int]] = None,
|
159
|
+
execution_window_id: Optional[pulumi.Input[str]] = None,
|
160
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
161
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
162
|
+
lifecycle_substate: Optional[pulumi.Input[str]] = None,
|
163
|
+
state: Optional[pulumi.Input[str]] = None,
|
164
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
165
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
166
|
+
total_time_taken_in_mins: Optional[pulumi.Input[int]] = None):
|
167
|
+
"""
|
168
|
+
Input properties used for looking up and filtering ExecutionAction resources.
|
169
|
+
:param pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]] action_members: (Updatable) List of action members of this execution action.
|
170
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
171
|
+
:param pulumi.Input[str] action_type: The action type of the execution action being performed
|
172
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
173
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
174
|
+
:param pulumi.Input[str] description: Description of the execution action.
|
175
|
+
:param pulumi.Input[str] display_name: The user-friendly name for the execution action. The name does not need to be unique.
|
176
|
+
:param pulumi.Input[int] estimated_time_in_mins: The estimated time of the execution action in minutes.
|
177
|
+
:param pulumi.Input[int] execution_action_order: The priority order of the execution action.
|
178
|
+
:param pulumi.Input[str] execution_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
179
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
180
|
+
|
181
|
+
|
182
|
+
** IMPORTANT **
|
183
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
184
|
+
:param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
|
185
|
+
:param pulumi.Input[str] lifecycle_substate: The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
|
186
|
+
:param pulumi.Input[str] state: The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
187
|
+
:param pulumi.Input[str] time_created: The date and time the execution action was created.
|
188
|
+
:param pulumi.Input[str] time_updated: The last date and time that the execution action was updated.
|
189
|
+
:param pulumi.Input[int] total_time_taken_in_mins: The total time taken by corresponding resource activity in minutes.
|
190
|
+
"""
|
191
|
+
if action_members is not None:
|
192
|
+
pulumi.set(__self__, "action_members", action_members)
|
193
|
+
if action_params is not None:
|
194
|
+
pulumi.set(__self__, "action_params", action_params)
|
195
|
+
if action_type is not None:
|
196
|
+
pulumi.set(__self__, "action_type", action_type)
|
197
|
+
if compartment_id is not None:
|
198
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
199
|
+
if defined_tags is not None:
|
200
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
201
|
+
if description is not None:
|
202
|
+
pulumi.set(__self__, "description", description)
|
203
|
+
if display_name is not None:
|
204
|
+
pulumi.set(__self__, "display_name", display_name)
|
205
|
+
if estimated_time_in_mins is not None:
|
206
|
+
pulumi.set(__self__, "estimated_time_in_mins", estimated_time_in_mins)
|
207
|
+
if execution_action_order is not None:
|
208
|
+
pulumi.set(__self__, "execution_action_order", execution_action_order)
|
209
|
+
if execution_window_id is not None:
|
210
|
+
pulumi.set(__self__, "execution_window_id", execution_window_id)
|
211
|
+
if freeform_tags is not None:
|
212
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
213
|
+
if lifecycle_details is not None:
|
214
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
215
|
+
if lifecycle_substate is not None:
|
216
|
+
pulumi.set(__self__, "lifecycle_substate", lifecycle_substate)
|
217
|
+
if state is not None:
|
218
|
+
pulumi.set(__self__, "state", state)
|
219
|
+
if time_created is not None:
|
220
|
+
pulumi.set(__self__, "time_created", time_created)
|
221
|
+
if time_updated is not None:
|
222
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
223
|
+
if total_time_taken_in_mins is not None:
|
224
|
+
pulumi.set(__self__, "total_time_taken_in_mins", total_time_taken_in_mins)
|
225
|
+
|
226
|
+
@property
|
227
|
+
@pulumi.getter(name="actionMembers")
|
228
|
+
def action_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]]]:
|
229
|
+
"""
|
230
|
+
(Updatable) List of action members of this execution action.
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "action_members")
|
233
|
+
|
234
|
+
@action_members.setter
|
235
|
+
def action_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ExecutionActionActionMemberArgs']]]]):
|
236
|
+
pulumi.set(self, "action_members", value)
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter(name="actionParams")
|
240
|
+
def action_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
241
|
+
"""
|
242
|
+
(Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
243
|
+
"""
|
244
|
+
return pulumi.get(self, "action_params")
|
245
|
+
|
246
|
+
@action_params.setter
|
247
|
+
def action_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
248
|
+
pulumi.set(self, "action_params", value)
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter(name="actionType")
|
252
|
+
def action_type(self) -> Optional[pulumi.Input[str]]:
|
253
|
+
"""
|
254
|
+
The action type of the execution action being performed
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "action_type")
|
257
|
+
|
258
|
+
@action_type.setter
|
259
|
+
def action_type(self, value: Optional[pulumi.Input[str]]):
|
260
|
+
pulumi.set(self, "action_type", value)
|
261
|
+
|
262
|
+
@property
|
263
|
+
@pulumi.getter(name="compartmentId")
|
264
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
265
|
+
"""
|
266
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "compartment_id")
|
269
|
+
|
270
|
+
@compartment_id.setter
|
271
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
272
|
+
pulumi.set(self, "compartment_id", value)
|
273
|
+
|
274
|
+
@property
|
275
|
+
@pulumi.getter(name="definedTags")
|
276
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
277
|
+
"""
|
278
|
+
(Updatable) 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).
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "defined_tags")
|
281
|
+
|
282
|
+
@defined_tags.setter
|
283
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
284
|
+
pulumi.set(self, "defined_tags", value)
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter
|
288
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
289
|
+
"""
|
290
|
+
Description of the execution action.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "description")
|
293
|
+
|
294
|
+
@description.setter
|
295
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
296
|
+
pulumi.set(self, "description", value)
|
297
|
+
|
298
|
+
@property
|
299
|
+
@pulumi.getter(name="displayName")
|
300
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
301
|
+
"""
|
302
|
+
The user-friendly name for the execution action. The name does not need to be unique.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "display_name")
|
305
|
+
|
306
|
+
@display_name.setter
|
307
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
308
|
+
pulumi.set(self, "display_name", value)
|
309
|
+
|
310
|
+
@property
|
311
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
312
|
+
def estimated_time_in_mins(self) -> Optional[pulumi.Input[int]]:
|
313
|
+
"""
|
314
|
+
The estimated time of the execution action in minutes.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
317
|
+
|
318
|
+
@estimated_time_in_mins.setter
|
319
|
+
def estimated_time_in_mins(self, value: Optional[pulumi.Input[int]]):
|
320
|
+
pulumi.set(self, "estimated_time_in_mins", value)
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter(name="executionActionOrder")
|
324
|
+
def execution_action_order(self) -> Optional[pulumi.Input[int]]:
|
325
|
+
"""
|
326
|
+
The priority order of the execution action.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "execution_action_order")
|
329
|
+
|
330
|
+
@execution_action_order.setter
|
331
|
+
def execution_action_order(self, value: Optional[pulumi.Input[int]]):
|
332
|
+
pulumi.set(self, "execution_action_order", value)
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter(name="executionWindowId")
|
336
|
+
def execution_window_id(self) -> Optional[pulumi.Input[str]]:
|
337
|
+
"""
|
338
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "execution_window_id")
|
341
|
+
|
342
|
+
@execution_window_id.setter
|
343
|
+
def execution_window_id(self, value: Optional[pulumi.Input[str]]):
|
344
|
+
pulumi.set(self, "execution_window_id", value)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter(name="freeformTags")
|
348
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
349
|
+
"""
|
350
|
+
(Updatable) 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"}`
|
351
|
+
|
352
|
+
|
353
|
+
** IMPORTANT **
|
354
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "freeform_tags")
|
357
|
+
|
358
|
+
@freeform_tags.setter
|
359
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
360
|
+
pulumi.set(self, "freeform_tags", value)
|
361
|
+
|
362
|
+
@property
|
363
|
+
@pulumi.getter(name="lifecycleDetails")
|
364
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
365
|
+
"""
|
366
|
+
Additional information about the current lifecycle state.
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "lifecycle_details")
|
369
|
+
|
370
|
+
@lifecycle_details.setter
|
371
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
372
|
+
pulumi.set(self, "lifecycle_details", value)
|
373
|
+
|
374
|
+
@property
|
375
|
+
@pulumi.getter(name="lifecycleSubstate")
|
376
|
+
def lifecycle_substate(self) -> Optional[pulumi.Input[str]]:
|
377
|
+
"""
|
378
|
+
The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
|
379
|
+
"""
|
380
|
+
return pulumi.get(self, "lifecycle_substate")
|
381
|
+
|
382
|
+
@lifecycle_substate.setter
|
383
|
+
def lifecycle_substate(self, value: Optional[pulumi.Input[str]]):
|
384
|
+
pulumi.set(self, "lifecycle_substate", value)
|
385
|
+
|
386
|
+
@property
|
387
|
+
@pulumi.getter
|
388
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
389
|
+
"""
|
390
|
+
The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "state")
|
393
|
+
|
394
|
+
@state.setter
|
395
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
396
|
+
pulumi.set(self, "state", value)
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter(name="timeCreated")
|
400
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
401
|
+
"""
|
402
|
+
The date and time the execution action was created.
|
403
|
+
"""
|
404
|
+
return pulumi.get(self, "time_created")
|
405
|
+
|
406
|
+
@time_created.setter
|
407
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
408
|
+
pulumi.set(self, "time_created", value)
|
409
|
+
|
410
|
+
@property
|
411
|
+
@pulumi.getter(name="timeUpdated")
|
412
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
413
|
+
"""
|
414
|
+
The last date and time that the execution action was updated.
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "time_updated")
|
417
|
+
|
418
|
+
@time_updated.setter
|
419
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
420
|
+
pulumi.set(self, "time_updated", value)
|
421
|
+
|
422
|
+
@property
|
423
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
424
|
+
def total_time_taken_in_mins(self) -> Optional[pulumi.Input[int]]:
|
425
|
+
"""
|
426
|
+
The total time taken by corresponding resource activity in minutes.
|
427
|
+
"""
|
428
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
429
|
+
|
430
|
+
@total_time_taken_in_mins.setter
|
431
|
+
def total_time_taken_in_mins(self, value: Optional[pulumi.Input[int]]):
|
432
|
+
pulumi.set(self, "total_time_taken_in_mins", value)
|
433
|
+
|
434
|
+
|
435
|
+
class ExecutionAction(pulumi.CustomResource):
|
436
|
+
@overload
|
437
|
+
def __init__(__self__,
|
438
|
+
resource_name: str,
|
439
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
440
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExecutionActionActionMemberArgs', 'ExecutionActionActionMemberArgsDict']]]]] = None,
|
441
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
442
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
443
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
444
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
445
|
+
execution_window_id: Optional[pulumi.Input[str]] = None,
|
446
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
447
|
+
__props__=None):
|
448
|
+
"""
|
449
|
+
This resource provides the Execution Action resource in Oracle Cloud Infrastructure Database service.
|
450
|
+
|
451
|
+
Creates an execution action resource.
|
452
|
+
|
453
|
+
## Example Usage
|
454
|
+
|
455
|
+
```python
|
456
|
+
import pulumi
|
457
|
+
import pulumi_oci as oci
|
458
|
+
|
459
|
+
test_execution_action = oci.database.ExecutionAction("test_execution_action",
|
460
|
+
action_type=execution_action_action_type,
|
461
|
+
execution_window_id=test_execution_window["id"],
|
462
|
+
action_members=[{
|
463
|
+
"member_id": test_member["id"],
|
464
|
+
"member_order": execution_action_action_members_member_order,
|
465
|
+
"estimated_time_in_mins": execution_action_action_members_estimated_time_in_mins,
|
466
|
+
"status": execution_action_action_members_status,
|
467
|
+
"total_time_taken_in_mins": execution_action_action_members_total_time_taken_in_mins,
|
468
|
+
}],
|
469
|
+
action_params=execution_action_action_params,
|
470
|
+
compartment_id=compartment_id,
|
471
|
+
defined_tags=execution_action_defined_tags,
|
472
|
+
freeform_tags={
|
473
|
+
"Department": "Finance",
|
474
|
+
})
|
475
|
+
```
|
476
|
+
|
477
|
+
## Import
|
478
|
+
|
479
|
+
ExecutionActions can be imported using the `id`, e.g.
|
480
|
+
|
481
|
+
```sh
|
482
|
+
$ pulumi import oci:Database/executionAction:ExecutionAction test_execution_action "id"
|
483
|
+
```
|
484
|
+
|
485
|
+
:param str resource_name: The name of the resource.
|
486
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
487
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ExecutionActionActionMemberArgs', 'ExecutionActionActionMemberArgsDict']]]] action_members: (Updatable) List of action members of this execution action.
|
488
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
489
|
+
:param pulumi.Input[str] action_type: The action type of the execution action being performed
|
490
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
491
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
492
|
+
:param pulumi.Input[str] execution_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
493
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
494
|
+
|
495
|
+
|
496
|
+
** IMPORTANT **
|
497
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
498
|
+
"""
|
499
|
+
...
|
500
|
+
@overload
|
501
|
+
def __init__(__self__,
|
502
|
+
resource_name: str,
|
503
|
+
args: ExecutionActionArgs,
|
504
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
505
|
+
"""
|
506
|
+
This resource provides the Execution Action resource in Oracle Cloud Infrastructure Database service.
|
507
|
+
|
508
|
+
Creates an execution action resource.
|
509
|
+
|
510
|
+
## Example Usage
|
511
|
+
|
512
|
+
```python
|
513
|
+
import pulumi
|
514
|
+
import pulumi_oci as oci
|
515
|
+
|
516
|
+
test_execution_action = oci.database.ExecutionAction("test_execution_action",
|
517
|
+
action_type=execution_action_action_type,
|
518
|
+
execution_window_id=test_execution_window["id"],
|
519
|
+
action_members=[{
|
520
|
+
"member_id": test_member["id"],
|
521
|
+
"member_order": execution_action_action_members_member_order,
|
522
|
+
"estimated_time_in_mins": execution_action_action_members_estimated_time_in_mins,
|
523
|
+
"status": execution_action_action_members_status,
|
524
|
+
"total_time_taken_in_mins": execution_action_action_members_total_time_taken_in_mins,
|
525
|
+
}],
|
526
|
+
action_params=execution_action_action_params,
|
527
|
+
compartment_id=compartment_id,
|
528
|
+
defined_tags=execution_action_defined_tags,
|
529
|
+
freeform_tags={
|
530
|
+
"Department": "Finance",
|
531
|
+
})
|
532
|
+
```
|
533
|
+
|
534
|
+
## Import
|
535
|
+
|
536
|
+
ExecutionActions can be imported using the `id`, e.g.
|
537
|
+
|
538
|
+
```sh
|
539
|
+
$ pulumi import oci:Database/executionAction:ExecutionAction test_execution_action "id"
|
540
|
+
```
|
541
|
+
|
542
|
+
:param str resource_name: The name of the resource.
|
543
|
+
:param ExecutionActionArgs args: The arguments to use to populate this resource's properties.
|
544
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
545
|
+
"""
|
546
|
+
...
|
547
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
548
|
+
resource_args, opts = _utilities.get_resource_args_opts(ExecutionActionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
549
|
+
if resource_args is not None:
|
550
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
551
|
+
else:
|
552
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
553
|
+
|
554
|
+
def _internal_init(__self__,
|
555
|
+
resource_name: str,
|
556
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
557
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExecutionActionActionMemberArgs', 'ExecutionActionActionMemberArgsDict']]]]] = None,
|
558
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
559
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
560
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
561
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
562
|
+
execution_window_id: Optional[pulumi.Input[str]] = None,
|
563
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
564
|
+
__props__=None):
|
565
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
566
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
567
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
568
|
+
if opts.id is None:
|
569
|
+
if __props__ is not None:
|
570
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
571
|
+
__props__ = ExecutionActionArgs.__new__(ExecutionActionArgs)
|
572
|
+
|
573
|
+
__props__.__dict__["action_members"] = action_members
|
574
|
+
__props__.__dict__["action_params"] = action_params
|
575
|
+
if action_type is None and not opts.urn:
|
576
|
+
raise TypeError("Missing required property 'action_type'")
|
577
|
+
__props__.__dict__["action_type"] = action_type
|
578
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
579
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
580
|
+
if execution_window_id is None and not opts.urn:
|
581
|
+
raise TypeError("Missing required property 'execution_window_id'")
|
582
|
+
__props__.__dict__["execution_window_id"] = execution_window_id
|
583
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
584
|
+
__props__.__dict__["description"] = None
|
585
|
+
__props__.__dict__["display_name"] = None
|
586
|
+
__props__.__dict__["estimated_time_in_mins"] = None
|
587
|
+
__props__.__dict__["execution_action_order"] = None
|
588
|
+
__props__.__dict__["lifecycle_details"] = None
|
589
|
+
__props__.__dict__["lifecycle_substate"] = None
|
590
|
+
__props__.__dict__["state"] = None
|
591
|
+
__props__.__dict__["time_created"] = None
|
592
|
+
__props__.__dict__["time_updated"] = None
|
593
|
+
__props__.__dict__["total_time_taken_in_mins"] = None
|
594
|
+
super(ExecutionAction, __self__).__init__(
|
595
|
+
'oci:Database/executionAction:ExecutionAction',
|
596
|
+
resource_name,
|
597
|
+
__props__,
|
598
|
+
opts)
|
599
|
+
|
600
|
+
@staticmethod
|
601
|
+
def get(resource_name: str,
|
602
|
+
id: pulumi.Input[str],
|
603
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
604
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ExecutionActionActionMemberArgs', 'ExecutionActionActionMemberArgsDict']]]]] = None,
|
605
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
606
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
607
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
608
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
609
|
+
description: Optional[pulumi.Input[str]] = None,
|
610
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
611
|
+
estimated_time_in_mins: Optional[pulumi.Input[int]] = None,
|
612
|
+
execution_action_order: Optional[pulumi.Input[int]] = None,
|
613
|
+
execution_window_id: Optional[pulumi.Input[str]] = None,
|
614
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
615
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
616
|
+
lifecycle_substate: Optional[pulumi.Input[str]] = None,
|
617
|
+
state: Optional[pulumi.Input[str]] = None,
|
618
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
619
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
620
|
+
total_time_taken_in_mins: Optional[pulumi.Input[int]] = None) -> 'ExecutionAction':
|
621
|
+
"""
|
622
|
+
Get an existing ExecutionAction resource's state with the given name, id, and optional extra
|
623
|
+
properties used to qualify the lookup.
|
624
|
+
|
625
|
+
:param str resource_name: The unique name of the resulting resource.
|
626
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
627
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
628
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ExecutionActionActionMemberArgs', 'ExecutionActionActionMemberArgsDict']]]] action_members: (Updatable) List of action members of this execution action.
|
629
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
630
|
+
:param pulumi.Input[str] action_type: The action type of the execution action being performed
|
631
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
632
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
633
|
+
:param pulumi.Input[str] description: Description of the execution action.
|
634
|
+
:param pulumi.Input[str] display_name: The user-friendly name for the execution action. The name does not need to be unique.
|
635
|
+
:param pulumi.Input[int] estimated_time_in_mins: The estimated time of the execution action in minutes.
|
636
|
+
:param pulumi.Input[int] execution_action_order: The priority order of the execution action.
|
637
|
+
:param pulumi.Input[str] execution_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
638
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
639
|
+
|
640
|
+
|
641
|
+
** IMPORTANT **
|
642
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
643
|
+
:param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
|
644
|
+
:param pulumi.Input[str] lifecycle_substate: The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
|
645
|
+
:param pulumi.Input[str] state: The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
646
|
+
:param pulumi.Input[str] time_created: The date and time the execution action was created.
|
647
|
+
:param pulumi.Input[str] time_updated: The last date and time that the execution action was updated.
|
648
|
+
:param pulumi.Input[int] total_time_taken_in_mins: The total time taken by corresponding resource activity in minutes.
|
649
|
+
"""
|
650
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
651
|
+
|
652
|
+
__props__ = _ExecutionActionState.__new__(_ExecutionActionState)
|
653
|
+
|
654
|
+
__props__.__dict__["action_members"] = action_members
|
655
|
+
__props__.__dict__["action_params"] = action_params
|
656
|
+
__props__.__dict__["action_type"] = action_type
|
657
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
658
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
659
|
+
__props__.__dict__["description"] = description
|
660
|
+
__props__.__dict__["display_name"] = display_name
|
661
|
+
__props__.__dict__["estimated_time_in_mins"] = estimated_time_in_mins
|
662
|
+
__props__.__dict__["execution_action_order"] = execution_action_order
|
663
|
+
__props__.__dict__["execution_window_id"] = execution_window_id
|
664
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
665
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
666
|
+
__props__.__dict__["lifecycle_substate"] = lifecycle_substate
|
667
|
+
__props__.__dict__["state"] = state
|
668
|
+
__props__.__dict__["time_created"] = time_created
|
669
|
+
__props__.__dict__["time_updated"] = time_updated
|
670
|
+
__props__.__dict__["total_time_taken_in_mins"] = total_time_taken_in_mins
|
671
|
+
return ExecutionAction(resource_name, opts=opts, __props__=__props__)
|
672
|
+
|
673
|
+
@property
|
674
|
+
@pulumi.getter(name="actionMembers")
|
675
|
+
def action_members(self) -> pulumi.Output[Sequence['outputs.ExecutionActionActionMember']]:
|
676
|
+
"""
|
677
|
+
(Updatable) List of action members of this execution action.
|
678
|
+
"""
|
679
|
+
return pulumi.get(self, "action_members")
|
680
|
+
|
681
|
+
@property
|
682
|
+
@pulumi.getter(name="actionParams")
|
683
|
+
def action_params(self) -> pulumi.Output[Mapping[str, str]]:
|
684
|
+
"""
|
685
|
+
(Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
686
|
+
"""
|
687
|
+
return pulumi.get(self, "action_params")
|
688
|
+
|
689
|
+
@property
|
690
|
+
@pulumi.getter(name="actionType")
|
691
|
+
def action_type(self) -> pulumi.Output[str]:
|
692
|
+
"""
|
693
|
+
The action type of the execution action being performed
|
694
|
+
"""
|
695
|
+
return pulumi.get(self, "action_type")
|
696
|
+
|
697
|
+
@property
|
698
|
+
@pulumi.getter(name="compartmentId")
|
699
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
700
|
+
"""
|
701
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
702
|
+
"""
|
703
|
+
return pulumi.get(self, "compartment_id")
|
704
|
+
|
705
|
+
@property
|
706
|
+
@pulumi.getter(name="definedTags")
|
707
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
708
|
+
"""
|
709
|
+
(Updatable) 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).
|
710
|
+
"""
|
711
|
+
return pulumi.get(self, "defined_tags")
|
712
|
+
|
713
|
+
@property
|
714
|
+
@pulumi.getter
|
715
|
+
def description(self) -> pulumi.Output[str]:
|
716
|
+
"""
|
717
|
+
Description of the execution action.
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "description")
|
720
|
+
|
721
|
+
@property
|
722
|
+
@pulumi.getter(name="displayName")
|
723
|
+
def display_name(self) -> pulumi.Output[str]:
|
724
|
+
"""
|
725
|
+
The user-friendly name for the execution action. The name does not need to be unique.
|
726
|
+
"""
|
727
|
+
return pulumi.get(self, "display_name")
|
728
|
+
|
729
|
+
@property
|
730
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
731
|
+
def estimated_time_in_mins(self) -> pulumi.Output[int]:
|
732
|
+
"""
|
733
|
+
The estimated time of the execution action in minutes.
|
734
|
+
"""
|
735
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
736
|
+
|
737
|
+
@property
|
738
|
+
@pulumi.getter(name="executionActionOrder")
|
739
|
+
def execution_action_order(self) -> pulumi.Output[int]:
|
740
|
+
"""
|
741
|
+
The priority order of the execution action.
|
742
|
+
"""
|
743
|
+
return pulumi.get(self, "execution_action_order")
|
744
|
+
|
745
|
+
@property
|
746
|
+
@pulumi.getter(name="executionWindowId")
|
747
|
+
def execution_window_id(self) -> pulumi.Output[str]:
|
748
|
+
"""
|
749
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
750
|
+
"""
|
751
|
+
return pulumi.get(self, "execution_window_id")
|
752
|
+
|
753
|
+
@property
|
754
|
+
@pulumi.getter(name="freeformTags")
|
755
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
756
|
+
"""
|
757
|
+
(Updatable) 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"}`
|
758
|
+
|
759
|
+
|
760
|
+
** IMPORTANT **
|
761
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
762
|
+
"""
|
763
|
+
return pulumi.get(self, "freeform_tags")
|
764
|
+
|
765
|
+
@property
|
766
|
+
@pulumi.getter(name="lifecycleDetails")
|
767
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
768
|
+
"""
|
769
|
+
Additional information about the current lifecycle state.
|
770
|
+
"""
|
771
|
+
return pulumi.get(self, "lifecycle_details")
|
772
|
+
|
773
|
+
@property
|
774
|
+
@pulumi.getter(name="lifecycleSubstate")
|
775
|
+
def lifecycle_substate(self) -> pulumi.Output[str]:
|
776
|
+
"""
|
777
|
+
The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
|
778
|
+
"""
|
779
|
+
return pulumi.get(self, "lifecycle_substate")
|
780
|
+
|
781
|
+
@property
|
782
|
+
@pulumi.getter
|
783
|
+
def state(self) -> pulumi.Output[str]:
|
784
|
+
"""
|
785
|
+
The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
786
|
+
"""
|
787
|
+
return pulumi.get(self, "state")
|
788
|
+
|
789
|
+
@property
|
790
|
+
@pulumi.getter(name="timeCreated")
|
791
|
+
def time_created(self) -> pulumi.Output[str]:
|
792
|
+
"""
|
793
|
+
The date and time the execution action was created.
|
794
|
+
"""
|
795
|
+
return pulumi.get(self, "time_created")
|
796
|
+
|
797
|
+
@property
|
798
|
+
@pulumi.getter(name="timeUpdated")
|
799
|
+
def time_updated(self) -> pulumi.Output[str]:
|
800
|
+
"""
|
801
|
+
The last date and time that the execution action was updated.
|
802
|
+
"""
|
803
|
+
return pulumi.get(self, "time_updated")
|
804
|
+
|
805
|
+
@property
|
806
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
807
|
+
def total_time_taken_in_mins(self) -> pulumi.Output[int]:
|
808
|
+
"""
|
809
|
+
The total time taken by corresponding resource activity in minutes.
|
810
|
+
"""
|
811
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
812
|
+
|