pulumi-oci 2.32.0a1745304290__py3-none-any.whl → 2.32.0a1745468539__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.
@@ -28,7 +28,7 @@ class GetVolumeResult:
28
28
  """
29
29
  A collection of values returned by getVolume.
30
30
  """
31
- 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, xrc_kms_key_id=None):
31
+ 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, is_reservations_enabled=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, xrc_kms_key_id=None):
32
32
  if auto_tuned_vpus_per_gb and not isinstance(auto_tuned_vpus_per_gb, str):
33
33
  raise TypeError("Expected argument 'auto_tuned_vpus_per_gb' to be a str")
34
34
  pulumi.set(__self__, "auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb)
@@ -71,6 +71,9 @@ class GetVolumeResult:
71
71
  if is_hydrated and not isinstance(is_hydrated, bool):
72
72
  raise TypeError("Expected argument 'is_hydrated' to be a bool")
73
73
  pulumi.set(__self__, "is_hydrated", is_hydrated)
74
+ if is_reservations_enabled and not isinstance(is_reservations_enabled, bool):
75
+ raise TypeError("Expected argument 'is_reservations_enabled' to be a bool")
76
+ pulumi.set(__self__, "is_reservations_enabled", is_reservations_enabled)
74
77
  if kms_key_id and not isinstance(kms_key_id, str):
75
78
  raise TypeError("Expected argument 'kms_key_id' to be a str")
76
79
  pulumi.set(__self__, "kms_key_id", kms_key_id)
@@ -215,6 +218,14 @@ class GetVolumeResult:
215
218
  """
216
219
  return pulumi.get(self, "is_hydrated")
217
220
 
221
+ @property
222
+ @pulumi.getter(name="isReservationsEnabled")
223
+ def is_reservations_enabled(self) -> builtins.bool:
224
+ """
225
+ Reservations-enabled is a boolean field that allows to enable PR (Persistent Reservation) on a volume.
226
+ """
227
+ return pulumi.get(self, "is_reservations_enabled")
228
+
218
229
  @property
219
230
  @pulumi.getter(name="kmsKeyId")
220
231
  def kms_key_id(self) -> builtins.str:
@@ -324,6 +335,7 @@ class AwaitableGetVolumeResult(GetVolumeResult):
324
335
  id=self.id,
325
336
  is_auto_tune_enabled=self.is_auto_tune_enabled,
326
337
  is_hydrated=self.is_hydrated,
338
+ is_reservations_enabled=self.is_reservations_enabled,
327
339
  kms_key_id=self.kms_key_id,
328
340
  size_in_gbs=self.size_in_gbs,
329
341
  size_in_mbs=self.size_in_mbs,
@@ -377,6 +389,7 @@ def get_volume(volume_id: Optional[builtins.str] = None,
377
389
  id=pulumi.get(__ret__, 'id'),
378
390
  is_auto_tune_enabled=pulumi.get(__ret__, 'is_auto_tune_enabled'),
379
391
  is_hydrated=pulumi.get(__ret__, 'is_hydrated'),
392
+ is_reservations_enabled=pulumi.get(__ret__, 'is_reservations_enabled'),
380
393
  kms_key_id=pulumi.get(__ret__, 'kms_key_id'),
381
394
  size_in_gbs=pulumi.get(__ret__, 'size_in_gbs'),
382
395
  size_in_mbs=pulumi.get(__ret__, 'size_in_mbs'),
@@ -427,6 +440,7 @@ def get_volume_output(volume_id: Optional[pulumi.Input[builtins.str]] = None,
427
440
  id=pulumi.get(__response__, 'id'),
428
441
  is_auto_tune_enabled=pulumi.get(__response__, 'is_auto_tune_enabled'),
429
442
  is_hydrated=pulumi.get(__response__, 'is_hydrated'),
443
+ is_reservations_enabled=pulumi.get(__response__, 'is_reservations_enabled'),
430
444
  kms_key_id=pulumi.get(__response__, 'kms_key_id'),
431
445
  size_in_gbs=pulumi.get(__response__, 'size_in_gbs'),
432
446
  size_in_mbs=pulumi.get(__response__, 'size_in_mbs'),
@@ -148,7 +148,7 @@ class InstanceArgs:
148
148
  For more information about BIOS settings for bare metal instances, see [BIOS Settings for Bare Metal Instances](https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm).
149
149
  :param pulumi.Input['InstancePreemptibleInstanceConfigArgs'] preemptible_instance_config: Configuration options for preemptible instances.
150
150
  :param pulumi.Input[builtins.bool] preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
151
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
151
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
152
152
  :param pulumi.Input[builtins.str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
153
153
 
154
154
  You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
@@ -651,7 +651,7 @@ class InstanceArgs:
651
651
  @pulumi.getter(name="securityAttributes")
652
652
  def security_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
653
653
  """
654
- (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
654
+ (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
655
655
  """
656
656
  return pulumi.get(self, "security_attributes")
657
657
 
@@ -888,7 +888,7 @@ class _InstanceState:
888
888
  :param pulumi.Input[builtins.str] private_ip: The private IP address of instance VNIC. To set the private IP address, use the `private_ip` argument in create_vnic_details.
889
889
  :param pulumi.Input[builtins.str] public_ip: The public IP address of instance VNIC (if enabled).
890
890
  :param pulumi.Input[builtins.str] region: The region that contains the availability domain the instance is running in.
891
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
891
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
892
892
  :param pulumi.Input[builtins.str] security_attributes_state: The lifecycle state of the `securityAttributes`
893
893
  :param pulumi.Input[builtins.str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
894
894
 
@@ -1493,7 +1493,7 @@ class _InstanceState:
1493
1493
  @pulumi.getter(name="securityAttributes")
1494
1494
  def security_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
1495
1495
  """
1496
- (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
1496
+ (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
1497
1497
  """
1498
1498
  return pulumi.get(self, "security_attributes")
1499
1499
 
@@ -1822,7 +1822,7 @@ class Instance(pulumi.CustomResource):
1822
1822
  For more information about BIOS settings for bare metal instances, see [BIOS Settings for Bare Metal Instances](https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm).
1823
1823
  :param pulumi.Input[Union['InstancePreemptibleInstanceConfigArgs', 'InstancePreemptibleInstanceConfigArgsDict']] preemptible_instance_config: Configuration options for preemptible instances.
1824
1824
  :param pulumi.Input[builtins.bool] preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
1825
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
1825
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
1826
1826
  :param pulumi.Input[builtins.str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
1827
1827
 
1828
1828
  You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
@@ -2176,7 +2176,7 @@ class Instance(pulumi.CustomResource):
2176
2176
  :param pulumi.Input[builtins.str] private_ip: The private IP address of instance VNIC. To set the private IP address, use the `private_ip` argument in create_vnic_details.
2177
2177
  :param pulumi.Input[builtins.str] public_ip: The public IP address of instance VNIC (if enabled).
2178
2178
  :param pulumi.Input[builtins.str] region: The region that contains the availability domain the instance is running in.
2179
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
2179
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
2180
2180
  :param pulumi.Input[builtins.str] security_attributes_state: The lifecycle state of the `securityAttributes`
2181
2181
  :param pulumi.Input[builtins.str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
2182
2182
 
@@ -2591,7 +2591,7 @@ class Instance(pulumi.CustomResource):
2591
2591
  @pulumi.getter(name="securityAttributes")
2592
2592
  def security_attributes(self) -> pulumi.Output[Mapping[str, builtins.str]]:
2593
2593
  """
2594
- (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
2594
+ (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR.MaxEgressCount.value": "42", "Oracle-DataSecurity-ZPR.MaxEgressCount.mode": "audit"}`
2595
2595
  """
2596
2596
  return pulumi.get(self, "security_attributes")
2597
2597