pulumi-gcp 8.29.0a1746115375__py3-none-any.whl → 8.29.0a1746140206__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/alloydb/instance.py +1 -1
- pulumi_gcp/apigee/organization.py +26 -0
- pulumi_gcp/beyondcorp/_inputs.py +129 -0
- pulumi_gcp/beyondcorp/application.py +106 -3
- pulumi_gcp/beyondcorp/outputs.py +93 -0
- pulumi_gcp/bigtable/__init__.py +2 -0
- pulumi_gcp/bigtable/logical_view.py +473 -0
- pulumi_gcp/bigtable/materialized_view.py +524 -0
- pulumi_gcp/certificateauthority/ca_pool.py +12 -0
- pulumi_gcp/certificatemanager/get_certificates.py +29 -0
- pulumi_gcp/clouddeploy/automation.py +66 -10
- pulumi_gcp/compute/_inputs.py +366 -55
- pulumi_gcp/compute/backend_service.py +6 -2
- pulumi_gcp/compute/get_region_disk.py +12 -1
- pulumi_gcp/compute/interconnect.py +25 -24
- pulumi_gcp/compute/outputs.py +380 -48
- pulumi_gcp/compute/region_disk.py +28 -0
- pulumi_gcp/compute/region_resize_request.py +2 -2
- pulumi_gcp/compute/region_security_policy.py +16 -0
- pulumi_gcp/compute/region_security_policy_rule.py +16 -0
- pulumi_gcp/compute/resize_request.py +2 -2
- pulumi_gcp/compute/resource_policy.py +0 -2
- pulumi_gcp/container/_inputs.py +69 -9
- pulumi_gcp/container/outputs.py +71 -7
- pulumi_gcp/dataplex/_inputs.py +219 -1
- pulumi_gcp/dataplex/datascan.py +20 -0
- pulumi_gcp/dataplex/outputs.py +168 -1
- pulumi_gcp/developerconnect/_inputs.py +6 -0
- pulumi_gcp/developerconnect/account_connector.py +56 -0
- pulumi_gcp/developerconnect/outputs.py +4 -0
- pulumi_gcp/dns/_inputs.py +34 -13
- pulumi_gcp/dns/outputs.py +25 -10
- pulumi_gcp/gkehub/_inputs.py +3 -3
- pulumi_gcp/gkehub/feature_membership.py +92 -0
- pulumi_gcp/gkehub/outputs.py +2 -2
- pulumi_gcp/identityplatform/_inputs.py +54 -0
- pulumi_gcp/identityplatform/oauth_idp_config.py +83 -5
- pulumi_gcp/identityplatform/outputs.py +49 -0
- pulumi_gcp/memcache/__init__.py +1 -0
- pulumi_gcp/memcache/get_instance.py +338 -0
- pulumi_gcp/memcache/outputs.py +363 -0
- pulumi_gcp/netapp/storage_pool.py +141 -0
- pulumi_gcp/networkservices/_inputs.py +35 -6
- pulumi_gcp/networkservices/lb_traffic_extension.py +7 -0
- pulumi_gcp/networkservices/outputs.py +22 -4
- pulumi_gcp/osconfig/__init__.py +1 -0
- pulumi_gcp/osconfig/_inputs.py +5400 -0
- pulumi_gcp/osconfig/outputs.py +3952 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_folder.py +1098 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/spanner/instance_config.py +14 -14
- pulumi_gcp/sql/_inputs.py +83 -0
- pulumi_gcp/sql/database_instance.py +28 -0
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +146 -6
- pulumi_gcp/storage/_inputs.py +20 -0
- pulumi_gcp/storage/bucket.py +56 -0
- pulumi_gcp/storage/get_bucket.py +23 -1
- pulumi_gcp/storage/outputs.py +14 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +2 -14
- {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.29.0a1746140206.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.29.0a1746140206.dist-info}/RECORD +65 -61
- {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.29.0a1746140206.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.29.0a1746115375.dist-info → pulumi_gcp-8.29.0a1746140206.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,473 @@
|
|
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 builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
|
18
|
+
__all__ = ['LogicalViewArgs', 'LogicalView']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class LogicalViewArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
logical_view_id: pulumi.Input[builtins.str],
|
24
|
+
query: pulumi.Input[builtins.str],
|
25
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
26
|
+
project: Optional[pulumi.Input[builtins.str]] = None):
|
27
|
+
"""
|
28
|
+
The set of arguments for constructing a LogicalView resource.
|
29
|
+
:param pulumi.Input[builtins.str] logical_view_id: The unique name of the logical view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
30
|
+
|
31
|
+
|
32
|
+
- - -
|
33
|
+
:param pulumi.Input[builtins.str] query: The logical view's select query.
|
34
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the logical view within.
|
35
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
36
|
+
If it is not provided, the provider project is used.
|
37
|
+
"""
|
38
|
+
pulumi.set(__self__, "logical_view_id", logical_view_id)
|
39
|
+
pulumi.set(__self__, "query", query)
|
40
|
+
if instance is not None:
|
41
|
+
pulumi.set(__self__, "instance", instance)
|
42
|
+
if project is not None:
|
43
|
+
pulumi.set(__self__, "project", project)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="logicalViewId")
|
47
|
+
def logical_view_id(self) -> pulumi.Input[builtins.str]:
|
48
|
+
"""
|
49
|
+
The unique name of the logical view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
50
|
+
|
51
|
+
|
52
|
+
- - -
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "logical_view_id")
|
55
|
+
|
56
|
+
@logical_view_id.setter
|
57
|
+
def logical_view_id(self, value: pulumi.Input[builtins.str]):
|
58
|
+
pulumi.set(self, "logical_view_id", value)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def query(self) -> pulumi.Input[builtins.str]:
|
63
|
+
"""
|
64
|
+
The logical view's select query.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "query")
|
67
|
+
|
68
|
+
@query.setter
|
69
|
+
def query(self, value: pulumi.Input[builtins.str]):
|
70
|
+
pulumi.set(self, "query", value)
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter
|
74
|
+
def instance(self) -> Optional[pulumi.Input[builtins.str]]:
|
75
|
+
"""
|
76
|
+
The name of the instance to create the logical view within.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "instance")
|
79
|
+
|
80
|
+
@instance.setter
|
81
|
+
def instance(self, value: Optional[pulumi.Input[builtins.str]]):
|
82
|
+
pulumi.set(self, "instance", value)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter
|
86
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
87
|
+
"""
|
88
|
+
The ID of the project in which the resource belongs.
|
89
|
+
If it is not provided, the provider project is used.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "project")
|
92
|
+
|
93
|
+
@project.setter
|
94
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
95
|
+
pulumi.set(self, "project", value)
|
96
|
+
|
97
|
+
|
98
|
+
@pulumi.input_type
|
99
|
+
class _LogicalViewState:
|
100
|
+
def __init__(__self__, *,
|
101
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
102
|
+
logical_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
103
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
104
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
105
|
+
query: Optional[pulumi.Input[builtins.str]] = None):
|
106
|
+
"""
|
107
|
+
Input properties used for looking up and filtering LogicalView resources.
|
108
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the logical view within.
|
109
|
+
:param pulumi.Input[builtins.str] logical_view_id: The unique name of the logical view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
110
|
+
|
111
|
+
|
112
|
+
- - -
|
113
|
+
:param pulumi.Input[builtins.str] name: The unique name of the requested logical view. Values are of the form `projects/<project>/instances/<instance>/logicalViews/<logicalViewId>`.
|
114
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
115
|
+
If it is not provided, the provider project is used.
|
116
|
+
:param pulumi.Input[builtins.str] query: The logical view's select query.
|
117
|
+
"""
|
118
|
+
if instance is not None:
|
119
|
+
pulumi.set(__self__, "instance", instance)
|
120
|
+
if logical_view_id is not None:
|
121
|
+
pulumi.set(__self__, "logical_view_id", logical_view_id)
|
122
|
+
if name is not None:
|
123
|
+
pulumi.set(__self__, "name", name)
|
124
|
+
if project is not None:
|
125
|
+
pulumi.set(__self__, "project", project)
|
126
|
+
if query is not None:
|
127
|
+
pulumi.set(__self__, "query", query)
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def instance(self) -> Optional[pulumi.Input[builtins.str]]:
|
132
|
+
"""
|
133
|
+
The name of the instance to create the logical view within.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "instance")
|
136
|
+
|
137
|
+
@instance.setter
|
138
|
+
def instance(self, value: Optional[pulumi.Input[builtins.str]]):
|
139
|
+
pulumi.set(self, "instance", value)
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="logicalViewId")
|
143
|
+
def logical_view_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
144
|
+
"""
|
145
|
+
The unique name of the logical view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
146
|
+
|
147
|
+
|
148
|
+
- - -
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "logical_view_id")
|
151
|
+
|
152
|
+
@logical_view_id.setter
|
153
|
+
def logical_view_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
154
|
+
pulumi.set(self, "logical_view_id", value)
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter
|
158
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
159
|
+
"""
|
160
|
+
The unique name of the requested logical view. Values are of the form `projects/<project>/instances/<instance>/logicalViews/<logicalViewId>`.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "name")
|
163
|
+
|
164
|
+
@name.setter
|
165
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
166
|
+
pulumi.set(self, "name", value)
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter
|
170
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
171
|
+
"""
|
172
|
+
The ID of the project in which the resource belongs.
|
173
|
+
If it is not provided, the provider project is used.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "project")
|
176
|
+
|
177
|
+
@project.setter
|
178
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
179
|
+
pulumi.set(self, "project", value)
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter
|
183
|
+
def query(self) -> Optional[pulumi.Input[builtins.str]]:
|
184
|
+
"""
|
185
|
+
The logical view's select query.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "query")
|
188
|
+
|
189
|
+
@query.setter
|
190
|
+
def query(self, value: Optional[pulumi.Input[builtins.str]]):
|
191
|
+
pulumi.set(self, "query", value)
|
192
|
+
|
193
|
+
|
194
|
+
class LogicalView(pulumi.CustomResource):
|
195
|
+
|
196
|
+
pulumi_type = "gcp:bigtable/logicalView:LogicalView"
|
197
|
+
|
198
|
+
@overload
|
199
|
+
def __init__(__self__,
|
200
|
+
resource_name: str,
|
201
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
202
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
203
|
+
logical_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
204
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
205
|
+
query: Optional[pulumi.Input[builtins.str]] = None,
|
206
|
+
__props__=None):
|
207
|
+
"""
|
208
|
+
A logical view object that can be referenced in SQL queries.
|
209
|
+
|
210
|
+
To get more information about LogicalView, see:
|
211
|
+
|
212
|
+
* [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.logicalViews)
|
213
|
+
|
214
|
+
## Example Usage
|
215
|
+
|
216
|
+
### Bigtable Logical View
|
217
|
+
|
218
|
+
```python
|
219
|
+
import pulumi
|
220
|
+
import pulumi_gcp as gcp
|
221
|
+
|
222
|
+
instance = gcp.bigtable.Instance("instance",
|
223
|
+
name="bt-instance",
|
224
|
+
clusters=[{
|
225
|
+
"cluster_id": "cluster-1",
|
226
|
+
"zone": "us-east1-b",
|
227
|
+
"num_nodes": 3,
|
228
|
+
"storage_type": "HDD",
|
229
|
+
}],
|
230
|
+
deletion_protection=False)
|
231
|
+
table = gcp.bigtable.Table("table",
|
232
|
+
name="bt-table",
|
233
|
+
instance_name=instance.name,
|
234
|
+
column_families=[{
|
235
|
+
"family": "CF",
|
236
|
+
}])
|
237
|
+
logical_view = gcp.bigtable.LogicalView("logical_view",
|
238
|
+
logical_view_id="bt-logical-view",
|
239
|
+
instance=instance.name,
|
240
|
+
query=\"\"\"SELECT _key, CF
|
241
|
+
FROM ` + "`bt-table`" + `
|
242
|
+
\"\"\",
|
243
|
+
opts = pulumi.ResourceOptions(depends_on=[table]))
|
244
|
+
```
|
245
|
+
|
246
|
+
## Import
|
247
|
+
|
248
|
+
LogicalView can be imported using any of these accepted formats:
|
249
|
+
|
250
|
+
* `projects/{{project}}/instances/{{instance}}/logicalViews/{{logical_view_id}}`
|
251
|
+
|
252
|
+
* `{{project}}/{{instance}}/{{logical_view_id}}`
|
253
|
+
|
254
|
+
* `{{instance}}/{{logical_view_id}}`
|
255
|
+
|
256
|
+
When using the `pulumi import` command, LogicalView can be imported using one of the formats above. For example:
|
257
|
+
|
258
|
+
```sh
|
259
|
+
$ pulumi import gcp:bigtable/logicalView:LogicalView default projects/{{project}}/instances/{{instance}}/logicalViews/{{logical_view_id}}
|
260
|
+
```
|
261
|
+
|
262
|
+
```sh
|
263
|
+
$ pulumi import gcp:bigtable/logicalView:LogicalView default {{project}}/{{instance}}/{{logical_view_id}}
|
264
|
+
```
|
265
|
+
|
266
|
+
```sh
|
267
|
+
$ pulumi import gcp:bigtable/logicalView:LogicalView default {{instance}}/{{logical_view_id}}
|
268
|
+
```
|
269
|
+
|
270
|
+
:param str resource_name: The name of the resource.
|
271
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
272
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the logical view within.
|
273
|
+
:param pulumi.Input[builtins.str] logical_view_id: The unique name of the logical view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
274
|
+
|
275
|
+
|
276
|
+
- - -
|
277
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
278
|
+
If it is not provided, the provider project is used.
|
279
|
+
:param pulumi.Input[builtins.str] query: The logical view's select query.
|
280
|
+
"""
|
281
|
+
...
|
282
|
+
@overload
|
283
|
+
def __init__(__self__,
|
284
|
+
resource_name: str,
|
285
|
+
args: LogicalViewArgs,
|
286
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
287
|
+
"""
|
288
|
+
A logical view object that can be referenced in SQL queries.
|
289
|
+
|
290
|
+
To get more information about LogicalView, see:
|
291
|
+
|
292
|
+
* [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.logicalViews)
|
293
|
+
|
294
|
+
## Example Usage
|
295
|
+
|
296
|
+
### Bigtable Logical View
|
297
|
+
|
298
|
+
```python
|
299
|
+
import pulumi
|
300
|
+
import pulumi_gcp as gcp
|
301
|
+
|
302
|
+
instance = gcp.bigtable.Instance("instance",
|
303
|
+
name="bt-instance",
|
304
|
+
clusters=[{
|
305
|
+
"cluster_id": "cluster-1",
|
306
|
+
"zone": "us-east1-b",
|
307
|
+
"num_nodes": 3,
|
308
|
+
"storage_type": "HDD",
|
309
|
+
}],
|
310
|
+
deletion_protection=False)
|
311
|
+
table = gcp.bigtable.Table("table",
|
312
|
+
name="bt-table",
|
313
|
+
instance_name=instance.name,
|
314
|
+
column_families=[{
|
315
|
+
"family": "CF",
|
316
|
+
}])
|
317
|
+
logical_view = gcp.bigtable.LogicalView("logical_view",
|
318
|
+
logical_view_id="bt-logical-view",
|
319
|
+
instance=instance.name,
|
320
|
+
query=\"\"\"SELECT _key, CF
|
321
|
+
FROM ` + "`bt-table`" + `
|
322
|
+
\"\"\",
|
323
|
+
opts = pulumi.ResourceOptions(depends_on=[table]))
|
324
|
+
```
|
325
|
+
|
326
|
+
## Import
|
327
|
+
|
328
|
+
LogicalView can be imported using any of these accepted formats:
|
329
|
+
|
330
|
+
* `projects/{{project}}/instances/{{instance}}/logicalViews/{{logical_view_id}}`
|
331
|
+
|
332
|
+
* `{{project}}/{{instance}}/{{logical_view_id}}`
|
333
|
+
|
334
|
+
* `{{instance}}/{{logical_view_id}}`
|
335
|
+
|
336
|
+
When using the `pulumi import` command, LogicalView can be imported using one of the formats above. For example:
|
337
|
+
|
338
|
+
```sh
|
339
|
+
$ pulumi import gcp:bigtable/logicalView:LogicalView default projects/{{project}}/instances/{{instance}}/logicalViews/{{logical_view_id}}
|
340
|
+
```
|
341
|
+
|
342
|
+
```sh
|
343
|
+
$ pulumi import gcp:bigtable/logicalView:LogicalView default {{project}}/{{instance}}/{{logical_view_id}}
|
344
|
+
```
|
345
|
+
|
346
|
+
```sh
|
347
|
+
$ pulumi import gcp:bigtable/logicalView:LogicalView default {{instance}}/{{logical_view_id}}
|
348
|
+
```
|
349
|
+
|
350
|
+
:param str resource_name: The name of the resource.
|
351
|
+
:param LogicalViewArgs args: The arguments to use to populate this resource's properties.
|
352
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
353
|
+
"""
|
354
|
+
...
|
355
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
356
|
+
resource_args, opts = _utilities.get_resource_args_opts(LogicalViewArgs, pulumi.ResourceOptions, *args, **kwargs)
|
357
|
+
if resource_args is not None:
|
358
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
359
|
+
else:
|
360
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
361
|
+
|
362
|
+
def _internal_init(__self__,
|
363
|
+
resource_name: str,
|
364
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
365
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
366
|
+
logical_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
367
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
368
|
+
query: Optional[pulumi.Input[builtins.str]] = None,
|
369
|
+
__props__=None):
|
370
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
371
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
372
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
373
|
+
if opts.id is None:
|
374
|
+
if __props__ is not None:
|
375
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
376
|
+
__props__ = LogicalViewArgs.__new__(LogicalViewArgs)
|
377
|
+
|
378
|
+
__props__.__dict__["instance"] = instance
|
379
|
+
if logical_view_id is None and not opts.urn:
|
380
|
+
raise TypeError("Missing required property 'logical_view_id'")
|
381
|
+
__props__.__dict__["logical_view_id"] = logical_view_id
|
382
|
+
__props__.__dict__["project"] = project
|
383
|
+
if query is None and not opts.urn:
|
384
|
+
raise TypeError("Missing required property 'query'")
|
385
|
+
__props__.__dict__["query"] = query
|
386
|
+
__props__.__dict__["name"] = None
|
387
|
+
super(LogicalView, __self__).__init__(
|
388
|
+
'gcp:bigtable/logicalView:LogicalView',
|
389
|
+
resource_name,
|
390
|
+
__props__,
|
391
|
+
opts)
|
392
|
+
|
393
|
+
@staticmethod
|
394
|
+
def get(resource_name: str,
|
395
|
+
id: pulumi.Input[str],
|
396
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
397
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
398
|
+
logical_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
399
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
400
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
401
|
+
query: Optional[pulumi.Input[builtins.str]] = None) -> 'LogicalView':
|
402
|
+
"""
|
403
|
+
Get an existing LogicalView resource's state with the given name, id, and optional extra
|
404
|
+
properties used to qualify the lookup.
|
405
|
+
|
406
|
+
:param str resource_name: The unique name of the resulting resource.
|
407
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
408
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
409
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the logical view within.
|
410
|
+
:param pulumi.Input[builtins.str] logical_view_id: The unique name of the logical view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
411
|
+
|
412
|
+
|
413
|
+
- - -
|
414
|
+
:param pulumi.Input[builtins.str] name: The unique name of the requested logical view. Values are of the form `projects/<project>/instances/<instance>/logicalViews/<logicalViewId>`.
|
415
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
416
|
+
If it is not provided, the provider project is used.
|
417
|
+
:param pulumi.Input[builtins.str] query: The logical view's select query.
|
418
|
+
"""
|
419
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
420
|
+
|
421
|
+
__props__ = _LogicalViewState.__new__(_LogicalViewState)
|
422
|
+
|
423
|
+
__props__.__dict__["instance"] = instance
|
424
|
+
__props__.__dict__["logical_view_id"] = logical_view_id
|
425
|
+
__props__.__dict__["name"] = name
|
426
|
+
__props__.__dict__["project"] = project
|
427
|
+
__props__.__dict__["query"] = query
|
428
|
+
return LogicalView(resource_name, opts=opts, __props__=__props__)
|
429
|
+
|
430
|
+
@property
|
431
|
+
@pulumi.getter
|
432
|
+
def instance(self) -> pulumi.Output[Optional[builtins.str]]:
|
433
|
+
"""
|
434
|
+
The name of the instance to create the logical view within.
|
435
|
+
"""
|
436
|
+
return pulumi.get(self, "instance")
|
437
|
+
|
438
|
+
@property
|
439
|
+
@pulumi.getter(name="logicalViewId")
|
440
|
+
def logical_view_id(self) -> pulumi.Output[builtins.str]:
|
441
|
+
"""
|
442
|
+
The unique name of the logical view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
443
|
+
|
444
|
+
|
445
|
+
- - -
|
446
|
+
"""
|
447
|
+
return pulumi.get(self, "logical_view_id")
|
448
|
+
|
449
|
+
@property
|
450
|
+
@pulumi.getter
|
451
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
452
|
+
"""
|
453
|
+
The unique name of the requested logical view. Values are of the form `projects/<project>/instances/<instance>/logicalViews/<logicalViewId>`.
|
454
|
+
"""
|
455
|
+
return pulumi.get(self, "name")
|
456
|
+
|
457
|
+
@property
|
458
|
+
@pulumi.getter
|
459
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
460
|
+
"""
|
461
|
+
The ID of the project in which the resource belongs.
|
462
|
+
If it is not provided, the provider project is used.
|
463
|
+
"""
|
464
|
+
return pulumi.get(self, "project")
|
465
|
+
|
466
|
+
@property
|
467
|
+
@pulumi.getter
|
468
|
+
def query(self) -> pulumi.Output[builtins.str]:
|
469
|
+
"""
|
470
|
+
The logical view's select query.
|
471
|
+
"""
|
472
|
+
return pulumi.get(self, "query")
|
473
|
+
|