pulumi-gcp 8.2.0__py3-none-any.whl → 8.2.0a1726589141__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 -38
- pulumi_gcp/bigquery/__init__.py +0 -1
- pulumi_gcp/bigquery/outputs.py +0 -30
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +286 -2209
- pulumi_gcp/compute/get_instance.py +0 -3
- pulumi_gcp/compute/outputs.py +0 -1383
- pulumi_gcp/compute/region_target_http_proxy.py +0 -159
- pulumi_gcp/compute/region_target_https_proxy.py +0 -175
- pulumi_gcp/compute/service_attachment.py +0 -75
- pulumi_gcp/compute/target_http_proxy.py +28 -49
- pulumi_gcp/compute/target_https_proxy.py +28 -49
- pulumi_gcp/config/__init__.pyi +0 -4
- pulumi_gcp/config/vars.py +0 -8
- pulumi_gcp/container/_inputs.py +0 -96
- pulumi_gcp/container/attached_cluster.py +1 -54
- pulumi_gcp/container/outputs.py +0 -102
- pulumi_gcp/dataproc/metastore_federation.py +8 -8
- pulumi_gcp/dataproc/metastore_service.py +0 -2
- pulumi_gcp/datastream/stream.py +14 -21
- pulumi_gcp/gkeonprem/_inputs.py +3 -3
- pulumi_gcp/gkeonprem/outputs.py +2 -2
- pulumi_gcp/netapp/volume.py +0 -101
- pulumi_gcp/organizations/folder.py +33 -52
- pulumi_gcp/provider.py +0 -40
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securitycenter/v2_project_mute_config.py +2 -2
- pulumi_gcp/vpcaccess/connector.py +28 -21
- {pulumi_gcp-8.2.0.dist-info → pulumi_gcp-8.2.0a1726589141.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.2.0.dist-info → pulumi_gcp-8.2.0a1726589141.dist-info}/RECORD +32 -43
- pulumi_gcp/bigquery/get_tables.py +0 -143
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +0 -826
- pulumi_gcp/developerconnect/__init__.py +0 -11
- pulumi_gcp/developerconnect/_inputs.py +0 -301
- pulumi_gcp/developerconnect/connection.py +0 -1034
- pulumi_gcp/developerconnect/git_repository_link.py +0 -873
- pulumi_gcp/developerconnect/outputs.py +0 -247
- pulumi_gcp/memorystore/__init__.py +0 -10
- pulumi_gcp/memorystore/_inputs.py +0 -731
- pulumi_gcp/memorystore/instance.py +0 -1663
- pulumi_gcp/memorystore/outputs.py +0 -598
- {pulumi_gcp-8.2.0.dist-info → pulumi_gcp-8.2.0a1726589141.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.2.0.dist-info → pulumi_gcp-8.2.0a1726589141.dist-info}/top_level.txt +0 -0
@@ -1,598 +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 copy
|
6
|
-
import warnings
|
7
|
-
import sys
|
8
|
-
import pulumi
|
9
|
-
import pulumi.runtime
|
10
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
-
if sys.version_info >= (3, 11):
|
12
|
-
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
-
else:
|
14
|
-
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
-
from .. import _utilities
|
16
|
-
from . import outputs
|
17
|
-
|
18
|
-
__all__ = [
|
19
|
-
'InstanceDesiredPscAutoConnection',
|
20
|
-
'InstanceDiscoveryEndpoint',
|
21
|
-
'InstanceNodeConfig',
|
22
|
-
'InstancePersistenceConfig',
|
23
|
-
'InstancePersistenceConfigAofConfig',
|
24
|
-
'InstancePersistenceConfigRdbConfig',
|
25
|
-
'InstancePscAutoConnection',
|
26
|
-
'InstanceStateInfo',
|
27
|
-
'InstanceStateInfoUpdateInfo',
|
28
|
-
'InstanceZoneDistributionConfig',
|
29
|
-
]
|
30
|
-
|
31
|
-
@pulumi.output_type
|
32
|
-
class InstanceDesiredPscAutoConnection(dict):
|
33
|
-
@staticmethod
|
34
|
-
def __key_warning(key: str):
|
35
|
-
suggest = None
|
36
|
-
if key == "projectId":
|
37
|
-
suggest = "project_id"
|
38
|
-
|
39
|
-
if suggest:
|
40
|
-
pulumi.log.warn(f"Key '{key}' not found in InstanceDesiredPscAutoConnection. Access the value via the '{suggest}' property getter instead.")
|
41
|
-
|
42
|
-
def __getitem__(self, key: str) -> Any:
|
43
|
-
InstanceDesiredPscAutoConnection.__key_warning(key)
|
44
|
-
return super().__getitem__(key)
|
45
|
-
|
46
|
-
def get(self, key: str, default = None) -> Any:
|
47
|
-
InstanceDesiredPscAutoConnection.__key_warning(key)
|
48
|
-
return super().get(key, default)
|
49
|
-
|
50
|
-
def __init__(__self__, *,
|
51
|
-
network: str,
|
52
|
-
project_id: str):
|
53
|
-
"""
|
54
|
-
:param str network: (Output)
|
55
|
-
Output only. The consumer network where the IP address resides, in the form of
|
56
|
-
projects/{project_id}/global/networks/{network_id}.
|
57
|
-
:param str project_id: (Output)
|
58
|
-
Output only. The consumer project_id where the forwarding rule is created from.
|
59
|
-
"""
|
60
|
-
pulumi.set(__self__, "network", network)
|
61
|
-
pulumi.set(__self__, "project_id", project_id)
|
62
|
-
|
63
|
-
@property
|
64
|
-
@pulumi.getter
|
65
|
-
def network(self) -> str:
|
66
|
-
"""
|
67
|
-
(Output)
|
68
|
-
Output only. The consumer network where the IP address resides, in the form of
|
69
|
-
projects/{project_id}/global/networks/{network_id}.
|
70
|
-
"""
|
71
|
-
return pulumi.get(self, "network")
|
72
|
-
|
73
|
-
@property
|
74
|
-
@pulumi.getter(name="projectId")
|
75
|
-
def project_id(self) -> str:
|
76
|
-
"""
|
77
|
-
(Output)
|
78
|
-
Output only. The consumer project_id where the forwarding rule is created from.
|
79
|
-
"""
|
80
|
-
return pulumi.get(self, "project_id")
|
81
|
-
|
82
|
-
|
83
|
-
@pulumi.output_type
|
84
|
-
class InstanceDiscoveryEndpoint(dict):
|
85
|
-
def __init__(__self__, *,
|
86
|
-
address: Optional[str] = None,
|
87
|
-
network: Optional[str] = None,
|
88
|
-
port: Optional[int] = None):
|
89
|
-
"""
|
90
|
-
:param str address: (Output)
|
91
|
-
Output only. IP address of the exposed endpoint clients connect to.
|
92
|
-
:param str network: (Output)
|
93
|
-
Output only. The consumer network where the IP address resides, in the form of
|
94
|
-
projects/{project_id}/global/networks/{network_id}.
|
95
|
-
:param int port: (Output)
|
96
|
-
Output only. The port number of the exposed endpoint.
|
97
|
-
"""
|
98
|
-
if address is not None:
|
99
|
-
pulumi.set(__self__, "address", address)
|
100
|
-
if network is not None:
|
101
|
-
pulumi.set(__self__, "network", network)
|
102
|
-
if port is not None:
|
103
|
-
pulumi.set(__self__, "port", port)
|
104
|
-
|
105
|
-
@property
|
106
|
-
@pulumi.getter
|
107
|
-
def address(self) -> Optional[str]:
|
108
|
-
"""
|
109
|
-
(Output)
|
110
|
-
Output only. IP address of the exposed endpoint clients connect to.
|
111
|
-
"""
|
112
|
-
return pulumi.get(self, "address")
|
113
|
-
|
114
|
-
@property
|
115
|
-
@pulumi.getter
|
116
|
-
def network(self) -> Optional[str]:
|
117
|
-
"""
|
118
|
-
(Output)
|
119
|
-
Output only. The consumer network where the IP address resides, in the form of
|
120
|
-
projects/{project_id}/global/networks/{network_id}.
|
121
|
-
"""
|
122
|
-
return pulumi.get(self, "network")
|
123
|
-
|
124
|
-
@property
|
125
|
-
@pulumi.getter
|
126
|
-
def port(self) -> Optional[int]:
|
127
|
-
"""
|
128
|
-
(Output)
|
129
|
-
Output only. The port number of the exposed endpoint.
|
130
|
-
"""
|
131
|
-
return pulumi.get(self, "port")
|
132
|
-
|
133
|
-
|
134
|
-
@pulumi.output_type
|
135
|
-
class InstanceNodeConfig(dict):
|
136
|
-
@staticmethod
|
137
|
-
def __key_warning(key: str):
|
138
|
-
suggest = None
|
139
|
-
if key == "sizeGb":
|
140
|
-
suggest = "size_gb"
|
141
|
-
|
142
|
-
if suggest:
|
143
|
-
pulumi.log.warn(f"Key '{key}' not found in InstanceNodeConfig. Access the value via the '{suggest}' property getter instead.")
|
144
|
-
|
145
|
-
def __getitem__(self, key: str) -> Any:
|
146
|
-
InstanceNodeConfig.__key_warning(key)
|
147
|
-
return super().__getitem__(key)
|
148
|
-
|
149
|
-
def get(self, key: str, default = None) -> Any:
|
150
|
-
InstanceNodeConfig.__key_warning(key)
|
151
|
-
return super().get(key, default)
|
152
|
-
|
153
|
-
def __init__(__self__, *,
|
154
|
-
size_gb: Optional[float] = None):
|
155
|
-
"""
|
156
|
-
:param float size_gb: (Output)
|
157
|
-
Output only. Memory size in GB of the node.
|
158
|
-
"""
|
159
|
-
if size_gb is not None:
|
160
|
-
pulumi.set(__self__, "size_gb", size_gb)
|
161
|
-
|
162
|
-
@property
|
163
|
-
@pulumi.getter(name="sizeGb")
|
164
|
-
def size_gb(self) -> Optional[float]:
|
165
|
-
"""
|
166
|
-
(Output)
|
167
|
-
Output only. Memory size in GB of the node.
|
168
|
-
"""
|
169
|
-
return pulumi.get(self, "size_gb")
|
170
|
-
|
171
|
-
|
172
|
-
@pulumi.output_type
|
173
|
-
class InstancePersistenceConfig(dict):
|
174
|
-
@staticmethod
|
175
|
-
def __key_warning(key: str):
|
176
|
-
suggest = None
|
177
|
-
if key == "aofConfig":
|
178
|
-
suggest = "aof_config"
|
179
|
-
elif key == "rdbConfig":
|
180
|
-
suggest = "rdb_config"
|
181
|
-
|
182
|
-
if suggest:
|
183
|
-
pulumi.log.warn(f"Key '{key}' not found in InstancePersistenceConfig. Access the value via the '{suggest}' property getter instead.")
|
184
|
-
|
185
|
-
def __getitem__(self, key: str) -> Any:
|
186
|
-
InstancePersistenceConfig.__key_warning(key)
|
187
|
-
return super().__getitem__(key)
|
188
|
-
|
189
|
-
def get(self, key: str, default = None) -> Any:
|
190
|
-
InstancePersistenceConfig.__key_warning(key)
|
191
|
-
return super().get(key, default)
|
192
|
-
|
193
|
-
def __init__(__self__, *,
|
194
|
-
aof_config: Optional['outputs.InstancePersistenceConfigAofConfig'] = None,
|
195
|
-
mode: Optional[str] = None,
|
196
|
-
rdb_config: Optional['outputs.InstancePersistenceConfigRdbConfig'] = None):
|
197
|
-
"""
|
198
|
-
:param 'InstancePersistenceConfigAofConfigArgs' aof_config: Configuration for AOF based persistence.
|
199
|
-
Structure is documented below.
|
200
|
-
:param str mode: Optional. Current persistence mode.
|
201
|
-
Possible values:
|
202
|
-
DISABLED
|
203
|
-
RDB
|
204
|
-
AOF
|
205
|
-
Possible values are: `DISABLED`, `RDB`, `AOF`.
|
206
|
-
:param 'InstancePersistenceConfigRdbConfigArgs' rdb_config: Configuration for RDB based persistence.
|
207
|
-
Structure is documented below.
|
208
|
-
"""
|
209
|
-
if aof_config is not None:
|
210
|
-
pulumi.set(__self__, "aof_config", aof_config)
|
211
|
-
if mode is not None:
|
212
|
-
pulumi.set(__self__, "mode", mode)
|
213
|
-
if rdb_config is not None:
|
214
|
-
pulumi.set(__self__, "rdb_config", rdb_config)
|
215
|
-
|
216
|
-
@property
|
217
|
-
@pulumi.getter(name="aofConfig")
|
218
|
-
def aof_config(self) -> Optional['outputs.InstancePersistenceConfigAofConfig']:
|
219
|
-
"""
|
220
|
-
Configuration for AOF based persistence.
|
221
|
-
Structure is documented below.
|
222
|
-
"""
|
223
|
-
return pulumi.get(self, "aof_config")
|
224
|
-
|
225
|
-
@property
|
226
|
-
@pulumi.getter
|
227
|
-
def mode(self) -> Optional[str]:
|
228
|
-
"""
|
229
|
-
Optional. Current persistence mode.
|
230
|
-
Possible values:
|
231
|
-
DISABLED
|
232
|
-
RDB
|
233
|
-
AOF
|
234
|
-
Possible values are: `DISABLED`, `RDB`, `AOF`.
|
235
|
-
"""
|
236
|
-
return pulumi.get(self, "mode")
|
237
|
-
|
238
|
-
@property
|
239
|
-
@pulumi.getter(name="rdbConfig")
|
240
|
-
def rdb_config(self) -> Optional['outputs.InstancePersistenceConfigRdbConfig']:
|
241
|
-
"""
|
242
|
-
Configuration for RDB based persistence.
|
243
|
-
Structure is documented below.
|
244
|
-
"""
|
245
|
-
return pulumi.get(self, "rdb_config")
|
246
|
-
|
247
|
-
|
248
|
-
@pulumi.output_type
|
249
|
-
class InstancePersistenceConfigAofConfig(dict):
|
250
|
-
@staticmethod
|
251
|
-
def __key_warning(key: str):
|
252
|
-
suggest = None
|
253
|
-
if key == "appendFsync":
|
254
|
-
suggest = "append_fsync"
|
255
|
-
|
256
|
-
if suggest:
|
257
|
-
pulumi.log.warn(f"Key '{key}' not found in InstancePersistenceConfigAofConfig. Access the value via the '{suggest}' property getter instead.")
|
258
|
-
|
259
|
-
def __getitem__(self, key: str) -> Any:
|
260
|
-
InstancePersistenceConfigAofConfig.__key_warning(key)
|
261
|
-
return super().__getitem__(key)
|
262
|
-
|
263
|
-
def get(self, key: str, default = None) -> Any:
|
264
|
-
InstancePersistenceConfigAofConfig.__key_warning(key)
|
265
|
-
return super().get(key, default)
|
266
|
-
|
267
|
-
def __init__(__self__, *,
|
268
|
-
append_fsync: Optional[str] = None):
|
269
|
-
"""
|
270
|
-
:param str append_fsync: Optional. The fsync mode.
|
271
|
-
Possible values:
|
272
|
-
NEVER
|
273
|
-
EVERY_SEC
|
274
|
-
ALWAYS
|
275
|
-
"""
|
276
|
-
if append_fsync is not None:
|
277
|
-
pulumi.set(__self__, "append_fsync", append_fsync)
|
278
|
-
|
279
|
-
@property
|
280
|
-
@pulumi.getter(name="appendFsync")
|
281
|
-
def append_fsync(self) -> Optional[str]:
|
282
|
-
"""
|
283
|
-
Optional. The fsync mode.
|
284
|
-
Possible values:
|
285
|
-
NEVER
|
286
|
-
EVERY_SEC
|
287
|
-
ALWAYS
|
288
|
-
"""
|
289
|
-
return pulumi.get(self, "append_fsync")
|
290
|
-
|
291
|
-
|
292
|
-
@pulumi.output_type
|
293
|
-
class InstancePersistenceConfigRdbConfig(dict):
|
294
|
-
@staticmethod
|
295
|
-
def __key_warning(key: str):
|
296
|
-
suggest = None
|
297
|
-
if key == "rdbSnapshotPeriod":
|
298
|
-
suggest = "rdb_snapshot_period"
|
299
|
-
elif key == "rdbSnapshotStartTime":
|
300
|
-
suggest = "rdb_snapshot_start_time"
|
301
|
-
|
302
|
-
if suggest:
|
303
|
-
pulumi.log.warn(f"Key '{key}' not found in InstancePersistenceConfigRdbConfig. Access the value via the '{suggest}' property getter instead.")
|
304
|
-
|
305
|
-
def __getitem__(self, key: str) -> Any:
|
306
|
-
InstancePersistenceConfigRdbConfig.__key_warning(key)
|
307
|
-
return super().__getitem__(key)
|
308
|
-
|
309
|
-
def get(self, key: str, default = None) -> Any:
|
310
|
-
InstancePersistenceConfigRdbConfig.__key_warning(key)
|
311
|
-
return super().get(key, default)
|
312
|
-
|
313
|
-
def __init__(__self__, *,
|
314
|
-
rdb_snapshot_period: Optional[str] = None,
|
315
|
-
rdb_snapshot_start_time: Optional[str] = None):
|
316
|
-
"""
|
317
|
-
:param str rdb_snapshot_period: Optional. Period between RDB snapshots.
|
318
|
-
Possible values:
|
319
|
-
ONE_HOUR
|
320
|
-
SIX_HOURS
|
321
|
-
TWELVE_HOURS
|
322
|
-
TWENTY_FOUR_HOURS
|
323
|
-
:param str rdb_snapshot_start_time: Optional. Time that the first snapshot was/will be attempted, and to which future
|
324
|
-
snapshots will be aligned. If not provided, the current time will be
|
325
|
-
used.
|
326
|
-
"""
|
327
|
-
if rdb_snapshot_period is not None:
|
328
|
-
pulumi.set(__self__, "rdb_snapshot_period", rdb_snapshot_period)
|
329
|
-
if rdb_snapshot_start_time is not None:
|
330
|
-
pulumi.set(__self__, "rdb_snapshot_start_time", rdb_snapshot_start_time)
|
331
|
-
|
332
|
-
@property
|
333
|
-
@pulumi.getter(name="rdbSnapshotPeriod")
|
334
|
-
def rdb_snapshot_period(self) -> Optional[str]:
|
335
|
-
"""
|
336
|
-
Optional. Period between RDB snapshots.
|
337
|
-
Possible values:
|
338
|
-
ONE_HOUR
|
339
|
-
SIX_HOURS
|
340
|
-
TWELVE_HOURS
|
341
|
-
TWENTY_FOUR_HOURS
|
342
|
-
"""
|
343
|
-
return pulumi.get(self, "rdb_snapshot_period")
|
344
|
-
|
345
|
-
@property
|
346
|
-
@pulumi.getter(name="rdbSnapshotStartTime")
|
347
|
-
def rdb_snapshot_start_time(self) -> Optional[str]:
|
348
|
-
"""
|
349
|
-
Optional. Time that the first snapshot was/will be attempted, and to which future
|
350
|
-
snapshots will be aligned. If not provided, the current time will be
|
351
|
-
used.
|
352
|
-
"""
|
353
|
-
return pulumi.get(self, "rdb_snapshot_start_time")
|
354
|
-
|
355
|
-
|
356
|
-
@pulumi.output_type
|
357
|
-
class InstancePscAutoConnection(dict):
|
358
|
-
@staticmethod
|
359
|
-
def __key_warning(key: str):
|
360
|
-
suggest = None
|
361
|
-
if key == "forwardingRule":
|
362
|
-
suggest = "forwarding_rule"
|
363
|
-
elif key == "ipAddress":
|
364
|
-
suggest = "ip_address"
|
365
|
-
elif key == "projectId":
|
366
|
-
suggest = "project_id"
|
367
|
-
elif key == "pscConnectionId":
|
368
|
-
suggest = "psc_connection_id"
|
369
|
-
|
370
|
-
if suggest:
|
371
|
-
pulumi.log.warn(f"Key '{key}' not found in InstancePscAutoConnection. Access the value via the '{suggest}' property getter instead.")
|
372
|
-
|
373
|
-
def __getitem__(self, key: str) -> Any:
|
374
|
-
InstancePscAutoConnection.__key_warning(key)
|
375
|
-
return super().__getitem__(key)
|
376
|
-
|
377
|
-
def get(self, key: str, default = None) -> Any:
|
378
|
-
InstancePscAutoConnection.__key_warning(key)
|
379
|
-
return super().get(key, default)
|
380
|
-
|
381
|
-
def __init__(__self__, *,
|
382
|
-
forwarding_rule: Optional[str] = None,
|
383
|
-
ip_address: Optional[str] = None,
|
384
|
-
network: Optional[str] = None,
|
385
|
-
project_id: Optional[str] = None,
|
386
|
-
psc_connection_id: Optional[str] = None):
|
387
|
-
"""
|
388
|
-
:param str forwarding_rule: (Output)
|
389
|
-
Output only. The URI of the consumer side forwarding rule.
|
390
|
-
Format:
|
391
|
-
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
|
392
|
-
:param str ip_address: (Output)
|
393
|
-
Output only. The IP allocated on the consumer network for the PSC forwarding rule.
|
394
|
-
:param str network: (Output)
|
395
|
-
Output only. The consumer network where the IP address resides, in the form of
|
396
|
-
projects/{project_id}/global/networks/{network_id}.
|
397
|
-
:param str project_id: (Output)
|
398
|
-
Output only. The consumer project_id where the forwarding rule is created from.
|
399
|
-
:param str psc_connection_id: (Output)
|
400
|
-
Output only. The PSC connection id of the forwarding rule connected to the
|
401
|
-
service attachment.
|
402
|
-
"""
|
403
|
-
if forwarding_rule is not None:
|
404
|
-
pulumi.set(__self__, "forwarding_rule", forwarding_rule)
|
405
|
-
if ip_address is not None:
|
406
|
-
pulumi.set(__self__, "ip_address", ip_address)
|
407
|
-
if network is not None:
|
408
|
-
pulumi.set(__self__, "network", network)
|
409
|
-
if project_id is not None:
|
410
|
-
pulumi.set(__self__, "project_id", project_id)
|
411
|
-
if psc_connection_id is not None:
|
412
|
-
pulumi.set(__self__, "psc_connection_id", psc_connection_id)
|
413
|
-
|
414
|
-
@property
|
415
|
-
@pulumi.getter(name="forwardingRule")
|
416
|
-
def forwarding_rule(self) -> Optional[str]:
|
417
|
-
"""
|
418
|
-
(Output)
|
419
|
-
Output only. The URI of the consumer side forwarding rule.
|
420
|
-
Format:
|
421
|
-
projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
|
422
|
-
"""
|
423
|
-
return pulumi.get(self, "forwarding_rule")
|
424
|
-
|
425
|
-
@property
|
426
|
-
@pulumi.getter(name="ipAddress")
|
427
|
-
def ip_address(self) -> Optional[str]:
|
428
|
-
"""
|
429
|
-
(Output)
|
430
|
-
Output only. The IP allocated on the consumer network for the PSC forwarding rule.
|
431
|
-
"""
|
432
|
-
return pulumi.get(self, "ip_address")
|
433
|
-
|
434
|
-
@property
|
435
|
-
@pulumi.getter
|
436
|
-
def network(self) -> Optional[str]:
|
437
|
-
"""
|
438
|
-
(Output)
|
439
|
-
Output only. The consumer network where the IP address resides, in the form of
|
440
|
-
projects/{project_id}/global/networks/{network_id}.
|
441
|
-
"""
|
442
|
-
return pulumi.get(self, "network")
|
443
|
-
|
444
|
-
@property
|
445
|
-
@pulumi.getter(name="projectId")
|
446
|
-
def project_id(self) -> Optional[str]:
|
447
|
-
"""
|
448
|
-
(Output)
|
449
|
-
Output only. The consumer project_id where the forwarding rule is created from.
|
450
|
-
"""
|
451
|
-
return pulumi.get(self, "project_id")
|
452
|
-
|
453
|
-
@property
|
454
|
-
@pulumi.getter(name="pscConnectionId")
|
455
|
-
def psc_connection_id(self) -> Optional[str]:
|
456
|
-
"""
|
457
|
-
(Output)
|
458
|
-
Output only. The PSC connection id of the forwarding rule connected to the
|
459
|
-
service attachment.
|
460
|
-
"""
|
461
|
-
return pulumi.get(self, "psc_connection_id")
|
462
|
-
|
463
|
-
|
464
|
-
@pulumi.output_type
|
465
|
-
class InstanceStateInfo(dict):
|
466
|
-
@staticmethod
|
467
|
-
def __key_warning(key: str):
|
468
|
-
suggest = None
|
469
|
-
if key == "updateInfos":
|
470
|
-
suggest = "update_infos"
|
471
|
-
|
472
|
-
if suggest:
|
473
|
-
pulumi.log.warn(f"Key '{key}' not found in InstanceStateInfo. Access the value via the '{suggest}' property getter instead.")
|
474
|
-
|
475
|
-
def __getitem__(self, key: str) -> Any:
|
476
|
-
InstanceStateInfo.__key_warning(key)
|
477
|
-
return super().__getitem__(key)
|
478
|
-
|
479
|
-
def get(self, key: str, default = None) -> Any:
|
480
|
-
InstanceStateInfo.__key_warning(key)
|
481
|
-
return super().get(key, default)
|
482
|
-
|
483
|
-
def __init__(__self__, *,
|
484
|
-
update_infos: Optional[Sequence['outputs.InstanceStateInfoUpdateInfo']] = None):
|
485
|
-
"""
|
486
|
-
:param Sequence['InstanceStateInfoUpdateInfoArgs'] update_infos: (Output)
|
487
|
-
Represents information about instance with state UPDATING.
|
488
|
-
Structure is documented below.
|
489
|
-
"""
|
490
|
-
if update_infos is not None:
|
491
|
-
pulumi.set(__self__, "update_infos", update_infos)
|
492
|
-
|
493
|
-
@property
|
494
|
-
@pulumi.getter(name="updateInfos")
|
495
|
-
def update_infos(self) -> Optional[Sequence['outputs.InstanceStateInfoUpdateInfo']]:
|
496
|
-
"""
|
497
|
-
(Output)
|
498
|
-
Represents information about instance with state UPDATING.
|
499
|
-
Structure is documented below.
|
500
|
-
"""
|
501
|
-
return pulumi.get(self, "update_infos")
|
502
|
-
|
503
|
-
|
504
|
-
@pulumi.output_type
|
505
|
-
class InstanceStateInfoUpdateInfo(dict):
|
506
|
-
@staticmethod
|
507
|
-
def __key_warning(key: str):
|
508
|
-
suggest = None
|
509
|
-
if key == "targetReplicaCount":
|
510
|
-
suggest = "target_replica_count"
|
511
|
-
elif key == "targetShardCount":
|
512
|
-
suggest = "target_shard_count"
|
513
|
-
|
514
|
-
if suggest:
|
515
|
-
pulumi.log.warn(f"Key '{key}' not found in InstanceStateInfoUpdateInfo. Access the value via the '{suggest}' property getter instead.")
|
516
|
-
|
517
|
-
def __getitem__(self, key: str) -> Any:
|
518
|
-
InstanceStateInfoUpdateInfo.__key_warning(key)
|
519
|
-
return super().__getitem__(key)
|
520
|
-
|
521
|
-
def get(self, key: str, default = None) -> Any:
|
522
|
-
InstanceStateInfoUpdateInfo.__key_warning(key)
|
523
|
-
return super().get(key, default)
|
524
|
-
|
525
|
-
def __init__(__self__, *,
|
526
|
-
target_replica_count: Optional[int] = None,
|
527
|
-
target_shard_count: Optional[int] = None):
|
528
|
-
"""
|
529
|
-
:param int target_replica_count: (Output)
|
530
|
-
Output only. Target number of replica nodes per shard for the instance.
|
531
|
-
:param int target_shard_count: (Output)
|
532
|
-
Output only. Target number of shards for the instance.
|
533
|
-
"""
|
534
|
-
if target_replica_count is not None:
|
535
|
-
pulumi.set(__self__, "target_replica_count", target_replica_count)
|
536
|
-
if target_shard_count is not None:
|
537
|
-
pulumi.set(__self__, "target_shard_count", target_shard_count)
|
538
|
-
|
539
|
-
@property
|
540
|
-
@pulumi.getter(name="targetReplicaCount")
|
541
|
-
def target_replica_count(self) -> Optional[int]:
|
542
|
-
"""
|
543
|
-
(Output)
|
544
|
-
Output only. Target number of replica nodes per shard for the instance.
|
545
|
-
"""
|
546
|
-
return pulumi.get(self, "target_replica_count")
|
547
|
-
|
548
|
-
@property
|
549
|
-
@pulumi.getter(name="targetShardCount")
|
550
|
-
def target_shard_count(self) -> Optional[int]:
|
551
|
-
"""
|
552
|
-
(Output)
|
553
|
-
Output only. Target number of shards for the instance.
|
554
|
-
"""
|
555
|
-
return pulumi.get(self, "target_shard_count")
|
556
|
-
|
557
|
-
|
558
|
-
@pulumi.output_type
|
559
|
-
class InstanceZoneDistributionConfig(dict):
|
560
|
-
def __init__(__self__, *,
|
561
|
-
mode: Optional[str] = None,
|
562
|
-
zone: Optional[str] = None):
|
563
|
-
"""
|
564
|
-
:param str mode: Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
|
565
|
-
Possible values:
|
566
|
-
MULTI_ZONE
|
567
|
-
SINGLE_ZONE
|
568
|
-
Possible values are: `MULTI_ZONE`, `SINGLE_ZONE`.
|
569
|
-
:param str zone: Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode.
|
570
|
-
Ignored for MULTI_ZONE mode.
|
571
|
-
"""
|
572
|
-
if mode is not None:
|
573
|
-
pulumi.set(__self__, "mode", mode)
|
574
|
-
if zone is not None:
|
575
|
-
pulumi.set(__self__, "zone", zone)
|
576
|
-
|
577
|
-
@property
|
578
|
-
@pulumi.getter
|
579
|
-
def mode(self) -> Optional[str]:
|
580
|
-
"""
|
581
|
-
Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
|
582
|
-
Possible values:
|
583
|
-
MULTI_ZONE
|
584
|
-
SINGLE_ZONE
|
585
|
-
Possible values are: `MULTI_ZONE`, `SINGLE_ZONE`.
|
586
|
-
"""
|
587
|
-
return pulumi.get(self, "mode")
|
588
|
-
|
589
|
-
@property
|
590
|
-
@pulumi.getter
|
591
|
-
def zone(self) -> Optional[str]:
|
592
|
-
"""
|
593
|
-
Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode.
|
594
|
-
Ignored for MULTI_ZONE mode.
|
595
|
-
"""
|
596
|
-
return pulumi.get(self, "zone")
|
597
|
-
|
598
|
-
|
File without changes
|
File without changes
|