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,298 @@
|
|
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
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetClusterPlacementGroupResult',
|
15
|
+
'AwaitableGetClusterPlacementGroupResult',
|
16
|
+
'get_cluster_placement_group',
|
17
|
+
'get_cluster_placement_group_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetClusterPlacementGroupResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getClusterPlacementGroup.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, availability_domain=None, capabilities=None, cluster_placement_group_id=None, cluster_placement_group_type=None, compartment_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, lifecycle_details=None, name=None, opc_dry_run=None, placement_instructions=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
26
|
+
if availability_domain and not isinstance(availability_domain, str):
|
27
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
28
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
29
|
+
if capabilities and not isinstance(capabilities, list):
|
30
|
+
raise TypeError("Expected argument 'capabilities' to be a list")
|
31
|
+
pulumi.set(__self__, "capabilities", capabilities)
|
32
|
+
if cluster_placement_group_id and not isinstance(cluster_placement_group_id, str):
|
33
|
+
raise TypeError("Expected argument 'cluster_placement_group_id' to be a str")
|
34
|
+
pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id)
|
35
|
+
if cluster_placement_group_type and not isinstance(cluster_placement_group_type, str):
|
36
|
+
raise TypeError("Expected argument 'cluster_placement_group_type' to be a str")
|
37
|
+
pulumi.set(__self__, "cluster_placement_group_type", cluster_placement_group_type)
|
38
|
+
if compartment_id and not isinstance(compartment_id, str):
|
39
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
40
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
42
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
43
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
44
|
+
if description and not isinstance(description, str):
|
45
|
+
raise TypeError("Expected argument 'description' to be a str")
|
46
|
+
pulumi.set(__self__, "description", description)
|
47
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
48
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
49
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
50
|
+
if id and not isinstance(id, str):
|
51
|
+
raise TypeError("Expected argument 'id' to be a str")
|
52
|
+
pulumi.set(__self__, "id", id)
|
53
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
54
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
55
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
56
|
+
if name and not isinstance(name, str):
|
57
|
+
raise TypeError("Expected argument 'name' to be a str")
|
58
|
+
pulumi.set(__self__, "name", name)
|
59
|
+
if opc_dry_run and not isinstance(opc_dry_run, bool):
|
60
|
+
raise TypeError("Expected argument 'opc_dry_run' to be a bool")
|
61
|
+
pulumi.set(__self__, "opc_dry_run", opc_dry_run)
|
62
|
+
if placement_instructions and not isinstance(placement_instructions, list):
|
63
|
+
raise TypeError("Expected argument 'placement_instructions' to be a list")
|
64
|
+
pulumi.set(__self__, "placement_instructions", placement_instructions)
|
65
|
+
if state and not isinstance(state, str):
|
66
|
+
raise TypeError("Expected argument 'state' to be a str")
|
67
|
+
pulumi.set(__self__, "state", state)
|
68
|
+
if system_tags and not isinstance(system_tags, dict):
|
69
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
70
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
71
|
+
if time_created and not isinstance(time_created, str):
|
72
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
73
|
+
pulumi.set(__self__, "time_created", time_created)
|
74
|
+
if time_updated and not isinstance(time_updated, str):
|
75
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
76
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="availabilityDomain")
|
80
|
+
def availability_domain(self) -> str:
|
81
|
+
"""
|
82
|
+
The availability domain of the cluster placement group.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "availability_domain")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def capabilities(self) -> Sequence['outputs.GetClusterPlacementGroupCapabilityResult']:
|
89
|
+
"""
|
90
|
+
A list of resources that you can create in a cluster placement group.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "capabilities")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
96
|
+
def cluster_placement_group_id(self) -> str:
|
97
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="clusterPlacementGroupType")
|
101
|
+
def cluster_placement_group_type(self) -> str:
|
102
|
+
"""
|
103
|
+
The type of cluster placement group.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "cluster_placement_group_type")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="compartmentId")
|
109
|
+
def compartment_id(self) -> str:
|
110
|
+
"""
|
111
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the cluster placement group.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "compartment_id")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="definedTags")
|
117
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
118
|
+
"""
|
119
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "defined_tags")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def description(self) -> str:
|
126
|
+
"""
|
127
|
+
A description of the cluster placement group.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "description")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="freeformTags")
|
133
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
134
|
+
"""
|
135
|
+
Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "freeform_tags")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter
|
141
|
+
def id(self) -> str:
|
142
|
+
"""
|
143
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "id")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="lifecycleDetails")
|
149
|
+
def lifecycle_details(self) -> str:
|
150
|
+
"""
|
151
|
+
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.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "lifecycle_details")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def name(self) -> str:
|
158
|
+
"""
|
159
|
+
The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "name")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="opcDryRun")
|
165
|
+
def opc_dry_run(self) -> bool:
|
166
|
+
return pulumi.get(self, "opc_dry_run")
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="placementInstructions")
|
170
|
+
def placement_instructions(self) -> Sequence['outputs.GetClusterPlacementGroupPlacementInstructionResult']:
|
171
|
+
"""
|
172
|
+
Details that inform cluster placement group provisioning.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "placement_instructions")
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter
|
178
|
+
def state(self) -> str:
|
179
|
+
"""
|
180
|
+
The current state of the ClusterPlacementGroup.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "state")
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter(name="systemTags")
|
186
|
+
def system_tags(self) -> Mapping[str, Any]:
|
187
|
+
"""
|
188
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "system_tags")
|
191
|
+
|
192
|
+
@property
|
193
|
+
@pulumi.getter(name="timeCreated")
|
194
|
+
def time_created(self) -> str:
|
195
|
+
"""
|
196
|
+
The time the cluster placement group was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "time_created")
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="timeUpdated")
|
202
|
+
def time_updated(self) -> str:
|
203
|
+
"""
|
204
|
+
The time the cluster placement group was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
205
|
+
"""
|
206
|
+
return pulumi.get(self, "time_updated")
|
207
|
+
|
208
|
+
|
209
|
+
class AwaitableGetClusterPlacementGroupResult(GetClusterPlacementGroupResult):
|
210
|
+
# pylint: disable=using-constant-test
|
211
|
+
def __await__(self):
|
212
|
+
if False:
|
213
|
+
yield self
|
214
|
+
return GetClusterPlacementGroupResult(
|
215
|
+
availability_domain=self.availability_domain,
|
216
|
+
capabilities=self.capabilities,
|
217
|
+
cluster_placement_group_id=self.cluster_placement_group_id,
|
218
|
+
cluster_placement_group_type=self.cluster_placement_group_type,
|
219
|
+
compartment_id=self.compartment_id,
|
220
|
+
defined_tags=self.defined_tags,
|
221
|
+
description=self.description,
|
222
|
+
freeform_tags=self.freeform_tags,
|
223
|
+
id=self.id,
|
224
|
+
lifecycle_details=self.lifecycle_details,
|
225
|
+
name=self.name,
|
226
|
+
opc_dry_run=self.opc_dry_run,
|
227
|
+
placement_instructions=self.placement_instructions,
|
228
|
+
state=self.state,
|
229
|
+
system_tags=self.system_tags,
|
230
|
+
time_created=self.time_created,
|
231
|
+
time_updated=self.time_updated)
|
232
|
+
|
233
|
+
|
234
|
+
def get_cluster_placement_group(cluster_placement_group_id: Optional[str] = None,
|
235
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterPlacementGroupResult:
|
236
|
+
"""
|
237
|
+
This data source provides details about a specific Cluster Placement Group resource in Oracle Cloud Infrastructure Cluster Placement Groups service.
|
238
|
+
|
239
|
+
Gets the specified cluster placement group.
|
240
|
+
|
241
|
+
## Example Usage
|
242
|
+
|
243
|
+
```python
|
244
|
+
import pulumi
|
245
|
+
import pulumi_oci as oci
|
246
|
+
|
247
|
+
test_cluster_placement_group = oci.ClusterPlacementGroups.get_cluster_placement_group(cluster_placement_group_id=test_cluster_placement_group_oci_cluster_placement_groups_cluster_placement_group["id"])
|
248
|
+
```
|
249
|
+
|
250
|
+
|
251
|
+
:param str cluster_placement_group_id: A unique cluster placement group identifier.
|
252
|
+
"""
|
253
|
+
__args__ = dict()
|
254
|
+
__args__['clusterPlacementGroupId'] = cluster_placement_group_id
|
255
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
256
|
+
__ret__ = pulumi.runtime.invoke('oci:ClusterPlacementGroups/getClusterPlacementGroup:getClusterPlacementGroup', __args__, opts=opts, typ=GetClusterPlacementGroupResult).value
|
257
|
+
|
258
|
+
return AwaitableGetClusterPlacementGroupResult(
|
259
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
260
|
+
capabilities=pulumi.get(__ret__, 'capabilities'),
|
261
|
+
cluster_placement_group_id=pulumi.get(__ret__, 'cluster_placement_group_id'),
|
262
|
+
cluster_placement_group_type=pulumi.get(__ret__, 'cluster_placement_group_type'),
|
263
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
264
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
265
|
+
description=pulumi.get(__ret__, 'description'),
|
266
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
267
|
+
id=pulumi.get(__ret__, 'id'),
|
268
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
269
|
+
name=pulumi.get(__ret__, 'name'),
|
270
|
+
opc_dry_run=pulumi.get(__ret__, 'opc_dry_run'),
|
271
|
+
placement_instructions=pulumi.get(__ret__, 'placement_instructions'),
|
272
|
+
state=pulumi.get(__ret__, 'state'),
|
273
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
274
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
275
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
276
|
+
|
277
|
+
|
278
|
+
@_utilities.lift_output_func(get_cluster_placement_group)
|
279
|
+
def get_cluster_placement_group_output(cluster_placement_group_id: Optional[pulumi.Input[str]] = None,
|
280
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterPlacementGroupResult]:
|
281
|
+
"""
|
282
|
+
This data source provides details about a specific Cluster Placement Group resource in Oracle Cloud Infrastructure Cluster Placement Groups service.
|
283
|
+
|
284
|
+
Gets the specified cluster placement group.
|
285
|
+
|
286
|
+
## Example Usage
|
287
|
+
|
288
|
+
```python
|
289
|
+
import pulumi
|
290
|
+
import pulumi_oci as oci
|
291
|
+
|
292
|
+
test_cluster_placement_group = oci.ClusterPlacementGroups.get_cluster_placement_group(cluster_placement_group_id=test_cluster_placement_group_oci_cluster_placement_groups_cluster_placement_group["id"])
|
293
|
+
```
|
294
|
+
|
295
|
+
|
296
|
+
:param str cluster_placement_group_id: A unique cluster placement group identifier.
|
297
|
+
"""
|
298
|
+
...
|
@@ -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 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__ = [
|
15
|
+
'GetClusterPlacementGroupsResult',
|
16
|
+
'AwaitableGetClusterPlacementGroupsResult',
|
17
|
+
'get_cluster_placement_groups',
|
18
|
+
'get_cluster_placement_groups_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetClusterPlacementGroupsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getClusterPlacementGroups.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, ad=None, cluster_placement_group_collections=None, compartment_id=None, compartment_id_in_subtree=None, filters=None, id=None, name=None, state=None):
|
27
|
+
if ad and not isinstance(ad, str):
|
28
|
+
raise TypeError("Expected argument 'ad' to be a str")
|
29
|
+
pulumi.set(__self__, "ad", ad)
|
30
|
+
if cluster_placement_group_collections and not isinstance(cluster_placement_group_collections, list):
|
31
|
+
raise TypeError("Expected argument 'cluster_placement_group_collections' to be a list")
|
32
|
+
pulumi.set(__self__, "cluster_placement_group_collections", cluster_placement_group_collections)
|
33
|
+
if compartment_id and not isinstance(compartment_id, str):
|
34
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
36
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
37
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
38
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
39
|
+
if filters and not isinstance(filters, list):
|
40
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
+
pulumi.set(__self__, "filters", filters)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if name and not isinstance(name, str):
|
46
|
+
raise TypeError("Expected argument 'name' to be a str")
|
47
|
+
pulumi.set(__self__, "name", name)
|
48
|
+
if state and not isinstance(state, str):
|
49
|
+
raise TypeError("Expected argument 'state' to be a str")
|
50
|
+
pulumi.set(__self__, "state", state)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def ad(self) -> Optional[str]:
|
55
|
+
return pulumi.get(self, "ad")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="clusterPlacementGroupCollections")
|
59
|
+
def cluster_placement_group_collections(self) -> Sequence['outputs.GetClusterPlacementGroupsClusterPlacementGroupCollectionResult']:
|
60
|
+
"""
|
61
|
+
The list of cluster_placement_group_collection.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "cluster_placement_group_collections")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="compartmentId")
|
67
|
+
def compartment_id(self) -> Optional[str]:
|
68
|
+
"""
|
69
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the cluster placement group.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "compartment_id")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
75
|
+
def compartment_id_in_subtree(self) -> Optional[bool]:
|
76
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def filters(self) -> Optional[Sequence['outputs.GetClusterPlacementGroupsFilterResult']]:
|
81
|
+
return pulumi.get(self, "filters")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def id(self) -> Optional[str]:
|
86
|
+
"""
|
87
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def name(self) -> Optional[str]:
|
94
|
+
"""
|
95
|
+
The user-friendly name of the cluster placement group. The display name for a cluster placement must be unique and you cannot change it. Avoid entering confidential information.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "name")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def state(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
The current state of the ClusterPlacementGroup.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetClusterPlacementGroupsResult(GetClusterPlacementGroupsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetClusterPlacementGroupsResult(
|
114
|
+
ad=self.ad,
|
115
|
+
cluster_placement_group_collections=self.cluster_placement_group_collections,
|
116
|
+
compartment_id=self.compartment_id,
|
117
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
118
|
+
filters=self.filters,
|
119
|
+
id=self.id,
|
120
|
+
name=self.name,
|
121
|
+
state=self.state)
|
122
|
+
|
123
|
+
|
124
|
+
def get_cluster_placement_groups(ad: Optional[str] = None,
|
125
|
+
compartment_id: Optional[str] = None,
|
126
|
+
compartment_id_in_subtree: Optional[bool] = None,
|
127
|
+
filters: Optional[Sequence[pulumi.InputType['GetClusterPlacementGroupsFilterArgs']]] = None,
|
128
|
+
id: Optional[str] = None,
|
129
|
+
name: Optional[str] = None,
|
130
|
+
state: Optional[str] = None,
|
131
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterPlacementGroupsResult:
|
132
|
+
"""
|
133
|
+
This data source provides the list of Cluster Placement Groups in Oracle Cloud Infrastructure Cluster Placement Groups service.
|
134
|
+
|
135
|
+
Gets a list of all cluster placement groups in the specified compartment.
|
136
|
+
|
137
|
+
## Example Usage
|
138
|
+
|
139
|
+
```python
|
140
|
+
import pulumi
|
141
|
+
import pulumi_oci as oci
|
142
|
+
|
143
|
+
test_cluster_placement_groups = oci.ClusterPlacementGroups.get_cluster_placement_groups(ad=cluster_placement_group_ad,
|
144
|
+
compartment_id=compartment_id,
|
145
|
+
compartment_id_in_subtree=cluster_placement_group_compartment_id_in_subtree,
|
146
|
+
id=cluster_placement_group_id,
|
147
|
+
name=cluster_placement_group_name,
|
148
|
+
state=cluster_placement_group_state)
|
149
|
+
```
|
150
|
+
|
151
|
+
|
152
|
+
:param str ad: A filter to return only the resources that match the specified availability domain.
|
153
|
+
:param str compartment_id: A filter to return only the resources that match the specified compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
154
|
+
:param bool compartment_id_in_subtree: When set to `true`, cluster placement groups in all compartments under the specified compartment are returned. The default is set to `false`.
|
155
|
+
:param str id: A filter to return only the resources that match the specified unique cluster placement group identifier.
|
156
|
+
:param str name: A filter to return only the resources that match the entire display name specified.
|
157
|
+
:param str state: A filter to return only the resources that match the specified lifecycle state.
|
158
|
+
"""
|
159
|
+
__args__ = dict()
|
160
|
+
__args__['ad'] = ad
|
161
|
+
__args__['compartmentId'] = compartment_id
|
162
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
163
|
+
__args__['filters'] = filters
|
164
|
+
__args__['id'] = id
|
165
|
+
__args__['name'] = name
|
166
|
+
__args__['state'] = state
|
167
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
168
|
+
__ret__ = pulumi.runtime.invoke('oci:ClusterPlacementGroups/getClusterPlacementGroups:getClusterPlacementGroups', __args__, opts=opts, typ=GetClusterPlacementGroupsResult).value
|
169
|
+
|
170
|
+
return AwaitableGetClusterPlacementGroupsResult(
|
171
|
+
ad=pulumi.get(__ret__, 'ad'),
|
172
|
+
cluster_placement_group_collections=pulumi.get(__ret__, 'cluster_placement_group_collections'),
|
173
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
174
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
175
|
+
filters=pulumi.get(__ret__, 'filters'),
|
176
|
+
id=pulumi.get(__ret__, 'id'),
|
177
|
+
name=pulumi.get(__ret__, 'name'),
|
178
|
+
state=pulumi.get(__ret__, 'state'))
|
179
|
+
|
180
|
+
|
181
|
+
@_utilities.lift_output_func(get_cluster_placement_groups)
|
182
|
+
def get_cluster_placement_groups_output(ad: Optional[pulumi.Input[Optional[str]]] = None,
|
183
|
+
compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
184
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
185
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetClusterPlacementGroupsFilterArgs']]]]] = None,
|
186
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
187
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
188
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
189
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterPlacementGroupsResult]:
|
190
|
+
"""
|
191
|
+
This data source provides the list of Cluster Placement Groups in Oracle Cloud Infrastructure Cluster Placement Groups service.
|
192
|
+
|
193
|
+
Gets a list of all cluster placement groups in the specified compartment.
|
194
|
+
|
195
|
+
## Example Usage
|
196
|
+
|
197
|
+
```python
|
198
|
+
import pulumi
|
199
|
+
import pulumi_oci as oci
|
200
|
+
|
201
|
+
test_cluster_placement_groups = oci.ClusterPlacementGroups.get_cluster_placement_groups(ad=cluster_placement_group_ad,
|
202
|
+
compartment_id=compartment_id,
|
203
|
+
compartment_id_in_subtree=cluster_placement_group_compartment_id_in_subtree,
|
204
|
+
id=cluster_placement_group_id,
|
205
|
+
name=cluster_placement_group_name,
|
206
|
+
state=cluster_placement_group_state)
|
207
|
+
```
|
208
|
+
|
209
|
+
|
210
|
+
:param str ad: A filter to return only the resources that match the specified availability domain.
|
211
|
+
:param str compartment_id: A filter to return only the resources that match the specified compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
212
|
+
:param bool compartment_id_in_subtree: When set to `true`, cluster placement groups in all compartments under the specified compartment are returned. The default is set to `false`.
|
213
|
+
:param str id: A filter to return only the resources that match the specified unique cluster placement group identifier.
|
214
|
+
:param str name: A filter to return only the resources that match the entire display name specified.
|
215
|
+
:param str state: A filter to return only the resources that match the specified lifecycle state.
|
216
|
+
"""
|
217
|
+
...
|