pulumi-gcp 7.7.0a1705990280__py3-none-any.whl → 7.8.0a1706310284__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. pulumi_gcp/__init__.py +56 -0
  2. pulumi_gcp/alloydb/cluster.py +26 -21
  3. pulumi_gcp/bigquery/_inputs.py +231 -0
  4. pulumi_gcp/bigquery/outputs.py +229 -0
  5. pulumi_gcp/bigquery/routine.py +256 -10
  6. pulumi_gcp/bigquery/table.py +47 -0
  7. pulumi_gcp/cloudbuildv2/repository.py +60 -53
  8. pulumi_gcp/cloudrunv2/_inputs.py +176 -4
  9. pulumi_gcp/cloudrunv2/outputs.py +256 -3
  10. pulumi_gcp/cloudrunv2/service.py +148 -0
  11. pulumi_gcp/composer/_inputs.py +24 -0
  12. pulumi_gcp/composer/outputs.py +34 -0
  13. pulumi_gcp/compute/_inputs.py +4 -2
  14. pulumi_gcp/compute/disk.py +14 -14
  15. pulumi_gcp/compute/outputs.py +4 -2
  16. pulumi_gcp/healthcare/fhir_store.py +56 -0
  17. pulumi_gcp/kms/crypto_key.py +2 -2
  18. pulumi_gcp/kms/crypto_key_iam_binding.py +2 -2
  19. pulumi_gcp/kms/crypto_key_iam_member.py +2 -2
  20. pulumi_gcp/kms/crypto_key_iam_policy.py +2 -2
  21. pulumi_gcp/kms/crypto_key_version.py +2 -2
  22. pulumi_gcp/kms/secret_ciphertext.py +2 -2
  23. pulumi_gcp/netapp/__init__.py +4 -0
  24. pulumi_gcp/netapp/_inputs.py +643 -0
  25. pulumi_gcp/netapp/backup_policy.py +829 -0
  26. pulumi_gcp/netapp/kmsconfig.py +2 -2
  27. pulumi_gcp/netapp/outputs.py +651 -0
  28. pulumi_gcp/netapp/volume.py +1467 -0
  29. pulumi_gcp/networksecurity/__init__.py +5 -0
  30. pulumi_gcp/networksecurity/_inputs.py +228 -0
  31. pulumi_gcp/networksecurity/address_group_iam_binding.py +324 -0
  32. pulumi_gcp/networksecurity/address_group_iam_member.py +324 -0
  33. pulumi_gcp/networksecurity/address_group_iam_policy.py +492 -0
  34. pulumi_gcp/networksecurity/get_address_group_iam_policy.py +144 -0
  35. pulumi_gcp/networksecurity/outputs.py +212 -0
  36. pulumi_gcp/networksecurity/security_profile.py +800 -0
  37. pulumi_gcp/networkservices/gateway.py +1 -1
  38. pulumi_gcp/organizations/get_folders.py +1 -1
  39. pulumi_gcp/orgpolicy/_inputs.py +12 -12
  40. pulumi_gcp/orgpolicy/outputs.py +12 -12
  41. pulumi_gcp/securesourcemanager/instance.py +4 -2
  42. pulumi_gcp/storage/insights_report_config.py +12 -10
  43. pulumi_gcp/vertex/__init__.py +1 -0
  44. pulumi_gcp/vertex/ai_feature_group_feature.py +767 -0
  45. pulumi_gcp/workstations/workstation_config.py +47 -0
  46. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/METADATA +1 -1
  47. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/RECORD +49 -39
  48. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/WHEEL +0 -0
  49. {pulumi_gcp-7.7.0a1705990280.dist-info → pulumi_gcp-7.8.0a1706310284.dist-info}/top_level.txt +0 -0
@@ -23,18 +23,17 @@ class RepositoryArgs:
23
23
  """
24
24
  The set of arguments for constructing a Repository resource.
25
25
  :param pulumi.Input[str] parent_connection: The connection for the resource
26
- :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
27
-
28
26
 
29
27
 
30
28
  - - -
29
+ :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
31
30
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
32
-
33
31
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
34
32
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
35
33
  :param pulumi.Input[str] location: The location for the resource
36
34
  :param pulumi.Input[str] name: Name of the repository.
37
- :param pulumi.Input[str] project: The project for the resource
35
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
36
+ If it is not provided, the provider project is used.
38
37
  """
