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,595 @@
|
|
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__ = ['ByoasnArgs', 'Byoasn']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class ByoasnArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
asn: pulumi.Input[str],
|
25
|
+
compartment_id: pulumi.Input[str],
|
26
|
+
display_name: pulumi.Input[str],
|
27
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a Byoasn resource.
|
31
|
+
:param pulumi.Input[str] asn: The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
32
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
33
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
34
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
36
|
+
|
37
|
+
|
38
|
+
** IMPORTANT **
|
39
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
40
|
+
"""
|
41
|
+
pulumi.set(__self__, "asn", asn)
|
42
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if defined_tags is not None:
|
45
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
46
|
+
if freeform_tags is not None:
|
47
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def asn(self) -> pulumi.Input[str]:
|
52
|
+
"""
|
53
|
+
The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "asn")
|
56
|
+
|
57
|
+
@asn.setter
|
58
|
+
def asn(self, value: pulumi.Input[str]):
|
59
|
+
pulumi.set(self, "asn", value)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="compartmentId")
|
63
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
64
|
+
"""
|
65
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "compartment_id")
|
68
|
+
|
69
|
+
@compartment_id.setter
|
70
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
71
|
+
pulumi.set(self, "compartment_id", value)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="displayName")
|
75
|
+
def display_name(self) -> pulumi.Input[str]:
|
76
|
+
"""
|
77
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "display_name")
|
80
|
+
|
81
|
+
@display_name.setter
|
82
|
+
def display_name(self, value: pulumi.Input[str]):
|
83
|
+
pulumi.set(self, "display_name", value)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter(name="definedTags")
|
87
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
88
|
+
"""
|
89
|
+
(Updatable) 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"}`
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "defined_tags")
|
92
|
+
|
93
|
+
@defined_tags.setter
|
94
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
95
|
+
pulumi.set(self, "defined_tags", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="freeformTags")
|
99
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
100
|
+
"""
|
101
|
+
(Updatable) 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"}`
|
102
|
+
|
103
|
+
|
104
|
+
** IMPORTANT **
|
105
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "freeform_tags")
|
108
|
+
|
109
|
+
@freeform_tags.setter
|
110
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
111
|
+
pulumi.set(self, "freeform_tags", value)
|
112
|
+
|
113
|
+
|
114
|
+
@pulumi.input_type
|
115
|
+
class _ByoasnState:
|
116
|
+
def __init__(__self__, *,
|
117
|
+
asn: Optional[pulumi.Input[str]] = None,
|
118
|
+
byoip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input['ByoasnByoipRangeArgs']]]] = None,
|
119
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
120
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
121
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
122
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
123
|
+
state: Optional[pulumi.Input[str]] = None,
|
124
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
125
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
126
|
+
time_validated: Optional[pulumi.Input[str]] = None,
|
127
|
+
validation_token: Optional[pulumi.Input[str]] = None):
|
128
|
+
"""
|
129
|
+
Input properties used for looking up and filtering Byoasn resources.
|
130
|
+
:param pulumi.Input[str] asn: The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
131
|
+
:param pulumi.Input[Sequence[pulumi.Input['ByoasnByoipRangeArgs']]] byoip_ranges: The BYOIP Ranges that has the `Byoasn` as origin.
|
132
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
133
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
134
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
135
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
136
|
+
|
137
|
+
|
138
|
+
** IMPORTANT **
|
139
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
140
|
+
:param pulumi.Input[str] state: The `Byoasn` resource's current state.
|
141
|
+
:param pulumi.Input[str] time_created: 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`
|
142
|
+
:param pulumi.Input[str] time_updated: 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`
|
143
|
+
:param pulumi.Input[str] time_validated: 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`
|
144
|
+
:param pulumi.Input[str] validation_token: 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.
|
145
|
+
"""
|
146
|
+
if asn is not None:
|
147
|
+
pulumi.set(__self__, "asn", asn)
|
148
|
+
if byoip_ranges is not None:
|
149
|
+
pulumi.set(__self__, "byoip_ranges", byoip_ranges)
|
150
|
+
if compartment_id is not None:
|
151
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
152
|
+
if defined_tags is not None:
|
153
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
154
|
+
if display_name is not None:
|
155
|
+
pulumi.set(__self__, "display_name", display_name)
|
156
|
+
if freeform_tags is not None:
|
157
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
158
|
+
if state is not None:
|
159
|
+
pulumi.set(__self__, "state", state)
|
160
|
+
if time_created is not None:
|
161
|
+
pulumi.set(__self__, "time_created", time_created)
|
162
|
+
if time_updated is not None:
|
163
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
164
|
+
if time_validated is not None:
|
165
|
+
pulumi.set(__self__, "time_validated", time_validated)
|
166
|
+
if validation_token is not None:
|
167
|
+
pulumi.set(__self__, "validation_token", validation_token)
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter
|
171
|
+
def asn(self) -> Optional[pulumi.Input[str]]:
|
172
|
+
"""
|
173
|
+
The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "asn")
|
176
|
+
|
177
|
+
@asn.setter
|
178
|
+
def asn(self, value: Optional[pulumi.Input[str]]):
|
179
|
+
pulumi.set(self, "asn", value)
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter(name="byoipRanges")
|
183
|
+
def byoip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ByoasnByoipRangeArgs']]]]:
|
184
|
+
"""
|
185
|
+
The BYOIP Ranges that has the `Byoasn` as origin.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "byoip_ranges")
|
188
|
+
|
189
|
+
@byoip_ranges.setter
|
190
|
+
def byoip_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ByoasnByoipRangeArgs']]]]):
|
191
|
+
pulumi.set(self, "byoip_ranges", value)
|
192
|
+
|
193
|
+
@property
|
194
|
+
@pulumi.getter(name="compartmentId")
|
195
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
196
|
+
"""
|
197
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "compartment_id")
|
200
|
+
|
201
|
+
@compartment_id.setter
|
202
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
203
|
+
pulumi.set(self, "compartment_id", value)
|
204
|
+
|
205
|
+
@property
|
206
|
+
@pulumi.getter(name="definedTags")
|
207
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
208
|
+
"""
|
209
|
+
(Updatable) 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"}`
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "defined_tags")
|
212
|
+
|
213
|
+
@defined_tags.setter
|
214
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
215
|
+
pulumi.set(self, "defined_tags", value)
|
216
|
+
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="displayName")
|
219
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
220
|
+
"""
|
221
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "display_name")
|
224
|
+
|
225
|
+
@display_name.setter
|
226
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
227
|
+
pulumi.set(self, "display_name", value)
|
228
|
+
|
229
|
+
@property
|
230
|
+
@pulumi.getter(name="freeformTags")
|
231
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
232
|
+
"""
|
233
|
+
(Updatable) 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"}`
|
234
|
+
|
235
|
+
|
236
|
+
** IMPORTANT **
|
237
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "freeform_tags")
|
240
|
+
|
241
|
+
@freeform_tags.setter
|
242
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
243
|
+
pulumi.set(self, "freeform_tags", value)
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter
|
247
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
248
|
+
"""
|
249
|
+
The `Byoasn` resource's current state.
|
250
|
+
"""
|
251
|
+
return pulumi.get(self, "state")
|
252
|
+
|
253
|
+
@state.setter
|
254
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
255
|
+
pulumi.set(self, "state", value)
|
256
|
+
|
257
|
+
@property
|
258
|
+
@pulumi.getter(name="timeCreated")
|
259
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
260
|
+
"""
|
261
|
+
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`
|
262
|
+
"""
|
263
|
+
return pulumi.get(self, "time_created")
|
264
|
+
|
265
|
+
@time_created.setter
|
266
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
267
|
+
pulumi.set(self, "time_created", value)
|
268
|
+
|
269
|
+
@property
|
270
|
+
@pulumi.getter(name="timeUpdated")
|
271
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
272
|
+
"""
|
273
|
+
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`
|
274
|
+
"""
|
275
|
+
return pulumi.get(self, "time_updated")
|
276
|
+
|
277
|
+
@time_updated.setter
|
278
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
279
|
+
pulumi.set(self, "time_updated", value)
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter(name="timeValidated")
|
283
|
+
def time_validated(self) -> Optional[pulumi.Input[str]]:
|
284
|
+
"""
|
285
|
+
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`
|
286
|
+
"""
|
287
|
+
return pulumi.get(self, "time_validated")
|
288
|
+
|
289
|
+
@time_validated.setter
|
290
|
+
def time_validated(self, value: Optional[pulumi.Input[str]]):
|
291
|
+
pulumi.set(self, "time_validated", value)
|
292
|
+
|
293
|
+
@property
|
294
|
+
@pulumi.getter(name="validationToken")
|
295
|
+
def validation_token(self) -> Optional[pulumi.Input[str]]:
|
296
|
+
"""
|
297
|
+
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.
|
298
|
+
"""
|
299
|
+
return pulumi.get(self, "validation_token")
|
300
|
+
|
301
|
+
@validation_token.setter
|
302
|
+
def validation_token(self, value: Optional[pulumi.Input[str]]):
|
303
|
+
pulumi.set(self, "validation_token", value)
|
304
|
+
|
305
|
+
|
306
|
+
class Byoasn(pulumi.CustomResource):
|
307
|
+
@overload
|
308
|
+
def __init__(__self__,
|
309
|
+
resource_name: str,
|
310
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
311
|
+
asn: Optional[pulumi.Input[str]] = None,
|
312
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
313
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
314
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
315
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
316
|
+
__props__=None):
|
317
|
+
"""
|
318
|
+
This resource provides the Byoasn resource in Oracle Cloud Infrastructure Core service.
|
319
|
+
|
320
|
+
Creates a BYOASN Resource
|
321
|
+
|
322
|
+
## Example Usage
|
323
|
+
|
324
|
+
```python
|
325
|
+
import pulumi
|
326
|
+
import pulumi_oci as oci
|
327
|
+
|
328
|
+
test_byoasn = oci.core.Byoasn("test_byoasn",
|
329
|
+
asn=byoasn_asn,
|
330
|
+
compartment_id=compartment_id,
|
331
|
+
display_name=byoasn_display_name,
|
332
|
+
defined_tags={
|
333
|
+
"Operations.CostCenter": "42",
|
334
|
+
},
|
335
|
+
freeform_tags={
|
336
|
+
"Department": "Finance",
|
337
|
+
})
|
338
|
+
```
|
339
|
+
|
340
|
+
## Import
|
341
|
+
|
342
|
+
Byoasns can be imported using the `id`, e.g.
|
343
|
+
|
344
|
+
```sh
|
345
|
+
$ pulumi import oci:Core/byoasn:Byoasn test_byoasn "id"
|
346
|
+
```
|
347
|
+
|
348
|
+
:param str resource_name: The name of the resource.
|
349
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
350
|
+
:param pulumi.Input[str] asn: The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
351
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
352
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
353
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
354
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
355
|
+
|
356
|
+
|
357
|
+
** IMPORTANT **
|
358
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
359
|
+
"""
|
360
|
+
...
|
361
|
+
@overload
|
362
|
+
def __init__(__self__,
|
363
|
+
resource_name: str,
|
364
|
+
args: ByoasnArgs,
|
365
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
366
|
+
"""
|
367
|
+
This resource provides the Byoasn resource in Oracle Cloud Infrastructure Core service.
|
368
|
+
|
369
|
+
Creates a BYOASN Resource
|
370
|
+
|
371
|
+
## Example Usage
|
372
|
+
|
373
|
+
```python
|
374
|
+
import pulumi
|
375
|
+
import pulumi_oci as oci
|
376
|
+
|
377
|
+
test_byoasn = oci.core.Byoasn("test_byoasn",
|
378
|
+
asn=byoasn_asn,
|
379
|
+
compartment_id=compartment_id,
|
380
|
+
display_name=byoasn_display_name,
|
381
|
+
defined_tags={
|
382
|
+
"Operations.CostCenter": "42",
|
383
|
+
},
|
384
|
+
freeform_tags={
|
385
|
+
"Department": "Finance",
|
386
|
+
})
|
387
|
+
```
|
388
|
+
|
389
|
+
## Import
|
390
|
+
|
391
|
+
Byoasns can be imported using the `id`, e.g.
|
392
|
+
|
393
|
+
```sh
|
394
|
+
$ pulumi import oci:Core/byoasn:Byoasn test_byoasn "id"
|
395
|
+
```
|
396
|
+
|
397
|
+
:param str resource_name: The name of the resource.
|
398
|
+
:param ByoasnArgs args: The arguments to use to populate this resource's properties.
|
399
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
400
|
+
"""
|
401
|
+
...
|
402
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
403
|
+
resource_args, opts = _utilities.get_resource_args_opts(ByoasnArgs, pulumi.ResourceOptions, *args, **kwargs)
|
404
|
+
if resource_args is not None:
|
405
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
406
|
+
else:
|
407
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
408
|
+
|
409
|
+
def _internal_init(__self__,
|
410
|
+
resource_name: str,
|
411
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
412
|
+
asn: Optional[pulumi.Input[str]] = None,
|
413
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
414
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
415
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
416
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
417
|
+
__props__=None):
|
418
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
419
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
420
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
421
|
+
if opts.id is None:
|
422
|
+
if __props__ is not None:
|
423
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
424
|
+
__props__ = ByoasnArgs.__new__(ByoasnArgs)
|
425
|
+
|
426
|
+
if asn is None and not opts.urn:
|
427
|
+
raise TypeError("Missing required property 'asn'")
|
428
|
+
__props__.__dict__["asn"] = asn
|
429
|
+
if compartment_id is None and not opts.urn:
|
430
|
+
raise TypeError("Missing required property 'compartment_id'")
|
431
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
432
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
433
|
+
if display_name is None and not opts.urn:
|
434
|
+
raise TypeError("Missing required property 'display_name'")
|
435
|
+
__props__.__dict__["display_name"] = display_name
|
436
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
437
|
+
__props__.__dict__["byoip_ranges"] = None
|
438
|
+
__props__.__dict__["state"] = None
|
439
|
+
__props__.__dict__["time_created"] = None
|
440
|
+
__props__.__dict__["time_updated"] = None
|
441
|
+
__props__.__dict__["time_validated"] = None
|
442
|
+
__props__.__dict__["validation_token"] = None
|
443
|
+
super(Byoasn, __self__).__init__(
|
444
|
+
'oci:Core/byoasn:Byoasn',
|
445
|
+
resource_name,
|
446
|
+
__props__,
|
447
|
+
opts)
|
448
|
+
|
449
|
+
@staticmethod
|
450
|
+
def get(resource_name: str,
|
451
|
+
id: pulumi.Input[str],
|
452
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
453
|
+
asn: Optional[pulumi.Input[str]] = None,
|
454
|
+
byoip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ByoasnByoipRangeArgs', 'ByoasnByoipRangeArgsDict']]]]] = None,
|
455
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
456
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
457
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
458
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
459
|
+
state: Optional[pulumi.Input[str]] = None,
|
460
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
461
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
462
|
+
time_validated: Optional[pulumi.Input[str]] = None,
|
463
|
+
validation_token: Optional[pulumi.Input[str]] = None) -> 'Byoasn':
|
464
|
+
"""
|
465
|
+
Get an existing Byoasn resource's state with the given name, id, and optional extra
|
466
|
+
properties used to qualify the lookup.
|
467
|
+
|
468
|
+
:param str resource_name: The unique name of the resulting resource.
|
469
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
470
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
471
|
+
:param pulumi.Input[str] asn: The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
472
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ByoasnByoipRangeArgs', 'ByoasnByoipRangeArgsDict']]]] byoip_ranges: The BYOIP Ranges that has the `Byoasn` as origin.
|
473
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
474
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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"}`
|
475
|
+
:param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
476
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
477
|
+
|
478
|
+
|
479
|
+
** IMPORTANT **
|
480
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
481
|
+
:param pulumi.Input[str] state: The `Byoasn` resource's current state.
|
482
|
+
:param pulumi.Input[str] time_created: 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`
|
483
|
+
:param pulumi.Input[str] time_updated: 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`
|
484
|
+
:param pulumi.Input[str] time_validated: 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`
|
485
|
+
:param pulumi.Input[str] validation_token: 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.
|
486
|
+
"""
|
487
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
488
|
+
|
489
|
+
__props__ = _ByoasnState.__new__(_ByoasnState)
|
490
|
+
|
491
|
+
__props__.__dict__["asn"] = asn
|
492
|
+
__props__.__dict__["byoip_ranges"] = byoip_ranges
|
493
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
494
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
495
|
+
__props__.__dict__["display_name"] = display_name
|
496
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
497
|
+
__props__.__dict__["state"] = state
|
498
|
+
__props__.__dict__["time_created"] = time_created
|
499
|
+
__props__.__dict__["time_updated"] = time_updated
|
500
|
+
__props__.__dict__["time_validated"] = time_validated
|
501
|
+
__props__.__dict__["validation_token"] = validation_token
|
502
|
+
return Byoasn(resource_name, opts=opts, __props__=__props__)
|
503
|
+
|
504
|
+
@property
|
505
|
+
@pulumi.getter
|
506
|
+
def asn(self) -> pulumi.Output[str]:
|
507
|
+
"""
|
508
|
+
The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
509
|
+
"""
|
510
|
+
return pulumi.get(self, "asn")
|
511
|
+
|
512
|
+
@property
|
513
|
+
@pulumi.getter(name="byoipRanges")
|
514
|
+
def byoip_ranges(self) -> pulumi.Output[Sequence['outputs.ByoasnByoipRange']]:
|
515
|
+
"""
|
516
|
+
The BYOIP Ranges that has the `Byoasn` as origin.
|
517
|
+
"""
|
518
|
+
return pulumi.get(self, "byoip_ranges")
|
519
|
+
|
520
|
+
@property
|
521
|
+
@pulumi.getter(name="compartmentId")
|
522
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
523
|
+
"""
|
524
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
525
|
+
"""
|
526
|
+
return pulumi.get(self, "compartment_id")
|
527
|
+
|
528
|
+
@property
|
529
|
+
@pulumi.getter(name="definedTags")
|
530
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
531
|
+
"""
|
532
|
+
(Updatable) 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"}`
|
533
|
+
"""
|
534
|
+
return pulumi.get(self, "defined_tags")
|
535
|
+
|
536
|
+
@property
|
537
|
+
@pulumi.getter(name="displayName")
|
538
|
+
def display_name(self) -> pulumi.Output[str]:
|
539
|
+
"""
|
540
|
+
(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
541
|
+
"""
|
542
|
+
return pulumi.get(self, "display_name")
|
543
|
+
|
544
|
+
@property
|
545
|
+
@pulumi.getter(name="freeformTags")
|
546
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
547
|
+
"""
|
548
|
+
(Updatable) 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"}`
|
549
|
+
|
550
|
+
|
551
|
+
** IMPORTANT **
|
552
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
553
|
+
"""
|
554
|
+
return pulumi.get(self, "freeform_tags")
|
555
|
+
|
556
|
+
@property
|
557
|
+
@pulumi.getter
|
558
|
+
def state(self) -> pulumi.Output[str]:
|
559
|
+
"""
|
560
|
+
The `Byoasn` resource's current state.
|
561
|
+
"""
|
562
|
+
return pulumi.get(self, "state")
|
563
|
+
|
564
|
+
@property
|
565
|
+
@pulumi.getter(name="timeCreated")
|
566
|
+
def time_created(self) -> pulumi.Output[str]:
|
567
|
+
"""
|
568
|
+
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`
|
569
|
+
"""
|
570
|
+
return pulumi.get(self, "time_created")
|
571
|
+
|
572
|
+
@property
|
573
|
+
@pulumi.getter(name="timeUpdated")
|
574
|
+
def time_updated(self) -> pulumi.Output[str]:
|
575
|
+
"""
|
576
|
+
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`
|
577
|
+
"""
|
578
|
+
return pulumi.get(self, "time_updated")
|
579
|
+
|
580
|
+
@property
|
581
|
+
@pulumi.getter(name="timeValidated")
|
582
|
+
def time_validated(self) -> pulumi.Output[str]:
|
583
|
+
"""
|
584
|
+
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`
|
585
|
+
"""
|
586
|
+
return pulumi.get(self, "time_validated")
|
587
|
+
|
588
|
+
@property
|
589
|
+
@pulumi.getter(name="validationToken")
|
590
|
+
def validation_token(self) -> pulumi.Output[str]:
|
591
|
+
"""
|
592
|
+
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.
|
593
|
+
"""
|
594
|
+
return pulumi.get(self, "validation_token")
|
595
|
+
|