pulumi-gcp 8.23.0a1742538920__py3-none-any.whl → 8.24.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 (106) hide show
  1. pulumi_gcp/__init__.py +59 -0
  2. pulumi_gcp/alloydb/_inputs.py +27 -1
  3. pulumi_gcp/alloydb/outputs.py +33 -2
  4. pulumi_gcp/applicationintegration/client.py +18 -24
  5. pulumi_gcp/bigquery/_inputs.py +178 -0
  6. pulumi_gcp/bigquery/outputs.py +127 -0
  7. pulumi_gcp/bigquery/reservation.py +189 -1
  8. pulumi_gcp/bigquery/table.py +61 -0
  9. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +11 -7
  10. pulumi_gcp/bigtable/table.py +7 -7
  11. pulumi_gcp/chronicle/data_access_label.py +16 -0
  12. pulumi_gcp/clouddeploy/_inputs.py +20 -0
  13. pulumi_gcp/clouddeploy/outputs.py +15 -1
  14. pulumi_gcp/cloudfunctions/function.py +11 -11
  15. pulumi_gcp/cloudfunctionsv2/function.py +24 -24
  16. pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
  17. pulumi_gcp/cloudidentity/outputs.py +18 -38
  18. pulumi_gcp/cloudrunv2/service.py +14 -14
  19. pulumi_gcp/compute/__init__.py +1 -0
  20. pulumi_gcp/compute/_inputs.py +616 -18
  21. pulumi_gcp/compute/firewall_policy.py +20 -0
  22. pulumi_gcp/compute/get_images.py +172 -0
  23. pulumi_gcp/compute/get_resource_policy.py +15 -4
  24. pulumi_gcp/compute/image.py +54 -0
  25. pulumi_gcp/compute/interconnect.py +14 -7
  26. pulumi_gcp/compute/outputs.py +710 -18
  27. pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
  28. pulumi_gcp/compute/resource_policy.py +169 -3
  29. pulumi_gcp/compute/router_route_policy.py +16 -0
  30. pulumi_gcp/compute/subnetwork.py +109 -1
  31. pulumi_gcp/compute/target_https_proxy.py +7 -7
  32. pulumi_gcp/config/__init__.pyi +8 -0
  33. pulumi_gcp/config/vars.py +16 -0
  34. pulumi_gcp/container/_inputs.py +265 -4
  35. pulumi_gcp/container/cluster.py +54 -0
  36. pulumi_gcp/container/get_attached_versions.py +2 -2
  37. pulumi_gcp/container/get_cluster.py +12 -1
  38. pulumi_gcp/container/outputs.py +301 -6
  39. pulumi_gcp/dataform/repository.py +49 -0
  40. pulumi_gcp/dataproc/_inputs.py +23 -0
  41. pulumi_gcp/dataproc/get_metastore_service.py +26 -4
  42. pulumi_gcp/dataproc/metastore_federation.py +56 -0
  43. pulumi_gcp/dataproc/metastore_service.py +58 -2
  44. pulumi_gcp/dataproc/outputs.py +27 -0
  45. pulumi_gcp/eventarc/__init__.py +1 -0
  46. pulumi_gcp/eventarc/_inputs.py +1758 -0
  47. pulumi_gcp/eventarc/outputs.py +1337 -0
  48. pulumi_gcp/eventarc/pipeline.py +1596 -0
  49. pulumi_gcp/firebase/__init__.py +1 -0
  50. pulumi_gcp/firebase/_inputs.py +154 -0
  51. pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
  52. pulumi_gcp/firebase/hosting_version.py +2 -2
  53. pulumi_gcp/firebase/outputs.py +127 -0
  54. pulumi_gcp/kms/get_key_rings.py +39 -2
  55. pulumi_gcp/lustre/__init__.py +8 -0
  56. pulumi_gcp/lustre/instance.py +983 -0
  57. pulumi_gcp/managedkafka/__init__.py +2 -0
  58. pulumi_gcp/managedkafka/_inputs.py +263 -0
  59. pulumi_gcp/managedkafka/connect_cluster.py +795 -0
  60. pulumi_gcp/managedkafka/connector.py +695 -0
  61. pulumi_gcp/managedkafka/outputs.py +248 -0
  62. pulumi_gcp/memorystore/_inputs.py +419 -0
  63. pulumi_gcp/memorystore/get_instance.py +23 -1
  64. pulumi_gcp/memorystore/instance.py +144 -14
  65. pulumi_gcp/memorystore/outputs.py +544 -0
  66. pulumi_gcp/monitoring/uptime_check_config.py +2 -2
  67. pulumi_gcp/networkmanagement/_inputs.py +422 -91
  68. pulumi_gcp/networkmanagement/connectivity_test.py +233 -211
  69. pulumi_gcp/networkmanagement/outputs.py +280 -61
  70. pulumi_gcp/networksecurity/_inputs.py +1277 -242
  71. pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
  72. pulumi_gcp/networksecurity/intercept_deployment_group.py +44 -16
  73. pulumi_gcp/networksecurity/intercept_endpoint_group.py +90 -36
  74. pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +53 -8
  75. pulumi_gcp/networksecurity/mirroring_deployment.py +22 -0
  76. pulumi_gcp/networksecurity/mirroring_deployment_group.py +20 -0
  77. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +24 -0
  78. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +28 -0
  79. pulumi_gcp/networksecurity/outputs.py +723 -8
  80. pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
  81. pulumi_gcp/networkservices/gateway.py +242 -120
  82. pulumi_gcp/organizations/__init__.py +1 -0
  83. pulumi_gcp/organizations/get_iam_custom_role.py +198 -0
  84. pulumi_gcp/osconfig/__init__.py +1 -0
  85. pulumi_gcp/osconfig/_inputs.py +5413 -0
  86. pulumi_gcp/osconfig/outputs.py +3962 -0
  87. pulumi_gcp/osconfig/v2_policy_orchestrator.py +971 -0
  88. pulumi_gcp/projects/__init__.py +2 -0
  89. pulumi_gcp/projects/get_iam_custom_role.py +198 -0
  90. pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
  91. pulumi_gcp/projects/outputs.py +96 -0
  92. pulumi_gcp/provider.py +80 -0
  93. pulumi_gcp/pulumi-plugin.json +1 -1
  94. pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
  95. pulumi_gcp/sql/outputs.py +8 -8
  96. pulumi_gcp/storage/__init__.py +2 -0
  97. pulumi_gcp/storage/_inputs.py +740 -6
  98. pulumi_gcp/storage/control_project_intelligence_config.py +366 -0
  99. pulumi_gcp/storage/get_control_project_intelligence_config.py +130 -0
  100. pulumi_gcp/storage/insights_report_config.py +121 -20
  101. pulumi_gcp/storage/outputs.py +723 -4
  102. pulumi_gcp/workflows/workflow.py +75 -7
  103. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/METADATA +1 -1
  104. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/RECORD +106 -93
  105. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/WHEEL +1 -1
  106. {pulumi_gcp-8.23.0a1742538920.dist-info → pulumi_gcp-8.24.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,795 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['ConnectClusterArgs', 'ConnectCluster']
20
+
21
+ @pulumi.input_type
22
+ class ConnectClusterArgs:
23
+ def __init__(__self__, *,
24
+ capacity_config: pulumi.Input['ConnectClusterCapacityConfigArgs'],
25
+ connect_cluster_id: pulumi.Input[str],
26
+ gcp_config: pulumi.Input['ConnectClusterGcpConfigArgs'],
27
+ kafka_cluster: pulumi.Input[str],
28
+ location: pulumi.Input[str],
29
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
30
+ project: Optional[pulumi.Input[str]] = None):
31
+ """
32
+ The set of arguments for constructing a ConnectCluster resource.
33
+ :param pulumi.Input['ConnectClusterCapacityConfigArgs'] capacity_config: A capacity configuration of a Kafka cluster.
34
+ Structure is documented below.
35
+ :param pulumi.Input[str] connect_cluster_id: The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like: `my-connect-cluster-id`.
36
+ :param pulumi.Input['ConnectClusterGcpConfigArgs'] gcp_config: Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
37
+ Structure is documented below.
38
+ :param pulumi.Input[str] kafka_cluster: The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: `projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID`.
39
+ :param pulumi.Input[str] location: ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
40
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-),
41
+ underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase
42
+ characters, and numbers. **Note**: This field is non-authoritative, and will only manage the labels present in your
43
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
44
+ """
45
+ pulumi.set(__self__, "capacity_config", capacity_config)
46
+ pulumi.set(__self__, "connect_cluster_id", connect_cluster_id)
47
+ pulumi.set(__self__, "gcp_config", gcp_config)
48
+ pulumi.set(__self__, "kafka_cluster", kafka_cluster)
49
+ pulumi.set(__self__, "location", location)
50
+ if labels is not None:
51
+ pulumi.set(__self__, "labels", labels)
52
+ if project is not None:
53
+ pulumi.set(__self__, "project", project)
54
+
55
+ @property
56
+ @pulumi.getter(name="capacityConfig")
57
+ def capacity_config(self) -> pulumi.Input['ConnectClusterCapacityConfigArgs']:
58
+ """
59
+ A capacity configuration of a Kafka cluster.
60
+ Structure is documented below.
61
+ """
62
+ return pulumi.get(self, "capacity_config")
63
+
64
+ @capacity_config.setter
65
+ def capacity_config(self, value: pulumi.Input['ConnectClusterCapacityConfigArgs']):
66
+ pulumi.set(self, "capacity_config", value)
67
+
68
+ @property
69
+ @pulumi.getter(name="connectClusterId")
70
+ def connect_cluster_id(self) -> pulumi.Input[str]:
71
+ """
72
+ The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like: `my-connect-cluster-id`.
73
+ """
74
+ return pulumi.get(self, "connect_cluster_id")
75
+
76
+ @connect_cluster_id.setter
77
+ def connect_cluster_id(self, value: pulumi.Input[str]):
78
+ pulumi.set(self, "connect_cluster_id", value)
79
+
80
+ @property
81
+ @pulumi.getter(name="gcpConfig")
82
+ def gcp_config(self) -> pulumi.Input['ConnectClusterGcpConfigArgs']:
83
+ """
84
+ Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
85
+ Structure is documented below.
86
+ """
87
+ return pulumi.get(self, "gcp_config")
88
+
89
+ @gcp_config.setter
90
+ def gcp_config(self, value: pulumi.Input['ConnectClusterGcpConfigArgs']):
91
+ pulumi.set(self, "gcp_config", value)
92
+
93
+ @property
94
+ @pulumi.getter(name="kafkaCluster")
95
+ def kafka_cluster(self) -> pulumi.Input[str]:
96
+ """
97
+ The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: `projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID`.
98
+ """
99
+ return pulumi.get(self, "kafka_cluster")
100
+
101
+ @kafka_cluster.setter
102
+ def kafka_cluster(self, value: pulumi.Input[str]):
103
+ pulumi.set(self, "kafka_cluster", value)
104
+
105
+ @property
106
+ @pulumi.getter
107
+ def location(self) -> pulumi.Input[str]:
108
+ """
109
+ ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
110
+ """
111
+ return pulumi.get(self, "location")
112
+
113
+ @location.setter
114
+ def location(self, value: pulumi.Input[str]):
115
+ pulumi.set(self, "location", value)
116
+
117
+ @property
118
+ @pulumi.getter
119
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
120
+ """
121
+ List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-),
122
+ underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase
123
+ characters, and numbers. **Note**: This field is non-authoritative, and will only manage the labels present in your
124
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
125
+ """
126
+ return pulumi.get(self, "labels")
127
+
128
+ @labels.setter
129
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
130
+ pulumi.set(self, "labels", value)
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def project(self) -> Optional[pulumi.Input[str]]:
135
+ return pulumi.get(self, "project")
136
+
137
+ @project.setter
138
+ def project(self, value: Optional[pulumi.Input[str]]):
139
+ pulumi.set(self, "project", value)
140
+
141
+
142
+ @pulumi.input_type
143
+ class _ConnectClusterState:
144
+ def __init__(__self__, *,
145
+ capacity_config: Optional[pulumi.Input['ConnectClusterCapacityConfigArgs']] = None,
146
+ connect_cluster_id: Optional[pulumi.Input[str]] = None,
147
+ create_time: Optional[pulumi.Input[str]] = None,
148
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
149
+ gcp_config: Optional[pulumi.Input['ConnectClusterGcpConfigArgs']] = None,
150
+ kafka_cluster: Optional[pulumi.Input[str]] = None,
151
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
152
+ location: Optional[pulumi.Input[str]] = None,
153
+ name: Optional[pulumi.Input[str]] = None,
154
+ project: Optional[pulumi.Input[str]] = None,
155
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
156
+ state: Optional[pulumi.Input[str]] = None,
157
+ update_time: Optional[pulumi.Input[str]] = None):
158
+ """
159
+ Input properties used for looking up and filtering ConnectCluster resources.
160
+ :param pulumi.Input['ConnectClusterCapacityConfigArgs'] capacity_config: A capacity configuration of a Kafka cluster.
161
+ Structure is documented below.
162
+ :param pulumi.Input[str] connect_cluster_id: The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like: `my-connect-cluster-id`.
163
+ :param pulumi.Input[str] create_time: The time when the cluster was created.
164
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
165
+ :param pulumi.Input['ConnectClusterGcpConfigArgs'] gcp_config: Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
166
+ Structure is documented below.
167
+ :param pulumi.Input[str] kafka_cluster: The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: `projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID`.
168
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-),
169
+ underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase
170
+ characters, and numbers. **Note**: This field is non-authoritative, and will only manage the labels present in your
171
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
172
+ :param pulumi.Input[str] location: ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
173
+ :param pulumi.Input[str] name: The name of the connect cluster. Structured like: `projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER_ID`.
174
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
175
+ and default labels configured on the provider.
176
+ :param pulumi.Input[str] state: The current state of the connect cluster. Possible values: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`.
177
+ :param pulumi.Input[str] update_time: The time when the cluster was last updated.
178
+ """
179
+ if capacity_config is not None:
180
+ pulumi.set(__self__, "capacity_config", capacity_config)
181
+ if connect_cluster_id is not None:
182
+ pulumi.set(__self__, "connect_cluster_id", connect_cluster_id)
183
+ if create_time is not None:
184
+ pulumi.set(__self__, "create_time", create_time)
185
+ if effective_labels is not None:
186
+ pulumi.set(__self__, "effective_labels", effective_labels)
187
+ if gcp_config is not None:
188
+ pulumi.set(__self__, "gcp_config", gcp_config)
189
+ if kafka_cluster is not None:
190
+ pulumi.set(__self__, "kafka_cluster", kafka_cluster)
191
+ if labels is not None:
192
+ pulumi.set(__self__, "labels", labels)
193
+ if location is not None:
194
+ pulumi.set(__self__, "location", location)
195
+ if name is not None:
196
+ pulumi.set(__self__, "name", name)
197
+ if project is not None:
198
+ pulumi.set(__self__, "project", project)
199
+ if pulumi_labels is not None:
200
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
201
+ if state is not None:
202
+ pulumi.set(__self__, "state", state)
203
+ if update_time is not None:
204
+ pulumi.set(__self__, "update_time", update_time)
205
+
206
+ @property
207
+ @pulumi.getter(name="capacityConfig")
208
+ def capacity_config(self) -> Optional[pulumi.Input['ConnectClusterCapacityConfigArgs']]:
209
+ """
210
+ A capacity configuration of a Kafka cluster.
211
+ Structure is documented below.
212
+ """
213
+ return pulumi.get(self, "capacity_config")
214
+
215
+ @capacity_config.setter
216
+ def capacity_config(self, value: Optional[pulumi.Input['ConnectClusterCapacityConfigArgs']]):
217
+ pulumi.set(self, "capacity_config", value)
218
+
219
+ @property
220
+ @pulumi.getter(name="connectClusterId")
221
+ def connect_cluster_id(self) -> Optional[pulumi.Input[str]]:
222
+ """
223
+ The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like: `my-connect-cluster-id`.
224
+ """
225
+ return pulumi.get(self, "connect_cluster_id")
226
+
227
+ @connect_cluster_id.setter
228
+ def connect_cluster_id(self, value: Optional[pulumi.Input[str]]):
229
+ pulumi.set(self, "connect_cluster_id", value)
230
+
231
+ @property
232
+ @pulumi.getter(name="createTime")
233
+ def create_time(self) -> Optional[pulumi.Input[str]]:
234
+ """
235
+ The time when the cluster was created.
236
+ """
237
+ return pulumi.get(self, "create_time")
238
+
239
+ @create_time.setter
240
+ def create_time(self, value: Optional[pulumi.Input[str]]):
241
+ pulumi.set(self, "create_time", value)
242
+
243
+ @property
244
+ @pulumi.getter(name="effectiveLabels")
245
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
246
+ """
247
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
248
+ """
249
+ return pulumi.get(self, "effective_labels")
250
+
251
+ @effective_labels.setter
252
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
253
+ pulumi.set(self, "effective_labels", value)
254
+
255
+ @property
256
+ @pulumi.getter(name="gcpConfig")
257
+ def gcp_config(self) -> Optional[pulumi.Input['ConnectClusterGcpConfigArgs']]:
258
+ """
259
+ Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
260
+ Structure is documented below.
261
+ """
262
+ return pulumi.get(self, "gcp_config")
263
+
264
+ @gcp_config.setter
265
+ def gcp_config(self, value: Optional[pulumi.Input['ConnectClusterGcpConfigArgs']]):
266
+ pulumi.set(self, "gcp_config", value)
267
+
268
+ @property
269
+ @pulumi.getter(name="kafkaCluster")
270
+ def kafka_cluster(self) -> Optional[pulumi.Input[str]]:
271
+ """
272
+ The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: `projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID`.
273
+ """
274
+ return pulumi.get(self, "kafka_cluster")
275
+
276
+ @kafka_cluster.setter
277
+ def kafka_cluster(self, value: Optional[pulumi.Input[str]]):
278
+ pulumi.set(self, "kafka_cluster", value)
279
+
280
+ @property
281
+ @pulumi.getter
282
+ def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
283
+ """
284
+ List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-),
285
+ underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase
286
+ characters, and numbers. **Note**: This field is non-authoritative, and will only manage the labels present in your
287
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
288
+ """
289
+ return pulumi.get(self, "labels")
290
+
291
+ @labels.setter
292
+ def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
293
+ pulumi.set(self, "labels", value)
294
+
295
+ @property
296
+ @pulumi.getter
297
+ def location(self) -> Optional[pulumi.Input[str]]:
298
+ """
299
+ ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
300
+ """
301
+ return pulumi.get(self, "location")
302
+
303
+ @location.setter
304
+ def location(self, value: Optional[pulumi.Input[str]]):
305
+ pulumi.set(self, "location", value)
306
+
307
+ @property
308
+ @pulumi.getter
309
+ def name(self) -> Optional[pulumi.Input[str]]:
310
+ """
311
+ The name of the connect cluster. Structured like: `projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER_ID`.
312
+ """
313
+ return pulumi.get(self, "name")
314
+
315
+ @name.setter
316
+ def name(self, value: Optional[pulumi.Input[str]]):
317
+ pulumi.set(self, "name", value)
318
+
319
+ @property
320
+ @pulumi.getter
321
+ def project(self) -> Optional[pulumi.Input[str]]:
322
+ return pulumi.get(self, "project")
323
+
324
+ @project.setter
325
+ def project(self, value: Optional[pulumi.Input[str]]):
326
+ pulumi.set(self, "project", value)
327
+
328
+ @property
329
+ @pulumi.getter(name="pulumiLabels")
330
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
331
+ """
332
+ The combination of labels configured directly on the resource
333
+ and default labels configured on the provider.
334
+ """
335
+ return pulumi.get(self, "pulumi_labels")
336
+
337
+ @pulumi_labels.setter
338
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
339
+ pulumi.set(self, "pulumi_labels", value)
340
+
341
+ @property
342
+ @pulumi.getter
343
+ def state(self) -> Optional[pulumi.Input[str]]:
344
+ """
345
+ The current state of the connect cluster. Possible values: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`.
346
+ """
347
+ return pulumi.get(self, "state")
348
+
349
+ @state.setter
350
+ def state(self, value: Optional[pulumi.Input[str]]):
351
+ pulumi.set(self, "state", value)
352
+
353
+ @property
354
+ @pulumi.getter(name="updateTime")
355
+ def update_time(self) -> Optional[pulumi.Input[str]]:
356
+ """
357
+ The time when the cluster was last updated.
358
+ """
359
+ return pulumi.get(self, "update_time")
360
+
361
+ @update_time.setter
362
+ def update_time(self, value: Optional[pulumi.Input[str]]):
363
+ pulumi.set(self, "update_time", value)
364
+
365
+
366
+ class ConnectCluster(pulumi.CustomResource):
367
+ @overload
368
+ def __init__(__self__,
369
+ resource_name: str,
370
+ opts: Optional[pulumi.ResourceOptions] = None,
371
+ capacity_config: Optional[pulumi.Input[Union['ConnectClusterCapacityConfigArgs', 'ConnectClusterCapacityConfigArgsDict']]] = None,
372
+ connect_cluster_id: Optional[pulumi.Input[str]] = None,
373
+ gcp_config: Optional[pulumi.Input[Union['ConnectClusterGcpConfigArgs', 'ConnectClusterGcpConfigArgsDict']]] = None,
374
+ kafka_cluster: Optional[pulumi.Input[str]] = None,
375
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
376
+ location: Optional[pulumi.Input[str]] = None,
377
+ project: Optional[pulumi.Input[str]] = None,
378
+ __props__=None):
379
+ """
380
+ ## Example Usage
381
+
382
+ ### Managedkafka Connect Cluster Basic
383
+
384
+ ```python
385
+ import pulumi
386
+ import pulumi_gcp as gcp
387
+
388
+ mkc_network = gcp.compute.Network("mkc_network",
389
+ name="my-network",
390
+ auto_create_subnetworks=False)
391
+ mkc_subnet = gcp.compute.Subnetwork("mkc_subnet",
392
+ name="my-subnetwork",
393
+ ip_cidr_range="10.2.0.0/16",
394
+ region="us-central1",
395
+ network=mkc_network.id)
396
+ mkc_additional_subnet = gcp.compute.Subnetwork("mkc_additional_subnet",
397
+ name="my-additional-subnetwork-0",
398
+ ip_cidr_range="10.3.0.0/16",
399
+ region="us-central1",
400
+ network=mkc_network.id)
401
+ project = gcp.organizations.get_project()
402
+ gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
403
+ cluster_id="my-cluster",
404
+ location="us-central1",
405
+ capacity_config={
406
+ "vcpu_count": "3",
407
+ "memory_bytes": "3221225472",
408
+ },
409
+ gcp_config={
410
+ "access_config": {
411
+ "network_configs": [{
412
+ "subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
413
+ }],
414
+ },
415
+ })
416
+ example = gcp.managedkafka.ConnectCluster("example",
417
+ connect_cluster_id="my-connect-cluster",
418
+ kafka_cluster=gmk_cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
419
+ location="us-central1",
420
+ capacity_config={
421
+ "vcpu_count": "12",
422
+ "memory_bytes": "21474836480",
423
+ },
424
+ gcp_config={
425
+ "access_config": {
426
+ "network_configs": [{
427
+ "primary_subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
428
+ "additional_subnets": [mkc_additional_subnet.id],
429
+ "dns_domain_names": [gmk_cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka-staging.{project.project_id}.cloud-staging.goog")],
430
+ }],
431
+ },
432
+ },
433
+ labels={
434
+ "key": "value",
435
+ })
436
+ ```
437
+
438
+ ## Import
439
+
440
+ ConnectCluster can be imported using any of these accepted formats:
441
+
442
+ * `projects/{{project}}/locations/{{location}}/connectClusters/{{connect_cluster_id}}`
443
+
444
+ * `{{project}}/{{location}}/{{connect_cluster_id}}`
445
+
446
+ * `{{location}}/{{connect_cluster_id}}`
447
+
448
+ When using the `pulumi import` command, ConnectCluster can be imported using one of the formats above. For example:
449
+
450
+ ```sh
451
+ $ pulumi import gcp:managedkafka/connectCluster:ConnectCluster default projects/{{project}}/locations/{{location}}/connectClusters/{{connect_cluster_id}}
452
+ ```
453
+
454
+ ```sh
455
+ $ pulumi import gcp:managedkafka/connectCluster:ConnectCluster default {{project}}/{{location}}/{{connect_cluster_id}}
456
+ ```
457
+
458
+ ```sh
459
+ $ pulumi import gcp:managedkafka/connectCluster:ConnectCluster default {{location}}/{{connect_cluster_id}}
460
+ ```
461
+
462
+ :param str resource_name: The name of the resource.
463
+ :param pulumi.ResourceOptions opts: Options for the resource.
464
+ :param pulumi.Input[Union['ConnectClusterCapacityConfigArgs', 'ConnectClusterCapacityConfigArgsDict']] capacity_config: A capacity configuration of a Kafka cluster.
465
+ Structure is documented below.
466
+ :param pulumi.Input[str] connect_cluster_id: The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like: `my-connect-cluster-id`.
467
+ :param pulumi.Input[Union['ConnectClusterGcpConfigArgs', 'ConnectClusterGcpConfigArgsDict']] gcp_config: Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
468
+ Structure is documented below.
469
+ :param pulumi.Input[str] kafka_cluster: The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: `projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID`.
470
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-),
471
+ underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase
472
+ characters, and numbers. **Note**: This field is non-authoritative, and will only manage the labels present in your
473
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
474
+ :param pulumi.Input[str] location: ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
475
+ """
476
+ ...
477
+ @overload
478
+ def __init__(__self__,
479
+ resource_name: str,
480
+ args: ConnectClusterArgs,
481
+ opts: Optional[pulumi.ResourceOptions] = None):
482
+ """
483
+ ## Example Usage
484
+
485
+ ### Managedkafka Connect Cluster Basic
486
+
487
+ ```python
488
+ import pulumi
489
+ import pulumi_gcp as gcp
490
+
491
+ mkc_network = gcp.compute.Network("mkc_network",
492
+ name="my-network",
493
+ auto_create_subnetworks=False)
494
+ mkc_subnet = gcp.compute.Subnetwork("mkc_subnet",
495
+ name="my-subnetwork",
496
+ ip_cidr_range="10.2.0.0/16",
497
+ region="us-central1",
498
+ network=mkc_network.id)
499
+ mkc_additional_subnet = gcp.compute.Subnetwork("mkc_additional_subnet",
500
+ name="my-additional-subnetwork-0",
501
+ ip_cidr_range="10.3.0.0/16",
502
+ region="us-central1",
503
+ network=mkc_network.id)
504
+ project = gcp.organizations.get_project()
505
+ gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
506
+ cluster_id="my-cluster",
507
+ location="us-central1",
508
+ capacity_config={
509
+ "vcpu_count": "3",
510
+ "memory_bytes": "3221225472",
511
+ },
512
+ gcp_config={
513
+ "access_config": {
514
+ "network_configs": [{
515
+ "subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
516
+ }],
517
+ },
518
+ })
519
+ example = gcp.managedkafka.ConnectCluster("example",
520
+ connect_cluster_id="my-connect-cluster",
521
+ kafka_cluster=gmk_cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
522
+ location="us-central1",
523
+ capacity_config={
524
+ "vcpu_count": "12",
525
+ "memory_bytes": "21474836480",
526
+ },
527
+ gcp_config={
528
+ "access_config": {
529
+ "network_configs": [{
530
+ "primary_subnet": mkc_subnet.id.apply(lambda id: f"projects/{project.project_id}/regions/us-central1/subnetworks/{id}"),
531
+ "additional_subnets": [mkc_additional_subnet.id],
532
+ "dns_domain_names": [gmk_cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka-staging.{project.project_id}.cloud-staging.goog")],
533
+ }],
534
+ },
535
+ },
536
+ labels={
537
+ "key": "value",
538
+ })
539
+ ```
540
+
541
+ ## Import
542
+
543
+ ConnectCluster can be imported using any of these accepted formats:
544
+
545
+ * `projects/{{project}}/locations/{{location}}/connectClusters/{{connect_cluster_id}}`
546
+
547
+ * `{{project}}/{{location}}/{{connect_cluster_id}}`
548
+
549
+ * `{{location}}/{{connect_cluster_id}}`
550
+
551
+ When using the `pulumi import` command, ConnectCluster can be imported using one of the formats above. For example:
552
+
553
+ ```sh
554
+ $ pulumi import gcp:managedkafka/connectCluster:ConnectCluster default projects/{{project}}/locations/{{location}}/connectClusters/{{connect_cluster_id}}
555
+ ```
556
+
557
+ ```sh
558
+ $ pulumi import gcp:managedkafka/connectCluster:ConnectCluster default {{project}}/{{location}}/{{connect_cluster_id}}
559
+ ```
560
+
561
+ ```sh
562
+ $ pulumi import gcp:managedkafka/connectCluster:ConnectCluster default {{location}}/{{connect_cluster_id}}
563
+ ```
564
+
565
+ :param str resource_name: The name of the resource.
566
+ :param ConnectClusterArgs args: The arguments to use to populate this resource's properties.
567
+ :param pulumi.ResourceOptions opts: Options for the resource.
568
+ """
569
+ ...
570
+ def __init__(__self__, resource_name: str, *args, **kwargs):
571
+ resource_args, opts = _utilities.get_resource_args_opts(ConnectClusterArgs, pulumi.ResourceOptions, *args, **kwargs)
572
+ if resource_args is not None:
573
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
574
+ else:
575
+ __self__._internal_init(resource_name, *args, **kwargs)
576
+
577
+ def _internal_init(__self__,
578
+ resource_name: str,
579
+ opts: Optional[pulumi.ResourceOptions] = None,
580
+ capacity_config: Optional[pulumi.Input[Union['ConnectClusterCapacityConfigArgs', 'ConnectClusterCapacityConfigArgsDict']]] = None,
581
+ connect_cluster_id: Optional[pulumi.Input[str]] = None,
582
+ gcp_config: Optional[pulumi.Input[Union['ConnectClusterGcpConfigArgs', 'ConnectClusterGcpConfigArgsDict']]] = None,
583
+ kafka_cluster: Optional[pulumi.Input[str]] = None,
584
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
585
+ location: Optional[pulumi.Input[str]] = None,
586
+ project: Optional[pulumi.Input[str]] = None,
587
+ __props__=None):
588
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
589
+ if not isinstance(opts, pulumi.ResourceOptions):
590
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
591
+ if opts.id is None:
592
+ if __props__ is not None:
593
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
594
+ __props__ = ConnectClusterArgs.__new__(ConnectClusterArgs)
595
+
596
+ if capacity_config is None and not opts.urn:
597
+ raise TypeError("Missing required property 'capacity_config'")
598
+ __props__.__dict__["capacity_config"] = capacity_config
599
+ if connect_cluster_id is None and not opts.urn:
600
+ raise TypeError("Missing required property 'connect_cluster_id'")
601
+ __props__.__dict__["connect_cluster_id"] = connect_cluster_id
602
+ if gcp_config is None and not opts.urn:
603
+ raise TypeError("Missing required property 'gcp_config'")
604
+ __props__.__dict__["gcp_config"] = gcp_config
605
+ if kafka_cluster is None and not opts.urn:
606
+ raise TypeError("Missing required property 'kafka_cluster'")
607
+ __props__.__dict__["kafka_cluster"] = kafka_cluster
608
+ __props__.__dict__["labels"] = labels
609
+ if location is None and not opts.urn:
610
+ raise TypeError("Missing required property 'location'")
611
+ __props__.__dict__["location"] = location
612
+ __props__.__dict__["project"] = project
613
+ __props__.__dict__["create_time"] = None
614
+ __props__.__dict__["effective_labels"] = None
615
+ __props__.__dict__["name"] = None
616
+ __props__.__dict__["pulumi_labels"] = None
617
+ __props__.__dict__["state"] = None
618
+ __props__.__dict__["update_time"] = None
619
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
620
+ opts = pulumi.ResourceOptions.merge(opts, secret_opts)
621
+ super(ConnectCluster, __self__).__init__(
622
+ 'gcp:managedkafka/connectCluster:ConnectCluster',
623
+ resource_name,
624
+ __props__,
625
+ opts)
626
+
627
+ @staticmethod
628
+ def get(resource_name: str,
629
+ id: pulumi.Input[str],
630
+ opts: Optional[pulumi.ResourceOptions] = None,
631
+ capacity_config: Optional[pulumi.Input[Union['ConnectClusterCapacityConfigArgs', 'ConnectClusterCapacityConfigArgsDict']]] = None,
632
+ connect_cluster_id: Optional[pulumi.Input[str]] = None,
633
+ create_time: Optional[pulumi.Input[str]] = None,
634
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
635
+ gcp_config: Optional[pulumi.Input[Union['ConnectClusterGcpConfigArgs', 'ConnectClusterGcpConfigArgsDict']]] = None,
636
+ kafka_cluster: Optional[pulumi.Input[str]] = None,
637
+ labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
638
+ location: Optional[pulumi.Input[str]] = None,
639
+ name: Optional[pulumi.Input[str]] = None,
640
+ project: Optional[pulumi.Input[str]] = None,
641
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
642
+ state: Optional[pulumi.Input[str]] = None,
643
+ update_time: Optional[pulumi.Input[str]] = None) -> 'ConnectCluster':
644
+ """
645
+ Get an existing ConnectCluster resource's state with the given name, id, and optional extra
646
+ properties used to qualify the lookup.
647
+
648
+ :param str resource_name: The unique name of the resulting resource.
649
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
650
+ :param pulumi.ResourceOptions opts: Options for the resource.
651
+ :param pulumi.Input[Union['ConnectClusterCapacityConfigArgs', 'ConnectClusterCapacityConfigArgsDict']] capacity_config: A capacity configuration of a Kafka cluster.
652
+ Structure is documented below.
653
+ :param pulumi.Input[str] connect_cluster_id: The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like: `my-connect-cluster-id`.
654
+ :param pulumi.Input[str] create_time: The time when the cluster was created.
655
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
656
+ :param pulumi.Input[Union['ConnectClusterGcpConfigArgs', 'ConnectClusterGcpConfigArgsDict']] gcp_config: Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
657
+ Structure is documented below.
658
+ :param pulumi.Input[str] kafka_cluster: The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: `projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID`.
659
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-),
660
+ underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase
661
+ characters, and numbers. **Note**: This field is non-authoritative, and will only manage the labels present in your
662
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
663
+ :param pulumi.Input[str] location: ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
664
+ :param pulumi.Input[str] name: The name of the connect cluster. Structured like: `projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER_ID`.
665
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
666
+ and default labels configured on the provider.
667
+ :param pulumi.Input[str] state: The current state of the connect cluster. Possible values: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`.
668
+ :param pulumi.Input[str] update_time: The time when the cluster was last updated.
669
+ """
670
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
671
+
672
+ __props__ = _ConnectClusterState.__new__(_ConnectClusterState)
673
+
674
+ __props__.__dict__["capacity_config"] = capacity_config
675
+ __props__.__dict__["connect_cluster_id"] = connect_cluster_id
676
+ __props__.__dict__["create_time"] = create_time
677
+ __props__.__dict__["effective_labels"] = effective_labels
678
+ __props__.__dict__["gcp_config"] = gcp_config
679
+ __props__.__dict__["kafka_cluster"] = kafka_cluster
680
+ __props__.__dict__["labels"] = labels
681
+ __props__.__dict__["location"] = location
682
+ __props__.__dict__["name"] = name
683
+ __props__.__dict__["project"] = project
684
+ __props__.__dict__["pulumi_labels"] = pulumi_labels
685
+ __props__.__dict__["state"] = state
686
+ __props__.__dict__["update_time"] = update_time
687
+ return ConnectCluster(resource_name, opts=opts, __props__=__props__)
688
+
689
+ @property
690
+ @pulumi.getter(name="capacityConfig")
691
+ def capacity_config(self) -> pulumi.Output['outputs.ConnectClusterCapacityConfig']:
692
+ """
693
+ A capacity configuration of a Kafka cluster.
694
+ Structure is documented below.
695
+ """
696
+ return pulumi.get(self, "capacity_config")
697
+
698
+ @property
699
+ @pulumi.getter(name="connectClusterId")
700
+ def connect_cluster_id(self) -> pulumi.Output[str]:
701
+ """
702
+ The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like: `my-connect-cluster-id`.
703
+ """
704
+ return pulumi.get(self, "connect_cluster_id")
705
+
706
+ @property
707
+ @pulumi.getter(name="createTime")
708
+ def create_time(self) -> pulumi.Output[str]:
709
+ """
710
+ The time when the cluster was created.
711
+ """
712
+ return pulumi.get(self, "create_time")
713
+
714
+ @property
715
+ @pulumi.getter(name="effectiveLabels")
716
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
717
+ """
718
+ All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
719
+ """
720
+ return pulumi.get(self, "effective_labels")
721
+
722
+ @property
723
+ @pulumi.getter(name="gcpConfig")
724
+ def gcp_config(self) -> pulumi.Output['outputs.ConnectClusterGcpConfig']:
725
+ """
726
+ Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
727
+ Structure is documented below.
728
+ """
729
+ return pulumi.get(self, "gcp_config")
730
+
731
+ @property
732
+ @pulumi.getter(name="kafkaCluster")
733
+ def kafka_cluster(self) -> pulumi.Output[str]:
734
+ """
735
+ The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: `projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID`.
736
+ """
737
+ return pulumi.get(self, "kafka_cluster")
738
+
739
+ @property
740
+ @pulumi.getter
741
+ def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
742
+ """
743
+ List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-),
744
+ underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase
745
+ characters, and numbers. **Note**: This field is non-authoritative, and will only manage the labels present in your
746
+ configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
747
+ """
748
+ return pulumi.get(self, "labels")
749
+
750
+ @property
751
+ @pulumi.getter
752
+ def location(self) -> pulumi.Output[str]:
753
+ """
754
+ ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
755
+ """
756
+ return pulumi.get(self, "location")
757
+
758
+ @property
759
+ @pulumi.getter
760
+ def name(self) -> pulumi.Output[str]:
761
+ """
762
+ The name of the connect cluster. Structured like: `projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER_ID`.
763
+ """
764
+ return pulumi.get(self, "name")
765
+
766
+ @property
767
+ @pulumi.getter
768
+ def project(self) -> pulumi.Output[str]:
769
+ return pulumi.get(self, "project")
770
+
771
+ @property
772
+ @pulumi.getter(name="pulumiLabels")
773
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
774
+ """
775
+ The combination of labels configured directly on the resource
776
+ and default labels configured on the provider.
777
+ """
778
+ return pulumi.get(self, "pulumi_labels")
779
+
780
+ @property
781
+ @pulumi.getter
782
+ def state(self) -> pulumi.Output[str]:
783
+ """
784
+ The current state of the connect cluster. Possible values: `STATE_UNSPECIFIED`, `CREATING`, `ACTIVE`, `DELETING`.
785
+ """
786
+ return pulumi.get(self, "state")
787
+
788
+ @property
789
+ @pulumi.getter(name="updateTime")
790
+ def update_time(self) -> pulumi.Output[str]:
791
+ """
792
+ The time when the cluster was last updated.
793
+ """
794
+ return pulumi.get(self, "update_time")
795
+