pulumi-gcp 8.7.0__py3-none-any.whl → 8.7.0a1729107581__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.
Files changed (111) hide show
  1. pulumi_gcp/__init__.py +0 -70
  2. pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
  3. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +0 -4
  4. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +0 -4
  5. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +0 -4
  6. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +0 -4
  7. pulumi_gcp/accesscontextmanager/service_perimeters.py +0 -2
  8. pulumi_gcp/apigee/__init__.py +0 -2
  9. pulumi_gcp/apigee/_inputs.py +0 -108
  10. pulumi_gcp/apigee/outputs.py +0 -64
  11. pulumi_gcp/artifactregistry/get_docker_image.py +0 -40
  12. pulumi_gcp/bigquery/connection.py +12 -12
  13. pulumi_gcp/bigquery/job.py +6 -6
  14. pulumi_gcp/cloudrunv2/get_service.py +1 -12
  15. pulumi_gcp/cloudrunv2/service.py +0 -92
  16. pulumi_gcp/compute/_inputs.py +116 -214
  17. pulumi_gcp/compute/backend_service.py +0 -76
  18. pulumi_gcp/compute/get_backend_service.py +1 -12
  19. pulumi_gcp/compute/get_instance.py +1 -29
  20. pulumi_gcp/compute/get_instance_template.py +1 -29
  21. pulumi_gcp/compute/get_region_instance_group_manager.py +18 -0
  22. pulumi_gcp/compute/get_region_instance_template.py +1 -29
  23. pulumi_gcp/compute/instance.py +0 -89
  24. pulumi_gcp/compute/instance_from_machine_image.py +0 -82
  25. pulumi_gcp/compute/instance_from_template.py +0 -82
  26. pulumi_gcp/compute/instance_template.py +0 -75
  27. pulumi_gcp/compute/network_firewall_policy_association.py +50 -76
  28. pulumi_gcp/compute/network_firewall_policy_rule.py +103 -149
  29. pulumi_gcp/compute/outputs.py +80 -170
  30. pulumi_gcp/compute/region_backend_service.py +0 -94
  31. pulumi_gcp/compute/region_instance_template.py +0 -75
  32. pulumi_gcp/compute/region_network_endpoint_group.py +4 -6
  33. pulumi_gcp/compute/region_network_firewall_policy_association.py +54 -104
  34. pulumi_gcp/compute/region_network_firewall_policy_rule.py +107 -160
  35. pulumi_gcp/config/__init__.pyi +0 -4
  36. pulumi_gcp/config/vars.py +0 -8
  37. pulumi_gcp/container/attached_cluster.py +6 -9
  38. pulumi_gcp/container/outputs.py +2 -2
  39. pulumi_gcp/datastream/stream.py +2 -2
  40. pulumi_gcp/diagflow/_inputs.py +2 -472
  41. pulumi_gcp/diagflow/cx_agent.py +4 -64
  42. pulumi_gcp/diagflow/cx_flow.py +0 -30
  43. pulumi_gcp/diagflow/outputs.py +2 -378
  44. pulumi_gcp/gkehub/feature.py +4 -2
  45. pulumi_gcp/iam/workload_identity_pool_provider.py +0 -56
  46. pulumi_gcp/looker/instance.py +2 -104
  47. pulumi_gcp/monitoring/_inputs.py +0 -23
  48. pulumi_gcp/monitoring/get_secret_version.py +3 -22
  49. pulumi_gcp/monitoring/outputs.py +0 -16
  50. pulumi_gcp/networkconnectivity/__init__.py +0 -1
  51. pulumi_gcp/networkconnectivity/_inputs.py +0 -148
  52. pulumi_gcp/networkconnectivity/outputs.py +0 -125
  53. pulumi_gcp/networkconnectivity/spoke.py +0 -144
  54. pulumi_gcp/networksecurity/server_tls_policy.py +2 -2
  55. pulumi_gcp/organizations/folder.py +7 -7
  56. pulumi_gcp/organizations/project.py +7 -7
  57. pulumi_gcp/orgpolicy/_inputs.py +3 -3
  58. pulumi_gcp/orgpolicy/outputs.py +2 -2
  59. pulumi_gcp/privilegedaccessmanager/get_entitlement.py +2 -46
  60. pulumi_gcp/provider.py +0 -40
  61. pulumi_gcp/pulumi-plugin.json +1 -1
  62. pulumi_gcp/secretmanager/get_regional_secret_version.py +5 -24
  63. pulumi_gcp/secretmanager/get_regional_secret_version_access.py +5 -24
  64. pulumi_gcp/secretmanager/get_secret_version.py +3 -22
  65. pulumi_gcp/secretmanager/get_secret_version_access.py +3 -22
  66. pulumi_gcp/secretmanager/regional_secret.py +2 -2
  67. pulumi_gcp/siteverification/get_token.py +16 -0
  68. pulumi_gcp/siteverification/owner.py +16 -0
  69. pulumi_gcp/spanner/_inputs.py +5 -29
  70. pulumi_gcp/spanner/outputs.py +3 -20
  71. pulumi_gcp/sql/_inputs.py +6 -6
  72. pulumi_gcp/sql/outputs.py +4 -4
  73. pulumi_gcp/sql/user.py +21 -28
  74. pulumi_gcp/storage/_inputs.py +0 -36
  75. pulumi_gcp/storage/bucket.py +0 -47
  76. pulumi_gcp/storage/get_bucket.py +1 -12
  77. pulumi_gcp/storage/outputs.py +0 -40
  78. pulumi_gcp/vertex/ai_deployment_resource_pool.py +2 -2
  79. pulumi_gcp/vmwareengine/_inputs.py +0 -440
  80. pulumi_gcp/vmwareengine/cluster.py +2 -100
  81. pulumi_gcp/vmwareengine/get_cluster.py +1 -12
  82. pulumi_gcp/vmwareengine/outputs.py +0 -615
  83. pulumi_gcp/workstations/_inputs.py +0 -54
  84. pulumi_gcp/workstations/outputs.py +0 -32
  85. pulumi_gcp/workstations/workstation_config.py +0 -205
  86. {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/METADATA +1 -1
  87. {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/RECORD +89 -111
  88. {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/WHEEL +1 -1
  89. pulumi_gcp/apigee/app_group.py +0 -811
  90. pulumi_gcp/apigee/developer.py +0 -757
  91. pulumi_gcp/networkconnectivity/group.py +0 -764
  92. pulumi_gcp/oracledatabase/__init__.py +0 -20
  93. pulumi_gcp/oracledatabase/_inputs.py +0 -4745
  94. pulumi_gcp/oracledatabase/autonomous_database.py +0 -983
  95. pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +0 -842
  96. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +0 -1086
  97. pulumi_gcp/oracledatabase/get_autonomous_database.py +0 -290
  98. pulumi_gcp/oracledatabase/get_autonomous_databases.py +0 -150
  99. pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +0 -257
  100. pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructures.py +0 -150
  101. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +0 -290
  102. pulumi_gcp/oracledatabase/get_cloud_vm_clusters.py +0 -150
  103. pulumi_gcp/oracledatabase/get_db_nodes.py +0 -245
  104. pulumi_gcp/oracledatabase/get_db_servers.py +0 -245
  105. pulumi_gcp/oracledatabase/outputs.py +0 -9304
  106. pulumi_gcp/transcoder/__init__.py +0 -11
  107. pulumi_gcp/transcoder/_inputs.py +0 -3991
  108. pulumi_gcp/transcoder/job.py +0 -2134
  109. pulumi_gcp/transcoder/job_template.py +0 -1524
  110. pulumi_gcp/transcoder/outputs.py +0 -2918
  111. {pulumi_gcp-8.7.0.dist-info → pulumi_gcp-8.7.0a1729107581.dist-info}/top_level.txt +0 -0
@@ -21,8 +21,6 @@ __all__ = [
21
21
  'WorkstationClusterDomainConfigArgsDict',
22
22
  'WorkstationClusterPrivateClusterConfigArgs',
23
23
  'WorkstationClusterPrivateClusterConfigArgsDict',
24
- 'WorkstationConfigAllowedPortArgs',
25
- 'WorkstationConfigAllowedPortArgsDict',
26
24
  'WorkstationConfigConditionArgs',
27
25
  'WorkstationConfigConditionArgsDict',
28
26
  'WorkstationConfigContainerArgs',
@@ -289,58 +287,6 @@ class WorkstationClusterPrivateClusterConfigArgs:
289
287
  pulumi.set(self, "service_attachment_uri", value)
290
288
 
291
289
 
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
-
344
290
  if not MYPY:
345
291
  class WorkstationConfigConditionArgsDict(TypedDict):
346
292
  code: NotRequired[pulumi.Input[int]]
@@ -19,7 +19,6 @@ __all__ = [
19
19
  'WorkstationClusterCondition',
20
20
  'WorkstationClusterDomainConfig',
21
21
  'WorkstationClusterPrivateClusterConfig',
22
- 'WorkstationConfigAllowedPort',
23
22
  'WorkstationConfigCondition',
24
23
  'WorkstationConfigContainer',
25
24
  'WorkstationConfigEncryptionKey',
@@ -199,37 +198,6 @@ class WorkstationClusterPrivateClusterConfig(dict):
199
198
  return pulumi.get(self, "service_attachment_uri")
200
199
 
201
200
 
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
-
233
201
  @pulumi.output_type
234
202
  class WorkstationConfigCondition(dict):
235
203
  def __init__(__self__, *,
@@ -24,7 +24,6 @@ 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,
28
27
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
29
28
  container: Optional[pulumi.Input['WorkstationConfigContainerArgs']] = None,
30
29
  disable_tcp_connections: Optional[pulumi.Input[bool]] = None,
@@ -35,7 +34,6 @@ class WorkstationConfigArgs:
35
34
  host: Optional[pulumi.Input['WorkstationConfigHostArgs']] = None,
36
35
  idle_timeout: Optional[pulumi.Input[str]] = None,
37
36
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
38
- max_usable_workstations: Optional[pulumi.Input[int]] = None,
39
37
  persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]]] = None,
40
38
  project: Optional[pulumi.Input[str]] = None,
41
39
  readiness_checks: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigReadinessCheckArgs']]]] = None,
@@ -49,8 +47,6 @@ class WorkstationConfigArgs:
49
47
  - - -
50
48
  :param pulumi.Input[str] workstation_cluster_id: The ID of the parent workstation cluster.
51
49
  :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.
54
50
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
55
51
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
56
52
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
@@ -73,7 +69,6 @@ class WorkstationConfigArgs:
73
69
  :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.
74
70
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
75
71
  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.
77
72
  :param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]] persistent_directories: Directories to persist across workstation sessions.
78
73
  Structure is documented below.
79
74
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
@@ -88,8 +83,6 @@ class WorkstationConfigArgs:
88
83
  pulumi.set(__self__, "location", location)
89
84
  pulumi.set(__self__, "workstation_cluster_id", workstation_cluster_id)
90
85
  pulumi.set(__self__, "workstation_config_id", workstation_config_id)
91
- if allowed_ports is not None:
92
- pulumi.set(__self__, "allowed_ports", allowed_ports)
93
86
  if annotations is not None:
94
87
  pulumi.set(__self__, "annotations", annotations)
95
88
  if container is not None:
@@ -110,8 +103,6 @@ class WorkstationConfigArgs:
110
103
  pulumi.set(__self__, "idle_timeout", idle_timeout)
111
104
  if labels is not None:
112
105
  pulumi.set(__self__, "labels", labels)
113
- if max_usable_workstations is not None:
114
- pulumi.set(__self__, "max_usable_workstations", max_usable_workstations)
115
106
  if persistent_directories is not None:
116
107
  pulumi.set(__self__, "persistent_directories", persistent_directories)
117
108
  if project is not None:
@@ -162,19 +153,6 @@ class WorkstationConfigArgs:
162
153
  def workstation_config_id(self, value: pulumi.Input[str]):
163
154
  pulumi.set(self, "workstation_config_id", value)
164
155
 
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
-
178
156
  @property
179
157
  @pulumi.getter
180
158
  def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -307,18 +285,6 @@ class WorkstationConfigArgs:
307
285
  def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
308
286
  pulumi.set(self, "labels", value)
309
287
 
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
-
322
288
  @property
323
289
  @pulumi.getter(name="persistentDirectories")
324
290
  def persistent_directories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]]]:
