pulumi-gcp 8.14.0a1736853524__py3-none-any.whl → 8.15.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 +110 -0
- pulumi_gcp/accesscontextmanager/access_level_condition.py +28 -0
- pulumi_gcp/accesscontextmanager/egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +56 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/environment_addons_config.py +266 -0
- pulumi_gcp/applicationintegration/_inputs.py +3 -3
- pulumi_gcp/applicationintegration/outputs.py +2 -2
- pulumi_gcp/artifactregistry/repository.py +32 -2
- pulumi_gcp/beyondcorp/__init__.py +1 -0
- pulumi_gcp/beyondcorp/_inputs.py +93 -0
- pulumi_gcp/beyondcorp/outputs.py +89 -0
- pulumi_gcp/beyondcorp/security_gateway.py +670 -0
- pulumi_gcp/bigquery/connection.py +2 -2
- pulumi_gcp/bigquery/routine.py +2 -2
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/blockchainnodeengine/_inputs.py +3 -3
- pulumi_gcp/blockchainnodeengine/outputs.py +2 -2
- pulumi_gcp/certificateauthority/_inputs.py +6 -6
- pulumi_gcp/certificateauthority/outputs.py +4 -4
- pulumi_gcp/certificatemanager/_inputs.py +3 -3
- pulumi_gcp/certificatemanager/outputs.py +2 -2
- pulumi_gcp/chronicle/__init__.py +5 -0
- pulumi_gcp/chronicle/_inputs.py +767 -0
- pulumi_gcp/chronicle/data_access_label.py +690 -0
- pulumi_gcp/chronicle/data_access_scope.py +1094 -0
- pulumi_gcp/chronicle/outputs.py +624 -0
- pulumi_gcp/chronicle/reference_list.py +788 -0
- pulumi_gcp/chronicle/rule.py +1308 -0
- pulumi_gcp/chronicle/rule_deployment.py +849 -0
- pulumi_gcp/chronicle/watchlist.py +68 -45
- pulumi_gcp/cloudbuild/_inputs.py +3 -3
- pulumi_gcp/cloudbuild/outputs.py +2 -2
- pulumi_gcp/cloudquota/__init__.py +1 -0
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +336 -0
- pulumi_gcp/colab/__init__.py +10 -0
- pulumi_gcp/colab/_inputs.py +359 -0
- pulumi_gcp/colab/outputs.py +344 -0
- pulumi_gcp/colab/runtime_template.py +1160 -0
- pulumi_gcp/compute/_inputs.py +42 -42
- pulumi_gcp/compute/instance_group_manager.py +9 -9
- pulumi_gcp/compute/interconnect_attachment.py +7 -7
- pulumi_gcp/compute/outputs.py +28 -28
- pulumi_gcp/compute/region_instance_group_manager.py +9 -9
- pulumi_gcp/compute/route.py +8 -16
- pulumi_gcp/compute/subnetwork.py +7 -7
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/compute/url_map.py +4 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/datacatalog/_inputs.py +3 -3
- pulumi_gcp/datacatalog/outputs.py +2 -2
- pulumi_gcp/dataplex/entry_type.py +2 -2
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/batch.py +10 -10
- pulumi_gcp/developerconnect/_inputs.py +910 -42
- pulumi_gcp/developerconnect/connection.py +614 -86
- pulumi_gcp/developerconnect/git_repository_link.py +4 -0
- pulumi_gcp/developerconnect/outputs.py +717 -28
- pulumi_gcp/discoveryengine/_inputs.py +54 -0
- pulumi_gcp/discoveryengine/data_store.py +94 -0
- pulumi_gcp/discoveryengine/outputs.py +51 -0
- pulumi_gcp/dns/_inputs.py +124 -20
- pulumi_gcp/dns/outputs.py +90 -16
- pulumi_gcp/dns/record_set.py +82 -0
- pulumi_gcp/edgecontainer/_inputs.py +3 -3
- pulumi_gcp/edgecontainer/outputs.py +2 -2
- pulumi_gcp/edgenetwork/__init__.py +1 -0
- pulumi_gcp/edgenetwork/interconnect_attachment.py +941 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/code_repository_index.py +47 -0
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/gkeonprem/_inputs.py +15 -15
- pulumi_gcp/gkeonprem/outputs.py +10 -10
- pulumi_gcp/gkeonprem/v_mware_cluster.py +1 -1
- pulumi_gcp/iap/_inputs.py +9 -3
- pulumi_gcp/iap/outputs.py +6 -2
- pulumi_gcp/iap/settings.py +63 -63
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/identityplatform/_inputs.py +9 -9
- pulumi_gcp/identityplatform/outputs.py +6 -6
- pulumi_gcp/integrationconnectors/_inputs.py +6 -6
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/integrationconnectors/outputs.py +4 -4
- pulumi_gcp/monitoring/_inputs.py +3 -3
- pulumi_gcp/monitoring/outputs.py +2 -2
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/authz_policy.py +0 -202
- pulumi_gcp/oracledatabase/_inputs.py +3 -3
- pulumi_gcp/oracledatabase/outputs.py +2 -2
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +13 -0
- pulumi_gcp/parametermanager/_inputs.py +174 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +230 -0
- pulumi_gcp/parametermanager/outputs.py +191 -0
- pulumi_gcp/parametermanager/parameter.py +706 -0
- pulumi_gcp/parametermanager/regional_parameter.py +762 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +558 -0
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +74 -0
- pulumi_gcp/sql/database_instance.py +80 -18
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +158 -0
- pulumi_gcp/sql/source_representation_instance.py +7 -14
- pulumi_gcp/transcoder/_inputs.py +6 -6
- pulumi_gcp/transcoder/outputs.py +4 -4
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/RECORD +124 -104
- {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.14.0a1736853524.dist-info → pulumi_gcp-8.15.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,359 @@
|
|
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
|
+
|
17
|
+
__all__ = [
|
18
|
+
'RuntimeTemplateDataPersistentDiskSpecArgs',
|
19
|
+
'RuntimeTemplateDataPersistentDiskSpecArgsDict',
|
20
|
+
'RuntimeTemplateEncryptionSpecArgs',
|
21
|
+
'RuntimeTemplateEncryptionSpecArgsDict',
|
22
|
+
'RuntimeTemplateEucConfigArgs',
|
23
|
+
'RuntimeTemplateEucConfigArgsDict',
|
24
|
+
'RuntimeTemplateIdleShutdownConfigArgs',
|
25
|
+
'RuntimeTemplateIdleShutdownConfigArgsDict',
|
26
|
+
'RuntimeTemplateMachineSpecArgs',
|
27
|
+
'RuntimeTemplateMachineSpecArgsDict',
|
28
|
+
'RuntimeTemplateNetworkSpecArgs',
|
29
|
+
'RuntimeTemplateNetworkSpecArgsDict',
|
30
|
+
'RuntimeTemplateShieldedVmConfigArgs',
|
31
|
+
'RuntimeTemplateShieldedVmConfigArgsDict',
|
32
|
+
]
|
33
|
+
|
34
|
+
MYPY = False
|
35
|
+
|
36
|
+
if not MYPY:
|
37
|
+
class RuntimeTemplateDataPersistentDiskSpecArgsDict(TypedDict):
|
38
|
+
disk_size_gb: NotRequired[pulumi.Input[str]]
|
39
|
+
"""
|
40
|
+
The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
|
41
|
+
"""
|
42
|
+
disk_type: NotRequired[pulumi.Input[str]]
|
43
|
+
"""
|
44
|
+
The type of the persistent disk.
|
45
|
+
"""
|
46
|
+
elif False:
|
47
|
+
RuntimeTemplateDataPersistentDiskSpecArgsDict: TypeAlias = Mapping[str, Any]
|
48
|
+
|
49
|
+
@pulumi.input_type
|
50
|
+
class RuntimeTemplateDataPersistentDiskSpecArgs:
|
51
|
+
def __init__(__self__, *,
|
52
|
+
disk_size_gb: Optional[pulumi.Input[str]] = None,
|
53
|
+
disk_type: Optional[pulumi.Input[str]] = None):
|
54
|
+
"""
|
55
|
+
:param pulumi.Input[str] disk_size_gb: The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
|
56
|
+
:param pulumi.Input[str] disk_type: The type of the persistent disk.
|
57
|
+
"""
|
58
|
+
if disk_size_gb is not None:
|
59
|
+
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
60
|
+
if disk_type is not None:
|
61
|
+
pulumi.set(__self__, "disk_type", disk_type)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="diskSizeGb")
|
65
|
+
def disk_size_gb(self) -> Optional[pulumi.Input[str]]:
|
66
|
+
"""
|
67
|
+
The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "disk_size_gb")
|
70
|
+
|
71
|
+
@disk_size_gb.setter
|
72
|
+
def disk_size_gb(self, value: Optional[pulumi.Input[str]]):
|
73
|
+
pulumi.set(self, "disk_size_gb", value)
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="diskType")
|
77
|
+
def disk_type(self) -> Optional[pulumi.Input[str]]:
|
78
|
+
"""
|
79
|
+
The type of the persistent disk.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "disk_type")
|
82
|
+
|
83
|
+
@disk_type.setter
|
84
|
+
def disk_type(self, value: Optional[pulumi.Input[str]]):
|
85
|
+
pulumi.set(self, "disk_type", value)
|
86
|
+
|
87
|
+
|
88
|
+
if not MYPY:
|
89
|
+
class RuntimeTemplateEncryptionSpecArgsDict(TypedDict):
|
90
|
+
kms_key_name: NotRequired[pulumi.Input[str]]
|
91
|
+
"""
|
92
|
+
The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
|
93
|
+
"""
|
94
|
+
elif False:
|
95
|
+
RuntimeTemplateEncryptionSpecArgsDict: TypeAlias = Mapping[str, Any]
|
96
|
+
|
97
|
+
@pulumi.input_type
|
98
|
+
class RuntimeTemplateEncryptionSpecArgs:
|
99
|
+
def __init__(__self__, *,
|
100
|
+
kms_key_name: Optional[pulumi.Input[str]] = None):
|
101
|
+
"""
|
102
|
+
:param pulumi.Input[str] kms_key_name: The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
|
103
|
+
"""
|
104
|
+
if kms_key_name is not None:
|
105
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="kmsKeyName")
|
109
|
+
def kms_key_name(self) -> Optional[pulumi.Input[str]]:
|
110
|
+
"""
|
111
|
+
The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "kms_key_name")
|
114
|
+
|
115
|
+
@kms_key_name.setter
|
116
|
+
def kms_key_name(self, value: Optional[pulumi.Input[str]]):
|
117
|
+
pulumi.set(self, "kms_key_name", value)
|
118
|
+
|
119
|
+
|
120
|
+
if not MYPY:
|
121
|
+
class RuntimeTemplateEucConfigArgsDict(TypedDict):
|
122
|
+
euc_disabled: NotRequired[pulumi.Input[bool]]
|
123
|
+
"""
|
124
|
+
Disable end user credential access for the runtime.
|
125
|
+
"""
|
126
|
+
elif False:
|
127
|
+
RuntimeTemplateEucConfigArgsDict: TypeAlias = Mapping[str, Any]
|
128
|
+
|
129
|
+
@pulumi.input_type
|
130
|
+
class RuntimeTemplateEucConfigArgs:
|
131
|
+
def __init__(__self__, *,
|
132
|
+
euc_disabled: Optional[pulumi.Input[bool]] = None):
|
133
|
+
"""
|
134
|
+
:param pulumi.Input[bool] euc_disabled: Disable end user credential access for the runtime.
|
135
|
+
"""
|
136
|
+
if euc_disabled is not None:
|
137
|
+
pulumi.set(__self__, "euc_disabled", euc_disabled)
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="eucDisabled")
|
141
|
+
def euc_disabled(self) -> Optional[pulumi.Input[bool]]:
|
142
|
+
"""
|
143
|
+
Disable end user credential access for the runtime.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "euc_disabled")
|
146
|
+
|
147
|
+
@euc_disabled.setter
|
148
|
+
def euc_disabled(self, value: Optional[pulumi.Input[bool]]):
|
149
|
+
pulumi.set(self, "euc_disabled", value)
|
150
|
+
|
151
|
+
|
152
|
+
if not MYPY:
|
153
|
+
class RuntimeTemplateIdleShutdownConfigArgsDict(TypedDict):
|
154
|
+
idle_timeout: NotRequired[pulumi.Input[str]]
|
155
|
+
"""
|
156
|
+
The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
|
157
|
+
"""
|
158
|
+
elif False:
|
159
|
+
RuntimeTemplateIdleShutdownConfigArgsDict: TypeAlias = Mapping[str, Any]
|
160
|
+
|
161
|
+
@pulumi.input_type
|
162
|
+
class RuntimeTemplateIdleShutdownConfigArgs:
|
163
|
+
def __init__(__self__, *,
|
164
|
+
idle_timeout: Optional[pulumi.Input[str]] = None):
|
165
|
+
"""
|
166
|
+
:param pulumi.Input[str] idle_timeout: The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
|
167
|
+
"""
|
168
|
+
if idle_timeout is not None:
|
169
|
+
pulumi.set(__self__, "idle_timeout", idle_timeout)
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="idleTimeout")
|
173
|
+
def idle_timeout(self) -> Optional[pulumi.Input[str]]:
|
174
|
+
"""
|
175
|
+
The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "idle_timeout")
|
178
|
+
|
179
|
+
@idle_timeout.setter
|
180
|
+
def idle_timeout(self, value: Optional[pulumi.Input[str]]):
|
181
|
+
pulumi.set(self, "idle_timeout", value)
|
182
|
+
|
183
|
+
|
184
|
+
if not MYPY:
|
185
|
+
class RuntimeTemplateMachineSpecArgsDict(TypedDict):
|
186
|
+
accelerator_count: NotRequired[pulumi.Input[int]]
|
187
|
+
"""
|
188
|
+
The number of accelerators used by the runtime.
|
189
|
+
"""
|
190
|
+
accelerator_type: NotRequired[pulumi.Input[str]]
|
191
|
+
"""
|
192
|
+
The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
|
193
|
+
"""
|
194
|
+
machine_type: NotRequired[pulumi.Input[str]]
|
195
|
+
"""
|
196
|
+
The Compute Engine machine type selected for the runtime.
|
197
|
+
"""
|
198
|
+
elif False:
|
199
|
+
RuntimeTemplateMachineSpecArgsDict: TypeAlias = Mapping[str, Any]
|
200
|
+
|
201
|
+
@pulumi.input_type
|
202
|
+
class RuntimeTemplateMachineSpecArgs:
|
203
|
+
def __init__(__self__, *,
|
204
|
+
accelerator_count: Optional[pulumi.Input[int]] = None,
|
205
|
+
accelerator_type: Optional[pulumi.Input[str]] = None,
|
206
|
+
machine_type: Optional[pulumi.Input[str]] = None):
|
207
|
+
"""
|
208
|
+
:param pulumi.Input[int] accelerator_count: The number of accelerators used by the runtime.
|
209
|
+
:param pulumi.Input[str] accelerator_type: The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
|
210
|
+
:param pulumi.Input[str] machine_type: The Compute Engine machine type selected for the runtime.
|
211
|
+
"""
|
212
|
+
if accelerator_count is not None:
|
213
|
+
pulumi.set(__self__, "accelerator_count", accelerator_count)
|
214
|
+
if accelerator_type is not None:
|
215
|
+
pulumi.set(__self__, "accelerator_type", accelerator_type)
|
216
|
+
if machine_type is not None:
|
217
|
+
pulumi.set(__self__, "machine_type", machine_type)
|
218
|
+
|
219
|
+
@property
|
220
|
+
@pulumi.getter(name="acceleratorCount")
|
221
|
+
def accelerator_count(self) -> Optional[pulumi.Input[int]]:
|
222
|
+
"""
|
223
|
+
The number of accelerators used by the runtime.
|
224
|
+
"""
|
225
|
+
return pulumi.get(self, "accelerator_count")
|
226
|
+
|
227
|
+
@accelerator_count.setter
|
228
|
+
def accelerator_count(self, value: Optional[pulumi.Input[int]]):
|
229
|
+
pulumi.set(self, "accelerator_count", value)
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter(name="acceleratorType")
|
233
|
+
def accelerator_type(self) -> Optional[pulumi.Input[str]]:
|
234
|
+
"""
|
235
|
+
The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
|
236
|
+
"""
|
237
|
+
return pulumi.get(self, "accelerator_type")
|
238
|
+
|
239
|
+
@accelerator_type.setter
|
240
|
+
def accelerator_type(self, value: Optional[pulumi.Input[str]]):
|
241
|
+
pulumi.set(self, "accelerator_type", value)
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter(name="machineType")
|
245
|
+
def machine_type(self) -> Optional[pulumi.Input[str]]:
|
246
|
+
"""
|
247
|
+
The Compute Engine machine type selected for the runtime.
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "machine_type")
|
250
|
+
|
251
|
+
@machine_type.setter
|
252
|
+
def machine_type(self, value: Optional[pulumi.Input[str]]):
|
253
|
+
pulumi.set(self, "machine_type", value)
|
254
|
+
|
255
|
+
|
256
|
+
if not MYPY:
|
257
|
+
class RuntimeTemplateNetworkSpecArgsDict(TypedDict):
|
258
|
+
enable_internet_access: NotRequired[pulumi.Input[bool]]
|
259
|
+
"""
|
260
|
+
Enable public internet access for the runtime.
|
261
|
+
"""
|
262
|
+
network: NotRequired[pulumi.Input[str]]
|
263
|
+
"""
|
264
|
+
The name of the VPC that this runtime is in.
|
265
|
+
"""
|
266
|
+
subnetwork: NotRequired[pulumi.Input[str]]
|
267
|
+
"""
|
268
|
+
The name of the subnetwork that this runtime is in.
|
269
|
+
"""
|
270
|
+
elif False:
|
271
|
+
RuntimeTemplateNetworkSpecArgsDict: TypeAlias = Mapping[str, Any]
|
272
|
+
|
273
|
+
@pulumi.input_type
|
274
|
+
class RuntimeTemplateNetworkSpecArgs:
|
275
|
+
def __init__(__self__, *,
|
276
|
+
enable_internet_access: Optional[pulumi.Input[bool]] = None,
|
277
|
+
network: Optional[pulumi.Input[str]] = None,
|
278
|
+
subnetwork: Optional[pulumi.Input[str]] = None):
|
279
|
+
"""
|
280
|
+
:param pulumi.Input[bool] enable_internet_access: Enable public internet access for the runtime.
|
281
|
+
:param pulumi.Input[str] network: The name of the VPC that this runtime is in.
|
282
|
+
:param pulumi.Input[str] subnetwork: The name of the subnetwork that this runtime is in.
|
283
|
+
"""
|
284
|
+
if enable_internet_access is not None:
|
285
|
+
pulumi.set(__self__, "enable_internet_access", enable_internet_access)
|
286
|
+
if network is not None:
|
287
|
+
pulumi.set(__self__, "network", network)
|
288
|
+
if subnetwork is not None:
|
289
|
+
pulumi.set(__self__, "subnetwork", subnetwork)
|
290
|
+
|
291
|
+
@property
|
292
|
+
@pulumi.getter(name="enableInternetAccess")
|
293
|
+
def enable_internet_access(self) -> Optional[pulumi.Input[bool]]:
|
294
|
+
"""
|
295
|
+
Enable public internet access for the runtime.
|
296
|
+
"""
|
297
|
+
return pulumi.get(self, "enable_internet_access")
|
298
|
+
|
299
|
+
@enable_internet_access.setter
|
300
|
+
def enable_internet_access(self, value: Optional[pulumi.Input[bool]]):
|
301
|
+
pulumi.set(self, "enable_internet_access", value)
|
302
|
+
|
303
|
+
@property
|
304
|
+
@pulumi.getter
|
305
|
+
def network(self) -> Optional[pulumi.Input[str]]:
|
306
|
+
"""
|
307
|
+
The name of the VPC that this runtime is in.
|
308
|
+
"""
|
309
|
+
return pulumi.get(self, "network")
|
310
|
+
|
311
|
+
@network.setter
|
312
|
+
def network(self, value: Optional[pulumi.Input[str]]):
|
313
|
+
pulumi.set(self, "network", value)
|
314
|
+
|
315
|
+
@property
|
316
|
+
@pulumi.getter
|
317
|
+
def subnetwork(self) -> Optional[pulumi.Input[str]]:
|
318
|
+
"""
|
319
|
+
The name of the subnetwork that this runtime is in.
|
320
|
+
"""
|
321
|
+
return pulumi.get(self, "subnetwork")
|
322
|
+
|
323
|
+
@subnetwork.setter
|
324
|
+
def subnetwork(self, value: Optional[pulumi.Input[str]]):
|
325
|
+
pulumi.set(self, "subnetwork", value)
|
326
|
+
|
327
|
+
|
328
|
+
if not MYPY:
|
329
|
+
class RuntimeTemplateShieldedVmConfigArgsDict(TypedDict):
|
330
|
+
enable_secure_boot: NotRequired[pulumi.Input[bool]]
|
331
|
+
"""
|
332
|
+
Enables secure boot for the runtime.
|
333
|
+
"""
|
334
|
+
elif False:
|
335
|
+
RuntimeTemplateShieldedVmConfigArgsDict: TypeAlias = Mapping[str, Any]
|
336
|
+
|
337
|
+
@pulumi.input_type
|
338
|
+
class RuntimeTemplateShieldedVmConfigArgs:
|
339
|
+
def __init__(__self__, *,
|
340
|
+
enable_secure_boot: Optional[pulumi.Input[bool]] = None):
|
341
|
+
"""
|
342
|
+
:param pulumi.Input[bool] enable_secure_boot: Enables secure boot for the runtime.
|
343
|
+
"""
|
344
|
+
if enable_secure_boot is not None:
|
345
|
+
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
346
|
+
|
347
|
+
@property
|
348
|
+
@pulumi.getter(name="enableSecureBoot")
|
349
|
+
def enable_secure_boot(self) -> Optional[pulumi.Input[bool]]:
|
350
|
+
"""
|
351
|
+
Enables secure boot for the runtime.
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "enable_secure_boot")
|
354
|
+
|
355
|
+
@enable_secure_boot.setter
|
356
|
+
def enable_secure_boot(self, value: Optional[pulumi.Input[bool]]):
|
357
|
+
pulumi.set(self, "enable_secure_boot", value)
|
358
|
+
|
359
|
+
|
@@ -0,0 +1,344 @@
|
|
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
|
+
|
17
|
+
__all__ = [
|
18
|
+
'RuntimeTemplateDataPersistentDiskSpec',
|
19
|
+
'RuntimeTemplateEncryptionSpec',
|
20
|
+
'RuntimeTemplateEucConfig',
|
21
|
+
'RuntimeTemplateIdleShutdownConfig',
|
22
|
+
'RuntimeTemplateMachineSpec',
|
23
|
+
'RuntimeTemplateNetworkSpec',
|
24
|
+
'RuntimeTemplateShieldedVmConfig',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class RuntimeTemplateDataPersistentDiskSpec(dict):
|
29
|
+
@staticmethod
|
30
|
+
def __key_warning(key: str):
|
31
|
+
suggest = None
|
32
|
+
if key == "diskSizeGb":
|
33
|
+
suggest = "disk_size_gb"
|
34
|
+
elif key == "diskType":
|
35
|
+
suggest = "disk_type"
|
36
|
+
|
37
|
+
if suggest:
|
38
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateDataPersistentDiskSpec. Access the value via the '{suggest}' property getter instead.")
|
39
|
+
|
40
|
+
def __getitem__(self, key: str) -> Any:
|
41
|
+
RuntimeTemplateDataPersistentDiskSpec.__key_warning(key)
|
42
|
+
return super().__getitem__(key)
|
43
|
+
|
44
|
+
def get(self, key: str, default = None) -> Any:
|
45
|
+
RuntimeTemplateDataPersistentDiskSpec.__key_warning(key)
|
46
|
+
return super().get(key, default)
|
47
|
+
|
48
|
+
def __init__(__self__, *,
|
49
|
+
disk_size_gb: Optional[str] = None,
|
50
|
+
disk_type: Optional[str] = None):
|
51
|
+
"""
|
52
|
+
:param str disk_size_gb: The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
|
53
|
+
:param str disk_type: The type of the persistent disk.
|
54
|
+
"""
|
55
|
+
if disk_size_gb is not None:
|
56
|
+
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
57
|
+
if disk_type is not None:
|
58
|
+
pulumi.set(__self__, "disk_type", disk_type)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="diskSizeGb")
|
62
|
+
def disk_size_gb(self) -> Optional[str]:
|
63
|
+
"""
|
64
|
+
The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "disk_size_gb")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="diskType")
|
70
|
+
def disk_type(self) -> Optional[str]:
|
71
|
+
"""
|
72
|
+
The type of the persistent disk.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "disk_type")
|
75
|
+
|
76
|
+
|
77
|
+
@pulumi.output_type
|
78
|
+
class RuntimeTemplateEncryptionSpec(dict):
|
79
|
+
@staticmethod
|
80
|
+
def __key_warning(key: str):
|
81
|
+
suggest = None
|
82
|
+
if key == "kmsKeyName":
|
83
|
+
suggest = "kms_key_name"
|
84
|
+
|
85
|
+
if suggest:
|
86
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateEncryptionSpec. Access the value via the '{suggest}' property getter instead.")
|
87
|
+
|
88
|
+
def __getitem__(self, key: str) -> Any:
|
89
|
+
RuntimeTemplateEncryptionSpec.__key_warning(key)
|
90
|
+
return super().__getitem__(key)
|
91
|
+
|
92
|
+
def get(self, key: str, default = None) -> Any:
|
93
|
+
RuntimeTemplateEncryptionSpec.__key_warning(key)
|
94
|
+
return super().get(key, default)
|
95
|
+
|
96
|
+
def __init__(__self__, *,
|
97
|
+
kms_key_name: Optional[str] = None):
|
98
|
+
"""
|
99
|
+
:param str kms_key_name: The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
|
100
|
+
"""
|
101
|
+
if kms_key_name is not None:
|
102
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
103
|
+
|
104
|
+
@property
|
105
|
+
@pulumi.getter(name="kmsKeyName")
|
106
|
+
def kms_key_name(self) -> Optional[str]:
|
107
|
+
"""
|
108
|
+
The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "kms_key_name")
|
111
|
+
|
112
|
+
|
113
|
+
@pulumi.output_type
|
114
|
+
class RuntimeTemplateEucConfig(dict):
|
115
|
+
@staticmethod
|
116
|
+
def __key_warning(key: str):
|
117
|
+
suggest = None
|
118
|
+
if key == "eucDisabled":
|
119
|
+
suggest = "euc_disabled"
|
120
|
+
|
121
|
+
if suggest:
|
122
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateEucConfig. Access the value via the '{suggest}' property getter instead.")
|
123
|
+
|
124
|
+
def __getitem__(self, key: str) -> Any:
|
125
|
+
RuntimeTemplateEucConfig.__key_warning(key)
|
126
|
+
return super().__getitem__(key)
|
127
|
+
|
128
|
+
def get(self, key: str, default = None) -> Any:
|
129
|
+
RuntimeTemplateEucConfig.__key_warning(key)
|
130
|
+
return super().get(key, default)
|
131
|
+
|
132
|
+
def __init__(__self__, *,
|
133
|
+
euc_disabled: Optional[bool] = None):
|
134
|
+
"""
|
135
|
+
:param bool euc_disabled: Disable end user credential access for the runtime.
|
136
|
+
"""
|
137
|
+
if euc_disabled is not None:
|
138
|
+
pulumi.set(__self__, "euc_disabled", euc_disabled)
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="eucDisabled")
|
142
|
+
def euc_disabled(self) -> Optional[bool]:
|
143
|
+
"""
|
144
|
+
Disable end user credential access for the runtime.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "euc_disabled")
|
147
|
+
|
148
|
+
|
149
|
+
@pulumi.output_type
|
150
|
+
class RuntimeTemplateIdleShutdownConfig(dict):
|
151
|
+
@staticmethod
|
152
|
+
def __key_warning(key: str):
|
153
|
+
suggest = None
|
154
|
+
if key == "idleTimeout":
|
155
|
+
suggest = "idle_timeout"
|
156
|
+
|
157
|
+
if suggest:
|
158
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateIdleShutdownConfig. Access the value via the '{suggest}' property getter instead.")
|
159
|
+
|
160
|
+
def __getitem__(self, key: str) -> Any:
|
161
|
+
RuntimeTemplateIdleShutdownConfig.__key_warning(key)
|
162
|
+
return super().__getitem__(key)
|
163
|
+
|
164
|
+
def get(self, key: str, default = None) -> Any:
|
165
|
+
RuntimeTemplateIdleShutdownConfig.__key_warning(key)
|
166
|
+
return super().get(key, default)
|
167
|
+
|
168
|
+
def __init__(__self__, *,
|
169
|
+
idle_timeout: Optional[str] = None):
|
170
|
+
"""
|
171
|
+
:param str idle_timeout: The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
|
172
|
+
"""
|
173
|
+
if idle_timeout is not None:
|
174
|
+
pulumi.set(__self__, "idle_timeout", idle_timeout)
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter(name="idleTimeout")
|
178
|
+
def idle_timeout(self) -> Optional[str]:
|
179
|
+
"""
|
180
|
+
The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "idle_timeout")
|
183
|
+
|
184
|
+
|
185
|
+
@pulumi.output_type
|
186
|
+
class RuntimeTemplateMachineSpec(dict):
|
187
|
+
@staticmethod
|
188
|
+
def __key_warning(key: str):
|
189
|
+
suggest = None
|
190
|
+
if key == "acceleratorCount":
|
191
|
+
suggest = "accelerator_count"
|
192
|
+
elif key == "acceleratorType":
|
193
|
+
suggest = "accelerator_type"
|
194
|
+
elif key == "machineType":
|
195
|
+
suggest = "machine_type"
|
196
|
+
|
197
|
+
if suggest:
|
198
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateMachineSpec. Access the value via the '{suggest}' property getter instead.")
|
199
|
+
|
200
|
+
def __getitem__(self, key: str) -> Any:
|
201
|
+
RuntimeTemplateMachineSpec.__key_warning(key)
|
202
|
+
return super().__getitem__(key)
|
203
|
+
|
204
|
+
def get(self, key: str, default = None) -> Any:
|
205
|
+
RuntimeTemplateMachineSpec.__key_warning(key)
|
206
|
+
return super().get(key, default)
|
207
|
+
|
208
|
+
def __init__(__self__, *,
|
209
|
+
accelerator_count: Optional[int] = None,
|
210
|
+
accelerator_type: Optional[str] = None,
|
211
|
+
machine_type: Optional[str] = None):
|
212
|
+
"""
|
213
|
+
:param int accelerator_count: The number of accelerators used by the runtime.
|
214
|
+
:param str accelerator_type: The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
|
215
|
+
:param str machine_type: The Compute Engine machine type selected for the runtime.
|
216
|
+
"""
|
217
|
+
if accelerator_count is not None:
|
218
|
+
pulumi.set(__self__, "accelerator_count", accelerator_count)
|
219
|
+
if accelerator_type is not None:
|
220
|
+
pulumi.set(__self__, "accelerator_type", accelerator_type)
|
221
|
+
if machine_type is not None:
|
222
|
+
pulumi.set(__self__, "machine_type", machine_type)
|
223
|
+
|
224
|
+
@property
|
225
|
+
@pulumi.getter(name="acceleratorCount")
|
226
|
+
def accelerator_count(self) -> Optional[int]:
|
227
|
+
"""
|
228
|
+
The number of accelerators used by the runtime.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "accelerator_count")
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter(name="acceleratorType")
|
234
|
+
def accelerator_type(self) -> Optional[str]:
|
235
|
+
"""
|
236
|
+
The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "accelerator_type")
|
239
|
+
|
240
|
+
@property
|
241
|
+
@pulumi.getter(name="machineType")
|
242
|
+
def machine_type(self) -> Optional[str]:
|
243
|
+
"""
|
244
|
+
The Compute Engine machine type selected for the runtime.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "machine_type")
|
247
|
+
|
248
|
+
|
249
|
+
@pulumi.output_type
|
250
|
+
class RuntimeTemplateNetworkSpec(dict):
|
251
|
+
@staticmethod
|
252
|
+
def __key_warning(key: str):
|
253
|
+
suggest = None
|
254
|
+
if key == "enableInternetAccess":
|
255
|
+
suggest = "enable_internet_access"
|
256
|
+
|
257
|
+
if suggest:
|
258
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateNetworkSpec. Access the value via the '{suggest}' property getter instead.")
|
259
|
+
|
260
|
+
def __getitem__(self, key: str) -> Any:
|
261
|
+
RuntimeTemplateNetworkSpec.__key_warning(key)
|
262
|
+
return super().__getitem__(key)
|
263
|
+
|
264
|
+
def get(self, key: str, default = None) -> Any:
|
265
|
+
RuntimeTemplateNetworkSpec.__key_warning(key)
|
266
|
+
return super().get(key, default)
|
267
|
+
|
268
|
+
def __init__(__self__, *,
|
269
|
+
enable_internet_access: Optional[bool] = None,
|
270
|
+
network: Optional[str] = None,
|
271
|
+
subnetwork: Optional[str] = None):
|
272
|
+
"""
|
273
|
+
:param bool enable_internet_access: Enable public internet access for the runtime.
|
274
|
+
:param str network: The name of the VPC that this runtime is in.
|
275
|
+
:param str subnetwork: The name of the subnetwork that this runtime is in.
|
276
|
+
"""
|
277
|
+
if enable_internet_access is not None:
|
278
|
+
pulumi.set(__self__, "enable_internet_access", enable_internet_access)
|
279
|
+
if network is not None:
|
280
|
+
pulumi.set(__self__, "network", network)
|
281
|
+
if subnetwork is not None:
|
282
|
+
pulumi.set(__self__, "subnetwork", subnetwork)
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter(name="enableInternetAccess")
|
286
|
+
def enable_internet_access(self) -> Optional[bool]:
|
287
|
+
"""
|
288
|
+
Enable public internet access for the runtime.
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "enable_internet_access")
|
291
|
+
|
292
|
+
@property
|
293
|
+
@pulumi.getter
|
294
|
+
def network(self) -> Optional[str]:
|
295
|
+
"""
|
296
|
+
The name of the VPC that this runtime is in.
|
297
|
+
"""
|
298
|
+
return pulumi.get(self, "network")
|
299
|
+
|
300
|
+
@property
|
301
|
+
@pulumi.getter
|
302
|
+
def subnetwork(self) -> Optional[str]:
|
303
|
+
"""
|
304
|
+
The name of the subnetwork that this runtime is in.
|
305
|
+
"""
|
306
|
+
return pulumi.get(self, "subnetwork")
|
307
|
+
|
308
|
+
|
309
|
+
@pulumi.output_type
|
310
|
+
class RuntimeTemplateShieldedVmConfig(dict):
|
311
|
+
@staticmethod
|
312
|
+
def __key_warning(key: str):
|
313
|
+
suggest = None
|
314
|
+
if key == "enableSecureBoot":
|
315
|
+
suggest = "enable_secure_boot"
|
316
|
+
|
317
|
+
if suggest:
|
318
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateShieldedVmConfig. Access the value via the '{suggest}' property getter instead.")
|
319
|
+
|
320
|
+
def __getitem__(self, key: str) -> Any:
|
321
|
+
RuntimeTemplateShieldedVmConfig.__key_warning(key)
|
322
|
+
return super().__getitem__(key)
|
323
|
+
|
324
|
+
def get(self, key: str, default = None) -> Any:
|
325
|
+
RuntimeTemplateShieldedVmConfig.__key_warning(key)
|
326
|
+
return super().get(key, default)
|
327
|
+
|
328
|
+
def __init__(__self__, *,
|
329
|
+
enable_secure_boot: Optional[bool] = None):
|
330
|
+
"""
|
331
|
+
:param bool enable_secure_boot: Enables secure boot for the runtime.
|
332
|
+
"""
|
333
|
+
if enable_secure_boot is not None:
|
334
|
+
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
335
|
+
|
336
|
+
@property
|
337
|
+
@pulumi.getter(name="enableSecureBoot")
|
338
|
+
def enable_secure_boot(self) -> Optional[bool]:
|
339
|
+
"""
|
340
|
+
Enables secure boot for the runtime.
|
341
|
+
"""
|
342
|
+
return pulumi.get(self, "enable_secure_boot")
|
343
|
+
|
344
|
+
|