pulumi-oci 2.31.0a1744784817__py3-none-any.whl → 2.32.0a1745044247__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/containerengine/_inputs.py +20 -19
- pulumi_oci/containerengine/container_instance.py +2 -2
- pulumi_oci/containerengine/outputs.py +12 -11
- pulumi_oci/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +103 -0
- pulumi_oci/goldengate/deployment.py +308 -68
- pulumi_oci/goldengate/get_deployment.py +85 -1
- pulumi_oci/goldengate/get_deployment_peers.py +192 -0
- pulumi_oci/goldengate/outputs.py +364 -0
- pulumi_oci/loadbalancer/load_balancer.py +49 -0
- pulumi_oci/loadbalancer/outputs.py +11 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.31.0a1744784817.dist-info → pulumi_oci-2.32.0a1745044247.dist-info}/METADATA +1 -1
- {pulumi_oci-2.31.0a1744784817.dist-info → pulumi_oci-2.32.0a1745044247.dist-info}/RECORD +16 -15
- {pulumi_oci-2.31.0a1744784817.dist-info → pulumi_oci-2.32.0a1745044247.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.31.0a1744784817.dist-info → pulumi_oci-2.32.0a1745044247.dist-info}/top_level.txt +0 -0
@@ -28,7 +28,10 @@ class GetDeploymentResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getDeployment.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, backup_schedules=None, category=None, compartment_id=None, cpu_core_count=None, defined_tags=None, deployment_backup_id=None, deployment_diagnostic_datas=None, deployment_id=None, deployment_type=None, deployment_url=None, description=None, display_name=None, environment_type=None, fqdn=None, freeform_tags=None, id=None, ingress_ips=None, is_auto_scaling_enabled=None, is_healthy=None, is_latest_version=None, is_lock_override=None, is_public=None, is_storage_utilization_limit_exceeded=None, license_model=None, lifecycle_details=None, lifecycle_sub_state=None, load_balancer_id=None, load_balancer_subnet_id=None, locks=None, maintenance_configurations=None, maintenance_windows=None, next_maintenance_action_type=None, next_maintenance_description=None, nsg_ids=None, ogg_datas=None, private_ip_address=None, public_ip_address=None, state=None, storage_utilization_in_bytes=None, subnet_id=None, system_tags=None, time_created=None, time_last_backup_scheduled=None, time_next_backup_scheduled=None, time_of_next_maintenance=None, time_ogg_version_supported_until=None, time_updated=None, time_upgrade_required=None):
|
31
|
+
def __init__(__self__, availability_domain=None, backup_schedules=None, category=None, compartment_id=None, cpu_core_count=None, defined_tags=None, deployment_backup_id=None, deployment_diagnostic_datas=None, deployment_id=None, deployment_role=None, deployment_type=None, deployment_url=None, description=None, display_name=None, environment_type=None, fault_domain=None, fqdn=None, freeform_tags=None, id=None, ingress_ips=None, is_auto_scaling_enabled=None, is_healthy=None, is_latest_version=None, is_lock_override=None, is_public=None, is_storage_utilization_limit_exceeded=None, license_model=None, lifecycle_details=None, lifecycle_sub_state=None, load_balancer_id=None, load_balancer_subnet_id=None, locks=None, maintenance_configurations=None, maintenance_windows=None, next_maintenance_action_type=None, next_maintenance_description=None, nsg_ids=None, ogg_datas=None, placements=None, private_ip_address=None, public_ip_address=None, source_deployment_id=None, state=None, storage_utilization_in_bytes=None, subnet_id=None, system_tags=None, time_created=None, time_last_backup_scheduled=None, time_next_backup_scheduled=None, time_of_next_maintenance=None, time_ogg_version_supported_until=None, time_role_changed=None, time_updated=None, time_upgrade_required=None):
|
32
|
+
if availability_domain and not isinstance(availability_domain, str):
|
33
|
+
raise TypeError("Expected argument 'availability_domain' to be a str")
|
34
|
+
pulumi.set(__self__, "availability_domain", availability_domain)
|
32
35
|
if backup_schedules and not isinstance(backup_schedules, list):
|
33
36
|
raise TypeError("Expected argument 'backup_schedules' to be a list")
|
34
37
|
pulumi.set(__self__, "backup_schedules", backup_schedules)
|
@@ -53,6 +56,9 @@ class GetDeploymentResult:
|
|
53
56
|
if deployment_id and not isinstance(deployment_id, str):
|
54
57
|
raise TypeError("Expected argument 'deployment_id' to be a str")
|
55
58
|
pulumi.set(__self__, "deployment_id", deployment_id)
|
59
|
+
if deployment_role and not isinstance(deployment_role, str):
|
60
|
+
raise TypeError("Expected argument 'deployment_role' to be a str")
|
61
|
+
pulumi.set(__self__, "deployment_role", deployment_role)
|
56
62
|
if deployment_type and not isinstance(deployment_type, str):
|
57
63
|
raise TypeError("Expected argument 'deployment_type' to be a str")
|
58
64
|
pulumi.set(__self__, "deployment_type", deployment_type)
|
@@ -68,6 +74,9 @@ class GetDeploymentResult:
|
|
68
74
|
if environment_type and not isinstance(environment_type, str):
|
69
75
|
raise TypeError("Expected argument 'environment_type' to be a str")
|
70
76
|
pulumi.set(__self__, "environment_type", environment_type)
|
77
|
+
if fault_domain and not isinstance(fault_domain, str):
|
78
|
+
raise TypeError("Expected argument 'fault_domain' to be a str")
|
79
|
+
pulumi.set(__self__, "fault_domain", fault_domain)
|
71
80
|
if fqdn and not isinstance(fqdn, str):
|
72
81
|
raise TypeError("Expected argument 'fqdn' to be a str")
|
73
82
|
pulumi.set(__self__, "fqdn", fqdn)
|
@@ -134,12 +143,18 @@ class GetDeploymentResult:
|
|
134
143
|
if ogg_datas and not isinstance(ogg_datas, list):
|
135
144
|
raise TypeError("Expected argument 'ogg_datas' to be a list")
|
136
145
|
pulumi.set(__self__, "ogg_datas", ogg_datas)
|
146
|
+
if placements and not isinstance(placements, list):
|
147
|
+
raise TypeError("Expected argument 'placements' to be a list")
|
148
|
+
pulumi.set(__self__, "placements", placements)
|
137
149
|
if private_ip_address and not isinstance(private_ip_address, str):
|
138
150
|
raise TypeError("Expected argument 'private_ip_address' to be a str")
|
139
151
|
pulumi.set(__self__, "private_ip_address", private_ip_address)
|
140
152
|
if public_ip_address and not isinstance(public_ip_address, str):
|
141
153
|
raise TypeError("Expected argument 'public_ip_address' to be a str")
|
142
154
|
pulumi.set(__self__, "public_ip_address", public_ip_address)
|
155
|
+
if source_deployment_id and not isinstance(source_deployment_id, str):
|
156
|
+
raise TypeError("Expected argument 'source_deployment_id' to be a str")
|
157
|
+
pulumi.set(__self__, "source_deployment_id", source_deployment_id)
|
143
158
|
if state and not isinstance(state, str):
|
144
159
|
raise TypeError("Expected argument 'state' to be a str")
|
145
160
|
pulumi.set(__self__, "state", state)
|
@@ -167,6 +182,9 @@ class GetDeploymentResult:
|
|
167
182
|
if time_ogg_version_supported_until and not isinstance(time_ogg_version_supported_until, str):
|
168
183
|
raise TypeError("Expected argument 'time_ogg_version_supported_until' to be a str")
|
169
184
|
pulumi.set(__self__, "time_ogg_version_supported_until", time_ogg_version_supported_until)
|
185
|
+
if time_role_changed and not isinstance(time_role_changed, str):
|
186
|
+
raise TypeError("Expected argument 'time_role_changed' to be a str")
|
187
|
+
pulumi.set(__self__, "time_role_changed", time_role_changed)
|
170
188
|
if time_updated and not isinstance(time_updated, str):
|
171
189
|
raise TypeError("Expected argument 'time_updated' to be a str")
|
172
190
|
pulumi.set(__self__, "time_updated", time_updated)
|
@@ -174,6 +192,14 @@ class GetDeploymentResult:
|
|
174
192
|
raise TypeError("Expected argument 'time_upgrade_required' to be a str")
|
175
193
|
pulumi.set(__self__, "time_upgrade_required", time_upgrade_required)
|
176
194
|
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="availabilityDomain")
|
197
|
+
def availability_domain(self) -> builtins.str:
|
198
|
+
"""
|
199
|
+
The availability domain of a placement.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "availability_domain")
|
202
|
+
|
177
203
|
@property
|
178
204
|
@pulumi.getter(name="backupSchedules")
|
179
205
|
def backup_schedules(self) -> Sequence['outputs.GetDeploymentBackupScheduleResult']:
|
@@ -235,6 +261,14 @@ class GetDeploymentResult:
|
|
235
261
|
def deployment_id(self) -> builtins.str:
|
236
262
|
return pulumi.get(self, "deployment_id")
|
237
263
|
|
264
|
+
@property
|
265
|
+
@pulumi.getter(name="deploymentRole")
|
266
|
+
def deployment_role(self) -> builtins.str:
|
267
|
+
"""
|
268
|
+
The type of the deployment role.
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "deployment_role")
|
271
|
+
|
238
272
|
@property
|
239
273
|
@pulumi.getter(name="deploymentType")
|
240
274
|
def deployment_type(self) -> builtins.str:
|
@@ -275,6 +309,14 @@ class GetDeploymentResult:
|
|
275
309
|
"""
|
276
310
|
return pulumi.get(self, "environment_type")
|
277
311
|
|
312
|
+
@property
|
313
|
+
@pulumi.getter(name="faultDomain")
|
314
|
+
def fault_domain(self) -> builtins.str:
|
315
|
+
"""
|
316
|
+
The fault domain of a placement.
|
317
|
+
"""
|
318
|
+
return pulumi.get(self, "fault_domain")
|
319
|
+
|
278
320
|
@property
|
279
321
|
@pulumi.getter
|
280
322
|
def fqdn(self) -> builtins.str:
|
@@ -448,6 +490,14 @@ class GetDeploymentResult:
|
|
448
490
|
"""
|
449
491
|
return pulumi.get(self, "ogg_datas")
|
450
492
|
|
493
|
+
@property
|
494
|
+
@pulumi.getter
|
495
|
+
def placements(self) -> Sequence['outputs.GetDeploymentPlacementResult']:
|
496
|
+
"""
|
497
|
+
An array of local peers of deployment
|
498
|
+
"""
|
499
|
+
return pulumi.get(self, "placements")
|
500
|
+
|
451
501
|
@property
|
452
502
|
@pulumi.getter(name="privateIpAddress")
|
453
503
|
def private_ip_address(self) -> builtins.str:
|
@@ -464,6 +514,14 @@ class GetDeploymentResult:
|
|
464
514
|
"""
|
465
515
|
return pulumi.get(self, "public_ip_address")
|
466
516
|
|
517
|
+
@property
|
518
|
+
@pulumi.getter(name="sourceDeploymentId")
|
519
|
+
def source_deployment_id(self) -> builtins.str:
|
520
|
+
"""
|
521
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced.
|
522
|
+
"""
|
523
|
+
return pulumi.get(self, "source_deployment_id")
|
524
|
+
|
467
525
|
@property
|
468
526
|
@pulumi.getter
|
469
527
|
def state(self) -> builtins.str:
|
@@ -536,6 +594,14 @@ class GetDeploymentResult:
|
|
536
594
|
"""
|
537
595
|
return pulumi.get(self, "time_ogg_version_supported_until")
|
538
596
|
|
597
|
+
@property
|
598
|
+
@pulumi.getter(name="timeRoleChanged")
|
599
|
+
def time_role_changed(self) -> builtins.str:
|
600
|
+
"""
|
601
|
+
The time of the last role change. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`.
|
602
|
+
"""
|
603
|
+
return pulumi.get(self, "time_role_changed")
|
604
|
+
|
539
605
|
@property
|
540
606
|
@pulumi.getter(name="timeUpdated")
|
541
607
|
def time_updated(self) -> builtins.str:
|
@@ -559,6 +625,7 @@ class AwaitableGetDeploymentResult(GetDeploymentResult):
|
|
559
625
|
if False:
|
560
626
|
yield self
|
561
627
|
return GetDeploymentResult(
|
628
|
+
availability_domain=self.availability_domain,
|
562
629
|
backup_schedules=self.backup_schedules,
|
563
630
|
category=self.category,
|
564
631
|
compartment_id=self.compartment_id,
|
@@ -567,11 +634,13 @@ class AwaitableGetDeploymentResult(GetDeploymentResult):
|
|
567
634
|
deployment_backup_id=self.deployment_backup_id,
|
568
635
|
deployment_diagnostic_datas=self.deployment_diagnostic_datas,
|
569
636
|
deployment_id=self.deployment_id,
|
637
|
+
deployment_role=self.deployment_role,
|
570
638
|
deployment_type=self.deployment_type,
|
571
639
|
deployment_url=self.deployment_url,
|
572
640
|
description=self.description,
|
573
641
|
display_name=self.display_name,
|
574
642
|
environment_type=self.environment_type,
|
643
|
+
fault_domain=self.fault_domain,
|
575
644
|
fqdn=self.fqdn,
|
576
645
|
freeform_tags=self.freeform_tags,
|
577
646
|
id=self.id,
|
@@ -594,8 +663,10 @@ class AwaitableGetDeploymentResult(GetDeploymentResult):
|
|
594
663
|
next_maintenance_description=self.next_maintenance_description,
|
595
664
|
nsg_ids=self.nsg_ids,
|
596
665
|
ogg_datas=self.ogg_datas,
|
666
|
+
placements=self.placements,
|
597
667
|
private_ip_address=self.private_ip_address,
|
598
668
|
public_ip_address=self.public_ip_address,
|
669
|
+
source_deployment_id=self.source_deployment_id,
|
599
670
|
state=self.state,
|
600
671
|
storage_utilization_in_bytes=self.storage_utilization_in_bytes,
|
601
672
|
subnet_id=self.subnet_id,
|
@@ -605,6 +676,7 @@ class AwaitableGetDeploymentResult(GetDeploymentResult):
|
|
605
676
|
time_next_backup_scheduled=self.time_next_backup_scheduled,
|
606
677
|
time_of_next_maintenance=self.time_of_next_maintenance,
|
607
678
|
time_ogg_version_supported_until=self.time_ogg_version_supported_until,
|
679
|
+
time_role_changed=self.time_role_changed,
|
608
680
|
time_updated=self.time_updated,
|
609
681
|
time_upgrade_required=self.time_upgrade_required)
|
610
682
|
|
@@ -634,6 +706,7 @@ def get_deployment(deployment_id: Optional[builtins.str] = None,
|
|
634
706
|
__ret__ = pulumi.runtime.invoke('oci:GoldenGate/getDeployment:getDeployment', __args__, opts=opts, typ=GetDeploymentResult).value
|
635
707
|
|
636
708
|
return AwaitableGetDeploymentResult(
|
709
|
+
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
637
710
|
backup_schedules=pulumi.get(__ret__, 'backup_schedules'),
|
638
711
|
category=pulumi.get(__ret__, 'category'),
|
639
712
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
@@ -642,11 +715,13 @@ def get_deployment(deployment_id: Optional[builtins.str] = None,
|
|
642
715
|
deployment_backup_id=pulumi.get(__ret__, 'deployment_backup_id'),
|
643
716
|
deployment_diagnostic_datas=pulumi.get(__ret__, 'deployment_diagnostic_datas'),
|
644
717
|
deployment_id=pulumi.get(__ret__, 'deployment_id'),
|
718
|
+
deployment_role=pulumi.get(__ret__, 'deployment_role'),
|
645
719
|
deployment_type=pulumi.get(__ret__, 'deployment_type'),
|
646
720
|
deployment_url=pulumi.get(__ret__, 'deployment_url'),
|
647
721
|
description=pulumi.get(__ret__, 'description'),
|
648
722
|
display_name=pulumi.get(__ret__, 'display_name'),
|
649
723
|
environment_type=pulumi.get(__ret__, 'environment_type'),
|
724
|
+
fault_domain=pulumi.get(__ret__, 'fault_domain'),
|
650
725
|
fqdn=pulumi.get(__ret__, 'fqdn'),
|
651
726
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
652
727
|
id=pulumi.get(__ret__, 'id'),
|
@@ -669,8 +744,10 @@ def get_deployment(deployment_id: Optional[builtins.str] = None,
|
|
669
744
|
next_maintenance_description=pulumi.get(__ret__, 'next_maintenance_description'),
|
670
745
|
nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
|
671
746
|
ogg_datas=pulumi.get(__ret__, 'ogg_datas'),
|
747
|
+
placements=pulumi.get(__ret__, 'placements'),
|
672
748
|
private_ip_address=pulumi.get(__ret__, 'private_ip_address'),
|
673
749
|
public_ip_address=pulumi.get(__ret__, 'public_ip_address'),
|
750
|
+
source_deployment_id=pulumi.get(__ret__, 'source_deployment_id'),
|
674
751
|
state=pulumi.get(__ret__, 'state'),
|
675
752
|
storage_utilization_in_bytes=pulumi.get(__ret__, 'storage_utilization_in_bytes'),
|
676
753
|
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
@@ -680,6 +757,7 @@ def get_deployment(deployment_id: Optional[builtins.str] = None,
|
|
680
757
|
time_next_backup_scheduled=pulumi.get(__ret__, 'time_next_backup_scheduled'),
|
681
758
|
time_of_next_maintenance=pulumi.get(__ret__, 'time_of_next_maintenance'),
|
682
759
|
time_ogg_version_supported_until=pulumi.get(__ret__, 'time_ogg_version_supported_until'),
|
760
|
+
time_role_changed=pulumi.get(__ret__, 'time_role_changed'),
|
683
761
|
time_updated=pulumi.get(__ret__, 'time_updated'),
|
684
762
|
time_upgrade_required=pulumi.get(__ret__, 'time_upgrade_required'))
|
685
763
|
def get_deployment_output(deployment_id: Optional[pulumi.Input[builtins.str]] = None,
|
@@ -706,6 +784,7 @@ def get_deployment_output(deployment_id: Optional[pulumi.Input[builtins.str]] =
|
|
706
784
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
707
785
|
__ret__ = pulumi.runtime.invoke_output('oci:GoldenGate/getDeployment:getDeployment', __args__, opts=opts, typ=GetDeploymentResult)
|
708
786
|
return __ret__.apply(lambda __response__: GetDeploymentResult(
|
787
|
+
availability_domain=pulumi.get(__response__, 'availability_domain'),
|
709
788
|
backup_schedules=pulumi.get(__response__, 'backup_schedules'),
|
710
789
|
category=pulumi.get(__response__, 'category'),
|
711
790
|
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
@@ -714,11 +793,13 @@ def get_deployment_output(deployment_id: Optional[pulumi.Input[builtins.str]] =
|
|
714
793
|
deployment_backup_id=pulumi.get(__response__, 'deployment_backup_id'),
|
715
794
|
deployment_diagnostic_datas=pulumi.get(__response__, 'deployment_diagnostic_datas'),
|
716
795
|
deployment_id=pulumi.get(__response__, 'deployment_id'),
|
796
|
+
deployment_role=pulumi.get(__response__, 'deployment_role'),
|
717
797
|
deployment_type=pulumi.get(__response__, 'deployment_type'),
|
718
798
|
deployment_url=pulumi.get(__response__, 'deployment_url'),
|
719
799
|
description=pulumi.get(__response__, 'description'),
|
720
800
|
display_name=pulumi.get(__response__, 'display_name'),
|
721
801
|
environment_type=pulumi.get(__response__, 'environment_type'),
|
802
|
+
fault_domain=pulumi.get(__response__, 'fault_domain'),
|
722
803
|
fqdn=pulumi.get(__response__, 'fqdn'),
|
723
804
|
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
724
805
|
id=pulumi.get(__response__, 'id'),
|
@@ -741,8 +822,10 @@ def get_deployment_output(deployment_id: Optional[pulumi.Input[builtins.str]] =
|
|
741
822
|
next_maintenance_description=pulumi.get(__response__, 'next_maintenance_description'),
|
742
823
|
nsg_ids=pulumi.get(__response__, 'nsg_ids'),
|
743
824
|
ogg_datas=pulumi.get(__response__, 'ogg_datas'),
|
825
|
+
placements=pulumi.get(__response__, 'placements'),
|
744
826
|
private_ip_address=pulumi.get(__response__, 'private_ip_address'),
|
745
827
|
public_ip_address=pulumi.get(__response__, 'public_ip_address'),
|
828
|
+
source_deployment_id=pulumi.get(__response__, 'source_deployment_id'),
|
746
829
|
state=pulumi.get(__response__, 'state'),
|
747
830
|
storage_utilization_in_bytes=pulumi.get(__response__, 'storage_utilization_in_bytes'),
|
748
831
|
subnet_id=pulumi.get(__response__, 'subnet_id'),
|
@@ -752,5 +835,6 @@ def get_deployment_output(deployment_id: Optional[pulumi.Input[builtins.str]] =
|
|
752
835
|
time_next_backup_scheduled=pulumi.get(__response__, 'time_next_backup_scheduled'),
|
753
836
|
time_of_next_maintenance=pulumi.get(__response__, 'time_of_next_maintenance'),
|
754
837
|
time_ogg_version_supported_until=pulumi.get(__response__, 'time_ogg_version_supported_until'),
|
838
|
+
time_role_changed=pulumi.get(__response__, 'time_role_changed'),
|
755
839
|
time_updated=pulumi.get(__response__, 'time_updated'),
|
756
840
|
time_upgrade_required=pulumi.get(__response__, 'time_upgrade_required')))
|
@@ -0,0 +1,192 @@
|
|
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 builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'GetDeploymentPeersResult',
|
22
|
+
'AwaitableGetDeploymentPeersResult',
|
23
|
+
'get_deployment_peers',
|
24
|
+
'get_deployment_peers_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetDeploymentPeersResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getDeploymentPeers.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, deployment_id=None, deployment_peer_collections=None, display_name=None, filters=None, id=None, state=None):
|
33
|
+
if deployment_id and not isinstance(deployment_id, str):
|
34
|
+
raise TypeError("Expected argument 'deployment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "deployment_id", deployment_id)
|
36
|
+
if deployment_peer_collections and not isinstance(deployment_peer_collections, list):
|
37
|
+
raise TypeError("Expected argument 'deployment_peer_collections' to be a list")
|
38
|
+
pulumi.set(__self__, "deployment_peer_collections", deployment_peer_collections)
|
39
|
+
if display_name and not isinstance(display_name, str):
|
40
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
41
|
+
pulumi.set(__self__, "display_name", display_name)
|
42
|
+
if filters and not isinstance(filters, list):
|
43
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
44
|
+
pulumi.set(__self__, "filters", filters)
|
45
|
+
if id and not isinstance(id, str):
|
46
|
+
raise TypeError("Expected argument 'id' to be a str")
|
47
|
+
pulumi.set(__self__, "id", id)
|
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(name="deploymentId")
|
54
|
+
def deployment_id(self) -> builtins.str:
|
55
|
+
"""
|
56
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced.
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "deployment_id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="deploymentPeerCollections")
|
62
|
+
def deployment_peer_collections(self) -> Sequence['outputs.GetDeploymentPeersDeploymentPeerCollectionResult']:
|
63
|
+
"""
|
64
|
+
The list of deployment_peer_collection.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "deployment_peer_collections")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="displayName")
|
70
|
+
def display_name(self) -> Optional[builtins.str]:
|
71
|
+
"""
|
72
|
+
An object's Display Name.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "display_name")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def filters(self) -> Optional[Sequence['outputs.GetDeploymentPeersFilterResult']]:
|
79
|
+
return pulumi.get(self, "filters")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def id(self) -> builtins.str:
|
84
|
+
"""
|
85
|
+
The provider-assigned unique ID for this managed resource.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "id")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def state(self) -> Optional[builtins.str]:
|
92
|
+
"""
|
93
|
+
Possible lifecycle states for deployment peer.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "state")
|
96
|
+
|
97
|
+
|
98
|
+
class AwaitableGetDeploymentPeersResult(GetDeploymentPeersResult):
|
99
|
+
# pylint: disable=using-constant-test
|
100
|
+
def __await__(self):
|
101
|
+
if False:
|
102
|
+
yield self
|
103
|
+
return GetDeploymentPeersResult(
|
104
|
+
deployment_id=self.deployment_id,
|
105
|
+
deployment_peer_collections=self.deployment_peer_collections,
|
106
|
+
display_name=self.display_name,
|
107
|
+
filters=self.filters,
|
108
|
+
id=self.id,
|
109
|
+
state=self.state)
|
110
|
+
|
111
|
+
|
112
|
+
def get_deployment_peers(deployment_id: Optional[builtins.str] = None,
|
113
|
+
display_name: Optional[builtins.str] = None,
|
114
|
+
filters: Optional[Sequence[Union['GetDeploymentPeersFilterArgs', 'GetDeploymentPeersFilterArgsDict']]] = None,
|
115
|
+
state: Optional[builtins.str] = None,
|
116
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDeploymentPeersResult:
|
117
|
+
"""
|
118
|
+
This data source provides the list of Deployment Peers in Oracle Cloud Infrastructure Golden Gate service.
|
119
|
+
|
120
|
+
Lists the local and remote peers in a deployment.
|
121
|
+
|
122
|
+
## Example Usage
|
123
|
+
|
124
|
+
```python
|
125
|
+
import pulumi
|
126
|
+
import pulumi_oci as oci
|
127
|
+
|
128
|
+
test_deployment_peers = oci.GoldenGate.get_deployment_peers(deployment_id=test_deployment["id"],
|
129
|
+
display_name=deployment_peer_display_name,
|
130
|
+
state=deployment_peer_state)
|
131
|
+
```
|
132
|
+
|
133
|
+
|
134
|
+
:param builtins.str deployment_id: A unique Deployment identifier.
|
135
|
+
:param builtins.str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
136
|
+
:param builtins.str state: A filter to return only the resources that match the 'lifecycleState' given.
|
137
|
+
"""
|
138
|
+
__args__ = dict()
|
139
|
+
__args__['deploymentId'] = deployment_id
|
140
|
+
__args__['displayName'] = display_name
|
141
|
+
__args__['filters'] = filters
|
142
|
+
__args__['state'] = state
|
143
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
144
|
+
__ret__ = pulumi.runtime.invoke('oci:GoldenGate/getDeploymentPeers:getDeploymentPeers', __args__, opts=opts, typ=GetDeploymentPeersResult).value
|
145
|
+
|
146
|
+
return AwaitableGetDeploymentPeersResult(
|
147
|
+
deployment_id=pulumi.get(__ret__, 'deployment_id'),
|
148
|
+
deployment_peer_collections=pulumi.get(__ret__, 'deployment_peer_collections'),
|
149
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
150
|
+
filters=pulumi.get(__ret__, 'filters'),
|
151
|
+
id=pulumi.get(__ret__, 'id'),
|
152
|
+
state=pulumi.get(__ret__, 'state'))
|
153
|
+
def get_deployment_peers_output(deployment_id: Optional[pulumi.Input[builtins.str]] = None,
|
154
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
155
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDeploymentPeersFilterArgs', 'GetDeploymentPeersFilterArgsDict']]]]] = None,
|
156
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
157
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDeploymentPeersResult]:
|
158
|
+
"""
|
159
|
+
This data source provides the list of Deployment Peers in Oracle Cloud Infrastructure Golden Gate service.
|
160
|
+
|
161
|
+
Lists the local and remote peers in a deployment.
|
162
|
+
|
163
|
+
## Example Usage
|
164
|
+
|
165
|
+
```python
|
166
|
+
import pulumi
|
167
|
+
import pulumi_oci as oci
|
168
|
+
|
169
|
+
test_deployment_peers = oci.GoldenGate.get_deployment_peers(deployment_id=test_deployment["id"],
|
170
|
+
display_name=deployment_peer_display_name,
|
171
|
+
state=deployment_peer_state)
|
172
|
+
```
|
173
|
+
|
174
|
+
|
175
|
+
:param builtins.str deployment_id: A unique Deployment identifier.
|
176
|
+
:param builtins.str display_name: A filter to return only the resources that match the entire 'displayName' given.
|
177
|
+
:param builtins.str state: A filter to return only the resources that match the 'lifecycleState' given.
|
178
|
+
"""
|
179
|
+
__args__ = dict()
|
180
|
+
__args__['deploymentId'] = deployment_id
|
181
|
+
__args__['displayName'] = display_name
|
182
|
+
__args__['filters'] = filters
|
183
|
+
__args__['state'] = state
|
184
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
185
|
+
__ret__ = pulumi.runtime.invoke_output('oci:GoldenGate/getDeploymentPeers:getDeploymentPeers', __args__, opts=opts, typ=GetDeploymentPeersResult)
|
186
|
+
return __ret__.apply(lambda __response__: GetDeploymentPeersResult(
|
187
|
+
deployment_id=pulumi.get(__response__, 'deployment_id'),
|
188
|
+
deployment_peer_collections=pulumi.get(__response__, 'deployment_peer_collections'),
|
189
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
190
|
+
filters=pulumi.get(__response__, 'filters'),
|
191
|
+
id=pulumi.get(__response__, 'id'),
|
192
|
+
state=pulumi.get(__response__, 'state')))
|