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
@@ -0,0 +1,511 @@
|
|
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__ = ['VpcServiceControlsArgs', 'VpcServiceControls']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class VpcServiceControlsArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
enabled: pulumi.Input[bool],
|
18
|
+
network: pulumi.Input[str],
|
19
|
+
service: pulumi.Input[str],
|
20
|
+
project: Optional[pulumi.Input[str]] = None):
|
21
|
+
"""
|
22
|
+
The set of arguments for constructing a VpcServiceControls resource.
|
23
|
+
:param pulumi.Input[bool] enabled: Desired VPC Service Controls state service producer VPC network, as
|
24
|
+
described at the top of this page.
|
25
|
+
:param pulumi.Input[str] network: The network that the consumer is using to connect with services.
|
26
|
+
:param pulumi.Input[str] service: The service that is managing peering connectivity for a service
|
27
|
+
producer's organization. For Google services that support this
|
28
|
+
functionality, this value is `servicenetworking.googleapis.com`.
|
29
|
+
|
30
|
+
|
31
|
+
- - -
|
32
|
+
:param pulumi.Input[str] project: The id of the Google Cloud project containing the consumer network.
|
33
|
+
"""
|
34
|
+
pulumi.set(__self__, "enabled", enabled)
|
35
|
+
pulumi.set(__self__, "network", network)
|
36
|
+
pulumi.set(__self__, "service", service)
|
37
|
+
if project is not None:
|
38
|
+
pulumi.set(__self__, "project", project)
|
39
|
+
|
40
|
+
@property
|
41
|
+
@pulumi.getter
|
42
|
+
def enabled(self) -> pulumi.Input[bool]:
|
43
|
+
"""
|
44
|
+
Desired VPC Service Controls state service producer VPC network, as
|
45
|
+
described at the top of this page.
|
46
|
+
"""
|
47
|
+
return pulumi.get(self, "enabled")
|
48
|
+
|
49
|
+
@enabled.setter
|
50
|
+
def enabled(self, value: pulumi.Input[bool]):
|
51
|
+
pulumi.set(self, "enabled", value)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def network(self) -> pulumi.Input[str]:
|
56
|
+
"""
|
57
|
+
The network that the consumer is using to connect with services.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "network")
|
60
|
+
|
61
|
+
@network.setter
|
62
|
+
def network(self, value: pulumi.Input[str]):
|
63
|
+
pulumi.set(self, "network", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def service(self) -> pulumi.Input[str]:
|
68
|
+
"""
|
69
|
+
The service that is managing peering connectivity for a service
|
70
|
+
producer's organization. For Google services that support this
|
71
|
+
functionality, this value is `servicenetworking.googleapis.com`.
|
72
|
+
|
73
|
+
|
74
|
+
- - -
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "service")
|
77
|
+
|
78
|
+
@service.setter
|
79
|
+
def service(self, value: pulumi.Input[str]):
|
80
|
+
pulumi.set(self, "service", value)
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
85
|
+
"""
|
86
|
+
The id of the Google Cloud project containing the consumer network.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "project")
|
89
|
+
|
90
|
+
@project.setter
|
91
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
92
|
+
pulumi.set(self, "project", value)
|
93
|
+
|
94
|
+
|
95
|
+
@pulumi.input_type
|
96
|
+
class _VpcServiceControlsState:
|
97
|
+
def __init__(__self__, *,
|
98
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
99
|
+
network: Optional[pulumi.Input[str]] = None,
|
100
|
+
project: Optional[pulumi.Input[str]] = None,
|
101
|
+
service: Optional[pulumi.Input[str]] = None):
|
102
|
+
"""
|
103
|
+
Input properties used for looking up and filtering VpcServiceControls resources.
|
104
|
+
:param pulumi.Input[bool] enabled: Desired VPC Service Controls state service producer VPC network, as
|
105
|
+
described at the top of this page.
|
106
|
+
:param pulumi.Input[str] network: The network that the consumer is using to connect with services.
|
107
|
+
:param pulumi.Input[str] project: The id of the Google Cloud project containing the consumer network.
|
108
|
+
:param pulumi.Input[str] service: The service that is managing peering connectivity for a service
|
109
|
+
producer's organization. For Google services that support this
|
110
|
+
functionality, this value is `servicenetworking.googleapis.com`.
|
111
|
+
|
112
|
+
|
113
|
+
- - -
|
114
|
+
"""
|
115
|
+
if enabled is not None:
|
116
|
+
pulumi.set(__self__, "enabled", enabled)
|
117
|
+
if network is not None:
|
118
|
+
pulumi.set(__self__, "network", network)
|
119
|
+
if project is not None:
|
120
|
+
pulumi.set(__self__, "project", project)
|
121
|
+
if service is not None:
|
122
|
+
pulumi.set(__self__, "service", service)
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter
|
126
|
+
def enabled(self) -> Optional[pulumi.Input[bool]]:
|
127
|
+
"""
|
128
|
+
Desired VPC Service Controls state service producer VPC network, as
|
129
|
+
described at the top of this page.
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "enabled")
|
132
|
+
|
133
|
+
@enabled.setter
|
134
|
+
def enabled(self, value: Optional[pulumi.Input[bool]]):
|
135
|
+
pulumi.set(self, "enabled", value)
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter
|
139
|
+
def network(self) -> Optional[pulumi.Input[str]]:
|
140
|
+
"""
|
141
|
+
The network that the consumer is using to connect with services.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "network")
|
144
|
+
|
145
|
+
@network.setter
|
146
|
+
def network(self, value: Optional[pulumi.Input[str]]):
|
147
|
+
pulumi.set(self, "network", value)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
"""
|
153
|
+
The id of the Google Cloud project containing the consumer network.
|
154
|
+
"""
|
155
|
+
return pulumi.get(self, "project")
|
156
|
+
|
157
|
+
@project.setter
|
158
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
159
|
+
pulumi.set(self, "project", value)
|
160
|
+
|
161
|
+
@property
|
162
|
+
@pulumi.getter
|
163
|
+
def service(self) -> Optional[pulumi.Input[str]]:
|
164
|
+
"""
|
165
|
+
The service that is managing peering connectivity for a service
|
166
|
+
producer's organization. For Google services that support this
|
167
|
+
functionality, this value is `servicenetworking.googleapis.com`.
|
168
|
+
|
169
|
+
|
170
|
+
- - -
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "service")
|
173
|
+
|
174
|
+
@service.setter
|
175
|
+
def service(self, value: Optional[pulumi.Input[str]]):
|
176
|
+
pulumi.set(self, "service", value)
|
177
|
+
|
178
|
+
|
179
|
+
class VpcServiceControls(pulumi.CustomResource):
|
180
|
+
@overload
|
181
|
+
def __init__(__self__,
|
182
|
+
resource_name: str,
|
183
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
184
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
185
|
+
network: Optional[pulumi.Input[str]] = None,
|
186
|
+
project: Optional[pulumi.Input[str]] = None,
|
187
|
+
service: Optional[pulumi.Input[str]] = None,
|
188
|
+
__props__=None):
|
189
|
+
"""
|
190
|
+
Manages the VPC Service Controls configuration for a service
|
191
|
+
networking connection
|
192
|
+
|
193
|
+
When enabled, Google Cloud makes the following
|
194
|
+
route configuration changes in the service producer VPC network:
|
195
|
+
- Removes the IPv4 default route (destination 0.0.0.0/0,
|
196
|
+
next hop default internet gateway), Google Cloud then creates an
|
197
|
+
IPv4 route for destination 199.36.153.4/30 using the default
|
198
|
+
internet gateway next hop.
|
199
|
+
- Creates Cloud DNS managed private zones and authorizes those zones
|
200
|
+
for the service producer VPC network. The zones include
|
201
|
+
googleapis.com, gcr.io, pkg.dev, notebooks.cloud.google.com,
|
202
|
+
kernels.googleusercontent.com, backupdr.cloud.google.com, and
|
203
|
+
backupdr.googleusercontent.com as necessary domains or host names
|
204
|
+
for Google APIs and services that are compatible with VPC Service
|
205
|
+
Controls. Record data in the zones resolves all host names to
|
206
|
+
199.36.153.4, 199.36.153.5, 199.36.153.6, and 199.36.153.7.
|
207
|
+
|
208
|
+
When disabled, Google Cloud makes the following route configuration
|
209
|
+
changes in the service producer VPC network:
|
210
|
+
- Restores a default route (destination 0.0.0.0/0, next hop default
|
211
|
+
internet gateway)
|
212
|
+
- Deletes the Cloud DNS managed private zones that provided the host
|
213
|
+
name overrides.
|
214
|
+
|
215
|
+
To get more information about VPCServiceControls, see:
|
216
|
+
|
217
|
+
* [API documentation](https://cloud.google.com/service-infrastructure/docs/service-networking/reference/rest/v1/services)
|
218
|
+
* How-to Guides
|
219
|
+
* [Private Google Access with VPC Service Controls](https://cloud.google.com/vpc-service-controls/docs/private-connectivity)
|
220
|
+
* [Set up private connectivity to Google APIs and services](https://cloud.google.com/vpc-service-controls/docs/set-up-private-connectivity)
|
221
|
+
* [Enable VPC Service Controls for service networking](https://cloud.google.com/sdk/gcloud/reference/services/vpc-peerings/enable-vpc-service-controls)
|
222
|
+
|
223
|
+
> **Note:** Destroying a `servicenetworking.VpcServiceControls`
|
224
|
+
resource will remove it from state, but will not change the
|
225
|
+
underlying VPC Service Controls configuration for the service
|
226
|
+
producer network.
|
227
|
+
|
228
|
+
## Example Usage
|
229
|
+
|
230
|
+
### Service Networking Vpc Service Controls Basic
|
231
|
+
|
232
|
+
```python
|
233
|
+
import pulumi
|
234
|
+
import pulumi_gcp as gcp
|
235
|
+
|
236
|
+
# Create a VPC
|
237
|
+
default = gcp.compute.Network("default", name="example-network")
|
238
|
+
# Create an IP address
|
239
|
+
default_global_address = gcp.compute.GlobalAddress("default",
|
240
|
+
name="psa-range",
|
241
|
+
purpose="VPC_PEERING",
|
242
|
+
address_type="INTERNAL",
|
243
|
+
prefix_length=16,
|
244
|
+
network=default.id)
|
245
|
+
# Create a private connection
|
246
|
+
default_connection = gcp.servicenetworking.Connection("default",
|
247
|
+
network=default.id,
|
248
|
+
service="servicenetworking.googleapis.com",
|
249
|
+
reserved_peering_ranges=[default_global_address.name])
|
250
|
+
# Enable VPC-SC on the producer network
|
251
|
+
default_vpc_service_controls = gcp.servicenetworking.VpcServiceControls("default",
|
252
|
+
network=default.name,
|
253
|
+
service="servicenetworking.googleapis.com",
|
254
|
+
enabled=True,
|
255
|
+
opts = pulumi.ResourceOptions(depends_on=[default_connection]))
|
256
|
+
```
|
257
|
+
|
258
|
+
## Import
|
259
|
+
|
260
|
+
VPCServiceControls can be imported using any of these accepted formats:
|
261
|
+
|
262
|
+
* `services/{{service}}/projects/{{project}}/networks/{{network}}`
|
263
|
+
|
264
|
+
* `{{service}}/{{project}}/{{network}}`
|
265
|
+
|
266
|
+
* `{{service}}/{{network}}`
|
267
|
+
|
268
|
+
When using the `pulumi import` command, VPCServiceControls can be imported using one of the formats above. For example:
|
269
|
+
|
270
|
+
```sh
|
271
|
+
$ pulumi import gcp:servicenetworking/vpcServiceControls:VpcServiceControls default services/{{service}}/projects/{{project}}/networks/{{network}}
|
272
|
+
```
|
273
|
+
|
274
|
+
```sh
|
275
|
+
$ pulumi import gcp:servicenetworking/vpcServiceControls:VpcServiceControls default {{service}}/{{project}}/{{network}}
|
276
|
+
```
|
277
|
+
|
278
|
+
```sh
|
279
|
+
$ pulumi import gcp:servicenetworking/vpcServiceControls:VpcServiceControls default {{service}}/{{network}}
|
280
|
+
```
|
281
|
+
|
282
|
+
:param str resource_name: The name of the resource.
|
283
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
284
|
+
:param pulumi.Input[bool] enabled: Desired VPC Service Controls state service producer VPC network, as
|
285
|
+
described at the top of this page.
|
286
|
+
:param pulumi.Input[str] network: The network that the consumer is using to connect with services.
|
287
|
+
:param pulumi.Input[str] project: The id of the Google Cloud project containing the consumer network.
|
288
|
+
:param pulumi.Input[str] service: The service that is managing peering connectivity for a service
|
289
|
+
producer's organization. For Google services that support this
|
290
|
+
functionality, this value is `servicenetworking.googleapis.com`.
|
291
|
+
|
292
|
+
|
293
|
+
- - -
|
294
|
+
"""
|
295
|
+
...
|
296
|
+
@overload
|
297
|
+
def __init__(__self__,
|
298
|
+
resource_name: str,
|
299
|
+
args: VpcServiceControlsArgs,
|
300
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
301
|
+
"""
|
302
|
+
Manages the VPC Service Controls configuration for a service
|
303
|
+
networking connection
|
304
|
+
|
305
|
+
When enabled, Google Cloud makes the following
|
306
|
+
route configuration changes in the service producer VPC network:
|
307
|
+
- Removes the IPv4 default route (destination 0.0.0.0/0,
|
308
|
+
next hop default internet gateway), Google Cloud then creates an
|
309
|
+
IPv4 route for destination 199.36.153.4/30 using the default
|
310
|
+
internet gateway next hop.
|
311
|
+
- Creates Cloud DNS managed private zones and authorizes those zones
|
312
|
+
for the service producer VPC network. The zones include
|
313
|
+
googleapis.com, gcr.io, pkg.dev, notebooks.cloud.google.com,
|
314
|
+
kernels.googleusercontent.com, backupdr.cloud.google.com, and
|
315
|
+
backupdr.googleusercontent.com as necessary domains or host names
|
316
|
+
for Google APIs and services that are compatible with VPC Service
|
317
|
+
Controls. Record data in the zones resolves all host names to
|
318
|
+
199.36.153.4, 199.36.153.5, 199.36.153.6, and 199.36.153.7.
|
319
|
+
|
320
|
+
When disabled, Google Cloud makes the following route configuration
|
321
|
+
changes in the service producer VPC network:
|
322
|
+
- Restores a default route (destination 0.0.0.0/0, next hop default
|
323
|
+
internet gateway)
|
324
|
+
- Deletes the Cloud DNS managed private zones that provided the host
|
325
|
+
name overrides.
|
326
|
+
|
327
|
+
To get more information about VPCServiceControls, see:
|
328
|
+
|
329
|
+
* [API documentation](https://cloud.google.com/service-infrastructure/docs/service-networking/reference/rest/v1/services)
|
330
|
+
* How-to Guides
|
331
|
+
* [Private Google Access with VPC Service Controls](https://cloud.google.com/vpc-service-controls/docs/private-connectivity)
|
332
|
+
* [Set up private connectivity to Google APIs and services](https://cloud.google.com/vpc-service-controls/docs/set-up-private-connectivity)
|
333
|
+
* [Enable VPC Service Controls for service networking](https://cloud.google.com/sdk/gcloud/reference/services/vpc-peerings/enable-vpc-service-controls)
|
334
|
+
|
335
|
+
> **Note:** Destroying a `servicenetworking.VpcServiceControls`
|
336
|
+
resource will remove it from state, but will not change the
|
337
|
+
underlying VPC Service Controls configuration for the service
|
338
|
+
producer network.
|
339
|
+
|
340
|
+
## Example Usage
|
341
|
+
|
342
|
+
### Service Networking Vpc Service Controls Basic
|
343
|
+
|
344
|
+
```python
|
345
|
+
import pulumi
|
346
|
+
import pulumi_gcp as gcp
|
347
|
+
|
348
|
+
# Create a VPC
|
349
|
+
default = gcp.compute.Network("default", name="example-network")
|
350
|
+
# Create an IP address
|
351
|
+
default_global_address = gcp.compute.GlobalAddress("default",
|
352
|
+
name="psa-range",
|
353
|
+
purpose="VPC_PEERING",
|
354
|
+
address_type="INTERNAL",
|
355
|
+
prefix_length=16,
|
356
|
+
network=default.id)
|
357
|
+
# Create a private connection
|
358
|
+
default_connection = gcp.servicenetworking.Connection("default",
|
359
|
+
network=default.id,
|
360
|
+
service="servicenetworking.googleapis.com",
|
361
|
+
reserved_peering_ranges=[default_global_address.name])
|
362
|
+
# Enable VPC-SC on the producer network
|
363
|
+
default_vpc_service_controls = gcp.servicenetworking.VpcServiceControls("default",
|
364
|
+
network=default.name,
|
365
|
+
service="servicenetworking.googleapis.com",
|
366
|
+
enabled=True,
|
367
|
+
opts = pulumi.ResourceOptions(depends_on=[default_connection]))
|
368
|
+
```
|
369
|
+
|
370
|
+
## Import
|
371
|
+
|
372
|
+
VPCServiceControls can be imported using any of these accepted formats:
|
373
|
+
|
374
|
+
* `services/{{service}}/projects/{{project}}/networks/{{network}}`
|
375
|
+
|
376
|
+
* `{{service}}/{{project}}/{{network}}`
|
377
|
+
|
378
|
+
* `{{service}}/{{network}}`
|
379
|
+
|
380
|
+
When using the `pulumi import` command, VPCServiceControls can be imported using one of the formats above. For example:
|
381
|
+
|
382
|
+
```sh
|
383
|
+
$ pulumi import gcp:servicenetworking/vpcServiceControls:VpcServiceControls default services/{{service}}/projects/{{project}}/networks/{{network}}
|
384
|
+
```
|
385
|
+
|
386
|
+
```sh
|
387
|
+
$ pulumi import gcp:servicenetworking/vpcServiceControls:VpcServiceControls default {{service}}/{{project}}/{{network}}
|
388
|
+
```
|
389
|
+
|
390
|
+
```sh
|
391
|
+
$ pulumi import gcp:servicenetworking/vpcServiceControls:VpcServiceControls default {{service}}/{{network}}
|
392
|
+
```
|
393
|
+
|
394
|
+
:param str resource_name: The name of the resource.
|
395
|
+
:param VpcServiceControlsArgs args: The arguments to use to populate this resource's properties.
|
396
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
397
|
+
"""
|
398
|
+
...
|
399
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
400
|
+
resource_args, opts = _utilities.get_resource_args_opts(VpcServiceControlsArgs, pulumi.ResourceOptions, *args, **kwargs)
|
401
|
+
if resource_args is not None:
|
402
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
403
|
+
else:
|
404
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
405
|
+
|
406
|
+
def _internal_init(__self__,
|
407
|
+
resource_name: str,
|
408
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
409
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
410
|
+
network: Optional[pulumi.Input[str]] = None,
|
411
|
+
project: Optional[pulumi.Input[str]] = None,
|
412
|
+
service: Optional[pulumi.Input[str]] = None,
|
413
|
+
__props__=None):
|
414
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
415
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
416
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
417
|
+
if opts.id is None:
|
418
|
+
if __props__ is not None:
|
419
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
420
|
+
__props__ = VpcServiceControlsArgs.__new__(VpcServiceControlsArgs)
|
421
|
+
|
422
|
+
if enabled is None and not opts.urn:
|
423
|
+
raise TypeError("Missing required property 'enabled'")
|
424
|
+
__props__.__dict__["enabled"] = enabled
|
425
|
+
if network is None and not opts.urn:
|
426
|
+
raise TypeError("Missing required property 'network'")
|
427
|
+
__props__.__dict__["network"] = network
|
428
|
+
__props__.__dict__["project"] = project
|
429
|
+
if service is None and not opts.urn:
|
430
|
+
raise TypeError("Missing required property 'service'")
|
431
|
+
__props__.__dict__["service"] = service
|
432
|
+
super(VpcServiceControls, __self__).__init__(
|
433
|
+
'gcp:servicenetworking/vpcServiceControls:VpcServiceControls',
|
434
|
+
resource_name,
|
435
|
+
__props__,
|
436
|
+
opts)
|
437
|
+
|
438
|
+
@staticmethod
|
439
|
+
def get(resource_name: str,
|
440
|
+
id: pulumi.Input[str],
|
441
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
442
|
+
enabled: Optional[pulumi.Input[bool]] = None,
|
443
|
+
network: Optional[pulumi.Input[str]] = None,
|
444
|
+
project: Optional[pulumi.Input[str]] = None,
|
445
|
+
service: Optional[pulumi.Input[str]] = None) -> 'VpcServiceControls':
|
446
|
+
"""
|
447
|
+
Get an existing VpcServiceControls resource's state with the given name, id, and optional extra
|
448
|
+
properties used to qualify the lookup.
|
449
|
+
|
450
|
+
:param str resource_name: The unique name of the resulting resource.
|
451
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
452
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
453
|
+
:param pulumi.Input[bool] enabled: Desired VPC Service Controls state service producer VPC network, as
|
454
|
+
described at the top of this page.
|
455
|
+
:param pulumi.Input[str] network: The network that the consumer is using to connect with services.
|
456
|
+
:param pulumi.Input[str] project: The id of the Google Cloud project containing the consumer network.
|
457
|
+
:param pulumi.Input[str] service: The service that is managing peering connectivity for a service
|
458
|
+
producer's organization. For Google services that support this
|
459
|
+
functionality, this value is `servicenetworking.googleapis.com`.
|
460
|
+
|
461
|
+
|
462
|
+
- - -
|
463
|
+
"""
|
464
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
465
|
+
|
466
|
+
__props__ = _VpcServiceControlsState.__new__(_VpcServiceControlsState)
|
467
|
+
|
468
|
+
__props__.__dict__["enabled"] = enabled
|
469
|
+
__props__.__dict__["network"] = network
|
470
|
+
__props__.__dict__["project"] = project
|
471
|
+
__props__.__dict__["service"] = service
|
472
|
+
return VpcServiceControls(resource_name, opts=opts, __props__=__props__)
|
473
|
+
|
474
|
+
@property
|
475
|
+
@pulumi.getter
|
476
|
+
def enabled(self) -> pulumi.Output[bool]:
|
477
|
+
"""
|
478
|
+
Desired VPC Service Controls state service producer VPC network, as
|
479
|
+
described at the top of this page.
|
480
|
+
"""
|
481
|
+
return pulumi.get(self, "enabled")
|
482
|
+
|
483
|
+
@property
|
484
|
+
@pulumi.getter
|
485
|
+
def network(self) -> pulumi.Output[str]:
|
486
|
+
"""
|
487
|
+
The network that the consumer is using to connect with services.
|
488
|
+
"""
|
489
|
+
return pulumi.get(self, "network")
|
490
|
+
|
491
|
+
@property
|
492
|
+
@pulumi.getter
|
493
|
+
def project(self) -> pulumi.Output[Optional[str]]:
|
494
|
+
"""
|
495
|
+
The id of the Google Cloud project containing the consumer network.
|
496
|
+
"""
|
497
|
+
return pulumi.get(self, "project")
|
498
|
+
|
499
|
+
@property
|
500
|
+
@pulumi.getter
|
501
|
+
def service(self) -> pulumi.Output[str]:
|
502
|
+
"""
|
503
|
+
The service that is managing peering connectivity for a service
|
504
|
+
producer's organization. For Google services that support this
|
505
|
+
functionality, this value is `servicenetworking.googleapis.com`.
|
506
|
+
|
507
|
+
|
508
|
+
- - -
|
509
|
+
"""
|
510
|
+
return pulumi.get(self, "service")
|
511
|
+
|
pulumi_gcp/sql/_inputs.py
CHANGED
@@ -1502,13 +1502,11 @@ class DatabaseInstanceSettingsIpConfigurationArgs:
|
|
1502
1502
|
|
1503
1503
|
@property
|
1504
1504
|
@pulumi.getter(name="requireSsl")
|
1505
|
+
@_utilities.deprecated("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1505
1506
|
def require_ssl(self) -> Optional[pulumi.Input[bool]]:
|
1506
1507
|
"""
|
1507
1508
|
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1508
1509
|
"""
|
1509
|
-
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1510
|
-
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1511
|
-
|
1512
1510
|
return pulumi.get(self, "require_ssl")
|
1513
1511
|
|
1514
1512
|
@require_ssl.setter
|
@@ -858,7 +858,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
858
858
|
enable_private_path_for_google_cloud_services=True,
|
859
859
|
),
|
860
860
|
),
|
861
|
-
opts=pulumi.ResourceOptions(depends_on=[private_vpc_connection]))
|
861
|
+
opts = pulumi.ResourceOptions(depends_on=[private_vpc_connection]))
|
862
862
|
```
|
863
863
|
|
864
864
|
### ENTERPRISE_PLUS Instance with data_cache_config
|
@@ -1052,7 +1052,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
1052
1052
|
enable_private_path_for_google_cloud_services=True,
|
1053
1053
|
),
|
1054
1054
|
),
|
1055
|
-
opts=pulumi.ResourceOptions(depends_on=[private_vpc_connection]))
|
1055
|
+
opts = pulumi.ResourceOptions(depends_on=[private_vpc_connection]))
|
1056
1056
|
```
|
1057
1057
|
|
1058
1058
|
### ENTERPRISE_PLUS Instance with data_cache_config
|
pulumi_gcp/sql/outputs.py
CHANGED
@@ -1549,13 +1549,11 @@ class DatabaseInstanceSettingsIpConfiguration(dict):
|
|
1549
1549
|
|
1550
1550
|
@property
|
1551
1551
|
@pulumi.getter(name="requireSsl")
|
1552
|
+
@_utilities.deprecated("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1552
1553
|
def require_ssl(self) -> Optional[bool]:
|
1553
1554
|
"""
|
1554
1555
|
Whether SSL connections over IP are enforced or not. To change this field, also set the corresponding value in `ssl_mode`. It will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.
|
1555
1556
|
"""
|
1556
|
-
warnings.warn("""`require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""", DeprecationWarning)
|
1557
|
-
pulumi.log.warn("""require_ssl is deprecated: `require_ssl` will be fully deprecated in a future major release. For now, please use `ssl_mode` with a compatible `require_ssl` value instead.""")
|
1558
|
-
|
1559
1557
|
return pulumi.get(self, "require_ssl")
|
1560
1558
|
|
1561
1559
|
@property
|
pulumi_gcp/sql/user.py
CHANGED
@@ -48,7 +48,9 @@ class UserArgs:
|
|
48
48
|
is not provided, the provider project is used.
|
49
49
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
50
50
|
user during login. The default is the database's built-in user type. Flags
|
51
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "
|
51
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
52
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
53
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
52
54
|
"""
|
53
55
|
pulumi.set(__self__, "instance", instance)
|
54
56
|
if deletion_policy is not None:
|
@@ -167,7 +169,9 @@ class UserArgs:
|
|
167
169
|
"""
|
168
170
|
The user type. It determines the method to authenticate the
|
169
171
|
user during login. The default is the database's built-in user type. Flags
|
170
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "
|
172
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
173
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
174
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
171
175
|
"""
|
172
176
|
return pulumi.get(self, "type")
|
173
177
|
|
@@ -212,7 +216,9 @@ class _UserState:
|
|
212
216
|
is not provided, the provider project is used.
|
213
217
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
214
218
|
user during login. The default is the database's built-in user type. Flags
|
215
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "
|
219
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
220
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
221
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
216
222
|
"""
|
217
223
|
if deletion_policy is not None:
|
218
224
|
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
@@ -343,7 +349,9 @@ class _UserState:
|
|
343
349
|
"""
|
344
350
|
The user type. It determines the method to authenticate the
|
345
351
|
user during login. The default is the database's built-in user type. Flags
|
346
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "
|
352
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
353
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
354
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
347
355
|
"""
|
348
356
|
return pulumi.get(self, "type")
|
349
357
|
|
@@ -494,7 +502,9 @@ class User(pulumi.CustomResource):
|
|
494
502
|
is not provided, the provider project is used.
|
495
503
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
496
504
|
user during login. The default is the database's built-in user type. Flags
|
497
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "
|
505
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
506
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
507
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
498
508
|
"""
|
499
509
|
...
|
500
510
|
@overload
|
@@ -699,7 +709,9 @@ class User(pulumi.CustomResource):
|
|
699
709
|
is not provided, the provider project is used.
|
700
710
|
:param pulumi.Input[str] type: The user type. It determines the method to authenticate the
|
701
711
|
user during login. The default is the database's built-in user type. Flags
|
702
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "
|
712
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
713
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
714
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
703
715
|
"""
|
704
716
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
705
717
|
|
@@ -794,7 +806,9 @@ class User(pulumi.CustomResource):
|
|
794
806
|
"""
|
795
807
|
The user type. It determines the method to authenticate the
|
796
808
|
user during login. The default is the database's built-in user type. Flags
|
797
|
-
include "BUILT_IN", "CLOUD_IAM_USER", "
|
809
|
+
include "BUILT_IN", "CLOUD_IAM_USER", and "CLOUD_IAM_SERVICE_ACCOUNT" for both
|
810
|
+
[Postgres](https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/users#sqlusertype) and [MySQL](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/users#sqlusertype).
|
811
|
+
MySQL also includes "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER" and "CLOUD_IAM_GROUP_SERVICE_ACCOUNT".
|
798
812
|
"""
|
799
813
|
return pulumi.get(self, "type")
|
800
814
|
|
@@ -156,7 +156,7 @@ def get_project_service_account(project: Optional[str] = None,
|
|
156
156
|
encryption=gcp.storage.BucketEncryptionArgs(
|
157
157
|
default_kms_key_name="your-crypto-key-id",
|
158
158
|
),
|
159
|
-
opts=pulumi.ResourceOptions(depends_on=[binding]))
|
159
|
+
opts = pulumi.ResourceOptions(depends_on=[binding]))
|
160
160
|
```
|
161
161
|
|
162
162
|
|
@@ -248,7 +248,7 @@ def get_project_service_account_output(project: Optional[pulumi.Input[Optional[s
|
|
248
248
|
encryption=gcp.storage.BucketEncryptionArgs(
|
249
249
|
default_kms_key_name="your-crypto-key-id",
|
250
250
|
),
|
251
|
-
opts=pulumi.ResourceOptions(depends_on=[binding]))
|
251
|
+
opts = pulumi.ResourceOptions(depends_on=[binding]))
|
252
252
|
```
|
253
253
|
|
254
254
|
|