pulumi-oci 1.33.0a1713903118__py3-none-any.whl → 1.33.0a1714072500__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 +11 -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/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/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/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-1.33.0a1713903118.dist-info → pulumi_oci-1.33.0a1714072500.dist-info}/METADATA +1 -1
- {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.33.0a1714072500.dist-info}/RECORD +39 -33
- {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.33.0a1714072500.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.33.0a1713903118.dist-info → pulumi_oci-1.33.0a1714072500.dist-info}/top_level.txt +0 -0
pulumi_oci/core/boot_volume.py
CHANGED
@@ -23,6 +23,7 @@ class BootVolumeArgs:
|
|
23
23
|
backup_policy_id: Optional[pulumi.Input[str]] = None,
|
24
24
|
boot_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['BootVolumeBootVolumeReplicaArgs']]]] = None,
|
25
25
|
boot_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
26
|
+
cluster_placement_group_id: Optional[pulumi.Input[str]] = None,
|
26
27
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
27
28
|
display_name: Optional[pulumi.Input[str]] = None,
|
28
29
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
@@ -37,6 +38,7 @@ class BootVolumeArgs:
|
|
37
38
|
:param pulumi.Input[Sequence[pulumi.Input['BootVolumeAutotunePolicyArgs']]] autotune_policies: (Updatable) The list of autotune policies to be enabled for this volume.
|
38
39
|
:param pulumi.Input[str] backup_policy_id: If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the `core_get_volume_backup_policy_assignments` instead to assign a backup policy to a boot volume.
|
39
40
|
:param pulumi.Input[Sequence[pulumi.Input['BootVolumeBootVolumeReplicaArgs']]] boot_volume_replicas: (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
|
41
|
+
:param pulumi.Input[str] cluster_placement_group_id: The clusterPlacementGroup Id of the volume for volume placement.
|
40
42
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
41
43
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
42
44
|
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
@@ -61,6 +63,8 @@ class BootVolumeArgs:
|
|
61
63
|
pulumi.set(__self__, "boot_volume_replicas", boot_volume_replicas)
|
62
64
|
if boot_volume_replicas_deletion is not None:
|
63
65
|
pulumi.set(__self__, "boot_volume_replicas_deletion", boot_volume_replicas_deletion)
|
66
|
+
if cluster_placement_group_id is not None:
|
67
|
+
pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id)
|
64
68
|
if defined_tags is not None:
|
65
69
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
66
70
|
if display_name is not None:
|
@@ -157,6 +161,18 @@ class BootVolumeArgs:
|
|
157
161
|
def boot_volume_replicas_deletion(self, value: Optional[pulumi.Input[bool]]):
|
158
162
|
pulumi.set(self, "boot_volume_replicas_deletion", value)
|
159
163
|
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
166
|
+
def cluster_placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
167
|
+
"""
|
168
|
+
The clusterPlacementGroup Id of the volume for volume placement.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
171
|
+
|
172
|
+
@cluster_placement_group_id.setter
|
173
|
+
def cluster_placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
174
|
+
pulumi.set(self, "cluster_placement_group_id", value)
|
175
|
+
|
160
176
|
@property
|
161
177
|
@pulumi.getter(name="definedTags")
|
162
178
|
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
@@ -253,6 +269,7 @@ class _BootVolumeState:
|
|
253
269
|
backup_policy_id: Optional[pulumi.Input[str]] = None,
|
254
270
|
boot_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['BootVolumeBootVolumeReplicaArgs']]]] = None,
|
255
271
|
boot_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
272
|
+
cluster_placement_group_id: Optional[pulumi.Input[str]] = None,
|
256
273
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
257
274
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
258
275
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -276,6 +293,7 @@ class _BootVolumeState:
|
|
276
293
|
:param pulumi.Input[str] availability_domain: (Updatable) The availability domain of the boot volume replica. Example: `Uocm:PHX-AD-1`
|
277
294
|
:param pulumi.Input[str] backup_policy_id: If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the `core_get_volume_backup_policy_assignments` instead to assign a backup policy to a boot volume.
|
278
295
|
:param pulumi.Input[Sequence[pulumi.Input['BootVolumeBootVolumeReplicaArgs']]] boot_volume_replicas: (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
|
296
|
+
:param pulumi.Input[str] cluster_placement_group_id: The clusterPlacementGroup Id of the volume for volume placement.
|
279
297
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the boot volume.
|
280
298
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
281
299
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
@@ -309,6 +327,8 @@ class _BootVolumeState:
|
|
309
327
|
pulumi.set(__self__, "boot_volume_replicas", boot_volume_replicas)
|
310
328
|
if boot_volume_replicas_deletion is not None:
|
311
329
|
pulumi.set(__self__, "boot_volume_replicas_deletion", boot_volume_replicas_deletion)
|
330
|
+
if cluster_placement_group_id is not None:
|
331
|
+
pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id)
|
312
332
|
if compartment_id is not None:
|
313
333
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
314
334
|
if defined_tags is not None:
|
@@ -414,6 +434,18 @@ class _BootVolumeState:
|
|
414
434
|
def boot_volume_replicas_deletion(self, value: Optional[pulumi.Input[bool]]):
|
415
435
|
pulumi.set(self, "boot_volume_replicas_deletion", value)
|
416
436
|
|
437
|
+
@property
|
438
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
439
|
+
def cluster_placement_group_id(self) -> Optional[pulumi.Input[str]]:
|
440
|
+
"""
|
441
|
+
The clusterPlacementGroup Id of the volume for volume placement.
|
442
|
+
"""
|
443
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
444
|
+
|
445
|
+
@cluster_placement_group_id.setter
|
446
|
+
def cluster_placement_group_id(self, value: Optional[pulumi.Input[str]]):
|
447
|
+
pulumi.set(self, "cluster_placement_group_id", value)
|
448
|
+
|
417
449
|
@property
|
418
450
|
@pulumi.getter(name="compartmentId")
|
419
451
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -616,6 +648,7 @@ class BootVolume(pulumi.CustomResource):
|
|
616
648
|
backup_policy_id: Optional[pulumi.Input[str]] = None,
|
617
649
|
boot_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BootVolumeBootVolumeReplicaArgs']]]]] = None,
|
618
650
|
boot_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
651
|
+
cluster_placement_group_id: Optional[pulumi.Input[str]] = None,
|
619
652
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
620
653
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
621
654
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -656,6 +689,7 @@ class BootVolume(pulumi.CustomResource):
|
|
656
689
|
availability_domain=boot_volume_boot_volume_replicas_availability_domain,
|
657
690
|
display_name=boot_volume_boot_volume_replicas_display_name,
|
658
691
|
)],
|
692
|
+
cluster_placement_group_id=test_group["id"],
|
659
693
|
defined_tags={
|
660
694
|
"Operations.CostCenter": "42",
|
661
695
|
},
|
@@ -684,6 +718,7 @@ class BootVolume(pulumi.CustomResource):
|
|
684
718
|
:param pulumi.Input[str] availability_domain: (Updatable) The availability domain of the boot volume replica. Example: `Uocm:PHX-AD-1`
|
685
719
|
:param pulumi.Input[str] backup_policy_id: If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the `core_get_volume_backup_policy_assignments` instead to assign a backup policy to a boot volume.
|
686
720
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BootVolumeBootVolumeReplicaArgs']]]] boot_volume_replicas: (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
|
721
|
+
:param pulumi.Input[str] cluster_placement_group_id: The clusterPlacementGroup Id of the volume for volume placement.
|
687
722
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the boot volume.
|
688
723
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
689
724
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
@@ -731,6 +766,7 @@ class BootVolume(pulumi.CustomResource):
|
|
731
766
|
availability_domain=boot_volume_boot_volume_replicas_availability_domain,
|
732
767
|
display_name=boot_volume_boot_volume_replicas_display_name,
|
733
768
|
)],
|
769
|
+
cluster_placement_group_id=test_group["id"],
|
734
770
|
defined_tags={
|
735
771
|
"Operations.CostCenter": "42",
|
736
772
|
},
|
@@ -773,6 +809,7 @@ class BootVolume(pulumi.CustomResource):
|
|
773
809
|
backup_policy_id: Optional[pulumi.Input[str]] = None,
|
774
810
|
boot_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BootVolumeBootVolumeReplicaArgs']]]]] = None,
|
775
811
|
boot_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
812
|
+
cluster_placement_group_id: Optional[pulumi.Input[str]] = None,
|
776
813
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
777
814
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
778
815
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -798,6 +835,7 @@ class BootVolume(pulumi.CustomResource):
|
|
798
835
|
__props__.__dict__["backup_policy_id"] = backup_policy_id
|
799
836
|
__props__.__dict__["boot_volume_replicas"] = boot_volume_replicas
|
800
837
|
__props__.__dict__["boot_volume_replicas_deletion"] = boot_volume_replicas_deletion
|
838
|
+
__props__.__dict__["cluster_placement_group_id"] = cluster_placement_group_id
|
801
839
|
if compartment_id is None and not opts.urn:
|
802
840
|
raise TypeError("Missing required property 'compartment_id'")
|
803
841
|
__props__.__dict__["compartment_id"] = compartment_id
|
@@ -835,6 +873,7 @@ class BootVolume(pulumi.CustomResource):
|
|
835
873
|
backup_policy_id: Optional[pulumi.Input[str]] = None,
|
836
874
|
boot_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BootVolumeBootVolumeReplicaArgs']]]]] = None,
|
837
875
|
boot_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
876
|
+
cluster_placement_group_id: Optional[pulumi.Input[str]] = None,
|
838
877
|
compartment_id: Optional[pulumi.Input[str]] = None,
|
839
878
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
840
879
|
display_name: Optional[pulumi.Input[str]] = None,
|
@@ -863,6 +902,7 @@ class BootVolume(pulumi.CustomResource):
|
|
863
902
|
:param pulumi.Input[str] availability_domain: (Updatable) The availability domain of the boot volume replica. Example: `Uocm:PHX-AD-1`
|
864
903
|
:param pulumi.Input[str] backup_policy_id: If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned. This field is deprecated. Use the `core_get_volume_backup_policy_assignments` instead to assign a backup policy to a boot volume.
|
865
904
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['BootVolumeBootVolumeReplicaArgs']]]] boot_volume_replicas: (Updatable) The list of boot volume replicas to be enabled for this boot volume in the specified destination availability domains.
|
905
|
+
:param pulumi.Input[str] cluster_placement_group_id: The clusterPlacementGroup Id of the volume for volume placement.
|
866
906
|
:param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the boot volume.
|
867
907
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
868
908
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
@@ -891,6 +931,7 @@ class BootVolume(pulumi.CustomResource):
|
|
891
931
|
__props__.__dict__["backup_policy_id"] = backup_policy_id
|
892
932
|
__props__.__dict__["boot_volume_replicas"] = boot_volume_replicas
|
893
933
|
__props__.__dict__["boot_volume_replicas_deletion"] = boot_volume_replicas_deletion
|
934
|
+
__props__.__dict__["cluster_placement_group_id"] = cluster_placement_group_id
|
894
935
|
__props__.__dict__["compartment_id"] = compartment_id
|
895
936
|
__props__.__dict__["defined_tags"] = defined_tags
|
896
937
|
__props__.__dict__["display_name"] = display_name
|
@@ -957,6 +998,14 @@ class BootVolume(pulumi.CustomResource):
|
|
957
998
|
def boot_volume_replicas_deletion(self) -> pulumi.Output[Optional[bool]]:
|
958
999
|
return pulumi.get(self, "boot_volume_replicas_deletion")
|
959
1000
|
|
1001
|
+
@property
|
1002
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
1003
|
+
def cluster_placement_group_id(self) -> pulumi.Output[str]:
|
1004
|
+
"""
|
1005
|
+
The clusterPlacementGroup Id of the volume for volume placement.
|
1006
|
+
"""
|
1007
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
1008
|
+
|
960
1009
|
@property
|
961
1010
|
@pulumi.getter(name="compartmentId")
|
962
1011
|
def compartment_id(self) -> pulumi.Output[str]:
|
@@ -399,6 +399,7 @@ class ComputeCapacityReservation(pulumi.CustomResource):
|
|
399
399
|
hpc_island_id=test_hpc_island["id"],
|
400
400
|
network_block_ids=compute_capacity_reservation_instance_reservation_configs_cluster_config_network_block_ids,
|
401
401
|
),
|
402
|
+
cluster_placement_group_id=test_group["id"],
|
402
403
|
fault_domain=compute_capacity_reservation_instance_reservation_configs_fault_domain,
|
403
404
|
instance_shape_config=oci.core.ComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigArgs(
|
404
405
|
memory_in_gbs=compute_capacity_reservation_instance_reservation_configs_instance_shape_config_memory_in_gbs,
|
@@ -470,6 +471,7 @@ class ComputeCapacityReservation(pulumi.CustomResource):
|
|
470
471
|
hpc_island_id=test_hpc_island["id"],
|
471
472
|
network_block_ids=compute_capacity_reservation_instance_reservation_configs_cluster_config_network_block_ids,
|
472
473
|
),
|
474
|
+
cluster_placement_group_id=test_group["id"],
|
473
475
|
fault_domain=compute_capacity_reservation_instance_reservation_configs_fault_domain,
|
474
476
|
instance_shape_config=oci.core.ComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigArgs(
|
475
477
|
memory_in_gbs=compute_capacity_reservation_instance_reservation_configs_instance_shape_config_memory_in_gbs,
|
@@ -254,8 +254,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
254
254
|
[LaunchInstance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) operation to create instances in the compute cluster.
|
255
255
|
The instances must be created in the same compartment and availability domain as the cluster.
|
256
256
|
|
257
|
-
Use compute clusters when you want to manage instances in the cluster individually
|
258
|
-
to use different types of instances in the RDMA network group.
|
257
|
+
Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.
|
259
258
|
|
260
259
|
If you want predictable capacity for a specific number of identical instances that are managed as a group,
|
261
260
|
create a cluster network that uses instance pools by using the
|
@@ -315,8 +314,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
315
314
|
[LaunchInstance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance/LaunchInstance) operation to create instances in the compute cluster.
|
316
315
|
The instances must be created in the same compartment and availability domain as the cluster.
|
317
316
|
|
318
|
-
Use compute clusters when you want to manage instances in the cluster individually
|
319
|
-
to use different types of instances in the RDMA network group.
|
317
|
+
Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.
|
320
318
|
|
321
319
|
If you want predictable capacity for a specific number of identical instances that are managed as a group,
|
322
320
|
create a cluster network that uses instance pools by using the
|
@@ -21,7 +21,7 @@ class DrgRouteDistributionArgs:
|
|
21
21
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
|
22
22
|
"""
|
23
23
|
The set of arguments for constructing a DrgRouteDistribution resource.
|
24
|
-
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG
|
24
|
+
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
|
25
25
|
:param pulumi.Input[str] drg_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
|
26
26
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
27
27
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
@@ -44,7 +44,7 @@ class DrgRouteDistributionArgs:
|
|
44
44
|
@pulumi.getter(name="distributionType")
|
45
45
|
def distribution_type(self) -> pulumi.Input[str]:
|
46
46
|
"""
|
47
|
-
Whether this distribution defines how routes get imported into route tables or exported through DRG
|
47
|
+
Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
|
48
48
|
"""
|
49
49
|
return pulumi.get(self, "distribution_type")
|
50
50
|
|
@@ -121,7 +121,7 @@ class _DrgRouteDistributionState:
|
|
121
121
|
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route distribution.
|
122
122
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
123
123
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
124
|
-
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG
|
124
|
+
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
|
125
125
|
:param pulumi.Input[str] drg_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
|
126
126
|
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
127
127
|
|
@@ -188,7 +188,7 @@ class _DrgRouteDistributionState:
|
|
188
188
|
@pulumi.getter(name="distributionType")
|
189
189
|
def distribution_type(self) -> Optional[pulumi.Input[str]]:
|
190
190
|
"""
|
191
|
-
Whether this distribution defines how routes get imported into route tables or exported through DRG
|
191
|
+
Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
|
192
192
|
"""
|
193
193
|
return pulumi.get(self, "distribution_type")
|
194
194
|
|
@@ -298,7 +298,7 @@ class DrgRouteDistribution(pulumi.CustomResource):
|
|
298
298
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
299
299
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
300
300
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
301
|
-
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG
|
301
|
+
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
|
302
302
|
:param pulumi.Input[str] drg_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
|
303
303
|
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
304
304
|
|
@@ -415,7 +415,7 @@ class DrgRouteDistribution(pulumi.CustomResource):
|
|
415
415
|
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route distribution.
|
416
416
|
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
417
417
|
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
418
|
-
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG
|
418
|
+
:param pulumi.Input[str] distribution_type: Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
|
419
419
|
:param pulumi.Input[str] drg_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to.
|
420
420
|
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
421
421
|
|
@@ -467,7 +467,7 @@ class DrgRouteDistribution(pulumi.CustomResource):
|
|
467
467
|
@pulumi.getter(name="distributionType")
|
468
468
|
def distribution_type(self) -> pulumi.Output[str]:
|
469
469
|
"""
|
470
|
-
Whether this distribution defines how routes get imported into route tables or exported through DRG
|
470
|
+
Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
|
471
471
|
"""
|
472
472
|
return pulumi.get(self, "distribution_type")
|
473
473
|
|
@@ -22,7 +22,7 @@ class GetBootVolumeResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getBootVolume.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, auto_tuned_vpus_per_gb=None, autotune_policies=None, availability_domain=None, backup_policy_id=None, boot_volume_id=None, boot_volume_replicas=None, boot_volume_replicas_deletion=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, image_id=None, is_auto_tune_enabled=None, is_hydrated=None, kms_key_id=None, size_in_gbs=None, size_in_mbs=None, source_details=None, state=None, system_tags=None, time_created=None, volume_group_id=None, vpus_per_gb=None):
|
25
|
+
def __init__(__self__, auto_tuned_vpus_per_gb=None, autotune_policies=None, availability_domain=None, backup_policy_id=None, boot_volume_id=None, boot_volume_replicas=None, boot_volume_replicas_deletion=None, cluster_placement_group_id=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, image_id=None, is_auto_tune_enabled=None, is_hydrated=None, kms_key_id=None, size_in_gbs=None, size_in_mbs=None, source_details=None, state=None, system_tags=None, time_created=None, volume_group_id=None, vpus_per_gb=None):
|
26
26
|
if auto_tuned_vpus_per_gb and not isinstance(auto_tuned_vpus_per_gb, str):
|
27
27
|
raise TypeError("Expected argument 'auto_tuned_vpus_per_gb' to be a str")
|
28
28
|
pulumi.set(__self__, "auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb)
|
@@ -44,6 +44,9 @@ class GetBootVolumeResult:
|
|
44
44
|
if boot_volume_replicas_deletion and not isinstance(boot_volume_replicas_deletion, bool):
|
45
45
|
raise TypeError("Expected argument 'boot_volume_replicas_deletion' to be a bool")
|
46
46
|
pulumi.set(__self__, "boot_volume_replicas_deletion", boot_volume_replicas_deletion)
|
47
|
+
if cluster_placement_group_id and not isinstance(cluster_placement_group_id, str):
|
48
|
+
raise TypeError("Expected argument 'cluster_placement_group_id' to be a str")
|
49
|
+
pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id)
|
47
50
|
if compartment_id and not isinstance(compartment_id, str):
|
48
51
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
49
52
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -146,6 +149,14 @@ class GetBootVolumeResult:
|
|
146
149
|
def boot_volume_replicas_deletion(self) -> bool:
|
147
150
|
return pulumi.get(self, "boot_volume_replicas_deletion")
|
148
151
|
|
152
|
+
@property
|
153
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
154
|
+
def cluster_placement_group_id(self) -> str:
|
155
|
+
"""
|
156
|
+
The clusterPlacementGroup Id of the volume for volume placement.
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
159
|
+
|
149
160
|
@property
|
150
161
|
@pulumi.getter(name="compartmentId")
|
151
162
|
def compartment_id(self) -> str:
|
@@ -293,6 +304,7 @@ class AwaitableGetBootVolumeResult(GetBootVolumeResult):
|
|
293
304
|
boot_volume_id=self.boot_volume_id,
|
294
305
|
boot_volume_replicas=self.boot_volume_replicas,
|
295
306
|
boot_volume_replicas_deletion=self.boot_volume_replicas_deletion,
|
307
|
+
cluster_placement_group_id=self.cluster_placement_group_id,
|
296
308
|
compartment_id=self.compartment_id,
|
297
309
|
defined_tags=self.defined_tags,
|
298
310
|
display_name=self.display_name,
|
@@ -344,6 +356,7 @@ def get_boot_volume(boot_volume_id: Optional[str] = None,
|
|
344
356
|
boot_volume_id=pulumi.get(__ret__, 'boot_volume_id'),
|
345
357
|
boot_volume_replicas=pulumi.get(__ret__, 'boot_volume_replicas'),
|
346
358
|
boot_volume_replicas_deletion=pulumi.get(__ret__, 'boot_volume_replicas_deletion'),
|
359
|
+
cluster_placement_group_id=pulumi.get(__ret__, 'cluster_placement_group_id'),
|
347
360
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
348
361
|
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
349
362
|
display_name=pulumi.get(__ret__, 'display_name'),
|
@@ -95,7 +95,7 @@ def get_cnv_dns_resolver_association(vcn_id: Optional[str] = None,
|
|
95
95
|
```
|
96
96
|
|
97
97
|
|
98
|
-
:param str vcn_id:
|
98
|
+
:param str vcn_id: Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
99
99
|
"""
|
100
100
|
__args__ = dict()
|
101
101
|
__args__['vcnId'] = vcn_id
|
@@ -127,6 +127,6 @@ def get_cnv_dns_resolver_association_output(vcn_id: Optional[pulumi.Input[str]]
|
|
127
127
|
```
|
128
128
|
|
129
129
|
|
130
|
-
:param str vcn_id:
|
130
|
+
:param str vcn_id: Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
131
131
|
"""
|
132
132
|
...
|
pulumi_oci/core/get_instance.py
CHANGED
@@ -22,7 +22,7 @@ class GetInstanceResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getInstance.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, agent_configs=None, async_=None, availability_configs=None, availability_domain=None, boot_volume_id=None, capacity_reservation_id=None, compartment_id=None, compute_cluster_id=None, create_vnic_details=None, dedicated_vm_host_id=None, defined_tags=None, display_name=None, extended_metadata=None, fault_domain=None, freeform_tags=None, hostname_label=None, id=None, image=None, instance_configuration_id=None, instance_id=None, instance_options=None, ipxe_script=None, is_cross_numa_node=None, is_pv_encryption_in_transit_enabled=None, launch_mode=None, launch_options=None, launch_volume_attachments=None, metadata=None, platform_configs=None, preemptible_instance_configs=None, preserve_boot_volume=None, preserve_data_volumes_created_at_launch=None, private_ip=None, public_ip=None, region=None, shape=None, shape_configs=None, source_details=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_maintenance_reboot_due=None, update_operation_constraint=None):
|
25
|
+
def __init__(__self__, agent_configs=None, async_=None, availability_configs=None, availability_domain=None, boot_volume_id=None, capacity_reservation_id=None, cluster_placement_group_id=None, compartment_id=None, compute_cluster_id=None, create_vnic_details=None, dedicated_vm_host_id=None, defined_tags=None, display_name=None, extended_metadata=None, fault_domain=None, freeform_tags=None, hostname_label=None, id=None, image=None, instance_configuration_id=None, instance_id=None, instance_options=None, ipxe_script=None, is_cross_numa_node=None, is_pv_encryption_in_transit_enabled=None, launch_mode=None, launch_options=None, launch_volume_attachments=None, metadata=None, platform_configs=None, preemptible_instance_configs=None, preserve_boot_volume=None, preserve_data_volumes_created_at_launch=None, private_ip=None, public_ip=None, region=None, shape=None, shape_configs=None, source_details=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_maintenance_reboot_due=None, update_operation_constraint=None):
|
26
26
|
if agent_configs and not isinstance(agent_configs, list):
|
27
27
|
raise TypeError("Expected argument 'agent_configs' to be a list")
|
28
28
|
pulumi.set(__self__, "agent_configs", agent_configs)
|
@@ -41,6 +41,9 @@ class GetInstanceResult:
|
|
41
41
|
if capacity_reservation_id and not isinstance(capacity_reservation_id, str):
|
42
42
|
raise TypeError("Expected argument 'capacity_reservation_id' to be a str")
|
43
43
|
pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id)
|
44
|
+
if cluster_placement_group_id and not isinstance(cluster_placement_group_id, str):
|
45
|
+
raise TypeError("Expected argument 'cluster_placement_group_id' to be a str")
|
46
|
+
pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id)
|
44
47
|
if compartment_id and not isinstance(compartment_id, str):
|
45
48
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
46
49
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -201,6 +204,14 @@ class GetInstanceResult:
|
|
201
204
|
"""
|
202
205
|
return pulumi.get(self, "capacity_reservation_id")
|
203
206
|
|
207
|
+
@property
|
208
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
209
|
+
def cluster_placement_group_id(self) -> str:
|
210
|
+
"""
|
211
|
+
The OCID of the cluster placement group of the instance.
|
212
|
+
"""
|
213
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
214
|
+
|
204
215
|
@property
|
205
216
|
@pulumi.getter(name="compartmentId")
|
206
217
|
def compartment_id(self) -> str:
|
@@ -503,6 +514,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
503
514
|
availability_domain=self.availability_domain,
|
504
515
|
boot_volume_id=self.boot_volume_id,
|
505
516
|
capacity_reservation_id=self.capacity_reservation_id,
|
517
|
+
cluster_placement_group_id=self.cluster_placement_group_id,
|
506
518
|
compartment_id=self.compartment_id,
|
507
519
|
compute_cluster_id=self.compute_cluster_id,
|
508
520
|
create_vnic_details=self.create_vnic_details,
|
@@ -577,6 +589,7 @@ def get_instance(instance_id: Optional[str] = None,
|
|
577
589
|
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
578
590
|
boot_volume_id=pulumi.get(__ret__, 'boot_volume_id'),
|
579
591
|
capacity_reservation_id=pulumi.get(__ret__, 'capacity_reservation_id'),
|
592
|
+
cluster_placement_group_id=pulumi.get(__ret__, 'cluster_placement_group_id'),
|
580
593
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
581
594
|
compute_cluster_id=pulumi.get(__ret__, 'compute_cluster_id'),
|
582
595
|
create_vnic_details=pulumi.get(__ret__, 'create_vnic_details'),
|
pulumi_oci/core/get_subnet.py
CHANGED
@@ -322,7 +322,7 @@ def get_subnet(subnet_id: Optional[str] = None,
|
|
322
322
|
```
|
323
323
|
|
324
324
|
|
325
|
-
:param str subnet_id:
|
325
|
+
:param str subnet_id: Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
|
326
326
|
"""
|
327
327
|
__args__ = dict()
|
328
328
|
__args__['subnetId'] = subnet_id
|
@@ -373,6 +373,6 @@ def get_subnet_output(subnet_id: Optional[pulumi.Input[str]] = None,
|
|
373
373
|
```
|
374
374
|
|
375
375
|
|
376
|
-
:param str subnet_id:
|
376
|
+
:param str subnet_id: Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet.
|
377
377
|
"""
|
378
378
|
...
|
pulumi_oci/core/get_vcn.py
CHANGED
@@ -290,7 +290,7 @@ def get_vcn(vcn_id: Optional[str] = None,
|
|
290
290
|
```
|
291
291
|
|
292
292
|
|
293
|
-
:param str vcn_id:
|
293
|
+
:param str vcn_id: Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
294
294
|
"""
|
295
295
|
__args__ = dict()
|
296
296
|
__args__['vcnId'] = vcn_id
|
@@ -339,6 +339,6 @@ def get_vcn_output(vcn_id: Optional[pulumi.Input[str]] = None,
|
|
339
339
|
```
|
340
340
|
|
341
341
|
|
342
|
-
:param str vcn_id:
|
342
|
+
:param str vcn_id: Specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN.
|
343
343
|
"""
|
344
344
|
...
|
pulumi_oci/core/get_volume.py
CHANGED
@@ -22,7 +22,7 @@ class GetVolumeResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getVolume.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, auto_tuned_vpus_per_gb=None, autotune_policies=None, availability_domain=None, backup_policy_id=None, block_volume_replicas=None, block_volume_replicas_deletion=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_auto_tune_enabled=None, is_hydrated=None, kms_key_id=None, size_in_gbs=None, size_in_mbs=None, source_details=None, state=None, system_tags=None, time_created=None, volume_backup_id=None, volume_group_id=None, volume_id=None, vpus_per_gb=None):
|
25
|
+
def __init__(__self__, auto_tuned_vpus_per_gb=None, autotune_policies=None, availability_domain=None, backup_policy_id=None, block_volume_replicas=None, block_volume_replicas_deletion=None, cluster_placement_group_id=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_auto_tune_enabled=None, is_hydrated=None, kms_key_id=None, size_in_gbs=None, size_in_mbs=None, source_details=None, state=None, system_tags=None, time_created=None, volume_backup_id=None, volume_group_id=None, volume_id=None, vpus_per_gb=None):
|
26
26
|
if auto_tuned_vpus_per_gb and not isinstance(auto_tuned_vpus_per_gb, str):
|
27
27
|
raise TypeError("Expected argument 'auto_tuned_vpus_per_gb' to be a str")
|
28
28
|
pulumi.set(__self__, "auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb)
|
@@ -41,6 +41,9 @@ class GetVolumeResult:
|
|
41
41
|
if block_volume_replicas_deletion and not isinstance(block_volume_replicas_deletion, bool):
|
42
42
|
raise TypeError("Expected argument 'block_volume_replicas_deletion' to be a bool")
|
43
43
|
pulumi.set(__self__, "block_volume_replicas_deletion", block_volume_replicas_deletion)
|
44
|
+
if cluster_placement_group_id and not isinstance(cluster_placement_group_id, str):
|
45
|
+
raise TypeError("Expected argument 'cluster_placement_group_id' to be a str")
|
46
|
+
pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id)
|
44
47
|
if compartment_id and not isinstance(compartment_id, str):
|
45
48
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
46
49
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -141,6 +144,14 @@ class GetVolumeResult:
|
|
141
144
|
def block_volume_replicas_deletion(self) -> bool:
|
142
145
|
return pulumi.get(self, "block_volume_replicas_deletion")
|
143
146
|
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
149
|
+
def cluster_placement_group_id(self) -> str:
|
150
|
+
"""
|
151
|
+
The clusterPlacementGroup Id of the volume for volume placement.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
154
|
+
|
144
155
|
@property
|
145
156
|
@pulumi.getter(name="compartmentId")
|
146
157
|
def compartment_id(self) -> str:
|
@@ -292,6 +303,7 @@ class AwaitableGetVolumeResult(GetVolumeResult):
|
|
292
303
|
backup_policy_id=self.backup_policy_id,
|
293
304
|
block_volume_replicas=self.block_volume_replicas,
|
294
305
|
block_volume_replicas_deletion=self.block_volume_replicas_deletion,
|
306
|
+
cluster_placement_group_id=self.cluster_placement_group_id,
|
295
307
|
compartment_id=self.compartment_id,
|
296
308
|
defined_tags=self.defined_tags,
|
297
309
|
display_name=self.display_name,
|
@@ -343,6 +355,7 @@ def get_volume(volume_id: Optional[str] = None,
|
|
343
355
|
backup_policy_id=pulumi.get(__ret__, 'backup_policy_id'),
|
344
356
|
block_volume_replicas=pulumi.get(__ret__, 'block_volume_replicas'),
|
345
357
|
block_volume_replicas_deletion=pulumi.get(__ret__, 'block_volume_replicas_deletion'),
|
358
|
+
cluster_placement_group_id=pulumi.get(__ret__, 'cluster_placement_group_id'),
|
346
359
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
347
360
|
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
348
361
|
display_name=pulumi.get(__ret__, 'display_name'),
|
pulumi_oci/core/get_volumes.py
CHANGED
@@ -23,10 +23,13 @@ class GetVolumesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getVolumes.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, availability_domain=None, compartment_id=None, display_name=None, filters=None, id=None, state=None, volume_group_id=None, volumes=None):
|
26
|
+
def __init__(__self__, availability_domain=None, cluster_placement_group_id=None, compartment_id=None, display_name=None, filters=None, id=None, state=None, volume_group_id=None, volumes=None):
|
27
27
|
if availability_domain and not isinstance(availability_domain, str):
|
28
28
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
29
29
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
30
|
+
if cluster_placement_group_id and not isinstance(cluster_placement_group_id, str):
|
31
|
+
raise TypeError("Expected argument 'cluster_placement_group_id' to be a str")
|
32
|
+
pulumi.set(__self__, "cluster_placement_group_id", cluster_placement_group_id)
|
30
33
|
if compartment_id and not isinstance(compartment_id, str):
|
31
34
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
35
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -57,6 +60,14 @@ class GetVolumesResult:
|
|
57
60
|
"""
|
58
61
|
return pulumi.get(self, "availability_domain")
|
59
62
|
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="clusterPlacementGroupId")
|
65
|
+
def cluster_placement_group_id(self) -> Optional[str]:
|
66
|
+
"""
|
67
|
+
The clusterPlacementGroup Id of the volume for volume placement.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "cluster_placement_group_id")
|
70
|
+
|
60
71
|
@property
|
61
72
|
@pulumi.getter(name="compartmentId")
|
62
73
|
def compartment_id(self) -> Optional[str]:
|
@@ -118,6 +129,7 @@ class AwaitableGetVolumesResult(GetVolumesResult):
|
|
118
129
|
yield self
|
119
130
|
return GetVolumesResult(
|
120
131
|
availability_domain=self.availability_domain,
|
132
|
+
cluster_placement_group_id=self.cluster_placement_group_id,
|
121
133
|
compartment_id=self.compartment_id,
|
122
134
|
display_name=self.display_name,
|
123
135
|
filters=self.filters,
|
@@ -128,6 +140,7 @@ class AwaitableGetVolumesResult(GetVolumesResult):
|
|
128
140
|
|
129
141
|
|
130
142
|
def get_volumes(availability_domain: Optional[str] = None,
|
143
|
+
cluster_placement_group_id: Optional[str] = None,
|
131
144
|
compartment_id: Optional[str] = None,
|
132
145
|
display_name: Optional[str] = None,
|
133
146
|
filters: Optional[Sequence[pulumi.InputType['GetVolumesFilterArgs']]] = None,
|
@@ -146,6 +159,7 @@ def get_volumes(availability_domain: Optional[str] = None,
|
|
146
159
|
import pulumi_oci as oci
|
147
160
|
|
148
161
|
test_volumes = oci.Core.get_volumes(availability_domain=volume_availability_domain,
|
162
|
+
cluster_placement_group_id=test_group["id"],
|
149
163
|
compartment_id=compartment_id,
|
150
164
|
display_name=volume_display_name,
|
151
165
|
state=volume_state,
|
@@ -154,6 +168,7 @@ def get_volumes(availability_domain: Optional[str] = None,
|
|
154
168
|
|
155
169
|
|
156
170
|
:param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1`
|
171
|
+
:param str cluster_placement_group_id: A filter to return only resources that match the given cluster placement group Id exactly.
|
157
172
|
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
158
173
|
:param str display_name: A filter to return only resources that match the given display name exactly.
|
159
174
|
:param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
@@ -161,6 +176,7 @@ def get_volumes(availability_domain: Optional[str] = None,
|
|
161
176
|
"""
|
162
177
|
__args__ = dict()
|
163
178
|
__args__['availabilityDomain'] = availability_domain
|
179
|
+
__args__['clusterPlacementGroupId'] = cluster_placement_group_id
|
164
180
|
__args__['compartmentId'] = compartment_id
|
165
181
|
__args__['displayName'] = display_name
|
166
182
|
__args__['filters'] = filters
|
@@ -171,6 +187,7 @@ def get_volumes(availability_domain: Optional[str] = None,
|
|
171
187
|
|
172
188
|
return AwaitableGetVolumesResult(
|
173
189
|
availability_domain=pulumi.get(__ret__, 'availability_domain'),
|
190
|
+
cluster_placement_group_id=pulumi.get(__ret__, 'cluster_placement_group_id'),
|
174
191
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
175
192
|
display_name=pulumi.get(__ret__, 'display_name'),
|
176
193
|
filters=pulumi.get(__ret__, 'filters'),
|
@@ -182,6 +199,7 @@ def get_volumes(availability_domain: Optional[str] = None,
|
|
182
199
|
|
183
200
|
@_utilities.lift_output_func(get_volumes)
|
184
201
|
def get_volumes_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None,
|
202
|
+
cluster_placement_group_id: Optional[pulumi.Input[Optional[str]]] = None,
|
185
203
|
compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
186
204
|
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
187
205
|
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetVolumesFilterArgs']]]]] = None,
|
@@ -200,6 +218,7 @@ def get_volumes_output(availability_domain: Optional[pulumi.Input[Optional[str]]
|
|
200
218
|
import pulumi_oci as oci
|
201
219
|
|
202
220
|
test_volumes = oci.Core.get_volumes(availability_domain=volume_availability_domain,
|
221
|
+
cluster_placement_group_id=test_group["id"],
|
203
222
|
compartment_id=compartment_id,
|
204
223
|
display_name=volume_display_name,
|
205
224
|
state=volume_state,
|
@@ -208,6 +227,7 @@ def get_volumes_output(availability_domain: Optional[pulumi.Input[Optional[str]]
|
|
208
227
|
|
209
228
|
|
210
229
|
:param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1`
|
230
|
+
:param str cluster_placement_group_id: A filter to return only resources that match the given cluster placement group Id exactly.
|
211
231
|
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
212
232
|
:param str display_name: A filter to return only resources that match the given display name exactly.
|
213
233
|
:param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|