pulumi-gcp 7.10.0a1708083418__py3-none-any.whl → 7.10.0a1708496697__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ from .get_autoscaling_policy_iam_policy import *
17
17
  from .get_cluster_iam_policy import *
18
18
  from .get_job_iam_policy import *
19
19
  from .get_metastore_federation_iam_policy import *
20
+ from .get_metastore_service import *
20
21
  from .get_metastore_service_iam_policy import *
21
22
  from .job import *
22
23
  from .job_iam_binding import *
@@ -0,0 +1,350 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetMetastoreServiceResult',
15
+ 'AwaitableGetMetastoreServiceResult',
16
+ 'get_metastore_service',
17
+ 'get_metastore_service_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetMetastoreServiceResult:
22
+ """
23
+ A collection of values returned by getMetastoreService.
24
+ """
25
+ def __init__(__self__, artifact_gcs_uri=None, database_type=None, effective_labels=None, encryption_configs=None, endpoint_uri=None, hive_metastore_configs=None, id=None, labels=None, location=None, maintenance_windows=None, metadata_integrations=None, name=None, network=None, network_configs=None, port=None, project=None, pulumi_labels=None, release_channel=None, scaling_configs=None, service_id=None, state=None, state_message=None, telemetry_configs=None, tier=None, uid=None):
26
+ if artifact_gcs_uri and not isinstance(artifact_gcs_uri, str):
27
+ raise TypeError("Expected argument 'artifact_gcs_uri' to be a str")
28
+ pulumi.set(__self__, "artifact_gcs_uri", artifact_gcs_uri)
29
+ if database_type and not isinstance(database_type, str):
30
+ raise TypeError("Expected argument 'database_type' to be a str")
31
+ pulumi.set(__self__, "database_type", database_type)
32
+ if effective_labels and not isinstance(effective_labels, dict):
33
+ raise TypeError("Expected argument 'effective_labels' to be a dict")
34
+ pulumi.set(__self__, "effective_labels", effective_labels)
35
+ if encryption_configs and not isinstance(encryption_configs, list):
36
+ raise TypeError("Expected argument 'encryption_configs' to be a list")
37
+ pulumi.set(__self__, "encryption_configs", encryption_configs)
38
+ if endpoint_uri and not isinstance(endpoint_uri, str):
39
+ raise TypeError("Expected argument 'endpoint_uri' to be a str")
40
+ pulumi.set(__self__, "endpoint_uri", endpoint_uri)
41
+ if hive_metastore_configs and not isinstance(hive_metastore_configs, list):
42
+ raise TypeError("Expected argument 'hive_metastore_configs' to be a list")
43
+ pulumi.set(__self__, "hive_metastore_configs", hive_metastore_configs)
44
+ if id and not isinstance(id, str):
45
+ raise TypeError("Expected argument 'id' to be a str")
46
+ pulumi.set(__self__, "id", id)
47
+ if labels and not isinstance(labels, dict):
48
+ raise TypeError("Expected argument 'labels' to be a dict")
49
+ pulumi.set(__self__, "labels", labels)
50
+ if location and not isinstance(location, str):
51
+ raise TypeError("Expected argument 'location' to be a str")
52
+ pulumi.set(__self__, "location", location)
53
+ if maintenance_windows and not isinstance(maintenance_windows, list):
54
+ raise TypeError("Expected argument 'maintenance_windows' to be a list")
55
+ pulumi.set(__self__, "maintenance_windows", maintenance_windows)
56
+ if metadata_integrations and not isinstance(metadata_integrations, list):
57
+ raise TypeError("Expected argument 'metadata_integrations' to be a list")
58
+ pulumi.set(__self__, "metadata_integrations", metadata_integrations)
59
+ if name and not isinstance(name, str):
60
+ raise TypeError("Expected argument 'name' to be a str")
61
+ pulumi.set(__self__, "name", name)
62
+ if network and not isinstance(network, str):
63
+ raise TypeError("Expected argument 'network' to be a str")
64
+ pulumi.set(__self__, "network", network)
65
+ if network_configs and not isinstance(network_configs, list):
66
+ raise TypeError("Expected argument 'network_configs' to be a list")
67
+ pulumi.set(__self__, "network_configs", network_configs)
68
+ if port and not isinstance(port, int):
69
+ raise TypeError("Expected argument 'port' to be a int")
70
+ pulumi.set(__self__, "port", port)
71
+ if project and not isinstance(project, str):
72
+ raise TypeError("Expected argument 'project' to be a str")
73
+ pulumi.set(__self__, "project", project)
74
+ if pulumi_labels and not isinstance(pulumi_labels, dict):
75
+ raise TypeError("Expected argument 'pulumi_labels' to be a dict")
76
+ pulumi.set(__self__, "pulumi_labels", pulumi_labels)
77
+ if release_channel and not isinstance(release_channel, str):
78
+ raise TypeError("Expected argument 'release_channel' to be a str")
79
+ pulumi.set(__self__, "release_channel", release_channel)
80
+ if scaling_configs and not isinstance(scaling_configs, list):
81
+ raise TypeError("Expected argument 'scaling_configs' to be a list")
82
+ pulumi.set(__self__, "scaling_configs", scaling_configs)
83
+ if service_id and not isinstance(service_id, str):
84
+ raise TypeError("Expected argument 'service_id' to be a str")
85
+ pulumi.set(__self__, "service_id", service_id)
86
+ if state and not isinstance(state, str):
87
+ raise TypeError("Expected argument 'state' to be a str")
88
+ pulumi.set(__self__, "state", state)
89
+ if state_message and not isinstance(state_message, str):
90
+ raise TypeError("Expected argument 'state_message' to be a str")
91
+ pulumi.set(__self__, "state_message", state_message)
92
+ if telemetry_configs and not isinstance(telemetry_configs, list):
93
+ raise TypeError("Expected argument 'telemetry_configs' to be a list")
94
+ pulumi.set(__self__, "telemetry_configs", telemetry_configs)
95
+ if tier and not isinstance(tier, str):
96
+ raise TypeError("Expected argument 'tier' to be a str")
97
+ pulumi.set(__self__, "tier", tier)
98
+ if uid and not isinstance(uid, str):
99
+ raise TypeError("Expected argument 'uid' to be a str")
100
+ pulumi.set(__self__, "uid", uid)
101
+
102
+ @property
103
+ @pulumi.getter(name="artifactGcsUri")
104
+ def artifact_gcs_uri(self) -> str:
105
+ return pulumi.get(self, "artifact_gcs_uri")
106
+
107
+ @property
108
+ @pulumi.getter(name="databaseType")
109
+ def database_type(self) -> str:
110
+ return pulumi.get(self, "database_type")
111
+
112
+ @property
113
+ @pulumi.getter(name="effectiveLabels")
114
+ def effective_labels(self) -> Mapping[str, str]:
115
+ return pulumi.get(self, "effective_labels")
116
+
117
+ @property
118
+ @pulumi.getter(name="encryptionConfigs")
119
+ def encryption_configs(self) -> Sequence['outputs.GetMetastoreServiceEncryptionConfigResult']:
120
+ return pulumi.get(self, "encryption_configs")
121
+
122
+ @property
123
+ @pulumi.getter(name="endpointUri")
124
+ def endpoint_uri(self) -> str:
125
+ return pulumi.get(self, "endpoint_uri")
126
+
127
+ @property
128
+ @pulumi.getter(name="hiveMetastoreConfigs")
129
+ def hive_metastore_configs(self) -> Sequence['outputs.GetMetastoreServiceHiveMetastoreConfigResult']:
130
+ return pulumi.get(self, "hive_metastore_configs")
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def id(self) -> str:
135
+ """
136
+ The provider-assigned unique ID for this managed resource.
137
+ """
138
+ return pulumi.get(self, "id")
139
+
140
+ @property
141
+ @pulumi.getter
142
+ def labels(self) -> Mapping[str, str]:
143
+ return pulumi.get(self, "labels")
144
+
145
+ @property
146
+ @pulumi.getter
147
+ def location(self) -> str:
148
+ return pulumi.get(self, "location")
149
+
150
+ @property
151
+ @pulumi.getter(name="maintenanceWindows")
152
+ def maintenance_windows(self) -> Sequence['outputs.GetMetastoreServiceMaintenanceWindowResult']:
153
+ return pulumi.get(self, "maintenance_windows")
154
+
155
+ @property
156
+ @pulumi.getter(name="metadataIntegrations")
157
+ def metadata_integrations(self) -> Sequence['outputs.GetMetastoreServiceMetadataIntegrationResult']:
158
+ return pulumi.get(self, "metadata_integrations")
159
+
160
+ @property
161
+ @pulumi.getter
162
+ def name(self) -> str:
163
+ return pulumi.get(self, "name")
164
+
165
+ @property
166
+ @pulumi.getter
167
+ def network(self) -> str:
168
+ return pulumi.get(self, "network")
169
+
170
+ @property
171
+ @pulumi.getter(name="networkConfigs")
172
+ def network_configs(self) -> Sequence['outputs.GetMetastoreServiceNetworkConfigResult']:
173
+ return pulumi.get(self, "network_configs")
174
+
175
+ @property
176
+ @pulumi.getter
177
+ def port(self) -> int:
178
+ return pulumi.get(self, "port")
179
+
180
+ @property
181
+ @pulumi.getter
182
+ def project(self) -> Optional[str]:
183
+ return pulumi.get(self, "project")
184
+
185
+ @property
186
+ @pulumi.getter(name="pulumiLabels")
187
+ def pulumi_labels(self) -> Mapping[str, str]:
188
+ return pulumi.get(self, "pulumi_labels")
189
+
190
+ @property
191
+ @pulumi.getter(name="releaseChannel")
192
+ def release_channel(self) -> str:
193
+ return pulumi.get(self, "release_channel")
194
+
195
+ @property
196
+ @pulumi.getter(name="scalingConfigs")
197
+ def scaling_configs(self) -> Sequence['outputs.GetMetastoreServiceScalingConfigResult']:
198
+ return pulumi.get(self, "scaling_configs")
199
+
200
+ @property
201
+ @pulumi.getter(name="serviceId")
202
+ def service_id(self) -> str:
203
+ return pulumi.get(self, "service_id")
204
+
205
+ @property
206
+ @pulumi.getter
207
+ def state(self) -> str:
208
+ return pulumi.get(self, "state")
209
+
210
+ @property
211
+ @pulumi.getter(name="stateMessage")
212
+ def state_message(self) -> str:
213
+ return pulumi.get(self, "state_message")
214
+
215
+ @property
216
+ @pulumi.getter(name="telemetryConfigs")
217
+ def telemetry_configs(self) -> Sequence['outputs.GetMetastoreServiceTelemetryConfigResult']:
218
+ return pulumi.get(self, "telemetry_configs")
219
+
220
+ @property
221
+ @pulumi.getter
222
+ def tier(self) -> str:
223
+ return pulumi.get(self, "tier")
224
+
225
+ @property
226
+ @pulumi.getter
227
+ def uid(self) -> str:
228
+ return pulumi.get(self, "uid")
229
+
230
+
231
+ class AwaitableGetMetastoreServiceResult(GetMetastoreServiceResult):
232
+ # pylint: disable=using-constant-test
233
+ def __await__(self):
234
+ if False:
235
+ yield self
236
+ return GetMetastoreServiceResult(
237
+ artifact_gcs_uri=self.artifact_gcs_uri,
238
+ database_type=self.database_type,
239
+ effective_labels=self.effective_labels,
240
+ encryption_configs=self.encryption_configs,
241
+ endpoint_uri=self.endpoint_uri,
242
+ hive_metastore_configs=self.hive_metastore_configs,
243
+ id=self.id,
244
+ labels=self.labels,
245
+ location=self.location,
246
+ maintenance_windows=self.maintenance_windows,
247
+ metadata_integrations=self.metadata_integrations,
248
+ name=self.name,
249
+ network=self.network,
250
+ network_configs=self.network_configs,
251
+ port=self.port,
252
+ project=self.project,
253
+ pulumi_labels=self.pulumi_labels,
254
+ release_channel=self.release_channel,
255
+ scaling_configs=self.scaling_configs,
256
+ service_id=self.service_id,
257
+ state=self.state,
258
+ state_message=self.state_message,
259
+ telemetry_configs=self.telemetry_configs,
260
+ tier=self.tier,
261
+ uid=self.uid)
262
+
263
+
264
+ def get_metastore_service(location: Optional[str] = None,
265
+ project: Optional[str] = None,
266
+ service_id: Optional[str] = None,
267
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMetastoreServiceResult:
268
+ """
269
+ Get a Dataproc Metastore service from Google Cloud by its id and location.
270
+
271
+ ## Example Usage
272
+
273
+ ```python
274
+ import pulumi
275
+ import pulumi_gcp as gcp
276
+
277
+ foo = gcp.dataproc.get_metastore_service(location="global",
278
+ service_id="foo-bar")
279
+ ```
280
+
281
+
282
+ :param str location: The location where the metastore service resides.
283
+
284
+ - - -
285
+ :param str project: The project in which the resource belongs. If it
286
+ is not provided, the provider project is used.
287
+ :param str service_id: The ID of the metastore service.
288
+ """
289
+ __args__ = dict()
290
+ __args__['location'] = location
291
+ __args__['project'] = project
292
+ __args__['serviceId'] = service_id
293
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
294
+ __ret__ = pulumi.runtime.invoke('gcp:dataproc/getMetastoreService:getMetastoreService', __args__, opts=opts, typ=GetMetastoreServiceResult).value
295
+
296
+ return AwaitableGetMetastoreServiceResult(
297
+ artifact_gcs_uri=pulumi.get(__ret__, 'artifact_gcs_uri'),
298
+ database_type=pulumi.get(__ret__, 'database_type'),
299
+ effective_labels=pulumi.get(__ret__, 'effective_labels'),
300
+ encryption_configs=pulumi.get(__ret__, 'encryption_configs'),
301
+ endpoint_uri=pulumi.get(__ret__, 'endpoint_uri'),
302
+ hive_metastore_configs=pulumi.get(__ret__, 'hive_metastore_configs'),
303
+ id=pulumi.get(__ret__, 'id'),
304
+ labels=pulumi.get(__ret__, 'labels'),
305
+ location=pulumi.get(__ret__, 'location'),
306
+ maintenance_windows=pulumi.get(__ret__, 'maintenance_windows'),
307
+ metadata_integrations=pulumi.get(__ret__, 'metadata_integrations'),
308
+ name=pulumi.get(__ret__, 'name'),
309
+ network=pulumi.get(__ret__, 'network'),
310
+ network_configs=pulumi.get(__ret__, 'network_configs'),
311
+ port=pulumi.get(__ret__, 'port'),
312
+ project=pulumi.get(__ret__, 'project'),
313
+ pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
314
+ release_channel=pulumi.get(__ret__, 'release_channel'),
315
+ scaling_configs=pulumi.get(__ret__, 'scaling_configs'),
316
+ service_id=pulumi.get(__ret__, 'service_id'),
317
+ state=pulumi.get(__ret__, 'state'),
318
+ state_message=pulumi.get(__ret__, 'state_message'),
319
+ telemetry_configs=pulumi.get(__ret__, 'telemetry_configs'),
320
+ tier=pulumi.get(__ret__, 'tier'),
321
+ uid=pulumi.get(__ret__, 'uid'))
322
+
323
+
324
+ @_utilities.lift_output_func(get_metastore_service)
325
+ def get_metastore_service_output(location: Optional[pulumi.Input[str]] = None,
326
+ project: Optional[pulumi.Input[Optional[str]]] = None,
327
+ service_id: Optional[pulumi.Input[str]] = None,
328
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetastoreServiceResult]:
329
+ """
330
+ Get a Dataproc Metastore service from Google Cloud by its id and location.
331
+
332
+ ## Example Usage
333
+
334
+ ```python
335
+ import pulumi
336
+ import pulumi_gcp as gcp
337
+
338
+ foo = gcp.dataproc.get_metastore_service(location="global",
339
+ service_id="foo-bar")
340
+ ```
341
+
342
+
343
+ :param str location: The location where the metastore service resides.
344
+
345
+ - - -
346
+ :param str project: The project in which the resource belongs. If it
347
+ is not provided, the provider project is used.
348
+ :param str service_id: The ID of the metastore service.
349
+ """
350
+ ...
@@ -154,6 +154,18 @@ __all__ = [
154
154
  'WorkflowTemplatePlacementManagedClusterConfigWorkerConfigAccelerator',
155
155
  'WorkflowTemplatePlacementManagedClusterConfigWorkerConfigDiskConfig',
156
156
  'WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfig',
157
+ 'GetMetastoreServiceEncryptionConfigResult',
158
+ 'GetMetastoreServiceHiveMetastoreConfigResult',
159
+ 'GetMetastoreServiceHiveMetastoreConfigAuxiliaryVersionResult',
160
+ 'GetMetastoreServiceHiveMetastoreConfigKerberosConfigResult',
161
+ 'GetMetastoreServiceHiveMetastoreConfigKerberosConfigKeytabResult',
162
+ 'GetMetastoreServiceMaintenanceWindowResult',
163
+ 'GetMetastoreServiceMetadataIntegrationResult',
164
+ 'GetMetastoreServiceMetadataIntegrationDataCatalogConfigResult',
165
+ 'GetMetastoreServiceNetworkConfigResult',
166
+ 'GetMetastoreServiceNetworkConfigConsumerResult',
167
+ 'GetMetastoreServiceScalingConfigResult',
168
+ 'GetMetastoreServiceTelemetryConfigResult',
157
169
  ]
158
170
 
159
171
  @pulumi.output_type
@@ -10123,3 +10135,371 @@ class WorkflowTemplatePlacementManagedClusterConfigWorkerConfigManagedGroupConfi
10123
10135
  return pulumi.get(self, "instance_template_name")
10124
10136
 
10125
10137
 
10138
+ @pulumi.output_type
10139
+ class GetMetastoreServiceEncryptionConfigResult(dict):
10140
+ def __init__(__self__, *,
10141
+ kms_key: str):
10142
+ """
10143
+ :param str kms_key: The fully qualified customer provided Cloud KMS key name to use for customer data encryption.
10144
+ Use the following format: 'projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'
10145
+ """
10146
+ pulumi.set(__self__, "kms_key", kms_key)
10147
+
10148
+ @property
10149
+ @pulumi.getter(name="kmsKey")
10150
+ def kms_key(self) -> str:
10151
+ """
10152
+ The fully qualified customer provided Cloud KMS key name to use for customer data encryption.
10153
+ Use the following format: 'projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)'
10154
+ """
10155
+ return pulumi.get(self, "kms_key")
10156
+
10157
+
10158
+ @pulumi.output_type
10159
+ class GetMetastoreServiceHiveMetastoreConfigResult(dict):
10160
+ def __init__(__self__, *,
10161
+ auxiliary_versions: Sequence['outputs.GetMetastoreServiceHiveMetastoreConfigAuxiliaryVersionResult'],
10162
+ config_overrides: Mapping[str, str],
10163
+ endpoint_protocol: str,
10164
+ kerberos_configs: Sequence['outputs.GetMetastoreServiceHiveMetastoreConfigKerberosConfigResult'],
10165
+ version: str):
10166
+ """
10167
+ :param Sequence['GetMetastoreServiceHiveMetastoreConfigAuxiliaryVersionArgs'] auxiliary_versions: A mapping of Hive metastore version to the auxiliary version configuration.
10168
+ When specified, a secondary Hive metastore service is created along with the primary service.
10169
+ All auxiliary versions must be less than the service's primary version.
10170
+ The key is the auxiliary service name and it must match the regular expression a-z?.
10171
+ This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
10172
+ :param Mapping[str, str] config_overrides: A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml).
10173
+ The mappings override system defaults (some keys cannot be overridden)
10174
+ :param str endpoint_protocol: The protocol to use for the metastore service endpoint. If unspecified, defaults to 'THRIFT'. Default value: "THRIFT" Possible values: ["THRIFT", "GRPC"]
10175
+ :param Sequence['GetMetastoreServiceHiveMetastoreConfigKerberosConfigArgs'] kerberos_configs: Information used to configure the Hive metastore service as a service principal in a Kerberos realm.
10176
+ :param str version: The Hive metastore schema version.
10177
+ """
10178
+ pulumi.set(__self__, "auxiliary_versions", auxiliary_versions)
10179
+ pulumi.set(__self__, "config_overrides", config_overrides)
10180
+ pulumi.set(__self__, "endpoint_protocol", endpoint_protocol)
10181
+ pulumi.set(__self__, "kerberos_configs", kerberos_configs)
10182
+ pulumi.set(__self__, "version", version)
10183
+
10184
+ @property
10185
+ @pulumi.getter(name="auxiliaryVersions")
10186
+ def auxiliary_versions(self) -> Sequence['outputs.GetMetastoreServiceHiveMetastoreConfigAuxiliaryVersionResult']:
10187
+ """
10188
+ A mapping of Hive metastore version to the auxiliary version configuration.
10189
+ When specified, a secondary Hive metastore service is created along with the primary service.
10190
+ All auxiliary versions must be less than the service's primary version.
10191
+ The key is the auxiliary service name and it must match the regular expression a-z?.
10192
+ This means that the first character must be a lowercase letter, and all the following characters must be hyphens, lowercase letters, or digits, except the last character, which cannot be a hyphen.
10193
+ """
10194
+ return pulumi.get(self, "auxiliary_versions")
10195
+
10196
+ @property
10197
+ @pulumi.getter(name="configOverrides")
10198
+ def config_overrides(self) -> Mapping[str, str]:
10199
+ """
10200
+ A mapping of Hive metastore configuration key-value pairs to apply to the Hive metastore (configured in hive-site.xml).
10201
+ The mappings override system defaults (some keys cannot be overridden)
10202
+ """
10203
+ return pulumi.get(self, "config_overrides")
10204
+
10205
+ @property
10206
+ @pulumi.getter(name="endpointProtocol")
10207
+ def endpoint_protocol(self) -> str:
10208
+ """
10209
+ The protocol to use for the metastore service endpoint. If unspecified, defaults to 'THRIFT'. Default value: "THRIFT" Possible values: ["THRIFT", "GRPC"]
10210
+ """
10211
+ return pulumi.get(self, "endpoint_protocol")
10212
+
10213
+ @property
10214
+ @pulumi.getter(name="kerberosConfigs")
10215
+ def kerberos_configs(self) -> Sequence['outputs.GetMetastoreServiceHiveMetastoreConfigKerberosConfigResult']:
10216
+ """
10217
+ Information used to configure the Hive metastore service as a service principal in a Kerberos realm.
10218
+ """
10219
+ return pulumi.get(self, "kerberos_configs")
10220
+
10221
+ @property
10222
+ @pulumi.getter
10223
+ def version(self) -> str:
10224
+ """
10225
+ The Hive metastore schema version.
10226
+ """
10227
+ return pulumi.get(self, "version")
10228
+
10229
+
10230
+ @pulumi.output_type
10231
+ class GetMetastoreServiceHiveMetastoreConfigAuxiliaryVersionResult(dict):
10232
+ def __init__(__self__, *,
10233
+ config_overrides: Mapping[str, str],
10234
+ key: str,
10235
+ version: str):
10236
+ """
10237
+ :param Mapping[str, str] config_overrides: A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides.
10238
+ If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
10239
+ :param str version: The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
10240
+ """
10241
+ pulumi.set(__self__, "config_overrides", config_overrides)
10242
+ pulumi.set(__self__, "key", key)
10243
+ pulumi.set(__self__, "version", version)
10244
+
10245
+ @property
10246
+ @pulumi.getter(name="configOverrides")
10247
+ def config_overrides(self) -> Mapping[str, str]:
10248
+ """
10249
+ A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides.
10250
+ If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence.
10251
+ """
10252
+ return pulumi.get(self, "config_overrides")
10253
+
10254
+ @property
10255
+ @pulumi.getter
10256
+ def key(self) -> str:
10257
+ return pulumi.get(self, "key")
10258
+
10259
+ @property
10260
+ @pulumi.getter
10261
+ def version(self) -> str:
10262
+ """
10263
+ The Hive metastore version of the auxiliary service. It must be less than the primary Hive metastore service's version.
10264
+ """
10265
+ return pulumi.get(self, "version")
10266
+
10267
+
10268
+ @pulumi.output_type
10269
+ class GetMetastoreServiceHiveMetastoreConfigKerberosConfigResult(dict):
10270
+ def __init__(__self__, *,
10271
+ keytabs: Sequence['outputs.GetMetastoreServiceHiveMetastoreConfigKerberosConfigKeytabResult'],
10272
+ krb5_config_gcs_uri: str,
10273
+ principal: str):
10274
+ """
10275
+ :param Sequence['GetMetastoreServiceHiveMetastoreConfigKerberosConfigKeytabArgs'] keytabs: A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
10276
+ :param str krb5_config_gcs_uri: A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly.
10277
+ :param str principal: A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form "primary/instance@REALM", but there is no exact format.
10278
+ """
10279
+ pulumi.set(__self__, "keytabs", keytabs)
10280
+ pulumi.set(__self__, "krb5_config_gcs_uri", krb5_config_gcs_uri)
10281
+ pulumi.set(__self__, "principal", principal)
10282
+
10283
+ @property
10284
+ @pulumi.getter
10285
+ def keytabs(self) -> Sequence['outputs.GetMetastoreServiceHiveMetastoreConfigKerberosConfigKeytabResult']:
10286
+ """
10287
+ A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
10288
+ """
10289
+ return pulumi.get(self, "keytabs")
10290
+
10291
+ @property
10292
+ @pulumi.getter(name="krb5ConfigGcsUri")
10293
+ def krb5_config_gcs_uri(self) -> str:
10294
+ """
10295
+ A Cloud Storage URI that specifies the path to a krb5.conf file. It is of the form gs://{bucket_name}/path/to/krb5.conf, although the file does not need to be named krb5.conf explicitly.
10296
+ """
10297
+ return pulumi.get(self, "krb5_config_gcs_uri")
10298
+
10299
+ @property
10300
+ @pulumi.getter
10301
+ def principal(self) -> str:
10302
+ """
10303
+ A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form "primary/instance@REALM", but there is no exact format.
10304
+ """
10305
+ return pulumi.get(self, "principal")
10306
+
10307
+
10308
+ @pulumi.output_type
10309
+ class GetMetastoreServiceHiveMetastoreConfigKerberosConfigKeytabResult(dict):
10310
+ def __init__(__self__, *,
10311
+ cloud_secret: str):
10312
+ """
10313
+ :param str cloud_secret: The relative resource name of a Secret Manager secret version, in the following form:
10314
+
10315
+ "projects/{projectNumber}/secrets/{secret_id}/versions/{version_id}".
10316
+ """
10317
+ pulumi.set(__self__, "cloud_secret", cloud_secret)
10318
+
10319
+ @property
10320
+ @pulumi.getter(name="cloudSecret")
10321
+ def cloud_secret(self) -> str:
10322
+ """
10323
+ The relative resource name of a Secret Manager secret version, in the following form:
10324
+
10325
+ "projects/{projectNumber}/secrets/{secret_id}/versions/{version_id}".
10326
+ """
10327
+ return pulumi.get(self, "cloud_secret")
10328
+
10329
+
10330
+ @pulumi.output_type
10331
+ class GetMetastoreServiceMaintenanceWindowResult(dict):
10332
+ def __init__(__self__, *,
10333
+ day_of_week: str,
10334
+ hour_of_day: int):
10335
+ """
10336
+ :param str day_of_week: The day of week, when the window starts. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
10337
+ :param int hour_of_day: The hour of day (0-23) when the window starts.
10338
+ """
10339
+ pulumi.set(__self__, "day_of_week", day_of_week)
10340
+ pulumi.set(__self__, "hour_of_day", hour_of_day)
10341
+
10342
+ @property
10343
+ @pulumi.getter(name="dayOfWeek")
10344
+ def day_of_week(self) -> str:
10345
+ """
10346
+ The day of week, when the window starts. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
10347
+ """
10348
+ return pulumi.get(self, "day_of_week")
10349
+
10350
+ @property
10351
+ @pulumi.getter(name="hourOfDay")
10352
+ def hour_of_day(self) -> int:
10353
+ """
10354
+ The hour of day (0-23) when the window starts.
10355
+ """
10356
+ return pulumi.get(self, "hour_of_day")
10357
+
10358
+
10359
+ @pulumi.output_type
10360
+ class GetMetastoreServiceMetadataIntegrationResult(dict):
10361
+ def __init__(__self__, *,
10362
+ data_catalog_configs: Sequence['outputs.GetMetastoreServiceMetadataIntegrationDataCatalogConfigResult']):
10363
+ """
10364
+ :param Sequence['GetMetastoreServiceMetadataIntegrationDataCatalogConfigArgs'] data_catalog_configs: The integration config for the Data Catalog service.
10365
+ """
10366
+ pulumi.set(__self__, "data_catalog_configs", data_catalog_configs)
10367
+
10368
+ @property
10369
+ @pulumi.getter(name="dataCatalogConfigs")
10370
+ def data_catalog_configs(self) -> Sequence['outputs.GetMetastoreServiceMetadataIntegrationDataCatalogConfigResult']:
10371
+ """
10372
+ The integration config for the Data Catalog service.
10373
+ """
10374
+ return pulumi.get(self, "data_catalog_configs")
10375
+
10376
+
10377
+ @pulumi.output_type
10378
+ class GetMetastoreServiceMetadataIntegrationDataCatalogConfigResult(dict):
10379
+ def __init__(__self__, *,
10380
+ enabled: bool):
10381
+ """
10382
+ :param bool enabled: Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.
10383
+ """
10384
+ pulumi.set(__self__, "enabled", enabled)
10385
+
10386
+ @property
10387
+ @pulumi.getter
10388
+ def enabled(self) -> bool:
10389
+ """
10390
+ Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.
10391
+ """
10392
+ return pulumi.get(self, "enabled")
10393
+
10394
+
10395
+ @pulumi.output_type
10396
+ class GetMetastoreServiceNetworkConfigResult(dict):
10397
+ def __init__(__self__, *,
10398
+ consumers: Sequence['outputs.GetMetastoreServiceNetworkConfigConsumerResult'],
10399
+ custom_routes_enabled: bool):
10400
+ """
10401
+ :param Sequence['GetMetastoreServiceNetworkConfigConsumerArgs'] consumers: The consumer-side network configuration for the Dataproc Metastore instance.
10402
+ :param bool custom_routes_enabled: Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.
10403
+ """
10404
+ pulumi.set(__self__, "consumers", consumers)
10405
+ pulumi.set(__self__, "custom_routes_enabled", custom_routes_enabled)
10406
+
10407
+ @property
10408
+ @pulumi.getter
10409
+ def consumers(self) -> Sequence['outputs.GetMetastoreServiceNetworkConfigConsumerResult']:
10410
+ """
10411
+ The consumer-side network configuration for the Dataproc Metastore instance.
10412
+ """
10413
+ return pulumi.get(self, "consumers")
10414
+
10415
+ @property
10416
+ @pulumi.getter(name="customRoutesEnabled")
10417
+ def custom_routes_enabled(self) -> bool:
10418
+ """
10419
+ Enables custom routes to be imported and exported for the Dataproc Metastore service's peered VPC network.
10420
+ """
10421
+ return pulumi.get(self, "custom_routes_enabled")
10422
+
10423
+
10424
+ @pulumi.output_type
10425
+ class GetMetastoreServiceNetworkConfigConsumerResult(dict):
10426
+ def __init__(__self__, *,
10427
+ endpoint_uri: str,
10428
+ subnetwork: str):
10429
+ """
10430
+ :param str endpoint_uri: The URI of the endpoint used to access the metastore service.
10431
+ :param str subnetwork: The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint.
10432
+ It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network.
10433
+ There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:
10434
+ 'projects/{projectNumber}/regions/{region_id}/subnetworks/{subnetwork_id}
10435
+ """
10436
+ pulumi.set(__self__, "endpoint_uri", endpoint_uri)
10437
+ pulumi.set(__self__, "subnetwork", subnetwork)
10438
+
10439
+ @property
10440
+ @pulumi.getter(name="endpointUri")
10441
+ def endpoint_uri(self) -> str:
10442
+ """
10443
+ The URI of the endpoint used to access the metastore service.
10444
+ """
10445
+ return pulumi.get(self, "endpoint_uri")
10446
+
10447
+ @property
10448
+ @pulumi.getter
10449
+ def subnetwork(self) -> str:
10450
+ """
10451
+ The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint.
10452
+ It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network.
10453
+ There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:
10454
+ 'projects/{projectNumber}/regions/{region_id}/subnetworks/{subnetwork_id}
10455
+ """
10456
+ return pulumi.get(self, "subnetwork")
10457
+
10458
+
10459
+ @pulumi.output_type
10460
+ class GetMetastoreServiceScalingConfigResult(dict):
10461
+ def __init__(__self__, *,
10462
+ instance_size: str,
10463
+ scaling_factor: float):
10464
+ """
10465
+ :param str instance_size: Metastore instance sizes. Possible values: ["EXTRA_SMALL", "SMALL", "MEDIUM", "LARGE", "EXTRA_LARGE"]
10466
+ :param float scaling_factor: Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
10467
+ """
10468
+ pulumi.set(__self__, "instance_size", instance_size)
10469
+ pulumi.set(__self__, "scaling_factor", scaling_factor)
10470
+
10471
+ @property
10472
+ @pulumi.getter(name="instanceSize")
10473
+ def instance_size(self) -> str:
10474
+ """
10475
+ Metastore instance sizes. Possible values: ["EXTRA_SMALL", "SMALL", "MEDIUM", "LARGE", "EXTRA_LARGE"]
10476
+ """
10477
+ return pulumi.get(self, "instance_size")
10478
+
10479
+ @property
10480
+ @pulumi.getter(name="scalingFactor")
10481
+ def scaling_factor(self) -> float:
10482
+ """
10483
+ Scaling factor, in increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0.
10484
+ """
10485
+ return pulumi.get(self, "scaling_factor")
10486
+
10487
+
10488
+ @pulumi.output_type
10489
+ class GetMetastoreServiceTelemetryConfigResult(dict):
10490
+ def __init__(__self__, *,
10491
+ log_format: str):
10492
+ """
10493
+ :param str log_format: The output format of the Dataproc Metastore service's logs. Default value: "JSON" Possible values: ["LEGACY", "JSON"]
10494
+ """
10495
+ pulumi.set(__self__, "log_format", log_format)
10496
+
10497
+ @property
10498
+ @pulumi.getter(name="logFormat")
10499
+ def log_format(self) -> str:
10500
+ """
10501
+ The output format of the Dataproc Metastore service's logs. Default value: "JSON" Possible values: ["LEGACY", "JSON"]
10502
+ """
10503
+ return pulumi.get(self, "log_format")
10504
+
10505
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_gcp
3
- Version: 7.10.0a1708083418
3
+ Version: 7.10.0a1708496697
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -668,7 +668,7 @@ pulumi_gcp/dataplex/zone.py,sha256=hMxjyhdm6hxNwPFMc7djRpgsGPG8l6QN77q5dxQYqow,3
668
668
  pulumi_gcp/dataplex/zone_iam_binding.py,sha256=xZHWrJZQUipV-Vmqo1ZgAeSpkcXQIUBysB-zhjqW0OM,37466
669
669
  pulumi_gcp/dataplex/zone_iam_member.py,sha256=j8uW8c3LUUigfwUoOk4q_amf3OgfApgX5SacpnkxyDc,37170
670
670
  pulumi_gcp/dataplex/zone_iam_policy.py,sha256=yq-Wgl9kuW5Zq2BdpIXJOi4gzV8fZZAspAf5V2YJH-g,33681
671
- pulumi_gcp/dataproc/__init__.py,sha256=kNkPhxTBuM8Nw092rFHMCdb4g6vMotEP2kuxXuObcGk,1317
671
+ pulumi_gcp/dataproc/__init__.py,sha256=ltohNvj10PWTrJaJPlS5M9NjDVVBI8pZSw_-NC8ZNhU,1354
672
672
  pulumi_gcp/dataproc/_inputs.py,sha256=dhMe81bKu45ypmILNkFUZNiwlSoBVgEf9eW-brB0an8,484209
673
673
  pulumi_gcp/dataproc/autoscaling_policy.py,sha256=8u-Fa1yQFPUalg5HIyo0RLFt3AN_zdtLtbxDKk9E850,26124
674
674
  pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py,sha256=rf5q7ebu439mfzLjHZXPDOu-4Po4BkEWYISH8bu2GrQ,40390
@@ -682,6 +682,7 @@ pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py,sha256=0kU-lZ8naBmAE_A7
682
682
  pulumi_gcp/dataproc/get_cluster_iam_policy.py,sha256=dH7LmuW2xuZWSDWLzmKgXQutPa5PcpC0XqkjKzhRyt4,5252
683
683
  pulumi_gcp/dataproc/get_job_iam_policy.py,sha256=ObRvbWBSRmhP1ZNiaM25M7bX6Oilo4g9JWaIs6lazV0,5153
684
684
  pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py,sha256=EMqAhQ_-gKxNQ_M6XP_g36LV8DVWE-jxgk78QLe9C1I,6086
685
+ pulumi_gcp/dataproc/get_metastore_service.py,sha256=-gIJuxPOSZ0N3qDgObuSTA3EdWZ7tshM5v0H791NMxQ,14832
685
686
  pulumi_gcp/dataproc/get_metastore_service_iam_policy.py,sha256=ja3NSouUdUkgTrWANZwLMLYjq_uMCvKnSliTJWO_160,6728
686
687
  pulumi_gcp/dataproc/job.py,sha256=dpgAOPIfC7EdWZitQlhva2lQmHKFm1g19iiQ-UBAYzY,51519
687
688
  pulumi_gcp/dataproc/job_iam_binding.py,sha256=MmZTecTYrTZBPATTiJaBe_hRPgLtd6MMDbKOGis4XwY,22591
@@ -695,7 +696,7 @@ pulumi_gcp/dataproc/metastore_service.py,sha256=c6LNNkZErt-WVjJqm0THIXmedewK-AMZ
695
696
  pulumi_gcp/dataproc/metastore_service_iam_binding.py,sha256=OV9Nfdks-18V73sUoP0OfLRWCaVoLWHpwpyF5rllQQQ,37860
696
697
  pulumi_gcp/dataproc/metastore_service_iam_member.py,sha256=vbyRk9MSeBR6Y8kEACUu44WwrjmgkEmvzHEtcavRT4I,37564
697
698
  pulumi_gcp/dataproc/metastore_service_iam_policy.py,sha256=RKTmd97qjK-BlcWn5tTPLcRxYk_dw3wsxtL-iavwfTs,33871
698
- pulumi_gcp/dataproc/outputs.py,sha256=qpYWEpHhK29cI8jy8j_9pi2rgD3r3x02uHzZ4d-JIIw,479237
699
+ pulumi_gcp/dataproc/outputs.py,sha256=X9vku9-j0dDYAC5OCsRcqLS2jHr3DksU0TgciJlfb5s,497396
699
700
  pulumi_gcp/dataproc/workflow_template.py,sha256=KD0C6X8e1FrLRYV7csv6tJA710_oVt2Cd1sjZXWrIM4,49930
700
701
  pulumi_gcp/datastore/__init__.py,sha256=xavoW_--DyiX4VnpwCCr6VflCuvOLj8AreJ2ZbrJIF8,346
701
702
  pulumi_gcp/datastore/_inputs.py,sha256=41bwKSAhrKSmDSec3CYsMoYkcdeMIhiNvqPi-bHXcZU,1580
@@ -1478,7 +1479,7 @@ pulumi_gcp/workstations/workstation_config_iam_policy.py,sha256=sli2qaaWdgRoGifd
1478
1479
  pulumi_gcp/workstations/workstation_iam_binding.py,sha256=9fYHcTYfq2rLBmoLmIeN1did5jwECGYi-eVNwjAfYoU,35877
1479
1480
  pulumi_gcp/workstations/workstation_iam_member.py,sha256=K-nQU3_UK-9GMEwiOobKHvMUbrvzNxR5tavwnyg9BfU,35581
1480
1481
  pulumi_gcp/workstations/workstation_iam_policy.py,sha256=uF2FCQiwlv7LpIEuMV5-hMVueNNRchK5d8YmnTnVU_A,31945
1481
- pulumi_gcp-7.10.0a1708083418.dist-info/METADATA,sha256=npFhzB8SlZHH9OocqAR7az5QtNkZuDqfiVQiYn0Ghfk,2662
1482
- pulumi_gcp-7.10.0a1708083418.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
1483
- pulumi_gcp-7.10.0a1708083418.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1484
- pulumi_gcp-7.10.0a1708083418.dist-info/RECORD,,
1482
+ pulumi_gcp-7.10.0a1708496697.dist-info/METADATA,sha256=8W1mwD8RqVGf5qSvSJruDX29dSgWh289renhMj5eS1M,2662
1483
+ pulumi_gcp-7.10.0a1708496697.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
1484
+ pulumi_gcp-7.10.0a1708496697.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
1485
+ pulumi_gcp-7.10.0a1708496697.dist-info/RECORD,,