pulumi-oci 2.22.0a1737613119__py3-none-any.whl → 2.23.0a1737786272__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 +143 -0
- 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/instance.py +7 -7
- pulumi_oci/core/outputs.py +457 -0
- 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/pulumi-plugin.json +1 -1
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/METADATA +1 -1
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/RECORD +39 -35
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.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/instance.py
CHANGED
@@ -147,7 +147,7 @@ class InstanceArgs:
|
|
147
147
|
For more information about BIOS settings for bare metal instances, see [BIOS Settings for Bare Metal Instances](https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm).
|
148
148
|
:param pulumi.Input['InstancePreemptibleInstanceConfigArgs'] preemptible_instance_config: Configuration options for preemptible instances.
|
149
149
|
:param pulumi.Input[bool] preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
|
150
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security
|
150
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
151
151
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
152
152
|
|
153
153
|
You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
|
@@ -650,7 +650,7 @@ class InstanceArgs:
|
|
650
650
|
@pulumi.getter(name="securityAttributes")
|
651
651
|
def security_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
652
652
|
"""
|
653
|
-
(Updatable) Security
|
653
|
+
(Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
654
654
|
"""
|
655
655
|
return pulumi.get(self, "security_attributes")
|
656
656
|
|
@@ -887,7 +887,7 @@ class _InstanceState:
|
|
887
887
|
:param pulumi.Input[str] private_ip: The private IP address of instance VNIC. To set the private IP address, use the `private_ip` argument in create_vnic_details.
|
888
888
|
:param pulumi.Input[str] public_ip: The public IP address of instance VNIC (if enabled).
|
889
889
|
:param pulumi.Input[str] region: The region that contains the availability domain the instance is running in.
|
890
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security
|
890
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
891
891
|
:param pulumi.Input[str] security_attributes_state: The lifecycle state of the `securityAttributes`
|
892
892
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
893
893
|
|
@@ -1492,7 +1492,7 @@ class _InstanceState:
|
|
1492
1492
|
@pulumi.getter(name="securityAttributes")
|
1493
1493
|
def security_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
1494
1494
|
"""
|
1495
|
-
(Updatable) Security
|
1495
|
+
(Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
1496
1496
|
"""
|
1497
1497
|
return pulumi.get(self, "security_attributes")
|
1498
1498
|
|
@@ -1821,7 +1821,7 @@ class Instance(pulumi.CustomResource):
|
|
1821
1821
|
For more information about BIOS settings for bare metal instances, see [BIOS Settings for Bare Metal Instances](https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm).
|
1822
1822
|
:param pulumi.Input[Union['InstancePreemptibleInstanceConfigArgs', 'InstancePreemptibleInstanceConfigArgsDict']] preemptible_instance_config: Configuration options for preemptible instances.
|
1823
1823
|
:param pulumi.Input[bool] preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified.
|
1824
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security
|
1824
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
1825
1825
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
1826
1826
|
|
1827
1827
|
You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes).
|
@@ -2175,7 +2175,7 @@ class Instance(pulumi.CustomResource):
|
|
2175
2175
|
:param pulumi.Input[str] private_ip: The private IP address of instance VNIC. To set the private IP address, use the `private_ip` argument in create_vnic_details.
|
2176
2176
|
:param pulumi.Input[str] public_ip: The public IP address of instance VNIC (if enabled).
|
2177
2177
|
:param pulumi.Input[str] region: The region that contains the availability domain the instance is running in.
|
2178
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) Security
|
2178
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] security_attributes: (Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
2179
2179
|
:param pulumi.Input[str] security_attributes_state: The lifecycle state of the `securityAttributes`
|
2180
2180
|
:param pulumi.Input[str] shape: (Updatable) The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.
|
2181
2181
|
|
@@ -2590,7 +2590,7 @@ class Instance(pulumi.CustomResource):
|
|
2590
2590
|
@pulumi.getter(name="securityAttributes")
|
2591
2591
|
def security_attributes(self) -> pulumi.Output[Mapping[str, str]]:
|
2592
2592
|
"""
|
2593
|
-
(Updatable) Security
|
2593
|
+
(Updatable) [Security attributes](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.cloud.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) (ZPR) policy to control access to ZPR-supported resources. Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}`
|
2594
2594
|
"""
|
2595
2595
|
return pulumi.get(self, "security_attributes")
|
2596
2596
|
|