@@ -388,7 +354,6 @@ class WorkstationConfigArgs:
388
354
  @pulumi.input_type
389
355
  class _WorkstationConfigState:
390
356
  def __init__(__self__, *,
391
- allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigAllowedPortArgs']]]] = None,
392
357
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
393
358
  conditions: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigConditionArgs']]]] = None,
394
359
  container: Optional[pulumi.Input['WorkstationConfigContainerArgs']] = None,
@@ -406,7 +371,6 @@ class _WorkstationConfigState:
406
371
  idle_timeout: Optional[pulumi.Input[str]] = None,
407
372
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
408
373
  location: Optional[pulumi.Input[str]] = None,
409
- max_usable_workstations: Optional[pulumi.Input[int]] = None,
410
374
  name: Optional[pulumi.Input[str]] = None,
411
375
  persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]]] = None,
412
376
  project: Optional[pulumi.Input[str]] = None,
@@ -419,8 +383,6 @@ class _WorkstationConfigState:
419
383
  workstation_config_id: Optional[pulumi.Input[str]] = None):
420
384
  """
421
385
  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.
424
386
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
425
387
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
426
388
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
@@ -454,7 +416,6 @@ class _WorkstationConfigState:
454
416
 
455
417
 
456
418
  - - -
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.
458
419
  :param pulumi.Input[str] name: Full name of this resource.
459
420
  :param pulumi.Input[Sequence[pulumi.Input['WorkstationConfigPersistentDirectoryArgs']]] persistent_directories: Directories to persist across workstation sessions.
460
421
  Structure is documented below.
@@ -472,8 +433,6 @@ class _WorkstationConfigState:
472
433
  :param pulumi.Input[str] workstation_cluster_id: The ID of the parent workstation cluster.
473
434
  :param pulumi.Input[str] workstation_config_id: The ID to be assigned to the workstation cluster config.
474
435
  """
