pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.13.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 +169 -19
- pulumi_oci/analytics/analytics_instance.py +54 -5
- pulumi_oci/analytics/get_analytics_instance.py +18 -4
- pulumi_oci/analytics/outputs.py +12 -1
- pulumi_oci/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +947 -196
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/cluster_network.py +7 -7
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- pulumi_oci/core/get_instance.py +29 -1
- pulumi_oci/core/get_vcn.py +15 -1
- pulumi_oci/core/get_vnic.py +15 -1
- pulumi_oci/core/get_volume.py +18 -4
- pulumi_oci/core/instance.py +87 -0
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipsec.py +183 -23
- pulumi_oci/core/network_security_group_security_rule.py +2 -2
- pulumi_oci/core/outputs.py +1282 -153
- pulumi_oci/core/service_gateway.py +13 -7
- pulumi_oci/core/vcn.py +65 -23
- pulumi_oci/core/virtual_network.py +35 -1
- pulumi_oci/core/vnic_attachment.py +2 -0
- pulumi_oci/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- pulumi_oci/database/_inputs.py +905 -27
- pulumi_oci/database/autonomous_database.py +48 -28
- pulumi_oci/database/autonomous_database_backup.py +12 -12
- pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
- pulumi_oci/database/autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/backup.py +12 -12
- pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
- pulumi_oci/database/cloud_vm_cluster.py +71 -0
- pulumi_oci/database/database.py +15 -15
- pulumi_oci/database/database_upgrade.py +12 -12
- pulumi_oci/database/db_system.py +9 -9
- pulumi_oci/database/exadata_infrastructure.py +2 -0
- pulumi_oci/database/get_autonomous_container_database.py +1 -1
- pulumi_oci/database/get_autonomous_database.py +18 -4
- pulumi_oci/database/get_autonomous_database_backup.py +3 -3
- pulumi_oci/database/get_autonomous_databases.py +88 -5
- pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
- pulumi_oci/database/get_database.py +3 -3
- pulumi_oci/database/get_pluggable_database.py +12 -1
- pulumi_oci/database/get_vm_cluster.py +15 -1
- pulumi_oci/database/outputs.py +1431 -74
- pulumi_oci/database/pluggable_database.py +34 -0
- pulumi_oci/database/vm_cluster.py +71 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +13 -0
- pulumi_oci/datasafe/_inputs.py +441 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -0
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_sql_collection.py +392 -0
- pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
- pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
- pulumi_oci/datasafe/get_sql_collections.py +364 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
- pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
- pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
- pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
- pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
- pulumi_oci/datasafe/outputs.py +1808 -2
- pulumi_oci/desktops/_inputs.py +395 -17
- pulumi_oci/desktops/desktop_pool.py +253 -21
- pulumi_oci/desktops/get_desktop_pool.py +62 -5
- pulumi_oci/desktops/outputs.py +807 -25
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- pulumi_oci/fleetappsmanagement/__init__.py +43 -0
- pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
- pulumi_oci/fleetappsmanagement/fleet.py +955 -0
- pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
- pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
- pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
- pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
- pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
- pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
- pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
- pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
- pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
- pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
- pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
- pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
- pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
- pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
- pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
- pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
- pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
- pulumi_oci/fleetappsmanagement/get_property.py +323 -0
- pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
- pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
- pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
- pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
- pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
- pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
- pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
- pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
- pulumi_oci/fleetappsmanagement/property.py +697 -0
- pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
- pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
- pulumi_oci/functions/outputs.py +11 -0
- pulumi_oci/fusionapps/_inputs.py +21 -20
- pulumi_oci/fusionapps/fusion_environment.py +2 -2
- pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
- pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
- pulumi_oci/fusionapps/outputs.py +11 -10
- pulumi_oci/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- pulumi_oci/integration/__init__.py +1 -0
- pulumi_oci/integration/_inputs.py +289 -2
- pulumi_oci/integration/get_integration_instance.py +65 -1
- pulumi_oci/integration/integration_instance.py +172 -0
- pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
- pulumi_oci/integration/outputs.py +587 -19
- pulumi_oci/loadbalancer/_inputs.py +20 -0
- pulumi_oci/loadbalancer/listener.py +4 -2
- pulumi_oci/loadbalancer/outputs.py +16 -2
- pulumi_oci/monitoring/_inputs.py +137 -16
- pulumi_oci/monitoring/alarm_suppression.py +164 -35
- pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
- pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
- pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
- pulumi_oci/monitoring/outputs.py +291 -18
- pulumi_oci/mysql/mysql_db_system.py +7 -7
- pulumi_oci/objectstorage/__init__.py +3 -0
- pulumi_oci/objectstorage/_inputs.py +97 -0
- pulumi_oci/objectstorage/get_object_versions.py +6 -6
- pulumi_oci/objectstorage/get_objects.py +6 -6
- pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
- pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
- pulumi_oci/objectstorage/outputs.py +258 -0
- pulumi_oci/objectstorage/private_endpoint.py +630 -0
- pulumi_oci/objectstorage/storage_object.py +7 -7
- pulumi_oci/opsi/_inputs.py +268 -114
- pulumi_oci/opsi/database_insight.py +162 -21
- pulumi_oci/opsi/exadata_insight.py +44 -0
- pulumi_oci/opsi/get_database_insight.py +40 -1
- pulumi_oci/opsi/get_host_insights.py +2 -2
- pulumi_oci/opsi/host_insight.py +0 -48
- pulumi_oci/opsi/outputs.py +405 -109
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/securityattribute/__init__.py +15 -0
- pulumi_oci/securityattribute/_inputs.py +209 -0
- pulumi_oci/securityattribute/get_security_attribute.py +262 -0
- pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
- pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
- pulumi_oci/securityattribute/get_security_attributes.py +169 -0
- pulumi_oci/securityattribute/outputs.py +466 -0
- pulumi_oci/securityattribute/security_attribute.py +588 -0
- pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
- pulumi_oci/stackmonitoring/__init__.py +5 -0
- pulumi_oci/stackmonitoring/_inputs.py +330 -0
- pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
- pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
- pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
- pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
- pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
- pulumi_oci/stackmonitoring/outputs.py +603 -0
- pulumi_oci/{globallydistributeddatabase → zpr}/__init__.py +5 -6
- pulumi_oci/zpr/_inputs.py +79 -0
- pulumi_oci/zpr/configuration.py +516 -0
- pulumi_oci/zpr/get_configuration.py +230 -0
- pulumi_oci/zpr/get_zpr_policies.py +191 -0
- pulumi_oci/zpr/get_zpr_policy.py +264 -0
- pulumi_oci/zpr/outputs.py +203 -0
- pulumi_oci/zpr/zpr_policy.py +614 -0
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/RECORD +212 -142
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/WHEEL +1 -1
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.13.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,217 @@
|
|
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
|
+
|
17
|
+
__all__ = ['MaintenanceWindowsRetryFailedOperationArgs', 'MaintenanceWindowsRetryFailedOperation']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class MaintenanceWindowsRetryFailedOperationArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
maintenance_window_id: pulumi.Input[str]):
|
23
|
+
"""
|
24
|
+
The set of arguments for constructing a MaintenanceWindowsRetryFailedOperation resource.
|
25
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
26
|
+
|
27
|
+
|
28
|
+
** IMPORTANT **
|
29
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
30
|
+
"""
|
31
|
+
pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
|
32
|
+
|
33
|
+
@property
|
34
|
+
@pulumi.getter(name="maintenanceWindowId")
|
35
|
+
def maintenance_window_id(self) -> pulumi.Input[str]:
|
36
|
+
"""
|
37
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
38
|
+
|
39
|
+
|
40
|
+
** IMPORTANT **
|
41
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
42
|
+
"""
|
43
|
+
return pulumi.get(self, "maintenance_window_id")
|
44
|
+
|
45
|
+
@maintenance_window_id.setter
|
46
|
+
def maintenance_window_id(self, value: pulumi.Input[str]):
|
47
|
+
pulumi.set(self, "maintenance_window_id", value)
|
48
|
+
|
49
|
+
|
50
|
+
@pulumi.input_type
|
51
|
+
class _MaintenanceWindowsRetryFailedOperationState:
|
52
|
+
def __init__(__self__, *,
|
53
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None):
|
54
|
+
"""
|
55
|
+
Input properties used for looking up and filtering MaintenanceWindowsRetryFailedOperation resources.
|
56
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
57
|
+
|
58
|
+
|
59
|
+
** IMPORTANT **
|
60
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
61
|
+
"""
|
62
|
+
if maintenance_window_id is not None:
|
63
|
+
pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="maintenanceWindowId")
|
67
|
+
def maintenance_window_id(self) -> Optional[pulumi.Input[str]]:
|
68
|
+
"""
|
69
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
70
|
+
|
71
|
+
|
72
|
+
** IMPORTANT **
|
73
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "maintenance_window_id")
|
76
|
+
|
77
|
+
@maintenance_window_id.setter
|
78
|
+
def maintenance_window_id(self, value: Optional[pulumi.Input[str]]):
|
79
|
+
pulumi.set(self, "maintenance_window_id", value)
|
80
|
+
|
81
|
+
|
82
|
+
class MaintenanceWindowsRetryFailedOperation(pulumi.CustomResource):
|
83
|
+
@overload
|
84
|
+
def __init__(__self__,
|
85
|
+
resource_name: str,
|
86
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
87
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None,
|
88
|
+
__props__=None):
|
89
|
+
"""
|
90
|
+
This resource provides the Maintenance Windows Retry Failed Operation resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
91
|
+
|
92
|
+
Retry the last failed operation. The operation failed will be the most recent one. It won't apply for previous failed operations.
|
93
|
+
|
94
|
+
## Example Usage
|
95
|
+
|
96
|
+
```python
|
97
|
+
import pulumi
|
98
|
+
import pulumi_oci as oci
|
99
|
+
|
100
|
+
test_maintenance_windows_retry_failed_operation = oci.stack_monitoring.MaintenanceWindowsRetryFailedOperation("test_maintenance_windows_retry_failed_operation", maintenance_window_id=test_maintenance_window["id"])
|
101
|
+
```
|
102
|
+
|
103
|
+
## Import
|
104
|
+
|
105
|
+
MaintenanceWindowsRetryFailedOperation can be imported using the `id`, e.g.
|
106
|
+
|
107
|
+
```sh
|
108
|
+
$ pulumi import oci:StackMonitoring/maintenanceWindowsRetryFailedOperation:MaintenanceWindowsRetryFailedOperation test_maintenance_windows_retry_failed_operation "id"
|
109
|
+
```
|
110
|
+
|
111
|
+
:param str resource_name: The name of the resource.
|
112
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
113
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
114
|
+
|
115
|
+
|
116
|
+
** IMPORTANT **
|
117
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
118
|
+
"""
|
119
|
+
...
|
120
|
+
@overload
|
121
|
+
def __init__(__self__,
|
122
|
+
resource_name: str,
|
123
|
+
args: MaintenanceWindowsRetryFailedOperationArgs,
|
124
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
125
|
+
"""
|
126
|
+
This resource provides the Maintenance Windows Retry Failed Operation resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
127
|
+
|
128
|
+
Retry the last failed operation. The operation failed will be the most recent one. It won't apply for previous failed operations.
|
129
|
+
|
130
|
+
## Example Usage
|
131
|
+
|
132
|
+
```python
|
133
|
+
import pulumi
|
134
|
+
import pulumi_oci as oci
|
135
|
+
|
136
|
+
test_maintenance_windows_retry_failed_operation = oci.stack_monitoring.MaintenanceWindowsRetryFailedOperation("test_maintenance_windows_retry_failed_operation", maintenance_window_id=test_maintenance_window["id"])
|
137
|
+
```
|
138
|
+
|
139
|
+
## Import
|
140
|
+
|
141
|
+
MaintenanceWindowsRetryFailedOperation can be imported using the `id`, e.g.
|
142
|
+
|
143
|
+
```sh
|
144
|
+
$ pulumi import oci:StackMonitoring/maintenanceWindowsRetryFailedOperation:MaintenanceWindowsRetryFailedOperation test_maintenance_windows_retry_failed_operation "id"
|
145
|
+
```
|
146
|
+
|
147
|
+
:param str resource_name: The name of the resource.
|
148
|
+
:param MaintenanceWindowsRetryFailedOperationArgs args: The arguments to use to populate this resource's properties.
|
149
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
150
|
+
"""
|
151
|
+
...
|
152
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
153
|
+
resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowsRetryFailedOperationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
154
|
+
if resource_args is not None:
|
155
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
156
|
+
else:
|
157
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
158
|
+
|
159
|
+
def _internal_init(__self__,
|
160
|
+
resource_name: str,
|
161
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
162
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None,
|
163
|
+
__props__=None):
|
164
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
165
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
166
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
167
|
+
if opts.id is None:
|
168
|
+
if __props__ is not None:
|
169
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
170
|
+
__props__ = MaintenanceWindowsRetryFailedOperationArgs.__new__(MaintenanceWindowsRetryFailedOperationArgs)
|
171
|
+
|
172
|
+
if maintenance_window_id is None and not opts.urn:
|
173
|
+
raise TypeError("Missing required property 'maintenance_window_id'")
|
174
|
+
__props__.__dict__["maintenance_window_id"] = maintenance_window_id
|
175
|
+
super(MaintenanceWindowsRetryFailedOperation, __self__).__init__(
|
176
|
+
'oci:StackMonitoring/maintenanceWindowsRetryFailedOperation:MaintenanceWindowsRetryFailedOperation',
|
177
|
+
resource_name,
|
178
|
+
__props__,
|
179
|
+
opts)
|
180
|
+
|
181
|
+
@staticmethod
|
182
|
+
def get(resource_name: str,
|
183
|
+
id: pulumi.Input[str],
|
184
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
185
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindowsRetryFailedOperation':
|
186
|
+
"""
|
187
|
+
Get an existing MaintenanceWindowsRetryFailedOperation resource's state with the given name, id, and optional extra
|
188
|
+
properties used to qualify the lookup.
|
189
|
+
|
190
|
+
:param str resource_name: The unique name of the resulting resource.
|
191
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
192
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
193
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
194
|
+
|
195
|
+
|
196
|
+
** IMPORTANT **
|
197
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
198
|
+
"""
|
199
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
200
|
+
|
201
|
+
__props__ = _MaintenanceWindowsRetryFailedOperationState.__new__(_MaintenanceWindowsRetryFailedOperationState)
|
202
|
+
|
203
|
+
__props__.__dict__["maintenance_window_id"] = maintenance_window_id
|
204
|
+
return MaintenanceWindowsRetryFailedOperation(resource_name, opts=opts, __props__=__props__)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="maintenanceWindowId")
|
208
|
+
def maintenance_window_id(self) -> pulumi.Output[str]:
|
209
|
+
"""
|
210
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
211
|
+
|
212
|
+
|
213
|
+
** IMPORTANT **
|
214
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "maintenance_window_id")
|
217
|
+
|
@@ -0,0 +1,217 @@
|
|
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
|
+
|
17
|
+
__all__ = ['MaintenanceWindowsStopArgs', 'MaintenanceWindowsStop']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class MaintenanceWindowsStopArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
maintenance_window_id: pulumi.Input[str]):
|
23
|
+
"""
|
24
|
+
The set of arguments for constructing a MaintenanceWindowsStop resource.
|
25
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
26
|
+
|
27
|
+
|
28
|
+
** IMPORTANT **
|
29
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
30
|
+
"""
|
31
|
+
pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
|
32
|
+
|
33
|
+
@property
|
34
|
+
@pulumi.getter(name="maintenanceWindowId")
|
35
|
+
def maintenance_window_id(self) -> pulumi.Input[str]:
|
36
|
+
"""
|
37
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
38
|
+
|
39
|
+
|
40
|
+
** IMPORTANT **
|
41
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
42
|
+
"""
|
43
|
+
return pulumi.get(self, "maintenance_window_id")
|
44
|
+
|
45
|
+
@maintenance_window_id.setter
|
46
|
+
def maintenance_window_id(self, value: pulumi.Input[str]):
|
47
|
+
pulumi.set(self, "maintenance_window_id", value)
|
48
|
+
|
49
|
+
|
50
|
+
@pulumi.input_type
|
51
|
+
class _MaintenanceWindowsStopState:
|
52
|
+
def __init__(__self__, *,
|
53
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None):
|
54
|
+
"""
|
55
|
+
Input properties used for looking up and filtering MaintenanceWindowsStop resources.
|
56
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
57
|
+
|
58
|
+
|
59
|
+
** IMPORTANT **
|
60
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
61
|
+
"""
|
62
|
+
if maintenance_window_id is not None:
|
63
|
+
pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="maintenanceWindowId")
|
67
|
+
def maintenance_window_id(self) -> Optional[pulumi.Input[str]]:
|
68
|
+
"""
|
69
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
70
|
+
|
71
|
+
|
72
|
+
** IMPORTANT **
|
73
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "maintenance_window_id")
|
76
|
+
|
77
|
+
@maintenance_window_id.setter
|
78
|
+
def maintenance_window_id(self, value: Optional[pulumi.Input[str]]):
|
79
|
+
pulumi.set(self, "maintenance_window_id", value)
|
80
|
+
|
81
|
+
|
82
|
+
class MaintenanceWindowsStop(pulumi.CustomResource):
|
83
|
+
@overload
|
84
|
+
def __init__(__self__,
|
85
|
+
resource_name: str,
|
86
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
87
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None,
|
88
|
+
__props__=None):
|
89
|
+
"""
|
90
|
+
This resource provides the Maintenance Windows Stop resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
91
|
+
|
92
|
+
Stop a maintenance window before the end time is reached.
|
93
|
+
|
94
|
+
## Example Usage
|
95
|
+
|
96
|
+
```python
|
97
|
+
import pulumi
|
98
|
+
import pulumi_oci as oci
|
99
|
+
|
100
|
+
test_maintenance_windows_stop = oci.stack_monitoring.MaintenanceWindowsStop("test_maintenance_windows_stop", maintenance_window_id=test_maintenance_window["id"])
|
101
|
+
```
|
102
|
+
|
103
|
+
## Import
|
104
|
+
|
105
|
+
MaintenanceWindowsStop can be imported using the `id`, e.g.
|
106
|
+
|
107
|
+
```sh
|
108
|
+
$ pulumi import oci:StackMonitoring/maintenanceWindowsStop:MaintenanceWindowsStop test_maintenance_windows_stop "id"
|
109
|
+
```
|
110
|
+
|
111
|
+
:param str resource_name: The name of the resource.
|
112
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
113
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
114
|
+
|
115
|
+
|
116
|
+
** IMPORTANT **
|
117
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
118
|
+
"""
|
119
|
+
...
|
120
|
+
@overload
|
121
|
+
def __init__(__self__,
|
122
|
+
resource_name: str,
|
123
|
+
args: MaintenanceWindowsStopArgs,
|
124
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
125
|
+
"""
|
126
|
+
This resource provides the Maintenance Windows Stop resource in Oracle Cloud Infrastructure Stack Monitoring service.
|
127
|
+
|
128
|
+
Stop a maintenance window before the end time is reached.
|
129
|
+
|
130
|
+
## Example Usage
|
131
|
+
|
132
|
+
```python
|
133
|
+
import pulumi
|
134
|
+
import pulumi_oci as oci
|
135
|
+
|
136
|
+
test_maintenance_windows_stop = oci.stack_monitoring.MaintenanceWindowsStop("test_maintenance_windows_stop", maintenance_window_id=test_maintenance_window["id"])
|
137
|
+
```
|
138
|
+
|
139
|
+
## Import
|
140
|
+
|
141
|
+
MaintenanceWindowsStop can be imported using the `id`, e.g.
|
142
|
+
|
143
|
+
```sh
|
144
|
+
$ pulumi import oci:StackMonitoring/maintenanceWindowsStop:MaintenanceWindowsStop test_maintenance_windows_stop "id"
|
145
|
+
```
|
146
|
+
|
147
|
+
:param str resource_name: The name of the resource.
|
148
|
+
:param MaintenanceWindowsStopArgs args: The arguments to use to populate this resource's properties.
|
149
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
150
|
+
"""
|
151
|
+
...
|
152
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
153
|
+
resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowsStopArgs, pulumi.ResourceOptions, *args, **kwargs)
|
154
|
+
if resource_args is not None:
|
155
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
156
|
+
else:
|
157
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
158
|
+
|
159
|
+
def _internal_init(__self__,
|
160
|
+
resource_name: str,
|
161
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
162
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None,
|
163
|
+
__props__=None):
|
164
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
165
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
166
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
167
|
+
if opts.id is None:
|
168
|
+
if __props__ is not None:
|
169
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
170
|
+
__props__ = MaintenanceWindowsStopArgs.__new__(MaintenanceWindowsStopArgs)
|
171
|
+
|
172
|
+
if maintenance_window_id is None and not opts.urn:
|
173
|
+
raise TypeError("Missing required property 'maintenance_window_id'")
|
174
|
+
__props__.__dict__["maintenance_window_id"] = maintenance_window_id
|
175
|
+
super(MaintenanceWindowsStop, __self__).__init__(
|
176
|
+
'oci:StackMonitoring/maintenanceWindowsStop:MaintenanceWindowsStop',
|
177
|
+
resource_name,
|
178
|
+
__props__,
|
179
|
+
opts)
|
180
|
+
|
181
|
+
@staticmethod
|
182
|
+
def get(resource_name: str,
|
183
|
+
id: pulumi.Input[str],
|
184
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
185
|
+
maintenance_window_id: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindowsStop':
|
186
|
+
"""
|
187
|
+
Get an existing MaintenanceWindowsStop resource's state with the given name, id, and optional extra
|
188
|
+
properties used to qualify the lookup.
|
189
|
+
|
190
|
+
:param str resource_name: The unique name of the resulting resource.
|
191
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
192
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
193
|
+
:param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
194
|
+
|
195
|
+
|
196
|
+
** IMPORTANT **
|
197
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
198
|
+
"""
|
199
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
200
|
+
|
201
|
+
__props__ = _MaintenanceWindowsStopState.__new__(_MaintenanceWindowsStopState)
|
202
|
+
|
203
|
+
__props__.__dict__["maintenance_window_id"] = maintenance_window_id
|
204
|
+
return MaintenanceWindowsStop(resource_name, opts=opts, __props__=__props__)
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="maintenanceWindowId")
|
208
|
+
def maintenance_window_id(self) -> pulumi.Output[str]:
|
209
|
+
"""
|
210
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
|
211
|
+
|
212
|
+
|
213
|
+
** IMPORTANT **
|
214
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "maintenance_window_id")
|
217
|
+
|