pulumi-gcp 8.31.0__py3-none-any.whl → 8.31.0a1747205151__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +0 -8
- pulumi_gcp/alloydb/_inputs.py +0 -164
- pulumi_gcp/alloydb/outputs.py +0 -211
- pulumi_gcp/apigee/_inputs.py +0 -20
- pulumi_gcp/apigee/outputs.py +0 -12
- pulumi_gcp/bigquery/routine.py +0 -56
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/certificateauthority/_inputs.py +19 -20
- pulumi_gcp/certificateauthority/authority.py +0 -70
- pulumi_gcp/certificateauthority/outputs.py +11 -12
- pulumi_gcp/cloudfunctionsv2/function.py +4 -4
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +0 -312
- pulumi_gcp/compute/get_health_check.py +1 -12
- pulumi_gcp/compute/health_check.py +0 -120
- pulumi_gcp/compute/outputs.py +0 -353
- pulumi_gcp/compute/region_health_check.py +0 -120
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dataproc/get_metastore_service.py +12 -1
- pulumi_gcp/dataproc/metastore_service.py +61 -0
- pulumi_gcp/diagflow/_inputs.py +2894 -6530
- pulumi_gcp/diagflow/cx_flow.py +0 -304
- pulumi_gcp/diagflow/cx_page.py +0 -290
- pulumi_gcp/diagflow/outputs.py +1876 -4630
- pulumi_gcp/netapp/backup.py +0 -56
- pulumi_gcp/netapp/backup_vault.py +0 -185
- pulumi_gcp/netapp/storage_pool.py +2 -2
- pulumi_gcp/networkconnectivity/internal_range.py +0 -47
- pulumi_gcp/networkconnectivity/regional_endpoint.py +13 -13
- pulumi_gcp/networkservices/_inputs.py +0 -43
- pulumi_gcp/networkservices/edge_cache_origin.py +0 -61
- pulumi_gcp/networkservices/outputs.py +0 -43
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/get_instance.py +12 -1
- pulumi_gcp/redis/instance.py +61 -0
- pulumi_gcp/spanner/database.py +0 -56
- pulumi_gcp/spanner/get_database.py +1 -12
- pulumi_gcp/storage/bucket.py +4 -4
- pulumi_gcp/storage/get_bucket_object_content.py +1 -29
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/RECORD +44 -45
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/WHEEL +1 -1
- pulumi_gcp/compute/cross_site_network.py +0 -374
- {pulumi_gcp-8.31.0.dist-info → pulumi_gcp-8.31.0a1747205151.dist-info}/top_level.txt +0 -0
@@ -1,374 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import 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__ = ['CrossSiteNetworkArgs', 'CrossSiteNetwork']
|
19
|
-
|
20
|
-
@pulumi.input_type
|
21
|
-
class CrossSiteNetworkArgs:
|
22
|
-
def __init__(__self__, *,
|
23
|
-
description: Optional[pulumi.Input[builtins.str]] = None,
|
24
|
-
name: Optional[pulumi.Input[builtins.str]] = None,
|
25
|
-
project: Optional[pulumi.Input[builtins.str]] = None):
|
26
|
-
"""
|
27
|
-
The set of arguments for constructing a CrossSiteNetwork resource.
|
28
|
-
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
29
|
-
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
|
30
|
-
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
31
|
-
long and match the regular expression `a-z?` which means the first
|
32
|
-
character must be a lowercase letter, and all following characters must be a dash,
|
33
|
-
lowercase letter, or digit, except the last character, which cannot be a dash.
|
34
|
-
|
35
|
-
|
36
|
-
- - -
|
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
|
-
if description is not None:
|
41
|
-
pulumi.set(__self__, "description", description)
|
42
|
-
if name is not None:
|
43
|
-
pulumi.set(__self__, "name", name)
|
44
|
-
if project is not None:
|
45
|
-
pulumi.set(__self__, "project", project)
|
46
|
-
|
47
|
-
@property
|
48
|
-
@pulumi.getter
|
49
|
-
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
50
|
-
"""
|
51
|
-
An optional description of this resource.
|
52
|
-
"""
|
53
|
-
return pulumi.get(self, "description")
|
54
|
-
|
55
|
-
@description.setter
|
56
|
-
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
57
|
-
pulumi.set(self, "description", value)
|
58
|
-
|
59
|
-
@property
|
60
|
-
@pulumi.getter
|
61
|
-
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
62
|
-
"""
|
63
|
-
Name of the resource. Provided by the client when the resource is created. The name must be
|
64
|
-
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
65
|
-
long and match the regular expression `a-z?` which means the first
|
66
|
-
character must be a lowercase letter, and all following characters must be a dash,
|
67
|
-
lowercase letter, or digit, except the last character, which cannot be a dash.
|
68
|
-
|
69
|
-
|
70
|
-
- - -
|
71
|
-
"""
|
72
|
-
return pulumi.get(self, "name")
|
73
|
-
|
74
|
-
@name.setter
|
75
|
-
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
76
|
-
pulumi.set(self, "name", value)
|
77
|
-
|
78
|
-
@property
|
79
|
-
@pulumi.getter
|
80
|
-
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
81
|
-
"""
|
82
|
-
The ID of the project in which the resource belongs.
|
83
|
-
If it is not provided, the provider project is used.
|
84
|
-
"""
|
85
|
-
return pulumi.get(self, "project")
|
86
|
-
|
87
|
-
@project.setter
|
88
|
-
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
89
|
-
pulumi.set(self, "project", value)
|
90
|
-
|
91
|
-
|
92
|
-
@pulumi.input_type
|
93
|
-
class _CrossSiteNetworkState:
|
94
|
-
def __init__(__self__, *,
|
95
|
-
description: Optional[pulumi.Input[builtins.str]] = None,
|
96
|
-
name: Optional[pulumi.Input[builtins.str]] = None,
|
97
|
-
project: Optional[pulumi.Input[builtins.str]] = None):
|
98
|
-
"""
|
99
|
-
Input properties used for looking up and filtering CrossSiteNetwork resources.
|
100
|
-
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
101
|
-
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
|
102
|
-
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
103
|
-
long and match the regular expression `a-z?` which means the first
|
104
|
-
character must be a lowercase letter, and all following characters must be a dash,
|
105
|
-
lowercase letter, or digit, except the last character, which cannot be a dash.
|
106
|
-
|
107
|
-
|
108
|
-
- - -
|
109
|
-
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
110
|
-
If it is not provided, the provider project is used.
|
111
|
-
"""
|
112
|
-
if description is not None:
|
113
|
-
pulumi.set(__self__, "description", description)
|
114
|
-
if name is not None:
|
115
|
-
pulumi.set(__self__, "name", name)
|
116
|
-
if project is not None:
|
117
|
-
pulumi.set(__self__, "project", project)
|
118
|
-
|
119
|
-
@property
|
120
|
-
@pulumi.getter
|
121
|
-
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
122
|
-
"""
|
123
|
-
An optional description of this resource.
|
124
|
-
"""
|
125
|
-
return pulumi.get(self, "description")
|
126
|
-
|
127
|
-
@description.setter
|
128
|
-
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
129
|
-
pulumi.set(self, "description", value)
|
130
|
-
|
131
|
-
@property
|
132
|
-
@pulumi.getter
|
133
|
-
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
134
|
-
"""
|
135
|
-
Name of the resource. Provided by the client when the resource is created. The name must be
|
136
|
-
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
137
|
-
long and match the regular expression `a-z?` which means the first
|
138
|
-
character must be a lowercase letter, and all following characters must be a dash,
|
139
|
-
lowercase letter, or digit, except the last character, which cannot be a dash.
|
140
|
-
|
141
|
-
|
142
|
-
- - -
|
143
|
-
"""
|
144
|
-
return pulumi.get(self, "name")
|
145
|
-
|
146
|
-
@name.setter
|
147
|
-
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
148
|
-
pulumi.set(self, "name", value)
|
149
|
-
|
150
|
-
@property
|
151
|
-
@pulumi.getter
|
152
|
-
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
153
|
-
"""
|
154
|
-
The ID of the project in which the resource belongs.
|
155
|
-
If it is not provided, the provider project is used.
|
156
|
-
"""
|
157
|
-
return pulumi.get(self, "project")
|
158
|
-
|
159
|
-
@project.setter
|
160
|
-
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
161
|
-
pulumi.set(self, "project", value)
|
162
|
-
|
163
|
-
|
164
|
-
@pulumi.type_token("gcp:compute/crossSiteNetwork:CrossSiteNetwork")
|
165
|
-
class CrossSiteNetwork(pulumi.CustomResource):
|
166
|
-
@overload
|
167
|
-
def __init__(__self__,
|
168
|
-
resource_name: str,
|
169
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
170
|
-
description: Optional[pulumi.Input[builtins.str]] = None,
|
171
|
-
name: Optional[pulumi.Input[builtins.str]] = None,
|
172
|
-
project: Optional[pulumi.Input[builtins.str]] = None,
|
173
|
-
__props__=None):
|
174
|
-
"""
|
175
|
-
## Example Usage
|
176
|
-
|
177
|
-
### Compute Cross Site Network Basic
|
178
|
-
|
179
|
-
```python
|
180
|
-
import pulumi
|
181
|
-
import pulumi_gcp as gcp
|
182
|
-
|
183
|
-
project = gcp.organizations.get_project()
|
184
|
-
example_cross_site_network = gcp.compute.CrossSiteNetwork("example-cross-site-network",
|
185
|
-
name="test-cross-site-network",
|
186
|
-
description="Example cross site network")
|
187
|
-
```
|
188
|
-
|
189
|
-
## Import
|
190
|
-
|
191
|
-
CrossSiteNetwork can be imported using any of these accepted formats:
|
192
|
-
|
193
|
-
* `projects/{{project}}/global/crossSiteNetworks/{{name}}`
|
194
|
-
|
195
|
-
* `{{project}}/{{name}}`
|
196
|
-
|
197
|
-
* `{{name}}`
|
198
|
-
|
199
|
-
When using the `pulumi import` command, CrossSiteNetwork can be imported using one of the formats above. For example:
|
200
|
-
|
201
|
-
```sh
|
202
|
-
$ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default projects/{{project}}/global/crossSiteNetworks/{{name}}
|
203
|
-
```
|
204
|
-
|
205
|
-
```sh
|
206
|
-
$ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{project}}/{{name}}
|
207
|
-
```
|
208
|
-
|
209
|
-
```sh
|
210
|
-
$ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{name}}
|
211
|
-
```
|
212
|
-
|
213
|
-
:param str resource_name: The name of the resource.
|
214
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
215
|
-
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
216
|
-
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
|
217
|
-
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
218
|
-
long and match the regular expression `a-z?` which means the first
|
219
|
-
character must be a lowercase letter, and all following characters must be a dash,
|
220
|
-
lowercase letter, or digit, except the last character, which cannot be a dash.
|
221
|
-
|
222
|
-
|
223
|
-
- - -
|
224
|
-
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
225
|
-
If it is not provided, the provider project is used.
|
226
|
-
"""
|
227
|
-
...
|
228
|
-
@overload
|
229
|
-
def __init__(__self__,
|
230
|
-
resource_name: str,
|
231
|
-
args: Optional[CrossSiteNetworkArgs] = None,
|
232
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
233
|
-
"""
|
234
|
-
## Example Usage
|
235
|
-
|
236
|
-
### Compute Cross Site Network Basic
|
237
|
-
|
238
|
-
```python
|
239
|
-
import pulumi
|
240
|
-
import pulumi_gcp as gcp
|
241
|
-
|
242
|
-
project = gcp.organizations.get_project()
|
243
|
-
example_cross_site_network = gcp.compute.CrossSiteNetwork("example-cross-site-network",
|
244
|
-
name="test-cross-site-network",
|
245
|
-
description="Example cross site network")
|
246
|
-
```
|
247
|
-
|
248
|
-
## Import
|
249
|
-
|
250
|
-
CrossSiteNetwork can be imported using any of these accepted formats:
|
251
|
-
|
252
|
-
* `projects/{{project}}/global/crossSiteNetworks/{{name}}`
|
253
|
-
|
254
|
-
* `{{project}}/{{name}}`
|
255
|
-
|
256
|
-
* `{{name}}`
|
257
|
-
|
258
|
-
When using the `pulumi import` command, CrossSiteNetwork can be imported using one of the formats above. For example:
|
259
|
-
|
260
|
-
```sh
|
261
|
-
$ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default projects/{{project}}/global/crossSiteNetworks/{{name}}
|
262
|
-
```
|
263
|
-
|
264
|
-
```sh
|
265
|
-
$ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{project}}/{{name}}
|
266
|
-
```
|
267
|
-
|
268
|
-
```sh
|
269
|
-
$ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{name}}
|
270
|
-
```
|
271
|
-
|
272
|
-
:param str resource_name: The name of the resource.
|
273
|
-
:param CrossSiteNetworkArgs args: The arguments to use to populate this resource's properties.
|
274
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
275
|
-
"""
|
276
|
-
...
|
277
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
278
|
-
resource_args, opts = _utilities.get_resource_args_opts(CrossSiteNetworkArgs, pulumi.ResourceOptions, *args, **kwargs)
|
279
|
-
if resource_args is not None:
|
280
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
281
|
-
else:
|
282
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
283
|
-
|
284
|
-
def _internal_init(__self__,
|
285
|
-
resource_name: str,
|
286
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
287
|
-
description: Optional[pulumi.Input[builtins.str]] = None,
|
288
|
-
name: Optional[pulumi.Input[builtins.str]] = None,
|
289
|
-
project: Optional[pulumi.Input[builtins.str]] = None,
|
290
|
-
__props__=None):
|
291
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
292
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
293
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
294
|
-
if opts.id is None:
|
295
|
-
if __props__ is not None:
|
296
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
297
|
-
__props__ = CrossSiteNetworkArgs.__new__(CrossSiteNetworkArgs)
|
298
|
-
|
299
|
-
__props__.__dict__["description"] = description
|
300
|
-
__props__.__dict__["name"] = name
|
301
|
-
__props__.__dict__["project"] = project
|
302
|
-
super(CrossSiteNetwork, __self__).__init__(
|
303
|
-
'gcp:compute/crossSiteNetwork:CrossSiteNetwork',
|
304
|
-
resource_name,
|
305
|
-
__props__,
|
306
|
-
opts)
|
307
|
-
|
308
|
-
@staticmethod
|
309
|
-
def get(resource_name: str,
|
310
|
-
id: pulumi.Input[str],
|
311
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
312
|
-
description: Optional[pulumi.Input[builtins.str]] = None,
|
313
|
-
name: Optional[pulumi.Input[builtins.str]] = None,
|
314
|
-
project: Optional[pulumi.Input[builtins.str]] = None) -> 'CrossSiteNetwork':
|
315
|
-
"""
|
316
|
-
Get an existing CrossSiteNetwork resource's state with the given name, id, and optional extra
|
317
|
-
properties used to qualify the lookup.
|
318
|
-
|
319
|
-
:param str resource_name: The unique name of the resulting resource.
|
320
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
321
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
322
|
-
:param pulumi.Input[builtins.str] description: An optional description of this resource.
|
323
|
-
:param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
|
324
|
-
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
325
|
-
long and match the regular expression `a-z?` which means the first
|
326
|
-
character must be a lowercase letter, and all following characters must be a dash,
|
327
|
-
lowercase letter, or digit, except the last character, which cannot be a dash.
|
328
|
-
|
329
|
-
|
330
|
-
- - -
|
331
|
-
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
332
|
-
If it is not provided, the provider project is used.
|
333
|
-
"""
|
334
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
335
|
-
|
336
|
-
__props__ = _CrossSiteNetworkState.__new__(_CrossSiteNetworkState)
|
337
|
-
|
338
|
-
__props__.__dict__["description"] = description
|
339
|
-
__props__.__dict__["name"] = name
|
340
|
-
__props__.__dict__["project"] = project
|
341
|
-
return CrossSiteNetwork(resource_name, opts=opts, __props__=__props__)
|
342
|
-
|
343
|
-
@property
|
344
|
-
@pulumi.getter
|
345
|
-
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
346
|
-
"""
|
347
|
-
An optional description of this resource.
|
348
|
-
"""
|
349
|
-
return pulumi.get(self, "description")
|
350
|
-
|
351
|
-
@property
|
352
|
-
@pulumi.getter
|
353
|
-
def name(self) -> pulumi.Output[builtins.str]:
|
354
|
-
"""
|
355
|
-
Name of the resource. Provided by the client when the resource is created. The name must be
|
356
|
-
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
|
357
|
-
long and match the regular expression `a-z?` which means the first
|
358
|
-
character must be a lowercase letter, and all following characters must be a dash,
|
359
|
-
lowercase letter, or digit, except the last character, which cannot be a dash.
|
360
|
-
|
361
|
-
|
362
|
-
- - -
|
363
|
-
"""
|
364
|
-
return pulumi.get(self, "name")
|
365
|
-
|
366
|
-
@property
|
367
|
-
@pulumi.getter
|
368
|
-
def project(self) -> pulumi.Output[builtins.str]:
|
369
|
-
"""
|
370
|
-
The ID of the project in which the resource belongs.
|
371
|
-
If it is not provided, the provider project is used.
|
372
|
-
"""
|
373
|
-
return pulumi.get(self, "project")
|
374
|
-
|
File without changes
|