pulumi-gcp 7.28.0a1718950249__py3-none-any.whl → 7.29.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 +67 -0
- pulumi_gcp/_utilities.py +35 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +58 -74
- pulumi_gcp/accesscontextmanager/access_levels.py +0 -20
- pulumi_gcp/accesscontextmanager/outputs.py +58 -74
- pulumi_gcp/accesscontextmanager/service_perimeter.py +2 -0
- pulumi_gcp/activedirectory/domain.py +14 -14
- pulumi_gcp/activedirectory/domain_trust.py +14 -14
- pulumi_gcp/alloydb/backup.py +8 -8
- pulumi_gcp/alloydb/cluster.py +11 -17
- pulumi_gcp/alloydb/instance.py +8 -8
- pulumi_gcp/alloydb/user.py +8 -8
- pulumi_gcp/apigee/addons_config.py +4 -4
- pulumi_gcp/apigee/endpoint_attachment.py +2 -2
- pulumi_gcp/apigee/env_group.py +2 -2
- pulumi_gcp/apigee/environment.py +2 -2
- pulumi_gcp/apigee/instance.py +8 -8
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +10 -10
- pulumi_gcp/apigee/nat_address.py +2 -2
- pulumi_gcp/apigee/organization.py +6 -6
- pulumi_gcp/apigee/sync_authorization.py +4 -4
- pulumi_gcp/apigee/target_server.py +10 -10
- pulumi_gcp/apphub/service.py +20 -20
- pulumi_gcp/apphub/service_project_attachment.py +8 -8
- pulumi_gcp/applicationintegration/auth_config.py +2 -2
- pulumi_gcp/applicationintegration/client.py +6 -18
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/get_docker_image.py +244 -0
- pulumi_gcp/artifactregistry/outputs.py +6 -6
- pulumi_gcp/artifactregistry/repository.py +10 -10
- pulumi_gcp/backupdisasterrecovery/management_server.py +2 -2
- pulumi_gcp/bigquery/_inputs.py +2 -6
- pulumi_gcp/bigquery/data_transfer_config.py +4 -4
- pulumi_gcp/bigquery/dataset.py +75 -0
- pulumi_gcp/bigquery/get_dataset.py +11 -1
- pulumi_gcp/bigquery/job.py +6 -6
- pulumi_gcp/bigquery/outputs.py +2 -6
- pulumi_gcp/bigtable/_inputs.py +41 -3
- pulumi_gcp/bigtable/instance.py +3 -9
- pulumi_gcp/bigtable/outputs.py +50 -3
- pulumi_gcp/bigtable/table.py +54 -0
- pulumi_gcp/billing/_inputs.py +22 -0
- pulumi_gcp/billing/budget.py +50 -0
- pulumi_gcp/billing/outputs.py +20 -0
- pulumi_gcp/certificateauthority/authority.py +2 -2
- pulumi_gcp/certificateauthority/certificate.py +4 -4
- pulumi_gcp/certificatemanager/_inputs.py +2 -6
- pulumi_gcp/certificatemanager/certificate.py +4 -4
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +2 -2
- pulumi_gcp/certificatemanager/outputs.py +2 -6
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +6 -6
- pulumi_gcp/cloudbuild/trigger.py +2 -2
- pulumi_gcp/cloudbuild/worker_pool.py +6 -6
- pulumi_gcp/cloudbuildv2/_inputs.py +383 -0
- pulumi_gcp/cloudbuildv2/connection.py +112 -4
- pulumi_gcp/cloudbuildv2/outputs.py +421 -0
- pulumi_gcp/cloudbuildv2/repository.py +2 -2
- pulumi_gcp/cloudfunctionsv2/function.py +28 -28
- pulumi_gcp/cloudids/endpoint.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +3 -9
- pulumi_gcp/cloudrun/outputs.py +3 -9
- pulumi_gcp/cloudrunv2/get_job.py +21 -1
- pulumi_gcp/cloudrunv2/job.py +163 -19
- pulumi_gcp/cloudrunv2/service.py +8 -8
- pulumi_gcp/composer/__init__.py +3 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +190 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +188 -0
- pulumi_gcp/composer/user_workloads_config_map.py +475 -0
- pulumi_gcp/compute/_inputs.py +87 -2
- pulumi_gcp/compute/backend_service.py +28 -48
- pulumi_gcp/compute/disk.py +3 -9
- pulumi_gcp/compute/firewall.py +3 -9
- pulumi_gcp/compute/forwarding_rule.py +22 -22
- pulumi_gcp/compute/interconnect.py +4 -4
- pulumi_gcp/compute/outputs.py +176 -5
- pulumi_gcp/compute/packet_mirroring.py +2 -2
- pulumi_gcp/compute/project_cloud_armor_tier.py +2 -2
- pulumi_gcp/compute/region_backend_service.py +35 -48
- pulumi_gcp/compute/region_disk.py +3 -9
- pulumi_gcp/compute/region_network_endpoint.py +187 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +49 -9
- pulumi_gcp/compute/region_security_policy_rule.py +2 -2
- pulumi_gcp/compute/region_target_https_proxy.py +7 -14
- pulumi_gcp/compute/route.py +2 -2
- pulumi_gcp/compute/subnetwork.py +2 -6
- pulumi_gcp/compute/target_https_proxy.py +28 -14
- pulumi_gcp/compute/target_instance.py +2 -2
- pulumi_gcp/compute/vpn_gateway.py +2 -2
- pulumi_gcp/compute/vpn_tunnel.py +2 -2
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +4 -8
- pulumi_gcp/container/outputs.py +6 -10
- pulumi_gcp/databasemigrationservice/connection_profile.py +16 -16
- pulumi_gcp/datacatalog/policy_tag.py +2 -2
- pulumi_gcp/datafusion/instance.py +4 -8
- pulumi_gcp/dataplex/asset.py +2 -2
- pulumi_gcp/dataplex/datascan.py +2 -2
- pulumi_gcp/dataproc/_inputs.py +100 -0
- pulumi_gcp/dataproc/metastore_service.py +172 -0
- pulumi_gcp/dataproc/outputs.py +192 -1
- pulumi_gcp/dataproc/workflow_template.py +3 -9
- pulumi_gcp/datastore/data_store_index.py +2 -2
- pulumi_gcp/datastream/stream.py +6 -6
- pulumi_gcp/diagflow/entity_type.py +2 -2
- pulumi_gcp/diagflow/fulfillment.py +2 -2
- pulumi_gcp/diagflow/intent.py +4 -4
- pulumi_gcp/discoveryengine/_inputs.py +227 -0
- pulumi_gcp/discoveryengine/data_store.py +108 -0
- pulumi_gcp/discoveryengine/outputs.py +280 -0
- pulumi_gcp/edgecontainer/_inputs.py +107 -1
- pulumi_gcp/edgecontainer/node_pool.py +2 -2
- pulumi_gcp/edgecontainer/outputs.py +123 -1
- pulumi_gcp/edgecontainer/vpn_connection.py +2 -2
- pulumi_gcp/eventarc/channel.py +2 -2
- pulumi_gcp/eventarc/google_channel_config.py +2 -2
- pulumi_gcp/filestore/instance.py +3 -9
- pulumi_gcp/firebase/app_check_app_attest_config.py +8 -8
- pulumi_gcp/firebase/app_check_debug_token.py +4 -4
- pulumi_gcp/firebase/app_check_device_check_config.py +4 -4
- pulumi_gcp/firebase/app_check_play_integrity_config.py +8 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +4 -4
- pulumi_gcp/firebase/app_check_recaptcha_v3_config.py +4 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -6
- pulumi_gcp/firebase/database_instance.py +2 -2
- pulumi_gcp/firestore/database.py +4 -4
- pulumi_gcp/firestore/document.py +12 -12
- pulumi_gcp/folder/access_approval_settings.py +2 -2
- pulumi_gcp/gkehub/_inputs.py +20 -8
- pulumi_gcp/gkehub/membership.py +3 -9
- pulumi_gcp/gkehub/membership_binding.py +4 -4
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +2 -2
- pulumi_gcp/gkehub/outputs.py +19 -9
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +2 -2
- pulumi_gcp/healthcare/fhir_store.py +3 -9
- pulumi_gcp/healthcare/hl7_store.py +3 -9
- pulumi_gcp/integrationconnectors/connection.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +6 -6
- pulumi_gcp/kms/_inputs.py +1 -3
- pulumi_gcp/kms/autokey_config.py +16 -16
- pulumi_gcp/kms/key_handle.py +22 -22
- pulumi_gcp/kms/outputs.py +1 -3
- pulumi_gcp/logging/folder_settings.py +2 -2
- pulumi_gcp/logging/folder_sink.py +14 -14
- pulumi_gcp/logging/linked_dataset.py +2 -2
- pulumi_gcp/logging/organization_settings.py +2 -2
- pulumi_gcp/logging/organization_sink.py +14 -14
- pulumi_gcp/logging/project_bucket_config.py +2 -2
- pulumi_gcp/looker/instance.py +2 -2
- pulumi_gcp/managedkafka/__init__.py +11 -0
- pulumi_gcp/managedkafka/_inputs.py +169 -0
- pulumi_gcp/managedkafka/cluster.py +807 -0
- pulumi_gcp/managedkafka/outputs.py +197 -0
- pulumi_gcp/managedkafka/topic.py +599 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/active_directory.py +55 -0
- pulumi_gcp/netapp/backup.py +903 -0
- pulumi_gcp/netapp/volume_replication.py +2 -2
- pulumi_gcp/netapp/volume_snapshot.py +2 -2
- pulumi_gcp/networkconnectivity/internal_range.py +2 -2
- pulumi_gcp/networksecurity/gateway_security_policy.py +4 -4
- pulumi_gcp/networksecurity/tls_inspection_policy.py +4 -4
- pulumi_gcp/networkservices/gateway.py +6 -6
- pulumi_gcp/organizations/access_approval_settings.py +2 -2
- pulumi_gcp/parallelstore/instance.py +2 -2
- pulumi_gcp/projects/access_approval_settings.py +5 -11
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/_inputs.py +40 -0
- pulumi_gcp/pubsub/outputs.py +66 -0
- pulumi_gcp/pubsub/schema.py +2 -2
- pulumi_gcp/pubsub/subscription.py +174 -8
- pulumi_gcp/pubsub/topic.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +4 -4
- pulumi_gcp/redis/get_instance.py +11 -1
- pulumi_gcp/redis/instance.py +49 -2
- pulumi_gcp/secretmanager/secret.py +2 -2
- pulumi_gcp/securesourcemanager/instance.py +6 -6
- pulumi_gcp/securitycenter/__init__.py +3 -0
- pulumi_gcp/securitycenter/_inputs.py +1105 -0
- pulumi_gcp/securitycenter/instance_iam_binding.py +2 -2
- pulumi_gcp/securitycenter/instance_iam_member.py +2 -2
- pulumi_gcp/securitycenter/instance_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/management_folder_security_health_analytics_custom_module.py +725 -0
- pulumi_gcp/securitycenter/management_organization_security_health_analytics_custom_module.py +713 -0
- pulumi_gcp/securitycenter/management_project_security_health_analytics_custom_module.py +706 -0
- pulumi_gcp/securitycenter/outputs.py +1048 -0
- pulumi_gcp/servicenetworking/__init__.py +1 -0
- pulumi_gcp/servicenetworking/vpc_service_controls.py +511 -0
- pulumi_gcp/sql/_inputs.py +1 -3
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +1 -3
- pulumi_gcp/sql/user.py +21 -7
- pulumi_gcp/storage/get_project_service_account.py +2 -2
- pulumi_gcp/storage/insights_report_config.py +2 -2
- pulumi_gcp/storage/notification.py +2 -2
- pulumi_gcp/storage/transfer_agent_pool.py +2 -2
- pulumi_gcp/storage/transfer_job.py +4 -4
- pulumi_gcp/tpu/v2_vm.py +4 -4
- pulumi_gcp/vertex/_inputs.py +1 -3
- pulumi_gcp/vertex/ai_endpoint.py +2 -2
- pulumi_gcp/vertex/ai_feature_online_store.py +31 -8
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- pulumi_gcp/vertex/ai_tensorboard.py +2 -2
- pulumi_gcp/vertex/outputs.py +1 -3
- pulumi_gcp/vmwareengine/external_address.py +2 -2
- pulumi_gcp/vmwareengine/network.py +4 -4
- pulumi_gcp/vpcaccess/connector.py +2 -8
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/RECORD +214 -200
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-7.28.0a1718950249.dist-info → pulumi_gcp-7.29.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/cloudrunv2/service.py
CHANGED
@@ -1093,13 +1093,13 @@ class Service(pulumi.CustomResource):
|
|
1093
1093
|
type="TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST",
|
1094
1094
|
percent=100,
|
1095
1095
|
)],
|
1096
|
-
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1096
|
+
opts = pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1097
1097
|
project = gcp.organizations.get_project()
|
1098
1098
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1099
1099
|
secret_id=secret.id,
|
1100
1100
|
role="roles/secretmanager.secretAccessor",
|
1101
1101
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1102
|
-
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1102
|
+
opts = pulumi.ResourceOptions(depends_on=[secret]))
|
1103
1103
|
```
|
1104
1104
|
### Cloudrunv2 Service Vpcaccess
|
1105
1105
|
|
@@ -1231,13 +1231,13 @@ class Service(pulumi.CustomResource):
|
|
1231
1231
|
)],
|
1232
1232
|
)],
|
1233
1233
|
),
|
1234
|
-
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1234
|
+
opts = pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1235
1235
|
project = gcp.organizations.get_project()
|
1236
1236
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1237
1237
|
secret_id=secret.id,
|
1238
1238
|
role="roles/secretmanager.secretAccessor",
|
1239
1239
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1240
|
-
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1240
|
+
opts = pulumi.ResourceOptions(depends_on=[secret]))
|
1241
1241
|
```
|
1242
1242
|
### Cloudrunv2 Service Multicontainer
|
1243
1243
|
|
@@ -1551,13 +1551,13 @@ class Service(pulumi.CustomResource):
|
|
1551
1551
|
type="TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST",
|
1552
1552
|
percent=100,
|
1553
1553
|
)],
|
1554
|
-
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1554
|
+
opts = pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1555
1555
|
project = gcp.organizations.get_project()
|
1556
1556
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1557
1557
|
secret_id=secret.id,
|
1558
1558
|
role="roles/secretmanager.secretAccessor",
|
1559
1559
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1560
|
-
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1560
|
+
opts = pulumi.ResourceOptions(depends_on=[secret]))
|
1561
1561
|
```
|
1562
1562
|
### Cloudrunv2 Service Vpcaccess
|
1563
1563
|
|
@@ -1689,13 +1689,13 @@ class Service(pulumi.CustomResource):
|
|
1689
1689
|
)],
|
1690
1690
|
)],
|
1691
1691
|
),
|
1692
|
-
opts=pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1692
|
+
opts = pulumi.ResourceOptions(depends_on=[secret_version_data]))
|
1693
1693
|
project = gcp.organizations.get_project()
|
1694
1694
|
secret_access = gcp.secretmanager.SecretIamMember("secret-access",
|
1695
1695
|
secret_id=secret.id,
|
1696
1696
|
role="roles/secretmanager.secretAccessor",
|
1697
1697
|
member=f"serviceAccount:{project.number}-compute@developer.gserviceaccount.com",
|
1698
|
-
opts=pulumi.ResourceOptions(depends_on=[secret]))
|
1698
|
+
opts = pulumi.ResourceOptions(depends_on=[secret]))
|
1699
1699
|
```
|
1700
1700
|
### Cloudrunv2 Service Multicontainer
|
1701
1701
|
|
pulumi_gcp/composer/__init__.py
CHANGED
@@ -8,6 +8,9 @@ import typing
|
|
8
8
|
from .environment import *
|
9
9
|
from .get_environment import *
|
10
10
|
from .get_image_versions import *
|
11
|
+
from .get_user_workloads_config_map import *
|
12
|
+
from .get_user_workloads_secret import *
|
13
|
+
from .user_workloads_config_map import *
|
11
14
|
from .user_workloads_secret import *
|
12
15
|
from ._inputs import *
|
13
16
|
from . import outputs
|
@@ -0,0 +1,190 @@
|
|
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
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetUserWorkloadsConfigMapResult',
|
14
|
+
'AwaitableGetUserWorkloadsConfigMapResult',
|
15
|
+
'get_user_workloads_config_map',
|
16
|
+
'get_user_workloads_config_map_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetUserWorkloadsConfigMapResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getUserWorkloadsConfigMap.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, data=None, environment=None, id=None, name=None, project=None, region=None):
|
25
|
+
if data and not isinstance(data, dict):
|
26
|
+
raise TypeError("Expected argument 'data' to be a dict")
|
27
|
+
pulumi.set(__self__, "data", data)
|
28
|
+
if environment and not isinstance(environment, str):
|
29
|
+
raise TypeError("Expected argument 'environment' to be a str")
|
30
|
+
pulumi.set(__self__, "environment", environment)
|
31
|
+
if id and not isinstance(id, str):
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
33
|
+
pulumi.set(__self__, "id", id)
|
34
|
+
if name and not isinstance(name, str):
|
35
|
+
raise TypeError("Expected argument 'name' to be a str")
|
36
|
+
pulumi.set(__self__, "name", name)
|
37
|
+
if project and not isinstance(project, str):
|
38
|
+
raise TypeError("Expected argument 'project' to be a str")
|
39
|
+
pulumi.set(__self__, "project", project)
|
40
|
+
if region and not isinstance(region, str):
|
41
|
+
raise TypeError("Expected argument 'region' to be a str")
|
42
|
+
pulumi.set(__self__, "region", region)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter
|
46
|
+
def data(self) -> Mapping[str, str]:
|
47
|
+
"""
|
48
|
+
The "data" field of Kubernetes ConfigMap, organized in key-value pairs.
|
49
|
+
For details see: https://kubernetes.io/docs/concepts/configuration/configmap/
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "data")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def environment(self) -> str:
|
56
|
+
return pulumi.get(self, "environment")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def id(self) -> str:
|
61
|
+
"""
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def name(self) -> str:
|
69
|
+
return pulumi.get(self, "name")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def project(self) -> Optional[str]:
|
74
|
+
return pulumi.get(self, "project")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def region(self) -> Optional[str]:
|
79
|
+
return pulumi.get(self, "region")
|
80
|
+
|
81
|
+
|
82
|
+
class AwaitableGetUserWorkloadsConfigMapResult(GetUserWorkloadsConfigMapResult):
|
83
|
+
# pylint: disable=using-constant-test
|
84
|
+
def __await__(self):
|
85
|
+
if False:
|
86
|
+
yield self
|
87
|
+
return GetUserWorkloadsConfigMapResult(
|
88
|
+
data=self.data,
|
89
|
+
environment=self.environment,
|
90
|
+
id=self.id,
|
91
|
+
name=self.name,
|
92
|
+
project=self.project,
|
93
|
+
region=self.region)
|
94
|
+
|
95
|
+
|
96
|
+
def get_user_workloads_config_map(environment: Optional[str] = None,
|
97
|
+
name: Optional[str] = None,
|
98
|
+
project: Optional[str] = None,
|
99
|
+
region: Optional[str] = None,
|
100
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserWorkloadsConfigMapResult:
|
101
|
+
"""
|
102
|
+
## Example Usage
|
103
|
+
|
104
|
+
```python
|
105
|
+
import pulumi
|
106
|
+
import pulumi_gcp as gcp
|
107
|
+
|
108
|
+
example_environment = gcp.composer.Environment("example",
|
109
|
+
name="example-environment",
|
110
|
+
config=gcp.composer.EnvironmentConfigArgs(
|
111
|
+
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
112
|
+
image_version="composer-3-airflow-2",
|
113
|
+
),
|
114
|
+
))
|
115
|
+
example_user_workloads_config_map = gcp.composer.UserWorkloadsConfigMap("example",
|
116
|
+
environment=example_environment.name,
|
117
|
+
name="example-config-map",
|
118
|
+
data={
|
119
|
+
"db_host": "dbhost:5432",
|
120
|
+
"api_host": "apihost:443",
|
121
|
+
})
|
122
|
+
example = example_environment.name.apply(lambda name: gcp.composer.get_user_workloads_config_map_output(environment=name,
|
123
|
+
name=google_composer_user_workloads_config_map["example"]["name"]))
|
124
|
+
pulumi.export("debug", example)
|
125
|
+
```
|
126
|
+
|
127
|
+
|
128
|
+
:param str environment: Environment where the ConfigMap is stored.
|
129
|
+
:param str name: Name of the ConfigMap.
|
130
|
+
:param str project: The ID of the project in which the resource belongs.
|
131
|
+
If it is not provided, the provider project is used.
|
132
|
+
:param str region: The location or Compute Engine region of the environment.
|
133
|
+
"""
|
134
|
+
__args__ = dict()
|
135
|
+
__args__['environment'] = environment
|
136
|
+
__args__['name'] = name
|
137
|
+
__args__['project'] = project
|
138
|
+
__args__['region'] = region
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
140
|
+
__ret__ = pulumi.runtime.invoke('gcp:composer/getUserWorkloadsConfigMap:getUserWorkloadsConfigMap', __args__, opts=opts, typ=GetUserWorkloadsConfigMapResult).value
|
141
|
+
|
142
|
+
return AwaitableGetUserWorkloadsConfigMapResult(
|
143
|
+
data=pulumi.get(__ret__, 'data'),
|
144
|
+
environment=pulumi.get(__ret__, 'environment'),
|
145
|
+
id=pulumi.get(__ret__, 'id'),
|
146
|
+
name=pulumi.get(__ret__, 'name'),
|
147
|
+
project=pulumi.get(__ret__, 'project'),
|
148
|
+
region=pulumi.get(__ret__, 'region'))
|
149
|
+
|
150
|
+
|
151
|
+
@_utilities.lift_output_func(get_user_workloads_config_map)
|
152
|
+
def get_user_workloads_config_map_output(environment: Optional[pulumi.Input[str]] = None,
|
153
|
+
name: Optional[pulumi.Input[str]] = None,
|
154
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
155
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
156
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserWorkloadsConfigMapResult]:
|
157
|
+
"""
|
158
|
+
## Example Usage
|
159
|
+
|
160
|
+
```python
|
161
|
+
import pulumi
|
162
|
+
import pulumi_gcp as gcp
|
163
|
+
|
164
|
+
example_environment = gcp.composer.Environment("example",
|
165
|
+
name="example-environment",
|
166
|
+
config=gcp.composer.EnvironmentConfigArgs(
|
167
|
+
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
168
|
+
image_version="composer-3-airflow-2",
|
169
|
+
),
|
170
|
+
))
|
171
|
+
example_user_workloads_config_map = gcp.composer.UserWorkloadsConfigMap("example",
|
172
|
+
environment=example_environment.name,
|
173
|
+
name="example-config-map",
|
174
|
+
data={
|
175
|
+
"db_host": "dbhost:5432",
|
176
|
+
"api_host": "apihost:443",
|
177
|
+
})
|
178
|
+
example = example_environment.name.apply(lambda name: gcp.composer.get_user_workloads_config_map_output(environment=name,
|
179
|
+
name=google_composer_user_workloads_config_map["example"]["name"]))
|
180
|
+
pulumi.export("debug", example)
|
181
|
+
```
|
182
|
+
|
183
|
+
|
184
|
+
:param str environment: Environment where the ConfigMap is stored.
|
185
|
+
:param str name: Name of the ConfigMap.
|
186
|
+
:param str project: The ID of the project in which the resource belongs.
|
187
|
+
If it is not provided, the provider project is used.
|
188
|
+
:param str region: The location or Compute Engine region of the environment.
|
189
|
+
"""
|
190
|
+
...
|
@@ -0,0 +1,188 @@
|
|
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
|
+
|
12
|
+
__all__ = [
|
13
|
+
'GetUserWorkloadsSecretResult',
|
14
|
+
'AwaitableGetUserWorkloadsSecretResult',
|
15
|
+
'get_user_workloads_secret',
|
16
|
+
'get_user_workloads_secret_output',
|
17
|
+
]
|
18
|
+
|
19
|
+
@pulumi.output_type
|
20
|
+
class GetUserWorkloadsSecretResult:
|
21
|
+
"""
|
22
|
+
A collection of values returned by getUserWorkloadsSecret.
|
23
|
+
"""
|
24
|
+
def __init__(__self__, data=None, environment=None, id=None, name=None, project=None, region=None):
|
25
|
+
if data and not isinstance(data, dict):
|
26
|
+
raise TypeError("Expected argument 'data' to be a dict")
|
27
|
+
pulumi.set(__self__, "data", data)
|
28
|
+
if environment and not isinstance(environment, str):
|
29
|
+
raise TypeError("Expected argument 'environment' to be a str")
|
30
|
+
pulumi.set(__self__, "environment", environment)
|
31
|
+
if id and not isinstance(id, str):
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
33
|
+
pulumi.set(__self__, "id", id)
|
34
|
+
if name and not isinstance(name, str):
|
35
|
+
raise TypeError("Expected argument 'name' to be a str")
|
36
|
+
pulumi.set(__self__, "name", name)
|
37
|
+
if project and not isinstance(project, str):
|
38
|
+
raise TypeError("Expected argument 'project' to be a str")
|
39
|
+
pulumi.set(__self__, "project", project)
|
40
|
+
if region and not isinstance(region, str):
|
41
|
+
raise TypeError("Expected argument 'region' to be a str")
|
42
|
+
pulumi.set(__self__, "region", region)
|
43
|
+
|
44
|
+
@property
|
45
|
+
@pulumi.getter
|
46
|
+
def data(self) -> Mapping[str, Any]:
|
47
|
+
return pulumi.get(self, "data")
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def environment(self) -> str:
|
52
|
+
return pulumi.get(self, "environment")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter
|
56
|
+
def id(self) -> str:
|
57
|
+
"""
|
58
|
+
The provider-assigned unique ID for this managed resource.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "id")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def name(self) -> str:
|
65
|
+
return pulumi.get(self, "name")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter
|
69
|
+
def project(self) -> Optional[str]:
|
70
|
+
return pulumi.get(self, "project")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter
|
74
|
+
def region(self) -> Optional[str]:
|
75
|
+
return pulumi.get(self, "region")
|
76
|
+
|
77
|
+
|
78
|
+
class AwaitableGetUserWorkloadsSecretResult(GetUserWorkloadsSecretResult):
|
79
|
+
# pylint: disable=using-constant-test
|
80
|
+
def __await__(self):
|
81
|
+
if False:
|
82
|
+
yield self
|
83
|
+
return GetUserWorkloadsSecretResult(
|
84
|
+
data=self.data,
|
85
|
+
environment=self.environment,
|
86
|
+
id=self.id,
|
87
|
+
name=self.name,
|
88
|
+
project=self.project,
|
89
|
+
region=self.region)
|
90
|
+
|
91
|
+
|
92
|
+
def get_user_workloads_secret(environment: Optional[str] = None,
|
93
|
+
name: Optional[str] = None,
|
94
|
+
project: Optional[str] = None,
|
95
|
+
region: Optional[str] = None,
|
96
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserWorkloadsSecretResult:
|
97
|
+
"""
|
98
|
+
## Example Usage
|
99
|
+
|
100
|
+
```python
|
101
|
+
import pulumi
|
102
|
+
import pulumi_gcp as gcp
|
103
|
+
import pulumi_std as std
|
104
|
+
|
105
|
+
example_environment = gcp.composer.Environment("example",
|
106
|
+
name="example-environment",
|
107
|
+
config=gcp.composer.EnvironmentConfigArgs(
|
108
|
+
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
109
|
+
image_version="composer-3-airflow-2",
|
110
|
+
),
|
111
|
+
))
|
112
|
+
example_user_workloads_secret = gcp.composer.UserWorkloadsSecret("example",
|
113
|
+
environment=example_environment.name,
|
114
|
+
name="example-secret",
|
115
|
+
data={
|
116
|
+
"username": std.base64encode(input="username").result,
|
117
|
+
"password": std.base64encode(input="password").result,
|
118
|
+
})
|
119
|
+
example = example_environment.name.apply(lambda name: gcp.composer.get_user_workloads_secret_output(environment=name,
|
120
|
+
name=google_composer_user_workloads_secret["example"]["name"]))
|
121
|
+
pulumi.export("debug", example)
|
122
|
+
```
|
123
|
+
|
124
|
+
|
125
|
+
:param str environment: Environment where the Secret is stored.
|
126
|
+
:param str name: Name of the Secret.
|
127
|
+
:param str project: The ID of the project in which the resource belongs.
|
128
|
+
If it is not provided, the provider project is used.
|
129
|
+
:param str region: The location or Compute Engine region of the environment.
|
130
|
+
"""
|
131
|
+
__args__ = dict()
|
132
|
+
__args__['environment'] = environment
|
133
|
+
__args__['name'] = name
|
134
|
+
__args__['project'] = project
|
135
|
+
__args__['region'] = region
|
136
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
137
|
+
__ret__ = pulumi.runtime.invoke('gcp:composer/getUserWorkloadsSecret:getUserWorkloadsSecret', __args__, opts=opts, typ=GetUserWorkloadsSecretResult).value
|
138
|
+
|
139
|
+
return AwaitableGetUserWorkloadsSecretResult(
|
140
|
+
data=pulumi.get(__ret__, 'data'),
|
141
|
+
environment=pulumi.get(__ret__, 'environment'),
|
142
|
+
id=pulumi.get(__ret__, 'id'),
|
143
|
+
name=pulumi.get(__ret__, 'name'),
|
144
|
+
project=pulumi.get(__ret__, 'project'),
|
145
|
+
region=pulumi.get(__ret__, 'region'))
|
146
|
+
|
147
|
+
|
148
|
+
@_utilities.lift_output_func(get_user_workloads_secret)
|
149
|
+
def get_user_workloads_secret_output(environment: Optional[pulumi.Input[str]] = None,
|
150
|
+
name: Optional[pulumi.Input[str]] = None,
|
151
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
152
|
+
region: Optional[pulumi.Input[Optional[str]]] = None,
|
153
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserWorkloadsSecretResult]:
|
154
|
+
"""
|
155
|
+
## Example Usage
|
156
|
+
|
157
|
+
```python
|
158
|
+
import pulumi
|
159
|
+
import pulumi_gcp as gcp
|
160
|
+
import pulumi_std as std
|
161
|
+
|
162
|
+
example_environment = gcp.composer.Environment("example",
|
163
|
+
name="example-environment",
|
164
|
+
config=gcp.composer.EnvironmentConfigArgs(
|
165
|
+
software_config=gcp.composer.EnvironmentConfigSoftwareConfigArgs(
|
166
|
+
image_version="composer-3-airflow-2",
|
167
|
+
),
|
168
|
+
))
|
169
|
+
example_user_workloads_secret = gcp.composer.UserWorkloadsSecret("example",
|
170
|
+
environment=example_environment.name,
|
171
|
+
name="example-secret",
|
172
|
+
data={
|
173
|
+
"username": std.base64encode(input="username").result,
|
174
|
+
"password": std.base64encode(input="password").result,
|
175
|
+
})
|
176
|
+
example = example_environment.name.apply(lambda name: gcp.composer.get_user_workloads_secret_output(environment=name,
|
177
|
+
name=google_composer_user_workloads_secret["example"]["name"]))
|
178
|
+
pulumi.export("debug", example)
|
179
|
+
```
|
180
|
+
|
181
|
+
|
182
|
+
:param str environment: Environment where the Secret is stored.
|
183
|
+
:param str name: Name of the Secret.
|
184
|
+
:param str project: The ID of the project in which the resource belongs.
|
185
|
+
If it is not provided, the provider project is used.
|
186
|
+
:param str region: The location or Compute Engine region of the environment.
|
187
|
+
"""
|
188
|
+
...
|