pulumi-gcp 8.3.0a1726834947__py3-none-any.whl → 8.3.0a1727226164__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_gcp/__init__.py +120 -0
- pulumi_gcp/alloydb/_inputs.py +20 -0
- pulumi_gcp/alloydb/instance.py +36 -0
- pulumi_gcp/alloydb/outputs.py +14 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +1400 -0
- pulumi_gcp/compute/attached_disk.py +103 -0
- pulumi_gcp/compute/backend_service.py +29 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +769 -0
- pulumi_gcp/compute/outputs.py +1019 -0
- pulumi_gcp/compute/region_backend_service.py +29 -22
- pulumi_gcp/compute/router_nat.py +27 -66
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +72 -99
- pulumi_gcp/container/outputs.py +53 -70
- pulumi_gcp/databasemigrationservice/__init__.py +1 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +362 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +1739 -0
- pulumi_gcp/databasemigrationservice/outputs.py +268 -0
- pulumi_gcp/dataproc/get_metastore_service.py +11 -1
- pulumi_gcp/dataproc/metastore_service.py +93 -0
- pulumi_gcp/developerconnect/_inputs.py +42 -39
- pulumi_gcp/developerconnect/connection.py +86 -83
- pulumi_gcp/developerconnect/outputs.py +28 -26
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +131 -0
- pulumi_gcp/discoveryengine/outputs.py +131 -0
- pulumi_gcp/discoveryengine/target_site.py +870 -0
- pulumi_gcp/dns/managed_zone.py +1 -1
- pulumi_gcp/filestore/get_instance.py +21 -1
- pulumi_gcp/filestore/instance.py +94 -0
- pulumi_gcp/gkehub/feature_membership.py +140 -62
- pulumi_gcp/healthcare/__init__.py +1 -0
- pulumi_gcp/healthcare/_inputs.py +39 -0
- pulumi_gcp/healthcare/outputs.py +40 -0
- pulumi_gcp/healthcare/workspace.py +465 -0
- pulumi_gcp/looker/instance.py +81 -0
- pulumi_gcp/netapp/_inputs.py +63 -0
- pulumi_gcp/netapp/outputs.py +57 -0
- pulumi_gcp/netapp/storage_pool.py +54 -0
- pulumi_gcp/netapp/volume.py +82 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +43 -7
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/__init__.py +8 -0
- pulumi_gcp/secretmanager/_inputs.py +308 -0
- pulumi_gcp/secretmanager/get_regional_secret.py +279 -0
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +173 -0
- pulumi_gcp/secretmanager/get_regional_secret_version.py +241 -0
- pulumi_gcp/secretmanager/outputs.py +336 -0
- pulumi_gcp/secretmanager/regional_secret.py +1433 -0
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +1082 -0
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +1082 -0
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +901 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +753 -0
- pulumi_gcp/securitycenter/__init__.py +4 -0
- pulumi_gcp/securitycenter/folder_scc_big_query_export.py +795 -0
- pulumi_gcp/securitycenter/organization_scc_big_query_export.py +738 -0
- pulumi_gcp/securitycenter/project_scc_big_query_export.py +749 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +862 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +6 -2
- pulumi_gcp/siteverification/__init__.py +3 -0
- pulumi_gcp/siteverification/_inputs.py +85 -0
- pulumi_gcp/siteverification/outputs.py +57 -0
- pulumi_gcp/siteverification/web_resource.py +398 -0
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/_inputs.py +129 -0
- pulumi_gcp/spanner/backup_schedule.py +748 -0
- pulumi_gcp/spanner/get_instance.py +11 -1
- pulumi_gcp/spanner/instance.py +56 -0
- pulumi_gcp/spanner/outputs.py +93 -0
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/RECORD +76 -56
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.3.0a1726834947.dist-info → pulumi_gcp-8.3.0a1727226164.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,241 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetRegionalSecretVersionResult',
|
20
|
+
'AwaitableGetRegionalSecretVersionResult',
|
21
|
+
'get_regional_secret_version',
|
22
|
+
'get_regional_secret_version_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetRegionalSecretVersionResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getRegionalSecretVersion.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, create_time=None, customer_managed_encryptions=None, destroy_time=None, enabled=None, id=None, location=None, name=None, project=None, secret=None, secret_data=None, version=None):
|
31
|
+
if create_time and not isinstance(create_time, str):
|
32
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
33
|
+
pulumi.set(__self__, "create_time", create_time)
|
34
|
+
if customer_managed_encryptions and not isinstance(customer_managed_encryptions, list):
|
35
|
+
raise TypeError("Expected argument 'customer_managed_encryptions' to be a list")
|
36
|
+
pulumi.set(__self__, "customer_managed_encryptions", customer_managed_encryptions)
|
37
|
+
if destroy_time and not isinstance(destroy_time, str):
|
38
|
+
raise TypeError("Expected argument 'destroy_time' to be a str")
|
39
|
+
pulumi.set(__self__, "destroy_time", destroy_time)
|
40
|
+
if enabled and not isinstance(enabled, bool):
|
41
|
+
raise TypeError("Expected argument 'enabled' to be a bool")
|
42
|
+
pulumi.set(__self__, "enabled", enabled)
|
43
|
+
if id and not isinstance(id, str):
|
44
|
+
raise TypeError("Expected argument 'id' to be a str")
|
45
|
+
pulumi.set(__self__, "id", id)
|
46
|
+
if location and not isinstance(location, str):
|
47
|
+
raise TypeError("Expected argument 'location' to be a str")
|
48
|
+
pulumi.set(__self__, "location", location)
|
49
|
+
if name and not isinstance(name, str):
|
50
|
+
raise TypeError("Expected argument 'name' to be a str")
|
51
|
+
pulumi.set(__self__, "name", name)
|
52
|
+
if project and not isinstance(project, str):
|
53
|
+
raise TypeError("Expected argument 'project' to be a str")
|
54
|
+
pulumi.set(__self__, "project", project)
|
55
|
+
if secret and not isinstance(secret, str):
|
56
|
+
raise TypeError("Expected argument 'secret' to be a str")
|
57
|
+
pulumi.set(__self__, "secret", secret)
|
58
|
+
if secret_data and not isinstance(secret_data, str):
|
59
|
+
raise TypeError("Expected argument 'secret_data' to be a str")
|
60
|
+
pulumi.set(__self__, "secret_data", secret_data)
|
61
|
+
if version and not isinstance(version, str):
|
62
|
+
raise TypeError("Expected argument 'version' to be a str")
|
63
|
+
pulumi.set(__self__, "version", version)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="createTime")
|
67
|
+
def create_time(self) -> str:
|
68
|
+
"""
|
69
|
+
The time at which the regional secret was created.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "create_time")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="customerManagedEncryptions")
|
75
|
+
def customer_managed_encryptions(self) -> Sequence['outputs.GetRegionalSecretVersionCustomerManagedEncryptionResult']:
|
76
|
+
"""
|
77
|
+
The customer-managed encryption configuration of the regional secret. Structure is documented below.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "customer_managed_encryptions")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="destroyTime")
|
83
|
+
def destroy_time(self) -> str:
|
84
|
+
"""
|
85
|
+
The time at which the regional secret was destroyed. Only present if state is DESTROYED.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "destroy_time")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def enabled(self) -> bool:
|
92
|
+
"""
|
93
|
+
True if the current state of the regional SecretVersion is enabled.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "enabled")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def id(self) -> str:
|
100
|
+
"""
|
101
|
+
The provider-assigned unique ID for this managed resource.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "id")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter
|
107
|
+
def location(self) -> str:
|
108
|
+
return pulumi.get(self, "location")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def name(self) -> str:
|
113
|
+
"""
|
114
|
+
The resource name of the regional SecretVersion. Format:
|
115
|
+
`projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}`
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "name")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter
|
121
|
+
def project(self) -> str:
|
122
|
+
return pulumi.get(self, "project")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def secret(self) -> str:
|
127
|
+
return pulumi.get(self, "secret")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="secretData")
|
131
|
+
def secret_data(self) -> str:
|
132
|
+
"""
|
133
|
+
The secret data. No larger than 64KiB.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "secret_data")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter
|
139
|
+
def version(self) -> str:
|
140
|
+
return pulumi.get(self, "version")
|
141
|
+
|
142
|
+
|
143
|
+
class AwaitableGetRegionalSecretVersionResult(GetRegionalSecretVersionResult):
|
144
|
+
# pylint: disable=using-constant-test
|
145
|
+
def __await__(self):
|
146
|
+
if False:
|
147
|
+
yield self
|
148
|
+
return GetRegionalSecretVersionResult(
|
149
|
+
create_time=self.create_time,
|
150
|
+
customer_managed_encryptions=self.customer_managed_encryptions,
|
151
|
+
destroy_time=self.destroy_time,
|
152
|
+
enabled=self.enabled,
|
153
|
+
id=self.id,
|
154
|
+
location=self.location,
|
155
|
+
name=self.name,
|
156
|
+
project=self.project,
|
157
|
+
secret=self.secret,
|
158
|
+
secret_data=self.secret_data,
|
159
|
+
version=self.version)
|
160
|
+
|
161
|
+
|
162
|
+
def get_regional_secret_version(location: Optional[str] = None,
|
163
|
+
project: Optional[str] = None,
|
164
|
+
secret: Optional[str] = None,
|
165
|
+
version: Optional[str] = None,
|
166
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegionalSecretVersionResult:
|
167
|
+
"""
|
168
|
+
Get the value and metadata from a Secret Manager regional secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions). If you don't need the metadata (i.e., if you want to use a more limited role to access the regional secret version only), see also the google_secret_manager_regional_secret_version_access datasource.
|
169
|
+
|
170
|
+
## Example Usage
|
171
|
+
|
172
|
+
```python
|
173
|
+
import pulumi
|
174
|
+
import pulumi_gcp as gcp
|
175
|
+
|
176
|
+
basic = gcp.secretmanager.get_regional_secret_version(secret="my-secret",
|
177
|
+
location="us-central1")
|
178
|
+
```
|
179
|
+
|
180
|
+
|
181
|
+
:param str location: Location of Secret Manager regional secret resource.
|
182
|
+
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
183
|
+
:param str project: The project to get the secret version for. If it
|
184
|
+
is not provided, the provider project is used.
|
185
|
+
:param str secret: The regional secret to get the secret version for.
|
186
|
+
This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided.
|
187
|
+
:param str version: The version of the regional secret to get. If it
|
188
|
+
is not provided, the latest version is retrieved.
|
189
|
+
"""
|
190
|
+
__args__ = dict()
|
191
|
+
__args__['location'] = location
|
192
|
+
__args__['project'] = project
|
193
|
+
__args__['secret'] = secret
|
194
|
+
__args__['version'] = version
|
195
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
196
|
+
__ret__ = pulumi.runtime.invoke('gcp:secretmanager/getRegionalSecretVersion:getRegionalSecretVersion', __args__, opts=opts, typ=GetRegionalSecretVersionResult).value
|
197
|
+
|
198
|
+
return AwaitableGetRegionalSecretVersionResult(
|
199
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
200
|
+
customer_managed_encryptions=pulumi.get(__ret__, 'customer_managed_encryptions'),
|
201
|
+
destroy_time=pulumi.get(__ret__, 'destroy_time'),
|
202
|
+
enabled=pulumi.get(__ret__, 'enabled'),
|
203
|
+
id=pulumi.get(__ret__, 'id'),
|
204
|
+
location=pulumi.get(__ret__, 'location'),
|
205
|
+
name=pulumi.get(__ret__, 'name'),
|
206
|
+
project=pulumi.get(__ret__, 'project'),
|
207
|
+
secret=pulumi.get(__ret__, 'secret'),
|
208
|
+
secret_data=pulumi.get(__ret__, 'secret_data'),
|
209
|
+
version=pulumi.get(__ret__, 'version'))
|
210
|
+
|
211
|
+
|
212
|
+
@_utilities.lift_output_func(get_regional_secret_version)
|
213
|
+
def get_regional_secret_version_output(location: Optional[pulumi.Input[Optional[str]]] = None,
|
214
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
215
|
+
secret: Optional[pulumi.Input[str]] = None,
|
216
|
+
version: Optional[pulumi.Input[Optional[str]]] = None,
|
217
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegionalSecretVersionResult]:
|
218
|
+
"""
|
219
|
+
Get the value and metadata from a Secret Manager regional secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions). If you don't need the metadata (i.e., if you want to use a more limited role to access the regional secret version only), see also the google_secret_manager_regional_secret_version_access datasource.
|
220
|
+
|
221
|
+
## Example Usage
|
222
|
+
|
223
|
+
```python
|
224
|
+
import pulumi
|
225
|
+
import pulumi_gcp as gcp
|
226
|
+
|
227
|
+
basic = gcp.secretmanager.get_regional_secret_version(secret="my-secret",
|
228
|
+
location="us-central1")
|
229
|
+
```
|
230
|
+
|
231
|
+
|
232
|
+
:param str location: Location of Secret Manager regional secret resource.
|
233
|
+
It must be provided when the `secret` field provided consists of only the name of the regional secret.
|
234
|
+
:param str project: The project to get the secret version for. If it
|
235
|
+
is not provided, the provider project is used.
|
236
|
+
:param str secret: The regional secret to get the secret version for.
|
237
|
+
This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided.
|
238
|
+
:param str version: The version of the regional secret to get. If it
|
239
|
+
is not provided, the latest version is retrieved.
|
240
|
+
"""
|
241
|
+
...
|
@@ -16,6 +16,12 @@ from .. import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
+
'RegionalSecretCustomerManagedEncryption',
|
20
|
+
'RegionalSecretIamBindingCondition',
|
21
|
+
'RegionalSecretIamMemberCondition',
|
22
|
+
'RegionalSecretRotation',
|
23
|
+
'RegionalSecretTopic',
|
24
|
+
'RegionalSecretVersionCustomerManagedEncryption',
|
19
25
|
'SecretIamBindingCondition',
|
20
26
|
'SecretIamMemberCondition',
|
21
27
|
'SecretReplication',
|
@@ -26,6 +32,10 @@ __all__ = [
|
|
26
32
|
'SecretReplicationUserManagedReplicaCustomerManagedEncryption',
|
27
33
|
'SecretRotation',
|
28
34
|
'SecretTopic',
|
35
|
+
'GetRegionalSecretCustomerManagedEncryptionResult',
|
36
|
+
'GetRegionalSecretRotationResult',
|
37
|
+
'GetRegionalSecretTopicResult',
|
38
|
+
'GetRegionalSecretVersionCustomerManagedEncryptionResult',
|
29
39
|
'GetSecretReplicationResult',
|
30
40
|
'GetSecretReplicationAutoResult',
|
31
41
|
'GetSecretReplicationAutoCustomerManagedEncryptionResult',
|
@@ -45,6 +55,235 @@ __all__ = [
|
|
45
55
|
'GetSecretsSecretTopicResult',
|
46
56
|
]
|
47
57
|
|
58
|
+
@pulumi.output_type
|
59
|
+
class RegionalSecretCustomerManagedEncryption(dict):
|
60
|
+
@staticmethod
|
61
|
+
def __key_warning(key: str):
|
62
|
+
suggest = None
|
63
|
+
if key == "kmsKeyName":
|
64
|
+
suggest = "kms_key_name"
|
65
|
+
|
66
|
+
if suggest:
|
67
|
+
pulumi.log.warn(f"Key '{key}' not found in RegionalSecretCustomerManagedEncryption. Access the value via the '{suggest}' property getter instead.")
|
68
|
+
|
69
|
+
def __getitem__(self, key: str) -> Any:
|
70
|
+
RegionalSecretCustomerManagedEncryption.__key_warning(key)
|
71
|
+
return super().__getitem__(key)
|
72
|
+
|
73
|
+
def get(self, key: str, default = None) -> Any:
|
74
|
+
RegionalSecretCustomerManagedEncryption.__key_warning(key)
|
75
|
+
return super().get(key, default)
|
76
|
+
|
77
|
+
def __init__(__self__, *,
|
78
|
+
kms_key_name: str):
|
79
|
+
"""
|
80
|
+
:param str kms_key_name: The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
81
|
+
"""
|
82
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="kmsKeyName")
|
86
|
+
def kms_key_name(self) -> str:
|
87
|
+
"""
|
88
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "kms_key_name")
|
91
|
+
|
92
|
+
|
93
|
+
@pulumi.output_type
|
94
|
+
class RegionalSecretIamBindingCondition(dict):
|
95
|
+
def __init__(__self__, *,
|
96
|
+
expression: str,
|
97
|
+
title: str,
|
98
|
+
description: Optional[str] = None):
|
99
|
+
"""
|
100
|
+
:param str expression: Textual representation of an expression in Common Expression Language syntax.
|
101
|
+
:param str title: A title for the expression, i.e. a short string describing its purpose.
|
102
|
+
"""
|
103
|
+
pulumi.set(__self__, "expression", expression)
|
104
|
+
pulumi.set(__self__, "title", title)
|
105
|
+
if description is not None:
|
106
|
+
pulumi.set(__self__, "description", description)
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter
|
110
|
+
def expression(self) -> str:
|
111
|
+
"""
|
112
|
+
Textual representation of an expression in Common Expression Language syntax.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "expression")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def title(self) -> str:
|
119
|
+
"""
|
120
|
+
A title for the expression, i.e. a short string describing its purpose.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "title")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def description(self) -> Optional[str]:
|
127
|
+
return pulumi.get(self, "description")
|
128
|
+
|
129
|
+
|
130
|
+
@pulumi.output_type
|
131
|
+
class RegionalSecretIamMemberCondition(dict):
|
132
|
+
def __init__(__self__, *,
|
133
|
+
expression: str,
|
134
|
+
title: str,
|
135
|
+
description: Optional[str] = None):
|
136
|
+
"""
|
137
|
+
:param str expression: Textual representation of an expression in Common Expression Language syntax.
|
138
|
+
:param str title: A title for the expression, i.e. a short string describing its purpose.
|
139
|
+
"""
|
140
|
+
pulumi.set(__self__, "expression", expression)
|
141
|
+
pulumi.set(__self__, "title", title)
|
142
|
+
if description is not None:
|
143
|
+
pulumi.set(__self__, "description", description)
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter
|
147
|
+
def expression(self) -> str:
|
148
|
+
"""
|
149
|
+
Textual representation of an expression in Common Expression Language syntax.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "expression")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter
|
155
|
+
def title(self) -> str:
|
156
|
+
"""
|
157
|
+
A title for the expression, i.e. a short string describing its purpose.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "title")
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter
|
163
|
+
def description(self) -> Optional[str]:
|
164
|
+
return pulumi.get(self, "description")
|
165
|
+
|
166
|
+
|
167
|
+
@pulumi.output_type
|
168
|
+
class RegionalSecretRotation(dict):
|
169
|
+
@staticmethod
|
170
|
+
def __key_warning(key: str):
|
171
|
+
suggest = None
|
172
|
+
if key == "nextRotationTime":
|
173
|
+
suggest = "next_rotation_time"
|
174
|
+
elif key == "rotationPeriod":
|
175
|
+
suggest = "rotation_period"
|
176
|
+
|
177
|
+
if suggest:
|
178
|
+
pulumi.log.warn(f"Key '{key}' not found in RegionalSecretRotation. Access the value via the '{suggest}' property getter instead.")
|
179
|
+
|
180
|
+
def __getitem__(self, key: str) -> Any:
|
181
|
+
RegionalSecretRotation.__key_warning(key)
|
182
|
+
return super().__getitem__(key)
|
183
|
+
|
184
|
+
def get(self, key: str, default = None) -> Any:
|
185
|
+
RegionalSecretRotation.__key_warning(key)
|
186
|
+
return super().get(key, default)
|
187
|
+
|
188
|
+
def __init__(__self__, *,
|
189
|
+
next_rotation_time: Optional[str] = None,
|
190
|
+
rotation_period: Optional[str] = None):
|
191
|
+
"""
|
192
|
+
:param str next_rotation_time: Timestamp in UTC at which the Secret is scheduled to rotate.
|
193
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
194
|
+
fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
195
|
+
:param str rotation_period: The Duration between rotation notifications. Must be in seconds and at least 3600s (1h)
|
196
|
+
and at most 3153600000s (100 years). If rotationPeriod is set, `next_rotation_time` must
|
197
|
+
be set. `next_rotation_time` will be advanced by this period when the service
|
198
|
+
automatically sends rotation notifications.
|
199
|
+
"""
|
200
|
+
if next_rotation_time is not None:
|
201
|
+
pulumi.set(__self__, "next_rotation_time", next_rotation_time)
|
202
|
+
if rotation_period is not None:
|
203
|
+
pulumi.set(__self__, "rotation_period", rotation_period)
|
204
|
+
|
205
|
+
@property
|
206
|
+
@pulumi.getter(name="nextRotationTime")
|
207
|
+
def next_rotation_time(self) -> Optional[str]:
|
208
|
+
"""
|
209
|
+
Timestamp in UTC at which the Secret is scheduled to rotate.
|
210
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
211
|
+
fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
212
|
+
"""
|
213
|
+
return pulumi.get(self, "next_rotation_time")
|
214
|
+
|
215
|
+
@property
|
216
|
+
@pulumi.getter(name="rotationPeriod")
|
217
|
+
def rotation_period(self) -> Optional[str]:
|
218
|
+
"""
|
219
|
+
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h)
|
220
|
+
and at most 3153600000s (100 years). If rotationPeriod is set, `next_rotation_time` must
|
221
|
+
be set. `next_rotation_time` will be advanced by this period when the service
|
222
|
+
automatically sends rotation notifications.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "rotation_period")
|
225
|
+
|
226
|
+
|
227
|
+
@pulumi.output_type
|
228
|
+
class RegionalSecretTopic(dict):
|
229
|
+
def __init__(__self__, *,
|
230
|
+
name: str):
|
231
|
+
"""
|
232
|
+
:param str name: The resource name of the Pub/Sub topic that will be published to, in the following format:
|
233
|
+
projects/*/topics/*. For publication to succeed, the Secret Manager Service
|
234
|
+
Agent service account must have pubsub.publisher permissions on the topic.
|
235
|
+
"""
|
236
|
+
pulumi.set(__self__, "name", name)
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter
|
240
|
+
def name(self) -> str:
|
241
|
+
"""
|
242
|
+
The resource name of the Pub/Sub topic that will be published to, in the following format:
|
243
|
+
projects/*/topics/*. For publication to succeed, the Secret Manager Service
|
244
|
+
Agent service account must have pubsub.publisher permissions on the topic.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "name")
|
247
|
+
|
248
|
+
|
249
|
+
@pulumi.output_type
|
250
|
+
class RegionalSecretVersionCustomerManagedEncryption(dict):
|
251
|
+
@staticmethod
|
252
|
+
def __key_warning(key: str):
|
253
|
+
suggest = None
|
254
|
+
if key == "kmsKeyVersionName":
|
255
|
+
suggest = "kms_key_version_name"
|
256
|
+
|
257
|
+
if suggest:
|
258
|
+
pulumi.log.warn(f"Key '{key}' not found in RegionalSecretVersionCustomerManagedEncryption. Access the value via the '{suggest}' property getter instead.")
|
259
|
+
|
260
|
+
def __getitem__(self, key: str) -> Any:
|
261
|
+
RegionalSecretVersionCustomerManagedEncryption.__key_warning(key)
|
262
|
+
return super().__getitem__(key)
|
263
|
+
|
264
|
+
def get(self, key: str, default = None) -> Any:
|
265
|
+
RegionalSecretVersionCustomerManagedEncryption.__key_warning(key)
|
266
|
+
return super().get(key, default)
|
267
|
+
|
268
|
+
def __init__(__self__, *,
|
269
|
+
kms_key_version_name: Optional[str] = None):
|
270
|
+
"""
|
271
|
+
:param str kms_key_version_name: (Output)
|
272
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
273
|
+
"""
|
274
|
+
if kms_key_version_name is not None:
|
275
|
+
pulumi.set(__self__, "kms_key_version_name", kms_key_version_name)
|
276
|
+
|
277
|
+
@property
|
278
|
+
@pulumi.getter(name="kmsKeyVersionName")
|
279
|
+
def kms_key_version_name(self) -> Optional[str]:
|
280
|
+
"""
|
281
|
+
(Output)
|
282
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "kms_key_version_name")
|
285
|
+
|
286
|
+
|
48
287
|
@pulumi.output_type
|
49
288
|
class SecretIamBindingCondition(dict):
|
50
289
|
def __init__(__self__, *,
|
@@ -434,6 +673,103 @@ class SecretTopic(dict):
|
|
434
673
|
return pulumi.get(self, "name")
|
435
674
|
|
436
675
|
|
676
|
+
@pulumi.output_type
|
677
|
+
class GetRegionalSecretCustomerManagedEncryptionResult(dict):
|
678
|
+
def __init__(__self__, *,
|
679
|
+
kms_key_name: str):
|
680
|
+
"""
|
681
|
+
:param str kms_key_name: The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
682
|
+
"""
|
683
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
684
|
+
|
685
|
+
@property
|
686
|
+
@pulumi.getter(name="kmsKeyName")
|
687
|
+
def kms_key_name(self) -> str:
|
688
|
+
"""
|
689
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
690
|
+
"""
|
691
|
+
return pulumi.get(self, "kms_key_name")
|
692
|
+
|
693
|
+
|
694
|
+
@pulumi.output_type
|
695
|
+
class GetRegionalSecretRotationResult(dict):
|
696
|
+
def __init__(__self__, *,
|
697
|
+
next_rotation_time: str,
|
698
|
+
rotation_period: str):
|
699
|
+
"""
|
700
|
+
:param str next_rotation_time: Timestamp in UTC at which the Secret is scheduled to rotate.
|
701
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
702
|
+
fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
703
|
+
:param str rotation_period: The Duration between rotation notifications. Must be in seconds and at least 3600s (1h)
|
704
|
+
and at most 3153600000s (100 years). If rotationPeriod is set, 'next_rotation_time' must
|
705
|
+
be set. 'next_rotation_time' will be advanced by this period when the service
|
706
|
+
automatically sends rotation notifications.
|
707
|
+
"""
|
708
|
+
pulumi.set(__self__, "next_rotation_time", next_rotation_time)
|
709
|
+
pulumi.set(__self__, "rotation_period", rotation_period)
|
710
|
+
|
711
|
+
@property
|
712
|
+
@pulumi.getter(name="nextRotationTime")
|
713
|
+
def next_rotation_time(self) -> str:
|
714
|
+
"""
|
715
|
+
Timestamp in UTC at which the Secret is scheduled to rotate.
|
716
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
717
|
+
fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "next_rotation_time")
|
720
|
+
|
721
|
+
@property
|
722
|
+
@pulumi.getter(name="rotationPeriod")
|
723
|
+
def rotation_period(self) -> str:
|
724
|
+
"""
|
725
|
+
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h)
|
726
|
+
and at most 3153600000s (100 years). If rotationPeriod is set, 'next_rotation_time' must
|
727
|
+
be set. 'next_rotation_time' will be advanced by this period when the service
|
728
|
+
automatically sends rotation notifications.
|
729
|
+
"""
|
730
|
+
return pulumi.get(self, "rotation_period")
|
731
|
+
|
732
|
+
|
733
|
+
@pulumi.output_type
|
734
|
+
class GetRegionalSecretTopicResult(dict):
|
735
|
+
def __init__(__self__, *,
|
736
|
+
name: str):
|
737
|
+
"""
|
738
|
+
:param str name: The resource name of the Pub/Sub topic that will be published to, in the following format:
|
739
|
+
projects/*/topics/*. For publication to succeed, the Secret Manager Service
|
740
|
+
Agent service account must have pubsub.publisher permissions on the topic.
|
741
|
+
"""
|
742
|
+
pulumi.set(__self__, "name", name)
|
743
|
+
|
744
|
+
@property
|
745
|
+
@pulumi.getter
|
746
|
+
def name(self) -> str:
|
747
|
+
"""
|
748
|
+
The resource name of the Pub/Sub topic that will be published to, in the following format:
|
749
|
+
projects/*/topics/*. For publication to succeed, the Secret Manager Service
|
750
|
+
Agent service account must have pubsub.publisher permissions on the topic.
|
751
|
+
"""
|
752
|
+
return pulumi.get(self, "name")
|
753
|
+
|
754
|
+
|
755
|
+
@pulumi.output_type
|
756
|
+
class GetRegionalSecretVersionCustomerManagedEncryptionResult(dict):
|
757
|
+
def __init__(__self__, *,
|
758
|
+
kms_key_version_name: str):
|
759
|
+
"""
|
760
|
+
:param str kms_key_version_name: The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
761
|
+
"""
|
762
|
+
pulumi.set(__self__, "kms_key_version_name", kms_key_version_name)
|
763
|
+
|
764
|
+
@property
|
765
|
+
@pulumi.getter(name="kmsKeyVersionName")
|
766
|
+
def kms_key_version_name(self) -> str:
|
767
|
+
"""
|
768
|
+
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
|
769
|
+
"""
|
770
|
+
return pulumi.get(self, "kms_key_version_name")
|
771
|
+
|
772
|
+
|
437
773
|
@pulumi.output_type
|
438
774
|
class GetSecretReplicationResult(dict):
|
439
775
|
def __init__(__self__, *,
|