pulumi-gcp 7.21.0a1714543973__py3-none-any.whl → 7.21.0a1714596856__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 +40 -0
- pulumi_gcp/alloydb/_inputs.py +74 -0
- pulumi_gcp/alloydb/instance.py +90 -0
- pulumi_gcp/alloydb/outputs.py +98 -0
- pulumi_gcp/apigee/environment.py +47 -0
- pulumi_gcp/applicationintegration/__init__.py +1 -0
- pulumi_gcp/applicationintegration/_inputs.py +843 -0
- pulumi_gcp/applicationintegration/auth_config.py +998 -0
- pulumi_gcp/applicationintegration/outputs.py +891 -0
- pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
- pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
- pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
- pulumi_gcp/certificateauthority/_inputs.py +92 -12
- pulumi_gcp/certificateauthority/authority.py +110 -0
- pulumi_gcp/certificateauthority/certificate.py +176 -0
- pulumi_gcp/certificateauthority/outputs.py +144 -12
- pulumi_gcp/composer/__init__.py +1 -0
- pulumi_gcp/composer/user_workloads_secret.py +441 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +121 -58
- pulumi_gcp/compute/global_forwarding_rule.py +0 -282
- pulumi_gcp/compute/outputs.py +120 -57
- pulumi_gcp/compute/region_target_https_proxy.py +257 -0
- pulumi_gcp/compute/region_url_map.py +0 -470
- pulumi_gcp/compute/security_policy_rule.py +850 -0
- pulumi_gcp/dataloss/__init__.py +1 -0
- pulumi_gcp/dataloss/_inputs.py +1040 -0
- pulumi_gcp/dataloss/outputs.py +1123 -0
- pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/dns/record_set.py +2 -2
- pulumi_gcp/filestore/get_instance.py +11 -1
- pulumi_gcp/filestore/instance.py +101 -0
- pulumi_gcp/firebase/_inputs.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
- pulumi_gcp/firebase/hosting_version.py +44 -0
- pulumi_gcp/firebase/outputs.py +12 -0
- pulumi_gcp/logging/folder_sink.py +54 -0
- pulumi_gcp/logging/organization_sink.py +54 -0
- pulumi_gcp/monitoring/_inputs.py +46 -2
- pulumi_gcp/monitoring/outputs.py +40 -2
- pulumi_gcp/monitoring/uptime_check_config.py +6 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
- pulumi_gcp/secretmanager/get_secret.py +13 -3
- pulumi_gcp/secretmanager/outputs.py +20 -1
- pulumi_gcp/secretmanager/secret.py +90 -3
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/get_bucket_objects.py +153 -0
- pulumi_gcp/storage/outputs.py +63 -0
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/RECORD +56 -50
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,441 @@
|
|
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 pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['UserWorkloadsSecretArgs', 'UserWorkloadsSecret']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class UserWorkloadsSecretArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
environment: pulumi.Input[str],
|
18
|
+
data: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
19
|
+
name: Optional[pulumi.Input[str]] = None,
|
20
|
+
project: Optional[pulumi.Input[str]] = None,
|
21
|
+
region: Optional[pulumi.Input[str]] = None):
|
22
|
+
"""
|
23
|
+
The set of arguments for constructing a UserWorkloadsSecret resource.
|
24
|
+
:param pulumi.Input[str] environment: Environment where the Kubernetes Secret will be stored and used.
|
25
|
+
:param pulumi.Input[Mapping[str, Any]] data: A map of the secret data.
|
26
|
+
:param pulumi.Input[str] name: Name of the Kubernetes Secret.
|
27
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
28
|
+
If it is not provided, the provider project is used.
|
29
|
+
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
30
|
+
"""
|
31
|
+
pulumi.set(__self__, "environment", environment)
|
32
|
+
if data is not None:
|
33
|
+
pulumi.set(__self__, "data", data)
|
34
|
+
if name is not None:
|
35
|
+
pulumi.set(__self__, "name", name)
|
36
|
+
if project is not None:
|
37
|
+
pulumi.set(__self__, "project", project)
|
38
|
+
if region is not None:
|
39
|
+
pulumi.set(__self__, "region", region)
|
40
|
+
|
41
|
+
@property
|
42
|
+
@pulumi.getter
|
43
|
+
def environment(self) -> pulumi.Input[str]:
|
44
|
+
"""
|
45
|
+
Environment where the Kubernetes Secret will be stored and used.
|
46
|
+
"""
|
47
|
+
return pulumi.get(self, "environment")
|
48
|
+
|
49
|
+
@environment.setter
|
50
|
+
def environment(self, value: pulumi.Input[str]):
|
51
|
+
pulumi.set(self, "environment", value)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def data(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
56
|
+
"""
|
57
|
+
A map of the secret data.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "data")
|
60
|
+
|
61
|
+
@data.setter
|
62
|
+
def data(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
63
|
+
pulumi.set(self, "data", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
68
|
+
"""
|
69
|
+
Name of the Kubernetes Secret.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "name")
|
72
|
+
|
73
|
+
@name.setter
|
74
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
75
|
+
pulumi.set(self, "name", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter
|
79
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
80
|
+
"""
|
81
|
+
The ID of the project in which the resource belongs.
|
82
|
+
If it is not provided, the provider project is used.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "project")
|
85
|
+
|
86
|
+
@project.setter
|
87
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
88
|
+
pulumi.set(self, "project", value)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
"""
|
94
|
+
The location or Compute Engine region for the environment.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "region")
|
97
|
+
|
98
|
+
@region.setter
|
99
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
100
|
+
pulumi.set(self, "region", value)
|
101
|
+
|
102
|
+
|
103
|
+
@pulumi.input_type
|
104
|
+
class _UserWorkloadsSecretState:
|
105
|
+
def __init__(__self__, *,
|
106
|
+
data: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
107
|
+
environment: Optional[pulumi.Input[str]] = None,
|
108
|
+
name: Optional[pulumi.Input[str]] = None,
|
109
|
+
project: Optional[pulumi.Input[str]] = None,
|
110
|
+
region: Optional[pulumi.Input[str]] = None):
|
111
|
+
"""
|
112
|
+
Input properties used for looking up and filtering UserWorkloadsSecret resources.
|
113
|
+
:param pulumi.Input[Mapping[str, Any]] data: A map of the secret data.
|
114
|
+
:param pulumi.Input[str] environment: Environment where the Kubernetes Secret will be stored and used.
|
115
|
+
:param pulumi.Input[str] name: Name of the Kubernetes Secret.
|
116
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
117
|
+
If it is not provided, the provider project is used.
|
118
|
+
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
119
|
+
"""
|
120
|
+
if data is not None:
|
121
|
+
pulumi.set(__self__, "data", data)
|
122
|
+
if environment is not None:
|
123
|
+
pulumi.set(__self__, "environment", environment)
|
124
|
+
if name is not None:
|
125
|
+
pulumi.set(__self__, "name", name)
|
126
|
+
if project is not None:
|
127
|
+
pulumi.set(__self__, "project", project)
|
128
|
+
if region is not None:
|
129
|
+
pulumi.set(__self__, "region", region)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def data(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
134
|
+
"""
|
135
|
+
A map of the secret data.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "data")
|
138
|
+
|
139
|
+
@data.setter
|
140
|
+
def data(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
141
|
+
pulumi.set(self, "data", value)
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def environment(self) -> Optional[pulumi.Input[str]]:
|
146
|
+
"""
|
147
|
+
Environment where the Kubernetes Secret will be stored and used.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "environment")
|
150
|
+
|
151
|
+
@environment.setter
|
152
|
+
def environment(self, value: Optional[pulumi.Input[str]]):
|
153
|
+
pulumi.set(self, "environment", value)
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
158
|
+
"""
|
159
|
+
Name of the Kubernetes Secret.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "name")
|
162
|
+
|
163
|
+
@name.setter
|
164
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
165
|
+
pulumi.set(self, "name", value)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter
|
169
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
170
|
+
"""
|
171
|
+
The ID of the project in which the resource belongs.
|
172
|
+
If it is not provided, the provider project is used.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "project")
|
175
|
+
|
176
|
+
@project.setter
|
177
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
178
|
+
pulumi.set(self, "project", value)
|
179
|
+
|
180
|
+
@property
|
181
|
+
@pulumi.getter
|
182
|
+
def region(self) -> Optional[pulumi.Input[str]]:
|
183
|
+
"""
|
184
|
+
The location or Compute Engine region for the environment.
|
185
|
+
"""
|
186
|
+
return pulumi.get(self, "region")
|
187
|
+
|
188
|
+
@region.setter
|
189
|
+
def region(self, value: Optional[pulumi.Input[str]]):
|
190
|
+
pulumi.set(self, "region", value)
|
191
|
+
|
192
|
+
|
193
|
+
class UserWorkloadsSecret(pulumi.CustomResource):
|
194
|
+
@overload
|
195
|
+
def __init__(__self__,
|
196
|
+
resource_name: str,
|
197
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
198
|
+
data: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
199
|
+
environment: Optional[pulumi.Input[str]] = None,
|
200
|
+
name: Optional[pulumi.Input[str]] = None,
|
201
|
+
project: Optional[pulumi.Input[str]] = None,
|
202
|
+
region: Optional[pulumi.Input[str]] = None,
|
203
|
+
__props__=None):
|
204
|
+
"""
|
205
|
+
## Example Usage
|
206
|
+
|
207
|
+
```python
|
208
|
+
import pulumi
|
209
|
+
import pulumi_gcp as gcp
|
210
|
+
import pulumi_std as std
|
211
|
+
|
212
|
+
example = gcp.composer.Environment("example",
|
213
|
+
name="example-environment",
|
214
|
+
project="example-project",
|
215
|
+
region="us-central1",
|
216
|
+
config=gcp.composer.EnvironmentConfigArgs(
|
217
|
+
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
218
|
+
image_version="example-image-version",
|
219
|
+
),
|
220
|
+
))
|
221
|
+
example_user_workloads_secret = gcp.composer.UserWorkloadsSecret("example",
|
222
|
+
name="example-secret",
|
223
|
+
project="example-project",
|
224
|
+
region="us-central1",
|
225
|
+
environment=example.name,
|
226
|
+
data={
|
227
|
+
"email": std.base64encode(input="example-email").result,
|
228
|
+
"password": std.base64encode(input="example-password").result,
|
229
|
+
})
|
230
|
+
```
|
231
|
+
|
232
|
+
## Import
|
233
|
+
|
234
|
+
Secret can be imported using any of these accepted formats:
|
235
|
+
|
236
|
+
* `projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsSecrets/{{name}}`
|
237
|
+
|
238
|
+
* `{{project}}/{{region}}/{{environment}}/{{name}}`
|
239
|
+
|
240
|
+
* `{{name}}`
|
241
|
+
|
242
|
+
When using the `pulumi import` command, Environment can be imported using one of the formats above. For example:
|
243
|
+
|
244
|
+
```sh
|
245
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsSecrets/{{name}}
|
246
|
+
```
|
247
|
+
|
248
|
+
```sh
|
249
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{project}}/{{region}}/{{environment}}/{{name}}
|
250
|
+
```
|
251
|
+
|
252
|
+
```sh
|
253
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{name}}
|
254
|
+
```
|
255
|
+
|
256
|
+
:param str resource_name: The name of the resource.
|
257
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
258
|
+
:param pulumi.Input[Mapping[str, Any]] data: A map of the secret data.
|
259
|
+
:param pulumi.Input[str] environment: Environment where the Kubernetes Secret will be stored and used.
|
260
|
+
:param pulumi.Input[str] name: Name of the Kubernetes Secret.
|
261
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
262
|
+
If it is not provided, the provider project is used.
|
263
|
+
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
264
|
+
"""
|
265
|
+
...
|
266
|
+
@overload
|
267
|
+
def __init__(__self__,
|
268
|
+
resource_name: str,
|
269
|
+
args: UserWorkloadsSecretArgs,
|
270
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
271
|
+
"""
|
272
|
+
## Example Usage
|
273
|
+
|
274
|
+
```python
|
275
|
+
import pulumi
|
276
|
+
import pulumi_gcp as gcp
|
277
|
+
import pulumi_std as std
|
278
|
+
|
279
|
+
example = gcp.composer.Environment("example",
|
280
|
+
name="example-environment",
|
281
|
+
project="example-project",
|
282
|
+
region="us-central1",
|
283
|
+
config=gcp.composer.EnvironmentConfigArgs(
|
284
|
+
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
285
|
+
image_version="example-image-version",
|
286
|
+
),
|
287
|
+
))
|
288
|
+
example_user_workloads_secret = gcp.composer.UserWorkloadsSecret("example",
|
289
|
+
name="example-secret",
|
290
|
+
project="example-project",
|
291
|
+
region="us-central1",
|
292
|
+
environment=example.name,
|
293
|
+
data={
|
294
|
+
"email": std.base64encode(input="example-email").result,
|
295
|
+
"password": std.base64encode(input="example-password").result,
|
296
|
+
})
|
297
|
+
```
|
298
|
+
|
299
|
+
## Import
|
300
|
+
|
301
|
+
Secret can be imported using any of these accepted formats:
|
302
|
+
|
303
|
+
* `projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsSecrets/{{name}}`
|
304
|
+
|
305
|
+
* `{{project}}/{{region}}/{{environment}}/{{name}}`
|
306
|
+
|
307
|
+
* `{{name}}`
|
308
|
+
|
309
|
+
When using the `pulumi import` command, Environment can be imported using one of the formats above. For example:
|
310
|
+
|
311
|
+
```sh
|
312
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example projects/{{project}}/locations/{{region}}/environments/{{environment}}/userWorkloadsSecrets/{{name}}
|
313
|
+
```
|
314
|
+
|
315
|
+
```sh
|
316
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{project}}/{{region}}/{{environment}}/{{name}}
|
317
|
+
```
|
318
|
+
|
319
|
+
```sh
|
320
|
+
$ pulumi import gcp:composer/userWorkloadsSecret:UserWorkloadsSecret example {{name}}
|
321
|
+
```
|
322
|
+
|
323
|
+
:param str resource_name: The name of the resource.
|
324
|
+
:param UserWorkloadsSecretArgs args: The arguments to use to populate this resource's properties.
|
325
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
326
|
+
"""
|
327
|
+
...
|
328
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
329
|
+
resource_args, opts = _utilities.get_resource_args_opts(UserWorkloadsSecretArgs, pulumi.ResourceOptions, *args, **kwargs)
|
330
|
+
if resource_args is not None:
|
331
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
332
|
+
else:
|
333
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
334
|
+
|
335
|
+
def _internal_init(__self__,
|
336
|
+
resource_name: str,
|
337
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
338
|
+
data: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
339
|
+
environment: Optional[pulumi.Input[str]] = None,
|
340
|
+
name: Optional[pulumi.Input[str]] = None,
|
341
|
+
project: Optional[pulumi.Input[str]] = None,
|
342
|
+
region: Optional[pulumi.Input[str]] = None,
|
343
|
+
__props__=None):
|
344
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
345
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
346
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
347
|
+
if opts.id is None:
|
348
|
+
if __props__ is not None:
|
349
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
350
|
+
__props__ = UserWorkloadsSecretArgs.__new__(UserWorkloadsSecretArgs)
|
351
|
+
|
352
|
+
__props__.__dict__["data"] = None if data is None else pulumi.Output.secret(data)
|
353
|
+
if environment is None and not opts.urn:
|
354
|
+
raise TypeError("Missing required property 'environment'")
|
355
|
+
__props__.__dict__["environment"] = environment
|
356
|
+
__props__.__dict__["name"] = name
|
357
|
+
__props__.__dict__["project"] = project
|
358
|
+
__props__.__dict__["region"] = region
|
359
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["data"])
|
360
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
361
|
+
super(UserWorkloadsSecret, __self__).__init__(
|
362
|
+
'gcp:composer/userWorkloadsSecret:UserWorkloadsSecret',
|
363
|
+
resource_name,
|
364
|
+
__props__,
|
365
|
+
opts)
|
366
|
+
|
367
|
+
@staticmethod
|
368
|
+
def get(resource_name: str,
|
369
|
+
id: pulumi.Input[str],
|
370
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
371
|
+
data: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
372
|
+
environment: Optional[pulumi.Input[str]] = None,
|
373
|
+
name: Optional[pulumi.Input[str]] = None,
|
374
|
+
project: Optional[pulumi.Input[str]] = None,
|
375
|
+
region: Optional[pulumi.Input[str]] = None) -> 'UserWorkloadsSecret':
|
376
|
+
"""
|
377
|
+
Get an existing UserWorkloadsSecret resource's state with the given name, id, and optional extra
|
378
|
+
properties used to qualify the lookup.
|
379
|
+
|
380
|
+
:param str resource_name: The unique name of the resulting resource.
|
381
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
382
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
383
|
+
:param pulumi.Input[Mapping[str, Any]] data: A map of the secret data.
|
384
|
+
:param pulumi.Input[str] environment: Environment where the Kubernetes Secret will be stored and used.
|
385
|
+
:param pulumi.Input[str] name: Name of the Kubernetes Secret.
|
386
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
387
|
+
If it is not provided, the provider project is used.
|
388
|
+
:param pulumi.Input[str] region: The location or Compute Engine region for the environment.
|
389
|
+
"""
|
390
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
391
|
+
|
392
|
+
__props__ = _UserWorkloadsSecretState.__new__(_UserWorkloadsSecretState)
|
393
|
+
|
394
|
+
__props__.__dict__["data"] = data
|
395
|
+
__props__.__dict__["environment"] = environment
|
396
|
+
__props__.__dict__["name"] = name
|
397
|
+
__props__.__dict__["project"] = project
|
398
|
+
__props__.__dict__["region"] = region
|
399
|
+
return UserWorkloadsSecret(resource_name, opts=opts, __props__=__props__)
|
400
|
+
|
401
|
+
@property
|
402
|
+
@pulumi.getter
|
403
|
+
def data(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
404
|
+
"""
|
405
|
+
A map of the secret data.
|
406
|
+
"""
|
407
|
+
return pulumi.get(self, "data")
|
408
|
+
|
409
|
+
@property
|
410
|
+
@pulumi.getter
|
411
|
+
def environment(self) -> pulumi.Output[str]:
|
412
|
+
"""
|
413
|
+
Environment where the Kubernetes Secret will be stored and used.
|
414
|
+
"""
|
415
|
+
return pulumi.get(self, "environment")
|
416
|
+
|
417
|
+
@property
|
418
|
+
@pulumi.getter
|
419
|
+
def name(self) -> pulumi.Output[str]:
|
420
|
+
"""
|
421
|
+
Name of the Kubernetes Secret.
|
422
|
+
"""
|
423
|
+
return pulumi.get(self, "name")
|
424
|
+
|
425
|
+
@property
|
426
|
+
@pulumi.getter
|
427
|
+
def project(self) -> pulumi.Output[str]:
|
428
|
+
"""
|
429
|
+
The ID of the project in which the resource belongs.
|
430
|
+
If it is not provided, the provider project is used.
|
431
|
+
"""
|
432
|
+
return pulumi.get(self, "project")
|
433
|
+
|
434
|
+
@property
|
435
|
+
@pulumi.getter
|
436
|
+
def region(self) -> pulumi.Output[str]:
|
437
|
+
"""
|
438
|
+
The location or Compute Engine region for the environment.
|
439
|
+
"""
|
440
|
+
return pulumi.get(self, "region")
|
441
|
+
|
pulumi_gcp/compute/__init__.py
CHANGED
@@ -175,6 +175,7 @@ from .router_nat import *
|
|
175
175
|
from .router_peer import *
|
176
176
|
from .router_status import *
|
177
177
|
from .security_policy import *
|
178
|
+
from .security_policy_rule import *
|
178
179
|
from .security_scan_config import *
|
179
180
|
from .service_attachment import *
|
180
181
|
from .shared_vpc_host_project import *
|