pulumi-gcp 8.25.0a1743575622__py3-none-any.whl → 8.25.0a1743706148__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 +104 -0
- pulumi_gcp/_inputs.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +324 -12
- pulumi_gcp/accesscontextmanager/outputs.py +204 -12
- pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -2
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/_inputs.py +58 -0
- pulumi_gcp/apigee/dns_zone.py +491 -0
- pulumi_gcp/apigee/outputs.py +53 -0
- pulumi_gcp/bigquery/reservation_assignment.py +7 -7
- pulumi_gcp/bigtable/table.py +8 -8
- pulumi_gcp/chronicle/data_access_label.py +2 -2
- pulumi_gcp/chronicle/data_access_scope.py +16 -0
- pulumi_gcp/chronicle/reference_list.py +16 -0
- pulumi_gcp/chronicle/retrohunt.py +16 -0
- pulumi_gcp/chronicle/rule.py +16 -0
- pulumi_gcp/chronicle/rule_deployment.py +16 -0
- pulumi_gcp/chronicle/watchlist.py +16 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +20 -0
- pulumi_gcp/cloudfunctionsv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +2011 -43
- pulumi_gcp/compute/backend_service.py +121 -3
- pulumi_gcp/compute/get_backend_service.py +15 -4
- pulumi_gcp/compute/get_instance.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +482 -0
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/get_subnetwork.py +43 -1
- pulumi_gcp/compute/instance.py +47 -0
- pulumi_gcp/compute/instance_from_machine_image.py +94 -0
- pulumi_gcp/compute/instance_from_template.py +47 -0
- pulumi_gcp/compute/outputs.py +3578 -139
- pulumi_gcp/compute/public_delegated_prefix.py +69 -15
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/subnetwork.py +35 -5
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/outputs.py +27 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +12 -12
- pulumi_gcp/container/cluster.py +47 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/get_registry_image.py +4 -0
- pulumi_gcp/container/get_registry_repository.py +4 -0
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/container/registry.py +4 -0
- pulumi_gcp/datafusion/instance.py +68 -0
- pulumi_gcp/dataproc/__init__.py +8 -0
- pulumi_gcp/dataproc/_inputs.py +196 -0
- pulumi_gcp/dataproc/get_metastore_database_iam_policy.py +193 -0
- pulumi_gcp/dataproc/get_metastore_table_iam_policy.py +210 -0
- pulumi_gcp/dataproc/metastore_database_iam_binding.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_member.py +848 -0
- pulumi_gcp/dataproc/metastore_database_iam_policy.py +687 -0
- pulumi_gcp/dataproc/metastore_federation.py +38 -2
- pulumi_gcp/dataproc/metastore_table_iam_binding.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_member.py +895 -0
- pulumi_gcp/dataproc/metastore_table_iam_policy.py +734 -0
- pulumi_gcp/dataproc/outputs.py +112 -0
- pulumi_gcp/datastream/_inputs.py +311 -94
- pulumi_gcp/datastream/connection_profile.py +40 -0
- pulumi_gcp/datastream/outputs.py +244 -51
- pulumi_gcp/datastream/stream.py +216 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/sitemap.py +504 -0
- pulumi_gcp/eventarc/__init__.py +1 -0
- pulumi_gcp/eventarc/enrollment.py +980 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +484 -0
- pulumi_gcp/firebase/app_hosting_build.py +1232 -0
- pulumi_gcp/firebase/outputs.py +333 -0
- pulumi_gcp/identityplatform/_inputs.py +91 -0
- pulumi_gcp/identityplatform/outputs.py +73 -0
- pulumi_gcp/identityplatform/tenant.py +56 -0
- pulumi_gcp/managedkafka/cluster.py +2 -2
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/_inputs.py +826 -0
- pulumi_gcp/memorystore/get_instance.py +23 -1
- pulumi_gcp/memorystore/instance.py +344 -23
- pulumi_gcp/memorystore/instance_desired_user_created_endpoints.py +843 -0
- pulumi_gcp/memorystore/outputs.py +889 -8
- pulumi_gcp/networksecurity/_inputs.py +473 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +44 -16
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +94 -36
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +53 -8
- pulumi_gcp/networksecurity/outputs.py +291 -1
- pulumi_gcp/networksecurity/security_profile.py +8 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_iam_custom_roles.py +164 -0
- pulumi_gcp/organizations/outputs.py +96 -0
- pulumi_gcp/parametermanager/get_parameter.py +16 -1
- pulumi_gcp/parametermanager/get_parameter_version.py +19 -1
- pulumi_gcp/parametermanager/get_parameter_version_render.py +4 -0
- pulumi_gcp/parametermanager/get_parameters.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version.py +4 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +8 -0
- pulumi_gcp/parametermanager/get_regional_parameters.py +4 -0
- pulumi_gcp/parametermanager/outputs.py +11 -0
- pulumi_gcp/parametermanager/parameter.py +88 -0
- pulumi_gcp/parametermanager/parameter_version.py +74 -0
- pulumi_gcp/parametermanager/regional_parameter.py +12 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +12 -0
- pulumi_gcp/provider.py +15 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +136 -0
- pulumi_gcp/redis/cluster.py +54 -0
- pulumi_gcp/redis/outputs.py +114 -0
- pulumi_gcp/secretmanager/regional_secret_version.py +0 -16
- pulumi_gcp/storage/__init__.py +4 -0
- pulumi_gcp/storage/_inputs.py +596 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/control_folder_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +420 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +49 -7
- pulumi_gcp/storage/get_bucket_object_content.py +16 -1
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +160 -0
- pulumi_gcp/storage/get_control_project_intelligence_config.py +32 -2
- pulumi_gcp/storage/outputs.py +2132 -1312
- pulumi_gcp/workbench/instance.py +14 -2
- {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/RECORD +126 -107
- {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.25.0a1743575622.dist-info → pulumi_gcp-8.25.0a1743706148.dist-info}/top_level.txt +0 -0
pulumi_gcp/dataproc/_inputs.py
CHANGED
@@ -203,6 +203,10 @@ __all__ = [
|
|
203
203
|
'JobSparksqlConfigLoggingConfigArgsDict',
|
204
204
|
'JobStatusArgs',
|
205
205
|
'JobStatusArgsDict',
|
206
|
+
'MetastoreDatabaseIamBindingConditionArgs',
|
207
|
+
'MetastoreDatabaseIamBindingConditionArgsDict',
|
208
|
+
'MetastoreDatabaseIamMemberConditionArgs',
|
209
|
+
'MetastoreDatabaseIamMemberConditionArgsDict',
|
206
210
|
'MetastoreFederationBackendMetastoreArgs',
|
207
211
|
'MetastoreFederationBackendMetastoreArgsDict',
|
208
212
|
'MetastoreFederationIamBindingConditionArgs',
|
@@ -243,6 +247,10 @@ __all__ = [
|
|
243
247
|
'MetastoreServiceScheduledBackupArgsDict',
|
244
248
|
'MetastoreServiceTelemetryConfigArgs',
|
245
249
|
'MetastoreServiceTelemetryConfigArgsDict',
|
250
|
+
'MetastoreTableIamBindingConditionArgs',
|
251
|
+
'MetastoreTableIamBindingConditionArgsDict',
|
252
|
+
'MetastoreTableIamMemberConditionArgs',
|
253
|
+
'MetastoreTableIamMemberConditionArgsDict',
|
246
254
|
'WorkflowTemplateEncryptionConfigArgs',
|
247
255
|
'WorkflowTemplateEncryptionConfigArgsDict',
|
248
256
|
'WorkflowTemplateJobArgs',
|
@@ -9020,6 +9028,100 @@ class JobStatusArgs:
|
|
9020
9028
|
pulumi.set(self, "substate", value)
|
9021
9029
|
|
9022
9030
|
|
9031
|
+
if not MYPY:
|
9032
|
+
class MetastoreDatabaseIamBindingConditionArgsDict(TypedDict):
|
9033
|
+
expression: pulumi.Input[str]
|
9034
|
+
title: pulumi.Input[str]
|
9035
|
+
description: NotRequired[pulumi.Input[str]]
|
9036
|
+
elif False:
|
9037
|
+
MetastoreDatabaseIamBindingConditionArgsDict: TypeAlias = Mapping[str, Any]
|
9038
|
+
|
9039
|
+
@pulumi.input_type
|
9040
|
+
class MetastoreDatabaseIamBindingConditionArgs:
|
9041
|
+
def __init__(__self__, *,
|
9042
|
+
expression: pulumi.Input[str],
|
9043
|
+
title: pulumi.Input[str],
|
9044
|
+
description: Optional[pulumi.Input[str]] = None):
|
9045
|
+
pulumi.set(__self__, "expression", expression)
|
9046
|
+
pulumi.set(__self__, "title", title)
|
9047
|
+
if description is not None:
|
9048
|
+
pulumi.set(__self__, "description", description)
|
9049
|
+
|
9050
|
+
@property
|
9051
|
+
@pulumi.getter
|
9052
|
+
def expression(self) -> pulumi.Input[str]:
|
9053
|
+
return pulumi.get(self, "expression")
|
9054
|
+
|
9055
|
+
@expression.setter
|
9056
|
+
def expression(self, value: pulumi.Input[str]):
|
9057
|
+
pulumi.set(self, "expression", value)
|
9058
|
+
|
9059
|
+
@property
|
9060
|
+
@pulumi.getter
|
9061
|
+
def title(self) -> pulumi.Input[str]:
|
9062
|
+
return pulumi.get(self, "title")
|
9063
|
+
|
9064
|
+
@title.setter
|
9065
|
+
def title(self, value: pulumi.Input[str]):
|
9066
|
+
pulumi.set(self, "title", value)
|
9067
|
+
|
9068
|
+
@property
|
9069
|
+
@pulumi.getter
|
9070
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
9071
|
+
return pulumi.get(self, "description")
|
9072
|
+
|
9073
|
+
@description.setter
|
9074
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
9075
|
+
pulumi.set(self, "description", value)
|
9076
|
+
|
9077
|
+
|
9078
|
+
if not MYPY:
|
9079
|
+
class MetastoreDatabaseIamMemberConditionArgsDict(TypedDict):
|
9080
|
+
expression: pulumi.Input[str]
|
9081
|
+
title: pulumi.Input[str]
|
9082
|
+
description: NotRequired[pulumi.Input[str]]
|
9083
|
+
elif False:
|
9084
|
+
MetastoreDatabaseIamMemberConditionArgsDict: TypeAlias = Mapping[str, Any]
|
9085
|
+
|
9086
|
+
@pulumi.input_type
|
9087
|
+
class MetastoreDatabaseIamMemberConditionArgs:
|
9088
|
+
def __init__(__self__, *,
|
9089
|
+
expression: pulumi.Input[str],
|
9090
|
+
title: pulumi.Input[str],
|
9091
|
+
description: Optional[pulumi.Input[str]] = None):
|
9092
|
+
pulumi.set(__self__, "expression", expression)
|
9093
|
+
pulumi.set(__self__, "title", title)
|
9094
|
+
if description is not None:
|
9095
|
+
pulumi.set(__self__, "description", description)
|
9096
|
+
|
9097
|
+
@property
|
9098
|
+
@pulumi.getter
|
9099
|
+
def expression(self) -> pulumi.Input[str]:
|
9100
|
+
return pulumi.get(self, "expression")
|
9101
|
+
|
9102
|
+
@expression.setter
|
9103
|
+
def expression(self, value: pulumi.Input[str]):
|
9104
|
+
pulumi.set(self, "expression", value)
|
9105
|
+
|
9106
|
+
@property
|
9107
|
+
@pulumi.getter
|
9108
|
+
def title(self) -> pulumi.Input[str]:
|
9109
|
+
return pulumi.get(self, "title")
|
9110
|
+
|
9111
|
+
@title.setter
|
9112
|
+
def title(self, value: pulumi.Input[str]):
|
9113
|
+
pulumi.set(self, "title", value)
|
9114
|
+
|
9115
|
+
@property
|
9116
|
+
@pulumi.getter
|
9117
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
9118
|
+
return pulumi.get(self, "description")
|
9119
|
+
|
9120
|
+
@description.setter
|
9121
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
9122
|
+
pulumi.set(self, "description", value)
|
9123
|
+
|
9124
|
+
|
9023
9125
|
if not MYPY:
|
9024
9126
|
class MetastoreFederationBackendMetastoreArgsDict(TypedDict):
|
9025
9127
|
metastore_type: pulumi.Input[str]
|
@@ -10209,6 +10311,100 @@ class MetastoreServiceTelemetryConfigArgs:
|
|
10209
10311
|
pulumi.set(self, "log_format", value)
|
10210
10312
|
|
10211
10313
|
|
10314
|
+
if not MYPY:
|
10315
|
+
class MetastoreTableIamBindingConditionArgsDict(TypedDict):
|
10316
|
+
expression: pulumi.Input[str]
|
10317
|
+
title: pulumi.Input[str]
|
10318
|
+
description: NotRequired[pulumi.Input[str]]
|
10319
|
+
elif False:
|
10320
|
+
MetastoreTableIamBindingConditionArgsDict: TypeAlias = Mapping[str, Any]
|
10321
|
+
|
10322
|
+
@pulumi.input_type
|
10323
|
+
class MetastoreTableIamBindingConditionArgs:
|
10324
|
+
def __init__(__self__, *,
|
10325
|
+
expression: pulumi.Input[str],
|
10326
|
+
title: pulumi.Input[str],
|
10327
|
+
description: Optional[pulumi.Input[str]] = None):
|
10328
|
+
pulumi.set(__self__, "expression", expression)
|
10329
|
+
pulumi.set(__self__, "title", title)
|
10330
|
+
if description is not None:
|
10331
|
+
pulumi.set(__self__, "description", description)
|
10332
|
+
|
10333
|
+
@property
|
10334
|
+
@pulumi.getter
|
10335
|
+
def expression(self) -> pulumi.Input[str]:
|
10336
|
+
return pulumi.get(self, "expression")
|
10337
|
+
|
10338
|
+
@expression.setter
|
10339
|
+
def expression(self, value: pulumi.Input[str]):
|
10340
|
+
pulumi.set(self, "expression", value)
|
10341
|
+
|
10342
|
+
@property
|
10343
|
+
@pulumi.getter
|
10344
|
+
def title(self) -> pulumi.Input[str]:
|
10345
|
+
return pulumi.get(self, "title")
|
10346
|
+
|
10347
|
+
@title.setter
|
10348
|
+
def title(self, value: pulumi.Input[str]):
|
10349
|
+
pulumi.set(self, "title", value)
|
10350
|
+
|
10351
|
+
@property
|
10352
|
+
@pulumi.getter
|
10353
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
10354
|
+
return pulumi.get(self, "description")
|
10355
|
+
|
10356
|
+
@description.setter
|
10357
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
10358
|
+
pulumi.set(self, "description", value)
|
10359
|
+
|
10360
|
+
|
10361
|
+
if not MYPY:
|
10362
|
+
class MetastoreTableIamMemberConditionArgsDict(TypedDict):
|
10363
|
+
expression: pulumi.Input[str]
|
10364
|
+
title: pulumi.Input[str]
|
10365
|
+
description: NotRequired[pulumi.Input[str]]
|
10366
|
+
elif False:
|
10367
|
+
MetastoreTableIamMemberConditionArgsDict: TypeAlias = Mapping[str, Any]
|
10368
|
+
|
10369
|
+
@pulumi.input_type
|
10370
|
+
class MetastoreTableIamMemberConditionArgs:
|
10371
|
+
def __init__(__self__, *,
|
10372
|
+
expression: pulumi.Input[str],
|
10373
|
+
title: pulumi.Input[str],
|
10374
|
+
description: Optional[pulumi.Input[str]] = None):
|
10375
|
+
pulumi.set(__self__, "expression", expression)
|
10376
|
+
pulumi.set(__self__, "title", title)
|
10377
|
+
if description is not None:
|
10378
|
+
pulumi.set(__self__, "description", description)
|
10379
|
+
|
10380
|
+
@property
|
10381
|
+
@pulumi.getter
|
10382
|
+
def expression(self) -> pulumi.Input[str]:
|
10383
|
+
return pulumi.get(self, "expression")
|
10384
|
+
|
10385
|
+
@expression.setter
|
10386
|
+
def expression(self, value: pulumi.Input[str]):
|
10387
|
+
pulumi.set(self, "expression", value)
|
10388
|
+
|
10389
|
+
@property
|
10390
|
+
@pulumi.getter
|
10391
|
+
def title(self) -> pulumi.Input[str]:
|
10392
|
+
return pulumi.get(self, "title")
|
10393
|
+
|
10394
|
+
@title.setter
|
10395
|
+
def title(self, value: pulumi.Input[str]):
|
10396
|
+
pulumi.set(self, "title", value)
|
10397
|
+
|
10398
|
+
@property
|
10399
|
+
@pulumi.getter
|
10400
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
10401
|
+
return pulumi.get(self, "description")
|
10402
|
+
|
10403
|
+
@description.setter
|
10404
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
10405
|
+
pulumi.set(self, "description", value)
|
10406
|
+
|
10407
|
+
|
10212
10408
|
if not MYPY:
|
10213
10409
|
class WorkflowTemplateEncryptionConfigArgsDict(TypedDict):
|
10214
10410
|
kms_key: NotRequired[pulumi.Input[str]]
|
@@ -0,0 +1,193 @@
|
|
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
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetMetastoreDatabaseIamPolicyResult',
|
19
|
+
'AwaitableGetMetastoreDatabaseIamPolicyResult',
|
20
|
+
'get_metastore_database_iam_policy',
|
21
|
+
'get_metastore_database_iam_policy_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetMetastoreDatabaseIamPolicyResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getMetastoreDatabaseIamPolicy.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, database=None, etag=None, id=None, location=None, policy_data=None, project=None, service_id=None):
|
30
|
+
if database and not isinstance(database, str):
|
31
|
+
raise TypeError("Expected argument 'database' to be a str")
|
32
|
+
pulumi.set(__self__, "database", database)
|
33
|
+
if etag and not isinstance(etag, str):
|
34
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
35
|
+
pulumi.set(__self__, "etag", etag)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if location and not isinstance(location, str):
|
40
|
+
raise TypeError("Expected argument 'location' to be a str")
|
41
|
+
pulumi.set(__self__, "location", location)
|
42
|
+
if policy_data and not isinstance(policy_data, str):
|
43
|
+
raise TypeError("Expected argument 'policy_data' to be a str")
|
44
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
45
|
+
if project and not isinstance(project, str):
|
46
|
+
raise TypeError("Expected argument 'project' to be a str")
|
47
|
+
pulumi.set(__self__, "project", project)
|
48
|
+
if service_id and not isinstance(service_id, str):
|
49
|
+
raise TypeError("Expected argument 'service_id' to be a str")
|
50
|
+
pulumi.set(__self__, "service_id", service_id)
|
51
|
+
|
52
|
+
@property
|
53
|
+
@pulumi.getter
|
54
|
+
def database(self) -> str:
|
55
|
+
return pulumi.get(self, "database")
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter
|
59
|
+
def etag(self) -> str:
|
60
|
+
"""
|
61
|
+
(Computed) The etag of the IAM policy.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "etag")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def id(self) -> str:
|
68
|
+
"""
|
69
|
+
The provider-assigned unique ID for this managed resource.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "id")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def location(self) -> str:
|
76
|
+
return pulumi.get(self, "location")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="policyData")
|
80
|
+
def policy_data(self) -> str:
|
81
|
+
"""
|
82
|
+
(Required only by `dataproc.MetastoreDatabaseIamPolicy`) The policy data generated by
|
83
|
+
a `organizations_get_iam_policy` data source.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "policy_data")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def project(self) -> str:
|
90
|
+
return pulumi.get(self, "project")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter(name="serviceId")
|
94
|
+
def service_id(self) -> str:
|
95
|
+
return pulumi.get(self, "service_id")
|
96
|
+
|
97
|
+
|
98
|
+
class AwaitableGetMetastoreDatabaseIamPolicyResult(GetMetastoreDatabaseIamPolicyResult):
|
99
|
+
# pylint: disable=using-constant-test
|
100
|
+
def __await__(self):
|
101
|
+
if False:
|
102
|
+
yield self
|
103
|
+
return GetMetastoreDatabaseIamPolicyResult(
|
104
|
+
database=self.database,
|
105
|
+
etag=self.etag,
|
106
|
+
id=self.id,
|
107
|
+
location=self.location,
|
108
|
+
policy_data=self.policy_data,
|
109
|
+
project=self.project,
|
110
|
+
service_id=self.service_id)
|
111
|
+
|
112
|
+
|
113
|
+
def get_metastore_database_iam_policy(database: Optional[str] = None,
|
114
|
+
location: Optional[str] = None,
|
115
|
+
project: Optional[str] = None,
|
116
|
+
service_id: Optional[str] = None,
|
117
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMetastoreDatabaseIamPolicyResult:
|
118
|
+
"""
|
119
|
+
Retrieves the current IAM policy data for database
|
120
|
+
|
121
|
+
## Example Usage
|
122
|
+
|
123
|
+
```python
|
124
|
+
import pulumi
|
125
|
+
import pulumi_gcp as gcp
|
126
|
+
|
127
|
+
policy = gcp.dataproc.get_metastore_database_iam_policy(project=dpms_service["project"],
|
128
|
+
location=dpms_service["location"],
|
129
|
+
service_id=dpms_service["serviceId"],
|
130
|
+
database=hive["hiveConfig"][0]["properties"]["database"])
|
131
|
+
```
|
132
|
+
|
133
|
+
|
134
|
+
:param str database: Used to find the parent resource to bind the IAM policy to
|
135
|
+
:param str project: The ID of the project in which the resource belongs.
|
136
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
137
|
+
"""
|
138
|
+
__args__ = dict()
|
139
|
+
__args__['database'] = database
|
140
|
+
__args__['location'] = location
|
141
|
+
__args__['project'] = project
|
142
|
+
__args__['serviceId'] = service_id
|
143
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
144
|
+
__ret__ = pulumi.runtime.invoke('gcp:dataproc/getMetastoreDatabaseIamPolicy:getMetastoreDatabaseIamPolicy', __args__, opts=opts, typ=GetMetastoreDatabaseIamPolicyResult).value
|
145
|
+
|
146
|
+
return AwaitableGetMetastoreDatabaseIamPolicyResult(
|
147
|
+
database=pulumi.get(__ret__, 'database'),
|
148
|
+
etag=pulumi.get(__ret__, 'etag'),
|
149
|
+
id=pulumi.get(__ret__, 'id'),
|
150
|
+
location=pulumi.get(__ret__, 'location'),
|
151
|
+
policy_data=pulumi.get(__ret__, 'policy_data'),
|
152
|
+
project=pulumi.get(__ret__, 'project'),
|
153
|
+
service_id=pulumi.get(__ret__, 'service_id'))
|
154
|
+
def get_metastore_database_iam_policy_output(database: Optional[pulumi.Input[str]] = None,
|
155
|
+
location: Optional[pulumi.Input[Optional[str]]] = None,
|
156
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
157
|
+
service_id: Optional[pulumi.Input[str]] = None,
|
158
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetastoreDatabaseIamPolicyResult]:
|
159
|
+
"""
|
160
|
+
Retrieves the current IAM policy data for database
|
161
|
+
|
162
|
+
## Example Usage
|
163
|
+
|
164
|
+
```python
|
165
|
+
import pulumi
|
166
|
+
import pulumi_gcp as gcp
|
167
|
+
|
168
|
+
policy = gcp.dataproc.get_metastore_database_iam_policy(project=dpms_service["project"],
|
169
|
+
location=dpms_service["location"],
|
170
|
+
service_id=dpms_service["serviceId"],
|
171
|
+
database=hive["hiveConfig"][0]["properties"]["database"])
|
172
|
+
```
|
173
|
+
|
174
|
+
|
175
|
+
:param str database: Used to find the parent resource to bind the IAM policy to
|
176
|
+
:param str project: The ID of the project in which the resource belongs.
|
177
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
178
|
+
"""
|
179
|
+
__args__ = dict()
|
180
|
+
__args__['database'] = database
|
181
|
+
__args__['location'] = location
|
182
|
+
__args__['project'] = project
|
183
|
+
__args__['serviceId'] = service_id
|
184
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
185
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:dataproc/getMetastoreDatabaseIamPolicy:getMetastoreDatabaseIamPolicy', __args__, opts=opts, typ=GetMetastoreDatabaseIamPolicyResult)
|
186
|
+
return __ret__.apply(lambda __response__: GetMetastoreDatabaseIamPolicyResult(
|
187
|
+
database=pulumi.get(__response__, 'database'),
|
188
|
+
etag=pulumi.get(__response__, 'etag'),
|
189
|
+
id=pulumi.get(__response__, 'id'),
|
190
|
+
location=pulumi.get(__response__, 'location'),
|
191
|
+
policy_data=pulumi.get(__response__, 'policy_data'),
|
192
|
+
project=pulumi.get(__response__, 'project'),
|
193
|
+
service_id=pulumi.get(__response__, 'service_id')))
|
@@ -0,0 +1,210 @@
|
|
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
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetMetastoreTableIamPolicyResult',
|
19
|
+
'AwaitableGetMetastoreTableIamPolicyResult',
|
20
|
+
'get_metastore_table_iam_policy',
|
21
|
+
'get_metastore_table_iam_policy_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetMetastoreTableIamPolicyResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getMetastoreTableIamPolicy.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, database_id=None, etag=None, id=None, location=None, policy_data=None, project=None, service_id=None, table=None):
|
30
|
+
if database_id and not isinstance(database_id, str):
|
31
|
+
raise TypeError("Expected argument 'database_id' to be a str")
|
32
|
+
pulumi.set(__self__, "database_id", database_id)
|
33
|
+
if etag and not isinstance(etag, str):
|
34
|
+
raise TypeError("Expected argument 'etag' to be a str")
|
35
|
+
pulumi.set(__self__, "etag", etag)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if location and not isinstance(location, str):
|
40
|
+
raise TypeError("Expected argument 'location' to be a str")
|
41
|
+
pulumi.set(__self__, "location", location)
|
42
|
+
if policy_data and not isinstance(policy_data, str):
|
43
|
+
raise TypeError("Expected argument 'policy_data' to be a str")
|
44
|
+
pulumi.set(__self__, "policy_data", policy_data)
|
45
|
+
if project and not isinstance(project, str):
|
46
|
+
raise TypeError("Expected argument 'project' to be a str")
|
47
|
+
pulumi.set(__self__, "project", project)
|
48
|
+
if service_id and not isinstance(service_id, str):
|
49
|
+
raise TypeError("Expected argument 'service_id' to be a str")
|
50
|
+
pulumi.set(__self__, "service_id", service_id)
|
51
|
+
if table and not isinstance(table, str):
|
52
|
+
raise TypeError("Expected argument 'table' to be a str")
|
53
|
+
pulumi.set(__self__, "table", table)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="databaseId")
|
57
|
+
def database_id(self) -> str:
|
58
|
+
return pulumi.get(self, "database_id")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter
|
62
|
+
def etag(self) -> str:
|
63
|
+
"""
|
64
|
+
(Computed) The etag of the IAM policy.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "etag")
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def id(self) -> str:
|
71
|
+
"""
|
72
|
+
The provider-assigned unique ID for this managed resource.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "id")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def location(self) -> str:
|
79
|
+
return pulumi.get(self, "location")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="policyData")
|
83
|
+
def policy_data(self) -> str:
|
84
|
+
"""
|
85
|
+
(Required only by `dataproc.MetastoreTableIamPolicy`) The policy data generated by
|
86
|
+
a `organizations_get_iam_policy` data source.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "policy_data")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def project(self) -> str:
|
93
|
+
return pulumi.get(self, "project")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="serviceId")
|
97
|
+
def service_id(self) -> str:
|
98
|
+
return pulumi.get(self, "service_id")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter
|
102
|
+
def table(self) -> str:
|
103
|
+
return pulumi.get(self, "table")
|
104
|
+
|
105
|
+
|
106
|
+
class AwaitableGetMetastoreTableIamPolicyResult(GetMetastoreTableIamPolicyResult):
|
107
|
+
# pylint: disable=using-constant-test
|
108
|
+
def __await__(self):
|
109
|
+
if False:
|
110
|
+
yield self
|
111
|
+
return GetMetastoreTableIamPolicyResult(
|
112
|
+
database_id=self.database_id,
|
113
|
+
etag=self.etag,
|
114
|
+
id=self.id,
|
115
|
+
location=self.location,
|
116
|
+
policy_data=self.policy_data,
|
117
|
+
project=self.project,
|
118
|
+
service_id=self.service_id,
|
119
|
+
table=self.table)
|
120
|
+
|
121
|
+
|
122
|
+
def get_metastore_table_iam_policy(database_id: Optional[str] = None,
|
123
|
+
location: Optional[str] = None,
|
124
|
+
project: Optional[str] = None,
|
125
|
+
service_id: Optional[str] = None,
|
126
|
+
table: Optional[str] = None,
|
127
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMetastoreTableIamPolicyResult:
|
128
|
+
"""
|
129
|
+
Retrieves the current IAM policy data for table
|
130
|
+
|
131
|
+
## Example Usage
|
132
|
+
|
133
|
+
```python
|
134
|
+
import pulumi
|
135
|
+
import pulumi_gcp as gcp
|
136
|
+
|
137
|
+
policy = gcp.dataproc.get_metastore_table_iam_policy(project=dpms_service["project"],
|
138
|
+
location=dpms_service["location"],
|
139
|
+
service_id=dpms_service["serviceId"],
|
140
|
+
database_id=hive["hiveConfig"][0]["properties"]["database"],
|
141
|
+
table=hive["hiveConfig"][0]["properties"]["table"])
|
142
|
+
```
|
143
|
+
|
144
|
+
|
145
|
+
:param str project: The ID of the project in which the resource belongs.
|
146
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
147
|
+
:param str table: Used to find the parent resource to bind the IAM policy to
|
148
|
+
"""
|
149
|
+
__args__ = dict()
|
150
|
+
__args__['databaseId'] = database_id
|
151
|
+
__args__['location'] = location
|
152
|
+
__args__['project'] = project
|
153
|
+
__args__['serviceId'] = service_id
|
154
|
+
__args__['table'] = table
|
155
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
156
|
+
__ret__ = pulumi.runtime.invoke('gcp:dataproc/getMetastoreTableIamPolicy:getMetastoreTableIamPolicy', __args__, opts=opts, typ=GetMetastoreTableIamPolicyResult).value
|
157
|
+
|
158
|
+
return AwaitableGetMetastoreTableIamPolicyResult(
|
159
|
+
database_id=pulumi.get(__ret__, 'database_id'),
|
160
|
+
etag=pulumi.get(__ret__, 'etag'),
|
161
|
+
id=pulumi.get(__ret__, 'id'),
|
162
|
+
location=pulumi.get(__ret__, 'location'),
|
163
|
+
policy_data=pulumi.get(__ret__, 'policy_data'),
|
164
|
+
project=pulumi.get(__ret__, 'project'),
|
165
|
+
service_id=pulumi.get(__ret__, 'service_id'),
|
166
|
+
table=pulumi.get(__ret__, 'table'))
|
167
|
+
def get_metastore_table_iam_policy_output(database_id: Optional[pulumi.Input[str]] = None,
|
168
|
+
location: Optional[pulumi.Input[Optional[str]]] = None,
|
169
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
170
|
+
service_id: Optional[pulumi.Input[str]] = None,
|
171
|
+
table: Optional[pulumi.Input[str]] = None,
|
172
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetastoreTableIamPolicyResult]:
|
173
|
+
"""
|
174
|
+
Retrieves the current IAM policy data for table
|
175
|
+
|
176
|
+
## Example Usage
|
177
|
+
|
178
|
+
```python
|
179
|
+
import pulumi
|
180
|
+
import pulumi_gcp as gcp
|
181
|
+
|
182
|
+
policy = gcp.dataproc.get_metastore_table_iam_policy(project=dpms_service["project"],
|
183
|
+
location=dpms_service["location"],
|
184
|
+
service_id=dpms_service["serviceId"],
|
185
|
+
database_id=hive["hiveConfig"][0]["properties"]["database"],
|
186
|
+
table=hive["hiveConfig"][0]["properties"]["table"])
|
187
|
+
```
|
188
|
+
|
189
|
+
|
190
|
+
:param str project: The ID of the project in which the resource belongs.
|
191
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
192
|
+
:param str table: Used to find the parent resource to bind the IAM policy to
|
193
|
+
"""
|
194
|
+
__args__ = dict()
|
195
|
+
__args__['databaseId'] = database_id
|
196
|
+
__args__['location'] = location
|
197
|
+
__args__['project'] = project
|
198
|
+
__args__['serviceId'] = service_id
|
199
|
+
__args__['table'] = table
|
200
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
201
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:dataproc/getMetastoreTableIamPolicy:getMetastoreTableIamPolicy', __args__, opts=opts, typ=GetMetastoreTableIamPolicyResult)
|
202
|
+
return __ret__.apply(lambda __response__: GetMetastoreTableIamPolicyResult(
|
203
|
+
database_id=pulumi.get(__response__, 'database_id'),
|
204
|
+
etag=pulumi.get(__response__, 'etag'),
|
205
|
+
id=pulumi.get(__response__, 'id'),
|
206
|
+
location=pulumi.get(__response__, 'location'),
|
207
|
+
policy_data=pulumi.get(__response__, 'policy_data'),
|
208
|
+
project=pulumi.get(__response__, 'project'),
|
209
|
+
service_id=pulumi.get(__response__, 'service_id'),
|
210
|
+
table=pulumi.get(__response__, 'table')))
|