pulumi-oci 2.29.0a1744212348__py3-none-any.whl → 2.30.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,9 @@ class PrivateIpArgs:
25
25
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
26
26
  hostname_label: Optional[pulumi.Input[builtins.str]] = None,
27
27
  ip_address: Optional[pulumi.Input[builtins.str]] = None,
28
+ lifetime: Optional[pulumi.Input[builtins.str]] = None,
28
29
  route_table_id: Optional[pulumi.Input[builtins.str]] = None,
30
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None,
29
31
  vlan_id: Optional[pulumi.Input[builtins.str]] = None,
30
32
  vnic_id: Optional[pulumi.Input[builtins.str]] = None):
31
33
  """
@@ -39,7 +41,11 @@ class PrivateIpArgs:
39
41
 
40
42
  Example: `bminstance1`
41
43
  :param pulumi.Input[builtins.str] ip_address: A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet. Example: `10.0.3.3`
42
- :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
44
+ :param pulumi.Input[builtins.str] lifetime: (Updatable) Lifetime of the IP address. There are two types of IPv6 IPs:
45
+ * Ephemeral
46
+ * Reserved
47
+ :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
48
+ :param pulumi.Input[builtins.str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.
43
49
  :param pulumi.Input[builtins.str] vlan_id: Use this attribute only with the Oracle Cloud VMware Solution.
44
50
 
45
51
  The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan).
@@ -59,8 +65,12 @@ class PrivateIpArgs:
59
65
  pulumi.set(__self__, "hostname_label", hostname_label)
60
66
  if ip_address is not None:
61
67
  pulumi.set(__self__, "ip_address", ip_address)
68
+ if lifetime is not None:
69
+ pulumi.set(__self__, "lifetime", lifetime)
62
70
  if route_table_id is not None:
63
71
  pulumi.set(__self__, "route_table_id", route_table_id)
72
+ if subnet_id is not None:
73
+ pulumi.set(__self__, "subnet_id", subnet_id)
64
74
  if vlan_id is not None:
65
75
  pulumi.set(__self__, "vlan_id", vlan_id)
66
76
  if vnic_id is not None:
@@ -130,11 +140,25 @@ class PrivateIpArgs:
130
140
  def ip_address(self, value: Optional[pulumi.Input[builtins.str]]):
131
141
  pulumi.set(self, "ip_address", value)
132
142
 
143
+ @property
144
+ @pulumi.getter
145
+ def lifetime(self) -> Optional[pulumi.Input[builtins.str]]:
146
+ """
147
+ (Updatable) Lifetime of the IP address. There are two types of IPv6 IPs:
148
+ * Ephemeral
149
+ * Reserved
150
+ """
151
+ return pulumi.get(self, "lifetime")
152
+
153
+ @lifetime.setter
154
+ def lifetime(self, value: Optional[pulumi.Input[builtins.str]]):
155
+ pulumi.set(self, "lifetime", value)
156
+
133
157
  @property
134
158
  @pulumi.getter(name="routeTableId")
135
159
  def route_table_id(self) -> Optional[pulumi.Input[builtins.str]]:
136
160
  """