475
- if allowed_ports is not None:
476
- pulumi.set(__self__, "allowed_ports", allowed_ports)
477
436
  if annotations is not None:
478
437
  pulumi.set(__self__, "annotations", annotations)
479
438
  if conditions is not None:
@@ -508,8 +467,6 @@ class _WorkstationConfigState:
508
467
  pulumi.set(__self__, "labels", labels)
509
468
  if location is not None:
510
469
  pulumi.set(__self__, "location", location)
511
- if max_usable_workstations is not None:
512
- pulumi.set(__self__, "max_usable_workstations", max_usable_workstations)
513
470
  if name is not None:
514
471
  pulumi.set(__self__, "name", name)
515
472
  if persistent_directories is not None:
@@ -531,19 +488,6 @@ class _WorkstationConfigState:
531
488
  if workstation_config_id is not None:
532
489
  pulumi.set(__self__, "workstation_config_id", workstation_config_id)
533
490
 
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
-
547
491
  @property
548
492
  @pulumi.getter
549
493
  def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -762,18 +706,6 @@ class _WorkstationConfigState:
762
706
  def location(self, value: Optional[pulumi.Input[str]]):
763
707
  pulumi.set(self, "location", value)
764
708
 
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
-
777
709
  @property
778
710
  @pulumi.getter
