pulumi-gcp 8.30.1a1747132587__py3-none-any.whl → 8.31.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. pulumi_gcp/__init__.py +8 -0
  2. pulumi_gcp/alloydb/_inputs.py +164 -0
  3. pulumi_gcp/alloydb/outputs.py +211 -0
  4. pulumi_gcp/apigee/_inputs.py +20 -0
  5. pulumi_gcp/apigee/outputs.py +12 -0
  6. pulumi_gcp/bigquery/routine.py +56 -0
  7. pulumi_gcp/bigtable/table.py +7 -7
  8. pulumi_gcp/certificateauthority/_inputs.py +20 -19
  9. pulumi_gcp/certificateauthority/authority.py +70 -0
  10. pulumi_gcp/certificateauthority/outputs.py +12 -11
  11. pulumi_gcp/cloudfunctionsv2/function.py +4 -4
  12. pulumi_gcp/compute/__init__.py +1 -0
  13. pulumi_gcp/compute/_inputs.py +312 -0
  14. pulumi_gcp/compute/cross_site_network.py +374 -0
  15. pulumi_gcp/compute/get_health_check.py +12 -1
  16. pulumi_gcp/compute/health_check.py +120 -0
  17. pulumi_gcp/compute/outputs.py +353 -0
  18. pulumi_gcp/compute/region_health_check.py +120 -0
  19. pulumi_gcp/container/_inputs.py +6 -6
  20. pulumi_gcp/container/outputs.py +4 -4
  21. pulumi_gcp/dataproc/get_metastore_service.py +1 -12
  22. pulumi_gcp/dataproc/metastore_service.py +0 -61
  23. pulumi_gcp/diagflow/_inputs.py +6280 -2644
  24. pulumi_gcp/diagflow/cx_flow.py +304 -0
  25. pulumi_gcp/diagflow/cx_page.py +290 -0
  26. pulumi_gcp/diagflow/outputs.py +4616 -1862
  27. pulumi_gcp/netapp/backup.py +56 -0
  28. pulumi_gcp/netapp/backup_vault.py +185 -0
  29. pulumi_gcp/netapp/storage_pool.py +2 -2
  30. pulumi_gcp/networkconnectivity/internal_range.py +47 -0
  31. pulumi_gcp/networkconnectivity/regional_endpoint.py +13 -13
  32. pulumi_gcp/networkservices/_inputs.py +43 -0
  33. pulumi_gcp/networkservices/edge_cache_origin.py +61 -0
  34. pulumi_gcp/networkservices/outputs.py +43 -0
  35. pulumi_gcp/pulumi-plugin.json +1 -1
  36. pulumi_gcp/redis/get_instance.py +1 -12
  37. pulumi_gcp/redis/instance.py +0 -61
  38. pulumi_gcp/spanner/database.py +56 -0
  39. pulumi_gcp/spanner/get_database.py +12 -1
  40. pulumi_gcp/storage/bucket.py +4 -4
  41. pulumi_gcp/storage/get_bucket_object_content.py +29 -1
  42. {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/METADATA +1 -1
  43. {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/RECORD +45 -44
  44. {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/WHEEL +1 -1
  45. {pulumi_gcp-8.30.1a1747132587.dist-info → pulumi_gcp-8.31.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,374 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = ['CrossSiteNetworkArgs', 'CrossSiteNetwork']
19
+
20
+ @pulumi.input_type
21
+ class CrossSiteNetworkArgs:
22
+ def __init__(__self__, *,
23
+ description: Optional[pulumi.Input[builtins.str]] = None,
24
+ name: Optional[pulumi.Input[builtins.str]] = None,
25
+ project: Optional[pulumi.Input[builtins.str]] = None):
26
+ """
27
+ The set of arguments for constructing a CrossSiteNetwork resource.
28
+ :param pulumi.Input[builtins.str] description: An optional description of this resource.
29
+ :param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
30
+ 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
31
+ long and match the regular expression `a-z?` which means the first
32
+ character must be a lowercase letter, and all following characters must be a dash,
33
+ lowercase letter, or digit, except the last character, which cannot be a dash.
34
+
35
+
36
+ - - -
37
+ :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
38
+ If it is not provided, the provider project is used.
39
+ """
40
+ if description is not None:
41
+ pulumi.set(__self__, "description", description)
42
+ if name is not None:
43
+ pulumi.set(__self__, "name", name)
44
+ if project is not None:
45
+ pulumi.set(__self__, "project", project)
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
50
+ """
51
+ An optional description of this resource.
52
+ """
53
+ return pulumi.get(self, "description")
54
+
55
+ @description.setter
56
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
57
+ pulumi.set(self, "description", value)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
62
+ """
63
+ Name of the resource. Provided by the client when the resource is created. The name must be
64
+ 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
65
+ long and match the regular expression `a-z?` which means the first
66
+ character must be a lowercase letter, and all following characters must be a dash,
67
+ lowercase letter, or digit, except the last character, which cannot be a dash.
68
+
69
+
70
+ - - -
71
+ """
72
+ return pulumi.get(self, "name")
73
+
74
+ @name.setter
75
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
76
+ pulumi.set(self, "name", value)
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def project(self) -> Optional[pulumi.Input[builtins.str]]:
81
+ """
82
+ The ID of the project in which the resource belongs.
83
+ If it is not provided, the provider project is used.
84
+ """
85
+ return pulumi.get(self, "project")
86
+
87
+ @project.setter
88
+ def project(self, value: Optional[pulumi.Input[builtins.str]]):
89
+ pulumi.set(self, "project", value)
90
+
91
+
92
+ @pulumi.input_type
93
+ class _CrossSiteNetworkState:
94
+ def __init__(__self__, *,
95
+ description: Optional[pulumi.Input[builtins.str]] = None,
96
+ name: Optional[pulumi.Input[builtins.str]] = None,
97
+ project: Optional[pulumi.Input[builtins.str]] = None):
98
+ """
99
+ Input properties used for looking up and filtering CrossSiteNetwork resources.
100
+ :param pulumi.Input[builtins.str] description: An optional description of this resource.
101
+ :param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
102
+ 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
103
+ long and match the regular expression `a-z?` which means the first
104
+ character must be a lowercase letter, and all following characters must be a dash,
105
+ lowercase letter, or digit, except the last character, which cannot be a dash.
106
+
107
+
108
+ - - -
109
+ :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
110
+ If it is not provided, the provider project is used.
111
+ """
112
+ if description is not None:
113
+ pulumi.set(__self__, "description", description)
114
+ if name is not None:
115
+ pulumi.set(__self__, "name", name)
116
+ if project is not None:
117
+ pulumi.set(__self__, "project", project)
118
+
119
+ @property
120
+ @pulumi.getter
121
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
122
+ """
123
+ An optional description of this resource.
124
+ """
125
+ return pulumi.get(self, "description")
126
+
127
+ @description.setter
128
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
129
+ pulumi.set(self, "description", value)
130
+
131
+ @property
132
+ @pulumi.getter
133
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
134
+ """
135
+ Name of the resource. Provided by the client when the resource is created. The name must be
136
+ 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
137
+ long and match the regular expression `a-z?` which means the first
138
+ character must be a lowercase letter, and all following characters must be a dash,
139
+ lowercase letter, or digit, except the last character, which cannot be a dash.
140
+
141
+
142
+ - - -
143
+ """
144
+ return pulumi.get(self, "name")
145
+
146
+ @name.setter
147
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
148
+ pulumi.set(self, "name", value)
149
+
150
+ @property
151
+ @pulumi.getter
152
+ def project(self) -> Optional[pulumi.Input[builtins.str]]:
153
+ """
154
+ The ID of the project in which the resource belongs.
155
+ If it is not provided, the provider project is used.
156
+ """
157
+ return pulumi.get(self, "project")
158
+
159
+ @project.setter
160
+ def project(self, value: Optional[pulumi.Input[builtins.str]]):
161
+ pulumi.set(self, "project", value)
162
+
163
+
164
+ @pulumi.type_token("gcp:compute/crossSiteNetwork:CrossSiteNetwork")
165
+ class CrossSiteNetwork(pulumi.CustomResource):
166
+ @overload
167
+ def __init__(__self__,
168
+ resource_name: str,
169
+ opts: Optional[pulumi.ResourceOptions] = None,
170
+ description: Optional[pulumi.Input[builtins.str]] = None,
171
+ name: Optional[pulumi.Input[builtins.str]] = None,
172
+ project: Optional[pulumi.Input[builtins.str]] = None,
173
+ __props__=None):
174
+ """
175
+ ## Example Usage
176
+
177
+ ### Compute Cross Site Network Basic
178
+
179
+ ```python
180
+ import pulumi
181
+ import pulumi_gcp as gcp
182
+
183
+ project = gcp.organizations.get_project()
184
+ example_cross_site_network = gcp.compute.CrossSiteNetwork("example-cross-site-network",
185
+ name="test-cross-site-network",
186
+ description="Example cross site network")
187
+ ```
188
+
189
+ ## Import
190
+
191
+ CrossSiteNetwork can be imported using any of these accepted formats:
192
+
193
+ * `projects/{{project}}/global/crossSiteNetworks/{{name}}`
194
+
195
+ * `{{project}}/{{name}}`
196
+
197
+ * `{{name}}`
198
+
199
+ When using the `pulumi import` command, CrossSiteNetwork can be imported using one of the formats above. For example:
200
+
201
+ ```sh
202
+ $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default projects/{{project}}/global/crossSiteNetworks/{{name}}
203
+ ```
204
+
205
+ ```sh
206
+ $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{project}}/{{name}}
207
+ ```
208
+
209
+ ```sh
210
+ $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{name}}
211
+ ```
212
+
213
+ :param str resource_name: The name of the resource.
214
+ :param pulumi.ResourceOptions opts: Options for the resource.
215
+ :param pulumi.Input[builtins.str] description: An optional description of this resource.
216
+ :param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
217
+ 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
218
+ long and match the regular expression `a-z?` which means the first
219
+ character must be a lowercase letter, and all following characters must be a dash,
220
+ lowercase letter, or digit, except the last character, which cannot be a dash.
221
+
222
+
223
+ - - -
224
+ :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
225
+ If it is not provided, the provider project is used.
226
+ """
227
+ ...
228
+ @overload
229
+ def __init__(__self__,
230
+ resource_name: str,
231
+ args: Optional[CrossSiteNetworkArgs] = None,
232
+ opts: Optional[pulumi.ResourceOptions] = None):
233
+ """
234
+ ## Example Usage
235
+
236
+ ### Compute Cross Site Network Basic
237
+
238
+ ```python
239
+ import pulumi
240
+ import pulumi_gcp as gcp
241
+
242
+ project = gcp.organizations.get_project()
243
+ example_cross_site_network = gcp.compute.CrossSiteNetwork("example-cross-site-network",
244
+ name="test-cross-site-network",
245
+ description="Example cross site network")
246
+ ```
247
+
248
+ ## Import
249
+
250
+ CrossSiteNetwork can be imported using any of these accepted formats:
251
+
252
+ * `projects/{{project}}/global/crossSiteNetworks/{{name}}`
253
+
254
+ * `{{project}}/{{name}}`
255
+
256
+ * `{{name}}`
257
+
258
+ When using the `pulumi import` command, CrossSiteNetwork can be imported using one of the formats above. For example:
259
+
260
+ ```sh
261
+ $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default projects/{{project}}/global/crossSiteNetworks/{{name}}
262
+ ```
263
+
264
+ ```sh
265
+ $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{project}}/{{name}}
266
+ ```
267
+
268
+ ```sh
269
+ $ pulumi import gcp:compute/crossSiteNetwork:CrossSiteNetwork default {{name}}
270
+ ```
271
+
272
+ :param str resource_name: The name of the resource.
273
+ :param CrossSiteNetworkArgs args: The arguments to use to populate this resource's properties.
274
+ :param pulumi.ResourceOptions opts: Options for the resource.
275
+ """
276
+ ...
277
+ def __init__(__self__, resource_name: str, *args, **kwargs):
278
+ resource_args, opts = _utilities.get_resource_args_opts(CrossSiteNetworkArgs, pulumi.ResourceOptions, *args, **kwargs)
279
+ if resource_args is not None:
280
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
281
+ else:
282
+ __self__._internal_init(resource_name, *args, **kwargs)
283
+
284
+ def _internal_init(__self__,
285
+ resource_name: str,
286
+ opts: Optional[pulumi.ResourceOptions] = None,
287
+ description: Optional[pulumi.Input[builtins.str]] = None,
288
+ name: Optional[pulumi.Input[builtins.str]] = None,
289
+ project: Optional[pulumi.Input[builtins.str]] = None,
290
+ __props__=None):
291
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
292
+ if not isinstance(opts, pulumi.ResourceOptions):
293
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
294
+ if opts.id is None:
295
+ if __props__ is not None:
296
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
297
+ __props__ = CrossSiteNetworkArgs.__new__(CrossSiteNetworkArgs)
298
+
299
+ __props__.__dict__["description"] = description
300
+ __props__.__dict__["name"] = name
301
+ __props__.__dict__["project"] = project
302
+ super(CrossSiteNetwork, __self__).__init__(
303
+ 'gcp:compute/crossSiteNetwork:CrossSiteNetwork',
304
+ resource_name,
305
+ __props__,
306
+ opts)
307
+
308
+ @staticmethod
309
+ def get(resource_name: str,
310
+ id: pulumi.Input[str],
311
+ opts: Optional[pulumi.ResourceOptions] = None,
312
+ description: Optional[pulumi.Input[builtins.str]] = None,
313
+ name: Optional[pulumi.Input[builtins.str]] = None,
314
+ project: Optional[pulumi.Input[builtins.str]] = None) -> 'CrossSiteNetwork':
315
+ """
316
+ Get an existing CrossSiteNetwork resource's state with the given name, id, and optional extra
317
+ properties used to qualify the lookup.
318
+
319
+ :param str resource_name: The unique name of the resulting resource.
320
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
321
+ :param pulumi.ResourceOptions opts: Options for the resource.
322
+ :param pulumi.Input[builtins.str] description: An optional description of this resource.
323
+ :param pulumi.Input[builtins.str] name: Name of the resource. Provided by the client when the resource is created. The name must be
324
+ 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
325
+ long and match the regular expression `a-z?` which means the first
326
+ character must be a lowercase letter, and all following characters must be a dash,
327
+ lowercase letter, or digit, except the last character, which cannot be a dash.
328
+
329
+
330
+ - - -
331
+ :param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
332
+ If it is not provided, the provider project is used.
333
+ """
334
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
335
+
336
+ __props__ = _CrossSiteNetworkState.__new__(_CrossSiteNetworkState)
337
+
338
+ __props__.__dict__["description"] = description
339
+ __props__.__dict__["name"] = name
340
+ __props__.__dict__["project"] = project
341
+ return CrossSiteNetwork(resource_name, opts=opts, __props__=__props__)
342
+
343
+ @property
344
+ @pulumi.getter
345
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
346
+ """
347
+ An optional description of this resource.
348
+ """
349
+ return pulumi.get(self, "description")
350
+
351
+ @property
352
+ @pulumi.getter
353
+ def name(self) -> pulumi.Output[builtins.str]:
354
+ """
355
+ Name of the resource. Provided by the client when the resource is created. The name must be
356
+ 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
357
+ long and match the regular expression `a-z?` which means the first
358
+ character must be a lowercase letter, and all following characters must be a dash,
359
+ lowercase letter, or digit, except the last character, which cannot be a dash.
360
+
361
+
362
+ - - -
363
+ """
364
+ return pulumi.get(self, "name")
365
+
366
+ @property
367
+ @pulumi.getter
368
+ def project(self) -> pulumi.Output[builtins.str]:
369
+ """
370
+ The ID of the project in which the resource belongs.
371
+ If it is not provided, the provider project is used.
372
+ """
373
+ return pulumi.get(self, "project")
374
+
@@ -28,7 +28,7 @@ class GetHealthCheckResult:
28
28
  """
29
29
  A collection of values returned by getHealthCheck.
30
30
  """
31
- def __init__(__self__, check_interval_sec=None, creation_timestamp=None, description=None, grpc_health_checks=None, healthy_threshold=None, http2_health_checks=None, http_health_checks=None, https_health_checks=None, id=None, log_configs=None, name=None, project=None, self_link=None, source_regions=None, ssl_health_checks=None, tcp_health_checks=None, timeout_sec=None, type=None, unhealthy_threshold=None):
31
+ def __init__(__self__, check_interval_sec=None, creation_timestamp=None, description=None, grpc_health_checks=None, grpc_tls_health_checks=None, healthy_threshold=None, http2_health_checks=None, http_health_checks=None, https_health_checks=None, id=None, log_configs=None, name=None, project=None, self_link=None, source_regions=None, ssl_health_checks=None, tcp_health_checks=None, timeout_sec=None, type=None, unhealthy_threshold=None):
32
32
  if check_interval_sec and not isinstance(check_interval_sec, int):
33
33
  raise TypeError("Expected argument 'check_interval_sec' to be a int")
34
34
  pulumi.set(__self__, "check_interval_sec", check_interval_sec)
@@ -41,6 +41,9 @@ class GetHealthCheckResult:
41
41
  if grpc_health_checks and not isinstance(grpc_health_checks, list):
42
42
  raise TypeError("Expected argument 'grpc_health_checks' to be a list")
43
43
  pulumi.set(__self__, "grpc_health_checks", grpc_health_checks)
44
+ if grpc_tls_health_checks and not isinstance(grpc_tls_health_checks, list):
45
+ raise TypeError("Expected argument 'grpc_tls_health_checks' to be a list")
46
+ pulumi.set(__self__, "grpc_tls_health_checks", grpc_tls_health_checks)
44
47
  if healthy_threshold and not isinstance(healthy_threshold, int):
45
48
  raise TypeError("Expected argument 'healthy_threshold' to be a int")
46
49
  pulumi.set(__self__, "healthy_threshold", healthy_threshold)
@@ -107,6 +110,11 @@ class GetHealthCheckResult:
107
110
  def grpc_health_checks(self) -> Sequence['outputs.GetHealthCheckGrpcHealthCheckResult']:
108
111
  return pulumi.get(self, "grpc_health_checks")
109
112
 
113
+ @property
114
+ @pulumi.getter(name="grpcTlsHealthChecks")
115
+ def grpc_tls_health_checks(self) -> Sequence['outputs.GetHealthCheckGrpcTlsHealthCheckResult']:
116
+ return pulumi.get(self, "grpc_tls_health_checks")
117
+
110
118
  @property
111
119
  @pulumi.getter(name="healthyThreshold")
112
120
  def healthy_threshold(self) -> builtins.int:
@@ -196,6 +204,7 @@ class AwaitableGetHealthCheckResult(GetHealthCheckResult):
196
204
  creation_timestamp=self.creation_timestamp,
197
205
  description=self.description,
198
206
  grpc_health_checks=self.grpc_health_checks,
207
+ grpc_tls_health_checks=self.grpc_tls_health_checks,
199
208
  healthy_threshold=self.healthy_threshold,
200
209
  http2_health_checks=self.http2_health_checks,
201
210
  http_health_checks=self.http_health_checks,
@@ -246,6 +255,7 @@ def get_health_check(name: Optional[builtins.str] = None,
246
255
  creation_timestamp=pulumi.get(__ret__, 'creation_timestamp'),
247
256
  description=pulumi.get(__ret__, 'description'),
248
257
  grpc_health_checks=pulumi.get(__ret__, 'grpc_health_checks'),
258
+ grpc_tls_health_checks=pulumi.get(__ret__, 'grpc_tls_health_checks'),
249
259
  healthy_threshold=pulumi.get(__ret__, 'healthy_threshold'),
250
260
  http2_health_checks=pulumi.get(__ret__, 'http2_health_checks'),
251
261
  http_health_checks=pulumi.get(__ret__, 'http_health_checks'),
@@ -293,6 +303,7 @@ def get_health_check_output(name: Optional[pulumi.Input[builtins.str]] = None,
293
303
  creation_timestamp=pulumi.get(__response__, 'creation_timestamp'),
294
304
  description=pulumi.get(__response__, 'description'),
295
305
  grpc_health_checks=pulumi.get(__response__, 'grpc_health_checks'),
306
+ grpc_tls_health_checks=pulumi.get(__response__, 'grpc_tls_health_checks'),
296
307
  healthy_threshold=pulumi.get(__response__, 'healthy_threshold'),
297
308
  http2_health_checks=pulumi.get(__response__, 'http2_health_checks'),
298
309
  http_health_checks=pulumi.get(__response__, 'http_health_checks'),
@@ -25,6 +25,7 @@ class HealthCheckArgs:
25
25
  check_interval_sec: Optional[pulumi.Input[builtins.int]] = None,
26
26
  description: Optional[pulumi.Input[builtins.str]] = None,
27
27
  grpc_health_check: Optional[pulumi.Input['HealthCheckGrpcHealthCheckArgs']] = None,
28
+ grpc_tls_health_check: Optional[pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs']] = None,
28
29
  healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
29
30
  http2_health_check: Optional[pulumi.Input['HealthCheckHttp2HealthCheckArgs']] = None,
30
31
  http_health_check: Optional[pulumi.Input['HealthCheckHttpHealthCheckArgs']] = None,
@@ -45,6 +46,8 @@ class HealthCheckArgs:
45
46
  you create the resource.
46
47
  :param pulumi.Input['HealthCheckGrpcHealthCheckArgs'] grpc_health_check: A nested object resource.
47
48
  Structure is documented below.
49
+ :param pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs'] grpc_tls_health_check: A nested object resource.
50
+ Structure is documented below.
48
51
  :param pulumi.Input[builtins.int] healthy_threshold: A so-far unhealthy instance will be marked healthy after this many
49
52
  consecutive successes. The default value is 2.
50
53
  :param pulumi.Input['HealthCheckHttp2HealthCheckArgs'] http2_health_check: A nested object resource.
@@ -95,6 +98,8 @@ class HealthCheckArgs:
95
98
  pulumi.set(__self__, "description", description)
96
99
  if grpc_health_check is not None:
97
100
  pulumi.set(__self__, "grpc_health_check", grpc_health_check)
101
+ if grpc_tls_health_check is not None:
102
+ pulumi.set(__self__, "grpc_tls_health_check", grpc_tls_health_check)
98
103
  if healthy_threshold is not None:
99
104
  pulumi.set(__self__, "healthy_threshold", healthy_threshold)
100
105
  if http2_health_check is not None:
@@ -159,6 +164,19 @@ class HealthCheckArgs:
159
164
  def grpc_health_check(self, value: Optional[pulumi.Input['HealthCheckGrpcHealthCheckArgs']]):
160
165
  pulumi.set(self, "grpc_health_check", value)
161
166
 
167
+ @property
168
+ @pulumi.getter(name="grpcTlsHealthCheck")
169
+ def grpc_tls_health_check(self) -> Optional[pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs']]:
170
+ """
171
+ A nested object resource.
172
+ Structure is documented below.
173
+ """
174
+ return pulumi.get(self, "grpc_tls_health_check")
175
+
176
+ @grpc_tls_health_check.setter
177
+ def grpc_tls_health_check(self, value: Optional[pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs']]):
178
+ pulumi.set(self, "grpc_tls_health_check", value)
179
+
162
180
  @property
163
181
  @pulumi.getter(name="healthyThreshold")
164
182
  def healthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
@@ -342,6 +360,7 @@ class _HealthCheckState:
342
360
  creation_timestamp: Optional[pulumi.Input[builtins.str]] = None,
343
361
  description: Optional[pulumi.Input[builtins.str]] = None,
344
362
  grpc_health_check: Optional[pulumi.Input['HealthCheckGrpcHealthCheckArgs']] = None,
363
+ grpc_tls_health_check: Optional[pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs']] = None,
345
364
  healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
346
365
  http2_health_check: Optional[pulumi.Input['HealthCheckHttp2HealthCheckArgs']] = None,
347
366
  http_health_check: Optional[pulumi.Input['HealthCheckHttpHealthCheckArgs']] = None,
@@ -365,6 +384,8 @@ class _HealthCheckState:
365
384
  you create the resource.
366
385
  :param pulumi.Input['HealthCheckGrpcHealthCheckArgs'] grpc_health_check: A nested object resource.
367
386
  Structure is documented below.
387
+ :param pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs'] grpc_tls_health_check: A nested object resource.
388
+ Structure is documented below.
368
389
  :param pulumi.Input[builtins.int] healthy_threshold: A so-far unhealthy instance will be marked healthy after this many
369
390
  consecutive successes. The default value is 2.
370
391
  :param pulumi.Input['HealthCheckHttp2HealthCheckArgs'] http2_health_check: A nested object resource.
@@ -419,6 +440,8 @@ class _HealthCheckState:
419
440
  pulumi.set(__self__, "description", description)
420
441
  if grpc_health_check is not None:
421
442
  pulumi.set(__self__, "grpc_health_check", grpc_health_check)
443
+ if grpc_tls_health_check is not None:
444
+ pulumi.set(__self__, "grpc_tls_health_check", grpc_tls_health_check)
422
445
  if healthy_threshold is not None:
423
446
  pulumi.set(__self__, "healthy_threshold", healthy_threshold)
424
447
  if http2_health_check is not None:
@@ -499,6 +522,19 @@ class _HealthCheckState:
499
522
  def grpc_health_check(self, value: Optional[pulumi.Input['HealthCheckGrpcHealthCheckArgs']]):
500
523
  pulumi.set(self, "grpc_health_check", value)
501
524
 
525
+ @property
526
+ @pulumi.getter(name="grpcTlsHealthCheck")
527
+ def grpc_tls_health_check(self) -> Optional[pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs']]:
528
+ """
529
+ A nested object resource.
530
+ Structure is documented below.
531
+ """
532
+ return pulumi.get(self, "grpc_tls_health_check")
533
+
534
+ @grpc_tls_health_check.setter
535
+ def grpc_tls_health_check(self, value: Optional[pulumi.Input['HealthCheckGrpcTlsHealthCheckArgs']]):
536
+ pulumi.set(self, "grpc_tls_health_check", value)
537
+
502
538
  @property
503
539
  @pulumi.getter(name="healthyThreshold")
504
540
  def healthy_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
@@ -708,6 +744,7 @@ class HealthCheck(pulumi.CustomResource):
708
744
  check_interval_sec: Optional[pulumi.Input[builtins.int]] = None,
709
745
  description: Optional[pulumi.Input[builtins.str]] = None,
710
746
  grpc_health_check: Optional[pulumi.Input[Union['HealthCheckGrpcHealthCheckArgs', 'HealthCheckGrpcHealthCheckArgsDict']]] = None,
747
+ grpc_tls_health_check: Optional[pulumi.Input[Union['HealthCheckGrpcTlsHealthCheckArgs', 'HealthCheckGrpcTlsHealthCheckArgsDict']]] = None,
711
748
  healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
712
749
  http2_health_check: Optional[pulumi.Input[Union['HealthCheckHttp2HealthCheckArgs', 'HealthCheckHttp2HealthCheckArgsDict']]] = None,
713
750
  http_health_check: Optional[pulumi.Input[Union['HealthCheckHttpHealthCheckArgs', 'HealthCheckHttpHealthCheckArgsDict']]] = None,
@@ -954,6 +991,39 @@ class HealthCheck(pulumi.CustomResource):
954
991
  "grpc_service_name": "testservice",
955
992
  })
956
993
  ```
994
+ ### Health Check Grpc With Tls
995
+
996
+ ```python
997
+ import pulumi
998
+ import pulumi_gcp as gcp
999
+
1000
+ grpc_with_tls_health_check = gcp.compute.HealthCheck("grpc-with-tls-health-check",
1001
+ name="grpc-with-tls-health-check",
1002
+ timeout_sec=1,
1003
+ check_interval_sec=1,
1004
+ grpc_tls_health_check={
1005
+ "port": 443,
1006
+ })
1007
+ ```
1008
+ ### Health Check Grpc With Tls Full
1009
+
1010
+ ```python
1011
+ import pulumi
1012
+ import pulumi_gcp as gcp
1013
+
1014
+ grpc_with_tls_health_check = gcp.compute.HealthCheck("grpc-with-tls-health-check",
1015
+ name="grpc-with-tls-health-check",
1016
+ description="Health check via grpc with TLS",
1017
+ timeout_sec=1,
1018
+ check_interval_sec=1,
1019
+ healthy_threshold=4,
1020
+ unhealthy_threshold=5,
1021
+ grpc_tls_health_check={
1022
+ "port_specification": "USE_FIXED_PORT",
1023
+ "port": 443,
1024
+ "grpc_service_name": "testservice",
1025
+ })
1026
+ ```
957
1027
  ### Health Check With Logging
958
1028
 
959
1029
  ```python
@@ -1061,6 +1131,8 @@ class HealthCheck(pulumi.CustomResource):
1061
1131
  you create the resource.
1062
1132
  :param pulumi.Input[Union['HealthCheckGrpcHealthCheckArgs', 'HealthCheckGrpcHealthCheckArgsDict']] grpc_health_check: A nested object resource.
1063
1133
  Structure is documented below.
1134
+ :param pulumi.Input[Union['HealthCheckGrpcTlsHealthCheckArgs', 'HealthCheckGrpcTlsHealthCheckArgsDict']] grpc_tls_health_check: A nested object resource.
1135
+ Structure is documented below.
1064
1136
  :param pulumi.Input[builtins.int] healthy_threshold: A so-far unhealthy instance will be marked healthy after this many
1065
1137
  consecutive successes. The default value is 2.
1066
1138
  :param pulumi.Input[Union['HealthCheckHttp2HealthCheckArgs', 'HealthCheckHttp2HealthCheckArgsDict']] http2_health_check: A nested object resource.
@@ -1344,6 +1416,39 @@ class HealthCheck(pulumi.CustomResource):
1344
1416
  "grpc_service_name": "testservice",
1345
1417
  })
1346
1418
  ```
1419
+ ### Health Check Grpc With Tls
1420
+
1421
+ ```python
1422
+ import pulumi
1423
+ import pulumi_gcp as gcp
1424
+
1425
+ grpc_with_tls_health_check = gcp.compute.HealthCheck("grpc-with-tls-health-check",
1426
+ name="grpc-with-tls-health-check",
1427
+ timeout_sec=1,
1428
+ check_interval_sec=1,
1429
+ grpc_tls_health_check={
1430
+ "port": 443,
1431
+ })
1432
+ ```
1433
+ ### Health Check Grpc With Tls Full
1434
+
1435
+ ```python
1436
+ import pulumi
1437
+ import pulumi_gcp as gcp
1438
+
1439
+ grpc_with_tls_health_check = gcp.compute.HealthCheck("grpc-with-tls-health-check",
1440
+ name="grpc-with-tls-health-check",
1441
+ description="Health check via grpc with TLS",
1442
+ timeout_sec=1,
1443
+ check_interval_sec=1,
1444
+ healthy_threshold=4,
1445
+ unhealthy_threshold=5,
1446
+ grpc_tls_health_check={
1447
+ "port_specification": "USE_FIXED_PORT",
1448
+ "port": 443,
1449
+ "grpc_service_name": "testservice",
1450
+ })
1451
+ ```
1347
1452
  ### Health Check With Logging
1348
1453
 
1349
1454
  ```python
@@ -1461,6 +1566,7 @@ class HealthCheck(pulumi.CustomResource):
1461
1566
  check_interval_sec: Optional[pulumi.Input[builtins.int]] = None,
1462
1567
  description: Optional[pulumi.Input[builtins.str]] = None,
1463
1568
  grpc_health_check: Optional[pulumi.Input[Union['HealthCheckGrpcHealthCheckArgs', 'HealthCheckGrpcHealthCheckArgsDict']]] = None,
1569
+ grpc_tls_health_check: Optional[pulumi.Input[Union['HealthCheckGrpcTlsHealthCheckArgs', 'HealthCheckGrpcTlsHealthCheckArgsDict']]] = None,
1464
1570
  healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
1465
1571
  http2_health_check: Optional[pulumi.Input[Union['HealthCheckHttp2HealthCheckArgs', 'HealthCheckHttp2HealthCheckArgsDict']]] = None,
1466
1572
  http_health_check: Optional[pulumi.Input[Union['HealthCheckHttpHealthCheckArgs', 'HealthCheckHttpHealthCheckArgsDict']]] = None,
@@ -1485,6 +1591,7 @@ class HealthCheck(pulumi.CustomResource):
1485
1591
  __props__.__dict__["check_interval_sec"] = check_interval_sec
1486
1592
  __props__.__dict__["description"] = description
1487
1593
  __props__.__dict__["grpc_health_check"] = grpc_health_check
1594
+ __props__.__dict__["grpc_tls_health_check"] = grpc_tls_health_check
1488
1595
  __props__.__dict__["healthy_threshold"] = healthy_threshold
1489
1596
  __props__.__dict__["http2_health_check"] = http2_health_check
1490
1597
  __props__.__dict__["http_health_check"] = http_health_check
@@ -1514,6 +1621,7 @@ class HealthCheck(pulumi.CustomResource):
1514
1621
  creation_timestamp: Optional[pulumi.Input[builtins.str]] = None,
1515
1622
  description: Optional[pulumi.Input[builtins.str]] = None,
1516
1623
  grpc_health_check: Optional[pulumi.Input[Union['HealthCheckGrpcHealthCheckArgs', 'HealthCheckGrpcHealthCheckArgsDict']]] = None,
1624
+ grpc_tls_health_check: Optional[pulumi.Input[Union['HealthCheckGrpcTlsHealthCheckArgs', 'HealthCheckGrpcTlsHealthCheckArgsDict']]] = None,
1517
1625
  healthy_threshold: Optional[pulumi.Input[builtins.int]] = None,
1518
1626
  http2_health_check: Optional[pulumi.Input[Union['HealthCheckHttp2HealthCheckArgs', 'HealthCheckHttp2HealthCheckArgsDict']]] = None,
1519
1627
  http_health_check: Optional[pulumi.Input[Union['HealthCheckHttpHealthCheckArgs', 'HealthCheckHttpHealthCheckArgsDict']]] = None,
@@ -1542,6 +1650,8 @@ class HealthCheck(pulumi.CustomResource):
1542
1650
  you create the resource.
1543
1651
  :param pulumi.Input[Union['HealthCheckGrpcHealthCheckArgs', 'HealthCheckGrpcHealthCheckArgsDict']] grpc_health_check: A nested object resource.
1544
1652
  Structure is documented below.
1653
+ :param pulumi.Input[Union['HealthCheckGrpcTlsHealthCheckArgs', 'HealthCheckGrpcTlsHealthCheckArgsDict']] grpc_tls_health_check: A nested object resource.
1654
+ Structure is documented below.
1545
1655
  :param pulumi.Input[builtins.int] healthy_threshold: A so-far unhealthy instance will be marked healthy after this many
1546
1656
  consecutive successes. The default value is 2.
1547
1657
  :param pulumi.Input[Union['HealthCheckHttp2HealthCheckArgs', 'HealthCheckHttp2HealthCheckArgsDict']] http2_health_check: A nested object resource.
@@ -1596,6 +1706,7 @@ class HealthCheck(pulumi.CustomResource):
1596
1706
  __props__.__dict__["creation_timestamp"] = creation_timestamp
1597
1707
  __props__.__dict__["description"] = description
1598
1708
  __props__.__dict__["grpc_health_check"] = grpc_health_check
1709
+ __props__.__dict__["grpc_tls_health_check"] = grpc_tls_health_check
1599
1710
  __props__.__dict__["healthy_threshold"] = healthy_threshold
1600
1711
  __props__.__dict__["http2_health_check"] = http2_health_check
1601
1712
  __props__.__dict__["http_health_check"] = http_health_check
@@ -1647,6 +1758,15 @@ class HealthCheck(pulumi.CustomResource):
1647
1758
  """
1648
1759
  return pulumi.get(self, "grpc_health_check")
1649
1760
 
1761
+ @property
1762
+ @pulumi.getter(name="grpcTlsHealthCheck")
1763
+ def grpc_tls_health_check(self) -> pulumi.Output[Optional['outputs.HealthCheckGrpcTlsHealthCheck']]:
1764
+ """
1765
+ A nested object resource.
1766
+ Structure is documented below.
1767
+ """
1768
+ return pulumi.get(self, "grpc_tls_health_check")
1769
+
1650
1770
  @property
1651
1771
  @pulumi.getter(name="healthyThreshold")
1652
1772
  def healthy_threshold(self) -> pulumi.Output[Optional[builtins.int]]: