pulumi-oci 2.9.0__py3-none-any.whl → 2.9.0a1724479778__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 +38 -86
- pulumi_oci/announcementsservice/__init__.py +0 -1
- pulumi_oci/announcementsservice/_inputs.py +6 -46
- pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
- pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
- pulumi_oci/announcementsservice/outputs.py +18 -195
- pulumi_oci/bigdataservice/_inputs.py +49 -1
- pulumi_oci/bigdataservice/bds_instance.py +128 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +31 -1
- pulumi_oci/bigdataservice/outputs.py +132 -3
- pulumi_oci/database/_inputs.py +0 -32
- pulumi_oci/database/autonomous_database.py +0 -28
- pulumi_oci/database/data_guard_association.py +0 -49
- pulumi_oci/database/get_autonomous_database.py +1 -14
- pulumi_oci/database/get_autonomous_databases.py +95 -32
- pulumi_oci/database/get_data_guard_association.py +1 -11
- pulumi_oci/database/outputs.py +42 -163
- pulumi_oci/databasemanagement/__init__.py +0 -1
- pulumi_oci/databasemanagement/_inputs.py +12 -875
- pulumi_oci/databasemanagement/database_dbm_features_management.py +3 -37
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -49
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
- pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +1 -21
- pulumi_oci/databasemanagement/get_managed_database.py +3 -47
- pulumi_oci/databasemanagement/managed_database.py +0 -56
- pulumi_oci/databasemanagement/outputs.py +5553 -7487
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +1 -35
- pulumi_oci/datasafe/__init__.py +0 -6
- pulumi_oci/datasafe/_inputs.py +0 -18
- pulumi_oci/datasafe/database_security_config_management.py +2 -244
- pulumi_oci/datasafe/outputs.py +0 -18
- pulumi_oci/datasafe/security_policy_deployment_management.py +2 -180
- pulumi_oci/datasafe/security_policy_management.py +2 -172
- pulumi_oci/datasafe/sql_firewall_policy_management.py +2 -354
- pulumi_oci/filestorage/mount_target.py +38 -143
- pulumi_oci/filestorage/outputs.py +0 -44
- pulumi_oci/{desktops → fleetsoftwareupdate}/__init__.py +6 -7
- pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
- pulumi_oci/{delegateaccesscontrol/get_delegation_subscription.py → globallydistributeddatabase/get_private_endpoint.py} +105 -66
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
- pulumi_oci/{delegateaccesscontrol/delegation_subscription.py → globallydistributeddatabase/private_endpoint.py} +267 -162
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
- pulumi_oci/identity/domains_group.py +0 -34
- pulumi_oci/identity/domains_user.py +0 -34
- pulumi_oci/identity/get_domains_group.py +1 -11
- pulumi_oci/identity/get_domains_user.py +1 -11
- pulumi_oci/identity/outputs.py +0 -14
- pulumi_oci/kms/_inputs.py +10 -10
- pulumi_oci/kms/get_vault.py +1 -14
- pulumi_oci/kms/outputs.py +30 -41
- pulumi_oci/kms/vault.py +0 -28
- pulumi_oci/loadbalancer/load_balancer.py +0 -224
- pulumi_oci/loadbalancer/outputs.py +0 -22
- pulumi_oci/mysql/_inputs.py +0 -23
- pulumi_oci/mysql/get_mysql_db_system.py +2 -15
- pulumi_oci/mysql/mysql_db_system.py +0 -53
- pulumi_oci/mysql/outputs.py +6 -74
- pulumi_oci/ocvp/get_cluster.py +2 -2
- pulumi_oci/ocvp/get_exsi_hosts.py +2 -2
- pulumi_oci/ocvp/get_supported_vmware_software_versions.py +5 -22
- pulumi_oci/ocvp/outputs.py +2 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/recoverymod/_inputs.py +8 -0
- pulumi_oci/recoverymod/get_protected_database.py +1 -14
- pulumi_oci/recoverymod/get_protection_policy.py +1 -14
- pulumi_oci/recoverymod/outputs.py +8 -22
- pulumi_oci/recoverymod/protected_database.py +3 -80
- pulumi_oci/recoverymod/protection_policy.py +0 -49
- pulumi_oci/waf/_inputs.py +16 -29
- pulumi_oci/waf/outputs.py +10 -33
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/METADATA +1 -1
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/RECORD +86 -104
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/WHEEL +1 -1
- pulumi_oci/announcementsservice/get_services.py +0 -173
- pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +0 -275
- pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +0 -264
- pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +0 -264
- pulumi_oci/delegateaccesscontrol/__init__.py +0 -24
- pulumi_oci/delegateaccesscontrol/_inputs.py +0 -306
- pulumi_oci/delegateaccesscontrol/delegation_control.py +0 -1082
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +0 -535
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +0 -174
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +0 -133
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +0 -250
- pulumi_oci/delegateaccesscontrol/get_delegation_control.py +0 -378
- pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +0 -133
- pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +0 -213
- pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +0 -176
- pulumi_oci/delegateaccesscontrol/get_service_provider.py +0 -274
- pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +0 -210
- pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +0 -210
- pulumi_oci/delegateaccesscontrol/get_service_providers.py +0 -213
- pulumi_oci/delegateaccesscontrol/outputs.py +0 -1679
- pulumi_oci/desktops/_inputs.py +0 -483
- pulumi_oci/desktops/desktop_pool.py +0 -1348
- pulumi_oci/desktops/get_desktop.py +0 -223
- pulumi_oci/desktops/get_desktop_pool.py +0 -418
- pulumi_oci/desktops/get_desktop_pool_desktops.py +0 -208
- pulumi_oci/desktops/get_desktop_pool_volumes.py +0 -214
- pulumi_oci/desktops/get_desktop_pools.py +0 -203
- pulumi_oci/desktops/get_desktops.py +0 -214
- pulumi_oci/desktops/outputs.py +0 -1738
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/top_level.txt +0 -0
@@ -21,7 +21,7 @@ class GetProtectionPolicyResult:
|
|
21
21
|
"""
|
22
22
|
A collection of values returned by getProtectionPolicy.
|
23
23
|
"""
|
24
|
-
def __init__(__self__, backup_retention_period_in_days=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_predefined_policy=None, lifecycle_details=None,
|
24
|
+
def __init__(__self__, backup_retention_period_in_days=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_predefined_policy=None, lifecycle_details=None, policy_locked_date_time=None, protection_policy_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
25
25
|
if backup_retention_period_in_days and not isinstance(backup_retention_period_in_days, int):
|
26
26
|
raise TypeError("Expected argument 'backup_retention_period_in_days' to be a int")
|
27
27
|
pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days)
|
@@ -46,9 +46,6 @@ class GetProtectionPolicyResult:
|
|
46
46
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
47
47
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
48
48
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
49
|
-
if must_enforce_cloud_locality and not isinstance(must_enforce_cloud_locality, bool):
|
50
|
-
raise TypeError("Expected argument 'must_enforce_cloud_locality' to be a bool")
|
51
|
-
pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
|
52
49
|
if policy_locked_date_time and not isinstance(policy_locked_date_time, str):
|
53
50
|
raise TypeError("Expected argument 'policy_locked_date_time' to be a str")
|
54
51
|
pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
|
@@ -132,14 +129,6 @@ class GetProtectionPolicyResult:
|
|
132
129
|
"""
|
133
130
|
return pulumi.get(self, "lifecycle_details")
|
134
131
|
|
135
|
-
@property
|
136
|
-
@pulumi.getter(name="mustEnforceCloudLocality")
|
137
|
-
def must_enforce_cloud_locality(self) -> bool:
|
138
|
-
"""
|
139
|
-
Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
|
140
|
-
"""
|
141
|
-
return pulumi.get(self, "must_enforce_cloud_locality")
|
142
|
-
|
143
132
|
@property
|
144
133
|
@pulumi.getter(name="policyLockedDateTime")
|
145
134
|
def policy_locked_date_time(self) -> str:
|
@@ -200,7 +189,6 @@ class AwaitableGetProtectionPolicyResult(GetProtectionPolicyResult):
|
|
200
189
|
id=self.id,
|
201
190
|
is_predefined_policy=self.is_predefined_policy,
|
202
191
|
lifecycle_details=self.lifecycle_details,
|
203
|
-
must_enforce_cloud_locality=self.must_enforce_cloud_locality,
|
204
192
|
policy_locked_date_time=self.policy_locked_date_time,
|
205
193
|
protection_policy_id=self.protection_policy_id,
|
206
194
|
state=self.state,
|
@@ -242,7 +230,6 @@ def get_protection_policy(protection_policy_id: Optional[str] = None,
|
|
242
230
|
id=pulumi.get(__ret__, 'id'),
|
243
231
|
is_predefined_policy=pulumi.get(__ret__, 'is_predefined_policy'),
|
244
232
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
245
|
-
must_enforce_cloud_locality=pulumi.get(__ret__, 'must_enforce_cloud_locality'),
|
246
233
|
policy_locked_date_time=pulumi.get(__ret__, 'policy_locked_date_time'),
|
247
234
|
protection_policy_id=pulumi.get(__ret__, 'protection_policy_id'),
|
248
235
|
state=pulumi.get(__ret__, 'state'),
|
@@ -186,6 +186,10 @@ class ProtectedDatabaseRecoveryServiceSubnet(dict):
|
|
186
186
|
state: Optional[str] = None):
|
187
187
|
"""
|
188
188
|
:param str recovery_service_subnet_id: (Updatable) The recovery service subnet OCID.
|
189
|
+
|
190
|
+
|
191
|
+
** IMPORTANT **
|
192
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
189
193
|
:param str state: The current state of the Protected Database.
|
190
194
|
"""
|
191
195
|
pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id)
|
@@ -197,6 +201,10 @@ class ProtectedDatabaseRecoveryServiceSubnet(dict):
|
|
197
201
|
def recovery_service_subnet_id(self) -> str:
|
198
202
|
"""
|
199
203
|
(Updatable) The recovery service subnet OCID.
|
204
|
+
|
205
|
+
|
206
|
+
** IMPORTANT **
|
207
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
200
208
|
"""
|
201
209
|
return pulumi.get(self, "recovery_service_subnet_id")
|
202
210
|
|
@@ -395,7 +403,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
395
403
|
protection_policy_id: str,
|
396
404
|
recovery_service_subnets: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetResult'],
|
397
405
|
state: str,
|
398
|
-
subscription_id: str,
|
399
406
|
system_tags: Mapping[str, str],
|
400
407
|
time_created: str,
|
401
408
|
time_updated: str,
|
@@ -419,7 +426,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
419
426
|
:param str protection_policy_id: The protection policy OCID.
|
420
427
|
:param Sequence['GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs'] recovery_service_subnets: List of recovery service subnet resources associated with the protected database.
|
421
428
|
:param str state: A filter to return only the resources that match the specified lifecycle state.
|
422
|
-
:param str subscription_id: The OCID of the cloud service subscription to which the protected database is linked.
|
423
429
|
:param Mapping[str, str] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
424
430
|
:param str time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
425
431
|
:param str time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
@@ -445,7 +451,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
445
451
|
pulumi.set(__self__, "protection_policy_id", protection_policy_id)
|
446
452
|
pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets)
|
447
453
|
pulumi.set(__self__, "state", state)
|
448
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
449
454
|
pulumi.set(__self__, "system_tags", system_tags)
|
450
455
|
pulumi.set(__self__, "time_created", time_created)
|
451
456
|
pulumi.set(__self__, "time_updated", time_updated)
|
@@ -605,14 +610,6 @@ class GetProtectedDatabasesProtectedDatabaseCollectionItemResult(dict):
|
|
605
610
|
"""
|
606
611
|
return pulumi.get(self, "state")
|
607
612
|
|
608
|
-
@property
|
609
|
-
@pulumi.getter(name="subscriptionId")
|
610
|
-
def subscription_id(self) -> str:
|
611
|
-
"""
|
612
|
-
The OCID of the cloud service subscription to which the protected database is linked.
|
613
|
-
"""
|
614
|
-
return pulumi.get(self, "subscription_id")
|
615
|
-
|
616
613
|
@property
|
617
614
|
@pulumi.getter(name="systemTags")
|
618
615
|
def system_tags(self) -> Mapping[str, str]:
|
@@ -820,7 +817,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
820
817
|
id: str,
|
821
818
|
is_predefined_policy: bool,
|
822
819
|
lifecycle_details: str,
|
823
|
-
must_enforce_cloud_locality: bool,
|
824
820
|
policy_locked_date_time: str,
|
825
821
|
state: str,
|
826
822
|
system_tags: Mapping[str, str],
|
@@ -835,7 +831,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
835
831
|
:param str id: The protection policy OCID.
|
836
832
|
:param bool is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
|
837
833
|
:param str lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
|
838
|
-
:param bool must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
|
839
834
|
:param str policy_locked_date_time: An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
840
835
|
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
841
836
|
:param Mapping[str, str] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
@@ -850,7 +845,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
850
845
|
pulumi.set(__self__, "id", id)
|
851
846
|
pulumi.set(__self__, "is_predefined_policy", is_predefined_policy)
|
852
847
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
853
|
-
pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
|
854
848
|
pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
|
855
849
|
pulumi.set(__self__, "state", state)
|
856
850
|
pulumi.set(__self__, "system_tags", system_tags)
|
@@ -921,14 +915,6 @@ class GetProtectionPoliciesProtectionPolicyCollectionItemResult(dict):
|
|
921
915
|
"""
|
922
916
|
return pulumi.get(self, "lifecycle_details")
|
923
917
|
|
924
|
-
@property
|
925
|
-
@pulumi.getter(name="mustEnforceCloudLocality")
|
926
|
-
def must_enforce_cloud_locality(self) -> bool:
|
927
|
-
"""
|
928
|
-
Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.
|
929
|
-
"""
|
930
|
-
return pulumi.get(self, "must_enforce_cloud_locality")
|
931
|
-
|
932
918
|
@property
|
933
919
|
@pulumi.getter(name="policyLockedDateTime")
|
934
920
|
def policy_locked_date_time(self) -> str:
|
@@ -27,8 +27,7 @@ class ProtectedDatabaseArgs:
|
|
27
27
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
28
|
deletion_schedule: Optional[pulumi.Input[str]] = None,
|
29
29
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
-
is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None
|
31
|
-
subscription_id: Optional[pulumi.Input[str]] = None):
|
30
|
+
is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None):
|
32
31
|
"""
|
33
32
|
The set of arguments for constructing a ProtectedDatabase resource.
|
34
33
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the protected database.
|
@@ -45,11 +44,6 @@ class ProtectedDatabaseArgs:
|
|
45
44
|
* The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
|
46
45
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
47
46
|
:param pulumi.Input[bool] is_redo_logs_shipped: (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
|
48
|
-
:param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
49
|
-
|
50
|
-
|
51
|
-
** IMPORTANT **
|
52
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
53
47
|
"""
|
54
48
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
55
49
|
pulumi.set(__self__, "db_unique_name", db_unique_name)
|
@@ -69,8 +63,6 @@ class ProtectedDatabaseArgs:
|
|
69
63
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
70
64
|
if is_redo_logs_shipped is not None:
|
71
65
|
pulumi.set(__self__, "is_redo_logs_shipped", is_redo_logs_shipped)
|
72
|
-
if subscription_id is not None:
|
73
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
74
66
|
|
75
67
|
@property
|
76
68
|
@pulumi.getter(name="compartmentId")
|
@@ -218,22 +210,6 @@ class ProtectedDatabaseArgs:
|
|
218
210
|
def is_redo_logs_shipped(self, value: Optional[pulumi.Input[bool]]):
|
219
211
|
pulumi.set(self, "is_redo_logs_shipped", value)
|
220
212
|
|
221
|
-
@property
|
222
|
-
@pulumi.getter(name="subscriptionId")
|
223
|
-
def subscription_id(self) -> Optional[pulumi.Input[str]]:
|
224
|
-
"""
|
225
|
-
(Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
226
|
-
|
227
|
-
|
228
|
-
** IMPORTANT **
|
229
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
230
|
-
"""
|
231
|
-
return pulumi.get(self, "subscription_id")
|
232
|
-
|
233
|
-
@subscription_id.setter
|
234
|
-
def subscription_id(self, value: Optional[pulumi.Input[str]]):
|
235
|
-
pulumi.set(self, "subscription_id", value)
|
236
|
-
|
237
213
|
|
238
214
|
@pulumi.input_type
|
239
215
|
class _ProtectedDatabaseState:
|
@@ -257,7 +233,6 @@ class _ProtectedDatabaseState:
|
|
257
233
|
protection_policy_id: Optional[pulumi.Input[str]] = None,
|
258
234
|
recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]]] = None,
|
259
235
|
state: Optional[pulumi.Input[str]] = None,
|
260
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
261
236
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
262
237
|
time_created: Optional[pulumi.Input[str]] = None,
|
263
238
|
time_updated: Optional[pulumi.Input[str]] = None,
|
@@ -285,11 +260,6 @@ class _ProtectedDatabaseState:
|
|
285
260
|
:param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
|
286
261
|
:param pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
|
287
262
|
:param pulumi.Input[str] state: The current state of the Protected Database.
|
288
|
-
:param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
289
|
-
|
290
|
-
|
291
|
-
** IMPORTANT **
|
292
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
293
263
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
294
264
|
:param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
295
265
|
:param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
@@ -333,8 +303,6 @@ class _ProtectedDatabaseState:
|
|
333
303
|
pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets)
|
334
304
|
if state is not None:
|
335
305
|
pulumi.set(__self__, "state", state)
|
336
|
-
if subscription_id is not None:
|
337
|
-
pulumi.set(__self__, "subscription_id", subscription_id)
|
338
306
|
if system_tags is not None:
|
339
307
|
pulumi.set(__self__, "system_tags", system_tags)
|
340
308
|
if time_created is not None:
|
@@ -574,22 +542,6 @@ class _ProtectedDatabaseState:
|
|
574
542
|
def state(self, value: Optional[pulumi.Input[str]]):
|
575
543
|
pulumi.set(self, "state", value)
|
576
544
|
|
577
|
-
@property
|
578
|
-
@pulumi.getter(name="subscriptionId")
|
579
|
-
def subscription_id(self) -> Optional[pulumi.Input[str]]:
|
580
|
-
"""
|
581
|
-
(Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
582
|
-
|
583
|
-
|
584
|
-
** IMPORTANT **
|
585
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
586
|
-
"""
|
587
|
-
return pulumi.get(self, "subscription_id")
|
588
|
-
|
589
|
-
@subscription_id.setter
|
590
|
-
def subscription_id(self, value: Optional[pulumi.Input[str]]):
|
591
|
-
pulumi.set(self, "subscription_id", value)
|
592
|
-
|
593
545
|
@property
|
594
546
|
@pulumi.getter(name="systemTags")
|
595
547
|
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -656,7 +608,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
656
608
|
password: Optional[pulumi.Input[str]] = None,
|
657
609
|
protection_policy_id: Optional[pulumi.Input[str]] = None,
|
658
610
|
recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None,
|
659
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
660
611
|
__props__=None):
|
661
612
|
"""
|
662
613
|
This resource provides the Protected Database resource in Oracle Cloud Infrastructure Recovery service.
|
@@ -687,8 +638,7 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
687
638
|
freeform_tags={
|
688
639
|
"bar-key": "value",
|
689
640
|
},
|
690
|
-
is_redo_logs_shipped=protected_database_is_redo_logs_shipped
|
691
|
-
subscription_id=test_subscription["id"])
|
641
|
+
is_redo_logs_shipped=protected_database_is_redo_logs_shipped)
|
692
642
|
```
|
693
643
|
|
694
644
|
## Import
|
@@ -715,11 +665,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
715
665
|
:param pulumi.Input[str] password: (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
|
716
666
|
:param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
|
717
667
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
|
718
|
-
:param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
719
|
-
|
720
|
-
|
721
|
-
** IMPORTANT **
|
722
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
723
668
|
"""
|
724
669
|
...
|
725
670
|
@overload
|
@@ -756,8 +701,7 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
756
701
|
freeform_tags={
|
757
702
|
"bar-key": "value",
|
758
703
|
},
|
759
|
-
is_redo_logs_shipped=protected_database_is_redo_logs_shipped
|
760
|
-
subscription_id=test_subscription["id"])
|
704
|
+
is_redo_logs_shipped=protected_database_is_redo_logs_shipped)
|
761
705
|
```
|
762
706
|
|
763
707
|
## Import
|
@@ -795,7 +739,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
795
739
|
password: Optional[pulumi.Input[str]] = None,
|
796
740
|
protection_policy_id: Optional[pulumi.Input[str]] = None,
|
797
741
|
recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None,
|
798
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
799
742
|
__props__=None):
|
800
743
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
801
744
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -829,7 +772,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
829
772
|
if recovery_service_subnets is None and not opts.urn:
|
830
773
|
raise TypeError("Missing required property 'recovery_service_subnets'")
|
831
774
|
__props__.__dict__["recovery_service_subnets"] = recovery_service_subnets
|
832
|
-
__props__.__dict__["subscription_id"] = subscription_id
|
833
775
|
__props__.__dict__["health"] = None
|
834
776
|
__props__.__dict__["health_details"] = None
|
835
777
|
__props__.__dict__["is_read_only_resource"] = None
|
@@ -872,7 +814,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
872
814
|
protection_policy_id: Optional[pulumi.Input[str]] = None,
|
873
815
|
recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None,
|
874
816
|
state: Optional[pulumi.Input[str]] = None,
|
875
|
-
subscription_id: Optional[pulumi.Input[str]] = None,
|
876
817
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
877
818
|
time_created: Optional[pulumi.Input[str]] = None,
|
878
819
|
time_updated: Optional[pulumi.Input[str]] = None,
|
@@ -905,11 +846,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
905
846
|
:param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
|
906
847
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
|
907
848
|
:param pulumi.Input[str] state: The current state of the Protected Database.
|
908
|
-
:param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
909
|
-
|
910
|
-
|
911
|
-
** IMPORTANT **
|
912
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
913
849
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
914
850
|
:param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
915
851
|
:param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
|
@@ -938,7 +874,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
938
874
|
__props__.__dict__["protection_policy_id"] = protection_policy_id
|
939
875
|
__props__.__dict__["recovery_service_subnets"] = recovery_service_subnets
|
940
876
|
__props__.__dict__["state"] = state
|
941
|
-
__props__.__dict__["subscription_id"] = subscription_id
|
942
877
|
__props__.__dict__["system_tags"] = system_tags
|
943
878
|
__props__.__dict__["time_created"] = time_created
|
944
879
|
__props__.__dict__["time_updated"] = time_updated
|
@@ -1099,18 +1034,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
1099
1034
|
"""
|
1100
1035
|
return pulumi.get(self, "state")
|
1101
1036
|
|
1102
|
-
@property
|
1103
|
-
@pulumi.getter(name="subscriptionId")
|
1104
|
-
def subscription_id(self) -> pulumi.Output[str]:
|
1105
|
-
"""
|
1106
|
-
(Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure.
|
1107
|
-
|
1108
|
-
|
1109
|
-
** IMPORTANT **
|
1110
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1111
|
-
"""
|
1112
|
-
return pulumi.get(self, "subscription_id")
|
1113
|
-
|
1114
1037
|
@property
|
1115
1038
|
@pulumi.getter(name="systemTags")
|
1116
1039
|
def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
@@ -19,7 +19,6 @@ class ProtectionPolicyArgs:
|
|
19
19
|
display_name: pulumi.Input[str],
|
20
20
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
21
21
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
22
|
-
must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
|
23
22
|
policy_locked_date_time: Optional[pulumi.Input[str]] = None):
|
24
23
|
"""
|
25
24
|
The set of arguments for constructing a ProtectionPolicy resource.
|
@@ -28,7 +27,6 @@ class ProtectionPolicyArgs:
|
|
28
27
|
:param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
|
29
28
|
: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. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
30
29
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
31
|
-
:param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
32
30
|
:param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
33
31
|
* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
34
32
|
* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
|
@@ -48,8 +46,6 @@ class ProtectionPolicyArgs:
|
|
48
46
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
49
47
|
if freeform_tags is not None:
|
50
48
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
51
|
-
if must_enforce_cloud_locality is not None:
|
52
|
-
pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
|
53
49
|
if policy_locked_date_time is not None:
|
54
50
|
pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
|
55
51
|
|
@@ -113,18 +109,6 @@ class ProtectionPolicyArgs:
|
|
113
109
|
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
114
110
|
pulumi.set(self, "freeform_tags", value)
|
115
111
|
|
116
|
-
@property
|
117
|
-
@pulumi.getter(name="mustEnforceCloudLocality")
|
118
|
-
def must_enforce_cloud_locality(self) -> Optional[pulumi.Input[bool]]:
|
119
|
-
"""
|
120
|
-
Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
121
|
-
"""
|
122
|
-
return pulumi.get(self, "must_enforce_cloud_locality")
|
123
|
-
|
124
|
-
@must_enforce_cloud_locality.setter
|
125
|
-
def must_enforce_cloud_locality(self, value: Optional[pulumi.Input[bool]]):
|
126
|
-
pulumi.set(self, "must_enforce_cloud_locality", value)
|
127
|
-
|
128
112
|
@property
|
129
113
|
@pulumi.getter(name="policyLockedDateTime")
|
130
114
|
def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]:
|
@@ -158,7 +142,6 @@ class _ProtectionPolicyState:
|
|
158
142
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
159
143
|
is_predefined_policy: Optional[pulumi.Input[bool]] = None,
|
160
144
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
161
|
-
must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
|
162
145
|
policy_locked_date_time: Optional[pulumi.Input[str]] = None,
|
163
146
|
state: Optional[pulumi.Input[str]] = None,
|
164
147
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -173,7 +156,6 @@ class _ProtectionPolicyState:
|
|
173
156
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
174
157
|
:param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
|
175
158
|
:param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
|
176
|
-
:param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
177
159
|
:param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
178
160
|
* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
179
161
|
* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
|
@@ -204,8 +186,6 @@ class _ProtectionPolicyState:
|
|
204
186
|
pulumi.set(__self__, "is_predefined_policy", is_predefined_policy)
|
205
187
|
if lifecycle_details is not None:
|
206
188
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
207
|
-
if must_enforce_cloud_locality is not None:
|
208
|
-
pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality)
|
209
189
|
if policy_locked_date_time is not None:
|
210
190
|
pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
|
211
191
|
if state is not None:
|
@@ -301,18 +281,6 @@ class _ProtectionPolicyState:
|
|
301
281
|
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
302
282
|
pulumi.set(self, "lifecycle_details", value)
|
303
283
|
|
304
|
-
@property
|
305
|
-
@pulumi.getter(name="mustEnforceCloudLocality")
|
306
|
-
def must_enforce_cloud_locality(self) -> Optional[pulumi.Input[bool]]:
|
307
|
-
"""
|
308
|
-
Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
309
|
-
"""
|
310
|
-
return pulumi.get(self, "must_enforce_cloud_locality")
|
311
|
-
|
312
|
-
@must_enforce_cloud_locality.setter
|
313
|
-
def must_enforce_cloud_locality(self, value: Optional[pulumi.Input[bool]]):
|
314
|
-
pulumi.set(self, "must_enforce_cloud_locality", value)
|
315
|
-
|
316
284
|
@property
|
317
285
|
@pulumi.getter(name="policyLockedDateTime")
|
318
286
|
def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]:
|
@@ -394,7 +362,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
394
362
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
395
363
|
display_name: Optional[pulumi.Input[str]] = None,
|
396
364
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
397
|
-
must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
|
398
365
|
policy_locked_date_time: Optional[pulumi.Input[str]] = None,
|
399
366
|
__props__=None):
|
400
367
|
"""
|
@@ -418,7 +385,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
418
385
|
freeform_tags={
|
419
386
|
"bar-key": "value",
|
420
387
|
},
|
421
|
-
must_enforce_cloud_locality=protection_policy_must_enforce_cloud_locality,
|
422
388
|
policy_locked_date_time=protection_policy_policy_locked_date_time)
|
423
389
|
```
|
424
390
|
|
@@ -437,7 +403,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
437
403
|
: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. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
|
438
404
|
:param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
|
439
405
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
440
|
-
:param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
441
406
|
:param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
442
407
|
* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
443
408
|
* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
|
@@ -477,7 +442,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
477
442
|
freeform_tags={
|
478
443
|
"bar-key": "value",
|
479
444
|
},
|
480
|
-
must_enforce_cloud_locality=protection_policy_must_enforce_cloud_locality,
|
481
445
|
policy_locked_date_time=protection_policy_policy_locked_date_time)
|
482
446
|
```
|
483
447
|
|
@@ -509,7 +473,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
509
473
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
510
474
|
display_name: Optional[pulumi.Input[str]] = None,
|
511
475
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
512
|
-
must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
|
513
476
|
policy_locked_date_time: Optional[pulumi.Input[str]] = None,
|
514
477
|
__props__=None):
|
515
478
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -531,7 +494,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
531
494
|
raise TypeError("Missing required property 'display_name'")
|
532
495
|
__props__.__dict__["display_name"] = display_name
|
533
496
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
534
|
-
__props__.__dict__["must_enforce_cloud_locality"] = must_enforce_cloud_locality
|
535
497
|
__props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
|
536
498
|
__props__.__dict__["is_predefined_policy"] = None
|
537
499
|
__props__.__dict__["lifecycle_details"] = None
|
@@ -556,7 +518,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
556
518
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
557
519
|
is_predefined_policy: Optional[pulumi.Input[bool]] = None,
|
558
520
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
559
|
-
must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None,
|
560
521
|
policy_locked_date_time: Optional[pulumi.Input[str]] = None,
|
561
522
|
state: Optional[pulumi.Input[str]] = None,
|
562
523
|
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -576,7 +537,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
576
537
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
577
538
|
:param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
|
578
539
|
:param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
|
579
|
-
:param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
580
540
|
:param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
|
581
541
|
* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
|
582
542
|
* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
|
@@ -604,7 +564,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
604
564
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
605
565
|
__props__.__dict__["is_predefined_policy"] = is_predefined_policy
|
606
566
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
607
|
-
__props__.__dict__["must_enforce_cloud_locality"] = must_enforce_cloud_locality
|
608
567
|
__props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
|
609
568
|
__props__.__dict__["state"] = state
|
610
569
|
__props__.__dict__["system_tags"] = system_tags
|
@@ -668,14 +627,6 @@ class ProtectionPolicy(pulumi.CustomResource):
|
|
668
627
|
"""
|
669
628
|
return pulumi.get(self, "lifecycle_details")
|
670
629
|
|
671
|
-
@property
|
672
|
-
@pulumi.getter(name="mustEnforceCloudLocality")
|
673
|
-
def must_enforce_cloud_locality(self) -> pulumi.Output[bool]:
|
674
|
-
"""
|
675
|
-
Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.
|
676
|
-
"""
|
677
|
-
return pulumi.get(self, "must_enforce_cloud_locality")
|
678
|
-
|
679
630
|
@property
|
680
631
|
@pulumi.getter(name="policyLockedDateTime")
|
681
632
|
def policy_locked_date_time(self) -> pulumi.Output[str]:
|
pulumi_oci/waf/_inputs.py
CHANGED
@@ -186,51 +186,38 @@ class AppFirewallPolicyActionArgs:
|
|
186
186
|
@pulumi.input_type
|
187
187
|
class AppFirewallPolicyActionBodyArgs:
|
188
188
|
def __init__(__self__, *,
|
189
|
-
|
190
|
-
|
191
|
-
text: Optional[pulumi.Input[str]] = None):
|
189
|
+
text: pulumi.Input[str],
|
190
|
+
type: pulumi.Input[str]):
|
192
191
|
"""
|
193
|
-
:param pulumi.Input[str] type: (Updatable) Type of HttpResponseBody.
|
194
192
|
:param pulumi.Input[str] text: (Updatable) Static response body text.
|
193
|
+
:param pulumi.Input[str] type: (Updatable) Type of HttpResponseBody.
|
195
194
|
"""
|
195
|
+
pulumi.set(__self__, "text", text)
|
196
196
|
pulumi.set(__self__, "type", type)
|
197
|
-
if template is not None:
|
198
|
-
pulumi.set(__self__, "template", template)
|
199
|
-
if text is not None:
|
200
|
-
pulumi.set(__self__, "text", text)
|
201
197
|
|
202
198
|
@property
|
203
199
|
@pulumi.getter
|
204
|
-
def
|
200
|
+
def text(self) -> pulumi.Input[str]:
|
205
201
|
"""
|
206
|
-
(Updatable)
|
202
|
+
(Updatable) Static response body text.
|
207
203
|
"""
|
208
|
-
return pulumi.get(self, "
|
209
|
-
|
210
|
-
@type.setter
|
211
|
-
def type(self, value: pulumi.Input[str]):
|
212
|
-
pulumi.set(self, "type", value)
|
213
|
-
|
214
|
-
@property
|
215
|
-
@pulumi.getter
|
216
|
-
def template(self) -> Optional[pulumi.Input[str]]:
|
217
|
-
return pulumi.get(self, "template")
|
204
|
+
return pulumi.get(self, "text")
|
218
205
|
|
219
|
-
@
|
220
|
-
def
|
221
|
-
pulumi.set(self, "
|
206
|
+
@text.setter
|
207
|
+
def text(self, value: pulumi.Input[str]):
|
208
|
+
pulumi.set(self, "text", value)
|
222
209
|
|
223
210
|
@property
|
224
211
|
@pulumi.getter
|
225
|
-
def
|
212
|
+
def type(self) -> pulumi.Input[str]:
|
226
213
|
"""
|
227
|
-
(Updatable)
|
214
|
+
(Updatable) Type of HttpResponseBody.
|
228
215
|
"""
|
229
|
-
return pulumi.get(self, "
|
216
|
+
return pulumi.get(self, "type")
|
230
217
|
|
231
|
-
@
|
232
|
-
def
|
233
|
-
pulumi.set(self, "
|
218
|
+
@type.setter
|
219
|
+
def type(self, value: pulumi.Input[str]):
|
220
|
+
pulumi.set(self, "type", value)
|
234
221
|
|
235
222
|
|
236
223
|
@pulumi.input_type
|