779
711
  def name(self) -> Optional[pulumi.Input[str]]:
@@ -906,7 +838,6 @@ class WorkstationConfig(pulumi.CustomResource):
906
838
  def __init__(__self__,
907
839
  resource_name: str,
908
840
  opts: Optional[pulumi.ResourceOptions] = None,
909
- allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]]] = None,
910
841
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
911
842
  container: Optional[pulumi.Input[Union['WorkstationConfigContainerArgs', 'WorkstationConfigContainerArgsDict']]] = None,
912
843
  disable_tcp_connections: Optional[pulumi.Input[bool]] = None,
@@ -918,7 +849,6 @@ class WorkstationConfig(pulumi.CustomResource):
918
849
  idle_timeout: Optional[pulumi.Input[str]] = None,
919
850
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
920
851
  location: Optional[pulumi.Input[str]] = None,
921
- max_usable_workstations: Optional[pulumi.Input[int]] = None,
922
852
  persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]]] = None,
923
853
  project: Optional[pulumi.Input[str]] = None,
924
854
  readiness_checks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigReadinessCheckArgs', 'WorkstationConfigReadinessCheckArgsDict']]]]] = None,
@@ -977,7 +907,6 @@ class WorkstationConfig(pulumi.CustomResource):
977
907
  labels={
978
908
  "label": "key",
979
909
  },
