pulumi-gcp 8.7.0a1730183903__py3-none-any.whl → 8.7.0a1730196225__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 +70 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +4 -0
- pulumi_gcp/accesscontextmanager/service_perimeters.py +2 -0
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +108 -0
- pulumi_gcp/apigee/app_group.py +811 -0
- pulumi_gcp/apigee/developer.py +757 -0
- pulumi_gcp/apigee/outputs.py +64 -0
- pulumi_gcp/artifactregistry/get_docker_image.py +40 -0
- pulumi_gcp/bigquery/connection.py +12 -12
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +92 -0
- pulumi_gcp/compute/_inputs.py +214 -116
- pulumi_gcp/compute/backend_service.py +76 -0
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_instance.py +29 -1
- pulumi_gcp/compute/get_instance_template.py +29 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +0 -18
- pulumi_gcp/compute/get_region_instance_template.py +29 -1
- pulumi_gcp/compute/instance.py +89 -0
- pulumi_gcp/compute/instance_from_machine_image.py +82 -0
- pulumi_gcp/compute/instance_from_template.py +82 -0
- pulumi_gcp/compute/instance_template.py +75 -0
- pulumi_gcp/compute/network_firewall_policy_association.py +76 -50
- pulumi_gcp/compute/network_firewall_policy_rule.py +149 -103
- pulumi_gcp/compute/outputs.py +170 -80
- pulumi_gcp/compute/region_backend_service.py +94 -0
- pulumi_gcp/compute/region_instance_template.py +75 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +6 -4
- pulumi_gcp/compute/region_network_firewall_policy_association.py +104 -54
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +160 -107
- pulumi_gcp/config/__init__.pyi +4 -0
- pulumi_gcp/config/vars.py +8 -0
- pulumi_gcp/container/attached_cluster.py +9 -6
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/datastream/stream.py +2 -2
- pulumi_gcp/diagflow/_inputs.py +472 -2
- pulumi_gcp/diagflow/cx_agent.py +64 -4
- pulumi_gcp/diagflow/cx_flow.py +30 -0
- pulumi_gcp/diagflow/outputs.py +378 -2
- pulumi_gcp/gkehub/feature.py +2 -4
- pulumi_gcp/iam/workload_identity_pool_provider.py +56 -0
- pulumi_gcp/looker/instance.py +104 -2
- pulumi_gcp/monitoring/_inputs.py +23 -0
- pulumi_gcp/monitoring/get_secret_version.py +22 -3
- pulumi_gcp/monitoring/outputs.py +16 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +148 -0
- pulumi_gcp/networkconnectivity/group.py +764 -0
- pulumi_gcp/networkconnectivity/outputs.py +125 -0
- pulumi_gcp/networkconnectivity/spoke.py +144 -0
- pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
- pulumi_gcp/oracledatabase/__init__.py +20 -0
- pulumi_gcp/oracledatabase/_inputs.py +4745 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +983 -0
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +842 -0
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +1086 -0
- pulumi_gcp/oracledatabase/get_autonomous_database.py +290 -0
- pulumi_gcp/oracledatabase/get_autonomous_databases.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +257 -0
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +150 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +290 -0
- pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +150 -0
- pulumi_gcp/oracledatabase/get_db_nodes.py +245 -0
- pulumi_gcp/oracledatabase/get_db_servers.py +245 -0
- pulumi_gcp/oracledatabase/outputs.py +9304 -0
- pulumi_gcp/organizations/folder.py +7 -7
- pulumi_gcp/organizations/project.py +7 -7
- pulumi_gcp/orgpolicy/_inputs.py +3 -3
- pulumi_gcp/orgpolicy/outputs.py +2 -2
- pulumi_gcp/privilegedaccessmanager/get_entitlement.py +46 -2
- pulumi_gcp/provider.py +40 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/get_regional_secret_version.py +24 -5
- pulumi_gcp/secretmanager/get_regional_secret_version_access.py +24 -5
- pulumi_gcp/secretmanager/get_secret_version.py +22 -3
- pulumi_gcp/secretmanager/get_secret_version_access.py +22 -3
- pulumi_gcp/secretmanager/regional_secret.py +2 -2
- pulumi_gcp/siteverification/get_token.py +0 -16
- pulumi_gcp/siteverification/owner.py +0 -16
- pulumi_gcp/spanner/_inputs.py +29 -5
- pulumi_gcp/spanner/outputs.py +20 -3
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +28 -21
- pulumi_gcp/storage/_inputs.py +36 -0
- pulumi_gcp/storage/bucket.py +47 -0
- pulumi_gcp/storage/get_bucket.py +12 -1
- pulumi_gcp/storage/outputs.py +40 -0
- pulumi_gcp/transcoder/__init__.py +11 -0
- pulumi_gcp/transcoder/_inputs.py +3991 -0
- pulumi_gcp/transcoder/job.py +2134 -0
- pulumi_gcp/transcoder/job_template.py +1524 -0
- pulumi_gcp/transcoder/outputs.py +2918 -0
- pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
- pulumi_gcp/vmwareengine/_inputs.py +440 -0
- pulumi_gcp/vmwareengine/cluster.py +100 -2
- pulumi_gcp/vmwareengine/get_cluster.py +12 -1
- pulumi_gcp/vmwareengine/outputs.py +615 -0
- pulumi_gcp/workstations/_inputs.py +54 -0
- pulumi_gcp/workstations/outputs.py +32 -0
- pulumi_gcp/workstations/workstation_config.py +205 -0
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/RECORD +111 -89
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.7.0a1730183903.dist-info → pulumi_gcp-8.7.0a1730196225.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,8 @@ __all__ = [
|
|
21
21
|
'WorkstationClusterDomainConfigArgsDict',
|
22
22
|
'WorkstationClusterPrivateClusterConfigArgs',
|
23
23
|
'WorkstationClusterPrivateClusterConfigArgsDict',
|
24
|
+
'WorkstationConfigAllowedPortArgs',
|
25
|
+
'WorkstationConfigAllowedPortArgsDict',
|
24
26
|
'WorkstationConfigConditionArgs',
|
25
27
|
'WorkstationConfigConditionArgsDict',
|
26
28
|
'WorkstationConfigContainerArgs',
|
@@ -287,6 +289,58 @@ class WorkstationClusterPrivateClusterConfigArgs:
|
|
287
289
|
pulumi.set(self, "service_attachment_uri", value)
|
288
290
|
|
289
291
|
|
292
|
+
if not MYPY:
|
293
|
+
class WorkstationConfigAllowedPortArgsDict(TypedDict):
|
294
|
+
first: NotRequired[pulumi.Input[int]]
|
295
|
+
"""
|
296
|
+
Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
297
|
+
"""
|
298
|
+
last: NotRequired[pulumi.Input[int]]
|
299
|
+
"""
|
300
|
+
Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
301
|
+
"""
|
302
|
+
elif False:
|
303
|
+
WorkstationConfigAllowedPortArgsDict: TypeAlias = Mapping[str, Any]
|
304
|
+
|
305
|
+
@pulumi.input_type
|
306
|
+
class WorkstationConfigAllowedPortArgs:
|
307
|
+
def __init__(__self__, *,
|
308
|
+
first: Optional[pulumi.Input[int]] = None,
|
309
|
+
last: Optional[pulumi.Input[int]] = None):
|
310
|
+
"""
|
311
|
+
:param pulumi.Input[int] first: Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
312
|
+
:param pulumi.Input[int] last: Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
313
|
+
"""
|
314
|
+
if first is not None:
|
315
|
+
pulumi.set(__self__, "first", first)
|
316
|
+
if last is not None:
|
317
|
+
pulumi.set(__self__, "last", last)
|
318
|
+
|
319
|
+
@property
|
320
|
+
@pulumi.getter
|
321
|
+
def first(self) -> Optional[pulumi.Input[int]]:
|
322
|
+
"""
|
323
|
+
Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
324
|
+
"""
|
325
|
+
return pulumi.get(self, "first")
|
326
|
+
|
327
|
+
@first.setter
|
328
|
+
def first(self, value: Optional[pulumi.Input[int]]):
|
329
|
+
pulumi.set(self, "first", value)
|
330
|
+
|
331
|
+
@property
|
332
|
+
@pulumi.getter
|
333
|
+
def last(self) -> Optional[pulumi.Input[int]]:
|
334
|
+
"""
|
335
|
+
Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
336
|
+
"""
|
337
|
+
return pulumi.get(self, "last")
|
338
|
+
|
339
|
+
@last.setter
|
340
|
+
def last(self, value: Optional[pulumi.Input[int]]):
|
341
|
+
pulumi.set(self, "last", value)
|
342
|
+
|
343
|
+
|
290
344
|
if not MYPY:
|
291
345
|
class WorkstationConfigConditionArgsDict(TypedDict):
|
292
346
|
code: NotRequired[pulumi.Input[int]]
|
@@ -19,6 +19,7 @@ __all__ = [
|
|
19
19
|
'WorkstationClusterCondition',
|
20
20
|
'WorkstationClusterDomainConfig',
|
21
21
|
'WorkstationClusterPrivateClusterConfig',
|
22
|
+
'WorkstationConfigAllowedPort',
|
22
23
|
'WorkstationConfigCondition',
|
23
24
|
'WorkstationConfigContainer',
|
24
25
|
'WorkstationConfigEncryptionKey',
|
@@ -198,6 +199,37 @@ class WorkstationClusterPrivateClusterConfig(dict):
|
|
198
199
|
return pulumi.get(self, "service_attachment_uri")
|
199
200
|
|
200
201
|
|
202
|
+
@pulumi.output_type
|
203
|
+
class WorkstationConfigAllowedPort(dict):
|
204
|
+
def __init__(__self__, *,
|
205
|
+
first: Optional[int] = None,
|
206
|
+
last: Optional[int] = None):
|
207
|
+
"""
|
208
|
+
:param int first: Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
209
|
+
:param int last: Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
210
|
+
"""
|
211
|
+
if first is not None:
|
212
|
+
pulumi.set(__self__, "first", first)
|
213
|
+
if last is not None:
|
214
|
+
pulumi.set(__self__, "last", last)
|
215
|
+
|
216
|
+
@property
|
217
|
+
@pulumi.getter
|
218
|
+
def first(self) -> Optional[int]:
|
219
|
+
"""
|
220
|
+
Starting port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
221
|
+
"""
|
222
|
+
return pulumi.get(self, "first")
|
223
|
+
|
224
|
+
@property
|
225
|
+
@pulumi.getter
|
226
|
+
def last(self) -> Optional[int]:
|
227
|
+
"""
|
228
|
+
Ending port number for the current range of ports. Valid ports are 22, 80, and ports within the range 1024-65535.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "last")
|
231
|
+
|
232
|
+
|
201
233
|
@pulumi.output_type
|
202
234
|
class WorkstationConfigCondition(dict):
|
203
235
|
def __init__(__self__, *,
|
@@ -24,6 +24,7 @@ class WorkstationConfigArgs:
|
|
24
24
|
location: pulumi.Input[str],
|
25
25
|
workstation_cluster_id: pulumi.Input[str],
|
26
26
|
workstation_config_id: pulumi.Input[str],
|
27
|
+
allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]]] = None,
|
27
28
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
29
|
container: Optional[pulumi.Input['WorkstationConfigContainerArgs']] = None,
|
29
30
|
disable_tcp_connections: Optional[pulumi.Input[bool]] = None,
|
@@ -34,6 +35,7 @@ class WorkstationConfigArgs:
|
|
34
35
|
host: Optional[pulumi.Input['WorkstationConfigHostArgs']] = None,
|
35
36
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
36
37
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
38
|
+
max_usable_workstations: Optional[pulumi.Input[int]] = None,
|
37
39
|
persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]]] = None,
|
38
40
|
project: Optional[pulumi.Input[str]] = None,
|
39
41
|
readiness_checks: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigReadinessCheckArgs']]]] = None,
|
@@ -47,6 +49,8 @@ class WorkstationConfigArgs:
|
|
47
49
|
- - -
|
48
50
|
:param pulumi.Input[str] workstation_cluster_id: The ID of the parent workstation cluster.
|
49
51
|
:param pulumi.Input[str] workstation_config_id: The ID to be assigned to the workstation cluster config.
|
52
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]] allowed_ports: A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
|
53
|
+
Structure is documented below.
|
50
54
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
|
51
55
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
52
56
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
@@ -69,6 +73,7 @@ class WorkstationConfigArgs:
|
|
69
73
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.
|
70
74
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
71
75
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
76
|
+
:param pulumi.Input[int] max_usable_workstations: Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
|
72
77
|
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]] persistent_directories: Directories to persist across workstation sessions.
|
73
78
|
Structure is documented below.
|
74
79
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -83,6 +88,8 @@ class WorkstationConfigArgs:
|
|
83
88
|
pulumi.set(__self__, "location", location)
|
84
89
|
pulumi.set(__self__, "workstation_cluster_id", workstation_cluster_id)
|
85
90
|
pulumi.set(__self__, "workstation_config_id", workstation_config_id)
|
91
|
+
if allowed_ports is not None:
|
92
|
+
pulumi.set(__self__, "allowed_ports", allowed_ports)
|
86
93
|
if annotations is not None:
|
87
94
|
pulumi.set(__self__, "annotations", annotations)
|
88
95
|
if container is not None:
|
@@ -103,6 +110,8 @@ class WorkstationConfigArgs:
|
|
103
110
|
pulumi.set(__self__, "idle_timeout", idle_timeout)
|
104
111
|
if labels is not None:
|
105
112
|
pulumi.set(__self__, "labels", labels)
|
113
|
+
if max_usable_workstations is not None:
|
114
|
+
pulumi.set(__self__, "max_usable_workstations", max_usable_workstations)
|
106
115
|
if persistent_directories is not None:
|
107
116
|
pulumi.set(__self__, "persistent_directories", persistent_directories)
|
108
117
|
if project is not None:
|
@@ -153,6 +162,19 @@ class WorkstationConfigArgs:
|
|
153
162
|
def workstation_config_id(self, value: pulumi.Input[str]):
|
154
163
|
pulumi.set(self, "workstation_config_id", value)
|
155
164
|
|
165
|
+
@property
|
166
|
+
@pulumi.getter(name="allowedPorts")
|
167
|
+
def allowed_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]]]:
|
168
|
+
"""
|
169
|
+
A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
|
170
|
+
Structure is documented below.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "allowed_ports")
|
173
|
+
|
174
|
+
@allowed_ports.setter
|
175
|
+
def allowed_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]]]):
|
176
|
+
pulumi.set(self, "allowed_ports", value)
|
177
|
+
|
156
178
|
@property
|
157
179
|
@pulumi.getter
|
158
180
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -285,6 +307,18 @@ class WorkstationConfigArgs:
|
|
285
307
|
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
286
308
|
pulumi.set(self, "labels", value)
|
287
309
|
|
310
|
+
@property
|
311
|
+
@pulumi.getter(name="maxUsableWorkstations")
|
312
|
+
def max_usable_workstations(self) -> Optional[pulumi.Input[int]]:
|
313
|
+
"""
|
314
|
+
Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "max_usable_workstations")
|
317
|
+
|
318
|
+
@max_usable_workstations.setter
|
319
|
+
def max_usable_workstations(self, value: Optional[pulumi.Input[int]]):
|
320
|
+
pulumi.set(self, "max_usable_workstations", value)
|
321
|
+
|
288
322
|
@property
|
289
323
|
@pulumi.getter(name="persistentDirectories")
|
290
324
|
def persistent_directories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]]]:
|
@@ -354,6 +388,7 @@ class WorkstationConfigArgs:
|
|
354
388
|
@pulumi.input_type
|
355
389
|
class _WorkstationConfigState:
|
356
390
|
def __init__(__self__, *,
|
391
|
+
allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]]] = None,
|
357
392
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
358
393
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigConditionArgs']]]] = None,
|
359
394
|
container: Optional[pulumi.Input['WorkstationConfigContainerArgs']] = None,
|
@@ -371,6 +406,7 @@ class _WorkstationConfigState:
|
|
371
406
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
372
407
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
373
408
|
location: Optional[pulumi.Input[str]] = None,
|
409
|
+
max_usable_workstations: Optional[pulumi.Input[int]] = None,
|
374
410
|
name: Optional[pulumi.Input[str]] = None,
|
375
411
|
persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]]] = None,
|
376
412
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -383,6 +419,8 @@ class _WorkstationConfigState:
|
|
383
419
|
workstation_config_id: Optional[pulumi.Input[str]] = None):
|
384
420
|
"""
|
385
421
|
Input properties used for looking up and filtering WorkstationConfig resources.
|
422
|
+
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]] allowed_ports: A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
|
423
|
+
Structure is documented below.
|
386
424
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
|
387
425
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
388
426
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
@@ -416,6 +454,7 @@ class _WorkstationConfigState:
|
|
416
454
|
|
417
455
|
|
418
456
|
- - -
|
457
|
+
:param pulumi.Input[int] max_usable_workstations: Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
|
419
458
|
:param pulumi.Input[str] name: Full name of this resource.
|
420
459
|
:param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]] persistent_directories: Directories to persist across workstation sessions.
|
421
460
|
Structure is documented below.
|
@@ -433,6 +472,8 @@ class _WorkstationConfigState:
|
|
433
472
|
:param pulumi.Input[str] workstation_cluster_id: The ID of the parent workstation cluster.
|
434
473
|
:param pulumi.Input[str] workstation_config_id: The ID to be assigned to the workstation cluster config.
|
435
474
|
"""
|
475
|
+
if allowed_ports is not None:
|
476
|
+
pulumi.set(__self__, "allowed_ports", allowed_ports)
|
436
477
|
if annotations is not None:
|
437
478
|
pulumi.set(__self__, "annotations", annotations)
|
438
479
|
if conditions is not None:
|
@@ -467,6 +508,8 @@ class _WorkstationConfigState:
|
|
467
508
|
pulumi.set(__self__, "labels", labels)
|
468
509
|
if location is not None:
|
469
510
|
pulumi.set(__self__, "location", location)
|
511
|
+
if max_usable_workstations is not None:
|
512
|
+
pulumi.set(__self__, "max_usable_workstations", max_usable_workstations)
|
470
513
|
if name is not None:
|
471
514
|
pulumi.set(__self__, "name", name)
|
472
515
|
if persistent_directories is not None:
|
@@ -488,6 +531,19 @@ class _WorkstationConfigState:
|
|
488
531
|
if workstation_config_id is not None:
|
489
532
|
pulumi.set(__self__, "workstation_config_id", workstation_config_id)
|
490
533
|
|
534
|
+
@property
|
535
|
+
@pulumi.getter(name="allowedPorts")
|
536
|
+
def allowed_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]]]:
|
537
|
+
"""
|
538
|
+
A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
|
539
|
+
Structure is documented below.
|
540
|
+
"""
|
541
|
+
return pulumi.get(self, "allowed_ports")
|
542
|
+
|
543
|
+
@allowed_ports.setter
|
544
|
+
def allowed_ports(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]]]):
|
545
|
+
pulumi.set(self, "allowed_ports", value)
|
546
|
+
|
491
547
|
@property
|
492
548
|
@pulumi.getter
|
493
549
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
@@ -706,6 +762,18 @@ class _WorkstationConfigState:
|
|
706
762
|
def location(self, value: Optional[pulumi.Input[str]]):
|
707
763
|
pulumi.set(self, "location", value)
|
708
764
|
|
765
|
+
@property
|
766
|
+
@pulumi.getter(name="maxUsableWorkstations")
|
767
|
+
def max_usable_workstations(self) -> Optional[pulumi.Input[int]]:
|
768
|
+
"""
|
769
|
+
Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
|
770
|
+
"""
|
771
|
+
return pulumi.get(self, "max_usable_workstations")
|
772
|
+
|
773
|
+
@max_usable_workstations.setter
|
774
|
+
def max_usable_workstations(self, value: Optional[pulumi.Input[int]]):
|
775
|
+
pulumi.set(self, "max_usable_workstations", value)
|
776
|
+
|
709
777
|
@property
|
710
778
|
@pulumi.getter
|
711
779
|
def name(self) -> Optional[pulumi.Input[str]]:
|
@@ -838,6 +906,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
838
906
|
def __init__(__self__,
|
839
907
|
resource_name: str,
|
840
908
|
opts: Optional[pulumi.ResourceOptions] = None,
|
909
|
+
allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]]] = None,
|
841
910
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
842
911
|
container: Optional[pulumi.Input[Union['WorkstationConfigContainerArgs', 'WorkstationConfigContainerArgsDict']]] = None,
|
843
912
|
disable_tcp_connections: Optional[pulumi.Input[bool]] = None,
|
@@ -849,6 +918,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
849
918
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
850
919
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
851
920
|
location: Optional[pulumi.Input[str]] = None,
|
921
|
+
max_usable_workstations: Optional[pulumi.Input[int]] = None,
|
852
922
|
persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]]] = None,
|
853
923
|
project: Optional[pulumi.Input[str]] = None,
|
854
924
|
readiness_checks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigReadinessCheckArgs', 'WorkstationConfigReadinessCheckArgsDict']]]]] = None,
|
@@ -907,6 +977,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
907
977
|
labels={
|
908
978
|
"label": "key",
|
909
979
|
},
|
980
|
+
max_usable_workstations=1,
|
910
981
|
host={
|
911
982
|
"gce_instance": {
|
912
983
|
"machine_type": "e2-standard-4",
|
@@ -1248,6 +1319,57 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1248
1319
|
"kms_key_service_account": default_account.email,
|
1249
1320
|
})
|
1250
1321
|
```
|
1322
|
+
### Workstation Config Allowed Ports
|
1323
|
+
|
1324
|
+
```python
|
1325
|
+
import pulumi
|
1326
|
+
import pulumi_gcp as gcp
|
1327
|
+
|
1328
|
+
default = gcp.compute.Network("default",
|
1329
|
+
name="workstation-cluster",
|
1330
|
+
auto_create_subnetworks=False)
|
1331
|
+
default_subnetwork = gcp.compute.Subnetwork("default",
|
1332
|
+
name="workstation-cluster",
|
1333
|
+
ip_cidr_range="10.0.0.0/24",
|
1334
|
+
region="us-central1",
|
1335
|
+
network=default.name)
|
1336
|
+
default_workstation_cluster = gcp.workstations.WorkstationCluster("default",
|
1337
|
+
workstation_cluster_id="workstation-cluster",
|
1338
|
+
network=default.id,
|
1339
|
+
subnetwork=default_subnetwork.id,
|
1340
|
+
location="us-central1",
|
1341
|
+
labels={
|
1342
|
+
"label": "key",
|
1343
|
+
},
|
1344
|
+
annotations={
|
1345
|
+
"label-one": "value-one",
|
1346
|
+
})
|
1347
|
+
default_workstation_config = gcp.workstations.WorkstationConfig("default",
|
1348
|
+
workstation_config_id="workstation-config",
|
1349
|
+
workstation_cluster_id=default_workstation_cluster.workstation_cluster_id,
|
1350
|
+
location="us-central1",
|
1351
|
+
host={
|
1352
|
+
"gce_instance": {
|
1353
|
+
"machine_type": "e2-standard-4",
|
1354
|
+
"boot_disk_size_gb": 35,
|
1355
|
+
"disable_public_ip_addresses": True,
|
1356
|
+
},
|
1357
|
+
},
|
1358
|
+
allowed_ports=[
|
1359
|
+
{
|
1360
|
+
"first": 80,
|
1361
|
+
"last": 80,
|
1362
|
+
},
|
1363
|
+
{
|
1364
|
+
"first": 22,
|
1365
|
+
"last": 22,
|
1366
|
+
},
|
1367
|
+
{
|
1368
|
+
"first": 1024,
|
1369
|
+
"last": 65535,
|
1370
|
+
},
|
1371
|
+
])
|
1372
|
+
```
|
1251
1373
|
|
1252
1374
|
## Import
|
1253
1375
|
|
@@ -1275,6 +1397,8 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1275
1397
|
|
1276
1398
|
:param str resource_name: The name of the resource.
|
1277
1399
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1400
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]] allowed_ports: A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
|
1401
|
+
Structure is documented below.
|
1278
1402
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
|
1279
1403
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
1280
1404
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
@@ -1301,6 +1425,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1301
1425
|
|
1302
1426
|
|
1303
1427
|
- - -
|
1428
|
+
:param pulumi.Input[int] max_usable_workstations: Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
|
1304
1429
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]] persistent_directories: Directories to persist across workstation sessions.
|
1305
1430
|
Structure is documented below.
|
1306
1431
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -1370,6 +1495,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1370
1495
|
labels={
|
1371
1496
|
"label": "key",
|
1372
1497
|
},
|
1498
|
+
max_usable_workstations=1,
|
1373
1499
|
host={
|
1374
1500
|
"gce_instance": {
|
1375
1501
|
"machine_type": "e2-standard-4",
|
@@ -1711,6 +1837,57 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1711
1837
|
"kms_key_service_account": default_account.email,
|
1712
1838
|
})
|
1713
1839
|
```
|
1840
|
+
### Workstation Config Allowed Ports
|
1841
|
+
|
1842
|
+
```python
|
1843
|
+
import pulumi
|
1844
|
+
import pulumi_gcp as gcp
|
1845
|
+
|
1846
|
+
default = gcp.compute.Network("default",
|
1847
|
+
name="workstation-cluster",
|
1848
|
+
auto_create_subnetworks=False)
|
1849
|
+
default_subnetwork = gcp.compute.Subnetwork("default",
|
1850
|
+
name="workstation-cluster",
|
1851
|
+
ip_cidr_range="10.0.0.0/24",
|
1852
|
+
region="us-central1",
|
1853
|
+
network=default.name)
|
1854
|
+
default_workstation_cluster = gcp.workstations.WorkstationCluster("default",
|
1855
|
+
workstation_cluster_id="workstation-cluster",
|
1856
|
+
network=default.id,
|
1857
|
+
subnetwork=default_subnetwork.id,
|
1858
|
+
location="us-central1",
|
1859
|
+
labels={
|
1860
|
+
"label": "key",
|
1861
|
+
},
|
1862
|
+
annotations={
|
1863
|
+
"label-one": "value-one",
|
1864
|
+
})
|
1865
|
+
default_workstation_config = gcp.workstations.WorkstationConfig("default",
|
1866
|
+
workstation_config_id="workstation-config",
|
1867
|
+
workstation_cluster_id=default_workstation_cluster.workstation_cluster_id,
|
1868
|
+
location="us-central1",
|
1869
|
+
host={
|
1870
|
+
"gce_instance": {
|
1871
|
+
"machine_type": "e2-standard-4",
|
1872
|
+
"boot_disk_size_gb": 35,
|
1873
|
+
"disable_public_ip_addresses": True,
|
1874
|
+
},
|
1875
|
+
},
|
1876
|
+
allowed_ports=[
|
1877
|
+
{
|
1878
|
+
"first": 80,
|
1879
|
+
"last": 80,
|
1880
|
+
},
|
1881
|
+
{
|
1882
|
+
"first": 22,
|
1883
|
+
"last": 22,
|
1884
|
+
},
|
1885
|
+
{
|
1886
|
+
"first": 1024,
|
1887
|
+
"last": 65535,
|
1888
|
+
},
|
1889
|
+
])
|
1890
|
+
```
|
1714
1891
|
|
1715
1892
|
## Import
|
1716
1893
|
|
@@ -1751,6 +1928,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1751
1928
|
def _internal_init(__self__,
|
1752
1929
|
resource_name: str,
|
1753
1930
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1931
|
+
allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]]] = None,
|
1754
1932
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1755
1933
|
container: Optional[pulumi.Input[Union['WorkstationConfigContainerArgs', 'WorkstationConfigContainerArgsDict']]] = None,
|
1756
1934
|
disable_tcp_connections: Optional[pulumi.Input[bool]] = None,
|
@@ -1762,6 +1940,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1762
1940
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
1763
1941
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1764
1942
|
location: Optional[pulumi.Input[str]] = None,
|
1943
|
+
max_usable_workstations: Optional[pulumi.Input[int]] = None,
|
1765
1944
|
persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]]] = None,
|
1766
1945
|
project: Optional[pulumi.Input[str]] = None,
|
1767
1946
|
readiness_checks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigReadinessCheckArgs', 'WorkstationConfigReadinessCheckArgsDict']]]]] = None,
|
@@ -1778,6 +1957,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1778
1957
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1779
1958
|
__props__ = WorkstationConfigArgs.__new__(WorkstationConfigArgs)
|
1780
1959
|
|
1960
|
+
__props__.__dict__["allowed_ports"] = allowed_ports
|
1781
1961
|
__props__.__dict__["annotations"] = annotations
|
1782
1962
|
__props__.__dict__["container"] = container
|
1783
1963
|
__props__.__dict__["disable_tcp_connections"] = disable_tcp_connections
|
@@ -1791,6 +1971,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1791
1971
|
if location is None and not opts.urn:
|
1792
1972
|
raise TypeError("Missing required property 'location'")
|
1793
1973
|
__props__.__dict__["location"] = location
|
1974
|
+
__props__.__dict__["max_usable_workstations"] = max_usable_workstations
|
1794
1975
|
__props__.__dict__["persistent_directories"] = persistent_directories
|
1795
1976
|
__props__.__dict__["project"] = project
|
1796
1977
|
__props__.__dict__["readiness_checks"] = readiness_checks
|
@@ -1823,6 +2004,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1823
2004
|
def get(resource_name: str,
|
1824
2005
|
id: pulumi.Input[str],
|
1825
2006
|
opts: Optional[pulumi.ResourceOptions] = None,
|
2007
|
+
allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]]] = None,
|
1826
2008
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1827
2009
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigConditionArgs', 'WorkstationConfigConditionArgsDict']]]]] = None,
|
1828
2010
|
container: Optional[pulumi.Input[Union['WorkstationConfigContainerArgs', 'WorkstationConfigContainerArgsDict']]] = None,
|
@@ -1840,6 +2022,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1840
2022
|
idle_timeout: Optional[pulumi.Input[str]] = None,
|
1841
2023
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1842
2024
|
location: Optional[pulumi.Input[str]] = None,
|
2025
|
+
max_usable_workstations: Optional[pulumi.Input[int]] = None,
|
1843
2026
|
name: Optional[pulumi.Input[str]] = None,
|
1844
2027
|
persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]]] = None,
|
1845
2028
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -1857,6 +2040,8 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1857
2040
|
:param str resource_name: The unique name of the resulting resource.
|
1858
2041
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1859
2042
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
2043
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]] allowed_ports: A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
|
2044
|
+
Structure is documented below.
|
1860
2045
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
|
1861
2046
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
1862
2047
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
@@ -1890,6 +2075,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1890
2075
|
|
1891
2076
|
|
1892
2077
|
- - -
|
2078
|
+
:param pulumi.Input[int] max_usable_workstations: Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
|
1893
2079
|
:param pulumi.Input[str] name: Full name of this resource.
|
1894
2080
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]] persistent_directories: Directories to persist across workstation sessions.
|
1895
2081
|
Structure is documented below.
|
@@ -1911,6 +2097,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1911
2097
|
|
1912
2098
|
__props__ = _WorkstationConfigState.__new__(_WorkstationConfigState)
|
1913
2099
|
|
2100
|
+
__props__.__dict__["allowed_ports"] = allowed_ports
|
1914
2101
|
__props__.__dict__["annotations"] = annotations
|
1915
2102
|
__props__.__dict__["conditions"] = conditions
|
1916
2103
|
__props__.__dict__["container"] = container
|
@@ -1928,6 +2115,7 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1928
2115
|
__props__.__dict__["idle_timeout"] = idle_timeout
|
1929
2116
|
__props__.__dict__["labels"] = labels
|
1930
2117
|
__props__.__dict__["location"] = location
|
2118
|
+
__props__.__dict__["max_usable_workstations"] = max_usable_workstations
|
1931
2119
|
__props__.__dict__["name"] = name
|
1932
2120
|
__props__.__dict__["persistent_directories"] = persistent_directories
|
1933
2121
|
__props__.__dict__["project"] = project
|
@@ -1940,6 +2128,15 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
1940
2128
|
__props__.__dict__["workstation_config_id"] = workstation_config_id
|
1941
2129
|
return WorkstationConfig(resource_name, opts=opts, __props__=__props__)
|
1942
2130
|
|
2131
|
+
@property
|
2132
|
+
@pulumi.getter(name="allowedPorts")
|
2133
|
+
def allowed_ports(self) -> pulumi.Output[Sequence['outputs.WorkstationConfigAllowedPort']]:
|
2134
|
+
"""
|
2135
|
+
A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.
|
2136
|
+
Structure is documented below.
|
2137
|
+
"""
|
2138
|
+
return pulumi.get(self, "allowed_ports")
|
2139
|
+
|
1943
2140
|
@property
|
1944
2141
|
@pulumi.getter
|
1945
2142
|
def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
@@ -2090,6 +2287,14 @@ class WorkstationConfig(pulumi.CustomResource):
|
|
2090
2287
|
"""
|
2091
2288
|
return pulumi.get(self, "location")
|
2092
2289
|
|
2290
|
+
@property
|
2291
|
+
@pulumi.getter(name="maxUsableWorkstations")
|
2292
|
+
def max_usable_workstations(self) -> pulumi.Output[int]:
|
2293
|
+
"""
|
2294
|
+
Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
|
2295
|
+
"""
|
2296
|
+
return pulumi.get(self, "max_usable_workstations")
|
2297
|
+
|
2093
2298
|
@property
|
2094
2299
|
@pulumi.getter
|
2095
2300
|
def name(self) -> pulumi.Output[str]:
|