pulumi-oci 2.13.0a1729198151__py3-none-any.whl → 2.13.0a1729613556__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 +24 -19
- pulumi_oci/containerengine/_inputs.py +341 -0
- pulumi_oci/containerengine/cluster.py +64 -0
- pulumi_oci/containerengine/get_cluster.py +12 -1
- pulumi_oci/containerengine/outputs.py +582 -0
- pulumi_oci/core/_inputs.py +299 -37
- pulumi_oci/core/boot_volume.py +90 -5
- pulumi_oci/core/get_block_volume_replica.py +15 -1
- pulumi_oci/core/get_boot_volume.py +15 -4
- pulumi_oci/core/get_boot_volume_replica.py +15 -1
- pulumi_oci/core/get_volume.py +18 -4
- pulumi_oci/core/instance_configuration.py +4 -0
- pulumi_oci/core/outputs.py +573 -46
- pulumi_oci/core/volume.py +110 -12
- pulumi_oci/core/volume_backup_policy_assignment.py +68 -19
- pulumi_oci/core/volume_group.py +56 -5
- pulumi_oci/datasafe/__init__.py +1 -0
- pulumi_oci/datasafe/generate_on_prem_connector_configuration.py +271 -0
- pulumi_oci/desktops/_inputs.py +175 -13
- pulumi_oci/desktops/desktop_pool.py +67 -0
- pulumi_oci/desktops/get_desktop_pool.py +16 -1
- pulumi_oci/desktops/outputs.py +339 -18
- pulumi_oci/dns/__init__.py +2 -0
- pulumi_oci/dns/_inputs.py +1157 -12
- pulumi_oci/dns/action_create_zone_from_zone_file.py +42 -2
- pulumi_oci/dns/get_records.py +45 -13
- pulumi_oci/dns/get_resolver.py +8 -6
- pulumi_oci/dns/get_resolver_endpoint.py +8 -6
- 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 +12 -10
- pulumi_oci/dns/get_view.py +8 -4
- pulumi_oci/dns/get_views.py +12 -12
- pulumi_oci/dns/get_zones.py +33 -13
- pulumi_oci/dns/outputs.py +1388 -79
- 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 +50 -41
- pulumi_oci/dns/zone.py +176 -17
- pulumi_oci/dns/zone_promote_dnssec_key_version.py +328 -0
- pulumi_oci/dns/zone_stage_dnssec_key_version.py +318 -0
- pulumi_oci/goldengate/__init__.py +1 -0
- pulumi_oci/goldengate/_inputs.py +165 -0
- pulumi_oci/goldengate/connection.py +49 -35
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +79 -4
- pulumi_oci/goldengate/get_deployment.py +30 -2
- pulumi_oci/goldengate/get_deployment_environments.py +144 -0
- pulumi_oci/goldengate/outputs.py +409 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/METADATA +1 -1
- {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/RECORD +56 -61
- pulumi_oci/globallydistributeddatabase/__init__.py +0 -15
- pulumi_oci/globallydistributeddatabase/_inputs.py +0 -1289
- pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +0 -323
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +0 -191
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +0 -660
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +0 -191
- pulumi_oci/globallydistributeddatabase/outputs.py +0 -2063
- pulumi_oci/globallydistributeddatabase/private_endpoint.py +0 -747
- pulumi_oci/globallydistributeddatabase/sharded_database.py +0 -1821
- {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.13.0a1729198151.dist-info → pulumi_oci-2.13.0a1729613556.dist-info}/top_level.txt +0 -0
pulumi_oci/core/volume_group.py
CHANGED
@@ -32,7 +32,8 @@ class VolumeGroupArgs:
|
|
32
32
|
preserve_volume_replica: Optional[pulumi.Input[bool]] = None,
|
33
33
|
volume_group_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeGroupVolumeGroupReplicaArgs']]]] = None,
|
34
34
|
volume_group_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
35
|
-
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
35
|
+
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
36
|
+
xrc_kms_key_id: Optional[pulumi.Input[str]] = None):
|
36
37
|
"""
|
37
38
|
The set of arguments for constructing a VolumeGroup resource.
|
38
39
|
:param pulumi.Input[str] availability_domain: The availability domain of the volume group.
|
@@ -48,6 +49,7 @@ class VolumeGroupArgs:
|
|
48
49
|
|
49
50
|
** IMPORTANT **
|
50
51
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
52
|
+
:param pulumi.Input[str] xrc_kms_key_id: The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
|
51
53
|
"""
|
52
54
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
53
55
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -73,6 +75,8 @@ class VolumeGroupArgs:
|
|
73
75
|
pulumi.set(__self__, "volume_group_replicas_deletion", volume_group_replicas_deletion)
|
74
76
|
if volume_ids is not None:
|
75
77
|
pulumi.set(__self__, "volume_ids", volume_ids)
|
78
|
+
if xrc_kms_key_id is not None:
|
79
|
+
pulumi.set(__self__, "xrc_kms_key_id", xrc_kms_key_id)
|
76
80
|
|
77
81
|
@property
|
78
82
|
@pulumi.getter(name="availabilityDomain")
|
@@ -216,6 +220,18 @@ class VolumeGroupArgs:
|
|
216
220
|
def volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
217
221
|
pulumi.set(self, "volume_ids", value)
|
218
222
|
|
223
|
+
@property
|
224
|
+
@pulumi.getter(name="xrcKmsKeyId")
|
225
|
+
def xrc_kms_key_id(self) -> Optional[pulumi.Input[str]]:
|
226
|
+
"""
|
227
|
+
The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
|
228
|
+
"""
|
229
|
+
return pulumi.get(self, "xrc_kms_key_id")
|
230
|
+
|
231
|
+
@xrc_kms_key_id.setter
|
232
|
+
def xrc_kms_key_id(self, value: Optional[pulumi.Input[str]]):
|
233
|
+
pulumi.set(self, "xrc_kms_key_id", value)
|
234
|
+
|
219
235
|
|
220
236
|
@pulumi.input_type
|
221
237
|
class _VolumeGroupState:
|
@@ -236,7 +252,8 @@ class _VolumeGroupState:
|
|
236
252
|
time_created: Optional[pulumi.Input[str]] = None,
|
237
253
|
volume_group_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeGroupVolumeGroupReplicaArgs']]]] = None,
|
238
254
|
volume_group_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
239
|
-
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
255
|
+
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
256
|
+
xrc_kms_key_id: Optional[pulumi.Input[str]] = None):
|
240
257
|
"""
|
241
258
|
Input properties used for looking up and filtering VolumeGroup resources.
|
242
259
|
:param pulumi.Input[str] availability_domain: The availability domain of the volume group.
|
@@ -257,6 +274,7 @@ class _VolumeGroupState:
|
|
257
274
|
|
258
275
|
** IMPORTANT **
|
259
276
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
277
|
+
:param pulumi.Input[str] xrc_kms_key_id: The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
|
260
278
|
"""
|
261
279
|
if availability_domain is not None:
|
262
280
|
pulumi.set(__self__, "availability_domain", availability_domain)
|
@@ -295,6 +313,8 @@ class _VolumeGroupState:
|
|
295
313
|
pulumi.set(__self__, "volume_group_replicas_deletion", volume_group_replicas_deletion)
|
296
314
|
if volume_ids is not None:
|
297
315
|
pulumi.set(__self__, "volume_ids", volume_ids)
|
316
|
+
if xrc_kms_key_id is not None:
|
317
|
+
pulumi.set(__self__, "xrc_kms_key_id", xrc_kms_key_id)
|
298
318
|
|
299
319
|
@property
|
300
320
|
@pulumi.getter(name="availabilityDomain")
|
@@ -498,6 +518,18 @@ class _VolumeGroupState:
|
|
498
518
|
def volume_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
499
519
|
pulumi.set(self, "volume_ids", value)
|
500
520
|
|
521
|
+
@property
|
522
|
+
@pulumi.getter(name="xrcKmsKeyId")
|
523
|
+
def xrc_kms_key_id(self) -> Optional[pulumi.Input[str]]:
|
524
|
+
"""
|
525
|
+
The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
|
526
|
+
"""
|
527
|
+
return pulumi.get(self, "xrc_kms_key_id")
|
528
|
+
|
529
|
+
@xrc_kms_key_id.setter
|
530
|
+
def xrc_kms_key_id(self, value: Optional[pulumi.Input[str]]):
|
531
|
+
pulumi.set(self, "xrc_kms_key_id", value)
|
532
|
+
|
501
533
|
|
502
534
|
class VolumeGroup(pulumi.CustomResource):
|
503
535
|
@overload
|
@@ -516,6 +548,7 @@ class VolumeGroup(pulumi.CustomResource):
|
|
516
548
|
volume_group_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VolumeGroupVolumeGroupReplicaArgs', 'VolumeGroupVolumeGroupReplicaArgsDict']]]]] = None,
|
517
549
|
volume_group_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
518
550
|
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
551
|
+
xrc_kms_key_id: Optional[pulumi.Input[str]] = None,
|
519
552
|
__props__=None):
|
520
553
|
"""
|
521
554
|
## Example Usage
|
@@ -543,8 +576,10 @@ class VolumeGroup(pulumi.CustomResource):
|
|
543
576
|
volume_group_replicas=[{
|
544
577
|
"availability_domain": volume_group_volume_group_replicas_availability_domain,
|
545
578
|
"display_name": volume_group_volume_group_replicas_display_name,
|
579
|
+
"xrr_kms_key_id": test_key["id"],
|
546
580
|
}],
|
547
|
-
volume_ids=[volume_group_source_id]
|
581
|
+
volume_ids=[volume_group_source_id],
|
582
|
+
xrc_kms_key_id=test_key["id"])
|
548
583
|
```
|
549
584
|
|
550
585
|
## Import
|
@@ -570,6 +605,7 @@ class VolumeGroup(pulumi.CustomResource):
|
|
570
605
|
|
571
606
|
** IMPORTANT **
|
572
607
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
608
|
+
:param pulumi.Input[str] xrc_kms_key_id: The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
|
573
609
|
"""
|
574
610
|
...
|
575
611
|
@overload
|
@@ -603,8 +639,10 @@ class VolumeGroup(pulumi.CustomResource):
|
|
603
639
|
volume_group_replicas=[{
|
604
640
|
"availability_domain": volume_group_volume_group_replicas_availability_domain,
|
605
641
|
"display_name": volume_group_volume_group_replicas_display_name,
|
642
|
+
"xrr_kms_key_id": test_key["id"],
|
606
643
|
}],
|
607
|
-
volume_ids=[volume_group_source_id]
|
644
|
+
volume_ids=[volume_group_source_id],
|
645
|
+
xrc_kms_key_id=test_key["id"])
|
608
646
|
```
|
609
647
|
|
610
648
|
## Import
|
@@ -642,6 +680,7 @@ class VolumeGroup(pulumi.CustomResource):
|
|
642
680
|
volume_group_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VolumeGroupVolumeGroupReplicaArgs', 'VolumeGroupVolumeGroupReplicaArgsDict']]]]] = None,
|
643
681
|
volume_group_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
644
682
|
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
683
|
+
xrc_kms_key_id: Optional[pulumi.Input[str]] = None,
|
645
684
|
__props__=None):
|
646
685
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
647
686
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -669,6 +708,7 @@ class VolumeGroup(pulumi.CustomResource):
|
|
669
708
|
__props__.__dict__["volume_group_replicas"] = volume_group_replicas
|
670
709
|
__props__.__dict__["volume_group_replicas_deletion"] = volume_group_replicas_deletion
|
671
710
|
__props__.__dict__["volume_ids"] = volume_ids
|
711
|
+
__props__.__dict__["xrc_kms_key_id"] = xrc_kms_key_id
|
672
712
|
__props__.__dict__["is_hydrated"] = None
|
673
713
|
__props__.__dict__["size_in_gbs"] = None
|
674
714
|
__props__.__dict__["size_in_mbs"] = None
|
@@ -700,7 +740,8 @@ class VolumeGroup(pulumi.CustomResource):
|
|
700
740
|
time_created: Optional[pulumi.Input[str]] = None,
|
701
741
|
volume_group_replicas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VolumeGroupVolumeGroupReplicaArgs', 'VolumeGroupVolumeGroupReplicaArgsDict']]]]] = None,
|
702
742
|
volume_group_replicas_deletion: Optional[pulumi.Input[bool]] = None,
|
703
|
-
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
743
|
+
volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
744
|
+
xrc_kms_key_id: Optional[pulumi.Input[str]] = None) -> 'VolumeGroup':
|
704
745
|
"""
|
705
746
|
Get an existing VolumeGroup resource's state with the given name, id, and optional extra
|
706
747
|
properties used to qualify the lookup.
|
@@ -726,6 +767,7 @@ class VolumeGroup(pulumi.CustomResource):
|
|
726
767
|
|
727
768
|
** IMPORTANT **
|
728
769
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
770
|
+
:param pulumi.Input[str] xrc_kms_key_id: The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
|
729
771
|
"""
|
730
772
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
731
773
|
|
@@ -748,6 +790,7 @@ class VolumeGroup(pulumi.CustomResource):
|
|
748
790
|
__props__.__dict__["volume_group_replicas"] = volume_group_replicas
|
749
791
|
__props__.__dict__["volume_group_replicas_deletion"] = volume_group_replicas_deletion
|
750
792
|
__props__.__dict__["volume_ids"] = volume_ids
|
793
|
+
__props__.__dict__["xrc_kms_key_id"] = xrc_kms_key_id
|
751
794
|
return VolumeGroup(resource_name, opts=opts, __props__=__props__)
|
752
795
|
|
753
796
|
@property
|
@@ -884,3 +927,11 @@ class VolumeGroup(pulumi.CustomResource):
|
|
884
927
|
"""
|
885
928
|
return pulumi.get(self, "volume_ids")
|
886
929
|
|
930
|
+
@property
|
931
|
+
@pulumi.getter(name="xrcKmsKeyId")
|
932
|
+
def xrc_kms_key_id(self) -> pulumi.Output[str]:
|
933
|
+
"""
|
934
|
+
The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
|
935
|
+
"""
|
936
|
+
return pulumi.get(self, "xrc_kms_key_id")
|
937
|
+
|
pulumi_oci/datasafe/__init__.py
CHANGED
@@ -26,6 +26,7 @@ from .database_security_config import *
|
|
26
26
|
from .database_security_config_management import *
|
27
27
|
from .discovery_jobs_result import *
|
28
28
|
from .discovery_mod import *
|
29
|
+
from .generate_on_prem_connector_configuration import *
|
29
30
|
from .get_alert import *
|
30
31
|
from .get_alert_analytic import *
|
31
32
|
from .get_alert_policies import *
|
@@ -0,0 +1,271 @@
|
|
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__ = ['GenerateOnPremConnectorConfigurationArgs', 'GenerateOnPremConnectorConfiguration']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class GenerateOnPremConnectorConfigurationArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
on_prem_connector_id: pulumi.Input[str],
|
23
|
+
password: pulumi.Input[str]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a GenerateOnPremConnectorConfiguration resource.
|
26
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
27
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id)
|
34
|
+
pulumi.set(__self__, "password", password)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter(name="onPremConnectorId")
|
38
|
+
def on_prem_connector_id(self) -> pulumi.Input[str]:
|
39
|
+
"""
|
40
|
+
The OCID of the on-premises connector.
|
41
|
+
"""
|
42
|
+
return pulumi.get(self, "on_prem_connector_id")
|
43
|
+
|
44
|
+
@on_prem_connector_id.setter
|
45
|
+
def on_prem_connector_id(self, value: pulumi.Input[str]):
|
46
|
+
pulumi.set(self, "on_prem_connector_id", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def password(self) -> pulumi.Input[str]:
|
51
|
+
"""
|
52
|
+
The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "password")
|
59
|
+
|
60
|
+
@password.setter
|
61
|
+
def password(self, value: pulumi.Input[str]):
|
62
|
+
pulumi.set(self, "password", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _GenerateOnPremConnectorConfigurationState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
69
|
+
password: Optional[pulumi.Input[str]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering GenerateOnPremConnectorConfiguration resources.
|
72
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
73
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
74
|
+
|
75
|
+
|
76
|
+
** IMPORTANT **
|
77
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
78
|
+
"""
|
79
|
+
if on_prem_connector_id is not None:
|
80
|
+
pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id)
|
81
|
+
if password is not None:
|
82
|
+
pulumi.set(__self__, "password", password)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="onPremConnectorId")
|
86
|
+
def on_prem_connector_id(self) -> Optional[pulumi.Input[str]]:
|
87
|
+
"""
|
88
|
+
The OCID of the on-premises connector.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "on_prem_connector_id")
|
91
|
+
|
92
|
+
@on_prem_connector_id.setter
|
93
|
+
def on_prem_connector_id(self, value: Optional[pulumi.Input[str]]):
|
94
|
+
pulumi.set(self, "on_prem_connector_id", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter
|
98
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
99
|
+
"""
|
100
|
+
The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "password")
|
107
|
+
|
108
|
+
@password.setter
|
109
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
110
|
+
pulumi.set(self, "password", value)
|
111
|
+
|
112
|
+
|
113
|
+
class GenerateOnPremConnectorConfiguration(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
119
|
+
password: Optional[pulumi.Input[str]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Generate On Prem Connector Configuration resource in Oracle Cloud Infrastructure Data Safe service.
|
123
|
+
|
124
|
+
Creates and downloads the configuration of the specified on-premises connector.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_generate_on_prem_connector_configuration = oci.data_safe.GenerateOnPremConnectorConfiguration("test_generate_on_prem_connector_configuration",
|
133
|
+
on_prem_connector_id=test_on_prem_connector["id"],
|
134
|
+
password=generate_on_prem_connector_configuration_password)
|
135
|
+
```
|
136
|
+
|
137
|
+
## Import
|
138
|
+
|
139
|
+
GenerateOnPremConnectorConfiguration can be imported using the `id`, e.g.
|
140
|
+
|
141
|
+
```sh
|
142
|
+
$ pulumi import oci:DataSafe/generateOnPremConnectorConfiguration:GenerateOnPremConnectorConfiguration test_generate_on_prem_connector_configuration "id"
|
143
|
+
```
|
144
|
+
|
145
|
+
:param str resource_name: The name of the resource.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
148
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
149
|
+
|
150
|
+
|
151
|
+
** IMPORTANT **
|
152
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
153
|
+
"""
|
154
|
+
...
|
155
|
+
@overload
|
156
|
+
def __init__(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
args: GenerateOnPremConnectorConfigurationArgs,
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
160
|
+
"""
|
161
|
+
This resource provides the Generate On Prem Connector Configuration resource in Oracle Cloud Infrastructure Data Safe service.
|
162
|
+
|
163
|
+
Creates and downloads the configuration of the specified on-premises connector.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_generate_on_prem_connector_configuration = oci.data_safe.GenerateOnPremConnectorConfiguration("test_generate_on_prem_connector_configuration",
|
172
|
+
on_prem_connector_id=test_on_prem_connector["id"],
|
173
|
+
password=generate_on_prem_connector_configuration_password)
|
174
|
+
```
|
175
|
+
|
176
|
+
## Import
|
177
|
+
|
178
|
+
GenerateOnPremConnectorConfiguration can be imported using the `id`, e.g.
|
179
|
+
|
180
|
+
```sh
|
181
|
+
$ pulumi import oci:DataSafe/generateOnPremConnectorConfiguration:GenerateOnPremConnectorConfiguration test_generate_on_prem_connector_configuration "id"
|
182
|
+
```
|
183
|
+
|
184
|
+
:param str resource_name: The name of the resource.
|
185
|
+
:param GenerateOnPremConnectorConfigurationArgs args: The arguments to use to populate this resource's properties.
|
186
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
187
|
+
"""
|
188
|
+
...
|
189
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
190
|
+
resource_args, opts = _utilities.get_resource_args_opts(GenerateOnPremConnectorConfigurationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
191
|
+
if resource_args is not None:
|
192
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
193
|
+
else:
|
194
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
195
|
+
|
196
|
+
def _internal_init(__self__,
|
197
|
+
resource_name: str,
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
199
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
password: Optional[pulumi.Input[str]] = None,
|
201
|
+
__props__=None):
|
202
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
203
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
204
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
205
|
+
if opts.id is None:
|
206
|
+
if __props__ is not None:
|
207
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
208
|
+
__props__ = GenerateOnPremConnectorConfigurationArgs.__new__(GenerateOnPremConnectorConfigurationArgs)
|
209
|
+
|
210
|
+
if on_prem_connector_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'on_prem_connector_id'")
|
212
|
+
__props__.__dict__["on_prem_connector_id"] = on_prem_connector_id
|
213
|
+
if password is None and not opts.urn:
|
214
|
+
raise TypeError("Missing required property 'password'")
|
215
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
216
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["password"])
|
217
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
218
|
+
super(GenerateOnPremConnectorConfiguration, __self__).__init__(
|
219
|
+
'oci:DataSafe/generateOnPremConnectorConfiguration:GenerateOnPremConnectorConfiguration',
|
220
|
+
resource_name,
|
221
|
+
__props__,
|
222
|
+
opts)
|
223
|
+
|
224
|
+
@staticmethod
|
225
|
+
def get(resource_name: str,
|
226
|
+
id: pulumi.Input[str],
|
227
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
228
|
+
on_prem_connector_id: Optional[pulumi.Input[str]] = None,
|
229
|
+
password: Optional[pulumi.Input[str]] = None) -> 'GenerateOnPremConnectorConfiguration':
|
230
|
+
"""
|
231
|
+
Get an existing GenerateOnPremConnectorConfiguration resource's state with the given name, id, and optional extra
|
232
|
+
properties used to qualify the lookup.
|
233
|
+
|
234
|
+
:param str resource_name: The unique name of the resulting resource.
|
235
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
236
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
237
|
+
:param pulumi.Input[str] on_prem_connector_id: The OCID of the on-premises connector.
|
238
|
+
:param pulumi.Input[str] password: The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
239
|
+
|
240
|
+
|
241
|
+
** IMPORTANT **
|
242
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
243
|
+
"""
|
244
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
245
|
+
|
246
|
+
__props__ = _GenerateOnPremConnectorConfigurationState.__new__(_GenerateOnPremConnectorConfigurationState)
|
247
|
+
|
248
|
+
__props__.__dict__["on_prem_connector_id"] = on_prem_connector_id
|
249
|
+
__props__.__dict__["password"] = password
|
250
|
+
return GenerateOnPremConnectorConfiguration(resource_name, opts=opts, __props__=__props__)
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter(name="onPremConnectorId")
|
254
|
+
def on_prem_connector_id(self) -> pulumi.Output[str]:
|
255
|
+
"""
|
256
|
+
The OCID of the on-premises connector.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "on_prem_connector_id")
|
259
|
+
|
260
|
+
@property
|
261
|
+
@pulumi.getter
|
262
|
+
def password(self) -> pulumi.Output[str]:
|
263
|
+
"""
|
264
|
+
The password to encrypt the keys inside the wallet included as part of the configuration. The password must be between 12 and 30 characters long and must contain atleast 1 uppercase, 1 lowercase, 1 numeric, and 1 special character.
|
265
|
+
|
266
|
+
|
267
|
+
** IMPORTANT **
|
268
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
269
|
+
"""
|
270
|
+
return pulumi.get(self, "password")
|
271
|
+
|