980
- max_usable_workstations=1,
981
910
  host={
982
911
  "gce_instance": {
983
912
  "machine_type": "e2-standard-4",
@@ -1319,57 +1248,6 @@ class WorkstationConfig(pulumi.CustomResource):
1319
1248
  "kms_key_service_account": default_account.email,
1320
1249
  })
1321
1250
  ```
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
- ```
1373
1251
 
1374
1252
  ## Import
1375
1253
 
@@ -1397,8 +1275,6 @@ class WorkstationConfig(pulumi.CustomResource):
1397
1275
 
1398
1276
  :param str resource_name: The name of the resource.
1399
1277
  :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.
1402
1278
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
1403
1279
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
1404
1280
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
@@ -1425,7 +1301,6 @@ class WorkstationConfig(pulumi.CustomResource):
1425
1301
 
1426
1302
 
1427
1303
  - - -
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.
1429
1304
  :param pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]] persistent_directories: Directories to persist across workstation sessions.
1430
1305
  Structure is documented below.
1431
1306
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
@@ -1495,7 +1370,6 @@ class WorkstationConfig(pulumi.CustomResource):
1495
1370
  labels={
1496
1371
  "label": "key",
1497
1372
  },
1498
- max_usable_workstations=1,
1499
1373
  host={
1500
1374
  "gce_instance": {
1501
1375
  "machine_type": "e2-standard-4",
@@ -1837,57 +1711,6 @@ class WorkstationConfig(pulumi.CustomResource):
1837
1711
  "kms_key_service_account": default_account.email,
1838
1712
  })
1839
1713
  ```
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
- ```
1891
1714
 
1892
1715
  ## Import
1893
1716
 
@@ -1928,7 +1751,6 @@ class WorkstationConfig(pulumi.CustomResource):
1928
1751
  def _internal_init(__self__,
1929
1752
  resource_name: str,
1930
1753
  opts: Optional[pulumi.ResourceOptions] = None,
1931
- allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]]] = None,
1932
1754
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1933
1755
  container: Optional[pulumi.Input[Union['WorkstationConfigContainerArgs', 'WorkstationConfigContainerArgsDict']]] = None,
1934
1756
  disable_tcp_connections: Optional[pulumi.Input[bool]] = None,
@@ -1940,7 +1762,6 @@ class WorkstationConfig(pulumi.CustomResource):
1940
1762
  idle_timeout: Optional[pulumi.Input[str]] = None,
1941
1763
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1942
1764
  location: Optional[pulumi.Input[str]] = None,
1943
- max_usable_workstations: Optional[pulumi.Input[int]] = None,
1944
1765
  persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]]] = None,
1945
1766
  project: Optional[pulumi.Input[str]] = None,
1946
1767
  readiness_checks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigReadinessCheckArgs', 'WorkstationConfigReadinessCheckArgsDict']]]]] = None,
@@ -1957,7 +1778,6 @@ class WorkstationConfig(pulumi.CustomResource):
1957
1778
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
1958
1779
  __props__ = WorkstationConfigArgs.__new__(WorkstationConfigArgs)
1959
1780
 
1960
- __props__.__dict__["allowed_ports"] = allowed_ports
1961
1781
  __props__.__dict__["annotations"] = annotations
1962
1782
  __props__.__dict__["container"] = container
1963
1783
  __props__.__dict__["disable_tcp_connections"] = disable_tcp_connections
@@ -1971,7 +1791,6 @@ class WorkstationConfig(pulumi.CustomResource):
1971
1791
  if location is None and not opts.urn:
1972
1792
  raise TypeError("Missing required property 'location'")
1973
1793
  __props__.__dict__["location"] = location
1974
- __props__.__dict__["max_usable_workstations"] = max_usable_workstations
1975
1794
  __props__.__dict__["persistent_directories"] = persistent_directories
