pulumi-gcp 8.3.0__py3-none-any.whl → 8.3.0a1726726047__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 +0 -120
- pulumi_gcp/alloydb/_inputs.py +0 -20
- pulumi_gcp/alloydb/instance.py +0 -36
- pulumi_gcp/alloydb/outputs.py +0 -14
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +0 -1400
- pulumi_gcp/compute/attached_disk.py +0 -103
- pulumi_gcp/compute/backend_service.py +22 -29
- pulumi_gcp/compute/outputs.py +0 -1019
- pulumi_gcp/compute/region_backend_service.py +22 -29
- pulumi_gcp/compute/router_nat.py +66 -27
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +99 -72
- pulumi_gcp/container/outputs.py +70 -53
- pulumi_gcp/databasemigrationservice/__init__.py +0 -1
- pulumi_gcp/databasemigrationservice/_inputs.py +0 -362
- pulumi_gcp/databasemigrationservice/outputs.py +0 -268
- pulumi_gcp/dataproc/get_metastore_service.py +1 -11
- pulumi_gcp/dataproc/metastore_service.py +0 -93
- pulumi_gcp/developerconnect/_inputs.py +39 -42
- pulumi_gcp/developerconnect/connection.py +83 -86
- pulumi_gcp/developerconnect/outputs.py +26 -28
- pulumi_gcp/discoveryengine/__init__.py +0 -1
- pulumi_gcp/discoveryengine/_inputs.py +0 -131
- pulumi_gcp/discoveryengine/outputs.py +0 -131
- pulumi_gcp/dns/managed_zone.py +1 -1
- pulumi_gcp/filestore/get_instance.py +1 -21
- pulumi_gcp/filestore/instance.py +0 -94
- pulumi_gcp/gkehub/feature_membership.py +62 -140
- pulumi_gcp/healthcare/__init__.py +0 -1
- pulumi_gcp/healthcare/_inputs.py +0 -39
- pulumi_gcp/healthcare/outputs.py +0 -40
- pulumi_gcp/looker/instance.py +0 -81
- pulumi_gcp/netapp/_inputs.py +0 -63
- pulumi_gcp/netapp/outputs.py +0 -57
- pulumi_gcp/netapp/storage_pool.py +0 -54
- pulumi_gcp/netapp/volume.py +0 -82
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/subscription.py +7 -43
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/__init__.py +0 -8
- pulumi_gcp/secretmanager/_inputs.py +0 -308
- pulumi_gcp/secretmanager/outputs.py +0 -336
- pulumi_gcp/securitycenter/__init__.py +0 -4
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -6
- pulumi_gcp/siteverification/__init__.py +0 -3
- pulumi_gcp/spanner/__init__.py +0 -1
- pulumi_gcp/spanner/_inputs.py +0 -129
- pulumi_gcp/spanner/get_instance.py +1 -11
- pulumi_gcp/spanner/instance.py +0 -56
- pulumi_gcp/spanner/outputs.py +0 -93
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/RECORD +56 -76
- pulumi_gcp/compute/firewall_policy_with_rules.py +0 -769
- pulumi_gcp/databasemigrationservice/migration_job.py +0 -1739
- pulumi_gcp/discoveryengine/target_site.py +0 -870
- pulumi_gcp/healthcare/workspace.py +0 -465
- pulumi_gcp/secretmanager/get_regional_secret.py +0 -279
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +0 -173
- pulumi_gcp/secretmanager/get_regional_secret_version.py +0 -241
- pulumi_gcp/secretmanager/regional_secret.py +0 -1433
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +0 -1082
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +0 -1082
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +0 -901
- pulumi_gcp/secretmanager/regional_secret_version.py +0 -753
- pulumi_gcp/securitycenter/folder_scc_big_query_export.py +0 -795
- pulumi_gcp/securitycenter/organization_scc_big_query_export.py +0 -738
- pulumi_gcp/securitycenter/project_scc_big_query_export.py +0 -749
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +0 -862
- pulumi_gcp/siteverification/_inputs.py +0 -85
- pulumi_gcp/siteverification/outputs.py +0 -57
- pulumi_gcp/siteverification/web_resource.py +0 -398
- pulumi_gcp/spanner/backup_schedule.py +0 -748
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726726047.dist-info}/top_level.txt +0 -0
@@ -1,241 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
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
|
-
...
|