pulumi-oci 2.21.0a1736852431__py3-none-any.whl → 2.22.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.
- pulumi_oci/__init__.py +8 -0
- pulumi_oci/bigdataservice/bds_instance_api_key.py +0 -14
- pulumi_oci/bigdataservice/get_bds_instance_api_key.py +0 -2
- pulumi_oci/bigdataservice/outputs.py +0 -4
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +414 -21
- pulumi_oci/core/byoasn.py +595 -0
- pulumi_oci/core/get_byoasn.py +268 -0
- pulumi_oci/core/get_byoasns.py +131 -0
- pulumi_oci/core/get_byoip_range.py +15 -1
- pulumi_oci/core/get_instance.py +15 -1
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/get_private_ip.py +12 -1
- pulumi_oci/core/get_virtual_circuit.py +1 -1
- pulumi_oci/core/get_vnic.py +12 -1
- pulumi_oci/core/instance.py +54 -7
- pulumi_oci/core/instance_configuration.py +16 -0
- pulumi_oci/core/ipv6.py +52 -3
- pulumi_oci/core/outputs.py +1019 -52
- pulumi_oci/core/private_ip.py +49 -0
- pulumi_oci/core/virtual_circuit.py +4 -4
- pulumi_oci/database/_inputs.py +696 -89
- pulumi_oci/database/autonomous_database.py +98 -4
- pulumi_oci/database/autonomous_exadata_infrastructure.py +0 -2
- pulumi_oci/database/autonomous_vm_cluster.py +0 -2
- pulumi_oci/database/cloud_exadata_infrastructure.py +0 -2
- pulumi_oci/database/data_guard_association.py +75 -28
- pulumi_oci/database/database.py +147 -32
- pulumi_oci/database/database_upgrade.py +28 -0
- pulumi_oci/database/exadata_infrastructure.py +0 -2
- pulumi_oci/database/get_autonomous_database.py +30 -2
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_database.py +40 -1
- pulumi_oci/database/outputs.py +994 -114
- pulumi_oci/networkloadbalancer/__init__.py +1 -0
- pulumi_oci/networkloadbalancer/_inputs.py +6 -6
- pulumi_oci/networkloadbalancer/backend.py +7 -7
- pulumi_oci/networkloadbalancer/backend_set.py +105 -7
- pulumi_oci/networkloadbalancer/get_backend_set.py +30 -2
- pulumi_oci/networkloadbalancer/get_network_load_balancer_backend_set_backend_operational_status.py +165 -0
- pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -7
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +105 -7
- pulumi_oci/networkloadbalancer/outputs.py +34 -12
- pulumi_oci/opensearch/_inputs.py +312 -0
- pulumi_oci/opensearch/cluster.py +289 -104
- pulumi_oci/opensearch/get_opensearch_cluster.py +84 -2
- pulumi_oci/opensearch/get_opensearch_clusters.py +1 -1
- pulumi_oci/opensearch/outputs.py +678 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.21.0a1736852431.dist-info → pulumi_oci-2.22.0.dist-info}/METADATA +7 -1
- {pulumi_oci-2.21.0a1736852431.dist-info → pulumi_oci-2.22.0.dist-info}/RECORD +53 -49
- {pulumi_oci-2.21.0a1736852431.dist-info → pulumi_oci-2.22.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.21.0a1736852431.dist-info → pulumi_oci-2.22.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,268 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetByoasnResult',
|
20
|
+
'AwaitableGetByoasnResult',
|
21
|
+
'get_byoasn',
|
22
|
+
'get_byoasn_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetByoasnResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getByoasn.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, asn=None, byoasn_id=None, byoip_ranges=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, state=None, time_created=None, time_updated=None, time_validated=None, validation_token=None):
|
31
|
+
if asn and not isinstance(asn, str):
|
32
|
+
raise TypeError("Expected argument 'asn' to be a str")
|
33
|
+
pulumi.set(__self__, "asn", asn)
|
34
|
+
if byoasn_id and not isinstance(byoasn_id, str):
|
35
|
+
raise TypeError("Expected argument 'byoasn_id' to be a str")
|
36
|
+
pulumi.set(__self__, "byoasn_id", byoasn_id)
|
37
|
+
if byoip_ranges and not isinstance(byoip_ranges, list):
|
38
|
+
raise TypeError("Expected argument 'byoip_ranges' to be a list")
|
39
|
+
pulumi.set(__self__, "byoip_ranges", byoip_ranges)
|
40
|
+
if compartment_id and not isinstance(compartment_id, str):
|
41
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
42
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
43
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
44
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
45
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
46
|
+
if display_name and not isinstance(display_name, str):
|
47
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
48
|
+
pulumi.set(__self__, "display_name", display_name)
|
49
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
50
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
51
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
52
|
+
if id and not isinstance(id, str):
|
53
|
+
raise TypeError("Expected argument 'id' to be a str")
|
54
|
+
pulumi.set(__self__, "id", id)
|
55
|
+
if state and not isinstance(state, str):
|
56
|
+
raise TypeError("Expected argument 'state' to be a str")
|
57
|
+
pulumi.set(__self__, "state", state)
|
58
|
+
if time_created and not isinstance(time_created, str):
|
59
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
60
|
+
pulumi.set(__self__, "time_created", time_created)
|
61
|
+
if time_updated and not isinstance(time_updated, str):
|
62
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
63
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
64
|
+
if time_validated and not isinstance(time_validated, str):
|
65
|
+
raise TypeError("Expected argument 'time_validated' to be a str")
|
66
|
+
pulumi.set(__self__, "time_validated", time_validated)
|
67
|
+
if validation_token and not isinstance(validation_token, str):
|
68
|
+
raise TypeError("Expected argument 'validation_token' to be a str")
|
69
|
+
pulumi.set(__self__, "validation_token", validation_token)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def asn(self) -> str:
|
74
|
+
"""
|
75
|
+
The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "asn")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="byoasnId")
|
81
|
+
def byoasn_id(self) -> str:
|
82
|
+
return pulumi.get(self, "byoasn_id")
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="byoipRanges")
|
86
|
+
def byoip_ranges(self) -> Sequence['outputs.GetByoasnByoipRangeResult']:
|
87
|
+
"""
|
88
|
+
The BYOIP Ranges that has the `Byoasn` as origin.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "byoip_ranges")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="compartmentId")
|
94
|
+
def compartment_id(self) -> str:
|
95
|
+
"""
|
96
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "compartment_id")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="definedTags")
|
102
|
+
def defined_tags(self) -> Mapping[str, str]:
|
103
|
+
"""
|
104
|
+
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"}`
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "defined_tags")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="displayName")
|
110
|
+
def display_name(self) -> str:
|
111
|
+
"""
|
112
|
+
A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "display_name")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="freeformTags")
|
118
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
119
|
+
"""
|
120
|
+
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"}`
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "freeform_tags")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def id(self) -> str:
|
127
|
+
"""
|
128
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "id")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter
|
134
|
+
def state(self) -> str:
|
135
|
+
"""
|
136
|
+
The `Byoasn` resource's current state.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "state")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="timeCreated")
|
142
|
+
def time_created(self) -> str:
|
143
|
+
"""
|
144
|
+
The date and time the `Byoasn` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "time_created")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="timeUpdated")
|
150
|
+
def time_updated(self) -> str:
|
151
|
+
"""
|
152
|
+
The date and time the `Byoasn` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "time_updated")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="timeValidated")
|
158
|
+
def time_validated(self) -> str:
|
159
|
+
"""
|
160
|
+
The date and time the `Byoasn` resource was validated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "time_validated")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="validationToken")
|
166
|
+
def validation_token(self) -> str:
|
167
|
+
"""
|
168
|
+
The validation token is an internally-generated ASCII string used in the validation process. See [Importing a Byoasn](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm) for details.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "validation_token")
|
171
|
+
|
172
|
+
|
173
|
+
class AwaitableGetByoasnResult(GetByoasnResult):
|
174
|
+
# pylint: disable=using-constant-test
|
175
|
+
def __await__(self):
|
176
|
+
if False:
|
177
|
+
yield self
|
178
|
+
return GetByoasnResult(
|
179
|
+
asn=self.asn,
|
180
|
+
byoasn_id=self.byoasn_id,
|
181
|
+
byoip_ranges=self.byoip_ranges,
|
182
|
+
compartment_id=self.compartment_id,
|
183
|
+
defined_tags=self.defined_tags,
|
184
|
+
display_name=self.display_name,
|
185
|
+
freeform_tags=self.freeform_tags,
|
186
|
+
id=self.id,
|
187
|
+
state=self.state,
|
188
|
+
time_created=self.time_created,
|
189
|
+
time_updated=self.time_updated,
|
190
|
+
time_validated=self.time_validated,
|
191
|
+
validation_token=self.validation_token)
|
192
|
+
|
193
|
+
|
194
|
+
def get_byoasn(byoasn_id: Optional[str] = None,
|
195
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetByoasnResult:
|
196
|
+
"""
|
197
|
+
This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service.
|
198
|
+
|
199
|
+
Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
200
|
+
|
201
|
+
## Example Usage
|
202
|
+
|
203
|
+
```python
|
204
|
+
import pulumi
|
205
|
+
import pulumi_oci as oci
|
206
|
+
|
207
|
+
test_byoasn = oci.Core.get_byoasn(byoasn_id=test_byoasn_oci_core_byoasn["id"])
|
208
|
+
```
|
209
|
+
|
210
|
+
|
211
|
+
:param str byoasn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource.
|
212
|
+
"""
|
213
|
+
__args__ = dict()
|
214
|
+
__args__['byoasnId'] = byoasn_id
|
215
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
216
|
+
__ret__ = pulumi.runtime.invoke('oci:Core/getByoasn:getByoasn', __args__, opts=opts, typ=GetByoasnResult).value
|
217
|
+
|
218
|
+
return AwaitableGetByoasnResult(
|
219
|
+
asn=pulumi.get(__ret__, 'asn'),
|
220
|
+
byoasn_id=pulumi.get(__ret__, 'byoasn_id'),
|
221
|
+
byoip_ranges=pulumi.get(__ret__, 'byoip_ranges'),
|
222
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
223
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
224
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
225
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
226
|
+
id=pulumi.get(__ret__, 'id'),
|
227
|
+
state=pulumi.get(__ret__, 'state'),
|
228
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
229
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
230
|
+
time_validated=pulumi.get(__ret__, 'time_validated'),
|
231
|
+
validation_token=pulumi.get(__ret__, 'validation_token'))
|
232
|
+
def get_byoasn_output(byoasn_id: Optional[pulumi.Input[str]] = None,
|
233
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetByoasnResult]:
|
234
|
+
"""
|
235
|
+
This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service.
|
236
|
+
|
237
|
+
Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
238
|
+
|
239
|
+
## Example Usage
|
240
|
+
|
241
|
+
```python
|
242
|
+
import pulumi
|
243
|
+
import pulumi_oci as oci
|
244
|
+
|
245
|
+
test_byoasn = oci.Core.get_byoasn(byoasn_id=test_byoasn_oci_core_byoasn["id"])
|
246
|
+
```
|
247
|
+
|
248
|
+
|
249
|
+
:param str byoasn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource.
|
250
|
+
"""
|
251
|
+
__args__ = dict()
|
252
|
+
__args__['byoasnId'] = byoasn_id
|
253
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
254
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Core/getByoasn:getByoasn', __args__, opts=opts, typ=GetByoasnResult)
|
255
|
+
return __ret__.apply(lambda __response__: GetByoasnResult(
|
256
|
+
asn=pulumi.get(__response__, 'asn'),
|
257
|
+
byoasn_id=pulumi.get(__response__, 'byoasn_id'),
|
258
|
+
byoip_ranges=pulumi.get(__response__, 'byoip_ranges'),
|
259
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
260
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
261
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
262
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
263
|
+
id=pulumi.get(__response__, 'id'),
|
264
|
+
state=pulumi.get(__response__, 'state'),
|
265
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
266
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
267
|
+
time_validated=pulumi.get(__response__, 'time_validated'),
|
268
|
+
validation_token=pulumi.get(__response__, 'validation_token')))
|
@@ -0,0 +1,131 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetByoasnsResult',
|
21
|
+
'AwaitableGetByoasnsResult',
|
22
|
+
'get_byoasns',
|
23
|
+
'get_byoasns_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetByoasnsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getByoasns.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, byoasn_collections=None, compartment_id=None, filters=None, id=None):
|
32
|
+
if byoasn_collections and not isinstance(byoasn_collections, list):
|
33
|
+
raise TypeError("Expected argument 'byoasn_collections' to be a list")
|
34
|
+
pulumi.set(__self__, "byoasn_collections", byoasn_collections)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="byoasnCollections")
|
47
|
+
def byoasn_collections(self) -> Sequence['outputs.GetByoasnsByoasnCollectionResult']:
|
48
|
+
"""
|
49
|
+
The list of byoasn_collection.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "byoasn_collections")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="compartmentId")
|
55
|
+
def compartment_id(self) -> str:
|
56
|
+
"""
|
57
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "compartment_id")
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter
|
63
|
+
def filters(self) -> Optional[Sequence['outputs.GetByoasnsFilterResult']]:
|
64
|
+
return pulumi.get(self, "filters")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def id(self) -> str:
|
69
|
+
"""
|
70
|
+
The provider-assigned unique ID for this managed resource.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "id")
|
73
|
+
|
74
|
+
|
75
|
+
class AwaitableGetByoasnsResult(GetByoasnsResult):
|
76
|
+
# pylint: disable=using-constant-test
|
77
|
+
def __await__(self):
|
78
|
+
if False:
|
79
|
+
yield self
|
80
|
+
return GetByoasnsResult(
|
81
|
+
byoasn_collections=self.byoasn_collections,
|
82
|
+
compartment_id=self.compartment_id,
|
83
|
+
filters=self.filters,
|
84
|
+
id=self.id)
|
85
|
+
|
86
|
+
|
87
|
+
def get_byoasns(compartment_id: Optional[str] = None,
|
88
|
+
filters: Optional[Sequence[Union['GetByoasnsFilterArgs', 'GetByoasnsFilterArgsDict']]] = None,
|
89
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetByoasnsResult:
|
90
|
+
"""
|
91
|
+
This data source provides the list of Byoasns in Oracle Cloud Infrastructure Core service.
|
92
|
+
|
93
|
+
Lists the `Byoasn` resources in the specified compartment.
|
94
|
+
You can filter the list using query parameters.
|
95
|
+
|
96
|
+
|
97
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
98
|
+
"""
|
99
|
+
__args__ = dict()
|
100
|
+
__args__['compartmentId'] = compartment_id
|
101
|
+
__args__['filters'] = filters
|
102
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
103
|
+
__ret__ = pulumi.runtime.invoke('oci:Core/getByoasns:getByoasns', __args__, opts=opts, typ=GetByoasnsResult).value
|
104
|
+
|
105
|
+
return AwaitableGetByoasnsResult(
|
106
|
+
byoasn_collections=pulumi.get(__ret__, 'byoasn_collections'),
|
107
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
108
|
+
filters=pulumi.get(__ret__, 'filters'),
|
109
|
+
id=pulumi.get(__ret__, 'id'))
|
110
|
+
def get_byoasns_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
111
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetByoasnsFilterArgs', 'GetByoasnsFilterArgsDict']]]]] = None,
|
112
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetByoasnsResult]:
|
113
|
+
"""
|
114
|
+
This data source provides the list of Byoasns in Oracle Cloud Infrastructure Core service.
|
115
|
+
|
116
|
+
Lists the `Byoasn` resources in the specified compartment.
|
117
|
+
You can filter the list using query parameters.
|
118
|
+
|
119
|
+
|
120
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
121
|
+
"""
|
122
|
+
__args__ = dict()
|
123
|
+
__args__['compartmentId'] = compartment_id
|
124
|
+
__args__['filters'] = filters
|
125
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
126
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Core/getByoasns:getByoasns', __args__, opts=opts, typ=GetByoasnsResult)
|
127
|
+
return __ret__.apply(lambda __response__: GetByoasnsResult(
|
128
|
+
byoasn_collections=pulumi.get(__response__, 'byoasn_collections'),
|
129
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
130
|
+
filters=pulumi.get(__response__, 'filters'),
|
131
|
+
id=pulumi.get(__response__, 'id')))
|
@@ -27,7 +27,7 @@ class GetByoipRangeResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getByoipRange.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, byoip_range_id=None, byoip_range_vcn_ipv6allocations=None, cidr_block=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, ipv6cidr_block=None, lifecycle_details=None, state=None, time_advertised=None, time_created=None, time_validated=None, time_withdrawn=None, validation_token=None):
|
30
|
+
def __init__(__self__, byoip_range_id=None, byoip_range_vcn_ipv6allocations=None, cidr_block=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, ipv6cidr_block=None, lifecycle_details=None, origin_asns=None, state=None, time_advertised=None, time_created=None, time_validated=None, time_withdrawn=None, validation_token=None):
|
31
31
|
if byoip_range_id and not isinstance(byoip_range_id, str):
|
32
32
|
raise TypeError("Expected argument 'byoip_range_id' to be a str")
|
33
33
|
pulumi.set(__self__, "byoip_range_id", byoip_range_id)
|
@@ -58,6 +58,9 @@ class GetByoipRangeResult:
|
|
58
58
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
59
59
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
60
60
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
61
|
+
if origin_asns and not isinstance(origin_asns, list):
|
62
|
+
raise TypeError("Expected argument 'origin_asns' to be a list")
|
63
|
+
pulumi.set(__self__, "origin_asns", origin_asns)
|
61
64
|
if state and not isinstance(state, str):
|
62
65
|
raise TypeError("Expected argument 'state' to be a str")
|
63
66
|
pulumi.set(__self__, "state", state)
|
@@ -157,6 +160,14 @@ class GetByoipRangeResult:
|
|
157
160
|
"""
|
158
161
|
return pulumi.get(self, "lifecycle_details")
|
159
162
|
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="originAsns")
|
165
|
+
def origin_asns(self) -> Sequence['outputs.GetByoipRangeOriginAsnResult']:
|
166
|
+
"""
|
167
|
+
Information about the origin asn.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "origin_asns")
|
170
|
+
|
160
171
|
@property
|
161
172
|
@pulumi.getter
|
162
173
|
def state(self) -> str:
|
@@ -222,6 +233,7 @@ class AwaitableGetByoipRangeResult(GetByoipRangeResult):
|
|
222
233
|
id=self.id,
|
223
234
|
ipv6cidr_block=self.ipv6cidr_block,
|
224
235
|
lifecycle_details=self.lifecycle_details,
|
236
|
+
origin_asns=self.origin_asns,
|
225
237
|
state=self.state,
|
226
238
|
time_advertised=self.time_advertised,
|
227
239
|
time_created=self.time_created,
|
@@ -265,6 +277,7 @@ def get_byoip_range(byoip_range_id: Optional[str] = None,
|
|
265
277
|
id=pulumi.get(__ret__, 'id'),
|
266
278
|
ipv6cidr_block=pulumi.get(__ret__, 'ipv6cidr_block'),
|
267
279
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
280
|
+
origin_asns=pulumi.get(__ret__, 'origin_asns'),
|
268
281
|
state=pulumi.get(__ret__, 'state'),
|
269
282
|
time_advertised=pulumi.get(__ret__, 'time_advertised'),
|
270
283
|
time_created=pulumi.get(__ret__, 'time_created'),
|
@@ -305,6 +318,7 @@ def get_byoip_range_output(byoip_range_id: Optional[pulumi.Input[str]] = None,
|
|
305
318
|
id=pulumi.get(__response__, 'id'),
|
306
319
|
ipv6cidr_block=pulumi.get(__response__, 'ipv6cidr_block'),
|
307
320
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
321
|
+
origin_asns=pulumi.get(__response__, 'origin_asns'),
|
308
322
|
state=pulumi.get(__response__, 'state'),
|
309
323
|
time_advertised=pulumi.get(__response__, 'time_advertised'),
|
310
324
|
time_created=pulumi.get(__response__, 'time_created'),
|
pulumi_oci/core/get_instance.py
CHANGED
@@ -27,7 +27,7 @@ class GetInstanceResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getInstance.
|
29
29
|
"""
|
30
|
-
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, security_attributes=None, security_attributes_state=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):
|
30
|
+
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, licensing_configs=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, security_attributes=None, security_attributes_state=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):
|
31
31
|
if agent_configs and not isinstance(agent_configs, list):
|
32
32
|
raise TypeError("Expected argument 'agent_configs' to be a list")
|
33
33
|
pulumi.set(__self__, "agent_configs", agent_configs)
|
@@ -112,6 +112,9 @@ class GetInstanceResult:
|
|
112
112
|
if launch_volume_attachments and not isinstance(launch_volume_attachments, list):
|
113
113
|
raise TypeError("Expected argument 'launch_volume_attachments' to be a list")
|
114
114
|
pulumi.set(__self__, "launch_volume_attachments", launch_volume_attachments)
|
115
|
+
if licensing_configs and not isinstance(licensing_configs, list):
|
116
|
+
raise TypeError("Expected argument 'licensing_configs' to be a list")
|
117
|
+
pulumi.set(__self__, "licensing_configs", licensing_configs)
|
115
118
|
if metadata and not isinstance(metadata, dict):
|
116
119
|
raise TypeError("Expected argument 'metadata' to be a dict")
|
117
120
|
pulumi.set(__self__, "metadata", metadata)
|
@@ -385,6 +388,14 @@ class GetInstanceResult:
|
|
385
388
|
def launch_volume_attachments(self) -> Sequence['outputs.GetInstanceLaunchVolumeAttachmentResult']:
|
386
389
|
return pulumi.get(self, "launch_volume_attachments")
|
387
390
|
|
391
|
+
@property
|
392
|
+
@pulumi.getter(name="licensingConfigs")
|
393
|
+
def licensing_configs(self) -> Sequence['outputs.GetInstanceLicensingConfigResult']:
|
394
|
+
"""
|
395
|
+
List of licensing configurations associated with the instance.
|
396
|
+
"""
|
397
|
+
return pulumi.get(self, "licensing_configs")
|
398
|
+
|
388
399
|
@property
|
389
400
|
@pulumi.getter
|
390
401
|
def metadata(self) -> Mapping[str, str]:
|
@@ -561,6 +572,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
|
|
561
572
|
launch_mode=self.launch_mode,
|
562
573
|
launch_options=self.launch_options,
|
563
574
|
launch_volume_attachments=self.launch_volume_attachments,
|
575
|
+
licensing_configs=self.licensing_configs,
|
564
576
|
metadata=self.metadata,
|
565
577
|
platform_configs=self.platform_configs,
|
566
578
|
preemptible_instance_configs=self.preemptible_instance_configs,
|
@@ -638,6 +650,7 @@ def get_instance(instance_id: Optional[str] = None,
|
|
638
650
|
launch_mode=pulumi.get(__ret__, 'launch_mode'),
|
639
651
|
launch_options=pulumi.get(__ret__, 'launch_options'),
|
640
652
|
launch_volume_attachments=pulumi.get(__ret__, 'launch_volume_attachments'),
|
653
|
+
licensing_configs=pulumi.get(__ret__, 'licensing_configs'),
|
641
654
|
metadata=pulumi.get(__ret__, 'metadata'),
|
642
655
|
platform_configs=pulumi.get(__ret__, 'platform_configs'),
|
643
656
|
preemptible_instance_configs=pulumi.get(__ret__, 'preemptible_instance_configs'),
|
@@ -712,6 +725,7 @@ def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
|
|
712
725
|
launch_mode=pulumi.get(__response__, 'launch_mode'),
|
713
726
|
launch_options=pulumi.get(__response__, 'launch_options'),
|
714
727
|
launch_volume_attachments=pulumi.get(__response__, 'launch_volume_attachments'),
|
728
|
+
licensing_configs=pulumi.get(__response__, 'licensing_configs'),
|
715
729
|
metadata=pulumi.get(__response__, 'metadata'),
|
716
730
|
platform_configs=pulumi.get(__response__, 'platform_configs'),
|
717
731
|
preemptible_instance_configs=pulumi.get(__response__, 'preemptible_instance_configs'),
|
pulumi_oci/core/get_ipv6.py
CHANGED
@@ -26,7 +26,7 @@ class GetIpv6Result:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getIpv6.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, ip_address=None, ipv6id=None, ipv6subnet_cidr=None, state=None, subnet_id=None, time_created=None, vnic_id=None):
|
29
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, ip_address=None, ipv6id=None, ipv6subnet_cidr=None, route_table_id=None, state=None, subnet_id=None, time_created=None, vnic_id=None):
|
30
30
|
if compartment_id and not isinstance(compartment_id, str):
|
31
31
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
32
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -51,6 +51,9 @@ class GetIpv6Result:
|
|
51
51
|
if ipv6subnet_cidr and not isinstance(ipv6subnet_cidr, str):
|
52
52
|
raise TypeError("Expected argument 'ipv6subnet_cidr' to be a str")
|
53
53
|
pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr)
|
54
|
+
if route_table_id and not isinstance(route_table_id, str):
|
55
|
+
raise TypeError("Expected argument 'route_table_id' to be a str")
|
56
|
+
pulumi.set(__self__, "route_table_id", route_table_id)
|
54
57
|
if state and not isinstance(state, str):
|
55
58
|
raise TypeError("Expected argument 'state' to be a str")
|
56
59
|
pulumi.set(__self__, "state", state)
|
@@ -122,6 +125,14 @@ class GetIpv6Result:
|
|
122
125
|
def ipv6subnet_cidr(self) -> str:
|
123
126
|
return pulumi.get(self, "ipv6subnet_cidr")
|
124
127
|
|
128
|
+
@property
|
129
|
+
@pulumi.getter(name="routeTableId")
|
130
|
+
def route_table_id(self) -> str:
|
131
|
+
"""
|
132
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the PrivateIp will use.
|
133
|
+
"""
|
134
|
+
return pulumi.get(self, "route_table_id")
|
135
|
+
|
125
136
|
@property
|
126
137
|
@pulumi.getter
|
127
138
|
def state(self) -> str:
|
@@ -169,6 +180,7 @@ class AwaitableGetIpv6Result(GetIpv6Result):
|
|
169
180
|
ip_address=self.ip_address,
|
170
181
|
ipv6id=self.ipv6id,
|
171
182
|
ipv6subnet_cidr=self.ipv6subnet_cidr,
|
183
|
+
route_table_id=self.route_table_id,
|
172
184
|
state=self.state,
|
173
185
|
subnet_id=self.subnet_id,
|
174
186
|
time_created=self.time_created,
|
@@ -211,6 +223,7 @@ def get_ipv6(ipv6id: Optional[str] = None,
|
|
211
223
|
ip_address=pulumi.get(__ret__, 'ip_address'),
|
212
224
|
ipv6id=pulumi.get(__ret__, 'ipv6id'),
|
213
225
|
ipv6subnet_cidr=pulumi.get(__ret__, 'ipv6subnet_cidr'),
|
226
|
+
route_table_id=pulumi.get(__ret__, 'route_table_id'),
|
214
227
|
state=pulumi.get(__ret__, 'state'),
|
215
228
|
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
216
229
|
time_created=pulumi.get(__ret__, 'time_created'),
|
@@ -250,6 +263,7 @@ def get_ipv6_output(ipv6id: Optional[pulumi.Input[str]] = None,
|
|
250
263
|
ip_address=pulumi.get(__response__, 'ip_address'),
|
251
264
|
ipv6id=pulumi.get(__response__, 'ipv6id'),
|
252
265
|
ipv6subnet_cidr=pulumi.get(__response__, 'ipv6subnet_cidr'),
|
266
|
+
route_table_id=pulumi.get(__response__, 'route_table_id'),
|
253
267
|
state=pulumi.get(__response__, 'state'),
|
254
268
|
subnet_id=pulumi.get(__response__, 'subnet_id'),
|
255
269
|
time_created=pulumi.get(__response__, 'time_created'),
|
@@ -26,7 +26,7 @@ class GetPrivateIpResult:
|
|
26
26
|
"""
|
27
27
|
A collection of values returned by getPrivateIp.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, hostname_label=None, id=None, ip_address=None, is_primary=None, is_reserved=None, private_ip_id=None, subnet_id=None, time_created=None, vlan_id=None, vnic_id=None):
|
29
|
+
def __init__(__self__, availability_domain=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, hostname_label=None, id=None, ip_address=None, is_primary=None, is_reserved=None, private_ip_id=None, route_table_id=None, subnet_id=None, time_created=None, vlan_id=None, vnic_id=None):
|
30
30
|
if availability_domain and not isinstance(availability_domain, str):
|
31
31
|
raise TypeError("Expected argument 'availability_domain' to be a str")
|
32
32
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -60,6 +60,9 @@ class GetPrivateIpResult:
|
|
60
60
|
if private_ip_id and not isinstance(private_ip_id, str):
|
61
61
|
raise TypeError("Expected argument 'private_ip_id' to be a str")
|
62
62
|
pulumi.set(__self__, "private_ip_id", private_ip_id)
|
63
|
+
if route_table_id and not isinstance(route_table_id, str):
|
64
|
+
raise TypeError("Expected argument 'route_table_id' to be a str")
|
65
|
+
pulumi.set(__self__, "route_table_id", route_table_id)
|
63
66
|
if subnet_id and not isinstance(subnet_id, str):
|
64
67
|
raise TypeError("Expected argument 'subnet_id' to be a str")
|
65
68
|
pulumi.set(__self__, "subnet_id", subnet_id)
|
@@ -158,6 +161,11 @@ class GetPrivateIpResult:
|
|
158
161
|
def private_ip_id(self) -> str:
|
159
162
|
return pulumi.get(self, "private_ip_id")
|
160
163
|
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="routeTableId")
|
166
|
+
def route_table_id(self) -> str:
|
167
|
+
return pulumi.get(self, "route_table_id")
|
168
|
+
|
161
169
|
@property
|
162
170
|
@pulumi.getter(name="subnetId")
|
163
171
|
def subnet_id(self) -> str:
|
@@ -208,6 +216,7 @@ class AwaitableGetPrivateIpResult(GetPrivateIpResult):
|
|
208
216
|
is_primary=self.is_primary,
|
209
217
|
is_reserved=self.is_reserved,
|
210
218
|
private_ip_id=self.private_ip_id,
|
219
|
+
route_table_id=self.route_table_id,
|
211
220
|
subnet_id=self.subnet_id,
|
212
221
|
time_created=self.time_created,
|
213
222
|
vlan_id=self.vlan_id,
|
@@ -253,6 +262,7 @@ def get_private_ip(private_ip_id: Optional[str] = None,
|
|
253
262
|
is_primary=pulumi.get(__ret__, 'is_primary'),
|
254
263
|
is_reserved=pulumi.get(__ret__, 'is_reserved'),
|
255
264
|
private_ip_id=pulumi.get(__ret__, 'private_ip_id'),
|
265
|
+
route_table_id=pulumi.get(__ret__, 'route_table_id'),
|
256
266
|
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
257
267
|
time_created=pulumi.get(__ret__, 'time_created'),
|
258
268
|
vlan_id=pulumi.get(__ret__, 'vlan_id'),
|
@@ -295,6 +305,7 @@ def get_private_ip_output(private_ip_id: Optional[pulumi.Input[str]] = None,
|
|
295
305
|
is_primary=pulumi.get(__response__, 'is_primary'),
|
296
306
|
is_reserved=pulumi.get(__response__, 'is_reserved'),
|
297
307
|
private_ip_id=pulumi.get(__response__, 'private_ip_id'),
|
308
|
+
route_table_id=pulumi.get(__response__, 'route_table_id'),
|
298
309
|
subnet_id=pulumi.get(__response__, 'subnet_id'),
|
299
310
|
time_created=pulumi.get(__response__, 'time_created'),
|
300
311
|
vlan_id=pulumi.get(__response__, 'vlan_id'),
|
@@ -365,7 +365,7 @@ class GetVirtualCircuitResult:
|
|
365
365
|
@pulumi.getter(name="virtualCircuitRedundancyMetadatas")
|
366
366
|
def virtual_circuit_redundancy_metadatas(self) -> Sequence['outputs.GetVirtualCircuitVirtualCircuitRedundancyMetadataResult']:
|
367
367
|
"""
|
368
|
-
|
368
|
+
This resource provides redundancy level details for the virtual circuit. For more about redundancy, see [FastConnect Redundancy Best Practices](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnectresiliency.htm).
|
369
369
|
"""
|
370
370
|
return pulumi.get(self, "virtual_circuit_redundancy_metadatas")
|
371
371
|
|