39
38
  pulumi.set(__self__, "parent_connection", parent_connection)
40
39
  pulumi.set(__self__, "remote_uri", remote_uri)
@@ -52,6 +51,9 @@ class RepositoryArgs:
52
51
  def parent_connection(self) -> pulumi.Input[str]:
53
52
  """
54
53
  The connection for the resource
54
+
55
+
56
+ - - -
55
57
  """
56
58
  return pulumi.get(self, "parent_connection")
57
59
 
@@ -64,10 +66,6 @@ class RepositoryArgs:
64
66
  def remote_uri(self) -> pulumi.Input[str]:
65
67
  """
66
68
  Required. Git Clone HTTPS URI.
67
-
68
-
69
-
70
- - - -
71
69
  """
72
70
  return pulumi.get(self, "remote_uri")
73
71
 
@@ -80,7 +78,6 @@ class RepositoryArgs:
80
78
  def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
81
79
  """
82
80
  Allows clients to store small amounts of arbitrary data.
83
-
84
81
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
85
82
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
86
83
  """
@@ -118,7 +115,8 @@ class RepositoryArgs:
118
115
  @pulumi.getter
119
116
  def project(self) -> Optional[pulumi.Input[str]]:
120
117
  """
121
- The project for the resource
118
+ The ID of the project in which the resource belongs.
119
+ If it is not provided, the provider project is used.
122
120
  """
123
121
  return pulumi.get(self, "project")
124
122
 
