pulumi-gcp 8.1.0a1726293903__py3-none-any.whl → 8.2.0__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 +62 -0
- pulumi_gcp/alloydb/_inputs.py +94 -0
- pulumi_gcp/alloydb/cluster.py +94 -1
- pulumi_gcp/alloydb/outputs.py +79 -0
- pulumi_gcp/assuredworkloads/workload.py +135 -16
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +1203 -0
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/_inputs.py +33 -0
- pulumi_gcp/bigquery/data_transfer_config.py +134 -6
- pulumi_gcp/bigquery/get_tables.py +143 -0
- pulumi_gcp/bigquery/outputs.py +66 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +169 -7
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +96 -3
- pulumi_gcp/bigqueryanalyticshub/listing.py +114 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +138 -5
- pulumi_gcp/bigtable/_inputs.py +21 -1
- pulumi_gcp/bigtable/outputs.py +13 -1
- pulumi_gcp/bigtable/table.py +34 -0
- pulumi_gcp/certificateauthority/authority.py +14 -7
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate.py +28 -0
- pulumi_gcp/certificatemanager/get_certificates.py +150 -0
- pulumi_gcp/certificatemanager/outputs.py +322 -0
- pulumi_gcp/cloudbuild/_inputs.py +6 -6
- pulumi_gcp/cloudbuild/outputs.py +4 -4
- pulumi_gcp/cloudrun/_inputs.py +6 -12
- pulumi_gcp/cloudrun/outputs.py +8 -16
- pulumi_gcp/cloudrunv2/_inputs.py +72 -15
- pulumi_gcp/cloudrunv2/outputs.py +82 -16
- pulumi_gcp/cloudrunv2/service.py +50 -4
- pulumi_gcp/cloudtasks/_inputs.py +630 -0
- pulumi_gcp/cloudtasks/outputs.py +479 -0
- pulumi_gcp/cloudtasks/queue.py +238 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2300 -257
- pulumi_gcp/compute/get_instance.py +4 -1
- pulumi_gcp/compute/health_check.py +114 -0
- pulumi_gcp/compute/instance.py +86 -4
- pulumi_gcp/compute/instance_template.py +66 -0
- pulumi_gcp/compute/interconnect.py +28 -21
- pulumi_gcp/compute/network_firewall_policy_with_rules.py +826 -0
- pulumi_gcp/compute/node_template.py +93 -0
- pulumi_gcp/compute/outputs.py +1491 -6
- pulumi_gcp/compute/region_target_http_proxy.py +159 -0
- pulumi_gcp/compute/region_target_https_proxy.py +175 -0
- pulumi_gcp/compute/service_attachment.py +75 -0
- pulumi_gcp/compute/target_http_proxy.py +49 -28
- pulumi_gcp/compute/target_https_proxy.py +77 -28
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/_inputs.py +236 -3
- pulumi_gcp/container/attached_cluster.py +61 -8
- pulumi_gcp/container/outputs.py +276 -2
- pulumi_gcp/databasemigrationservice/_inputs.py +176 -148
- pulumi_gcp/databasemigrationservice/connection_profile.py +206 -0
- pulumi_gcp/databasemigrationservice/outputs.py +109 -87
- pulumi_gcp/dataloss/_inputs.py +353 -1
- pulumi_gcp/dataloss/outputs.py +274 -3
- pulumi_gcp/dataproc/_inputs.py +27 -27
- pulumi_gcp/dataproc/metastore_federation.py +8 -8
- pulumi_gcp/dataproc/metastore_service.py +2 -0
- pulumi_gcp/dataproc/outputs.py +18 -18
- pulumi_gcp/datastream/_inputs.py +69 -1
- pulumi_gcp/datastream/outputs.py +44 -2
- pulumi_gcp/datastream/stream.py +201 -7
- pulumi_gcp/developerconnect/__init__.py +11 -0
- pulumi_gcp/developerconnect/_inputs.py +301 -0
- pulumi_gcp/developerconnect/connection.py +1034 -0
- pulumi_gcp/developerconnect/git_repository_link.py +873 -0
- pulumi_gcp/developerconnect/outputs.py +247 -0
- pulumi_gcp/discoveryengine/_inputs.py +188 -0
- pulumi_gcp/discoveryengine/data_store.py +14 -14
- pulumi_gcp/discoveryengine/outputs.py +153 -1
- pulumi_gcp/firebase/database_instance.py +7 -7
- pulumi_gcp/gkehub/_inputs.py +25 -1
- pulumi_gcp/gkehub/feature_membership.py +12 -6
- pulumi_gcp/gkehub/outputs.py +17 -1
- pulumi_gcp/gkeonprem/_inputs.py +3 -3
- pulumi_gcp/gkeonprem/outputs.py +2 -2
- pulumi_gcp/iam/_inputs.py +196 -0
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +13 -3
- pulumi_gcp/iam/outputs.py +295 -0
- pulumi_gcp/iam/workload_identity_pool_provider.py +164 -3
- pulumi_gcp/kms/__init__.py +2 -0
- pulumi_gcp/kms/autokey_config.py +10 -2
- pulumi_gcp/kms/get_crypto_key_latest_version.py +222 -0
- pulumi_gcp/kms/get_crypto_key_versions.py +175 -0
- pulumi_gcp/kms/outputs.py +164 -0
- pulumi_gcp/memorystore/__init__.py +10 -0
- pulumi_gcp/memorystore/_inputs.py +731 -0
- pulumi_gcp/memorystore/instance.py +1663 -0
- pulumi_gcp/memorystore/outputs.py +598 -0
- pulumi_gcp/netapp/active_directory.py +6 -6
- pulumi_gcp/netapp/backup.py +6 -6
- pulumi_gcp/netapp/backup_policy.py +6 -6
- pulumi_gcp/netapp/backup_vault.py +6 -6
- pulumi_gcp/netapp/storage_pool.py +4 -4
- pulumi_gcp/netapp/volume.py +108 -0
- pulumi_gcp/networkconnectivity/_inputs.py +21 -1
- pulumi_gcp/networkconnectivity/outputs.py +15 -1
- pulumi_gcp/networkconnectivity/spoke.py +8 -0
- pulumi_gcp/networksecurity/client_tls_policy.py +24 -22
- pulumi_gcp/networksecurity/server_tls_policy.py +20 -32
- pulumi_gcp/organizations/folder.py +52 -33
- pulumi_gcp/organizations/get_project.py +13 -3
- pulumi_gcp/organizations/project.py +88 -3
- pulumi_gcp/parallelstore/instance.py +121 -121
- pulumi_gcp/projects/iam_member_remove.py +26 -0
- pulumi_gcp/projects/usage_export_bucket.py +38 -0
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +51 -1
- pulumi_gcp/pubsub/subscription.py +6 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +419 -0
- pulumi_gcp/redis/cluster.py +123 -0
- pulumi_gcp/redis/outputs.py +315 -0
- pulumi_gcp/securitycenter/__init__.py +2 -0
- pulumi_gcp/securitycenter/v2_folder_scc_big_query_export.py +857 -0
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +4 -4
- pulumi_gcp/securitycenter/v2_project_mute_config.py +2 -2
- pulumi_gcp/securitycenter/v2_project_scc_big_query_export.py +796 -0
- pulumi_gcp/vpcaccess/connector.py +21 -28
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/RECORD +128 -111
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.1.0a1726293903.dist-info → pulumi_gcp-8.2.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,598 @@
|
|
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
|
+
|
@@ -850,7 +850,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
850
850
|
"""
|
851
851
|
ActiveDirectory is the public representation of the active directory config.
|
852
852
|
|
853
|
-
To get more information about
|
853
|
+
To get more information about ActiveDirectory, see:
|
854
854
|
|
855
855
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.activeDirectories)
|
856
856
|
* How-to Guides
|
@@ -900,7 +900,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
900
900
|
|
901
901
|
## Import
|
902
902
|
|
903
|
-
|
903
|
+
ActiveDirectory can be imported using any of these accepted formats:
|
904
904
|
|
905
905
|
* `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`
|
906
906
|
|
@@ -908,7 +908,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
908
908
|
|
909
909
|
* `{{location}}/{{name}}`
|
910
910
|
|
911
|
-
When using the `pulumi import` command,
|
911
|
+
When using the `pulumi import` command, ActiveDirectory can be imported using one of the formats above. For example:
|
912
912
|
|
913
913
|
```sh
|
914
914
|
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory default projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}
|
@@ -966,7 +966,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
966
966
|
"""
|
967
967
|
ActiveDirectory is the public representation of the active directory config.
|
968
968
|
|
969
|
-
To get more information about
|
969
|
+
To get more information about ActiveDirectory, see:
|
970
970
|
|
971
971
|
* [API documentation](https://cloud.google.com/netapp/volumes/docs/reference/rest/v1/projects.locations.activeDirectories)
|
972
972
|
* How-to Guides
|
@@ -1016,7 +1016,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
1016
1016
|
|
1017
1017
|
## Import
|
1018
1018
|
|
1019
|
-
|
1019
|
+
ActiveDirectory can be imported using any of these accepted formats:
|
1020
1020
|
|
1021
1021
|
* `projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}`
|
1022
1022
|
|
@@ -1024,7 +1024,7 @@ class ActiveDirectory(pulumi.CustomResource):
|
|
1024
1024
|
|
1025
1025
|
* `{{location}}/{{name}}`
|
1026
1026
|
|
1027
|
-
When using the `pulumi import` command,
|
1027
|
+
When using the `pulumi import` command, ActiveDirectory can be imported using one of the formats above. For example:
|
1028
1028
|
|
1029
1029
|
```sh
|
1030
1030
|
$ pulumi import gcp:netapp/activeDirectory:ActiveDirectory default projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}
|