pulumi-oci 2.13.0__py3-none-any.whl → 2.13.0a1729198151__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 +19 -24
- pulumi_oci/containerengine/_inputs.py +0 -341
- pulumi_oci/containerengine/cluster.py +0 -64
- pulumi_oci/containerengine/get_cluster.py +1 -12
- pulumi_oci/containerengine/outputs.py +0 -582
- pulumi_oci/core/_inputs.py +37 -299
- pulumi_oci/core/boot_volume.py +5 -90
- pulumi_oci/core/get_block_volume_replica.py +1 -15
- pulumi_oci/core/get_boot_volume.py +4 -15
- pulumi_oci/core/get_boot_volume_replica.py +1 -15
- pulumi_oci/core/get_volume.py +4 -18
- pulumi_oci/core/instance_configuration.py +0 -4
- pulumi_oci/core/outputs.py +46 -573
- pulumi_oci/core/volume.py +12 -110
- pulumi_oci/core/volume_backup_policy_assignment.py +19 -68
- pulumi_oci/core/volume_group.py +5 -56
- pulumi_oci/datasafe/__init__.py +0 -1
- pulumi_oci/desktops/_inputs.py +13 -175
- pulumi_oci/desktops/desktop_pool.py +0 -67
- pulumi_oci/desktops/get_desktop_pool.py +1 -16
- pulumi_oci/desktops/outputs.py +18 -339
- pulumi_oci/dns/__init__.py +0 -2
- pulumi_oci/dns/_inputs.py +12 -1157
- pulumi_oci/dns/action_create_zone_from_zone_file.py +2 -42
- pulumi_oci/dns/get_records.py +13 -45
- pulumi_oci/dns/get_resolver.py +6 -8
- pulumi_oci/dns/get_resolver_endpoint.py +6 -8
- pulumi_oci/dns/get_resolver_endpoints.py +2 -2
- pulumi_oci/dns/get_resolvers.py +12 -12
- pulumi_oci/dns/get_rrset.py +16 -16
- pulumi_oci/dns/get_rrsets.py +10 -12
- pulumi_oci/dns/get_view.py +4 -8
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +13 -33
- pulumi_oci/dns/outputs.py +79 -1388
- pulumi_oci/dns/record.py +12 -12
- pulumi_oci/dns/resolver.py +7 -7
- pulumi_oci/dns/resolver_endpoint.py +2 -2
- pulumi_oci/dns/rrset.py +41 -50
- pulumi_oci/dns/zone.py +17 -176
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1289 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +323 -0
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +191 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +660 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +191 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2063 -0
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +747 -0
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1821 -0
- pulumi_oci/goldengate/__init__.py +0 -1
- pulumi_oci/goldengate/_inputs.py +0 -165
- pulumi_oci/goldengate/connection.py +35 -49
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +4 -79
- pulumi_oci/goldengate/get_deployment.py +2 -30
- pulumi_oci/goldengate/outputs.py +2 -409
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.13.0.dist-info → pulumi_oci-2.13.0a1729198151.dist-info}/METADATA +1 -1
- {pulumi_oci-2.13.0.dist-info → pulumi_oci-2.13.0a1729198151.dist-info}/RECORD +61 -56
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +0 -271
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +0 -328
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +0 -318
- pulumi_oci/goldengate/get_deployment_environments.py +0 -144
- {pulumi_oci-2.13.0.dist-info → pulumi_oci-2.13.0a1729198151.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.13.0.dist-info → pulumi_oci-2.13.0a1729198151.dist-info}/top_level.txt +0 -0
@@ -1,328 +0,0 @@
|
|
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
|
-
|
17
|
-
__all__ = ['ZonePromoteDnssecKeyVersionArgs', 'ZonePromoteDnssecKeyVersion']
|
18
|
-
|
19
|
-
@pulumi.input_type
|
20
|
-
class ZonePromoteDnssecKeyVersionArgs:
|
21
|
-
def __init__(__self__, *,
|
22
|
-
dnssec_key_version_uuid: pulumi.Input[str],
|
23
|
-
zone_id: pulumi.Input[str],
|
24
|
-
scope: Optional[pulumi.Input[str]] = None):
|
25
|
-
"""
|
26
|
-
The set of arguments for constructing a ZonePromoteDnssecKeyVersion resource.
|
27
|
-
:param pulumi.Input[str] dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` that is being promoted.
|
28
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
29
|
-
|
30
|
-
|
31
|
-
** IMPORTANT **
|
32
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
33
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
34
|
-
"""
|
35
|
-
pulumi.set(__self__, "dnssec_key_version_uuid", dnssec_key_version_uuid)
|
36
|
-
pulumi.set(__self__, "zone_id", zone_id)
|
37
|
-
if scope is not None:
|
38
|
-
pulumi.set(__self__, "scope", scope)
|
39
|
-
|
40
|
-
@property
|
41
|
-
@pulumi.getter(name="dnssecKeyVersionUuid")
|
42
|
-
def dnssec_key_version_uuid(self) -> pulumi.Input[str]:
|
43
|
-
"""
|
44
|
-
The UUID of the `DnssecKeyVersion` that is being promoted.
|
45
|
-
"""
|
46
|
-
return pulumi.get(self, "dnssec_key_version_uuid")
|
47
|
-
|
48
|
-
@dnssec_key_version_uuid.setter
|
49
|
-
def dnssec_key_version_uuid(self, value: pulumi.Input[str]):
|
50
|
-
pulumi.set(self, "dnssec_key_version_uuid", value)
|
51
|
-
|
52
|
-
@property
|
53
|
-
@pulumi.getter(name="zoneId")
|
54
|
-
def zone_id(self) -> pulumi.Input[str]:
|
55
|
-
"""
|
56
|
-
The OCID of the target zone.
|
57
|
-
|
58
|
-
|
59
|
-
** IMPORTANT **
|
60
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
61
|
-
"""
|
62
|
-
return pulumi.get(self, "zone_id")
|
63
|
-
|
64
|
-
@zone_id.setter
|
65
|
-
def zone_id(self, value: pulumi.Input[str]):
|
66
|
-
pulumi.set(self, "zone_id", value)
|
67
|
-
|
68
|
-
@property
|
69
|
-
@pulumi.getter
|
70
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
71
|
-
"""
|
72
|
-
Specifies to operate only on resources that have a matching DNS scope.
|
73
|
-
"""
|
74
|
-
return pulumi.get(self, "scope")
|
75
|
-
|
76
|
-
@scope.setter
|
77
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
78
|
-
pulumi.set(self, "scope", value)
|
79
|
-
|
80
|
-
|
81
|
-
@pulumi.input_type
|
82
|
-
class _ZonePromoteDnssecKeyVersionState:
|
83
|
-
def __init__(__self__, *,
|
84
|
-
dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
85
|
-
scope: Optional[pulumi.Input[str]] = None,
|
86
|
-
zone_id: Optional[pulumi.Input[str]] = None):
|
87
|
-
"""
|
88
|
-
Input properties used for looking up and filtering ZonePromoteDnssecKeyVersion resources.
|
89
|
-
:param pulumi.Input[str] dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` that is being promoted.
|
90
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
91
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
92
|
-
|
93
|
-
|
94
|
-
** IMPORTANT **
|
95
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
96
|
-
"""
|
97
|
-
if dnssec_key_version_uuid is not None:
|
98
|
-
pulumi.set(__self__, "dnssec_key_version_uuid", dnssec_key_version_uuid)
|
99
|
-
if scope is not None:
|
100
|
-
pulumi.set(__self__, "scope", scope)
|
101
|
-
if zone_id is not None:
|
102
|
-
pulumi.set(__self__, "zone_id", zone_id)
|
103
|
-
|
104
|
-
@property
|
105
|
-
@pulumi.getter(name="dnssecKeyVersionUuid")
|
106
|
-
def dnssec_key_version_uuid(self) -> Optional[pulumi.Input[str]]:
|
107
|
-
"""
|
108
|
-
The UUID of the `DnssecKeyVersion` that is being promoted.
|
109
|
-
"""
|
110
|
-
return pulumi.get(self, "dnssec_key_version_uuid")
|
111
|
-
|
112
|
-
@dnssec_key_version_uuid.setter
|
113
|
-
def dnssec_key_version_uuid(self, value: Optional[pulumi.Input[str]]):
|
114
|
-
pulumi.set(self, "dnssec_key_version_uuid", value)
|
115
|
-
|
116
|
-
@property
|
117
|
-
@pulumi.getter
|
118
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
119
|
-
"""
|
120
|
-
Specifies to operate only on resources that have a matching DNS scope.
|
121
|
-
"""
|
122
|
-
return pulumi.get(self, "scope")
|
123
|
-
|
124
|
-
@scope.setter
|
125
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
126
|
-
pulumi.set(self, "scope", value)
|
127
|
-
|
128
|
-
@property
|
129
|
-
@pulumi.getter(name="zoneId")
|
130
|
-
def zone_id(self) -> Optional[pulumi.Input[str]]:
|
131
|
-
"""
|
132
|
-
The OCID of the target zone.
|
133
|
-
|
134
|
-
|
135
|
-
** IMPORTANT **
|
136
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
137
|
-
"""
|
138
|
-
return pulumi.get(self, "zone_id")
|
139
|
-
|
140
|
-
@zone_id.setter
|
141
|
-
def zone_id(self, value: Optional[pulumi.Input[str]]):
|
142
|
-
pulumi.set(self, "zone_id", value)
|
143
|
-
|
144
|
-
|
145
|
-
class ZonePromoteDnssecKeyVersion(pulumi.CustomResource):
|
146
|
-
@overload
|
147
|
-
def __init__(__self__,
|
148
|
-
resource_name: str,
|
149
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
150
|
-
dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
151
|
-
scope: Optional[pulumi.Input[str]] = None,
|
152
|
-
zone_id: Optional[pulumi.Input[str]] = None,
|
153
|
-
__props__=None):
|
154
|
-
"""
|
155
|
-
This resource provides the Zone Promote Dnssec Key Version resource in Oracle Cloud Infrastructure DNS service.
|
156
|
-
|
157
|
-
Promotes a specified `DnssecKeyVersion` on the zone.
|
158
|
-
|
159
|
-
If the `DnssecKeyVersion` identified in the request body is a key signing key (KSK) that is replacing
|
160
|
-
another `DnssecKeyVersion`, then the old `DnssecKeyVersion` is scheduled for removal from the zone.
|
161
|
-
|
162
|
-
For key signing keys (KSKs), you must create the DS record with the new key information **before** promoting
|
163
|
-
the new key to establish a chain of trust. To avoid a service disruption, remove the old DS record as soon
|
164
|
-
as its TTL (time to live) expires.
|
165
|
-
|
166
|
-
For more information, see [DNSSEC](https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm).
|
167
|
-
|
168
|
-
## Example Usage
|
169
|
-
|
170
|
-
```python
|
171
|
-
import pulumi
|
172
|
-
import pulumi_oci as oci
|
173
|
-
|
174
|
-
test_zone_promote_dnssec_key_version = oci.dns.ZonePromoteDnssecKeyVersion("test_zone_promote_dnssec_key_version",
|
175
|
-
dnssec_key_version_uuid=zone_promote_dnssec_key_version_dnssec_key_version_uuid,
|
176
|
-
zone_id=test_zone["id"],
|
177
|
-
scope=zone_promote_dnssec_key_version_scope)
|
178
|
-
```
|
179
|
-
|
180
|
-
## Import
|
181
|
-
|
182
|
-
Import is not supported for this resource.
|
183
|
-
|
184
|
-
:param str resource_name: The name of the resource.
|
185
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
186
|
-
:param pulumi.Input[str] dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` that is being promoted.
|
187
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
188
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
189
|
-
|
190
|
-
|
191
|
-
** IMPORTANT **
|
192
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
193
|
-
"""
|
194
|
-
...
|
195
|
-
@overload
|
196
|
-
def __init__(__self__,
|
197
|
-
resource_name: str,
|
198
|
-
args: ZonePromoteDnssecKeyVersionArgs,
|
199
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
200
|
-
"""
|
201
|
-
This resource provides the Zone Promote Dnssec Key Version resource in Oracle Cloud Infrastructure DNS service.
|
202
|
-
|
203
|
-
Promotes a specified `DnssecKeyVersion` on the zone.
|
204
|
-
|
205
|
-
If the `DnssecKeyVersion` identified in the request body is a key signing key (KSK) that is replacing
|
206
|
-
another `DnssecKeyVersion`, then the old `DnssecKeyVersion` is scheduled for removal from the zone.
|
207
|
-
|
208
|
-
For key signing keys (KSKs), you must create the DS record with the new key information **before** promoting
|
209
|
-
the new key to establish a chain of trust. To avoid a service disruption, remove the old DS record as soon
|
210
|
-
as its TTL (time to live) expires.
|
211
|
-
|
212
|
-
For more information, see [DNSSEC](https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm).
|
213
|
-
|
214
|
-
## Example Usage
|
215
|
-
|
216
|
-
```python
|
217
|
-
import pulumi
|
218
|
-
import pulumi_oci as oci
|
219
|
-
|
220
|
-
test_zone_promote_dnssec_key_version = oci.dns.ZonePromoteDnssecKeyVersion("test_zone_promote_dnssec_key_version",
|
221
|
-
dnssec_key_version_uuid=zone_promote_dnssec_key_version_dnssec_key_version_uuid,
|
222
|
-
zone_id=test_zone["id"],
|
223
|
-
scope=zone_promote_dnssec_key_version_scope)
|
224
|
-
```
|
225
|
-
|
226
|
-
## Import
|
227
|
-
|
228
|
-
Import is not supported for this resource.
|
229
|
-
|
230
|
-
:param str resource_name: The name of the resource.
|
231
|
-
:param ZonePromoteDnssecKeyVersionArgs args: The arguments to use to populate this resource's properties.
|
232
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
233
|
-
"""
|
234
|
-
...
|
235
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
236
|
-
resource_args, opts = _utilities.get_resource_args_opts(ZonePromoteDnssecKeyVersionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
237
|
-
if resource_args is not None:
|
238
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
239
|
-
else:
|
240
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
241
|
-
|
242
|
-
def _internal_init(__self__,
|
243
|
-
resource_name: str,
|
244
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
245
|
-
dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
246
|
-
scope: Optional[pulumi.Input[str]] = None,
|
247
|
-
zone_id: Optional[pulumi.Input[str]] = None,
|
248
|
-
__props__=None):
|
249
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
250
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
251
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
252
|
-
if opts.id is None:
|
253
|
-
if __props__ is not None:
|
254
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
255
|
-
__props__ = ZonePromoteDnssecKeyVersionArgs.__new__(ZonePromoteDnssecKeyVersionArgs)
|
256
|
-
|
257
|
-
if dnssec_key_version_uuid is None and not opts.urn:
|
258
|
-
raise TypeError("Missing required property 'dnssec_key_version_uuid'")
|
259
|
-
__props__.__dict__["dnssec_key_version_uuid"] = dnssec_key_version_uuid
|
260
|
-
__props__.__dict__["scope"] = scope
|
261
|
-
if zone_id is None and not opts.urn:
|
262
|
-
raise TypeError("Missing required property 'zone_id'")
|
263
|
-
__props__.__dict__["zone_id"] = zone_id
|
264
|
-
super(ZonePromoteDnssecKeyVersion, __self__).__init__(
|
265
|
-
'oci:Dns/zonePromoteDnssecKeyVersion:ZonePromoteDnssecKeyVersion',
|
266
|
-
resource_name,
|
267
|
-
__props__,
|
268
|
-
opts)
|
269
|
-
|
270
|
-
@staticmethod
|
271
|
-
def get(resource_name: str,
|
272
|
-
id: pulumi.Input[str],
|
273
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
274
|
-
dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
275
|
-
scope: Optional[pulumi.Input[str]] = None,
|
276
|
-
zone_id: Optional[pulumi.Input[str]] = None) -> 'ZonePromoteDnssecKeyVersion':
|
277
|
-
"""
|
278
|
-
Get an existing ZonePromoteDnssecKeyVersion resource's state with the given name, id, and optional extra
|
279
|
-
properties used to qualify the lookup.
|
280
|
-
|
281
|
-
:param str resource_name: The unique name of the resulting resource.
|
282
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
283
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
284
|
-
:param pulumi.Input[str] dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` that is being promoted.
|
285
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
286
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
287
|
-
|
288
|
-
|
289
|
-
** IMPORTANT **
|
290
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
291
|
-
"""
|
292
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
293
|
-
|
294
|
-
__props__ = _ZonePromoteDnssecKeyVersionState.__new__(_ZonePromoteDnssecKeyVersionState)
|
295
|
-
|
296
|
-
__props__.__dict__["dnssec_key_version_uuid"] = dnssec_key_version_uuid
|
297
|
-
__props__.__dict__["scope"] = scope
|
298
|
-
__props__.__dict__["zone_id"] = zone_id
|
299
|
-
return ZonePromoteDnssecKeyVersion(resource_name, opts=opts, __props__=__props__)
|
300
|
-
|
301
|
-
@property
|
302
|
-
@pulumi.getter(name="dnssecKeyVersionUuid")
|
303
|
-
def dnssec_key_version_uuid(self) -> pulumi.Output[str]:
|
304
|
-
"""
|
305
|
-
The UUID of the `DnssecKeyVersion` that is being promoted.
|
306
|
-
"""
|
307
|
-
return pulumi.get(self, "dnssec_key_version_uuid")
|
308
|
-
|
309
|
-
@property
|
310
|
-
@pulumi.getter
|
311
|
-
def scope(self) -> pulumi.Output[str]:
|
312
|
-
"""
|
313
|
-
Specifies to operate only on resources that have a matching DNS scope.
|
314
|
-
"""
|
315
|
-
return pulumi.get(self, "scope")
|
316
|
-
|
317
|
-
@property
|
318
|
-
@pulumi.getter(name="zoneId")
|
319
|
-
def zone_id(self) -> pulumi.Output[str]:
|
320
|
-
"""
|
321
|
-
The OCID of the target zone.
|
322
|
-
|
323
|
-
|
324
|
-
** IMPORTANT **
|
325
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
326
|
-
"""
|
327
|
-
return pulumi.get(self, "zone_id")
|
328
|
-
|
@@ -1,318 +0,0 @@
|
|
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
|
-
|
17
|
-
__all__ = ['ZoneStageDnssecKeyVersionArgs', 'ZoneStageDnssecKeyVersion']
|
18
|
-
|
19
|
-
@pulumi.input_type
|
20
|
-
class ZoneStageDnssecKeyVersionArgs:
|
21
|
-
def __init__(__self__, *,
|
22
|
-
predecessor_dnssec_key_version_uuid: pulumi.Input[str],
|
23
|
-
zone_id: pulumi.Input[str],
|
24
|
-
scope: Optional[pulumi.Input[str]] = None):
|
25
|
-
"""
|
26
|
-
The set of arguments for constructing a ZoneStageDnssecKeyVersion resource.
|
27
|
-
:param pulumi.Input[str] predecessor_dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
|
28
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
29
|
-
|
30
|
-
|
31
|
-
** IMPORTANT **
|
32
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
33
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
34
|
-
"""
|
35
|
-
pulumi.set(__self__, "predecessor_dnssec_key_version_uuid", predecessor_dnssec_key_version_uuid)
|
36
|
-
pulumi.set(__self__, "zone_id", zone_id)
|
37
|
-
if scope is not None:
|
38
|
-
pulumi.set(__self__, "scope", scope)
|
39
|
-
|
40
|
-
@property
|
41
|
-
@pulumi.getter(name="predecessorDnssecKeyVersionUuid")
|
42
|
-
def predecessor_dnssec_key_version_uuid(self) -> pulumi.Input[str]:
|
43
|
-
"""
|
44
|
-
The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
|
45
|
-
"""
|
46
|
-
return pulumi.get(self, "predecessor_dnssec_key_version_uuid")
|
47
|
-
|
48
|
-
@predecessor_dnssec_key_version_uuid.setter
|
49
|
-
def predecessor_dnssec_key_version_uuid(self, value: pulumi.Input[str]):
|
50
|
-
pulumi.set(self, "predecessor_dnssec_key_version_uuid", value)
|
51
|
-
|
52
|
-
@property
|
53
|
-
@pulumi.getter(name="zoneId")
|
54
|
-
def zone_id(self) -> pulumi.Input[str]:
|
55
|
-
"""
|
56
|
-
The OCID of the target zone.
|
57
|
-
|
58
|
-
|
59
|
-
** IMPORTANT **
|
60
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
61
|
-
"""
|
62
|
-
return pulumi.get(self, "zone_id")
|
63
|
-
|
64
|
-
@zone_id.setter
|
65
|
-
def zone_id(self, value: pulumi.Input[str]):
|
66
|
-
pulumi.set(self, "zone_id", value)
|
67
|
-
|
68
|
-
@property
|
69
|
-
@pulumi.getter
|
70
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
71
|
-
"""
|
72
|
-
Specifies to operate only on resources that have a matching DNS scope.
|
73
|
-
"""
|
74
|
-
return pulumi.get(self, "scope")
|
75
|
-
|
76
|
-
@scope.setter
|
77
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
78
|
-
pulumi.set(self, "scope", value)
|
79
|
-
|
80
|
-
|
81
|
-
@pulumi.input_type
|
82
|
-
class _ZoneStageDnssecKeyVersionState:
|
83
|
-
def __init__(__self__, *,
|
84
|
-
predecessor_dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
85
|
-
scope: Optional[pulumi.Input[str]] = None,
|
86
|
-
zone_id: Optional[pulumi.Input[str]] = None):
|
87
|
-
"""
|
88
|
-
Input properties used for looking up and filtering ZoneStageDnssecKeyVersion resources.
|
89
|
-
:param pulumi.Input[str] predecessor_dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
|
90
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
91
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
92
|
-
|
93
|
-
|
94
|
-
** IMPORTANT **
|
95
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
96
|
-
"""
|
97
|
-
if predecessor_dnssec_key_version_uuid is not None:
|
98
|
-
pulumi.set(__self__, "predecessor_dnssec_key_version_uuid", predecessor_dnssec_key_version_uuid)
|
99
|
-
if scope is not None:
|
100
|
-
pulumi.set(__self__, "scope", scope)
|
101
|
-
if zone_id is not None:
|
102
|
-
pulumi.set(__self__, "zone_id", zone_id)
|
103
|
-
|
104
|
-
@property
|
105
|
-
@pulumi.getter(name="predecessorDnssecKeyVersionUuid")
|
106
|
-
def predecessor_dnssec_key_version_uuid(self) -> Optional[pulumi.Input[str]]:
|
107
|
-
"""
|
108
|
-
The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
|
109
|
-
"""
|
110
|
-
return pulumi.get(self, "predecessor_dnssec_key_version_uuid")
|
111
|
-
|
112
|
-
@predecessor_dnssec_key_version_uuid.setter
|
113
|
-
def predecessor_dnssec_key_version_uuid(self, value: Optional[pulumi.Input[str]]):
|
114
|
-
pulumi.set(self, "predecessor_dnssec_key_version_uuid", value)
|
115
|
-
|
116
|
-
@property
|
117
|
-
@pulumi.getter
|
118
|
-
def scope(self) -> Optional[pulumi.Input[str]]:
|
119
|
-
"""
|
120
|
-
Specifies to operate only on resources that have a matching DNS scope.
|
121
|
-
"""
|
122
|
-
return pulumi.get(self, "scope")
|
123
|
-
|
124
|
-
@scope.setter
|
125
|
-
def scope(self, value: Optional[pulumi.Input[str]]):
|
126
|
-
pulumi.set(self, "scope", value)
|
127
|
-
|
128
|
-
@property
|
129
|
-
@pulumi.getter(name="zoneId")
|
130
|
-
def zone_id(self) -> Optional[pulumi.Input[str]]:
|
131
|
-
"""
|
132
|
-
The OCID of the target zone.
|
133
|
-
|
134
|
-
|
135
|
-
** IMPORTANT **
|
136
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
137
|
-
"""
|
138
|
-
return pulumi.get(self, "zone_id")
|
139
|
-
|
140
|
-
@zone_id.setter
|
141
|
-
def zone_id(self, value: Optional[pulumi.Input[str]]):
|
142
|
-
pulumi.set(self, "zone_id", value)
|
143
|
-
|
144
|
-
|
145
|
-
class ZoneStageDnssecKeyVersion(pulumi.CustomResource):
|
146
|
-
@overload
|
147
|
-
def __init__(__self__,
|
148
|
-
resource_name: str,
|
149
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
150
|
-
predecessor_dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
151
|
-
scope: Optional[pulumi.Input[str]] = None,
|
152
|
-
zone_id: Optional[pulumi.Input[str]] = None,
|
153
|
-
__props__=None):
|
154
|
-
"""
|
155
|
-
This resource provides the Zone Stage Dnssec Key Version resource in Oracle Cloud Infrastructure DNS service.
|
156
|
-
|
157
|
-
Stages a new `DnssecKeyVersion` on the zone. Staging is a process that generates a new "successor" key version
|
158
|
-
that replaces an existing "predecessor" key version.
|
159
|
-
**Note:** A new key-signing key (KSK) version is inert until you update the parent zone DS records.
|
160
|
-
|
161
|
-
For more information, see the [DNSSEC](https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm) documentation.
|
162
|
-
|
163
|
-
## Example Usage
|
164
|
-
|
165
|
-
```python
|
166
|
-
import pulumi
|
167
|
-
import pulumi_oci as oci
|
168
|
-
|
169
|
-
test_zone_stage_dnssec_key_version = oci.dns.ZoneStageDnssecKeyVersion("test_zone_stage_dnssec_key_version",
|
170
|
-
predecessor_dnssec_key_version_uuid=zone_stage_dnssec_key_version_predecessor_dnssec_key_version_uuid,
|
171
|
-
zone_id=test_zone["id"],
|
172
|
-
scope=zone_stage_dnssec_key_version_scope)
|
173
|
-
```
|
174
|
-
|
175
|
-
## Import
|
176
|
-
|
177
|
-
Import is not supported for this resource.
|
178
|
-
|
179
|
-
:param str resource_name: The name of the resource.
|
180
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
181
|
-
:param pulumi.Input[str] predecessor_dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
|
182
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
183
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
184
|
-
|
185
|
-
|
186
|
-
** IMPORTANT **
|
187
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
188
|
-
"""
|
189
|
-
...
|
190
|
-
@overload
|
191
|
-
def __init__(__self__,
|
192
|
-
resource_name: str,
|
193
|
-
args: ZoneStageDnssecKeyVersionArgs,
|
194
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
195
|
-
"""
|
196
|
-
This resource provides the Zone Stage Dnssec Key Version resource in Oracle Cloud Infrastructure DNS service.
|
197
|
-
|
198
|
-
Stages a new `DnssecKeyVersion` on the zone. Staging is a process that generates a new "successor" key version
|
199
|
-
that replaces an existing "predecessor" key version.
|
200
|
-
**Note:** A new key-signing key (KSK) version is inert until you update the parent zone DS records.
|
201
|
-
|
202
|
-
For more information, see the [DNSSEC](https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm) documentation.
|
203
|
-
|
204
|
-
## Example Usage
|
205
|
-
|
206
|
-
```python
|
207
|
-
import pulumi
|
208
|
-
import pulumi_oci as oci
|
209
|
-
|
210
|
-
test_zone_stage_dnssec_key_version = oci.dns.ZoneStageDnssecKeyVersion("test_zone_stage_dnssec_key_version",
|
211
|
-
predecessor_dnssec_key_version_uuid=zone_stage_dnssec_key_version_predecessor_dnssec_key_version_uuid,
|
212
|
-
zone_id=test_zone["id"],
|
213
|
-
scope=zone_stage_dnssec_key_version_scope)
|
214
|
-
```
|
215
|
-
|
216
|
-
## Import
|
217
|
-
|
218
|
-
Import is not supported for this resource.
|
219
|
-
|
220
|
-
:param str resource_name: The name of the resource.
|
221
|
-
:param ZoneStageDnssecKeyVersionArgs args: The arguments to use to populate this resource's properties.
|
222
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
223
|
-
"""
|
224
|
-
...
|
225
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
226
|
-
resource_args, opts = _utilities.get_resource_args_opts(ZoneStageDnssecKeyVersionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
227
|
-
if resource_args is not None:
|
228
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
229
|
-
else:
|
230
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
231
|
-
|
232
|
-
def _internal_init(__self__,
|
233
|
-
resource_name: str,
|
234
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
235
|
-
predecessor_dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
236
|
-
scope: Optional[pulumi.Input[str]] = None,
|
237
|
-
zone_id: Optional[pulumi.Input[str]] = None,
|
238
|
-
__props__=None):
|
239
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
240
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
241
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
242
|
-
if opts.id is None:
|
243
|
-
if __props__ is not None:
|
244
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
245
|
-
__props__ = ZoneStageDnssecKeyVersionArgs.__new__(ZoneStageDnssecKeyVersionArgs)
|
246
|
-
|
247
|
-
if predecessor_dnssec_key_version_uuid is None and not opts.urn:
|
248
|
-
raise TypeError("Missing required property 'predecessor_dnssec_key_version_uuid'")
|
249
|
-
__props__.__dict__["predecessor_dnssec_key_version_uuid"] = predecessor_dnssec_key_version_uuid
|
250
|
-
__props__.__dict__["scope"] = scope
|
251
|
-
if zone_id is None and not opts.urn:
|
252
|
-
raise TypeError("Missing required property 'zone_id'")
|
253
|
-
__props__.__dict__["zone_id"] = zone_id
|
254
|
-
super(ZoneStageDnssecKeyVersion, __self__).__init__(
|
255
|
-
'oci:Dns/zoneStageDnssecKeyVersion:ZoneStageDnssecKeyVersion',
|
256
|
-
resource_name,
|
257
|
-
__props__,
|
258
|
-
opts)
|
259
|
-
|
260
|
-
@staticmethod
|
261
|
-
def get(resource_name: str,
|
262
|
-
id: pulumi.Input[str],
|
263
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
264
|
-
predecessor_dnssec_key_version_uuid: Optional[pulumi.Input[str]] = None,
|
265
|
-
scope: Optional[pulumi.Input[str]] = None,
|
266
|
-
zone_id: Optional[pulumi.Input[str]] = None) -> 'ZoneStageDnssecKeyVersion':
|
267
|
-
"""
|
268
|
-
Get an existing ZoneStageDnssecKeyVersion resource's state with the given name, id, and optional extra
|
269
|
-
properties used to qualify the lookup.
|
270
|
-
|
271
|
-
:param str resource_name: The unique name of the resulting resource.
|
272
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
273
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
274
|
-
:param pulumi.Input[str] predecessor_dnssec_key_version_uuid: The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
|
275
|
-
:param pulumi.Input[str] scope: Specifies to operate only on resources that have a matching DNS scope.
|
276
|
-
:param pulumi.Input[str] zone_id: The OCID of the target zone.
|
277
|
-
|
278
|
-
|
279
|
-
** IMPORTANT **
|
280
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
281
|
-
"""
|
282
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
283
|
-
|
284
|
-
__props__ = _ZoneStageDnssecKeyVersionState.__new__(_ZoneStageDnssecKeyVersionState)
|
285
|
-
|
286
|
-
__props__.__dict__["predecessor_dnssec_key_version_uuid"] = predecessor_dnssec_key_version_uuid
|
287
|
-
__props__.__dict__["scope"] = scope
|
288
|
-
__props__.__dict__["zone_id"] = zone_id
|
289
|
-
return ZoneStageDnssecKeyVersion(resource_name, opts=opts, __props__=__props__)
|
290
|
-
|
291
|
-
@property
|
292
|
-
@pulumi.getter(name="predecessorDnssecKeyVersionUuid")
|
293
|
-
def predecessor_dnssec_key_version_uuid(self) -> pulumi.Output[str]:
|
294
|
-
"""
|
295
|
-
The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
|
296
|
-
"""
|
297
|
-
return pulumi.get(self, "predecessor_dnssec_key_version_uuid")
|
298
|
-
|
299
|
-
@property
|
300
|
-
@pulumi.getter
|
301
|
-
def scope(self) -> pulumi.Output[str]:
|
302
|
-
"""
|
303
|
-
Specifies to operate only on resources that have a matching DNS scope.
|
304
|
-
"""
|
305
|
-
return pulumi.get(self, "scope")
|
306
|
-
|
307
|
-
@property
|
308
|
-
@pulumi.getter(name="zoneId")
|
309
|
-
def zone_id(self) -> pulumi.Output[str]:
|
310
|
-
"""
|
311
|
-
The OCID of the target zone.
|
312
|
-
|
313
|
-
|
314
|
-
** IMPORTANT **
|
315
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
316
|
-
"""
|
317
|
-
return pulumi.get(self, "zone_id")
|
318
|
-
|