1976
1795
  __props__.__dict__["project"] = project
1977
1796
  __props__.__dict__["readiness_checks"] = readiness_checks
@@ -2004,7 +1823,6 @@ class WorkstationConfig(pulumi.CustomResource):
2004
1823
  def get(resource_name: str,
2005
1824
  id: pulumi.Input[str],
2006
1825
  opts: Optional[pulumi.ResourceOptions] = None,
2007
- allowed_ports: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigAllowedPortArgs', 'WorkstationConfigAllowedPortArgsDict']]]]] = None,
2008
1826
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2009
1827
  conditions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigConditionArgs', 'WorkstationConfigConditionArgsDict']]]]] = None,
2010
1828
  container: Optional[pulumi.Input[Union['WorkstationConfigContainerArgs', 'WorkstationConfigContainerArgsDict']]] = None,
@@ -2022,7 +1840,6 @@ class WorkstationConfig(pulumi.CustomResource):
2022
1840
  idle_timeout: Optional[pulumi.Input[str]] = None,
2023
1841
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
2024
1842
  location: Optional[pulumi.Input[str]] = None,
2025
- max_usable_workstations: Optional[pulumi.Input[int]] = None,
2026
1843
  name: Optional[pulumi.Input[str]] = None,
2027
1844
  persistent_directories: Optional[pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]]] = None,
2028
1845
  project: Optional[pulumi.Input[str]] = None,
@@ -2040,8 +1857,6 @@ class WorkstationConfig(pulumi.CustomResource):
2040
1857
  :param str resource_name: The unique name of the resulting resource.
2041
1858
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
2042
1859
  :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.
2045
1860
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Client-specified annotations. This is distinct from labels.
2046
1861
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
2047
1862
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
@@ -2075,7 +1890,6 @@ class WorkstationConfig(pulumi.CustomResource):
2075
1890
 
2076
1891
 
2077
1892
  - - -
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.
2079
1893
  :param pulumi.Input[str] name: Full name of this resource.
2080
1894
  :param pulumi.Input[Sequence[pulumi.Input[Union['WorkstationConfigPersistentDirectoryArgs', 'WorkstationConfigPersistentDirectoryArgsDict']]]] persistent_directories: Directories to persist across workstation sessions.
2081
1895
  Structure is documented below.
@@ -2097,7 +1911,6 @@ class WorkstationConfig(pulumi.CustomResource):
2097
1911
 
2098
1912
  __props__ = _WorkstationConfigState.__new__(_WorkstationConfigState)
2099
1913
 
2100
- __props__.__dict__["allowed_ports"] = allowed_ports
2101
1914
  __props__.__dict__["annotations"] = annotations
2102
1915
  __props__.__dict__["conditions"] = conditions
2103
1916
  __props__.__dict__["container"] = container
@@ -2115,7 +1928,6 @@ class WorkstationConfig(pulumi.CustomResource):
2115
1928
  __props__.__dict__["idle_timeout"] = idle_timeout
2116
1929
  __props__.__dict__["labels"] = labels
2117
1930
  __props__.__dict__["location"] = location
2118
- __props__.__dict__["max_usable_workstations"] = max_usable_workstations
2119
1931
  __props__.__dict__["name"] = name
2120
1932
  __props__.__dict__["persistent_directories"] = persistent_directories
2121
1933
  __props__.__dict__["project"] = project
@@ -2128,15 +1940,6 @@ class WorkstationConfig(pulumi.CustomResource):
2128
1940
  __props__.__dict__["workstation_config_id"] = workstation_config_id
2129
1941
  return WorkstationConfig(resource_name, opts=opts, __props__=__props__)
2130
1942
 
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
-
2140
1943
  @property
2141
1944
  @pulumi.getter
2142
1945
  def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
@@ -2287,14 +2090,6 @@ class WorkstationConfig(pulumi.CustomResource):
2287
2090
  """
2288
2091
  return pulumi.get(self, "location")
2289
2092
 
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
-
2298
2093
  @property
2299
2094
  @pulumi.getter
2300
2095
  def name(self) -> pulumi.Output[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_gcp
3
- Version: 8.7.0
3
+ Version: 8.7.0a1729107581
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io