pulumi-oci 1.42.0a1718951234__py3-none-any.whl → 1.42.0a1719263894__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/_utilities.py +35 -0
- pulumi_oci/budget/budget.py +3 -9
- pulumi_oci/budget/get_budget.py +1 -3
- pulumi_oci/budget/outputs.py +1 -3
- pulumi_oci/containerengine/cluster_complete_credential_rotation_management.py +2 -2
- pulumi_oci/containerengine/get_node_pool.py +2 -6
- pulumi_oci/containerengine/node_pool.py +6 -18
- pulumi_oci/containerengine/outputs.py +2 -6
- pulumi_oci/core/_inputs.py +5 -15
- pulumi_oci/core/boot_volume.py +3 -9
- pulumi_oci/core/get_boot_volume.py +1 -3
- pulumi_oci/core/get_instance.py +3 -9
- pulumi_oci/core/get_virtual_circuit.py +2 -6
- pulumi_oci/core/get_volume.py +2 -6
- pulumi_oci/core/instance.py +9 -27
- pulumi_oci/core/outputs.py +24 -72
- pulumi_oci/core/virtual_circuit.py +5 -15
- pulumi_oci/core/volume.py +6 -18
- pulumi_oci/core/volume_attachment.py +3 -9
- pulumi_oci/core/volume_backup.py +4 -12
- pulumi_oci/core/volume_group.py +3 -9
- pulumi_oci/database/autonomous_database.py +3 -9
- pulumi_oci/database/autonomous_exadata_infrastructure.py +3 -9
- pulumi_oci/database/backup_destination.py +3 -9
- pulumi_oci/database/get_autonomous_database.py +1 -3
- pulumi_oci/database/get_autonomous_database_wallet.py +1 -3
- pulumi_oci/database/get_autonomous_exadata_infrastructure.py +1 -3
- pulumi_oci/database/get_backup_destination.py +1 -3
- pulumi_oci/database/outputs.py +4 -12
- pulumi_oci/datasafe/discovery_jobs_result.py +7 -21
- pulumi_oci/datasafe/get_discovery_jobs_result.py +2 -6
- pulumi_oci/datasafe/outputs.py +3 -9
- pulumi_oci/dns/get_records.py +1 -3
- pulumi_oci/dns/outputs.py +3 -9
- pulumi_oci/dns/record.py +9 -27
- pulumi_oci/identity/outputs.py +3 -9
- pulumi_oci/identity/policy.py +6 -18
- pulumi_oci/loadbalancer/load_balancer.py +2 -6
- pulumi_oci/loadbalancer/outputs.py +1 -3
- pulumi_oci/mysql/_inputs.py +7 -21
- pulumi_oci/mysql/outputs.py +21 -63
- pulumi_oci/objectstorage/get_preauthrequest.py +1 -3
- pulumi_oci/objectstorage/get_replication_policy.py +1 -3
- pulumi_oci/objectstorage/outputs.py +2 -6
- pulumi_oci/objectstorage/preauthrequest.py +3 -9
- pulumi_oci/objectstorage/replication_policy.py +3 -9
- pulumi_oci/ocvp/esxi_host.py +18 -54
- pulumi_oci/ocvp/get_exsi_host.py +6 -18
- pulumi_oci/ocvp/get_sddc.py +31 -93
- pulumi_oci/ocvp/get_supported_host_shapes.py +1 -3
- pulumi_oci/ocvp/outputs.py +39 -117
- pulumi_oci/ocvp/sddc.py +83 -249
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/recoverymod/get_recovery_service_subnet.py +1 -3
- pulumi_oci/recoverymod/outputs.py +1 -3
- pulumi_oci/recoverymod/recovery_service_subnet.py +3 -9
- {pulumi_oci-1.42.0a1718951234.dist-info → pulumi_oci-1.42.0a1719263894.dist-info}/METADATA +1 -1
- {pulumi_oci-1.42.0a1718951234.dist-info → pulumi_oci-1.42.0a1719263894.dist-info}/RECORD +60 -60
- {pulumi_oci-1.42.0a1718951234.dist-info → pulumi_oci-1.42.0a1719263894.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.42.0a1718951234.dist-info → pulumi_oci-1.42.0a1719263894.dist-info}/top_level.txt +0 -0
pulumi_oci/_utilities.py
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
import asyncio
|
7
|
+
import functools
|
7
8
|
import importlib.metadata
|
8
9
|
import importlib.util
|
9
10
|
import inspect
|
@@ -11,6 +12,7 @@ import json
|
|
11
12
|
import os
|
12
13
|
import sys
|
13
14
|
import typing
|
15
|
+
import warnings
|
14
16
|
|
15
17
|
import pulumi
|
16
18
|
import pulumi.runtime
|
@@ -19,6 +21,8 @@ from pulumi.runtime.sync_await import _sync_await
|
|
19
21
|
from semver import VersionInfo as SemverVersion
|
20
22
|
from parver import Version as PEP440Version
|
21
23
|
|
24
|
+
C = typing.TypeVar("C", bound=typing.Callable)
|
25
|
+
|
22
26
|
|
23
27
|
def get_env(*args):
|
24
28
|
for v in args:
|
@@ -287,5 +291,36 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
|
|
287
291
|
await o._resources,
|
288
292
|
)
|
289
293
|
|
294
|
+
|
295
|
+
# This is included to provide an upgrade path for users who are using a version
|
296
|
+
# of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
|
297
|
+
def deprecated(message: str) -> typing.Callable[[C], C]:
|
298
|
+
"""
|
299
|
+
Decorator to indicate a function is deprecated.
|
300
|
+
|
301
|
+
As well as inserting appropriate statements to indicate that the function is
|
302
|
+
deprecated, this decorator also tags the function with a special attribute
|
303
|
+
so that Pulumi code can detect that it is deprecated and react appropriately
|
304
|
+
in certain situations.
|
305
|
+
|
306
|
+
message is the deprecation message that should be printed if the function is called.
|
307
|
+
"""
|
308
|
+
|
309
|
+
def decorator(fn: C) -> C:
|
310
|
+
if not callable(fn):
|
311
|
+
raise TypeError("Expected fn to be callable")
|
312
|
+
|
313
|
+
@functools.wraps(fn)
|
314
|
+
def deprecated_fn(*args, **kwargs):
|
315
|
+
warnings.warn(message)
|
316
|
+
pulumi.warn(f"{fn.__name__} is deprecated: {message}")
|
317
|
+
|
318
|
+
return fn(*args, **kwargs)
|
319
|
+
|
320
|
+
deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
|
321
|
+
return typing.cast(C, deprecated_fn)
|
322
|
+
|
323
|
+
return decorator
|
324
|
+
|
290
325
|
def get_plugin_download_url():
|
291
326
|
return None
|
pulumi_oci/budget/budget.py
CHANGED
@@ -212,13 +212,11 @@ class BudgetArgs:
|
|
212
212
|
|
213
213
|
@property
|
214
214
|
@pulumi.getter(name="targetCompartmentId")
|
215
|
+
@_utilities.deprecated("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
215
216
|
def target_compartment_id(self) -> Optional[pulumi.Input[str]]:
|
216
217
|
"""
|
217
218
|
This is DEPRECATED. Set the target compartment ID in targets instead.
|
218
219
|
"""
|
219
|
-
warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning)
|
220
|
-
pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
221
|
-
|
222
220
|
return pulumi.get(self, "target_compartment_id")
|
223
221
|
|
224
222
|
@target_compartment_id.setter
|
@@ -538,13 +536,11 @@ class _BudgetState:
|
|
538
536
|
|
539
537
|
@property
|
540
538
|
@pulumi.getter(name="targetCompartmentId")
|
539
|
+
@_utilities.deprecated("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
541
540
|
def target_compartment_id(self) -> Optional[pulumi.Input[str]]:
|
542
541
|
"""
|
543
542
|
This is DEPRECATED. Set the target compartment ID in targets instead.
|
544
543
|
"""
|
545
|
-
warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning)
|
546
|
-
pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
547
|
-
|
548
544
|
return pulumi.get(self, "target_compartment_id")
|
549
545
|
|
550
546
|
@target_compartment_id.setter
|
@@ -1037,13 +1033,11 @@ class Budget(pulumi.CustomResource):
|
|
1037
1033
|
|
1038
1034
|
@property
|
1039
1035
|
@pulumi.getter(name="targetCompartmentId")
|
1036
|
+
@_utilities.deprecated("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
1040
1037
|
def target_compartment_id(self) -> pulumi.Output[str]:
|
1041
1038
|
"""
|
1042
1039
|
This is DEPRECATED. Set the target compartment ID in targets instead.
|
1043
1040
|
"""
|
1044
|
-
warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning)
|
1045
|
-
pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
1046
|
-
|
1047
1041
|
return pulumi.get(self, "target_compartment_id")
|
1048
1042
|
|
1049
1043
|
@property
|
pulumi_oci/budget/get_budget.py
CHANGED
@@ -230,13 +230,11 @@ class GetBudgetResult:
|
|
230
230
|
|
231
231
|
@property
|
232
232
|
@pulumi.getter(name="targetCompartmentId")
|
233
|
+
@_utilities.deprecated("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
233
234
|
def target_compartment_id(self) -> str:
|
234
235
|
"""
|
235
236
|
This is DEPRECATED. For backwards compatability, the property is populated when the targetType is "COMPARTMENT", and targets contain the specific target compartment OCID. For all other scenarios, this property will be left empty.
|
236
237
|
"""
|
237
|
-
warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning)
|
238
|
-
pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
239
|
-
|
240
238
|
return pulumi.get(self, "target_compartment_id")
|
241
239
|
|
242
240
|
@property
|
pulumi_oci/budget/outputs.py
CHANGED
@@ -423,13 +423,11 @@ class GetBudgetsBudgetResult(dict):
|
|
423
423
|
|
424
424
|
@property
|
425
425
|
@pulumi.getter(name="targetCompartmentId")
|
426
|
+
@_utilities.deprecated("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
426
427
|
def target_compartment_id(self) -> str:
|
427
428
|
"""
|
428
429
|
This is DEPRECATED. For backwards compatability, the property is populated when the targetType is "COMPARTMENT", and targets contain the specific target compartment OCID. For all other scenarios, this property will be left empty.
|
429
430
|
"""
|
430
|
-
warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning)
|
431
|
-
pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""")
|
432
|
-
|
433
431
|
return pulumi.get(self, "target_compartment_id")
|
434
432
|
|
435
433
|
@property
|
@@ -93,7 +93,7 @@ class ClusterCompleteCredentialRotationManagement(pulumi.CustomResource):
|
|
93
93
|
import pulumi_oci as oci
|
94
94
|
|
95
95
|
test_cluster_complete_credential_rotation_management = oci.container_engine.ClusterCompleteCredentialRotationManagement("test_cluster_complete_credential_rotation_management", cluster_id=test_cluster["id"],
|
96
|
-
opts=pulumi.ResourceOptions(depends_on=[test_cluster_start_credential_rotation_management]))
|
96
|
+
opts = pulumi.ResourceOptions(depends_on=[test_cluster_start_credential_rotation_management]))
|
97
97
|
```
|
98
98
|
|
99
99
|
## Import
|
@@ -126,7 +126,7 @@ class ClusterCompleteCredentialRotationManagement(pulumi.CustomResource):
|
|
126
126
|
import pulumi_oci as oci
|
127
127
|
|
128
128
|
test_cluster_complete_credential_rotation_management = oci.container_engine.ClusterCompleteCredentialRotationManagement("test_cluster_complete_credential_rotation_management", cluster_id=test_cluster["id"],
|
129
|
-
opts=pulumi.ResourceOptions(depends_on=[test_cluster_start_credential_rotation_management]))
|
129
|
+
opts = pulumi.ResourceOptions(depends_on=[test_cluster_start_credential_rotation_management]))
|
130
130
|
```
|
131
131
|
|
132
132
|
## Import
|
@@ -189,24 +189,20 @@ class GetNodePoolResult:
|
|
189
189
|
|
190
190
|
@property
|
191
191
|
@pulumi.getter(name="nodeImageId")
|
192
|
+
@_utilities.deprecated("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
192
193
|
def node_image_id(self) -> str:
|
193
194
|
"""
|
194
195
|
Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool.
|
195
196
|
"""
|
196
|
-
warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
197
|
-
pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
198
|
-
|
199
197
|
return pulumi.get(self, "node_image_id")
|
200
198
|
|
201
199
|
@property
|
202
200
|
@pulumi.getter(name="nodeImageName")
|
201
|
+
@_utilities.deprecated("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
203
202
|
def node_image_name(self) -> str:
|
204
203
|
"""
|
205
204
|
Deprecated. see `nodeSource`. The name of the image running on the nodes in the node pool.
|
206
205
|
"""
|
207
|
-
warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
208
|
-
pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
209
|
-
|
210
206
|
return pulumi.get(self, "node_image_name")
|
211
207
|
|
212
208
|
@property
|
@@ -225,13 +225,11 @@ class NodePoolArgs:
|
|
225
225
|
|
226
226
|
@property
|
227
227
|
@pulumi.getter(name="nodeImageId")
|
228
|
+
@_utilities.deprecated("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
228
229
|
def node_image_id(self) -> Optional[pulumi.Input[str]]:
|
229
230
|
"""
|
230
231
|
Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool.
|
231
232
|
"""
|
232
|
-
warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
233
|
-
pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
234
|
-
|
235
233
|
return pulumi.get(self, "node_image_id")
|
236
234
|
|
237
235
|
@node_image_id.setter
|
@@ -240,13 +238,11 @@ class NodePoolArgs:
|
|
240
238
|
|
241
239
|
@property
|
242
240
|
@pulumi.getter(name="nodeImageName")
|
241
|
+
@_utilities.deprecated("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
243
242
|
def node_image_name(self) -> Optional[pulumi.Input[str]]:
|
244
243
|
"""
|
245
244
|
Deprecated. Use `nodeSourceDetails` instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when `node_image_id` is specified.
|
246
245
|
"""
|
247
|
-
warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
248
|
-
pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
249
|
-
|
250
246
|
return pulumi.get(self, "node_image_name")
|
251
247
|
|
252
248
|
@node_image_name.setter
|
@@ -573,13 +569,11 @@ class _NodePoolState:
|
|
573
569
|
|
574
570
|
@property
|
575
571
|
@pulumi.getter(name="nodeImageId")
|
572
|
+
@_utilities.deprecated("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
576
573
|
def node_image_id(self) -> Optional[pulumi.Input[str]]:
|
577
574
|
"""
|
578
575
|
Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool.
|
579
576
|
"""
|
580
|
-
warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
581
|
-
pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
582
|
-
|
583
577
|
return pulumi.get(self, "node_image_id")
|
584
578
|
|
585
579
|
@node_image_id.setter
|
@@ -588,13 +582,11 @@ class _NodePoolState:
|
|
588
582
|
|
589
583
|
@property
|
590
584
|
@pulumi.getter(name="nodeImageName")
|
585
|
+
@_utilities.deprecated("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
591
586
|
def node_image_name(self) -> Optional[pulumi.Input[str]]:
|
592
587
|
"""
|
593
588
|
Deprecated. Use `nodeSourceDetails` instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when `node_image_id` is specified.
|
594
589
|
"""
|
595
|
-
warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
596
|
-
pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
597
|
-
|
598
590
|
return pulumi.get(self, "node_image_name")
|
599
591
|
|
600
592
|
@node_image_name.setter
|
@@ -1226,24 +1218,20 @@ class NodePool(pulumi.CustomResource):
|
|
1226
1218
|
|
1227
1219
|
@property
|
1228
1220
|
@pulumi.getter(name="nodeImageId")
|
1221
|
+
@_utilities.deprecated("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
1229
1222
|
def node_image_id(self) -> pulumi.Output[str]:
|
1230
1223
|
"""
|
1231
1224
|
Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool.
|
1232
1225
|
"""
|
1233
|
-
warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
1234
|
-
pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
1235
|
-
|
1236
1226
|
return pulumi.get(self, "node_image_id")
|
1237
1227
|
|
1238
1228
|
@property
|
1239
1229
|
@pulumi.getter(name="nodeImageName")
|
1230
|
+
@_utilities.deprecated("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
1240
1231
|
def node_image_name(self) -> pulumi.Output[str]:
|
1241
1232
|
"""
|
1242
1233
|
Deprecated. Use `nodeSourceDetails` instead. If you specify values for both, this value is ignored. The name of the image running on the nodes in the node pool. Cannot be used when `node_image_id` is specified.
|
1243
1234
|
"""
|
1244
|
-
warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
1245
|
-
pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
1246
|
-
|
1247
1235
|
return pulumi.get(self, "node_image_name")
|
1248
1236
|
|
1249
1237
|
@property
|
@@ -5969,24 +5969,20 @@ class GetNodePoolsNodePoolResult(dict):
|
|
5969
5969
|
|
5970
5970
|
@property
|
5971
5971
|
@pulumi.getter(name="nodeImageId")
|
5972
|
+
@_utilities.deprecated("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
5972
5973
|
def node_image_id(self) -> str:
|
5973
5974
|
"""
|
5974
5975
|
Deprecated. see `nodeSource`. The OCID of the image running on the nodes in the node pool.
|
5975
5976
|
"""
|
5976
|
-
warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
5977
|
-
pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
5978
|
-
|
5979
5977
|
return pulumi.get(self, "node_image_id")
|
5980
5978
|
|
5981
5979
|
@property
|
5982
5980
|
@pulumi.getter(name="nodeImageName")
|
5981
|
+
@_utilities.deprecated("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
5983
5982
|
def node_image_name(self) -> str:
|
5984
5983
|
"""
|
5985
5984
|
Deprecated. see `nodeSource`. The name of the image running on the nodes in the node pool.
|
5986
5985
|
"""
|
5987
|
-
warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning)
|
5988
|
-
pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""")
|
5989
|
-
|
5990
5986
|
return pulumi.get(self, "node_image_name")
|
5991
5987
|
|
5992
5988
|
@property
|
pulumi_oci/core/_inputs.py
CHANGED
@@ -3014,10 +3014,8 @@ class DefaultRouteTableRouteRuleArgs:
|
|
3014
3014
|
|
3015
3015
|
@property
|
3016
3016
|
@pulumi.getter(name="cidrBlock")
|
3017
|
+
@_utilities.deprecated("""The 'cidr_block' field has been deprecated. Please use 'destination' instead.""")
|
3017
3018
|
def cidr_block(self) -> Optional[pulumi.Input[str]]:
|
3018
|
-
warnings.warn("""The 'cidr_block' field has been deprecated. Please use 'destination' instead.""", DeprecationWarning)
|
3019
|
-
pulumi.log.warn("""cidr_block is deprecated: The 'cidr_block' field has been deprecated. Please use 'destination' instead.""")
|
3020
|
-
|
3021
3019
|
return pulumi.get(self, "cidr_block")
|
3022
3020
|
|
3023
3021
|
@cidr_block.setter
|
@@ -11229,10 +11227,8 @@ class IpsecConnectionTunnelManagementBgpSessionInfoArgs:
|
|
11229
11227
|
|
11230
11228
|
@property
|
11231
11229
|
@pulumi.getter(name="bgpIpv6state")
|
11230
|
+
@_utilities.deprecated("""The 'bgp_session_info.0.bgp_ipv6state' field has been deprecated. Please use 'bgp_session_info.0.bgp_ipv6_state' instead.""")
|
11232
11231
|
def bgp_ipv6state(self) -> Optional[pulumi.Input[str]]:
|
11233
|
-
warnings.warn("""The 'bgp_session_info.0.bgp_ipv6state' field has been deprecated. Please use 'bgp_session_info.0.bgp_ipv6_state' instead.""", DeprecationWarning)
|
11234
|
-
pulumi.log.warn("""bgp_ipv6state is deprecated: The 'bgp_session_info.0.bgp_ipv6state' field has been deprecated. Please use 'bgp_session_info.0.bgp_ipv6_state' instead.""")
|
11235
|
-
|
11236
11232
|
return pulumi.get(self, "bgp_ipv6state")
|
11237
11233
|
|
11238
11234
|
@bgp_ipv6state.setter
|
@@ -11604,10 +11600,8 @@ class IpsecConnectionTunnelManagementPhaseOneDetailArgs:
|
|
11604
11600
|
|
11605
11601
|
@property
|
11606
11602
|
@pulumi.getter(name="remainingLifetime")
|
11603
|
+
@_utilities.deprecated("""The 'phase_one_details.0.remaining_lifetime' field has been deprecated. Please use 'phase_one_details.0.remaining_lifetime_int' instead.""")
|
11607
11604
|
def remaining_lifetime(self) -> Optional[pulumi.Input[str]]:
|
11608
|
-
warnings.warn("""The 'phase_one_details.0.remaining_lifetime' field has been deprecated. Please use 'phase_one_details.0.remaining_lifetime_int' instead.""", DeprecationWarning)
|
11609
|
-
pulumi.log.warn("""remaining_lifetime is deprecated: The 'phase_one_details.0.remaining_lifetime' field has been deprecated. Please use 'phase_one_details.0.remaining_lifetime_int' instead.""")
|
11610
|
-
|
11611
11605
|
return pulumi.get(self, "remaining_lifetime")
|
11612
11606
|
|
11613
11607
|
@remaining_lifetime.setter
|
@@ -11821,10 +11815,8 @@ class IpsecConnectionTunnelManagementPhaseTwoDetailArgs:
|
|
11821
11815
|
|
11822
11816
|
@property
|
11823
11817
|
@pulumi.getter(name="remainingLifetime")
|
11818
|
+
@_utilities.deprecated("""The 'phase_two_details.0.remaining_lifetime' field has been deprecated. Please use 'phase_two_details.0.remaining_lifetime_int' instead.""")
|
11824
11819
|
def remaining_lifetime(self) -> Optional[pulumi.Input[str]]:
|
11825
|
-
warnings.warn("""The 'phase_two_details.0.remaining_lifetime' field has been deprecated. Please use 'phase_two_details.0.remaining_lifetime_int' instead.""", DeprecationWarning)
|
11826
|
-
pulumi.log.warn("""remaining_lifetime is deprecated: The 'phase_two_details.0.remaining_lifetime' field has been deprecated. Please use 'phase_two_details.0.remaining_lifetime_int' instead.""")
|
11827
|
-
|
11828
11820
|
return pulumi.get(self, "remaining_lifetime")
|
11829
11821
|
|
11830
11822
|
@remaining_lifetime.setter
|
@@ -12158,6 +12150,7 @@ class RouteTableRouteRuleArgs:
|
|
12158
12150
|
|
12159
12151
|
@property
|
12160
12152
|
@pulumi.getter(name="cidrBlock")
|
12153
|
+
@_utilities.deprecated("""The 'cidr_block' field has been deprecated. Please use 'destination' instead.""")
|
12161
12154
|
def cidr_block(self) -> Optional[pulumi.Input[str]]:
|
12162
12155
|
"""
|
12163
12156
|
(Updatable) Deprecated. Instead use `destination` and `destinationType`. Requests that include both `cidrBlock` and `destination` will be rejected.
|
@@ -12168,9 +12161,6 @@ class RouteTableRouteRuleArgs:
|
|
12168
12161
|
|
12169
12162
|
Example: `0.0.0.0/0`
|
12170
12163
|
"""
|
12171
|
-
warnings.warn("""The 'cidr_block' field has been deprecated. Please use 'destination' instead.""", DeprecationWarning)
|
12172
|
-
pulumi.log.warn("""cidr_block is deprecated: The 'cidr_block' field has been deprecated. Please use 'destination' instead.""")
|
12173
|
-
|
12174
12164
|
return pulumi.get(self, "cidr_block")
|
12175
12165
|
|
12176
12166
|
@cidr_block.setter
|
pulumi_oci/core/boot_volume.py
CHANGED
@@ -127,13 +127,11 @@ class BootVolumeArgs:
|
|
127
127
|
|
128
128
|
@property
|
129
129
|
@pulumi.getter(name="backupPolicyId")
|
130
|
+
@_utilities.deprecated("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
130
131
|
def backup_policy_id(self) -> Optional[pulumi.Input[str]]:
|
131
132
|
"""
|
132
133
|
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.
|
133
134
|
"""
|
134
|
-
warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning)
|
135
|
-
pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
136
|
-
|
137
135
|
return pulumi.get(self, "backup_policy_id")
|
138
136
|
|
139
137
|
@backup_policy_id.setter
|
@@ -400,13 +398,11 @@ class _BootVolumeState:
|
|
400
398
|
|
401
399
|
@property
|
402
400
|
@pulumi.getter(name="backupPolicyId")
|
401
|
+
@_utilities.deprecated("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
403
402
|
def backup_policy_id(self) -> Optional[pulumi.Input[str]]:
|
404
403
|
"""
|
405
404
|
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.
|
406
405
|
"""
|
407
|
-
warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning)
|
408
|
-
pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
409
|
-
|
410
406
|
return pulumi.get(self, "backup_policy_id")
|
411
407
|
|
412
408
|
@backup_policy_id.setter
|
@@ -976,13 +972,11 @@ class BootVolume(pulumi.CustomResource):
|
|
976
972
|
|
977
973
|
@property
|
978
974
|
@pulumi.getter(name="backupPolicyId")
|
975
|
+
@_utilities.deprecated("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
979
976
|
def backup_policy_id(self) -> pulumi.Output[str]:
|
980
977
|
"""
|
981
978
|
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.
|
982
979
|
"""
|
983
|
-
warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning)
|
984
|
-
pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
985
|
-
|
986
980
|
return pulumi.get(self, "backup_policy_id")
|
987
981
|
|
988
982
|
@property
|
@@ -125,10 +125,8 @@ class GetBootVolumeResult:
|
|
125
125
|
|
126
126
|
@property
|
127
127
|
@pulumi.getter(name="backupPolicyId")
|
128
|
+
@_utilities.deprecated("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
128
129
|
def backup_policy_id(self) -> str:
|
129
|
-
warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning)
|
130
|
-
pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
131
|
-
|
132
130
|
return pulumi.get(self, "backup_policy_id")
|
133
131
|
|
134
132
|
@property
|
pulumi_oci/core/get_instance.py
CHANGED
@@ -280,13 +280,11 @@ class GetInstanceResult:
|
|
280
280
|
|
281
281
|
@property
|
282
282
|
@pulumi.getter(name="hostnameLabel")
|
283
|
+
@_utilities.deprecated("""The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""")
|
283
284
|
def hostname_label(self) -> str:
|
284
285
|
"""
|
285
286
|
The hostname for the instance VNIC's primary private IP.
|
286
287
|
"""
|
287
|
-
warnings.warn("""The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""", DeprecationWarning)
|
288
|
-
pulumi.log.warn("""hostname_label is deprecated: The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""")
|
289
|
-
|
290
288
|
return pulumi.get(self, "hostname_label")
|
291
289
|
|
292
290
|
@property
|
@@ -299,13 +297,11 @@ class GetInstanceResult:
|
|
299
297
|
|
300
298
|
@property
|
301
299
|
@pulumi.getter
|
300
|
+
@_utilities.deprecated("""The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""")
|
302
301
|
def image(self) -> str:
|
303
302
|
"""
|
304
303
|
Deprecated. Use `sourceDetails` instead.
|
305
304
|
"""
|
306
|
-
warnings.warn("""The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""", DeprecationWarning)
|
307
|
-
pulumi.log.warn("""image is deprecated: The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""")
|
308
|
-
|
309
305
|
return pulumi.get(self, "image")
|
310
306
|
|
311
307
|
@property
|
@@ -470,10 +466,8 @@ class GetInstanceResult:
|
|
470
466
|
|
471
467
|
@property
|
472
468
|
@pulumi.getter(name="subnetId")
|
469
|
+
@_utilities.deprecated("""The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""")
|
473
470
|
def subnet_id(self) -> str:
|
474
|
-
warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""", DeprecationWarning)
|
475
|
-
pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""")
|
476
|
-
|
477
471
|
return pulumi.get(self, "subnet_id")
|
478
472
|
|
479
473
|
@property
|
@@ -140,13 +140,11 @@ class GetVirtualCircuitResult:
|
|
140
140
|
|
141
141
|
@property
|
142
142
|
@pulumi.getter(name="bgpManagement")
|
143
|
+
@_utilities.deprecated("""The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.""")
|
143
144
|
def bgp_management(self) -> str:
|
144
145
|
"""
|
145
146
|
Deprecated. Instead use the information in [FastConnectProviderService](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/FastConnectProviderService/).
|
146
147
|
"""
|
147
|
-
warnings.warn("""The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.""", DeprecationWarning)
|
148
|
-
pulumi.log.warn("""bgp_management is deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.""")
|
149
|
-
|
150
148
|
return pulumi.get(self, "bgp_management")
|
151
149
|
|
152
150
|
@property
|
@@ -183,13 +181,11 @@ class GetVirtualCircuitResult:
|
|
183
181
|
|
184
182
|
@property
|
185
183
|
@pulumi.getter(name="customerBgpAsn")
|
184
|
+
@_utilities.deprecated("""The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""")
|
186
185
|
def customer_bgp_asn(self) -> int:
|
187
186
|
"""
|
188
187
|
Deprecated. Instead use `customerAsn`. If you specify values for both, the request will be rejected.
|
189
188
|
"""
|
190
|
-
warnings.warn("""The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""", DeprecationWarning)
|
191
|
-
pulumi.log.warn("""customer_bgp_asn is deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""")
|
192
|
-
|
193
189
|
return pulumi.get(self, "customer_bgp_asn")
|
194
190
|
|
195
191
|
@property
|
pulumi_oci/core/get_volume.py
CHANGED
@@ -125,10 +125,8 @@ class GetVolumeResult:
|
|
125
125
|
|
126
126
|
@property
|
127
127
|
@pulumi.getter(name="backupPolicyId")
|
128
|
+
@_utilities.deprecated("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
128
129
|
def backup_policy_id(self) -> str:
|
129
|
-
warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning)
|
130
|
-
pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""")
|
131
|
-
|
132
130
|
return pulumi.get(self, "backup_policy_id")
|
133
131
|
|
134
132
|
@property
|
@@ -226,13 +224,11 @@ class GetVolumeResult:
|
|
226
224
|
|
227
225
|
@property
|
228
226
|
@pulumi.getter(name="sizeInMbs")
|
227
|
+
@_utilities.deprecated("""The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""")
|
229
228
|
def size_in_mbs(self) -> str:
|
230
229
|
"""
|
231
230
|
The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
|
232
231
|
"""
|
233
|
-
warnings.warn("""The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""", DeprecationWarning)
|
234
|
-
pulumi.log.warn("""size_in_mbs is deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""")
|
235
|
-
|
236
232
|
return pulumi.get(self, "size_in_mbs")
|
237
233
|
|
238
234
|
@property
|