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,524 @@
|
|
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__ = ['MaterializedViewArgs', 'MaterializedView']
|
19
|
+
|
20
|
+
@pulumi.input_type
|
21
|
+
class MaterializedViewArgs:
|
22
|
+
def __init__(__self__, *,
|
23
|
+
materialized_view_id: pulumi.Input[builtins.str],
|
24
|
+
query: pulumi.Input[builtins.str],
|
25
|
+
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
26
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
27
|
+
project: Optional[pulumi.Input[builtins.str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a MaterializedView resource.
|
30
|
+
:param pulumi.Input[builtins.str] materialized_view_id: The unique name of the materialized view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
31
|
+
|
32
|
+
|
33
|
+
- - -
|
34
|
+
:param pulumi.Input[builtins.str] query: The materialized view's select query.
|
35
|
+
:param pulumi.Input[builtins.bool] deletion_protection: Set to true to make the MaterializedView protected against deletion.
|
36
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the materialized view within.
|
37
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
38
|
+
If it is not provided, the provider project is used.
|
39
|
+
"""
|
40
|
+
pulumi.set(__self__, "materialized_view_id", materialized_view_id)
|
41
|
+
pulumi.set(__self__, "query", query)
|
42
|
+
if deletion_protection is not None:
|
43
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
44
|
+
if instance is not None:
|
45
|
+
pulumi.set(__self__, "instance", instance)
|
46
|
+
if project is not None:
|
47
|
+
pulumi.set(__self__, "project", project)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="materializedViewId")
|
51
|
+
def materialized_view_id(self) -> pulumi.Input[builtins.str]:
|
52
|
+
"""
|
53
|
+
The unique name of the materialized view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
54
|
+
|
55
|
+
|
56
|
+
- - -
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "materialized_view_id")
|
59
|
+
|
60
|
+
@materialized_view_id.setter
|
61
|
+
def materialized_view_id(self, value: pulumi.Input[builtins.str]):
|
62
|
+
pulumi.set(self, "materialized_view_id", value)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def query(self) -> pulumi.Input[builtins.str]:
|
67
|
+
"""
|
68
|
+
The materialized view's select query.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "query")
|
71
|
+
|
72
|
+
@query.setter
|
73
|
+
def query(self, value: pulumi.Input[builtins.str]):
|
74
|
+
pulumi.set(self, "query", value)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="deletionProtection")
|
78
|
+
def deletion_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
79
|
+
"""
|
80
|
+
Set to true to make the MaterializedView protected against deletion.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "deletion_protection")
|
83
|
+
|
84
|
+
@deletion_protection.setter
|
85
|
+
def deletion_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
86
|
+
pulumi.set(self, "deletion_protection", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def instance(self) -> Optional[pulumi.Input[builtins.str]]:
|
91
|
+
"""
|
92
|
+
The name of the instance to create the materialized view within.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "instance")
|
95
|
+
|
96
|
+
@instance.setter
|
97
|
+
def instance(self, value: Optional[pulumi.Input[builtins.str]]):
|
98
|
+
pulumi.set(self, "instance", value)
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
103
|
+
"""
|
104
|
+
The ID of the project in which the resource belongs.
|
105
|
+
If it is not provided, the provider project is used.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "project")
|
108
|
+
|
109
|
+
@project.setter
|
110
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
111
|
+
pulumi.set(self, "project", value)
|
112
|
+
|
113
|
+
|
114
|
+
@pulumi.input_type
|
115
|
+
class _MaterializedViewState:
|
116
|
+
def __init__(__self__, *,
|
117
|
+
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
118
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
119
|
+
materialized_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
120
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
121
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
122
|
+
query: Optional[pulumi.Input[builtins.str]] = None):
|
123
|
+
"""
|
124
|
+
Input properties used for looking up and filtering MaterializedView resources.
|
125
|
+
:param pulumi.Input[builtins.bool] deletion_protection: Set to true to make the MaterializedView protected against deletion.
|
126
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the materialized view within.
|
127
|
+
:param pulumi.Input[builtins.str] materialized_view_id: The unique name of the materialized view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
128
|
+
|
129
|
+
|
130
|
+
- - -
|
131
|
+
:param pulumi.Input[builtins.str] name: The unique name of the requested materialized view. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materializedViewId>`.
|
132
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
133
|
+
If it is not provided, the provider project is used.
|
134
|
+
:param pulumi.Input[builtins.str] query: The materialized view's select query.
|
135
|
+
"""
|
136
|
+
if deletion_protection is not None:
|
137
|
+
pulumi.set(__self__, "deletion_protection", deletion_protection)
|
138
|
+
if instance is not None:
|
139
|
+
pulumi.set(__self__, "instance", instance)
|
140
|
+
if materialized_view_id is not None:
|
141
|
+
pulumi.set(__self__, "materialized_view_id", materialized_view_id)
|
142
|
+
if name is not None:
|
143
|
+
pulumi.set(__self__, "name", name)
|
144
|
+
if project is not None:
|
145
|
+
pulumi.set(__self__, "project", project)
|
146
|
+
if query is not None:
|
147
|
+
pulumi.set(__self__, "query", query)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="deletionProtection")
|
151
|
+
def deletion_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
152
|
+
"""
|
153
|
+
Set to true to make the MaterializedView protected against deletion.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "deletion_protection")
|
156
|
+
|
157
|
+
@deletion_protection.setter
|
158
|
+
def deletion_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
159
|
+
pulumi.set(self, "deletion_protection", value)
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter
|
163
|
+
def instance(self) -> Optional[pulumi.Input[builtins.str]]:
|
164
|
+
"""
|
165
|
+
The name of the instance to create the materialized view within.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "instance")
|
168
|
+
|
169
|
+
@instance.setter
|
170
|
+
def instance(self, value: Optional[pulumi.Input[builtins.str]]):
|
171
|
+
pulumi.set(self, "instance", value)
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter(name="materializedViewId")
|
175
|
+
def materialized_view_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
176
|
+
"""
|
177
|
+
The unique name of the materialized view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
178
|
+
|
179
|
+
|
180
|
+
- - -
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "materialized_view_id")
|
183
|
+
|
184
|
+
@materialized_view_id.setter
|
185
|
+
def materialized_view_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
186
|
+
pulumi.set(self, "materialized_view_id", value)
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter
|
190
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
191
|
+
"""
|
192
|
+
The unique name of the requested materialized view. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materializedViewId>`.
|
193
|
+
"""
|
194
|
+
return pulumi.get(self, "name")
|
195
|
+
|
196
|
+
@name.setter
|
197
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
198
|
+
pulumi.set(self, "name", value)
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter
|
202
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
203
|
+
"""
|
204
|
+
The ID of the project in which the resource belongs.
|
205
|
+
If it is not provided, the provider project is used.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "project")
|
208
|
+
|
209
|
+
@project.setter
|
210
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
211
|
+
pulumi.set(self, "project", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter
|
215
|
+
def query(self) -> Optional[pulumi.Input[builtins.str]]:
|
216
|
+
"""
|
217
|
+
The materialized view's select query.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "query")
|
220
|
+
|
221
|
+
@query.setter
|
222
|
+
def query(self, value: Optional[pulumi.Input[builtins.str]]):
|
223
|
+
pulumi.set(self, "query", value)
|
224
|
+
|
225
|
+
|
226
|
+
class MaterializedView(pulumi.CustomResource):
|
227
|
+
|
228
|
+
pulumi_type = "gcp:bigtable/materializedView:MaterializedView"
|
229
|
+
|
230
|
+
@overload
|
231
|
+
def __init__(__self__,
|
232
|
+
resource_name: str,
|
233
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
234
|
+
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
235
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
236
|
+
materialized_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
237
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
238
|
+
query: Optional[pulumi.Input[builtins.str]] = None,
|
239
|
+
__props__=None):
|
240
|
+
"""
|
241
|
+
A materialized view object that can be referenced in SQL queries.
|
242
|
+
|
243
|
+
To get more information about MaterializedView, see:
|
244
|
+
|
245
|
+
* [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.materializedViews)
|
246
|
+
|
247
|
+
## Example Usage
|
248
|
+
|
249
|
+
### Bigtable Materialized View
|
250
|
+
|
251
|
+
```python
|
252
|
+
import pulumi
|
253
|
+
import pulumi_gcp as gcp
|
254
|
+
|
255
|
+
instance = gcp.bigtable.Instance("instance",
|
256
|
+
name="bt-instance",
|
257
|
+
clusters=[{
|
258
|
+
"cluster_id": "cluster-1",
|
259
|
+
"zone": "us-east1-b",
|
260
|
+
"num_nodes": 3,
|
261
|
+
"storage_type": "HDD",
|
262
|
+
}],
|
263
|
+
deletion_protection=True)
|
264
|
+
table = gcp.bigtable.Table("table",
|
265
|
+
name="bt-table",
|
266
|
+
instance_name=instance.name,
|
267
|
+
column_families=[{
|
268
|
+
"family": "CF",
|
269
|
+
}])
|
270
|
+
materialized_view = gcp.bigtable.MaterializedView("materialized_view",
|
271
|
+
materialized_view_id="bt-materialized-view",
|
272
|
+
instance=instance.name,
|
273
|
+
deletion_protection=False,
|
274
|
+
query=\"\"\"SELECT _key, COUNT(CF['col1']) as Count
|
275
|
+
FROM ` + "`bt-table`" + `
|
276
|
+
GROUP BY _key
|
277
|
+
\"\"\",
|
278
|
+
opts = pulumi.ResourceOptions(depends_on=[table]))
|
279
|
+
```
|
280
|
+
|
281
|
+
## Import
|
282
|
+
|
283
|
+
MaterializedView can be imported using any of these accepted formats:
|
284
|
+
|
285
|
+
* `projects/{{project}}/instances/{{instance}}/materializedViews/{{materialized_view_id}}`
|
286
|
+
|
287
|
+
* `{{project}}/{{instance}}/{{materialized_view_id}}`
|
288
|
+
|
289
|
+
* `{{instance}}/{{materialized_view_id}}`
|
290
|
+
|
291
|
+
When using the `pulumi import` command, MaterializedView can be imported using one of the formats above. For example:
|
292
|
+
|
293
|
+
```sh
|
294
|
+
$ pulumi import gcp:bigtable/materializedView:MaterializedView default projects/{{project}}/instances/{{instance}}/materializedViews/{{materialized_view_id}}
|
295
|
+
```
|
296
|
+
|
297
|
+
```sh
|
298
|
+
$ pulumi import gcp:bigtable/materializedView:MaterializedView default {{project}}/{{instance}}/{{materialized_view_id}}
|
299
|
+
```
|
300
|
+
|
301
|
+
```sh
|
302
|
+
$ pulumi import gcp:bigtable/materializedView:MaterializedView default {{instance}}/{{materialized_view_id}}
|
303
|
+
```
|
304
|
+
|
305
|
+
:param str resource_name: The name of the resource.
|
306
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
307
|
+
:param pulumi.Input[builtins.bool] deletion_protection: Set to true to make the MaterializedView protected against deletion.
|
308
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the materialized view within.
|
309
|
+
:param pulumi.Input[builtins.str] materialized_view_id: The unique name of the materialized view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
310
|
+
|
311
|
+
|
312
|
+
- - -
|
313
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
314
|
+
If it is not provided, the provider project is used.
|
315
|
+
:param pulumi.Input[builtins.str] query: The materialized view's select query.
|
316
|
+
"""
|
317
|
+
...
|
318
|
+
@overload
|
319
|
+
def __init__(__self__,
|
320
|
+
resource_name: str,
|
321
|
+
args: MaterializedViewArgs,
|
322
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
323
|
+
"""
|
324
|
+
A materialized view object that can be referenced in SQL queries.
|
325
|
+
|
326
|
+
To get more information about MaterializedView, see:
|
327
|
+
|
328
|
+
* [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.materializedViews)
|
329
|
+
|
330
|
+
## Example Usage
|
331
|
+
|
332
|
+
### Bigtable Materialized View
|
333
|
+
|
334
|
+
```python
|
335
|
+
import pulumi
|
336
|
+
import pulumi_gcp as gcp
|
337
|
+
|
338
|
+
instance = gcp.bigtable.Instance("instance",
|
339
|
+
name="bt-instance",
|
340
|
+
clusters=[{
|
341
|
+
"cluster_id": "cluster-1",
|
342
|
+
"zone": "us-east1-b",
|
343
|
+
"num_nodes": 3,
|
344
|
+
"storage_type": "HDD",
|
345
|
+
}],
|
346
|
+
deletion_protection=True)
|
347
|
+
table = gcp.bigtable.Table("table",
|
348
|
+
name="bt-table",
|
349
|
+
instance_name=instance.name,
|
350
|
+
column_families=[{
|
351
|
+
"family": "CF",
|
352
|
+
}])
|
353
|
+
materialized_view = gcp.bigtable.MaterializedView("materialized_view",
|
354
|
+
materialized_view_id="bt-materialized-view",
|
355
|
+
instance=instance.name,
|
356
|
+
deletion_protection=False,
|
357
|
+
query=\"\"\"SELECT _key, COUNT(CF['col1']) as Count
|
358
|
+
FROM ` + "`bt-table`" + `
|
359
|
+
GROUP BY _key
|
360
|
+
\"\"\",
|
361
|
+
opts = pulumi.ResourceOptions(depends_on=[table]))
|
362
|
+
```
|
363
|
+
|
364
|
+
## Import
|
365
|
+
|
366
|
+
MaterializedView can be imported using any of these accepted formats:
|
367
|
+
|
368
|
+
* `projects/{{project}}/instances/{{instance}}/materializedViews/{{materialized_view_id}}`
|
369
|
+
|
370
|
+
* `{{project}}/{{instance}}/{{materialized_view_id}}`
|
371
|
+
|
372
|
+
* `{{instance}}/{{materialized_view_id}}`
|
373
|
+
|
374
|
+
When using the `pulumi import` command, MaterializedView can be imported using one of the formats above. For example:
|
375
|
+
|
376
|
+
```sh
|
377
|
+
$ pulumi import gcp:bigtable/materializedView:MaterializedView default projects/{{project}}/instances/{{instance}}/materializedViews/{{materialized_view_id}}
|
378
|
+
```
|
379
|
+
|
380
|
+
```sh
|
381
|
+
$ pulumi import gcp:bigtable/materializedView:MaterializedView default {{project}}/{{instance}}/{{materialized_view_id}}
|
382
|
+
```
|
383
|
+
|
384
|
+
```sh
|
385
|
+
$ pulumi import gcp:bigtable/materializedView:MaterializedView default {{instance}}/{{materialized_view_id}}
|
386
|
+
```
|
387
|
+
|
388
|
+
:param str resource_name: The name of the resource.
|
389
|
+
:param MaterializedViewArgs args: The arguments to use to populate this resource's properties.
|
390
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
391
|
+
"""
|
392
|
+
...
|
393
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
394
|
+
resource_args, opts = _utilities.get_resource_args_opts(MaterializedViewArgs, pulumi.ResourceOptions, *args, **kwargs)
|
395
|
+
if resource_args is not None:
|
396
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
397
|
+
else:
|
398
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
399
|
+
|
400
|
+
def _internal_init(__self__,
|
401
|
+
resource_name: str,
|
402
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
403
|
+
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
404
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
405
|
+
materialized_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
406
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
407
|
+
query: Optional[pulumi.Input[builtins.str]] = None,
|
408
|
+
__props__=None):
|
409
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
410
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
411
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
412
|
+
if opts.id is None:
|
413
|
+
if __props__ is not None:
|
414
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
415
|
+
__props__ = MaterializedViewArgs.__new__(MaterializedViewArgs)
|
416
|
+
|
417
|
+
__props__.__dict__["deletion_protection"] = deletion_protection
|
418
|
+
__props__.__dict__["instance"] = instance
|
419
|
+
if materialized_view_id is None and not opts.urn:
|
420
|
+
raise TypeError("Missing required property 'materialized_view_id'")
|
421
|
+
__props__.__dict__["materialized_view_id"] = materialized_view_id
|
422
|
+
__props__.__dict__["project"] = project
|
423
|
+
if query is None and not opts.urn:
|
424
|
+
raise TypeError("Missing required property 'query'")
|
425
|
+
__props__.__dict__["query"] = query
|
426
|
+
__props__.__dict__["name"] = None
|
427
|
+
super(MaterializedView, __self__).__init__(
|
428
|
+
'gcp:bigtable/materializedView:MaterializedView',
|
429
|
+
resource_name,
|
430
|
+
__props__,
|
431
|
+
opts)
|
432
|
+
|
433
|
+
@staticmethod
|
434
|
+
def get(resource_name: str,
|
435
|
+
id: pulumi.Input[str],
|
436
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
437
|
+
deletion_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
438
|
+
instance: Optional[pulumi.Input[builtins.str]] = None,
|
439
|
+
materialized_view_id: Optional[pulumi.Input[builtins.str]] = None,
|
440
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
441
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
442
|
+
query: Optional[pulumi.Input[builtins.str]] = None) -> 'MaterializedView':
|
443
|
+
"""
|
444
|
+
Get an existing MaterializedView resource's state with the given name, id, and optional extra
|
445
|
+
properties used to qualify the lookup.
|
446
|
+
|
447
|
+
:param str resource_name: The unique name of the resulting resource.
|
448
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
449
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
450
|
+
:param pulumi.Input[builtins.bool] deletion_protection: Set to true to make the MaterializedView protected against deletion.
|
451
|
+
:param pulumi.Input[builtins.str] instance: The name of the instance to create the materialized view within.
|
452
|
+
:param pulumi.Input[builtins.str] materialized_view_id: The unique name of the materialized view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
453
|
+
|
454
|
+
|
455
|
+
- - -
|
456
|
+
:param pulumi.Input[builtins.str] name: The unique name of the requested materialized view. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materializedViewId>`.
|
457
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
458
|
+
If it is not provided, the provider project is used.
|
459
|
+
:param pulumi.Input[builtins.str] query: The materialized view's select query.
|
460
|
+
"""
|
461
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
462
|
+
|
463
|
+
__props__ = _MaterializedViewState.__new__(_MaterializedViewState)
|
464
|
+
|
465
|
+
__props__.__dict__["deletion_protection"] = deletion_protection
|
466
|
+
__props__.__dict__["instance"] = instance
|
467
|
+
__props__.__dict__["materialized_view_id"] = materialized_view_id
|
468
|
+
__props__.__dict__["name"] = name
|
469
|
+
__props__.__dict__["project"] = project
|
470
|
+
__props__.__dict__["query"] = query
|
471
|
+
return MaterializedView(resource_name, opts=opts, __props__=__props__)
|
472
|
+
|
473
|
+
@property
|
474
|
+
@pulumi.getter(name="deletionProtection")
|
475
|
+
def deletion_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
476
|
+
"""
|
477
|
+
Set to true to make the MaterializedView protected against deletion.
|
478
|
+
"""
|
479
|
+
return pulumi.get(self, "deletion_protection")
|
480
|
+
|
481
|
+
@property
|
482
|
+
@pulumi.getter
|
483
|
+
def instance(self) -> pulumi.Output[Optional[builtins.str]]:
|
484
|
+
"""
|
485
|
+
The name of the instance to create the materialized view within.
|
486
|
+
"""
|
487
|
+
return pulumi.get(self, "instance")
|
488
|
+
|
489
|
+
@property
|
490
|
+
@pulumi.getter(name="materializedViewId")
|
491
|
+
def materialized_view_id(self) -> pulumi.Output[builtins.str]:
|
492
|
+
"""
|
493
|
+
The unique name of the materialized view in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
494
|
+
|
495
|
+
|
496
|
+
- - -
|
497
|
+
"""
|
498
|
+
return pulumi.get(self, "materialized_view_id")
|
499
|
+
|
500
|
+
@property
|
501
|
+
@pulumi.getter
|
502
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
503
|
+
"""
|
504
|
+
The unique name of the requested materialized view. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materializedViewId>`.
|
505
|
+
"""
|
506
|
+
return pulumi.get(self, "name")
|
507
|
+
|
508
|
+
@property
|
509
|
+
@pulumi.getter
|
510
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
511
|
+
"""
|
512
|
+
The ID of the project in which the resource belongs.
|
513
|
+
If it is not provided, the provider project is used.
|
514
|
+
"""
|
515
|
+
return pulumi.get(self, "project")
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter
|
519
|
+
def query(self) -> pulumi.Output[builtins.str]:
|
520
|
+
"""
|
521
|
+
The materialized view's select query.
|
522
|
+
"""
|
523
|
+
return pulumi.get(self, "query")
|
524
|
+
|
@@ -364,6 +364,12 @@ class CaPool(pulumi.CustomResource):
|
|
364
364
|
issuance policies for one or more CertificateAuthority resources and to rotate CA certificates in and out of the
|
365
365
|
trust anchor.
|
366
366
|
|
367
|
+
To get more information about CaPool, see:
|
368
|
+
|
369
|
+
* [API documentation](https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.caPools)
|
370
|
+
* How-to Guides
|
371
|
+
* [Certificate Authority Service Overview](https://cloud.google.com/certificate-authority-service/docs/overview)
|
372
|
+
|
367
373
|
## Example Usage
|
368
374
|
|
369
375
|
### Privateca Capool Basic
|
@@ -577,6 +583,12 @@ class CaPool(pulumi.CustomResource):
|
|
577
583
|
issuance policies for one or more CertificateAuthority resources and to rotate CA certificates in and out of the
|
578
584
|
trust anchor.
|
579
585
|
|
586
|
+
To get more information about CaPool, see:
|
587
|
+
|
588
|
+
* [API documentation](https://cloud.google.com/certificate-authority-service/docs/reference/rest/v1/projects.locations.caPools)
|
589
|
+
* How-to Guides
|
590
|
+
* [Certificate Authority Service Overview](https://cloud.google.com/certificate-authority-service/docs/overview)
|
591
|
+
|
580
592
|
## Example Usage
|
581
593
|
|
582
594
|
### Privateca Capool Basic
|
@@ -45,6 +45,9 @@ class GetCertificatesResult:
|
|
45
45
|
@property
|
46
46
|
@pulumi.getter
|
47
47
|
def certificates(self) -> Sequence['outputs.GetCertificatesCertificateResult']:
|
48
|
+
"""
|
49
|
+
A list of all retrieved certificates. See certificatemanager.Certificate resource for details of the available attributes.
|
50
|
+
"""
|
48
51
|
return pulumi.get(self, "certificates")
|
49
52
|
|
50
53
|
@property
|
@@ -91,6 +94,7 @@ def get_certificates(filter: Optional[builtins.str] = None,
|
|
91
94
|
import pulumi_gcp as gcp
|
92
95
|
|
93
96
|
default = gcp.certificatemanager.get_certificates()
|
97
|
+
pulumi.export("certificatesNames", [cert.name for cert in default.certificates])
|
94
98
|
```
|
95
99
|
|
96
100
|
### With A Filter
|
@@ -100,6 +104,18 @@ def get_certificates(filter: Optional[builtins.str] = None,
|
|
100
104
|
import pulumi_gcp as gcp
|
101
105
|
|
102
106
|
default = gcp.certificatemanager.get_certificates(filter="name:projects/PROJECT_ID/locations/REGION/certificates/certificate-name-*")
|
107
|
+
pulumi.export("certificatesNames", [cert.name for cert in default.certificates])
|
108
|
+
```
|
109
|
+
|
110
|
+
### Regional Certificates With A Filter
|
111
|
+
|
112
|
+
```python
|
113
|
+
import pulumi
|
114
|
+
import pulumi_gcp as gcp
|
115
|
+
|
116
|
+
default = gcp.certificatemanager.get_certificates(region="REGION",
|
117
|
+
filter="name:projects/PROJECT_ID/locations/REGION/certificates/certificate-name-*")
|
118
|
+
pulumi.export("certificatesNames", [cert.name for cert in default.certificates])
|
103
119
|
```
|
104
120
|
|
105
121
|
|
@@ -130,6 +146,7 @@ def get_certificates_output(filter: Optional[pulumi.Input[Optional[builtins.str]
|
|
130
146
|
import pulumi_gcp as gcp
|
131
147
|
|
132
148
|
default = gcp.certificatemanager.get_certificates()
|
149
|
+
pulumi.export("certificatesNames", [cert.name for cert in default.certificates])
|
133
150
|
```
|
134
151
|
|
135
152
|
### With A Filter
|
@@ -139,6 +156,18 @@ def get_certificates_output(filter: Optional[pulumi.Input[Optional[builtins.str]
|
|
139
156
|
import pulumi_gcp as gcp
|
140
157
|
|
141
158
|
default = gcp.certificatemanager.get_certificates(filter="name:projects/PROJECT_ID/locations/REGION/certificates/certificate-name-*")
|
159
|
+
pulumi.export("certificatesNames", [cert.name for cert in default.certificates])
|
160
|
+
```
|
161
|
+
|
162
|
+
### Regional Certificates With A Filter
|
163
|
+
|
164
|
+
```python
|
165
|
+
import pulumi
|
166
|
+
import pulumi_gcp as gcp
|
167
|
+
|
168
|
+
default = gcp.certificatemanager.get_certificates(region="REGION",
|
169
|
+
filter="name:projects/PROJECT_ID/locations/REGION/certificates/certificate-name-*")
|
170
|
+
pulumi.export("certificatesNames", [cert.name for cert in default.certificates])
|
142
171
|
```
|
143
172
|
|
144
173
|
|