pulumi-gcp 8.22.0a1741888019__py3-none-any.whl → 8.23.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.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/alloydb/_inputs.py +27 -1
- pulumi_gcp/alloydb/outputs.py +33 -2
- pulumi_gcp/applicationintegration/client.py +18 -24
- pulumi_gcp/bigquery/_inputs.py +20 -0
- pulumi_gcp/bigquery/outputs.py +12 -0
- pulumi_gcp/bigquery/table.py +61 -0
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/clouddeploy/_inputs.py +20 -0
- pulumi_gcp/clouddeploy/outputs.py +15 -1
- pulumi_gcp/cloudfunctions/function.py +11 -11
- pulumi_gcp/cloudfunctionsv2/function.py +24 -24
- pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
- pulumi_gcp/cloudidentity/outputs.py +18 -38
- pulumi_gcp/compute/firewall_policy.py +20 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
- pulumi_gcp/compute/subnetwork.py +109 -1
- pulumi_gcp/compute/target_https_proxy.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/get_attached_versions.py +2 -2
- pulumi_gcp/container/outputs.py +4 -4
- pulumi_gcp/dataform/repository.py +49 -0
- pulumi_gcp/dataproc/get_metastore_service.py +26 -4
- pulumi_gcp/dataproc/metastore_federation.py +56 -0
- pulumi_gcp/dataproc/metastore_service.py +58 -2
- pulumi_gcp/eventarc/__init__.py +1 -0
- pulumi_gcp/eventarc/_inputs.py +1758 -0
- pulumi_gcp/eventarc/outputs.py +1337 -0
- pulumi_gcp/eventarc/pipeline.py +1596 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +154 -0
- pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
- pulumi_gcp/firebase/hosting_version.py +2 -2
- pulumi_gcp/firebase/outputs.py +127 -0
- pulumi_gcp/kms/get_key_rings.py +39 -2
- pulumi_gcp/managedkafka/__init__.py +2 -0
- pulumi_gcp/managedkafka/_inputs.py +263 -0
- pulumi_gcp/managedkafka/connect_cluster.py +795 -0
- pulumi_gcp/managedkafka/connector.py +695 -0
- pulumi_gcp/managedkafka/outputs.py +248 -0
- pulumi_gcp/memorystore/instance.py +7 -7
- pulumi_gcp/monitoring/uptime_check_config.py +2 -2
- pulumi_gcp/networksecurity/_inputs.py +643 -0
- pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
- pulumi_gcp/networksecurity/mirroring_deployment.py +22 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +20 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +24 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +28 -0
- pulumi_gcp/networksecurity/outputs.py +475 -0
- pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
- pulumi_gcp/networkservices/gateway.py +242 -120
- pulumi_gcp/projects/__init__.py +2 -0
- pulumi_gcp/projects/get_iam_custom_role.py +198 -0
- pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
- pulumi_gcp/projects/outputs.py +96 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
- pulumi_gcp/sql/outputs.py +8 -8
- pulumi_gcp/storage/_inputs.py +14 -6
- pulumi_gcp/storage/insights_report_config.py +121 -20
- pulumi_gcp/storage/outputs.py +7 -4
- pulumi_gcp/workflows/workflow.py +75 -7
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/RECORD +69 -63
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/top_level.txt +0 -0
@@ -309,7 +309,7 @@ class HostingVersion(pulumi.CustomResource):
|
|
309
309
|
project="my-project-name",
|
310
310
|
name="cloud-function-via-hosting",
|
311
311
|
description="A Cloud Function connected to Firebase Hosing",
|
312
|
-
runtime="
|
312
|
+
runtime="nodejs20",
|
313
313
|
available_memory_mb=128,
|
314
314
|
source_archive_bucket=bucket.name,
|
315
315
|
source_archive_object=object.name,
|
@@ -516,7 +516,7 @@ class HostingVersion(pulumi.CustomResource):
|
|
516
516
|
project="my-project-name",
|
517
517
|
name="cloud-function-via-hosting",
|
518
518
|
description="A Cloud Function connected to Firebase Hosing",
|
519
|
-
runtime="
|
519
|
+
runtime="nodejs20",
|
520
520
|
available_memory_mb=128,
|
521
521
|
source_archive_bucket=bucket.name,
|
522
522
|
source_archive_object=object.name,
|
pulumi_gcp/firebase/outputs.py
CHANGED
@@ -16,6 +16,9 @@ from .. import _utilities
|
|
16
16
|
from . import outputs
|
17
17
|
|
18
18
|
__all__ = [
|
19
|
+
'AppHostingBackendCodebase',
|
20
|
+
'AppHostingBackendManagedResource',
|
21
|
+
'AppHostingBackendManagedResourceRunService',
|
19
22
|
'ExtensionsInstanceConfig',
|
20
23
|
'ExtensionsInstanceErrorStatus',
|
21
24
|
'ExtensionsInstanceRuntimeData',
|
@@ -42,6 +45,130 @@ __all__ = [
|
|
42
45
|
'HostingVersionConfigRewriteRun',
|
43
46
|
]
|
44
47
|
|
48
|
+
@pulumi.output_type
|
49
|
+
class AppHostingBackendCodebase(dict):
|
50
|
+
@staticmethod
|
51
|
+
def __key_warning(key: str):
|
52
|
+
suggest = None
|
53
|
+
if key == "rootDirectory":
|
54
|
+
suggest = "root_directory"
|
55
|
+
|
56
|
+
if suggest:
|
57
|
+
pulumi.log.warn(f"Key '{key}' not found in AppHostingBackendCodebase. Access the value via the '{suggest}' property getter instead.")
|
58
|
+
|
59
|
+
def __getitem__(self, key: str) -> Any:
|
60
|
+
AppHostingBackendCodebase.__key_warning(key)
|
61
|
+
return super().__getitem__(key)
|
62
|
+
|
63
|
+
def get(self, key: str, default = None) -> Any:
|
64
|
+
AppHostingBackendCodebase.__key_warning(key)
|
65
|
+
return super().get(key, default)
|
66
|
+
|
67
|
+
def __init__(__self__, *,
|
68
|
+
repository: str,
|
69
|
+
root_directory: Optional[str] = None):
|
70
|
+
"""
|
71
|
+
:param str repository: The resource name for the Developer Connect
|
72
|
+
[`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks)
|
73
|
+
connected to this backend, in the format:
|
74
|
+
projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}
|
75
|
+
:param str root_directory: If `repository` is provided, the directory relative to the root of the
|
76
|
+
repository to use as the root for the deployed web app.
|
77
|
+
"""
|
78
|
+
pulumi.set(__self__, "repository", repository)
|
79
|
+
if root_directory is not None:
|
80
|
+
pulumi.set(__self__, "root_directory", root_directory)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def repository(self) -> str:
|
85
|
+
"""
|
86
|
+
The resource name for the Developer Connect
|
87
|
+
[`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks)
|
88
|
+
connected to this backend, in the format:
|
89
|
+
projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "repository")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="rootDirectory")
|
95
|
+
def root_directory(self) -> Optional[str]:
|
96
|
+
"""
|
97
|
+
If `repository` is provided, the directory relative to the root of the
|
98
|
+
repository to use as the root for the deployed web app.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "root_directory")
|
101
|
+
|
102
|
+
|
103
|
+
@pulumi.output_type
|
104
|
+
class AppHostingBackendManagedResource(dict):
|
105
|
+
@staticmethod
|
106
|
+
def __key_warning(key: str):
|
107
|
+
suggest = None
|
108
|
+
if key == "runServices":
|
109
|
+
suggest = "run_services"
|
110
|
+
|
111
|
+
if suggest:
|
112
|
+
pulumi.log.warn(f"Key '{key}' not found in AppHostingBackendManagedResource. Access the value via the '{suggest}' property getter instead.")
|
113
|
+
|
114
|
+
def __getitem__(self, key: str) -> Any:
|
115
|
+
AppHostingBackendManagedResource.__key_warning(key)
|
116
|
+
return super().__getitem__(key)
|
117
|
+
|
118
|
+
def get(self, key: str, default = None) -> Any:
|
119
|
+
AppHostingBackendManagedResource.__key_warning(key)
|
120
|
+
return super().get(key, default)
|
121
|
+
|
122
|
+
def __init__(__self__, *,
|
123
|
+
run_services: Optional[Sequence['outputs.AppHostingBackendManagedResourceRunService']] = None):
|
124
|
+
"""
|
125
|
+
:param Sequence['AppHostingBackendManagedResourceRunServiceArgs'] run_services: (Output)
|
126
|
+
A managed Cloud Run
|
127
|
+
[`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).
|
128
|
+
Structure is documented below.
|
129
|
+
"""
|
130
|
+
if run_services is not None:
|
131
|
+
pulumi.set(__self__, "run_services", run_services)
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="runServices")
|
135
|
+
def run_services(self) -> Optional[Sequence['outputs.AppHostingBackendManagedResourceRunService']]:
|
136
|
+
"""
|
137
|
+
(Output)
|
138
|
+
A managed Cloud Run
|
139
|
+
[`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service).
|
140
|
+
Structure is documented below.
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "run_services")
|
143
|
+
|
144
|
+
|
145
|
+
@pulumi.output_type
|
146
|
+
class AppHostingBackendManagedResourceRunService(dict):
|
147
|
+
def __init__(__self__, *,
|
148
|
+
service: Optional[str] = None):
|
149
|
+
"""
|
150
|
+
:param str service: (Output)
|
151
|
+
The name of the Cloud Run
|
152
|
+
[`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service),
|
153
|
+
in the format:
|
154
|
+
projects/{project}/locations/{location}/services/{serviceId}
|
155
|
+
"""
|
156
|
+
if service is not None:
|
157
|
+
pulumi.set(__self__, "service", service)
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter
|
161
|
+
def service(self) -> Optional[str]:
|
162
|
+
"""
|
163
|
+
(Output)
|
164
|
+
The name of the Cloud Run
|
165
|
+
[`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service),
|
166
|
+
in the format:
|
167
|
+
projects/{project}/locations/{location}/services/{serviceId}
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "service")
|
170
|
+
|
171
|
+
|
45
172
|
@pulumi.output_type
|
46
173
|
class ExtensionsInstanceConfig(dict):
|
47
174
|
@staticmethod
|
pulumi_gcp/kms/get_key_rings.py
CHANGED
@@ -60,6 +60,9 @@ class GetKeyRingsResult:
|
|
60
60
|
@property
|
61
61
|
@pulumi.getter(name="keyRings")
|
62
62
|
def key_rings(self) -> Sequence['outputs.GetKeyRingsKeyRingResult']:
|
63
|
+
"""
|
64
|
+
A list of all the retrieved key rings from the provided location. This list is influenced by the provided filter argument.
|
65
|
+
"""
|
63
66
|
return pulumi.get(self, "key_rings")
|
64
67
|
|
65
68
|
@property
|
@@ -91,7 +94,24 @@ def get_key_rings(filter: Optional[str] = None,
|
|
91
94
|
project: Optional[str] = None,
|
92
95
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKeyRingsResult:
|
93
96
|
"""
|
94
|
-
|
97
|
+
Provides access to all Google Cloud Platform KMS CryptoKeyRings in a set location. For more information see
|
98
|
+
[the official documentation](https://cloud.google.com/kms/docs/resource-hierarchy#key_rings)
|
99
|
+
and
|
100
|
+
[API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings).
|
101
|
+
|
102
|
+
A key ring organizes keys in a specific Google Cloud location and lets you manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location. After creation, a key ring cannot be deleted. Key rings don't incur any costs.
|
103
|
+
|
104
|
+
|
105
|
+
:param str filter: The filter argument is used to add a filter query parameter that limits which key rings are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering.
|
106
|
+
|
107
|
+
Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}.
|
108
|
+
|
109
|
+
* `"name:my-key-"` will retrieve key rings that contain "my-key-" anywhere in their name.
|
110
|
+
* `"name=projects/my-project/locations/global/keyRings/my-key-ring"` will only retrieve a key with that exact name.
|
111
|
+
|
112
|
+
[See the documentation about using filters](https://cloud.google.com/kms/docs/sorting-and-filtering)
|
113
|
+
:param str location: The location that the underlying key ring resides in. e.g us-west1
|
114
|
+
:param str project: The Project ID of the project.
|
95
115
|
"""
|
96
116
|
__args__ = dict()
|
97
117
|
__args__['filter'] = filter
|
@@ -111,7 +131,24 @@ def get_key_rings_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
131
|
project: Optional[pulumi.Input[Optional[str]]] = None,
|
112
132
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKeyRingsResult]:
|
113
133
|
"""
|
114
|
-
|
134
|
+
Provides access to all Google Cloud Platform KMS CryptoKeyRings in a set location. For more information see
|
135
|
+
[the official documentation](https://cloud.google.com/kms/docs/resource-hierarchy#key_rings)
|
136
|
+
and
|
137
|
+
[API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings).
|
138
|
+
|
139
|
+
A key ring organizes keys in a specific Google Cloud location and lets you manage access control on groups of keys. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location. After creation, a key ring cannot be deleted. Key rings don't incur any costs.
|
140
|
+
|
141
|
+
|
142
|
+
:param str filter: The filter argument is used to add a filter query parameter that limits which key rings are retrieved by the data source: ?filter={{filter}}. When no value is provided there is no filtering.
|
143
|
+
|
144
|
+
Example filter values if filtering on name. Note: names take the form projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}.
|
145
|
+
|
146
|
+
* `"name:my-key-"` will retrieve key rings that contain "my-key-" anywhere in their name.
|
147
|
+
* `"name=projects/my-project/locations/global/keyRings/my-key-ring"` will only retrieve a key with that exact name.
|
148
|
+
|
149
|
+
[See the documentation about using filters](https://cloud.google.com/kms/docs/sorting-and-filtering)
|
150
|
+
:param str location: The location that the underlying key ring resides in. e.g us-west1
|
151
|
+
:param str project: The Project ID of the project.
|
115
152
|
"""
|
116
153
|
__args__ = dict()
|
117
154
|
__args__['filter'] = filter
|
@@ -25,6 +25,16 @@ __all__ = [
|
|
25
25
|
'ClusterGcpConfigAccessConfigNetworkConfigArgsDict',
|
26
26
|
'ClusterRebalanceConfigArgs',
|
27
27
|
'ClusterRebalanceConfigArgsDict',
|
28
|
+
'ConnectClusterCapacityConfigArgs',
|
29
|
+
'ConnectClusterCapacityConfigArgsDict',
|
30
|
+
'ConnectClusterGcpConfigArgs',
|
31
|
+
'ConnectClusterGcpConfigArgsDict',
|
32
|
+
'ConnectClusterGcpConfigAccessConfigArgs',
|
33
|
+
'ConnectClusterGcpConfigAccessConfigArgsDict',
|
34
|
+
'ConnectClusterGcpConfigAccessConfigNetworkConfigArgs',
|
35
|
+
'ConnectClusterGcpConfigAccessConfigNetworkConfigArgsDict',
|
36
|
+
'ConnectorTaskRestartPolicyArgs',
|
37
|
+
'ConnectorTaskRestartPolicyArgsDict',
|
28
38
|
]
|
29
39
|
|
30
40
|
MYPY = False
|
@@ -236,3 +246,256 @@ class ClusterRebalanceConfigArgs:
|
|
236
246
|
pulumi.set(self, "mode", value)
|
237
247
|
|
238
248
|
|
249
|
+
if not MYPY:
|
250
|
+
class ConnectClusterCapacityConfigArgsDict(TypedDict):
|
251
|
+
memory_bytes: pulumi.Input[str]
|
252
|
+
"""
|
253
|
+
The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
|
254
|
+
"""
|
255
|
+
vcpu_count: pulumi.Input[str]
|
256
|
+
"""
|
257
|
+
The number of vCPUs to provision for the cluster. The minimum is 3.
|
258
|
+
"""
|
259
|
+
elif False:
|
260
|
+
ConnectClusterCapacityConfigArgsDict: TypeAlias = Mapping[str, Any]
|
261
|
+
|
262
|
+
@pulumi.input_type
|
263
|
+
class ConnectClusterCapacityConfigArgs:
|
264
|
+
def __init__(__self__, *,
|
265
|
+
memory_bytes: pulumi.Input[str],
|
266
|
+
vcpu_count: pulumi.Input[str]):
|
267
|
+
"""
|
268
|
+
:param pulumi.Input[str] memory_bytes: The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
|
269
|
+
:param pulumi.Input[str] vcpu_count: The number of vCPUs to provision for the cluster. The minimum is 3.
|
270
|
+
"""
|
271
|
+
pulumi.set(__self__, "memory_bytes", memory_bytes)
|
272
|
+
pulumi.set(__self__, "vcpu_count", vcpu_count)
|
273
|
+
|
274
|
+
@property
|
275
|
+
@pulumi.getter(name="memoryBytes")
|
276
|
+
def memory_bytes(self) -> pulumi.Input[str]:
|
277
|
+
"""
|
278
|
+
The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "memory_bytes")
|
281
|
+
|
282
|
+
@memory_bytes.setter
|
283
|
+
def memory_bytes(self, value: pulumi.Input[str]):
|
284
|
+
pulumi.set(self, "memory_bytes", value)
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter(name="vcpuCount")
|
288
|
+
def vcpu_count(self) -> pulumi.Input[str]:
|
289
|
+
"""
|
290
|
+
The number of vCPUs to provision for the cluster. The minimum is 3.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "vcpu_count")
|
293
|
+
|
294
|
+
@vcpu_count.setter
|
295
|
+
def vcpu_count(self, value: pulumi.Input[str]):
|
296
|
+
pulumi.set(self, "vcpu_count", value)
|
297
|
+
|
298
|
+
|
299
|
+
if not MYPY:
|
300
|
+
class ConnectClusterGcpConfigArgsDict(TypedDict):
|
301
|
+
access_config: pulumi.Input['ConnectClusterGcpConfigAccessConfigArgsDict']
|
302
|
+
"""
|
303
|
+
The configuration of access to the Kafka Connect cluster.
|
304
|
+
Structure is documented below.
|
305
|
+
"""
|
306
|
+
elif False:
|
307
|
+
ConnectClusterGcpConfigArgsDict: TypeAlias = Mapping[str, Any]
|
308
|
+
|
309
|
+
@pulumi.input_type
|
310
|
+
class ConnectClusterGcpConfigArgs:
|
311
|
+
def __init__(__self__, *,
|
312
|
+
access_config: pulumi.Input['ConnectClusterGcpConfigAccessConfigArgs']):
|
313
|
+
"""
|
314
|
+
:param pulumi.Input['ConnectClusterGcpConfigAccessConfigArgs'] access_config: The configuration of access to the Kafka Connect cluster.
|
315
|
+
Structure is documented below.
|
316
|
+
"""
|
317
|
+
pulumi.set(__self__, "access_config", access_config)
|
318
|
+
|
319
|
+
@property
|
320
|
+
@pulumi.getter(name="accessConfig")
|
321
|
+
def access_config(self) -> pulumi.Input['ConnectClusterGcpConfigAccessConfigArgs']:
|
322
|
+
"""
|
323
|
+
The configuration of access to the Kafka Connect cluster.
|
324
|
+
Structure is documented below.
|
325
|
+
"""
|
326
|
+
return pulumi.get(self, "access_config")
|
327
|
+
|
328
|
+
@access_config.setter
|
329
|
+
def access_config(self, value: pulumi.Input['ConnectClusterGcpConfigAccessConfigArgs']):
|
330
|
+
pulumi.set(self, "access_config", value)
|
331
|
+
|
332
|
+
|
333
|
+
if not MYPY:
|
334
|
+
class ConnectClusterGcpConfigAccessConfigArgsDict(TypedDict):
|
335
|
+
network_configs: pulumi.Input[Sequence[pulumi.Input['ConnectClusterGcpConfigAccessConfigNetworkConfigArgsDict']]]
|
336
|
+
"""
|
337
|
+
Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka Connect cluster are allocated. To make the connect cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
|
338
|
+
Structure is documented below.
|
339
|
+
"""
|
340
|
+
elif False:
|
341
|
+
ConnectClusterGcpConfigAccessConfigArgsDict: TypeAlias = Mapping[str, Any]
|
342
|
+
|
343
|
+
@pulumi.input_type
|
344
|
+
class ConnectClusterGcpConfigAccessConfigArgs:
|
345
|
+
def __init__(__self__, *,
|
346
|
+
network_configs: pulumi.Input[Sequence[pulumi.Input['ConnectClusterGcpConfigAccessConfigNetworkConfigArgs']]]):
|
347
|
+
"""
|
348
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectClusterGcpConfigAccessConfigNetworkConfigArgs']]] network_configs: Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka Connect cluster are allocated. To make the connect cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
|
349
|
+
Structure is documented below.
|
350
|
+
"""
|
351
|
+
pulumi.set(__self__, "network_configs", network_configs)
|
352
|
+
|
353
|
+
@property
|
354
|
+
@pulumi.getter(name="networkConfigs")
|
355
|
+
def network_configs(self) -> pulumi.Input[Sequence[pulumi.Input['ConnectClusterGcpConfigAccessConfigNetworkConfigArgs']]]:
|
356
|
+
"""
|
357
|
+
Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka Connect cluster are allocated. To make the connect cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
|
358
|
+
Structure is documented below.
|
359
|
+
"""
|
360
|
+
return pulumi.get(self, "network_configs")
|
361
|
+
|
362
|
+
@network_configs.setter
|
363
|
+
def network_configs(self, value: pulumi.Input[Sequence[pulumi.Input['ConnectClusterGcpConfigAccessConfigNetworkConfigArgs']]]):
|
364
|
+
pulumi.set(self, "network_configs", value)
|
365
|
+
|
366
|
+
|
367
|
+
if not MYPY:
|
368
|
+
class ConnectClusterGcpConfigAccessConfigNetworkConfigArgsDict(TypedDict):
|
369
|
+
primary_subnet: pulumi.Input[str]
|
370
|
+
"""
|
371
|
+
VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}. It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
|
372
|
+
"""
|
373
|
+
additional_subnets: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
374
|
+
"""
|
375
|
+
Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
|
376
|
+
"""
|
377
|
+
dns_domain_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
378
|
+
"""
|
379
|
+
Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
|
380
|
+
|
381
|
+
- - -
|
382
|
+
"""
|
383
|
+
elif False:
|
384
|
+
ConnectClusterGcpConfigAccessConfigNetworkConfigArgsDict: TypeAlias = Mapping[str, Any]
|
385
|
+
|
386
|
+
@pulumi.input_type
|
387
|
+
class ConnectClusterGcpConfigAccessConfigNetworkConfigArgs:
|
388
|
+
def __init__(__self__, *,
|
389
|
+
primary_subnet: pulumi.Input[str],
|
390
|
+
additional_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
391
|
+
dns_domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
392
|
+
"""
|
393
|
+
:param pulumi.Input[str] primary_subnet: VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}. It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
|
394
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] additional_subnets: Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
|
395
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] dns_domain_names: Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
|
396
|
+
|
397
|
+
- - -
|
398
|
+
"""
|
399
|
+
pulumi.set(__self__, "primary_subnet", primary_subnet)
|
400
|
+
if additional_subnets is not None:
|
401
|
+
pulumi.set(__self__, "additional_subnets", additional_subnets)
|
402
|
+
if dns_domain_names is not None:
|
403
|
+
pulumi.set(__self__, "dns_domain_names", dns_domain_names)
|
404
|
+
|
405
|
+
@property
|
406
|
+
@pulumi.getter(name="primarySubnet")
|
407
|
+
def primary_subnet(self) -> pulumi.Input[str]:
|
408
|
+
"""
|
409
|
+
VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}. It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
|
410
|
+
"""
|
411
|
+
return pulumi.get(self, "primary_subnet")
|
412
|
+
|
413
|
+
@primary_subnet.setter
|
414
|
+
def primary_subnet(self, value: pulumi.Input[str]):
|
415
|
+
pulumi.set(self, "primary_subnet", value)
|
416
|
+
|
417
|
+
@property
|
418
|
+
@pulumi.getter(name="additionalSubnets")
|
419
|
+
def additional_subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
420
|
+
"""
|
421
|
+
Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
|
422
|
+
"""
|
423
|
+
return pulumi.get(self, "additional_subnets")
|
424
|
+
|
425
|
+
@additional_subnets.setter
|
426
|
+
def additional_subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
427
|
+
pulumi.set(self, "additional_subnets", value)
|
428
|
+
|
429
|
+
@property
|
430
|
+
@pulumi.getter(name="dnsDomainNames")
|
431
|
+
def dns_domain_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
432
|
+
"""
|
433
|
+
Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
|
434
|
+
|
435
|
+
- - -
|
436
|
+
"""
|
437
|
+
return pulumi.get(self, "dns_domain_names")
|
438
|
+
|
439
|
+
@dns_domain_names.setter
|
440
|
+
def dns_domain_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
441
|
+
pulumi.set(self, "dns_domain_names", value)
|
442
|
+
|
443
|
+
|
444
|
+
if not MYPY:
|
445
|
+
class ConnectorTaskRestartPolicyArgsDict(TypedDict):
|
446
|
+
maximum_backoff: NotRequired[pulumi.Input[str]]
|
447
|
+
"""
|
448
|
+
The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
|
449
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
450
|
+
"""
|
451
|
+
minimum_backoff: NotRequired[pulumi.Input[str]]
|
452
|
+
"""
|
453
|
+
The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
|
454
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
455
|
+
"""
|
456
|
+
elif False:
|
457
|
+
ConnectorTaskRestartPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
458
|
+
|
459
|
+
@pulumi.input_type
|
460
|
+
class ConnectorTaskRestartPolicyArgs:
|
461
|
+
def __init__(__self__, *,
|
462
|
+
maximum_backoff: Optional[pulumi.Input[str]] = None,
|
463
|
+
minimum_backoff: Optional[pulumi.Input[str]] = None):
|
464
|
+
"""
|
465
|
+
:param pulumi.Input[str] maximum_backoff: The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
|
466
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
467
|
+
:param pulumi.Input[str] minimum_backoff: The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
|
468
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
469
|
+
"""
|
470
|
+
if maximum_backoff is not None:
|
471
|
+
pulumi.set(__self__, "maximum_backoff", maximum_backoff)
|
472
|
+
if minimum_backoff is not None:
|
473
|
+
pulumi.set(__self__, "minimum_backoff", minimum_backoff)
|
474
|
+
|
475
|
+
@property
|
476
|
+
@pulumi.getter(name="maximumBackoff")
|
477
|
+
def maximum_backoff(self) -> Optional[pulumi.Input[str]]:
|
478
|
+
"""
|
479
|
+
The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
|
480
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
481
|
+
"""
|
482
|
+
return pulumi.get(self, "maximum_backoff")
|
483
|
+
|
484
|
+
@maximum_backoff.setter
|
485
|
+
def maximum_backoff(self, value: Optional[pulumi.Input[str]]):
|
486
|
+
pulumi.set(self, "maximum_backoff", value)
|
487
|
+
|
488
|
+
@property
|
489
|
+
@pulumi.getter(name="minimumBackoff")
|
490
|
+
def minimum_backoff(self) -> Optional[pulumi.Input[str]]:
|
491
|
+
"""
|
492
|
+
The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
|
493
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
494
|
+
"""
|
495
|
+
return pulumi.get(self, "minimum_backoff")
|
496
|
+
|
497
|
+
@minimum_backoff.setter
|
498
|
+
def minimum_backoff(self, value: Optional[pulumi.Input[str]]):
|
499
|
+
pulumi.set(self, "minimum_backoff", value)
|
500
|
+
|
501
|
+
|