pulumi-gcp 7.23.0a1715621482__py3-none-any.whl → 7.23.0a1715808346__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 +24 -0
- pulumi_gcp/bigquery/table.py +47 -0
- pulumi_gcp/bigtable/__init__.py +1 -0
- pulumi_gcp/bigtable/_inputs.py +101 -0
- pulumi_gcp/bigtable/authorized_view.py +440 -0
- pulumi_gcp/bigtable/outputs.py +119 -0
- pulumi_gcp/certificateauthority/certificate_template.py +70 -0
- pulumi_gcp/cloudbuildv2/repository.py +2 -2
- pulumi_gcp/clouddeploy/_inputs.py +96 -0
- pulumi_gcp/clouddeploy/custom_target_type.py +46 -0
- pulumi_gcp/clouddeploy/delivery_pipeline.py +7 -7
- pulumi_gcp/clouddeploy/outputs.py +96 -1
- pulumi_gcp/clouddeploy/target.py +54 -7
- pulumi_gcp/compute/_inputs.py +689 -0
- pulumi_gcp/compute/firewall_policy_rule.py +125 -10
- pulumi_gcp/compute/network_firewall_policy_rule.py +125 -10
- pulumi_gcp/compute/outputs.py +684 -0
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +125 -10
- pulumi_gcp/compute/region_security_policy_rule.py +230 -1
- pulumi_gcp/container/_inputs.py +67 -3
- pulumi_gcp/container/outputs.py +93 -4
- pulumi_gcp/dataflow/flex_template_job.py +7 -7
- pulumi_gcp/dataflow/job.py +7 -7
- pulumi_gcp/iam/_inputs.py +191 -2
- pulumi_gcp/iam/outputs.py +197 -2
- pulumi_gcp/iam/workforce_pool_provider.py +245 -0
- pulumi_gcp/integrationconnectors/__init__.py +1 -0
- pulumi_gcp/integrationconnectors/managed_zone.py +753 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/regional_endpoint.py +946 -0
- pulumi_gcp/networksecurity/firewall_endpoint.py +34 -0
- pulumi_gcp/networksecurity/firewall_endpoint_association.py +24 -0
- pulumi_gcp/networksecurity/security_profile.py +16 -0
- pulumi_gcp/networksecurity/security_profile_group.py +18 -0
- pulumi_gcp/networksecurity/tls_inspection_policy.py +16 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/pubsub/subscription.py +4 -4
- pulumi_gcp/pulumi-plugin.json +2 -1
- {pulumi_gcp-7.23.0a1715621482.dist-info → pulumi_gcp-7.23.0a1715808346.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.23.0a1715621482.dist-info → pulumi_gcp-7.23.0a1715808346.dist-info}/RECORD +42 -39
- {pulumi_gcp-7.23.0a1715621482.dist-info → pulumi_gcp-7.23.0a1715808346.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.23.0a1715621482.dist-info → pulumi_gcp-7.23.0a1715808346.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,440 @@
|
|
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
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['AuthorizedViewArgs', 'AuthorizedView']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class AuthorizedViewArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
instance_name: pulumi.Input[str],
|
20
|
+
table_name: pulumi.Input[str],
|
21
|
+
deletion_protection: Optional[pulumi.Input[str]] = None,
|
22
|
+
name: Optional[pulumi.Input[str]] = None,
|
23
|
+
project: Optional[pulumi.Input[str]] = None,
|
24
|
+
subset_view: Optional[pulumi.Input['AuthorizedViewSubsetViewArgs']] = None):
|
25
|
+
"""
|
26
|
+
The set of arguments for constructing a AuthorizedView resource.
|
27
|
+
:param pulumi.Input[str] instance_name: The name of the Bigtable instance in which the authorized view belongs.
|
28
|
+
:param pulumi.Input[str] table_name: The name of the Bigtable table in which the authorized view belongs.
|
29
|
+
:param pulumi.Input[str] name: The name of the authorized view. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
30
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
31
|
+
is not provided, the provider project is used.
|
32
|
+
:param pulumi.Input['AuthorizedViewSubsetViewArgs'] subset_view: An AuthorizedView permitting access to an explicit subset of a Table. Structure is documented below.
|
33
|
+
|
34
|
+
-----
|
35
|
+
"""
|
36
|
+
pulumi.set(__self__, "instance_name", instance_name)
|
37
|
+
pulumi.set(__self__, "table_name", table_name)
|
38
|
+
if deletion_protection is not None:
|
39
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
40
|
+
if name is not None:
|
41
|
+
pulumi.set(__self__, "name", name)
|
42
|
+
if project is not None:
|
43
|
+
pulumi.set(__self__, "project", project)
|
44
|
+
if subset_view is not None:
|
45
|
+
pulumi.set(__self__, "subset_view", subset_view)
|
46
|
+
|
47
|
+
@property
|
48
|
+
@pulumi.getter(name="instanceName")
|
49
|
+
def instance_name(self) -> pulumi.Input[str]:
|
50
|
+
"""
|
51
|
+
The name of the Bigtable instance in which the authorized view belongs.
|
52
|
+
"""
|
53
|
+
return pulumi.get(self, "instance_name")
|
54
|
+
|
55
|
+
@instance_name.setter
|
56
|
+
def instance_name(self, value: pulumi.Input[str]):
|
57
|
+
pulumi.set(self, "instance_name", value)
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter(name="tableName")
|
61
|
+
def table_name(self) -> pulumi.Input[str]:
|
62
|
+
"""
|
63
|
+
The name of the Bigtable table in which the authorized view belongs.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "table_name")
|
66
|
+
|
67
|
+
@table_name.setter
|
68
|
+
def table_name(self, value: pulumi.Input[str]):
|
69
|
+
pulumi.set(self, "table_name", value)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="deletionProtection")
|
73
|
+
def deletion_protection(self) -> Optional[pulumi.Input[str]]:
|
74
|
+
return pulumi.get(self, "deletion_protection")
|
75
|
+
|
76
|
+
@deletion_protection.setter
|
77
|
+
def deletion_protection(self, value: Optional[pulumi.Input[str]]):
|
78
|
+
pulumi.set(self, "deletion_protection", value)
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
83
|
+
"""
|
84
|
+
The name of the authorized view. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "name")
|
87
|
+
|
88
|
+
@name.setter
|
89
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
90
|
+
pulumi.set(self, "name", value)
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter
|
94
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
95
|
+
"""
|
96
|
+
The ID of the project in which the resource belongs. If it
|
97
|
+
is not provided, the provider project is used.
|
98
|
+
"""
|
99
|
+
return pulumi.get(self, "project")
|
100
|
+
|
101
|
+
@project.setter
|
102
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
103
|
+
pulumi.set(self, "project", value)
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="subsetView")
|
107
|
+
def subset_view(self) -> Optional[pulumi.Input['AuthorizedViewSubsetViewArgs']]:
|
108
|
+
"""
|
109
|
+
An AuthorizedView permitting access to an explicit subset of a Table. Structure is documented below.
|
110
|
+
|
111
|
+
-----
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "subset_view")
|
114
|
+
|
115
|
+
@subset_view.setter
|
116
|
+
def subset_view(self, value: Optional[pulumi.Input['AuthorizedViewSubsetViewArgs']]):
|
117
|
+
pulumi.set(self, "subset_view", value)
|
118
|
+
|
119
|
+
|
120
|
+
@pulumi.input_type
|
121
|
+
class _AuthorizedViewState:
|
122
|
+
def __init__(__self__, *,
|
123
|
+
deletion_protection: Optional[pulumi.Input[str]] = None,
|
124
|
+
instance_name: Optional[pulumi.Input[str]] = None,
|
125
|
+
name: Optional[pulumi.Input[str]] = None,
|
126
|
+
project: Optional[pulumi.Input[str]] = None,
|
127
|
+
subset_view: Optional[pulumi.Input['AuthorizedViewSubsetViewArgs']] = None,
|
128
|
+
table_name: Optional[pulumi.Input[str]] = None):
|
129
|
+
"""
|
130
|
+
Input properties used for looking up and filtering AuthorizedView resources.
|
131
|
+
:param pulumi.Input[str] instance_name: The name of the Bigtable instance in which the authorized view belongs.
|
132
|
+
:param pulumi.Input[str] name: The name of the authorized view. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
133
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
134
|
+
is not provided, the provider project is used.
|
135
|
+
:param pulumi.Input['AuthorizedViewSubsetViewArgs'] subset_view: An AuthorizedView permitting access to an explicit subset of a Table. Structure is documented below.
|
136
|
+
|
137
|
+
-----
|
138
|
+
:param pulumi.Input[str] table_name: The name of the Bigtable table in which the authorized view belongs.
|
139
|
+
"""
|
140
|
+
if deletion_protection is not None:
|
141
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
142
|
+
if instance_name is not None:
|
143
|
+
pulumi.set(__self__, "instance_name", instance_name)
|
144
|
+
if name is not None:
|
145
|
+
pulumi.set(__self__, "name", name)
|
146
|
+
if project is not None:
|
147
|
+
pulumi.set(__self__, "project", project)
|
148
|
+
if subset_view is not None:
|
149
|
+
pulumi.set(__self__, "subset_view", subset_view)
|
150
|
+
if table_name is not None:
|
151
|
+
pulumi.set(__self__, "table_name", table_name)
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="deletionProtection")
|
155
|
+
def deletion_protection(self) -> Optional[pulumi.Input[str]]:
|
156
|
+
return pulumi.get(self, "deletion_protection")
|
157
|
+
|
158
|
+
@deletion_protection.setter
|
159
|
+
def deletion_protection(self, value: Optional[pulumi.Input[str]]):
|
160
|
+
pulumi.set(self, "deletion_protection", value)
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter(name="instanceName")
|
164
|
+
def instance_name(self) -> Optional[pulumi.Input[str]]:
|
165
|
+
"""
|
166
|
+
The name of the Bigtable instance in which the authorized view belongs.
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "instance_name")
|
169
|
+
|
170
|
+
@instance_name.setter
|
171
|
+
def instance_name(self, value: Optional[pulumi.Input[str]]):
|
172
|
+
pulumi.set(self, "instance_name", value)
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter
|
176
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
177
|
+
"""
|
178
|
+
The name of the authorized view. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "name")
|
181
|
+
|
182
|
+
@name.setter
|
183
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
184
|
+
pulumi.set(self, "name", value)
|
185
|
+
|
186
|
+
@property
|
187
|
+
@pulumi.getter
|
188
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
189
|
+
"""
|
190
|
+
The ID of the project in which the resource belongs. If it
|
191
|
+
is not provided, the provider project is used.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "project")
|
194
|
+
|
195
|
+
@project.setter
|
196
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
197
|
+
pulumi.set(self, "project", value)
|
198
|
+
|
199
|
+
@property
|
200
|
+
@pulumi.getter(name="subsetView")
|
201
|
+
def subset_view(self) -> Optional[pulumi.Input['AuthorizedViewSubsetViewArgs']]:
|
202
|
+
"""
|
203
|
+
An AuthorizedView permitting access to an explicit subset of a Table. Structure is documented below.
|
204
|
+
|
205
|
+
-----
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "subset_view")
|
208
|
+
|
209
|
+
@subset_view.setter
|
210
|
+
def subset_view(self, value: Optional[pulumi.Input['AuthorizedViewSubsetViewArgs']]):
|
211
|
+
pulumi.set(self, "subset_view", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="tableName")
|
215
|
+
def table_name(self) -> Optional[pulumi.Input[str]]:
|
216
|
+
"""
|
217
|
+
The name of the Bigtable table in which the authorized view belongs.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "table_name")
|
220
|
+
|
221
|
+
@table_name.setter
|
222
|
+
def table_name(self, value: Optional[pulumi.Input[str]]):
|
223
|
+
pulumi.set(self, "table_name", value)
|
224
|
+
|
225
|
+
|
226
|
+
class AuthorizedView(pulumi.CustomResource):
|
227
|
+
@overload
|
228
|
+
def __init__(__self__,
|
229
|
+
resource_name: str,
|
230
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
231
|
+
deletion_protection: Optional[pulumi.Input[str]] = None,
|
232
|
+
instance_name: Optional[pulumi.Input[str]] = None,
|
233
|
+
name: Optional[pulumi.Input[str]] = None,
|
234
|
+
project: Optional[pulumi.Input[str]] = None,
|
235
|
+
subset_view: Optional[pulumi.Input[pulumi.InputType['AuthorizedViewSubsetViewArgs']]] = None,
|
236
|
+
table_name: Optional[pulumi.Input[str]] = None,
|
237
|
+
__props__=None):
|
238
|
+
"""
|
239
|
+
## Example Usage
|
240
|
+
|
241
|
+
## Import
|
242
|
+
|
243
|
+
Bigtable Authorized Views can be imported using any of these accepted formats:
|
244
|
+
|
245
|
+
* `projects/{{project}}/instances/{{instance_name}}/tables/{{table_name}}/authorizedViews/{{name}}`
|
246
|
+
|
247
|
+
* `{{project}}/{{instance_name}}/{{table_name}}/{{name}}`
|
248
|
+
|
249
|
+
* `{{instance_name}}/{{table_name}}/{{name}}`
|
250
|
+
|
251
|
+
When using the `pulumi import` command, Bigtable Authorized Views can be imported using one of the formats above. For example:
|
252
|
+
|
253
|
+
```sh
|
254
|
+
$ pulumi import gcp:bigtable/authorizedView:AuthorizedView default projects/{{project}}/instances/{{instance_name}}/tables/{{table_name}}/authorizedViews/{{name}}
|
255
|
+
```
|
256
|
+
|
257
|
+
```sh
|
258
|
+
$ pulumi import gcp:bigtable/authorizedView:AuthorizedView default {{project}}/{{instance_name}}/{{table_name}}/{{name}}
|
259
|
+
```
|
260
|
+
|
261
|
+
```sh
|
262
|
+
$ pulumi import gcp:bigtable/authorizedView:AuthorizedView default {{instance_name}}/{{table_name}}/{{name}}
|
263
|
+
```
|
264
|
+
|
265
|
+
:param str resource_name: The name of the resource.
|
266
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
267
|
+
:param pulumi.Input[str] instance_name: The name of the Bigtable instance in which the authorized view belongs.
|
268
|
+
:param pulumi.Input[str] name: The name of the authorized view. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
269
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
270
|
+
is not provided, the provider project is used.
|
271
|
+
:param pulumi.Input[pulumi.InputType['AuthorizedViewSubsetViewArgs']] subset_view: An AuthorizedView permitting access to an explicit subset of a Table. Structure is documented below.
|
272
|
+
|
273
|
+
-----
|
274
|
+
:param pulumi.Input[str] table_name: The name of the Bigtable table in which the authorized view belongs.
|
275
|
+
"""
|
276
|
+
...
|
277
|
+
@overload
|
278
|
+
def __init__(__self__,
|
279
|
+
resource_name: str,
|
280
|
+
args: AuthorizedViewArgs,
|
281
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
282
|
+
"""
|
283
|
+
## Example Usage
|
284
|
+
|
285
|
+
## Import
|
286
|
+
|
287
|
+
Bigtable Authorized Views can be imported using any of these accepted formats:
|
288
|
+
|
289
|
+
* `projects/{{project}}/instances/{{instance_name}}/tables/{{table_name}}/authorizedViews/{{name}}`
|
290
|
+
|
291
|
+
* `{{project}}/{{instance_name}}/{{table_name}}/{{name}}`
|
292
|
+
|
293
|
+
* `{{instance_name}}/{{table_name}}/{{name}}`
|
294
|
+
|
295
|
+
When using the `pulumi import` command, Bigtable Authorized Views can be imported using one of the formats above. For example:
|
296
|
+
|
297
|
+
```sh
|
298
|
+
$ pulumi import gcp:bigtable/authorizedView:AuthorizedView default projects/{{project}}/instances/{{instance_name}}/tables/{{table_name}}/authorizedViews/{{name}}
|
299
|
+
```
|
300
|
+
|
301
|
+
```sh
|
302
|
+
$ pulumi import gcp:bigtable/authorizedView:AuthorizedView default {{project}}/{{instance_name}}/{{table_name}}/{{name}}
|
303
|
+
```
|
304
|
+
|
305
|
+
```sh
|
306
|
+
$ pulumi import gcp:bigtable/authorizedView:AuthorizedView default {{instance_name}}/{{table_name}}/{{name}}
|
307
|
+
```
|
308
|
+
|
309
|
+
:param str resource_name: The name of the resource.
|
310
|
+
:param AuthorizedViewArgs args: The arguments to use to populate this resource's properties.
|
311
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
312
|
+
"""
|
313
|
+
...
|
314
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
315
|
+
resource_args, opts = _utilities.get_resource_args_opts(AuthorizedViewArgs, pulumi.ResourceOptions, *args, **kwargs)
|
316
|
+
if resource_args is not None:
|
317
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
318
|
+
else:
|
319
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
320
|
+
|
321
|
+
def _internal_init(__self__,
|
322
|
+
resource_name: str,
|
323
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
324
|
+
deletion_protection: Optional[pulumi.Input[str]] = None,
|
325
|
+
instance_name: Optional[pulumi.Input[str]] = None,
|
326
|
+
name: Optional[pulumi.Input[str]] = None,
|
327
|
+
project: Optional[pulumi.Input[str]] = None,
|
328
|
+
subset_view: Optional[pulumi.Input[pulumi.InputType['AuthorizedViewSubsetViewArgs']]] = None,
|
329
|
+
table_name: Optional[pulumi.Input[str]] = None,
|
330
|
+
__props__=None):
|
331
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
332
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
333
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
334
|
+
if opts.id is None:
|
335
|
+
if __props__ is not None:
|
336
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
337
|
+
__props__ = AuthorizedViewArgs.__new__(AuthorizedViewArgs)
|
338
|
+
|
339
|
+
__props__.__dict__["deletion_protection"] = deletion_protection
|
340
|
+
if instance_name is None and not opts.urn:
|
341
|
+
raise TypeError("Missing required property 'instance_name'")
|
342
|
+
__props__.__dict__["instance_name"] = instance_name
|
343
|
+
__props__.__dict__["name"] = name
|
344
|
+
__props__.__dict__["project"] = project
|
345
|
+
__props__.__dict__["subset_view"] = subset_view
|
346
|
+
if table_name is None and not opts.urn:
|
347
|
+
raise TypeError("Missing required property 'table_name'")
|
348
|
+
__props__.__dict__["table_name"] = table_name
|
349
|
+
super(AuthorizedView, __self__).__init__(
|
350
|
+
'gcp:bigtable/authorizedView:AuthorizedView',
|
351
|
+
resource_name,
|
352
|
+
__props__,
|
353
|
+
opts)
|
354
|
+
|
355
|
+
@staticmethod
|
356
|
+
def get(resource_name: str,
|
357
|
+
id: pulumi.Input[str],
|
358
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
359
|
+
deletion_protection: Optional[pulumi.Input[str]] = None,
|
360
|
+
instance_name: Optional[pulumi.Input[str]] = None,
|
361
|
+
name: Optional[pulumi.Input[str]] = None,
|
362
|
+
project: Optional[pulumi.Input[str]] = None,
|
363
|
+
subset_view: Optional[pulumi.Input[pulumi.InputType['AuthorizedViewSubsetViewArgs']]] = None,
|
364
|
+
table_name: Optional[pulumi.Input[str]] = None) -> 'AuthorizedView':
|
365
|
+
"""
|
366
|
+
Get an existing AuthorizedView resource's state with the given name, id, and optional extra
|
367
|
+
properties used to qualify the lookup.
|
368
|
+
|
369
|
+
:param str resource_name: The unique name of the resulting resource.
|
370
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
371
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
372
|
+
:param pulumi.Input[str] instance_name: The name of the Bigtable instance in which the authorized view belongs.
|
373
|
+
:param pulumi.Input[str] name: The name of the authorized view. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
374
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs. If it
|
375
|
+
is not provided, the provider project is used.
|
376
|
+
:param pulumi.Input[pulumi.InputType['AuthorizedViewSubsetViewArgs']] subset_view: An AuthorizedView permitting access to an explicit subset of a Table. Structure is documented below.
|
377
|
+
|
378
|
+
-----
|
379
|
+
:param pulumi.Input[str] table_name: The name of the Bigtable table in which the authorized view belongs.
|
380
|
+
"""
|
381
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
382
|
+
|
383
|
+
__props__ = _AuthorizedViewState.__new__(_AuthorizedViewState)
|
384
|
+
|
385
|
+
__props__.__dict__["deletion_protection"] = deletion_protection
|
386
|
+
__props__.__dict__["instance_name"] = instance_name
|
387
|
+
__props__.__dict__["name"] = name
|
388
|
+
__props__.__dict__["project"] = project
|
389
|
+
__props__.__dict__["subset_view"] = subset_view
|
390
|
+
__props__.__dict__["table_name"] = table_name
|
391
|
+
return AuthorizedView(resource_name, opts=opts, __props__=__props__)
|
392
|
+
|
393
|
+
@property
|
394
|
+
@pulumi.getter(name="deletionProtection")
|
395
|
+
def deletion_protection(self) -> pulumi.Output[str]:
|
396
|
+
return pulumi.get(self, "deletion_protection")
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter(name="instanceName")
|
400
|
+
def instance_name(self) -> pulumi.Output[str]:
|
401
|
+
"""
|
402
|
+
The name of the Bigtable instance in which the authorized view belongs.
|
403
|
+
"""
|
404
|
+
return pulumi.get(self, "instance_name")
|
405
|
+
|
406
|
+
@property
|
407
|
+
@pulumi.getter
|
408
|
+
def name(self) -> pulumi.Output[str]:
|
409
|
+
"""
|
410
|
+
The name of the authorized view. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.
|
411
|
+
"""
|
412
|
+
return pulumi.get(self, "name")
|
413
|
+
|
414
|
+
@property
|
415
|
+
@pulumi.getter
|
416
|
+
def project(self) -> pulumi.Output[str]:
|
417
|
+
"""
|
418
|
+
The ID of the project in which the resource belongs. If it
|
419
|
+
is not provided, the provider project is used.
|
420
|
+
"""
|
421
|
+
return pulumi.get(self, "project")
|
422
|
+
|
423
|
+
@property
|
424
|
+
@pulumi.getter(name="subsetView")
|
425
|
+
def subset_view(self) -> pulumi.Output[Optional['outputs.AuthorizedViewSubsetView']]:
|
426
|
+
"""
|
427
|
+
An AuthorizedView permitting access to an explicit subset of a Table. Structure is documented below.
|
428
|
+
|
429
|
+
-----
|
430
|
+
"""
|
431
|
+
return pulumi.get(self, "subset_view")
|
432
|
+
|
433
|
+
@property
|
434
|
+
@pulumi.getter(name="tableName")
|
435
|
+
def table_name(self) -> pulumi.Output[str]:
|
436
|
+
"""
|
437
|
+
The name of the Bigtable table in which the authorized view belongs.
|
438
|
+
"""
|
439
|
+
return pulumi.get(self, "table_name")
|
440
|
+
|
pulumi_gcp/bigtable/outputs.py
CHANGED
@@ -11,6 +11,8 @@ from .. import _utilities
|
|
11
11
|
from . import outputs
|
12
12
|
|
13
13
|
__all__ = [
|
14
|
+
'AuthorizedViewSubsetView',
|
15
|
+
'AuthorizedViewSubsetViewFamilySubset',
|
14
16
|
'GCPolicyMaxAge',
|
15
17
|
'GCPolicyMaxVersion',
|
16
18
|
'InstanceCluster',
|
@@ -22,6 +24,123 @@ __all__ = [
|
|
22
24
|
'TableIamMemberCondition',
|
23
25
|
]
|
24
26
|
|
27
|
+
@pulumi.output_type
|
28
|
+
class AuthorizedViewSubsetView(dict):
|
29
|
+
@staticmethod
|
30
|
+
def __key_warning(key: str):
|
31
|
+
suggest = None
|
32
|
+
if key == "familySubsets":
|
33
|
+
suggest = "family_subsets"
|
34
|
+
elif key == "rowPrefixes":
|
35
|
+
suggest = "row_prefixes"
|
36
|
+
|
37
|
+
if suggest:
|
38
|
+
pulumi.log.warn(f"Key '{key}' not found in AuthorizedViewSubsetView. Access the value via the '{suggest}' property getter instead.")
|
39
|
+
|
40
|
+
def __getitem__(self, key: str) -> Any:
|
41
|
+
AuthorizedViewSubsetView.__key_warning(key)
|
42
|
+
return super().__getitem__(key)
|
43
|
+
|
44
|
+
def get(self, key: str, default = None) -> Any:
|
45
|
+
AuthorizedViewSubsetView.__key_warning(key)
|
46
|
+
return super().get(key, default)
|
47
|
+
|
48
|
+
def __init__(__self__, *,
|
49
|
+
family_subsets: Optional[Sequence['outputs.AuthorizedViewSubsetViewFamilySubset']] = None,
|
50
|
+
row_prefixes: Optional[Sequence[str]] = None):
|
51
|
+
"""
|
52
|
+
:param Sequence['AuthorizedViewSubsetViewFamilySubsetArgs'] family_subsets: A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
|
53
|
+
|
54
|
+
-----
|
55
|
+
:param Sequence[str] row_prefixes: A list of Base64-encoded row prefixes to be included in the authorized view. To provide access to all rows, include the empty string as a prefix ("").
|
56
|
+
"""
|
57
|
+
if family_subsets is not None:
|
58
|
+
pulumi.set(__self__, "family_subsets", family_subsets)
|
59
|
+
if row_prefixes is not None:
|
60
|
+
pulumi.set(__self__, "row_prefixes", row_prefixes)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="familySubsets")
|
64
|
+
def family_subsets(self) -> Optional[Sequence['outputs.AuthorizedViewSubsetViewFamilySubset']]:
|
65
|
+
"""
|
66
|
+
A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
|
67
|
+
|
68
|
+
-----
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "family_subsets")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="rowPrefixes")
|
74
|
+
def row_prefixes(self) -> Optional[Sequence[str]]:
|
75
|
+
"""
|
76
|
+
A list of Base64-encoded row prefixes to be included in the authorized view. To provide access to all rows, include the empty string as a prefix ("").
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "row_prefixes")
|
79
|
+
|
80
|
+
|
81
|
+
@pulumi.output_type
|
82
|
+
class AuthorizedViewSubsetViewFamilySubset(dict):
|
83
|
+
@staticmethod
|
84
|
+
def __key_warning(key: str):
|
85
|
+
suggest = None
|
86
|
+
if key == "familyName":
|
87
|
+
suggest = "family_name"
|
88
|
+
elif key == "qualifierPrefixes":
|
89
|
+
suggest = "qualifier_prefixes"
|
90
|
+
|
91
|
+
if suggest:
|
92
|
+
pulumi.log.warn(f"Key '{key}' not found in AuthorizedViewSubsetViewFamilySubset. Access the value via the '{suggest}' property getter instead.")
|
93
|
+
|
94
|
+
def __getitem__(self, key: str) -> Any:
|
95
|
+
AuthorizedViewSubsetViewFamilySubset.__key_warning(key)
|
96
|
+
return super().__getitem__(key)
|
97
|
+
|
98
|
+
def get(self, key: str, default = None) -> Any:
|
99
|
+
AuthorizedViewSubsetViewFamilySubset.__key_warning(key)
|
100
|
+
return super().get(key, default)
|
101
|
+
|
102
|
+
def __init__(__self__, *,
|
103
|
+
family_name: str,
|
104
|
+
qualifier_prefixes: Optional[Sequence[str]] = None,
|
105
|
+
qualifiers: Optional[Sequence[str]] = None):
|
106
|
+
"""
|
107
|
+
:param str family_name: Name of the column family to be included in the authorized view. The specified column family must exist in the parent table of this authorized view.
|
108
|
+
:param Sequence[str] qualifier_prefixes: A list of Base64-encoded prefixes for qualifiers of the column family to be included in the authorized view.
|
109
|
+
Every qualifier starting with one of these prefixes is included in the authorized view. To provide access to all qualifiers, include the empty string as a prefix ("").
|
110
|
+
:param Sequence[str] qualifiers: A list of Base64-encoded individual exact column qualifiers of the column family to be included in the authorized view.
|
111
|
+
"""
|
112
|
+
pulumi.set(__self__, "family_name", family_name)
|
113
|
+
if qualifier_prefixes is not None:
|
114
|
+
pulumi.set(__self__, "qualifier_prefixes", qualifier_prefixes)
|
115
|
+
if qualifiers is not None:
|
116
|
+
pulumi.set(__self__, "qualifiers", qualifiers)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="familyName")
|
120
|
+
def family_name(self) -> str:
|
121
|
+
"""
|
122
|
+
Name of the column family to be included in the authorized view. The specified column family must exist in the parent table of this authorized view.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "family_name")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="qualifierPrefixes")
|
128
|
+
def qualifier_prefixes(self) -> Optional[Sequence[str]]:
|
129
|
+
"""
|
130
|
+
A list of Base64-encoded prefixes for qualifiers of the column family to be included in the authorized view.
|
131
|
+
Every qualifier starting with one of these prefixes is included in the authorized view. To provide access to all qualifiers, include the empty string as a prefix ("").
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "qualifier_prefixes")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def qualifiers(self) -> Optional[Sequence[str]]:
|
138
|
+
"""
|
139
|
+
A list of Base64-encoded individual exact column qualifiers of the column family to be included in the authorized view.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "qualifiers")
|
142
|
+
|
143
|
+
|
25
144
|
@pulumi.output_type
|
26
145
|
class GCPolicyMaxAge(dict):
|
27
146
|
def __init__(__self__, *,
|