pulumi-oci 2.25.0a1740032973__py3-none-any.whl → 2.26.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +102 -0
- pulumi_oci/config/__init__.pyi +2 -0
- pulumi_oci/config/vars.py +4 -0
- pulumi_oci/containerengine/_inputs.py +74 -35
- pulumi_oci/containerengine/cluster.py +4 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +180 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +1246 -57
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_container_database.py +92 -0
- pulumi_oci/database/autonomous_database.py +90 -22
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/backup_destination.py +84 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/data_guard_association.py +49 -0
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/db_system.py +111 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_container_database.py +43 -1
- pulumi_oci/database/get_autonomous_database.py +29 -1
- pulumi_oci/database/get_autonomous_databases.py +0 -26
- pulumi_oci/database/get_backup_destination.py +43 -1
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_maintenance_runs.py +20 -1
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +2260 -87
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +133 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/filesystem_snapshot_policy.py +28 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +15 -1
- pulumi_oci/filestorage/get_outbound_connector.py +15 -1
- pulumi_oci/filestorage/get_replication.py +15 -1
- pulumi_oci/filestorage/get_replication_target.py +15 -1
- pulumi_oci/filestorage/get_snapshot.py +15 -1
- pulumi_oci/filestorage/mount_target.py +28 -0
- pulumi_oci/filestorage/outbound_connector.py +28 -0
- pulumi_oci/filestorage/outputs.py +263 -0
- pulumi_oci/filestorage/replication.py +28 -0
- pulumi_oci/filestorage/snapshot.py +28 -0
- pulumi_oci/goldengate/connection.py +561 -162
- pulumi_oci/goldengate/database_registration.py +14 -14
- pulumi_oci/goldengate/get_connection.py +117 -6
- pulumi_oci/goldengate/outputs.py +96 -10
- pulumi_oci/jms/__init__.py +4 -0
- pulumi_oci/jms/_inputs.py +196 -0
- pulumi_oci/jms/get_fleet_error_analytics.py +163 -0
- pulumi_oci/jms/get_fleet_errors.py +264 -0
- pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +23 -1
- pulumi_oci/jms/get_jms_plugins.py +23 -1
- pulumi_oci/jms/get_plugin_error_analytics.py +163 -0
- pulumi_oci/jms/get_plugin_errors.py +264 -0
- pulumi_oci/jms/outputs.py +566 -6
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/provider.py +20 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- pulumi_oci/stackmonitoring/__init__.py +8 -0
- pulumi_oci/stackmonitoring/_inputs.py +372 -1
- pulumi_oci/stackmonitoring/get_defined_monitoring_templates.py +185 -0
- pulumi_oci/stackmonitoring/get_metric_extension.py +1 -1
- pulumi_oci/stackmonitoring/get_monitored_resource_type.py +15 -1
- pulumi_oci/stackmonitoring/get_monitoring_template.py +380 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_condition.py +318 -0
- pulumi_oci/stackmonitoring/get_monitoring_template_alarm_conditions.py +262 -0
- pulumi_oci/stackmonitoring/get_monitoring_templates.py +289 -0
- pulumi_oci/stackmonitoring/metric_extension.py +4 -4
- pulumi_oci/stackmonitoring/monitored_resource_type.py +30 -0
- pulumi_oci/stackmonitoring/monitoring_template.py +954 -0
- pulumi_oci/stackmonitoring/monitoring_template_alarm_condition.py +780 -0
- pulumi_oci/stackmonitoring/monitoring_template_monitoring_template_on_given_resources_management.py +253 -0
- pulumi_oci/stackmonitoring/outputs.py +1305 -118
- pulumi_oci/tenantmanagercontrolplane/__init__.py +33 -0
- pulumi_oci/tenantmanagercontrolplane/_inputs.py +685 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription.py +478 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_assigned_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain.py +253 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governance.py +281 -0
- pulumi_oci/tenantmanagercontrolplane/get_domain_governances.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_domains.py +226 -0
- pulumi_oci/tenantmanagercontrolplane/get_link.py +197 -0
- pulumi_oci/tenantmanagercontrolplane/get_links.py +191 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancies.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_organization_tenancy.py +233 -0
- pulumi_oci/tenantmanagercontrolplane/get_organizations.py +147 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_recipient_invitations.py +213 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitation.py +295 -0
- pulumi_oci/tenantmanagercontrolplane/get_sender_invitations.py +235 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription.py +464 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_available_regions.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_line_items.py +144 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mapping.py +211 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscription_mappings.py +210 -0
- pulumi_oci/tenantmanagercontrolplane/get_subscriptions.py +188 -0
- pulumi_oci/tenantmanagercontrolplane/outputs.py +3257 -0
- pulumi_oci/tenantmanagercontrolplane/subscription_mapping.py +409 -0
- pulumi_oci/vault/__init__.py +1 -1
- pulumi_oci/vault/_inputs.py +92 -0
- pulumi_oci/vault/get_secret.py +40 -1
- pulumi_oci/vault/{get_secret_version.py → get_secret_version_sdk_v2.py} +32 -77
- pulumi_oci/vault/outputs.py +210 -0
- pulumi_oci/vault/secret.py +122 -0
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/RECORD +218 -150
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.25.0a1740032973.dist-info → pulumi_oci-2.26.0.dist-info}/top_level.txt +0 -0
@@ -15,24 +15,27 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
-
'
|
19
|
-
'
|
20
|
-
'
|
21
|
-
'
|
18
|
+
'GetSecretVersionSdkV2Result',
|
19
|
+
'AwaitableGetSecretVersionSdkV2Result',
|
20
|
+
'get_secret_version_sdk_v2',
|
21
|
+
'get_secret_version_sdk_v2_output',
|
22
22
|
]
|
23
23
|
|
24
24
|
@pulumi.output_type
|
25
|
-
class
|
25
|
+
class GetSecretVersionSdkV2Result:
|
26
26
|
"""
|
27
|
-
A collection of values returned by
|
27
|
+
A collection of values returned by getSecretVersionSdkV2.
|
28
28
|
"""
|
29
|
-
def __init__(__self__, content_type=None, id=None, name=None, secret_id=None, secret_version_number=None, stages=None, time_created=None, time_of_current_version_expiry=None, time_of_deletion=None, version_number=None):
|
29
|
+
def __init__(__self__, content_type=None, id=None, is_content_auto_generated=None, name=None, secret_id=None, secret_version_number=None, stages=None, time_created=None, time_of_current_version_expiry=None, time_of_deletion=None, version_number=None):
|
30
30
|
if content_type and not isinstance(content_type, str):
|
31
31
|
raise TypeError("Expected argument 'content_type' to be a str")
|
32
32
|
pulumi.set(__self__, "content_type", content_type)
|
33
33
|
if id and not isinstance(id, str):
|
34
34
|
raise TypeError("Expected argument 'id' to be a str")
|
35
35
|
pulumi.set(__self__, "id", id)
|
36
|
+
if is_content_auto_generated and not isinstance(is_content_auto_generated, bool):
|
37
|
+
raise TypeError("Expected argument 'is_content_auto_generated' to be a bool")
|
38
|
+
pulumi.set(__self__, "is_content_auto_generated", is_content_auto_generated)
|
36
39
|
if name and not isinstance(name, str):
|
37
40
|
raise TypeError("Expected argument 'name' to be a str")
|
38
41
|
pulumi.set(__self__, "name", name)
|
@@ -61,9 +64,6 @@ class GetSecretVersionResult:
|
|
61
64
|
@property
|
62
65
|
@pulumi.getter(name="contentType")
|
63
66
|
def content_type(self) -> str:
|
64
|
-
"""
|
65
|
-
The content type of the secret version's secret contents.
|
66
|
-
"""
|
67
67
|
return pulumi.get(self, "content_type")
|
68
68
|
|
69
69
|
@property
|
@@ -74,20 +74,19 @@ class GetSecretVersionResult:
|
|
74
74
|
"""
|
75
75
|
return pulumi.get(self, "id")
|
76
76
|
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="isContentAutoGenerated")
|
79
|
+
def is_content_auto_generated(self) -> bool:
|
80
|
+
return pulumi.get(self, "is_content_auto_generated")
|
81
|
+
|
77
82
|
@property
|
78
83
|
@pulumi.getter
|
79
84
|
def name(self) -> str:
|
80
|
-
"""
|
81
|
-
The name of the secret version. A name is unique across versions of a secret.
|
82
|
-
"""
|
83
85
|
return pulumi.get(self, "name")
|
84
86
|
|
85
87
|
@property
|
86
88
|
@pulumi.getter(name="secretId")
|
87
89
|
def secret_id(self) -> str:
|
88
|
-
"""
|
89
|
-
The OCID of the secret.
|
90
|
-
"""
|
91
90
|
return pulumi.get(self, "secret_id")
|
92
91
|
|
93
92
|
@property
|
@@ -98,52 +97,38 @@ class GetSecretVersionResult:
|
|
98
97
|
@property
|
99
98
|
@pulumi.getter
|
100
99
|
def stages(self) -> Sequence[str]:
|
101
|
-
"""
|
102
|
-
A list of possible rotation states for the secret version. A secret version marked `CURRENT` is currently in use. A secret version marked `PENDING` is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The secret most recently uploaded to a vault is always marked `LATEST`. (The first version of a secret is always marked as both `CURRENT` and `LATEST`.) A secret version marked `PREVIOUS` is the secret version that was most recently marked `CURRENT`, before the last secret version rotation. A secret version marked `DEPRECATED` is neither current, pending, nor the previous one in use. Only secret versions marked `DEPRECATED` can be scheduled for deletion.
|
103
|
-
"""
|
104
100
|
return pulumi.get(self, "stages")
|
105
101
|
|
106
102
|
@property
|
107
103
|
@pulumi.getter(name="timeCreated")
|
108
104
|
def time_created(self) -> str:
|
109
|
-
"""
|
110
|
-
A optional property indicating when the secret version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
|
111
|
-
"""
|
112
105
|
return pulumi.get(self, "time_created")
|
113
106
|
|
114
107
|
@property
|
115
108
|
@pulumi.getter(name="timeOfCurrentVersionExpiry")
|
116
109
|
def time_of_current_version_expiry(self) -> str:
|
117
|
-
"""
|
118
|
-
An optional property indicating when the current secret version will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
|
119
|
-
"""
|
120
110
|
return pulumi.get(self, "time_of_current_version_expiry")
|
121
111
|
|
122
112
|
@property
|
123
113
|
@pulumi.getter(name="timeOfDeletion")
|
124
114
|
def time_of_deletion(self) -> str:
|
125
|
-
"""
|
126
|
-
An optional property indicating when to delete the secret version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
|
127
|
-
"""
|
128
115
|
return pulumi.get(self, "time_of_deletion")
|
129
116
|
|
130
117
|
@property
|
131
118
|
@pulumi.getter(name="versionNumber")
|
132
119
|
def version_number(self) -> str:
|
133
|
-
"""
|
134
|
-
The version number of the secret.
|
135
|
-
"""
|
136
120
|
return pulumi.get(self, "version_number")
|
137
121
|
|
138
122
|
|
139
|
-
class
|
123
|
+
class AwaitableGetSecretVersionSdkV2Result(GetSecretVersionSdkV2Result):
|
140
124
|
# pylint: disable=using-constant-test
|
141
125
|
def __await__(self):
|
142
126
|
if False:
|
143
127
|
yield self
|
144
|
-
return
|
128
|
+
return GetSecretVersionSdkV2Result(
|
145
129
|
content_type=self.content_type,
|
146
130
|
id=self.id,
|
131
|
+
is_content_auto_generated=self.is_content_auto_generated,
|
147
132
|
name=self.name,
|
148
133
|
secret_id=self.secret_id,
|
149
134
|
secret_version_number=self.secret_version_number,
|
@@ -154,37 +139,22 @@ class AwaitableGetSecretVersionResult(GetSecretVersionResult):
|
|
154
139
|
version_number=self.version_number)
|
155
140
|
|
156
141
|
|
157
|
-
def
|
158
|
-
|
159
|
-
|
142
|
+
def get_secret_version_sdk_v2(secret_id: Optional[str] = None,
|
143
|
+
secret_version_number: Optional[str] = None,
|
144
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretVersionSdkV2Result:
|
160
145
|
"""
|
161
|
-
|
162
|
-
|
163
|
-
Gets information about the specified version of a secret.
|
164
|
-
|
165
|
-
## Example Usage
|
166
|
-
|
167
|
-
```python
|
168
|
-
import pulumi
|
169
|
-
import pulumi_oci as oci
|
170
|
-
|
171
|
-
test_secret_version = oci.Vault.get_secret_version(secret_id=test_secret["id"],
|
172
|
-
secret_version_number=secret_version_secret_version_number)
|
173
|
-
```
|
174
|
-
|
175
|
-
|
176
|
-
:param str secret_id: The OCID of the secret.
|
177
|
-
:param str secret_version_number: The version number of the secret.
|
146
|
+
Use this data source to access information about an existing resource.
|
178
147
|
"""
|
179
148
|
__args__ = dict()
|
180
149
|
__args__['secretId'] = secret_id
|
181
150
|
__args__['secretVersionNumber'] = secret_version_number
|
182
151
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
183
|
-
__ret__ = pulumi.runtime.invoke('oci:Vault/
|
152
|
+
__ret__ = pulumi.runtime.invoke('oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2', __args__, opts=opts, typ=GetSecretVersionSdkV2Result).value
|
184
153
|
|
185
|
-
return
|
154
|
+
return AwaitableGetSecretVersionSdkV2Result(
|
186
155
|
content_type=pulumi.get(__ret__, 'content_type'),
|
187
156
|
id=pulumi.get(__ret__, 'id'),
|
157
|
+
is_content_auto_generated=pulumi.get(__ret__, 'is_content_auto_generated'),
|
188
158
|
name=pulumi.get(__ret__, 'name'),
|
189
159
|
secret_id=pulumi.get(__ret__, 'secret_id'),
|
190
160
|
secret_version_number=pulumi.get(__ret__, 'secret_version_number'),
|
@@ -193,36 +163,21 @@ def get_secret_version(secret_id: Optional[str] = None,
|
|
193
163
|
time_of_current_version_expiry=pulumi.get(__ret__, 'time_of_current_version_expiry'),
|
194
164
|
time_of_deletion=pulumi.get(__ret__, 'time_of_deletion'),
|
195
165
|
version_number=pulumi.get(__ret__, 'version_number'))
|
196
|
-
def
|
197
|
-
|
198
|
-
|
166
|
+
def get_secret_version_sdk_v2_output(secret_id: Optional[pulumi.Input[str]] = None,
|
167
|
+
secret_version_number: Optional[pulumi.Input[str]] = None,
|
168
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecretVersionSdkV2Result]:
|
199
169
|
"""
|
200
|
-
|
201
|
-
|
202
|
-
Gets information about the specified version of a secret.
|
203
|
-
|
204
|
-
## Example Usage
|
205
|
-
|
206
|
-
```python
|
207
|
-
import pulumi
|
208
|
-
import pulumi_oci as oci
|
209
|
-
|
210
|
-
test_secret_version = oci.Vault.get_secret_version(secret_id=test_secret["id"],
|
211
|
-
secret_version_number=secret_version_secret_version_number)
|
212
|
-
```
|
213
|
-
|
214
|
-
|
215
|
-
:param str secret_id: The OCID of the secret.
|
216
|
-
:param str secret_version_number: The version number of the secret.
|
170
|
+
Use this data source to access information about an existing resource.
|
217
171
|
"""
|
218
172
|
__args__ = dict()
|
219
173
|
__args__['secretId'] = secret_id
|
220
174
|
__args__['secretVersionNumber'] = secret_version_number
|
221
175
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
222
|
-
__ret__ = pulumi.runtime.invoke_output('oci:Vault/
|
223
|
-
return __ret__.apply(lambda __response__:
|
176
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Vault/getSecretVersionSdkV2:getSecretVersionSdkV2', __args__, opts=opts, typ=GetSecretVersionSdkV2Result)
|
177
|
+
return __ret__.apply(lambda __response__: GetSecretVersionSdkV2Result(
|
224
178
|
content_type=pulumi.get(__response__, 'content_type'),
|
225
179
|
id=pulumi.get(__response__, 'id'),
|
180
|
+
is_content_auto_generated=pulumi.get(__response__, 'is_content_auto_generated'),
|
226
181
|
name=pulumi.get(__response__, 'name'),
|
227
182
|
secret_id=pulumi.get(__response__, 'secret_id'),
|
228
183
|
secret_version_number=pulumi.get(__response__, 'secret_version_number'),
|
pulumi_oci/vault/outputs.py
CHANGED
@@ -19,16 +19,19 @@ __all__ = [
|
|
19
19
|
'SecretRotationConfig',
|
20
20
|
'SecretRotationConfigTargetSystemDetails',
|
21
21
|
'SecretSecretContent',
|
22
|
+
'SecretSecretGenerationContext',
|
22
23
|
'SecretSecretRule',
|
23
24
|
'GetSecretRotationConfigResult',
|
24
25
|
'GetSecretRotationConfigTargetSystemDetailResult',
|
25
26
|
'GetSecretSecretContentResult',
|
27
|
+
'GetSecretSecretGenerationContextResult',
|
26
28
|
'GetSecretSecretRuleResult',
|
27
29
|
'GetSecretsFilterResult',
|
28
30
|
'GetSecretsSecretResult',
|
29
31
|
'GetSecretsSecretRotationConfigResult',
|
30
32
|
'GetSecretsSecretRotationConfigTargetSystemDetailResult',
|
31
33
|
'GetSecretsSecretSecretContentResult',
|
34
|
+
'GetSecretsSecretSecretGenerationContextResult',
|
32
35
|
'GetSecretsSecretSecretRuleResult',
|
33
36
|
]
|
34
37
|
|
@@ -229,6 +232,82 @@ class SecretSecretContent(dict):
|
|
229
232
|
return pulumi.get(self, "stage")
|
230
233
|
|
231
234
|
|
235
|
+
@pulumi.output_type
|
236
|
+
class SecretSecretGenerationContext(dict):
|
237
|
+
@staticmethod
|
238
|
+
def __key_warning(key: str):
|
239
|
+
suggest = None
|
240
|
+
if key == "generationTemplate":
|
241
|
+
suggest = "generation_template"
|
242
|
+
elif key == "generationType":
|
243
|
+
suggest = "generation_type"
|
244
|
+
elif key == "passphraseLength":
|
245
|
+
suggest = "passphrase_length"
|
246
|
+
elif key == "secretTemplate":
|
247
|
+
suggest = "secret_template"
|
248
|
+
|
249
|
+
if suggest:
|
250
|
+
pulumi.log.warn(f"Key '{key}' not found in SecretSecretGenerationContext. Access the value via the '{suggest}' property getter instead.")
|
251
|
+
|
252
|
+
def __getitem__(self, key: str) -> Any:
|
253
|
+
SecretSecretGenerationContext.__key_warning(key)
|
254
|
+
return super().__getitem__(key)
|
255
|
+
|
256
|
+
def get(self, key: str, default = None) -> Any:
|
257
|
+
SecretSecretGenerationContext.__key_warning(key)
|
258
|
+
return super().get(key, default)
|
259
|
+
|
260
|
+
def __init__(__self__, *,
|
261
|
+
generation_template: str,
|
262
|
+
generation_type: str,
|
263
|
+
passphrase_length: Optional[int] = None,
|
264
|
+
secret_template: Optional[str] = None):
|
265
|
+
"""
|
266
|
+
:param str generation_template: (Updatable) Name of random bytes generation template for generating random byte type secret.
|
267
|
+
:param str generation_type: (Updatable) Name of the predefined secret generation type.
|
268
|
+
:param int passphrase_length: (Updatable) Length of the passphrase to be generated
|
269
|
+
:param str secret_template: (Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
270
|
+
"""
|
271
|
+
pulumi.set(__self__, "generation_template", generation_template)
|
272
|
+
pulumi.set(__self__, "generation_type", generation_type)
|
273
|
+
if passphrase_length is not None:
|
274
|
+
pulumi.set(__self__, "passphrase_length", passphrase_length)
|
275
|
+
if secret_template is not None:
|
276
|
+
pulumi.set(__self__, "secret_template", secret_template)
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="generationTemplate")
|
280
|
+
def generation_template(self) -> str:
|
281
|
+
"""
|
282
|
+
(Updatable) Name of random bytes generation template for generating random byte type secret.
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "generation_template")
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter(name="generationType")
|
288
|
+
def generation_type(self) -> str:
|
289
|
+
"""
|
290
|
+
(Updatable) Name of the predefined secret generation type.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "generation_type")
|
293
|
+
|
294
|
+
@property
|
295
|
+
@pulumi.getter(name="passphraseLength")
|
296
|
+
def passphrase_length(self) -> Optional[int]:
|
297
|
+
"""
|
298
|
+
(Updatable) Length of the passphrase to be generated
|
299
|
+
"""
|
300
|
+
return pulumi.get(self, "passphrase_length")
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter(name="secretTemplate")
|
304
|
+
def secret_template(self) -> Optional[str]:
|
305
|
+
"""
|
306
|
+
(Updatable) SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "secret_template")
|
309
|
+
|
310
|
+
|
232
311
|
@pulumi.output_type
|
233
312
|
class SecretSecretRule(dict):
|
234
313
|
@staticmethod
|
@@ -433,6 +512,57 @@ class GetSecretSecretContentResult(dict):
|
|
433
512
|
return pulumi.get(self, "stage")
|
434
513
|
|
435
514
|
|
515
|
+
@pulumi.output_type
|
516
|
+
class GetSecretSecretGenerationContextResult(dict):
|
517
|
+
def __init__(__self__, *,
|
518
|
+
generation_template: str,
|
519
|
+
generation_type: str,
|
520
|
+
passphrase_length: int,
|
521
|
+
secret_template: str):
|
522
|
+
"""
|
523
|
+
:param str generation_template: Name of random bytes generation template for generating random byte type secret.
|
524
|
+
:param str generation_type: Name of the predefined secret generation type.
|
525
|
+
:param int passphrase_length: Length of the passphrase to be generated
|
526
|
+
:param str secret_template: SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
527
|
+
"""
|
528
|
+
pulumi.set(__self__, "generation_template", generation_template)
|
529
|
+
pulumi.set(__self__, "generation_type", generation_type)
|
530
|
+
pulumi.set(__self__, "passphrase_length", passphrase_length)
|
531
|
+
pulumi.set(__self__, "secret_template", secret_template)
|
532
|
+
|
533
|
+
@property
|
534
|
+
@pulumi.getter(name="generationTemplate")
|
535
|
+
def generation_template(self) -> str:
|
536
|
+
"""
|
537
|
+
Name of random bytes generation template for generating random byte type secret.
|
538
|
+
"""
|
539
|
+
return pulumi.get(self, "generation_template")
|
540
|
+
|
541
|
+
@property
|
542
|
+
@pulumi.getter(name="generationType")
|
543
|
+
def generation_type(self) -> str:
|
544
|
+
"""
|
545
|
+
Name of the predefined secret generation type.
|
546
|
+
"""
|
547
|
+
return pulumi.get(self, "generation_type")
|
548
|
+
|
549
|
+
@property
|
550
|
+
@pulumi.getter(name="passphraseLength")
|
551
|
+
def passphrase_length(self) -> int:
|
552
|
+
"""
|
553
|
+
Length of the passphrase to be generated
|
554
|
+
"""
|
555
|
+
return pulumi.get(self, "passphrase_length")
|
556
|
+
|
557
|
+
@property
|
558
|
+
@pulumi.getter(name="secretTemplate")
|
559
|
+
def secret_template(self) -> str:
|
560
|
+
"""
|
561
|
+
SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
562
|
+
"""
|
563
|
+
return pulumi.get(self, "secret_template")
|
564
|
+
|
565
|
+
|
436
566
|
@pulumi.output_type
|
437
567
|
class GetSecretSecretRuleResult(dict):
|
438
568
|
def __init__(__self__, *,
|
@@ -535,8 +665,10 @@ class GetSecretsSecretResult(dict):
|
|
535
665
|
current_version_number: str,
|
536
666
|
defined_tags: Mapping[str, str],
|
537
667
|
description: str,
|
668
|
+
enable_auto_generation: bool,
|
538
669
|
freeform_tags: Mapping[str, str],
|
539
670
|
id: str,
|
671
|
+
is_auto_generation_enabled: bool,
|
540
672
|
key_id: str,
|
541
673
|
last_rotation_time: str,
|
542
674
|
lifecycle_details: str,
|
@@ -545,6 +677,7 @@ class GetSecretsSecretResult(dict):
|
|
545
677
|
rotation_configs: Sequence['outputs.GetSecretsSecretRotationConfigResult'],
|
546
678
|
rotation_status: str,
|
547
679
|
secret_contents: Sequence['outputs.GetSecretsSecretSecretContentResult'],
|
680
|
+
secret_generation_contexts: Sequence['outputs.GetSecretsSecretSecretGenerationContextResult'],
|
548
681
|
secret_name: str,
|
549
682
|
secret_rules: Sequence['outputs.GetSecretsSecretSecretRuleResult'],
|
550
683
|
state: str,
|
@@ -559,6 +692,7 @@ class GetSecretsSecretResult(dict):
|
|
559
692
|
:param str description: A brief description of the secret. Avoid entering confidential information.
|
560
693
|
:param Mapping[str, str] freeform_tags: 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"}`
|
561
694
|
:param str id: The OCID of the secret.
|
695
|
+
:param bool is_auto_generation_enabled: The value of this flag determines whether or not secret content will be generated automatically.
|
562
696
|
:param str key_id: The OCID of the master encryption key that is used to encrypt the secret. You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify.
|
563
697
|
:param str last_rotation_time: A property indicating when the secret was last rotated successfully, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
|
564
698
|
:param str lifecycle_details: Additional information about the current lifecycle state of the secret.
|
@@ -566,6 +700,7 @@ class GetSecretsSecretResult(dict):
|
|
566
700
|
:param str next_rotation_time: A property indicating when the secret is scheduled to be rotated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z`
|
567
701
|
:param Sequence['GetSecretsSecretRotationConfigArgs'] rotation_configs: Defines the frequency of the rotation and the information about the target system
|
568
702
|
:param str rotation_status: Additional information about the status of the secret rotation
|
703
|
+
:param Sequence['GetSecretsSecretSecretGenerationContextArgs'] secret_generation_contexts: Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.
|
569
704
|
:param str secret_name: The user-friendly name of the secret. Avoid entering confidential information.
|
570
705
|
:param Sequence['GetSecretsSecretSecretRuleArgs'] secret_rules: A list of rules that control how the secret is used and managed.
|
571
706
|
:param str state: A filter that returns only resources that match the specified lifecycle state. The state value is case-insensitive.
|
@@ -578,8 +713,10 @@ class GetSecretsSecretResult(dict):
|
|
578
713
|
pulumi.set(__self__, "current_version_number", current_version_number)
|
579
714
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
580
715
|
pulumi.set(__self__, "description", description)
|
716
|
+
pulumi.set(__self__, "enable_auto_generation", enable_auto_generation)
|
581
717
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
582
718
|
pulumi.set(__self__, "id", id)
|
719
|
+
pulumi.set(__self__, "is_auto_generation_enabled", is_auto_generation_enabled)
|
583
720
|
pulumi.set(__self__, "key_id", key_id)
|
584
721
|
pulumi.set(__self__, "last_rotation_time", last_rotation_time)
|
585
722
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
@@ -588,6 +725,7 @@ class GetSecretsSecretResult(dict):
|
|
588
725
|
pulumi.set(__self__, "rotation_configs", rotation_configs)
|
589
726
|
pulumi.set(__self__, "rotation_status", rotation_status)
|
590
727
|
pulumi.set(__self__, "secret_contents", secret_contents)
|
728
|
+
pulumi.set(__self__, "secret_generation_contexts", secret_generation_contexts)
|
591
729
|
pulumi.set(__self__, "secret_name", secret_name)
|
592
730
|
pulumi.set(__self__, "secret_rules", secret_rules)
|
593
731
|
pulumi.set(__self__, "state", state)
|
@@ -628,6 +766,11 @@ class GetSecretsSecretResult(dict):
|
|
628
766
|
"""
|
629
767
|
return pulumi.get(self, "description")
|
630
768
|
|
769
|
+
@property
|
770
|
+
@pulumi.getter(name="enableAutoGeneration")
|
771
|
+
def enable_auto_generation(self) -> bool:
|
772
|
+
return pulumi.get(self, "enable_auto_generation")
|
773
|
+
|
631
774
|
@property
|
632
775
|
@pulumi.getter(name="freeformTags")
|
633
776
|
def freeform_tags(self) -> Mapping[str, str]:
|
@@ -644,6 +787,14 @@ class GetSecretsSecretResult(dict):
|
|
644
787
|
"""
|
645
788
|
return pulumi.get(self, "id")
|
646
789
|
|
790
|
+
@property
|
791
|
+
@pulumi.getter(name="isAutoGenerationEnabled")
|
792
|
+
def is_auto_generation_enabled(self) -> bool:
|
793
|
+
"""
|
794
|
+
The value of this flag determines whether or not secret content will be generated automatically.
|
795
|
+
"""
|
796
|
+
return pulumi.get(self, "is_auto_generation_enabled")
|
797
|
+
|
647
798
|
@property
|
648
799
|
@pulumi.getter(name="keyId")
|
649
800
|
def key_id(self) -> str:
|
@@ -705,6 +856,14 @@ class GetSecretsSecretResult(dict):
|
|
705
856
|
def secret_contents(self) -> Sequence['outputs.GetSecretsSecretSecretContentResult']:
|
706
857
|
return pulumi.get(self, "secret_contents")
|
707
858
|
|
859
|
+
@property
|
860
|
+
@pulumi.getter(name="secretGenerationContexts")
|
861
|
+
def secret_generation_contexts(self) -> Sequence['outputs.GetSecretsSecretSecretGenerationContextResult']:
|
862
|
+
"""
|
863
|
+
Captures a configurable set of secret generation rules such as length, base characters, additional characters, and so on.
|
864
|
+
"""
|
865
|
+
return pulumi.get(self, "secret_generation_contexts")
|
866
|
+
|
708
867
|
@property
|
709
868
|
@pulumi.getter(name="secretName")
|
710
869
|
def secret_name(self) -> str:
|
@@ -881,6 +1040,57 @@ class GetSecretsSecretSecretContentResult(dict):
|
|
881
1040
|
return pulumi.get(self, "stage")
|
882
1041
|
|
883
1042
|
|
1043
|
+
@pulumi.output_type
|
1044
|
+
class GetSecretsSecretSecretGenerationContextResult(dict):
|
1045
|
+
def __init__(__self__, *,
|
1046
|
+
generation_template: str,
|
1047
|
+
generation_type: str,
|
1048
|
+
passphrase_length: int,
|
1049
|
+
secret_template: str):
|
1050
|
+
"""
|
1051
|
+
:param str generation_template: Name of random bytes generation template for generating random byte type secret.
|
1052
|
+
:param str generation_type: Name of the predefined secret generation type.
|
1053
|
+
:param int passphrase_length: Length of the passphrase to be generated
|
1054
|
+
:param str secret_template: SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
1055
|
+
"""
|
1056
|
+
pulumi.set(__self__, "generation_template", generation_template)
|
1057
|
+
pulumi.set(__self__, "generation_type", generation_type)
|
1058
|
+
pulumi.set(__self__, "passphrase_length", passphrase_length)
|
1059
|
+
pulumi.set(__self__, "secret_template", secret_template)
|
1060
|
+
|
1061
|
+
@property
|
1062
|
+
@pulumi.getter(name="generationTemplate")
|
1063
|
+
def generation_template(self) -> str:
|
1064
|
+
"""
|
1065
|
+
Name of random bytes generation template for generating random byte type secret.
|
1066
|
+
"""
|
1067
|
+
return pulumi.get(self, "generation_template")
|
1068
|
+
|
1069
|
+
@property
|
1070
|
+
@pulumi.getter(name="generationType")
|
1071
|
+
def generation_type(self) -> str:
|
1072
|
+
"""
|
1073
|
+
Name of the predefined secret generation type.
|
1074
|
+
"""
|
1075
|
+
return pulumi.get(self, "generation_type")
|
1076
|
+
|
1077
|
+
@property
|
1078
|
+
@pulumi.getter(name="passphraseLength")
|
1079
|
+
def passphrase_length(self) -> int:
|
1080
|
+
"""
|
1081
|
+
Length of the passphrase to be generated
|
1082
|
+
"""
|
1083
|
+
return pulumi.get(self, "passphrase_length")
|
1084
|
+
|
1085
|
+
@property
|
1086
|
+
@pulumi.getter(name="secretTemplate")
|
1087
|
+
def secret_template(self) -> str:
|
1088
|
+
"""
|
1089
|
+
SecretTemplate captures structure in which customer wants to store secrets. This is optional and a default structure is available for each secret type. The template can have any structure with static values that are not generated. Within the template, you can insert predefined placeholders to store secrets. These placeholders are later replaced with the generated content and saved as a Base64 encoded content.
|
1090
|
+
"""
|
1091
|
+
return pulumi.get(self, "secret_template")
|
1092
|
+
|
1093
|
+
|
884
1094
|
@pulumi.output_type
|
885
1095
|
class GetSecretsSecretSecretRuleResult(dict):
|
886
1096
|
def __init__(__self__, *,
|