@@ -132,7 +130,7 @@ class _RepositoryState:
132
130
  def __init__(__self__, *,
133
131
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
134
132
  create_time: Optional[pulumi.Input[str]] = None,
135
- effective_annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None,
133
+ effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
136
134
  etag: Optional[pulumi.Input[str]] = None,
137
135
  location: Optional[pulumi.Input[str]] = None,
138
136
  name: Optional[pulumi.Input[str]] = None,
@@ -143,22 +141,21 @@ class _RepositoryState:
143
141
  """
144
142
  Input properties used for looking up and filtering Repository resources.
145
143
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
146
-
147
144
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
148
145
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
149
146
  :param pulumi.Input[str] create_time: Output only. Server assigned timestamp for when the connection was created.
150
- :param pulumi.Input[Mapping[str, Any]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
147
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
151
148
  Terraform, other clients and services.
152
149
  :param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
153
150
  :param pulumi.Input[str] location: The location for the resource
154
151
  :param pulumi.Input[str] name: Name of the repository.
155
152
  :param pulumi.Input[str] parent_connection: The connection for the resource
156
- :param pulumi.Input[str] project: The project for the resource
157
- :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
158
-
159
153
 
160
154
 
161
155
  - - -
156
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
157
+ If it is not provided, the provider project is used.
158
+ :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
162
159
  :param pulumi.Input[str] update_time: Output only. Server assigned timestamp for when the connection was updated.
163
160
  """
164
161
  if annotations is not None:
@@ -187,7 +184,6 @@ class _RepositoryState:
187
184
  def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
188
185
  """
189
186
  Allows clients to store small amounts of arbitrary data.
190
-
191
187
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
192
188
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
193
189
  """
@@ -211,7 +207,7 @@ class _RepositoryState:
211
207
 
212
208
  @property
213
209
  @pulumi.getter(name="effectiveAnnotations")
214
- def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
210
+ def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
215
211
  """
216
212
  All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
217
213
  Terraform, other clients and services.
@@ -219,7 +215,7 @@ class _RepositoryState:
219
215
  return pulumi.get(self, "effective_annotations")
220
216
 
221
217
  @effective_annotations.setter
222
- def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
218
+ def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
223
219
  pulumi.set(self, "effective_annotations", value)
224
220
 
225
221
  @property
@@ -263,6 +259,9 @@ class _RepositoryState:
263
259
  def parent_connection(self) -> Optional[pulumi.Input[str]]:
264
260
  """
265
261
  The connection for the resource
262
+
263
+
264
+ - - -
266
265
  """
267
266
  return pulumi.get(self, "parent_connection")
268
267
 
@@ -274,7 +273,8 @@ class _RepositoryState:
274
273
  @pulumi.getter
275
274
  def project(self) -> Optional[pulumi.Input[str]]:
276
275
  """
277
- The project for the resource
276
+ The ID of the project in which the resource belongs.
277
+ If it is not provided, the provider project is used.
278
278
  """
279
279
  return pulumi.get(self, "project")
280
280
 
@@ -287,10 +287,6 @@ class _RepositoryState:
287
287
  def remote_uri(self) -> Optional[pulumi.Input[str]]:
288
288
  """
289
289
  Required. Git Clone HTTPS URI.
290
-
291
-
292
-
293
- - - -
294
290
  """
295
291
  return pulumi.get(self, "remote_uri")
296
292
 
@@ -324,10 +320,17 @@ class Repository(pulumi.CustomResource):
324
320
  remote_uri: Optional[pulumi.Input[str]] = None,
325
321
  __props__=None):
326
322
  """
327
- The Cloudbuildv2 Repository resource
323
+ A repository associated to a parent connection.
324
+
325
+ To get more information about Repository, see:
326
+
327
+ * [API documentation](https://cloud.google.com/build/docs/api/reference/rest)
328
+ * How-to Guides
329
+ * [Official Documentation](https://cloud.google.com/build/docs)
328
330
 
329
331
  ## Example Usage
330
- ### Ghe
332
+ ### Cloudbuildv2 Repository Ghe Doc
333
+
331
334
  ```python
332
335
  import pulumi
333
336
  import pulumi_gcp as gcp
@@ -377,8 +380,8 @@ class Repository(pulumi.CustomResource):
377
380
  parent_connection=my_connection.id,
378
381
  remote_uri="https://ghe.com/hashicorp/terraform-provider-google.git")
379
382
  ```
380
- ### Repository In GitHub Connection
381
- Creates a Repository resource inside a Connection to github.com
383
+ ### Cloudbuildv2 Repository Github Doc
384
+
382
385
  ```python
383
386
  import pulumi
384
387
  import pulumi_gcp as gcp
@@ -399,7 +402,7 @@ class Repository(pulumi.CustomResource):
399
402
  secret_id=github_token_secret.secret_id,
400
403
  policy_data=p4sa_secret_accessor.policy_data)
401
404
  my_connection = gcp.cloudbuildv2.Connection("my-connection",
402
- location="us-west1",
405
+ location="us-central1",
403
406
  github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
404
407
  app_installation_id=123123,
405
408
  authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
@@ -407,7 +410,7 @@ class Repository(pulumi.CustomResource):
407
410
  ),
408
411
  ))
409
412
  my_repository = gcp.cloudbuildv2.Repository("my-repository",
410
- location="us-west1",
413
+ location="us-central1",
411
414
  parent_connection=my_connection.name,
412
415
  remote_uri="https://github.com/myuser/myrepo.git")
413
416
  ```
@@ -439,18 +442,17 @@ class Repository(pulumi.CustomResource):
439
442
  :param str resource_name: The name of the resource.
440
443
  :param pulumi.ResourceOptions opts: Options for the resource.
441
444
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
442
-
443
445
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
444
446
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
445
447
  :param pulumi.Input[str] location: The location for the resource
446
448
  :param pulumi.Input[str] name: Name of the repository.
447
449
  :param pulumi.Input[str] parent_connection: The connection for the resource
448
- :param pulumi.Input[str] project: The project for the resource
449
- :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
450
-
451
450
 
452
451
 
453
452
  - - -
453
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
454
+ If it is not provided, the provider project is used.
455
+ :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
454
456
  """
455
457
  ...
456
458
  @overload
@@ -459,10 +461,17 @@ class Repository(pulumi.CustomResource):
459
461
  args: RepositoryArgs,
460
462
  opts: Optional[pulumi.ResourceOptions] = None):
461
463
  """
462
- The Cloudbuildv2 Repository resource
464
+ A repository associated to a parent connection.
465
+
466
+ To get more information about Repository, see:
467
+
468
+ * [API documentation](https://cloud.google.com/build/docs/api/reference/rest)
469
+ * How-to Guides
470
+ * [Official Documentation](https://cloud.google.com/build/docs)
463
471
 
464
472
  ## Example Usage
465
- ### Ghe
473
+ ### Cloudbuildv2 Repository Ghe Doc
474
+
466
475
  ```python
467
476
  import pulumi
468
477
  import pulumi_gcp as gcp
@@ -512,8 +521,8 @@ class Repository(pulumi.CustomResource):
512
521
  parent_connection=my_connection.id,
513
522
  remote_uri="https://ghe.com/hashicorp/terraform-provider-google.git")
514
523
  ```
515
- ### Repository In GitHub Connection
516
- Creates a Repository resource inside a Connection to github.com
524
+ ### Cloudbuildv2 Repository Github Doc
525
+
517
526
  ```python
518
527
  import pulumi
519
528
  import pulumi_gcp as gcp
@@ -534,7 +543,7 @@ class Repository(pulumi.CustomResource):
534
543
  secret_id=github_token_secret.secret_id,
535
544
  policy_data=p4sa_secret_accessor.policy_data)
536
545
  my_connection = gcp.cloudbuildv2.Connection("my-connection",
537
- location="us-west1",
546
+ location="us-central1",
538
547
  github_config=gcp.cloudbuildv2.ConnectionGithubConfigArgs(
539
548
  app_installation_id=123123,
540
549
  authorizer_credential=gcp.cloudbuildv2.ConnectionGithubConfigAuthorizerCredentialArgs(
@@ -542,7 +551,7 @@ class Repository(pulumi.CustomResource):
542
551
  ),
543
552
  ))
544
553
  my_repository = gcp.cloudbuildv2.Repository("my-repository",
545
- location="us-west1",
554
+ location="us-central1",
546
555
  parent_connection=my_connection.name,
547
556
  remote_uri="https://github.com/myuser/myrepo.git")
548
557
  ```
@@ -627,7 +636,7 @@ class Repository(pulumi.CustomResource):
627
636
  opts: Optional[pulumi.ResourceOptions] = None,
628
637
  annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
629
638
  create_time: Optional[pulumi.Input[str]] = None,
630
- effective_annotations: Optional[pulumi.Input[Mapping[str, Any]]] = None,
639
+ effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
631
640
  etag: Optional[pulumi.Input[str]] = None,
632
641
  location: Optional[pulumi.Input[str]] = None,
633
642
  name: Optional[pulumi.Input[str]] = None,
@@ -643,22 +652,21 @@ class Repository(pulumi.CustomResource):
643
652
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
644
653
  :param pulumi.ResourceOptions opts: Options for the resource.
645
654
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Allows clients to store small amounts of arbitrary data.
646
-
647
655
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
648
656
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
649
657
  :param pulumi.Input[str] create_time: Output only. Server assigned timestamp for when the connection was created.
650
- :param pulumi.Input[Mapping[str, Any]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
658
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_annotations: All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
651
659
  Terraform, other clients and services.
652
660
  :param pulumi.Input[str] etag: This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
653
661
  :param pulumi.Input[str] location: The location for the resource
654
662
  :param pulumi.Input[str] name: Name of the repository.
655
663
  :param pulumi.Input[str] parent_connection: The connection for the resource
656
- :param pulumi.Input[str] project: The project for the resource
657
- :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
658
-
659
664
 
660
665
 
661
666
  - - -
667
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
668
+ If it is not provided, the provider project is used.
669
+ :param pulumi.Input[str] remote_uri: Required. Git Clone HTTPS URI.
662
670
  :param pulumi.Input[str] update_time: Output only. Server assigned timestamp for when the connection was updated.
663
671
  """
664
672
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -682,7 +690,6 @@ class Repository(pulumi.CustomResource):
682
690
  def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
683
691
  """
684
692
  Allows clients to store small amounts of arbitrary data.
685
-
686
693
  **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
687
694
  Please refer to the field `effective_annotations` for all of the annotations present on the resource.
688
695
  """
@@ -698,7 +705,7 @@ class Repository(pulumi.CustomResource):
698
705
 
699
706
  @property
700
707
  @pulumi.getter(name="effectiveAnnotations")
701
- def effective_annotations(self) -> pulumi.Output[Mapping[str, Any]]:
708
+ def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
702
709
  """
703
710
  All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
704
711
  Terraform, other clients and services.
@@ -734,6 +741,9 @@ class Repository(pulumi.CustomResource):
734
741
  def parent_connection(self) -> pulumi.Output[str]:
735
742
  """
736
743
  The connection for the resource
744
+
745
+
746
+ - - -
737
747
  """
738
748
  return pulumi.get(self, "parent_connection")
739
749
 
@@ -741,7 +751,8 @@ class Repository(pulumi.CustomResource):
741
751
  @pulumi.getter
742
752
  def project(self) -> pulumi.Output[str]:
743
753
  """
744
- The project for the resource
754
+ The ID of the project in which the resource belongs.
755
+ If it is not provided, the provider project is used.
745
756
  """
746
757
  return pulumi.get(self, "project")
747
758
 
@@ -750,10 +761,6 @@ class Repository(pulumi.CustomResource):
750
761
  def remote_uri(self) -> pulumi.Output[str]:
751
762
  """
752
763
  Required. Git Clone HTTPS URI.
753
-
754
-
755
-
756
- - - -
757
764
  """
758
765
  return pulumi.get(self, "remote_uri")
759
766
 
@@ -45,6 +45,7 @@ __all__ = [
45
45
  'ServiceTemplateContainerLivenessProbeGrpcArgs',
46
46
  'ServiceTemplateContainerLivenessProbeHttpGetArgs',
47
47
  'ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs',
48
+ 'ServiceTemplateContainerLivenessProbeTcpSocketArgs',
48
49
  'ServiceTemplateContainerPortArgs',
49
50
  'ServiceTemplateContainerResourcesArgs',
50
51
  'ServiceTemplateContainerStartupProbeArgs',
@@ -57,6 +58,8 @@ __all__ = [
57
58
  'ServiceTemplateVolumeArgs',
58
59
  'ServiceTemplateVolumeCloudSqlInstanceArgs',
59
60
  'ServiceTemplateVolumeEmptyDirArgs',
61
+ 'ServiceTemplateVolumeGcsArgs',
62
+ 'ServiceTemplateVolumeNfsArgs',
60
63
  'ServiceTemplateVolumeSecretArgs',
61
64
  'ServiceTemplateVolumeSecretItemArgs',
62
65
  'ServiceTemplateVpcAccessArgs',
@@ -2395,6 +2398,7 @@ class ServiceTemplateContainerLivenessProbeArgs:
2395
2398
  http_get: Optional[pulumi.Input['ServiceTemplateContainerLivenessProbeHttpGetArgs']] = None,
2396
2399
  initial_delay_seconds: Optional[pulumi.Input[int]] = None,
2397
2400
  period_seconds: Optional[pulumi.Input[int]] = None,
2401
+ tcp_socket: Optional[pulumi.Input['ServiceTemplateContainerLivenessProbeTcpSocketArgs']] = None,
2398
2402
  timeout_seconds: Optional[pulumi.Input[int]] = None):
2399
2403
  """
2400
2404
  :param pulumi.Input[int] failure_threshold: Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
@@ -2404,6 +2408,8 @@ class ServiceTemplateContainerLivenessProbeArgs:
2404
2408
  Structure is documented below.
2405
2409
  :param pulumi.Input[int] initial_delay_seconds: Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2406
2410
  :param pulumi.Input[int] period_seconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
2411
+ :param pulumi.Input['ServiceTemplateContainerLivenessProbeTcpSocketArgs'] tcp_socket: TCPSocketAction describes an action based on opening a socket
2412
+ Structure is documented below.
2407
2413
  :param pulumi.Input[int] timeout_seconds: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
2408
2414
  """
2409
2415
  if failure_threshold is not None:
@@ -2416,6 +2422,8 @@ class ServiceTemplateContainerLivenessProbeArgs:
2416
2422
  pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
2417
2423
  if period_seconds is not None:
2418
2424
  pulumi.set(__self__, "period_seconds", period_seconds)
2425
+ if tcp_socket is not None:
2426
+ pulumi.set(__self__, "tcp_socket", tcp_socket)
2419
2427
  if timeout_seconds is not None:
2420
2428
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
2421
2429
 
@@ -2481,6 +2489,19 @@ class ServiceTemplateContainerLivenessProbeArgs:
2481
2489
  def period_seconds(self, value: Optional[pulumi.Input[int]]):
2482
2490
  pulumi.set(self, "period_seconds", value)
2483
2491
 
2492
+ @property
2493
+ @pulumi.getter(name="tcpSocket")
2494
+ def tcp_socket(self) -> Optional[pulumi.Input['ServiceTemplateContainerLivenessProbeTcpSocketArgs']]:
2495
+ """
2496
+ TCPSocketAction describes an action based on opening a socket
2497
+ Structure is documented below.
2498
+ """
2499
+ return pulumi.get(self, "tcp_socket")
2500
+
2501
+ @tcp_socket.setter
2502
+ def tcp_socket(self, value: Optional[pulumi.Input['ServiceTemplateContainerLivenessProbeTcpSocketArgs']]):
2503
+ pulumi.set(self, "tcp_socket", value)
2504
+
2484
2505
  @property
2485
2506
  @pulumi.getter(name="timeoutSeconds")
2486
2507
  def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
@@ -2636,6 +2657,30 @@ class ServiceTemplateContainerLivenessProbeHttpGetHttpHeaderArgs:
2636
2657
  pulumi.set(self, "value", value)
2637
2658
 
2638
2659
 
2660
+ @pulumi.input_type
2661
+ class ServiceTemplateContainerLivenessProbeTcpSocketArgs:
2662
+ def __init__(__self__, *,
2663
+ port: pulumi.Input[int]):
2664
+ """
2665
+ :param pulumi.Input[int] port: Port number to access on the container. Must be in the range 1 to 65535.
2666
+ If not specified, defaults to the same value as container.ports[0].containerPort.
2667
+ """
2668
+ pulumi.set(__self__, "port", port)
2669
+
2670
+ @property
2671
+ @pulumi.getter
2672
+ def port(self) -> pulumi.Input[int]:
2673
+ """
2674
+ Port number to access on the container. Must be in the range 1 to 65535.
2675
+ If not specified, defaults to the same value as container.ports[0].containerPort.
2676
+ """
2677
+ return pulumi.get(self, "port")
2678
+
2679
+ @port.setter
2680
+ def port(self, value: pulumi.Input[int]):
2681
+ pulumi.set(self, "port", value)
2682
+
2683
+
2639
2684
  @pulumi.input_type
2640
2685
  class ServiceTemplateContainerPortArgs:
2641
2686
  def __init__(__self__, *,
@@ -3104,11 +3149,17 @@ class ServiceTemplateVolumeArgs:
3104
3149
  name: pulumi.Input[str],
3105
3150
  cloud_sql_instance: Optional[pulumi.Input['ServiceTemplateVolumeCloudSqlInstanceArgs']] = None,
3106
3151
  empty_dir: Optional[pulumi.Input['ServiceTemplateVolumeEmptyDirArgs']] = None,
3152
+ gcs: Optional[pulumi.Input['ServiceTemplateVolumeGcsArgs']] = None,
3153
+ nfs: Optional[pulumi.Input['ServiceTemplateVolumeNfsArgs']] = None,
3107
3154
  secret: Optional[pulumi.Input['ServiceTemplateVolumeSecretArgs']] = None):
3108
3155
  """
3109
3156
  :param pulumi.Input[str] name: Volume's name.
3110
3157
  :param pulumi.Input['ServiceTemplateVolumeCloudSqlInstanceArgs'] cloud_sql_instance: For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
3111
3158
  Structure is documented below.
3159
+ :param pulumi.Input['ServiceTemplateVolumeGcsArgs'] gcs: Represents a GCS Bucket mounted as a volume.
3160
+ Structure is documented below.
3161
+ :param pulumi.Input['ServiceTemplateVolumeNfsArgs'] nfs: Represents an NFS mount.
3162
+ Structure is documented below.
3112
3163
  :param pulumi.Input['ServiceTemplateVolumeSecretArgs'] secret: Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
3113
3164
  Structure is documented below.
3114
3165
  """
@@ -3117,6 +3168,10 @@ class ServiceTemplateVolumeArgs:
3117
3168
  pulumi.set(__self__, "cloud_sql_instance", cloud_sql_instance)
3118
3169
  if empty_dir is not None:
3119
3170
  pulumi.set(__self__, "empty_dir", empty_dir)
3171
+ if gcs is not None:
3172
+ pulumi.set(__self__, "gcs", gcs)
3173
+ if nfs is not None:
3174
+ pulumi.set(__self__, "nfs", nfs)
3120
3175
  if secret is not None:
3121
3176
  pulumi.set(__self__, "secret", secret)
3122
3177
 
@@ -3154,6 +3209,32 @@ class ServiceTemplateVolumeArgs:
3154
3209
  def empty_dir(self, value: Optional[pulumi.Input['ServiceTemplateVolumeEmptyDirArgs']]):
3155
3210
  pulumi.set(self, "empty_dir", value)
3156
3211
 
3212
+ @property
3213
+ @pulumi.getter
3214
+ def gcs(self) -> Optional[pulumi.Input['ServiceTemplateVolumeGcsArgs']]:
3215
+ """
3216
+ Represents a GCS Bucket mounted as a volume.
3217
+ Structure is documented below.
3218
+ """
3219
+ return pulumi.get(self, "gcs")
3220
+
3221
+ @gcs.setter
3222
+ def gcs(self, value: Optional[pulumi.Input['ServiceTemplateVolumeGcsArgs']]):
3223
+ pulumi.set(self, "gcs", value)
3224
+
3225
+ @property
3226
+ @pulumi.getter
3227
+ def nfs(self) -> Optional[pulumi.Input['ServiceTemplateVolumeNfsArgs']]:
3228
+ """
3229
+ Represents an NFS mount.
3230
+ Structure is documented below.
3231
+ """
3232
+ return pulumi.get(self, "nfs")
3233
+
3234
+ @nfs.setter
3235
+ def nfs(self, value: Optional[pulumi.Input['ServiceTemplateVolumeNfsArgs']]):
3236
+ pulumi.set(self, "nfs", value)
3237
+
3157
3238
  @property
3158
3239
  @pulumi.getter
3159
3240
  def secret(self) -> Optional[pulumi.Input['ServiceTemplateVolumeSecretArgs']]:
@@ -3201,8 +3282,6 @@ class ServiceTemplateVolumeEmptyDirArgs:
3201
3282
  Default value is `MEMORY`.
3202
3283
  Possible values are: `MEMORY`.
3203
3284
  :param pulumi.Input[str] size_limit: Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
3204
-
3205
- - - -
3206
3285
  """
3207
3286
  if medium is not None:
3208
3287
  pulumi.set(__self__, "medium", medium)
@@ -3228,8 +3307,6 @@ class ServiceTemplateVolumeEmptyDirArgs:
3228
3307
  def size_limit(self) -> Optional[pulumi.Input[str]]:
3229
3308
  """
3230
3309
  Limit on the storage usable by this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. This field's values are of the 'Quantity' k8s type: https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/quantity/. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir.
3231
-
3232
- - - -
3233
3310
  """
3234
3311
  return pulumi.get(self, "size_limit")
3235
3312
 
@@ -3238,6 +3315,101 @@ class ServiceTemplateVolumeEmptyDirArgs:
3238
3315
  pulumi.set(self, "size_limit", value)
3239
3316
 
3240
3317
 
3318
+ @pulumi.input_type
3319
+ class ServiceTemplateVolumeGcsArgs:
3320
+ def __init__(__self__, *,
3321
+ bucket: pulumi.Input[str],
3322
+ read_only: Optional[pulumi.Input[bool]] = None):
3323
+ """
3324
+ :param pulumi.Input[str] bucket: GCS Bucket name
3325
+ :param pulumi.Input[bool] read_only: If true, mount the GCS bucket as read-only
3326
+ """
3327
+ pulumi.set(__self__, "bucket", bucket)
3328
+ if read_only is not None:
3329
+ pulumi.set(__self__, "read_only", read_only)
3330
+
3331
+ @property
3332
+ @pulumi.getter
3333
+ def bucket(self) -> pulumi.Input[str]:
3334
+ """
3335
+ GCS Bucket name
3336
+ """
3337
+ return pulumi.get(self, "bucket")
3338
+
3339
+ @bucket.setter
3340
+ def bucket(self, value: pulumi.Input[str]):
3341
+ pulumi.set(self, "bucket", value)
3342
+
3343
+ @property
3344
+ @pulumi.getter(name="readOnly")
3345
+ def read_only(self) -> Optional[pulumi.Input[bool]]:
3346
+ """
3347
+ If true, mount the GCS bucket as read-only
3348
+ """
3349
+ return pulumi.get(self, "read_only")
3350
+
3351
+ @read_only.setter
3352
+ def read_only(self, value: Optional[pulumi.Input[bool]]):
3353
+ pulumi.set(self, "read_only", value)
3354
+
3355
+
3356
+ @pulumi.input_type
3357
+ class ServiceTemplateVolumeNfsArgs:
3358
+ def __init__(__self__, *,
3359
+ path: pulumi.Input[str],
3360
+ server: pulumi.Input[str],
3361
+ read_only: Optional[pulumi.Input[bool]] = None):
3362
+ """
3363
+ :param pulumi.Input[str] path: Path that is exported by the NFS server.
3364
+ :param pulumi.Input[str] server: Hostname or IP address of the NFS server
3365
+ :param pulumi.Input[bool] read_only: If true, mount the NFS volume as read only
3366
+
3367
+ - - -
3368
+ """
3369
+ pulumi.set(__self__, "path", path)
3370
+ pulumi.set(__self__, "server", server)
3371
+ if read_only is not None:
3372
+ pulumi.set(__self__, "read_only", read_only)
3373
+
3374
+ @property
3375
+ @pulumi.getter
3376
+ def path(self) -> pulumi.Input[str]:
3377
+ """
3378
+ Path that is exported by the NFS server.
3379
+ """
3380
+ return pulumi.get(self, "path")
3381
+
3382
+ @path.setter
3383
+ def path(self, value: pulumi.Input[str]):
3384
+ pulumi.set(self, "path", value)
3385
+
3386
+ @property
3387
+ @pulumi.getter
3388
+ def server(self) -> pulumi.Input[str]:
3389
+ """
3390
+ Hostname or IP address of the NFS server
3391
+ """
3392
+ return pulumi.get(self, "server")
3393
+
3394
+ @server.setter
3395
+ def server(self, value: pulumi.Input[str]):
3396
+ pulumi.set(self, "server", value)
3397
+
3398
+ @property
3399
+ @pulumi.getter(name="readOnly")
3400
+ def read_only(self) -> Optional[pulumi.Input[bool]]:
3401
+ """
3402
+ If true, mount the NFS volume as read only
3403
+
3404
+ - - -
3405
+ """
3406
+ return pulumi.get(self, "read_only")
3407
+
3408
+ @read_only.setter
3409
+ def read_only(self, value: Optional[pulumi.Input[bool]]):
3410
+ pulumi.set(self, "read_only", value)
3411
+
3412
+
3241
3413
  @pulumi.input_type
3242
3414
  class ServiceTemplateVolumeSecretArgs:
3243
3415
  def __init__(__self__, *,