137
- (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
161
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
138
162
  """
139
163
  return pulumi.get(self, "route_table_id")
140
164
 
@@ -142,6 +166,18 @@ class PrivateIpArgs:
142
166
  def route_table_id(self, value: Optional[pulumi.Input[builtins.str]]):
143
167
  pulumi.set(self, "route_table_id", value)
144
168
 
169
+ @property
170
+ @pulumi.getter(name="subnetId")
171
+ def subnet_id(self) -> Optional[pulumi.Input[builtins.str]]:
172
+ """
173
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.
174
+ """
175
+ return pulumi.get(self, "subnet_id")
176
+
177
+ @subnet_id.setter
178
+ def subnet_id(self, value: Optional[pulumi.Input[builtins.str]]):
179
+ pulumi.set(self, "subnet_id", value)
180
+
145
181
  @property
146
182
  @pulumi.getter(name="vlanId")
147
183
  def vlan_id(self) -> Optional[pulumi.Input[builtins.str]]:
@@ -183,8 +219,10 @@ class _PrivateIpState:
183
219
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
184
220
  hostname_label: Optional[pulumi.Input[builtins.str]] = None,
185
221
  ip_address: Optional[pulumi.Input[builtins.str]] = None,
222
+ ip_state: Optional[pulumi.Input[builtins.str]] = None,
186
223
  is_primary: Optional[pulumi.Input[builtins.bool]] = None,
187
224
  is_reserved: Optional[pulumi.Input[builtins.bool]] = None,
225
+ lifetime: Optional[pulumi.Input[builtins.str]] = None,
188
226
  route_table_id: Optional[pulumi.Input[builtins.str]] = None,
189
227
  subnet_id: Optional[pulumi.Input[builtins.str]] = None,
190
228
  time_created: Optional[pulumi.Input[builtins.str]] = None,
@@ -203,10 +241,13 @@ class _PrivateIpState:
203
241
 
204
242
  Example: `bminstance1`
205
243
  :param pulumi.Input[builtins.str] ip_address: A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet. Example: `10.0.3.3`
244
+ :param pulumi.Input[builtins.str] ip_state: State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
206
245
  :param pulumi.Input[builtins.bool] is_primary: Whether this private IP is the primary one on the VNIC. Primary private IPs are unassigned and deleted automatically when the VNIC is terminated. Example: `true`
207
- :param pulumi.Input[builtins.bool] is_reserved: true if the IP is reserved and can exist detached from vnic
208
- :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
209
- :param pulumi.Input[builtins.str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
246
+ :param pulumi.Input[builtins.str] lifetime: (Updatable) Lifetime of the IP address. There are two types of IPv6 IPs:
247
+ * Ephemeral
248
+ * Reserved
249
+ :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
250
+ :param pulumi.Input[builtins.str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.
210
251
  :param pulumi.Input[builtins.str] time_created: The date and time the private IP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
211
252
  :param pulumi.Input[builtins.str] vlan_id: Use this attribute only with the Oracle Cloud VMware Solution.
212
253
 
@@ -231,10 +272,14 @@ class _PrivateIpState:
231
272
  pulumi.set(__self__, "hostname_label", hostname_label)
232
273
  if ip_address is not None:
233
274
  pulumi.set(__self__, "ip_address", ip_address)
275
+ if ip_state is not None:
276
+ pulumi.set(__self__, "ip_state", ip_state)
234
277
  if is_primary is not None:
235
278
  pulumi.set(__self__, "is_primary", is_primary)
236
279
  if is_reserved is not None:
237
280
  pulumi.set(__self__, "is_reserved", is_reserved)
281
+ if lifetime is not None:
282
+ pulumi.set(__self__, "lifetime", lifetime)
238
283
  if route_table_id is not None:
239
284
  pulumi.set(__self__, "route_table_id", route_table_id)
240
285
  if subnet_id is not None:
@@ -334,6 +379,18 @@ class _PrivateIpState:
334
379
  def ip_address(self, value: Optional[pulumi.Input[builtins.str]]):
335
380
  pulumi.set(self, "ip_address", value)
336
381
 
382
+ @property
383
+ @pulumi.getter(name="ipState")
384
+ def ip_state(self) -> Optional[pulumi.Input[builtins.str]]:
385
+ """
386
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
387
+ """
388
+ return pulumi.get(self, "ip_state")
389
+
390
+ @ip_state.setter
391
+ def ip_state(self, value: Optional[pulumi.Input[builtins.str]]):
392
+ pulumi.set(self, "ip_state", value)
393
+
337
394
  @property
338
395
  @pulumi.getter(name="isPrimary")
339
396
  def is_primary(self) -> Optional[pulumi.Input[builtins.bool]]:
@@ -349,20 +406,31 @@ class _PrivateIpState:
349
406
  @property
350
407
  @pulumi.getter(name="isReserved")
351
408
  def is_reserved(self) -> Optional[pulumi.Input[builtins.bool]]:
352
- """
353
- true if the IP is reserved and can exist detached from vnic
354
- """
355
409
  return pulumi.get(self, "is_reserved")
356
410
 
357
411
  @is_reserved.setter
358
412
  def is_reserved(self, value: Optional[pulumi.Input[builtins.bool]]):
359
413
  pulumi.set(self, "is_reserved", value)
360
414
 
415
+ @property
416
+ @pulumi.getter
417
+ def lifetime(self) -> Optional[pulumi.Input[builtins.str]]:
418
+ """
419
+ (Updatable) Lifetime of the IP address. There are two types of IPv6 IPs:
420
+ * Ephemeral
421
+ * Reserved
422
+ """
423
+ return pulumi.get(self, "lifetime")
424
+
425
+ @lifetime.setter
426
+ def lifetime(self, value: Optional[pulumi.Input[builtins.str]]):
427
+ pulumi.set(self, "lifetime", value)
428
+
361
429
  @property
362
430
  @pulumi.getter(name="routeTableId")
363
431
  def route_table_id(self) -> Optional[pulumi.Input[builtins.str]]:
364
432
  """
365
- (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
433
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
366
434
  """
367
435
  return pulumi.get(self, "route_table_id")
368
436
 
@@ -374,7 +442,7 @@ class _PrivateIpState:
374
442
  @pulumi.getter(name="subnetId")
375
443
  def subnet_id(self) -> Optional[pulumi.Input[builtins.str]]:
376
444
  """
377
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
445
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.
378
446
  """
379
447
  return pulumi.get(self, "subnet_id")
380
448
 
@@ -435,7 +503,9 @@ class PrivateIp(pulumi.CustomResource):
435
503
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
436
504
  hostname_label: Optional[pulumi.Input[builtins.str]] = None,
437
505
  ip_address: Optional[pulumi.Input[builtins.str]] = None,
506
+ lifetime: Optional[pulumi.Input[builtins.str]] = None,
438
507
  route_table_id: Optional[pulumi.Input[builtins.str]] = None,
508
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None,
439
509
  vlan_id: Optional[pulumi.Input[builtins.str]] = None,
440
510
  vnic_id: Optional[pulumi.Input[builtins.str]] = None,
441
511
  __props__=None):
@@ -462,7 +532,9 @@ class PrivateIp(pulumi.CustomResource):
462
532
  },
463
533
  hostname_label=private_ip_hostname_label,
464
534
  ip_address=private_ip_ip_address,
535
+ lifetime=private_ip_lifetime,
465
536
  route_table_id=test_route_table["id"],
537
+ subnet_id=test_subnet["id"],
466
538
  vlan_id=test_vlan["id"],
467
539
  vnic_id=test_vnic_attachment["vnicId"])
468
540
  ```
@@ -486,7 +558,11 @@ class PrivateIp(pulumi.CustomResource):
486
558
 
487
559
  Example: `bminstance1`
488
560
  :param pulumi.Input[builtins.str] ip_address: A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet. Example: `10.0.3.3`
489
- :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
561
+ :param pulumi.Input[builtins.str] lifetime: (Updatable) Lifetime of the IP address. There are two types of IPv6 IPs:
562
+ * Ephemeral
563
+ * Reserved
564
+ :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
565
+ :param pulumi.Input[builtins.str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.
490
566
  :param pulumi.Input[builtins.str] vlan_id: Use this attribute only with the Oracle Cloud VMware Solution.
491
567
 
492
568
  The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan).
@@ -525,7 +601,9 @@ class PrivateIp(pulumi.CustomResource):
525
601
  },
526
602
  hostname_label=private_ip_hostname_label,
527
603
  ip_address=private_ip_ip_address,
604
+ lifetime=private_ip_lifetime,
528
605
  route_table_id=test_route_table["id"],
606
+ subnet_id=test_subnet["id"],
529
607
  vlan_id=test_vlan["id"],
530
608
  vnic_id=test_vnic_attachment["vnicId"])
531
609
  ```
@@ -558,7 +636,9 @@ class PrivateIp(pulumi.CustomResource):
558
636
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
559
637
  hostname_label: Optional[pulumi.Input[builtins.str]] = None,
560
638
  ip_address: Optional[pulumi.Input[builtins.str]] = None,
639
+ lifetime: Optional[pulumi.Input[builtins.str]] = None,
561
640
  route_table_id: Optional[pulumi.Input[builtins.str]] = None,
641
+ subnet_id: Optional[pulumi.Input[builtins.str]] = None,
562
642
  vlan_id: Optional[pulumi.Input[builtins.str]] = None,
563
643
  vnic_id: Optional[pulumi.Input[builtins.str]] = None,
564
644
  __props__=None):
@@ -575,14 +655,16 @@ class PrivateIp(pulumi.CustomResource):
575
655
  __props__.__dict__["freeform_tags"] = freeform_tags
576
656
  __props__.__dict__["hostname_label"] = hostname_label
577
657
  __props__.__dict__["ip_address"] = ip_address
658
+ __props__.__dict__["lifetime"] = lifetime
578
659
  __props__.__dict__["route_table_id"] = route_table_id
660
+ __props__.__dict__["subnet_id"] = subnet_id
579
661
  __props__.__dict__["vlan_id"] = vlan_id
580
662
  __props__.__dict__["vnic_id"] = vnic_id
581
663
  __props__.__dict__["availability_domain"] = None
582
664
  __props__.__dict__["compartment_id"] = None
665
+ __props__.__dict__["ip_state"] = None
583
666
  __props__.__dict__["is_primary"] = None
584
667
  __props__.__dict__["is_reserved"] = None
585
- __props__.__dict__["subnet_id"] = None
586
668
  __props__.__dict__["time_created"] = None
587
669
  super(PrivateIp, __self__).__init__(
588
670
  'oci:Core/privateIp:PrivateIp',
@@ -601,8 +683,10 @@ class PrivateIp(pulumi.CustomResource):
601
683
  freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
602
684
  hostname_label: Optional[pulumi.Input[builtins.str]] = None,
603
685
  ip_address: Optional[pulumi.Input[builtins.str]] = None,
686
+ ip_state: Optional[pulumi.Input[builtins.str]] = None,
604
687
  is_primary: Optional[pulumi.Input[builtins.bool]] = None,
605
688
  is_reserved: Optional[pulumi.Input[builtins.bool]] = None,
689
+ lifetime: Optional[pulumi.Input[builtins.str]] = None,
606
690
  route_table_id: Optional[pulumi.Input[builtins.str]] = None,
607
691
  subnet_id: Optional[pulumi.Input[builtins.str]] = None,
608
692
  time_created: Optional[pulumi.Input[builtins.str]] = None,
@@ -626,10 +710,13 @@ class PrivateIp(pulumi.CustomResource):
626
710
 
627
711
  Example: `bminstance1`
628
712
  :param pulumi.Input[builtins.str] ip_address: A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet. Example: `10.0.3.3`
713
+ :param pulumi.Input[builtins.str] ip_state: State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
629
714
  :param pulumi.Input[builtins.bool] is_primary: Whether this private IP is the primary one on the VNIC. Primary private IPs are unassigned and deleted automatically when the VNIC is terminated. Example: `true`
630
- :param pulumi.Input[builtins.bool] is_reserved: true if the IP is reserved and can exist detached from vnic
631
- :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
632
- :param pulumi.Input[builtins.str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
715
+ :param pulumi.Input[builtins.str] lifetime: (Updatable) Lifetime of the IP address. There are two types of IPv6 IPs:
716
+ * Ephemeral
717
+ * Reserved
718
+ :param pulumi.Input[builtins.str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
719
+ :param pulumi.Input[builtins.str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.
633
720
  :param pulumi.Input[builtins.str] time_created: The date and time the private IP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
634
721
  :param pulumi.Input[builtins.str] vlan_id: Use this attribute only with the Oracle Cloud VMware Solution.
635
722
 
@@ -651,8 +738,10 @@ class PrivateIp(pulumi.CustomResource):
651
738
  __props__.__dict__["freeform_tags"] = freeform_tags
652
739
  __props__.__dict__["hostname_label"] = hostname_label
653
740
  __props__.__dict__["ip_address"] = ip_address
741
+ __props__.__dict__["ip_state"] = ip_state
654
742
  __props__.__dict__["is_primary"] = is_primary
655
743
  __props__.__dict__["is_reserved"] = is_reserved
744
+ __props__.__dict__["lifetime"] = lifetime
656
745
  __props__.__dict__["route_table_id"] = route_table_id
657
746
  __props__.__dict__["subnet_id"] = subnet_id
658
747
  __props__.__dict__["time_created"] = time_created
@@ -720,6 +809,14 @@ class PrivateIp(pulumi.CustomResource):
720
809
  """
721
810
  return pulumi.get(self, "ip_address")
722
811
 
812
+ @property
813
+ @pulumi.getter(name="ipState")
814
+ def ip_state(self) -> pulumi.Output[builtins.str]:
815
+ """
816
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
817
+ """
818
+ return pulumi.get(self, "ip_state")
819
+
723
820
  @property
724
821
  @pulumi.getter(name="isPrimary")
725
822
  def is_primary(self) -> pulumi.Output[builtins.bool]:
@@ -731,16 +828,23 @@ class PrivateIp(pulumi.CustomResource):
731
828
  @property
732
829
  @pulumi.getter(name="isReserved")
733
830
  def is_reserved(self) -> pulumi.Output[builtins.bool]:
831
+ return pulumi.get(self, "is_reserved")
832
+
833
+ @property
834
+ @pulumi.getter
835
+ def lifetime(self) -> pulumi.Output[builtins.str]:
734
836
  """
735
- true if the IP is reserved and can exist detached from vnic
837
+ (Updatable) Lifetime of the IP address. There are two types of IPv6 IPs:
838
+ * Ephemeral
839
+ * Reserved
736
840
  """
737
- return pulumi.get(self, "is_reserved")
841
+ return pulumi.get(self, "lifetime")
738
842
 
739
843
  @property
740
844
  @pulumi.getter(name="routeTableId")
741
845
  def route_table_id(self) -> pulumi.Output[Optional[builtins.str]]:
742
846
  """
743
- (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
847
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see [Source Based Routing](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing).
744
848
  """
745
849
  return pulumi.get(self, "route_table_id")
746
850
 
@@ -748,7 +852,7 @@ class PrivateIp(pulumi.CustomResource):
748
852
  @pulumi.getter(name="subnetId")
749
853
  def subnet_id(self) -> pulumi.Output[builtins.str]:
750
854
  """
751
- The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
855
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, *if supplied*, must be valid for the given subnet.
752
856
  """
753
857
  return pulumi.get(self, "subnet_id")
754
858
 
@@ -772,7 +876,7 @@ class PrivateIp(pulumi.CustomResource):
772
876
 
773
877
  @property
774
878
  @pulumi.getter(name="vnicId")
775
- def vnic_id(self) -> pulumi.Output[builtins.str]:
879
+ def vnic_id(self) -> pulumi.Output[Optional[builtins.str]]:
776
880
  """
777
881
  (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the private IP to. The VNIC and private IP must be in the same subnet.
778
882
 
@@ -26,7 +26,8 @@ class InvokeFunctionArgs:
26
26
  fn_invoke_type: Optional[pulumi.Input[builtins.str]] = None,
27
27
  input_body_source_path: Optional[pulumi.Input[builtins.str]] = None,
28
28
  invoke_function_body: Optional[pulumi.Input[builtins.str]] = None,
29
- invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None):
29
+ invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None,
30
+ is_dry_run: Optional[pulumi.Input[builtins.bool]] = None):
30
31
  """
31
32
  The set of arguments for constructing a InvokeFunction resource.
32
33
  :param pulumi.Input[builtins.str] function_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this function.
@@ -37,6 +38,7 @@ class InvokeFunctionArgs:
37
38
  ** IMPORTANT **
38
39
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
39
40
  :param pulumi.Input[builtins.str] invoke_function_body: The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if `input_body_source_path` or `invoke_function_body_base64_encoded` is defined.
41
+ :param pulumi.Input[builtins.bool] is_dry_run: Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
40
42
  """
41
43
  pulumi.set(__self__, "function_id", function_id)
42
44
  if base64_encode_content is not None:
@@ -51,6 +53,8 @@ class InvokeFunctionArgs:
51
53
  pulumi.set(__self__, "invoke_function_body", invoke_function_body)
52
54
  if invoke_function_body_base64_encoded is not None:
53
55
  pulumi.set(__self__, "invoke_function_body_base64_encoded", invoke_function_body_base64_encoded)
56
+ if is_dry_run is not None:
57
+ pulumi.set(__self__, "is_dry_run", is_dry_run)
54
58
 
55
59
  @property
56
60
  @pulumi.getter(name="functionId")
@@ -133,6 +137,18 @@ class InvokeFunctionArgs:
133
137
  def invoke_function_body_base64_encoded(self, value: Optional[pulumi.Input[builtins.str]]):
134
138
  pulumi.set(self, "invoke_function_body_base64_encoded", value)
135
139
 
140
+ @property
141
+ @pulumi.getter(name="isDryRun")
142
+ def is_dry_run(self) -> Optional[pulumi.Input[builtins.bool]]:
143
+ """
144
+ Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
145
+ """
146
+ return pulumi.get(self, "is_dry_run")
147
+
148
+ @is_dry_run.setter
149
+ def is_dry_run(self, value: Optional[pulumi.Input[builtins.bool]]):
150
+ pulumi.set(self, "is_dry_run", value)
151
+
136
152
 
137
153
  @pulumi.input_type
138
154
  class _InvokeFunctionState:
@@ -145,7 +161,8 @@ class _InvokeFunctionState:
145
161
  input_body_source_path: Optional[pulumi.Input[builtins.str]] = None,
146
162
  invoke_endpoint: Optional[pulumi.Input[builtins.str]] = None,
147
163
  invoke_function_body: Optional[pulumi.Input[builtins.str]] = None,
148
- invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None):
164
+ invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None,
165
+ is_dry_run: Optional[pulumi.Input[builtins.bool]] = None):
149
166
  """
150
167
  Input properties used for looking up and filtering InvokeFunction resources.
151
168
  :param pulumi.Input[builtins.str] content: Content of the response string, if any. If `base64_encode_content` is set to `true`, then this content will be base64 encoded.
@@ -157,6 +174,7 @@ class _InvokeFunctionState:
157
174
  ** IMPORTANT **
158
175
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
159
176
  :param pulumi.Input[builtins.str] invoke_function_body: The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if `input_body_source_path` or `invoke_function_body_base64_encoded` is defined.
177
+ :param pulumi.Input[builtins.bool] is_dry_run: Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
160
178
  """
161
179
  if base64_encode_content is not None:
162
180
  pulumi.set(__self__, "base64_encode_content", base64_encode_content)
@@ -176,6 +194,8 @@ class _InvokeFunctionState:
176
194
  pulumi.set(__self__, "invoke_function_body", invoke_function_body)
177
195
  if invoke_function_body_base64_encoded is not None:
178
196
  pulumi.set(__self__, "invoke_function_body_base64_encoded", invoke_function_body_base64_encoded)
197
+ if is_dry_run is not None:
198
+ pulumi.set(__self__, "is_dry_run", is_dry_run)
179
199
 
180
200
  @property
181
201
  @pulumi.getter(name="base64EncodeContent")
@@ -279,6 +299,18 @@ class _InvokeFunctionState:
279
299
  def invoke_function_body_base64_encoded(self, value: Optional[pulumi.Input[builtins.str]]):
280
300
  pulumi.set(self, "invoke_function_body_base64_encoded", value)
281
301
 
302
+ @property
303
+ @pulumi.getter(name="isDryRun")
304
+ def is_dry_run(self) -> Optional[pulumi.Input[builtins.bool]]:
305
+ """
306
+ Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
307
+ """
308
+ return pulumi.get(self, "is_dry_run")
309
+
310
+ @is_dry_run.setter
311
+ def is_dry_run(self, value: Optional[pulumi.Input[builtins.bool]]):
312
+ pulumi.set(self, "is_dry_run", value)
313
+
282
314
 
283
315
  class InvokeFunction(pulumi.CustomResource):
284
316
  @overload
@@ -292,6 +324,7 @@ class InvokeFunction(pulumi.CustomResource):
292
324
  input_body_source_path: Optional[pulumi.Input[builtins.str]] = None,
293
325
  invoke_function_body: Optional[pulumi.Input[builtins.str]] = None,
294
326
  invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None,
327
+ is_dry_run: Optional[pulumi.Input[builtins.bool]] = None,
295
328
  __props__=None):
296
329
  """
297
330
  This resource provides the Invoke Function resource in Oracle Cloud Infrastructure Functions service.
@@ -309,6 +342,7 @@ class InvokeFunction(pulumi.CustomResource):
309
342
  invoke_function_body=invoke_function_invoke_function_body,
310
343
  fn_intent=invoke_function_fn_intent,
311
344
  fn_invoke_type=invoke_function_fn_invoke_type,
345
+ is_dry_run=invoke_function_is_dry_run,
312
346
  base64_encode_content=False)
313
347
  ```
314
348
 
@@ -326,6 +360,7 @@ class InvokeFunction(pulumi.CustomResource):
326
360
  ** IMPORTANT **
327
361
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
328
362
  :param pulumi.Input[builtins.str] invoke_function_body: The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if `input_body_source_path` or `invoke_function_body_base64_encoded` is defined.
363
+ :param pulumi.Input[builtins.bool] is_dry_run: Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
329
364
  """
330
365
  ...
331
366
  @overload
@@ -349,6 +384,7 @@ class InvokeFunction(pulumi.CustomResource):
349
384
  invoke_function_body=invoke_function_invoke_function_body,
350
385
  fn_intent=invoke_function_fn_intent,
351
386
  fn_invoke_type=invoke_function_fn_invoke_type,
387
+ is_dry_run=invoke_function_is_dry_run,
352
388
  base64_encode_content=False)
353
389
  ```
354
390
 
@@ -378,6 +414,7 @@ class InvokeFunction(pulumi.CustomResource):
378
414
  input_body_source_path: Optional[pulumi.Input[builtins.str]] = None,
379
415
  invoke_function_body: Optional[pulumi.Input[builtins.str]] = None,
380
416
  invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None,
417
+ is_dry_run: Optional[pulumi.Input[builtins.bool]] = None,
381
418
  __props__=None):
