pulumi-oci 1.33.0a1713903118__py3-none-any.whl → 1.34.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 +51 -0
- pulumi_oci/clusterplacementgroups/__init__.py +12 -0
- pulumi_oci/clusterplacementgroups/_inputs.py +159 -0
- pulumi_oci/clusterplacementgroups/cluster_placement_group.py +843 -0
- pulumi_oci/clusterplacementgroups/get_cluster_placement_group.py +298 -0
- pulumi_oci/clusterplacementgroups/get_cluster_placement_groups.py +217 -0
- pulumi_oci/clusterplacementgroups/outputs.py +485 -0
- pulumi_oci/config/__init__.pyi +2 -2
- pulumi_oci/config/vars.py +2 -2
- pulumi_oci/core/_inputs.py +116 -28
- pulumi_oci/core/boot_volume.py +49 -0
- pulumi_oci/core/compute_capacity_reservation.py +2 -0
- pulumi_oci/core/compute_cluster.py +2 -4
- pulumi_oci/core/drg_route_distribution.py +7 -7
- pulumi_oci/core/get_boot_volume.py +14 -1
- pulumi_oci/core/get_cnv_dns_resolver_association.py +2 -2
- pulumi_oci/core/get_instance.py +14 -1
- pulumi_oci/core/get_subnet.py +2 -2
- pulumi_oci/core/get_vcn.py +2 -2
- pulumi_oci/core/get_volume.py +14 -1
- pulumi_oci/core/get_volumes.py +21 -1
- pulumi_oci/core/instance.py +51 -4
- pulumi_oci/core/instance_configuration.py +8 -0
- pulumi_oci/core/outputs.py +302 -45
- pulumi_oci/core/volume.py +49 -0
- pulumi_oci/core/volume_attachment.py +28 -0
- pulumi_oci/core/volume_group.py +49 -0
- pulumi_oci/database/db_home.py +47 -0
- pulumi_oci/database/get_db_home.py +14 -1
- pulumi_oci/database/outputs.py +11 -0
- pulumi_oci/databasemanagement/__init__.py +5 -0
- pulumi_oci/databasemanagement/_inputs.py +1207 -2
- pulumi_oci/databasemanagement/database_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +28 -0
- pulumi_oci/databasemanagement/external_asm.py +28 -0
- pulumi_oci/databasemanagement/external_asm_instance.py +28 -0
- pulumi_oci/databasemanagement/external_cluster.py +28 -0
- pulumi_oci/databasemanagement/external_cluster_instance.py +28 -0
- pulumi_oci/databasemanagement/external_db_home.py +28 -0
- pulumi_oci/databasemanagement/external_db_node.py +28 -0
- pulumi_oci/databasemanagement/external_db_system.py +28 -0
- pulumi_oci/databasemanagement/external_db_system_connector.py +28 -0
- pulumi_oci/databasemanagement/external_db_system_discovery.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_infrastructure.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_connector.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_grid.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_server.py +28 -0
- pulumi_oci/databasemanagement/external_listener.py +28 -0
- pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
- pulumi_oci/databasemanagement/get_external_asm.py +14 -1
- pulumi_oci/databasemanagement/get_external_asm_instance.py +14 -1
- pulumi_oci/databasemanagement/get_external_cluster.py +14 -1
- pulumi_oci/databasemanagement/get_external_cluster_instance.py +14 -1
- pulumi_oci/databasemanagement/get_external_databases.py +18 -1
- pulumi_oci/databasemanagement/get_external_db_home.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_node.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system_connector.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system_discovery.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +14 -1
- pulumi_oci/databasemanagement/get_external_listener.py +14 -1
- pulumi_oci/databasemanagement/get_managed_database_group.py +14 -1
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
- pulumi_oci/databasemanagement/get_named_credential.py +14 -1
- pulumi_oci/databasemanagement/managed_database.py +28 -0
- pulumi_oci/databasemanagement/managed_database_group.py +28 -0
- pulumi_oci/databasemanagement/named_credential.py +28 -0
- pulumi_oci/databasemanagement/outputs.py +1723 -214
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +275 -0
- pulumi_oci/databasemigration/_inputs.py +20 -0
- pulumi_oci/databasemigration/connection.py +13 -0
- pulumi_oci/databasemigration/get_connection.py +3 -0
- pulumi_oci/databasemigration/get_migration.py +3 -0
- pulumi_oci/databasemigration/migration.py +13 -0
- pulumi_oci/databasemigration/outputs.py +68 -0
- pulumi_oci/datasafe/__init__.py +3 -0
- pulumi_oci/datasafe/_inputs.py +80 -0
- pulumi_oci/datasafe/get_masking_policy.py +11 -1
- pulumi_oci/datasafe/get_masking_policy_health_report.py +235 -0
- pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +153 -0
- pulumi_oci/datasafe/get_masking_policy_health_reports.py +267 -0
- pulumi_oci/datasafe/masking_policy.py +75 -28
- pulumi_oci/datasafe/outputs.py +287 -0
- pulumi_oci/networkloadbalancer/backend_set.py +49 -0
- pulumi_oci/networkloadbalancer/get_backend_set.py +14 -1
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +49 -0
- pulumi_oci/networkloadbalancer/outputs.py +11 -0
- pulumi_oci/provider.py +8 -8
- pulumi_oci/recoverymod/_inputs.py +16 -0
- pulumi_oci/recoverymod/get_protected_database.py +25 -5
- pulumi_oci/recoverymod/get_protection_policies.py +1 -7
- pulumi_oci/recoverymod/get_protection_policy.py +15 -8
- pulumi_oci/recoverymod/get_recovery_service_subnet.py +32 -9
- pulumi_oci/recoverymod/get_recovery_service_subnets.py +3 -21
- pulumi_oci/recoverymod/outputs.py +96 -24
- pulumi_oci/recoverymod/protected_database.py +95 -16
- pulumi_oci/recoverymod/protection_policy.py +121 -54
- pulumi_oci/recoverymod/recovery_service_subnet.py +143 -55
- {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/RECORD +108 -94
- {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.34.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,843 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['ClusterPlacementGroupArgs', 'ClusterPlacementGroup']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class ClusterPlacementGroupArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
availability_domain: pulumi.Input[str],
|
20
|
+
cluster_placement_group_type: pulumi.Input[str],
|
21
|
+
compartment_id: pulumi.Input[str],
|
22
|
+
description: pulumi.Input[str],
|
23
|
+
capabilities: Optional[pulumi.Input['ClusterPlacementGroupCapabilitiesArgs']] = None,
|
24
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
25
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
26
|
+
name: Optional[pulumi.Input[str]] = None,
|
27
|
+
opc_dry_run: Optional[pulumi.Input[bool]] = None,
|
28
|
+
placement_instruction: Optional[pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs']] = None,
|
29
|
+
state: Optional[pulumi.Input[str]] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a ClusterPlacementGroup resource.
|
32
|
+
:param pulumi.Input[str] availability_domain: The availability domain where you want to create the cluster placement group.
|
33
|
+
:param pulumi.Input[str] cluster_placement_group_type: ClusterPlacementGroup Identifier.
|
34
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the cluster placement group.
|
35
|
+
:param pulumi.Input[str] description: (Updatable) A description of the cluster placement group.
|
36
|
+
:param pulumi.Input['ClusterPlacementGroupCapabilitiesArgs'] capabilities: A list of resources that you can create in a cluster placement group.
|
37
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
38
|
+
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
39
|
+
:param pulumi.Input[str] name: The friendly name of the cluster placement group.
|
40
|
+
:param pulumi.Input[bool] opc_dry_run: When set to `true`, the request performs validation on the submitted data without modifying configuration item details.
|
41
|
+
:param pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs'] placement_instruction: Details that inform cluster placement group provisioning.
|
42
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Cluster Placement Group. Could be set to `ACTIVE` or `INACTIVE`.
|
43
|
+
|
44
|
+
|
45
|
+
** IMPORTANT **
|
46
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
47
|
+
"""
|
48
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
49
|
+
pulumi.set(__self__, "cluster_placement_group_type", cluster_placement_group_type)
|
50
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
51
|
+
pulumi.set(__self__, "description", description)
|
52
|
+
if capabilities is not None:
|
53
|
+
pulumi.set(__self__, "capabilities", capabilities)
|
54
|
+
if defined_tags is not None:
|
55
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
56
|
+
if freeform_tags is not None:
|
57
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
58
|
+
if name is not None:
|
59
|
+
pulumi.set(__self__, "name", name)
|
60
|
+
if opc_dry_run is not None:
|
61
|
+
pulumi.set(__self__, "opc_dry_run", opc_dry_run)
|
62
|
+
if placement_instruction is not None:
|
63
|
+
pulumi.set(__self__, "placement_instruction", placement_instruction)
|
64
|
+
if state is not None:
|
65
|
+
pulumi.set(__self__, "state", state)
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="availabilityDomain")
|
69
|
+
def availability_domain(self) -> pulumi.Input[str]:
|
70
|
+
"""
|
71
|
+
The availability domain where you want to create the cluster placement group.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "availability_domain")
|
74
|
+
|
75
|
+
@availability_domain.setter
|
76
|
+
def availability_domain(self, value: pulumi.Input[str]):
|
77
|
+
pulumi.set(self, "availability_domain", value)
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="clusterPlacementGroupType")
|
81
|
+
def cluster_placement_group_type(self) -> pulumi.Input[str]:
|
82
|
+
"""
|
83
|
+
ClusterPlacementGroup Identifier.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "cluster_placement_group_type")
|
86
|
+
|
87
|
+
@cluster_placement_group_type.setter
|
88
|
+
def cluster_placement_group_type(self, value: pulumi.Input[str]):
|
89
|
+
pulumi.set(self, "cluster_placement_group_type", value)
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="compartmentId")
|
93
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
94
|
+
"""
|
95
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the cluster placement group.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "compartment_id")
|
98
|
+
|
99
|
+
@compartment_id.setter
|
100
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
101
|
+
pulumi.set(self, "compartment_id", value)
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
def description(self) -> pulumi.Input[str]:
|
106
|
+
"""
|
107
|
+
(Updatable) A description of the cluster placement group.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "description")
|
110
|
+
|
111
|
+
@description.setter
|
112
|
+
def description(self, value: pulumi.Input[str]):
|
113
|
+
pulumi.set(self, "description", value)
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter
|
117
|
+
def capabilities(self) -> Optional[pulumi.Input['ClusterPlacementGroupCapabilitiesArgs']]:
|
118
|
+
"""
|
119
|
+
A list of resources that you can create in a cluster placement group.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "capabilities")
|
122
|
+
|
123
|
+
@capabilities.setter
|
124
|
+
def capabilities(self, value: Optional[pulumi.Input['ClusterPlacementGroupCapabilitiesArgs']]):
|
125
|
+
pulumi.set(self, "capabilities", value)
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="definedTags")
|
129
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
130
|
+
"""
|
131
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "defined_tags")
|
134
|
+
|
135
|
+
@defined_tags.setter
|
136
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
137
|
+
pulumi.set(self, "defined_tags", value)
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="freeformTags")
|
141
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
142
|
+
"""
|
143
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "freeform_tags")
|
146
|
+
|
147
|
+
@freeform_tags.setter
|
148
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
149
|
+
pulumi.set(self, "freeform_tags", value)
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter
|
153
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
154
|
+
"""
|
155
|
+
The friendly name of the cluster placement group.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "name")
|
158
|
+
|
159
|
+
@name.setter
|
160
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
161
|
+
pulumi.set(self, "name", value)
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="opcDryRun")
|
165
|
+
def opc_dry_run(self) -> Optional[pulumi.Input[bool]]:
|
166
|
+
"""
|
167
|
+
When set to `true`, the request performs validation on the submitted data without modifying configuration item details.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "opc_dry_run")
|
170
|
+
|
171
|
+
@opc_dry_run.setter
|
172
|
+
def opc_dry_run(self, value: Optional[pulumi.Input[bool]]):
|
173
|
+
pulumi.set(self, "opc_dry_run", value)
|
174
|
+
|
175
|
+
@property
|
176
|
+
@pulumi.getter(name="placementInstruction")
|
177
|
+
def placement_instruction(self) -> Optional[pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs']]:
|
178
|
+
"""
|
179
|
+
Details that inform cluster placement group provisioning.
|
180
|
+
"""
|
181
|
+
return pulumi.get(self, "placement_instruction")
|
182
|
+
|
183
|
+
@placement_instruction.setter
|
184
|
+
def placement_instruction(self, value: Optional[pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs']]):
|
185
|
+
pulumi.set(self, "placement_instruction", value)
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
190
|
+
"""
|
191
|
+
(Updatable) The target state for the Cluster Placement Group. Could be set to `ACTIVE` or `INACTIVE`.
|
192
|
+
|
193
|
+
|
194
|
+
** IMPORTANT **
|
195
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
196
|
+
"""
|
197
|
+
return pulumi.get(self, "state")
|
198
|
+
|
199
|
+
@state.setter
|
200
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
201
|
+
pulumi.set(self, "state", value)
|
202
|
+
|
203
|
+
|
204
|
+
@pulumi.input_type
|
205
|
+
class _ClusterPlacementGroupState:
|
206
|
+
def __init__(__self__, *,
|
207
|
+
availability_domain: Optional[pulumi.Input[str]] = None,
|
208
|
+
capabilities: Optional[pulumi.Input['ClusterPlacementGroupCapabilitiesArgs']] = None,
|
209
|
+
cluster_placement_group_type: Optional[pulumi.Input[str]] = None,
|
210
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
211
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
212
|
+
description: Optional[pulumi.Input[str]] = None,
|
213
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
214
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
215
|
+
name: Optional[pulumi.Input[str]] = None,
|
216
|
+
opc_dry_run: Optional[pulumi.Input[bool]] = None,
|
217
|
+
placement_instruction: Optional[pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs']] = None,
|
218
|
+
state: Optional[pulumi.Input[str]] = None,
|
219
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
220
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
221
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
222
|
+
"""
|
223
|
+
Input properties used for looking up and filtering ClusterPlacementGroup resources.
|
224
|
+
:param pulumi.Input[str] availability_domain: The availability domain where you want to create the cluster placement group.
|
225
|
+
:param pulumi.Input['ClusterPlacementGroupCapabilitiesArgs'] capabilities: A list of resources that you can create in a cluster placement group.
|
226
|
+
:param pulumi.Input[str] cluster_placement_group_type: ClusterPlacementGroup Identifier.
|
227
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the cluster placement group.
|
228
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
229
|
+
:param pulumi.Input[str] description: (Updatable) A description of the cluster placement group.
|
230
|
+
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
231
|
+
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
|
232
|
+
:param pulumi.Input[str] name: The friendly name of the cluster placement group.
|
233
|
+
:param pulumi.Input[bool] opc_dry_run: When set to `true`, the request performs validation on the submitted data without modifying configuration item details.
|
234
|
+
:param pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs'] placement_instruction: Details that inform cluster placement group provisioning.
|
235
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Cluster Placement Group. Could be set to `ACTIVE` or `INACTIVE`.
|
236
|
+
|
237
|
+
|
238
|
+
** IMPORTANT **
|
239
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
240
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
241
|
+
:param pulumi.Input[str] time_created: The time the cluster placement group was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
242
|
+
:param pulumi.Input[str] time_updated: The time the cluster placement group was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
243
|
+
"""
|
244
|
+
if availability_domain is not None:
|
245
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
246
|
+
if capabilities is not None:
|
247
|
+
pulumi.set(__self__, "capabilities", capabilities)
|
248
|
+
if cluster_placement_group_type is not None:
|
249
|
+
pulumi.set(__self__, "cluster_placement_group_type", cluster_placement_group_type)
|
250
|
+
if compartment_id is not None:
|
251
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
252
|
+
if defined_tags is not None:
|
253
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
254
|
+
if description is not None:
|
255
|
+
pulumi.set(__self__, "description", description)
|
256
|
+
if freeform_tags is not None:
|
257
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
258
|
+
if lifecycle_details is not None:
|
259
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
260
|
+
if name is not None:
|
261
|
+
pulumi.set(__self__, "name", name)
|
262
|
+
if opc_dry_run is not None:
|
263
|
+
pulumi.set(__self__, "opc_dry_run", opc_dry_run)
|
264
|
+
if placement_instruction is not None:
|
265
|
+
pulumi.set(__self__, "placement_instruction", placement_instruction)
|
266
|
+
if state is not None:
|
267
|
+
pulumi.set(__self__, "state", state)
|
268
|
+
if system_tags is not None:
|
269
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
270
|
+
if time_created is not None:
|
271
|
+
pulumi.set(__self__, "time_created", time_created)
|
272
|
+
if time_updated is not None:
|
273
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
274
|
+
|
275
|
+
@property
|
276
|
+
@pulumi.getter(name="availabilityDomain")
|
277
|
+
def availability_domain(self) -> Optional[pulumi.Input[str]]:
|
278
|
+
"""
|
279
|
+
The availability domain where you want to create the cluster placement group.
|
280
|
+
"""
|
281
|
+
return pulumi.get(self, "availability_domain")
|
282
|
+
|
283
|
+
@availability_domain.setter
|
284
|
+
def availability_domain(self, value: Optional[pulumi.Input[str]]):
|
285
|
+
pulumi.set(self, "availability_domain", value)
|
286
|
+
|
287
|
+
@property
|
288
|
+
@pulumi.getter
|
289
|
+
def capabilities(self) -> Optional[pulumi.Input['ClusterPlacementGroupCapabilitiesArgs']]:
|
290
|
+
"""
|
291
|
+
A list of resources that you can create in a cluster placement group.
|
292
|
+
"""
|
293
|
+
return pulumi.get(self, "capabilities")
|
294
|
+
|
295
|
+
@capabilities.setter
|
296
|
+
def capabilities(self, value: Optional[pulumi.Input['ClusterPlacementGroupCapabilitiesArgs']]):
|
297
|
+
pulumi.set(self, "capabilities", value)
|
298
|
+
|
299
|
+
@property
|
300
|
+
@pulumi.getter(name="clusterPlacementGroupType")
|
301
|
+
def cluster_placement_group_type(self) -> Optional[pulumi.Input[str]]:
|
302
|
+
"""
|
303
|
+
ClusterPlacementGroup Identifier.
|
304
|
+
"""
|
305
|
+
return pulumi.get(self, "cluster_placement_group_type")
|
306
|
+
|
307
|
+
@cluster_placement_group_type.setter
|
308
|
+
def cluster_placement_group_type(self, value: Optional[pulumi.Input[str]]):
|
309
|
+
pulumi.set(self, "cluster_placement_group_type", value)
|
310
|
+
|
311
|
+
@property
|
312
|
+
@pulumi.getter(name="compartmentId")
|
313
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
314
|
+
"""
|
315
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the cluster placement group.
|
316
|
+
"""
|
317
|
+
return pulumi.get(self, "compartment_id")
|
318
|
+
|
319
|
+
@compartment_id.setter
|
320
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
321
|
+
pulumi.set(self, "compartment_id", value)
|
322
|
+
|
323
|
+
@property
|
324
|
+
@pulumi.getter(name="definedTags")
|
325
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
326
|
+
"""
|
327
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
328
|
+
"""
|
329
|
+
return pulumi.get(self, "defined_tags")
|
330
|
+
|
331
|
+
@defined_tags.setter
|
332
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
333
|
+
pulumi.set(self, "defined_tags", value)
|
334
|
+
|
335
|
+
@property
|
336
|
+
@pulumi.getter
|
337
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
338
|
+
"""
|
339
|
+
(Updatable) A description of the cluster placement group.
|
340
|
+
"""
|
341
|
+
return pulumi.get(self, "description")
|
342
|
+
|
343
|
+
@description.setter
|
344
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
345
|
+
pulumi.set(self, "description", value)
|
346
|
+
|
347
|
+
@property
|
348
|
+
@pulumi.getter(name="freeformTags")
|
349
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
350
|
+
"""
|
351
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "freeform_tags")
|
354
|
+
|
355
|
+
@freeform_tags.setter
|
356
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
357
|
+
pulumi.set(self, "freeform_tags", value)
|
358
|
+
|
359
|
+
@property
|
360
|
+
@pulumi.getter(name="lifecycleDetails")
|
361
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
362
|
+
"""
|
363
|
+
A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
|
364
|
+
"""
|
365
|
+
return pulumi.get(self, "lifecycle_details")
|
366
|
+
|
367
|
+
@lifecycle_details.setter
|
368
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
369
|
+
pulumi.set(self, "lifecycle_details", value)
|
370
|
+
|
371
|
+
@property
|
372
|
+
@pulumi.getter
|
373
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
374
|
+
"""
|
375
|
+
The friendly name of the cluster placement group.
|
376
|
+
"""
|
377
|
+
return pulumi.get(self, "name")
|
378
|
+
|
379
|
+
@name.setter
|
380
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
381
|
+
pulumi.set(self, "name", value)
|
382
|
+
|
383
|
+
@property
|
384
|
+
@pulumi.getter(name="opcDryRun")
|
385
|
+
def opc_dry_run(self) -> Optional[pulumi.Input[bool]]:
|
386
|
+
"""
|
387
|
+
When set to `true`, the request performs validation on the submitted data without modifying configuration item details.
|
388
|
+
"""
|
389
|
+
return pulumi.get(self, "opc_dry_run")
|
390
|
+
|
391
|
+
@opc_dry_run.setter
|
392
|
+
def opc_dry_run(self, value: Optional[pulumi.Input[bool]]):
|
393
|
+
pulumi.set(self, "opc_dry_run", value)
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter(name="placementInstruction")
|
397
|
+
def placement_instruction(self) -> Optional[pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs']]:
|
398
|
+
"""
|
399
|
+
Details that inform cluster placement group provisioning.
|
400
|
+
"""
|
401
|
+
return pulumi.get(self, "placement_instruction")
|
402
|
+
|
403
|
+
@placement_instruction.setter
|
404
|
+
def placement_instruction(self, value: Optional[pulumi.Input['ClusterPlacementGroupPlacementInstructionArgs']]):
|
405
|
+
pulumi.set(self, "placement_instruction", value)
|
406
|
+
|
407
|
+
@property
|
408
|
+
@pulumi.getter
|
409
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
410
|
+
"""
|
411
|
+
(Updatable) The target state for the Cluster Placement Group. Could be set to `ACTIVE` or `INACTIVE`.
|
412
|
+
|
413
|
+
|
414
|
+
** IMPORTANT **
|
415
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
416
|
+
"""
|
417
|
+
return pulumi.get(self, "state")
|
418
|
+
|
419
|
+
@state.setter
|
420
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
421
|
+
pulumi.set(self, "state", value)
|
422
|
+
|
423
|
+
@property
|
424
|
+
@pulumi.getter(name="systemTags")
|
425
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
426
|
+
"""
|
427
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
428
|
+
"""
|
429
|
+
return pulumi.get(self, "system_tags")
|
430
|
+
|
431
|
+
@system_tags.setter
|
432
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
433
|
+
pulumi.set(self, "system_tags", value)
|
434
|
+
|
435
|
+
@property
|
436
|
+
@pulumi.getter(name="timeCreated")
|
437
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
438
|
+
"""
|
439
|
+
The time the cluster placement group was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
440
|
+
"""
|
441
|
+
return pulumi.get(self, "time_created")
|
442
|
+
|
443
|
+
@time_created.setter
|
444
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
445
|
+
pulumi.set(self, "time_created", value)
|
446
|
+
|
447
|
+
@property
|
448
|
+
@pulumi.getter(name="timeUpdated")
|
449
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
450
|
+
"""
|
451
|
+
The time the cluster placement group was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
452
|
+
"""
|
453
|
+
return pulumi.get(self, "time_updated")
|
454
|
+
|
455
|
+
@time_updated.setter
|
456
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
457
|
+
pulumi.set(self, "time_updated", value)
|
458
|
+
|
459
|
+
|
460
|
+
class ClusterPlacementGroup(pulumi.CustomResource):
|
461
|
+
@overload
|
462
|
+
def __init__(__self__,
|
463
|
+
resource_name: str,
|
464
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
465
|
+
availability_domain: Optional[pulumi.Input[str]] = None,
|
466
|
+
capabilities: Optional[pulumi.Input[pulumi.InputType['ClusterPlacementGroupCapabilitiesArgs']]] = None,
|
467
|
+
cluster_placement_group_type: Optional[pulumi.Input[str]] = None,
|
468
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
469
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
470
|
+
description: Optional[pulumi.Input[str]] = None,
|
471
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
472
|
+
name: Optional[pulumi.Input[str]] = None,
|
473
|
+
opc_dry_run: Optional[pulumi.Input[bool]] = None,
|
474
|
+
placement_instruction: Optional[pulumi.Input[pulumi.InputType['ClusterPlacementGroupPlacementInstructionArgs']]] = None,
|
475
|
+
state: Optional[pulumi.Input[str]] = None,
|
476
|
+
__props__=None):
|
477
|
+
"""
|
478
|
+
This resource provides the Cluster Placement Group resource in Oracle Cloud Infrastructure Cluster Placement Groups service.
|
479
|
+
|
480
|
+
Creates a new cluster placement group in the specified compartment.
|
481
|
+
|
482
|
+
## Example Usage
|
483
|
+
|
484
|
+
```python
|
485
|
+
import pulumi
|
486
|
+
import pulumi_oci as oci
|
487
|
+
|
488
|
+
test_cluster_placement_group = oci.cluster_placement_groups.ClusterPlacementGroup("test_cluster_placement_group",
|
489
|
+
availability_domain=cluster_placement_group_availability_domain,
|
490
|
+
cluster_placement_group_type=cluster_placement_group_cluster_placement_group_type,
|
491
|
+
compartment_id=compartment_id,
|
492
|
+
description=cluster_placement_group_description,
|
493
|
+
name=cluster_placement_group_name,
|
494
|
+
capabilities=oci.cluster_placement_groups.ClusterPlacementGroupCapabilitiesArgs(
|
495
|
+
items=[oci.cluster_placement_groups.ClusterPlacementGroupCapabilitiesItemArgs(
|
496
|
+
name=cluster_placement_group_capabilities_items_name,
|
497
|
+
service=cluster_placement_group_capabilities_items_service,
|
498
|
+
)],
|
499
|
+
),
|
500
|
+
defined_tags={
|
501
|
+
"foo-namespace.bar-key": "value",
|
502
|
+
},
|
503
|
+
freeform_tags={
|
504
|
+
"bar-key": "value",
|
505
|
+
},
|
506
|
+
opc_dry_run=cluster_placement_group_opc_dry_run,
|
507
|
+
placement_instruction=oci.cluster_placement_groups.ClusterPlacementGroupPlacementInstructionArgs(
|
508
|
+
type=cluster_placement_group_placement_instruction_type,
|
509
|
+
value=cluster_placement_group_placement_instruction_value,
|
510
|
+
))
|
511
|
+
```
|
512
|
+
|
513
|
+
## Import
|
514
|
+
|
515
|
+
ClusterPlacementGroups can be imported using the `id`, e.g.
|
516
|
+
|
517
|
+
```sh
|
518
|
+
$ pulumi import oci:ClusterPlacementGroups/clusterPlacementGroup:ClusterPlacementGroup test_cluster_placement_group "id"
|
519
|
+
```
|
520
|
+
|
521
|
+
:param str resource_name: The name of the resource.
|
522
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
523
|
+
:param pulumi.Input[str] availability_domain: The availability domain where you want to create the cluster placement group.
|
524
|
+
:param pulumi.Input[pulumi.InputType['ClusterPlacementGroupCapabilitiesArgs']] capabilities: A list of resources that you can create in a cluster placement group.
|
525
|
+
:param pulumi.Input[str] cluster_placement_group_type: ClusterPlacementGroup Identifier.
|
526
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the cluster placement group.
|
527
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
528
|
+
:param pulumi.Input[str] description: (Updatable) A description of the cluster placement group.
|
529
|
+
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
530
|
+
:param pulumi.Input[str] name: The friendly name of the cluster placement group.
|
531
|
+
:param pulumi.Input[bool] opc_dry_run: When set to `true`, the request performs validation on the submitted data without modifying configuration item details.
|
532
|
+
:param pulumi.Input[pulumi.InputType['ClusterPlacementGroupPlacementInstructionArgs']] placement_instruction: Details that inform cluster placement group provisioning.
|
533
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Cluster Placement Group. Could be set to `ACTIVE` or `INACTIVE`.
|
534
|
+
|
535
|
+
|
536
|
+
** IMPORTANT **
|
537
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
538
|
+
"""
|
539
|
+
...
|
540
|
+
@overload
|
541
|
+
def __init__(__self__,
|
542
|
+
resource_name: str,
|
543
|
+
args: ClusterPlacementGroupArgs,
|
544
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
545
|
+
"""
|
546
|
+
This resource provides the Cluster Placement Group resource in Oracle Cloud Infrastructure Cluster Placement Groups service.
|
547
|
+
|
548
|
+
Creates a new cluster placement group in the specified compartment.
|
549
|
+
|
550
|
+
## Example Usage
|
551
|
+
|
552
|
+
```python
|
553
|
+
import pulumi
|
554
|
+
import pulumi_oci as oci
|
555
|
+
|
556
|
+
test_cluster_placement_group = oci.cluster_placement_groups.ClusterPlacementGroup("test_cluster_placement_group",
|
557
|
+
availability_domain=cluster_placement_group_availability_domain,
|
558
|
+
cluster_placement_group_type=cluster_placement_group_cluster_placement_group_type,
|
559
|
+
compartment_id=compartment_id,
|
560
|
+
description=cluster_placement_group_description,
|
561
|
+
name=cluster_placement_group_name,
|
562
|
+
capabilities=oci.cluster_placement_groups.ClusterPlacementGroupCapabilitiesArgs(
|
563
|
+
items=[oci.cluster_placement_groups.ClusterPlacementGroupCapabilitiesItemArgs(
|
564
|
+
name=cluster_placement_group_capabilities_items_name,
|
565
|
+
service=cluster_placement_group_capabilities_items_service,
|
566
|
+
)],
|
567
|
+
),
|
568
|
+
defined_tags={
|
569
|
+
"foo-namespace.bar-key": "value",
|
570
|
+
},
|
571
|
+
freeform_tags={
|
572
|
+
"bar-key": "value",
|
573
|
+
},
|
574
|
+
opc_dry_run=cluster_placement_group_opc_dry_run,
|
575
|
+
placement_instruction=oci.cluster_placement_groups.ClusterPlacementGroupPlacementInstructionArgs(
|
576
|
+
type=cluster_placement_group_placement_instruction_type,
|
577
|
+
value=cluster_placement_group_placement_instruction_value,
|
578
|
+
))
|
579
|
+
```
|
580
|
+
|
581
|
+
## Import
|
582
|
+
|
583
|
+
ClusterPlacementGroups can be imported using the `id`, e.g.
|
584
|
+
|
585
|
+
```sh
|
586
|
+
$ pulumi import oci:ClusterPlacementGroups/clusterPlacementGroup:ClusterPlacementGroup test_cluster_placement_group "id"
|
587
|
+
```
|
588
|
+
|
589
|
+
:param str resource_name: The name of the resource.
|
590
|
+
:param ClusterPlacementGroupArgs args: The arguments to use to populate this resource's properties.
|
591
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
592
|
+
"""
|
593
|
+
...
|
594
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
595
|
+
resource_args, opts = _utilities.get_resource_args_opts(ClusterPlacementGroupArgs, pulumi.ResourceOptions, *args, **kwargs)
|
596
|
+
if resource_args is not None:
|
597
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
598
|
+
else:
|
599
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
600
|
+
|
601
|
+
def _internal_init(__self__,
|
602
|
+
resource_name: str,
|
603
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
604
|
+
availability_domain: Optional[pulumi.Input[str]] = None,
|
605
|
+
capabilities: Optional[pulumi.Input[pulumi.InputType['ClusterPlacementGroupCapabilitiesArgs']]] = None,
|
606
|
+
cluster_placement_group_type: Optional[pulumi.Input[str]] = None,
|
607
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
608
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
609
|
+
description: Optional[pulumi.Input[str]] = None,
|
610
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
611
|
+
name: Optional[pulumi.Input[str]] = None,
|
612
|
+
opc_dry_run: Optional[pulumi.Input[bool]] = None,
|
613
|
+
placement_instruction: Optional[pulumi.Input[pulumi.InputType['ClusterPlacementGroupPlacementInstructionArgs']]] = None,
|
614
|
+
state: Optional[pulumi.Input[str]] = None,
|
615
|
+
__props__=None):
|
616
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
617
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
618
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
619
|
+
if opts.id is None:
|
620
|
+
if __props__ is not None:
|
621
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
622
|
+
__props__ = ClusterPlacementGroupArgs.__new__(ClusterPlacementGroupArgs)
|
623
|
+
|
624
|
+
if availability_domain is None and not opts.urn:
|
625
|
+
raise TypeError("Missing required property 'availability_domain'")
|
626
|
+
__props__.__dict__["availability_domain"] = availability_domain
|
627
|
+
__props__.__dict__["capabilities"] = capabilities
|
628
|
+
if cluster_placement_group_type is None and not opts.urn:
|
629
|
+
raise TypeError("Missing required property 'cluster_placement_group_type'")
|
630
|
+
__props__.__dict__["cluster_placement_group_type"] = cluster_placement_group_type
|
631
|
+
if compartment_id is None and not opts.urn:
|
632
|
+
raise TypeError("Missing required property 'compartment_id'")
|
633
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
634
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
635
|
+
if description is None and not opts.urn:
|
636
|
+
raise TypeError("Missing required property 'description'")
|
637
|
+
__props__.__dict__["description"] = description
|
638
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
639
|
+
__props__.__dict__["name"] = name
|
640
|
+
__props__.__dict__["opc_dry_run"] = opc_dry_run
|
641
|
+
__props__.__dict__["placement_instruction"] = placement_instruction
|
642
|
+
__props__.__dict__["state"] = state
|
643
|
+
__props__.__dict__["lifecycle_details"] = None
|
644
|
+
__props__.__dict__["system_tags"] = None
|
645
|
+
__props__.__dict__["time_created"] = None
|
646
|
+
__props__.__dict__["time_updated"] = None
|
647
|
+
super(ClusterPlacementGroup, __self__).__init__(
|
648
|
+
'oci:ClusterPlacementGroups/clusterPlacementGroup:ClusterPlacementGroup',
|
649
|
+
resource_name,
|
650
|
+
__props__,
|
651
|
+
opts)
|
652
|
+
|
653
|
+
@staticmethod
|
654
|
+
def get(resource_name: str,
|
655
|
+
id: pulumi.Input[str],
|
656
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
657
|
+
availability_domain: Optional[pulumi.Input[str]] = None,
|
658
|
+
capabilities: Optional[pulumi.Input[pulumi.InputType['ClusterPlacementGroupCapabilitiesArgs']]] = None,
|
659
|
+
cluster_placement_group_type: Optional[pulumi.Input[str]] = None,
|
660
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
661
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
662
|
+
description: Optional[pulumi.Input[str]] = None,
|
663
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
664
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
665
|
+
name: Optional[pulumi.Input[str]] = None,
|
666
|
+
opc_dry_run: Optional[pulumi.Input[bool]] = None,
|
667
|
+
placement_instruction: Optional[pulumi.Input[pulumi.InputType['ClusterPlacementGroupPlacementInstructionArgs']]] = None,
|
668
|
+
state: Optional[pulumi.Input[str]] = None,
|
669
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
670
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
671
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'ClusterPlacementGroup':
|
672
|
+
"""
|
673
|
+
Get an existing ClusterPlacementGroup resource's state with the given name, id, and optional extra
|
674
|
+
properties used to qualify the lookup.
|
675
|
+
|
676
|
+
:param str resource_name: The unique name of the resulting resource.
|
677
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
678
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
679
|
+
:param pulumi.Input[str] availability_domain: The availability domain where you want to create the cluster placement group.
|
680
|
+
:param pulumi.Input[pulumi.InputType['ClusterPlacementGroupCapabilitiesArgs']] capabilities: A list of resources that you can create in a cluster placement group.
|
681
|
+
:param pulumi.Input[str] cluster_placement_group_type: ClusterPlacementGroup Identifier.
|
682
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the cluster placement group.
|
683
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
684
|
+
:param pulumi.Input[str] description: (Updatable) A description of the cluster placement group.
|
685
|
+
:param pulumi.Input[Mapping[str, Any]] 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"}`
|
686
|
+
:param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
|
687
|
+
:param pulumi.Input[str] name: The friendly name of the cluster placement group.
|
688
|
+
:param pulumi.Input[bool] opc_dry_run: When set to `true`, the request performs validation on the submitted data without modifying configuration item details.
|
689
|
+
:param pulumi.Input[pulumi.InputType['ClusterPlacementGroupPlacementInstructionArgs']] placement_instruction: Details that inform cluster placement group provisioning.
|
690
|
+
:param pulumi.Input[str] state: (Updatable) The target state for the Cluster Placement Group. Could be set to `ACTIVE` or `INACTIVE`.
|
691
|
+
|
692
|
+
|
693
|
+
** IMPORTANT **
|
694
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
695
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
696
|
+
:param pulumi.Input[str] time_created: The time the cluster placement group was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
697
|
+
:param pulumi.Input[str] time_updated: The time the cluster placement group was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
698
|
+
"""
|
699
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
700
|
+
|
701
|
+
__props__ = _ClusterPlacementGroupState.__new__(_ClusterPlacementGroupState)
|
702
|
+
|
703
|
+
__props__.__dict__["availability_domain"] = availability_domain
|
704
|
+
__props__.__dict__["capabilities"] = capabilities
|
705
|
+
__props__.__dict__["cluster_placement_group_type"] = cluster_placement_group_type
|
706
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
707
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
708
|
+
__props__.__dict__["description"] = description
|
709
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
710
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
711
|
+
__props__.__dict__["name"] = name
|
712
|
+
__props__.__dict__["opc_dry_run"] = opc_dry_run
|
713
|
+
__props__.__dict__["placement_instruction"] = placement_instruction
|
714
|
+
__props__.__dict__["state"] = state
|
715
|
+
__props__.__dict__["system_tags"] = system_tags
|
716
|
+
__props__.__dict__["time_created"] = time_created
|
717
|
+
__props__.__dict__["time_updated"] = time_updated
|
718
|
+
return ClusterPlacementGroup(resource_name, opts=opts, __props__=__props__)
|
719
|
+
|
720
|
+
@property
|
721
|
+
@pulumi.getter(name="availabilityDomain")
|
722
|
+
def availability_domain(self) -> pulumi.Output[str]:
|
723
|
+
"""
|
724
|
+
The availability domain where you want to create the cluster placement group.
|
725
|
+
"""
|
726
|
+
return pulumi.get(self, "availability_domain")
|
727
|
+
|
728
|
+
@property
|
729
|
+
@pulumi.getter
|
730
|
+
def capabilities(self) -> pulumi.Output['outputs.ClusterPlacementGroupCapabilities']:
|
731
|
+
"""
|
732
|
+
A list of resources that you can create in a cluster placement group.
|
733
|
+
"""
|
734
|
+
return pulumi.get(self, "capabilities")
|
735
|
+
|
736
|
+
@property
|
737
|
+
@pulumi.getter(name="clusterPlacementGroupType")
|
738
|
+
def cluster_placement_group_type(self) -> pulumi.Output[str]:
|
739
|
+
"""
|
740
|
+
ClusterPlacementGroup Identifier.
|
741
|
+
"""
|
742
|
+
return pulumi.get(self, "cluster_placement_group_type")
|
743
|
+
|
744
|
+
@property
|
745
|
+
@pulumi.getter(name="compartmentId")
|
746
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
747
|
+
"""
|
748
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the cluster placement group.
|
749
|
+
"""
|
750
|
+
return pulumi.get(self, "compartment_id")
|
751
|
+
|
752
|
+
@property
|
753
|
+
@pulumi.getter(name="definedTags")
|
754
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
755
|
+
"""
|
756
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
757
|
+
"""
|
758
|
+
return pulumi.get(self, "defined_tags")
|
759
|
+
|
760
|
+
@property
|
761
|
+
@pulumi.getter
|
762
|
+
def description(self) -> pulumi.Output[str]:
|
763
|
+
"""
|
764
|
+
(Updatable) A description of the cluster placement group.
|
765
|
+
"""
|
766
|
+
return pulumi.get(self, "description")
|
767
|
+
|
768
|
+
@property
|
769
|
+
@pulumi.getter(name="freeformTags")
|
770
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
771
|
+
"""
|
772
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
773
|
+
"""
|
774
|
+
return pulumi.get(self, "freeform_tags")
|
775
|
+
|
776
|
+
@property
|
777
|
+
@pulumi.getter(name="lifecycleDetails")
|
778
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
779
|
+
"""
|
780
|
+
A message describing the current state in more detail. For example, lifecycle details for a resource in a Failed state might include information to act on.
|
781
|
+
"""
|
782
|
+
return pulumi.get(self, "lifecycle_details")
|
783
|
+
|
784
|
+
@property
|
785
|
+
@pulumi.getter
|
786
|
+
def name(self) -> pulumi.Output[str]:
|
787
|
+
"""
|
788
|
+
The friendly name of the cluster placement group.
|
789
|
+
"""
|
790
|
+
return pulumi.get(self, "name")
|
791
|
+
|
792
|
+
@property
|
793
|
+
@pulumi.getter(name="opcDryRun")
|
794
|
+
def opc_dry_run(self) -> pulumi.Output[bool]:
|
795
|
+
"""
|
796
|
+
When set to `true`, the request performs validation on the submitted data without modifying configuration item details.
|
797
|
+
"""
|
798
|
+
return pulumi.get(self, "opc_dry_run")
|
799
|
+
|
800
|
+
@property
|
801
|
+
@pulumi.getter(name="placementInstruction")
|
802
|
+
def placement_instruction(self) -> pulumi.Output['outputs.ClusterPlacementGroupPlacementInstruction']:
|
803
|
+
"""
|
804
|
+
Details that inform cluster placement group provisioning.
|
805
|
+
"""
|
806
|
+
return pulumi.get(self, "placement_instruction")
|
807
|
+
|
808
|
+
@property
|
809
|
+
@pulumi.getter
|
810
|
+
def state(self) -> pulumi.Output[str]:
|
811
|
+
"""
|
812
|
+
(Updatable) The target state for the Cluster Placement Group. Could be set to `ACTIVE` or `INACTIVE`.
|
813
|
+
|
814
|
+
|
815
|
+
** IMPORTANT **
|
816
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
817
|
+
"""
|
818
|
+
return pulumi.get(self, "state")
|
819
|
+
|
820
|
+
@property
|
821
|
+
@pulumi.getter(name="systemTags")
|
822
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
823
|
+
"""
|
824
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
825
|
+
"""
|
826
|
+
return pulumi.get(self, "system_tags")
|
827
|
+
|
828
|
+
@property
|
829
|
+
@pulumi.getter(name="timeCreated")
|
830
|
+
def time_created(self) -> pulumi.Output[str]:
|
831
|
+
"""
|
832
|
+
The time the cluster placement group was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
833
|
+
"""
|
834
|
+
return pulumi.get(self, "time_created")
|
835
|
+
|
836
|
+
@property
|
837
|
+
@pulumi.getter(name="timeUpdated")
|
838
|
+
def time_updated(self) -> pulumi.Output[str]:
|
839
|
+
"""
|
840
|
+
The time the cluster placement group was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
841
|
+
"""
|
842
|
+
return pulumi.get(self, "time_updated")
|
843
|
+
|