382
419
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
383
420
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -396,6 +433,7 @@ class InvokeFunction(pulumi.CustomResource):
396
433
  __props__.__dict__["input_body_source_path"] = input_body_source_path
397
434
  __props__.__dict__["invoke_function_body"] = invoke_function_body
398
435
  __props__.__dict__["invoke_function_body_base64_encoded"] = invoke_function_body_base64_encoded
436
+ __props__.__dict__["is_dry_run"] = is_dry_run
399
437
  __props__.__dict__["content"] = None
400
438
  __props__.__dict__["invoke_endpoint"] = None
401
439
  super(InvokeFunction, __self__).__init__(
@@ -416,7 +454,8 @@ class InvokeFunction(pulumi.CustomResource):
416
454
  input_body_source_path: Optional[pulumi.Input[builtins.str]] = None,
417
455
  invoke_endpoint: Optional[pulumi.Input[builtins.str]] = None,
418
456
  invoke_function_body: Optional[pulumi.Input[builtins.str]] = None,
419
- invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None) -> 'InvokeFunction':
457
+ invoke_function_body_base64_encoded: Optional[pulumi.Input[builtins.str]] = None,
458
+ is_dry_run: Optional[pulumi.Input[builtins.bool]] = None) -> 'InvokeFunction':
420
459
  """
421
460
  Get an existing InvokeFunction resource's state with the given name, id, and optional extra
422
461
  properties used to qualify the lookup.
@@ -433,6 +472,7 @@ class InvokeFunction(pulumi.CustomResource):
433
472
  ** IMPORTANT **
434
473
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
435
474
  :param pulumi.Input[builtins.str] invoke_function_body: The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if `input_body_source_path` or `invoke_function_body_base64_encoded` is defined.
475
+ :param pulumi.Input[builtins.bool] is_dry_run: Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
436
476
  """
437
477
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
438
478
 
@@ -447,6 +487,7 @@ class InvokeFunction(pulumi.CustomResource):
447
487
  __props__.__dict__["invoke_endpoint"] = invoke_endpoint
448
488
  __props__.__dict__["invoke_function_body"] = invoke_function_body
449
489
  __props__.__dict__["invoke_function_body_base64_encoded"] = invoke_function_body_base64_encoded
490
+ __props__.__dict__["is_dry_run"] = is_dry_run
450
491
  return InvokeFunction(resource_name, opts=opts, __props__=__props__)
451
492
 
452
493
  @property
@@ -515,3 +556,11 @@ class InvokeFunction(pulumi.CustomResource):
515
556
  def invoke_function_body_base64_encoded(self) -> pulumi.Output[builtins.str]:
516
557
  return pulumi.get(self, "invoke_function_body_base64_encoded")
517
558
 
559
+ @property
560
+ @pulumi.getter(name="isDryRun")
561
+ def is_dry_run(self) -> pulumi.Output[builtins.bool]:
562
+ """
563
+ Indicates that the request is a dry run, if set to "true". A dry run request does not execute the function.
564
+ """
565
+ return pulumi.get(self, "is_dry_run")
566
+