pulumi-gcp 8.42.0a1758178363__py3-none-any.whl → 9.0.0a1758219982__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 +83 -48
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/alloydb/backup.py +8 -4
- pulumi_gcp/alloydb/cluster.py +56 -10
- pulumi_gcp/alloydb/get_cluster.py +12 -1
- pulumi_gcp/alloydb/instance.py +10 -4
- pulumi_gcp/alloydb/user.py +8 -4
- pulumi_gcp/apigateway/api_config_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_policy.py +4 -4
- pulumi_gcp/apigateway/api_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_iam_policy.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_binding.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_member.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_policy.py +4 -4
- pulumi_gcp/apigee/_inputs.py +151 -108
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +52 -40
- pulumi_gcp/apigee/outputs.py +92 -88
- pulumi_gcp/artifactregistry/__init__.py +2 -0
- pulumi_gcp/artifactregistry/_inputs.py +0 -12
- pulumi_gcp/artifactregistry/get_npm_package.py +251 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/outputs.py +8 -16
- pulumi_gcp/artifactregistry/repository.py +28 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +4 -4
- pulumi_gcp/backupdisasterrecovery/get_backup.py +12 -1
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +4 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_references.py +135 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +4 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +103 -0
- pulumi_gcp/beyondcorp/__init__.py +0 -5
- pulumi_gcp/beyondcorp/_inputs.py +0 -312
- pulumi_gcp/beyondcorp/outputs.py +0 -200
- pulumi_gcp/bigquery/_inputs.py +114 -4
- pulumi_gcp/bigquery/app_profile.py +3 -5
- pulumi_gcp/bigquery/outputs.py +75 -5
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +1 -1
- pulumi_gcp/bigtable/get_table_iam_policy.py +16 -18
- pulumi_gcp/bigtable/table_iam_binding.py +43 -43
- pulumi_gcp/bigtable/table_iam_member.py +43 -43
- pulumi_gcp/bigtable/table_iam_policy.py +43 -43
- pulumi_gcp/billing/_inputs.py +0 -6
- pulumi_gcp/billing/outputs.py +0 -4
- pulumi_gcp/certificatemanager/__init__.py +1 -0
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/certificatemanager/get_dns_authorization.py +229 -0
- pulumi_gcp/certificatemanager/outputs.py +41 -0
- pulumi_gcp/chronicle/_inputs.py +6 -5
- pulumi_gcp/chronicle/outputs.py +4 -3
- pulumi_gcp/chronicle/reference_list.py +53 -5
- pulumi_gcp/cloudasset/get_resources_search_all.py +8 -0
- pulumi_gcp/cloudbuild/_inputs.py +309 -45
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +2 -6
- pulumi_gcp/cloudbuild/get_trigger.py +12 -1
- pulumi_gcp/cloudbuild/outputs.py +380 -30
- pulumi_gcp/cloudbuild/trigger.py +160 -2
- pulumi_gcp/cloudbuild/worker_pool.py +2 -6
- pulumi_gcp/cloudfunctionsv2/_inputs.py +23 -21
- pulumi_gcp/cloudfunctionsv2/outputs.py +17 -16
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +80 -26
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +109 -30
- pulumi_gcp/cloudrunv2/service.py +72 -12
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/cloudtasks/queue.py +98 -2
- pulumi_gcp/colab/_inputs.py +1 -114
- pulumi_gcp/colab/outputs.py +1 -106
- pulumi_gcp/compute/_inputs.py +884 -24
- pulumi_gcp/compute/backend_bucket.py +68 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_policy.py +236 -0
- pulumi_gcp/compute/backend_service.py +54 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +464 -0
- pulumi_gcp/compute/backend_service_iam_member.py +464 -0
- pulumi_gcp/compute/backend_service_iam_policy.py +464 -0
- pulumi_gcp/compute/cross_site_network.py +16 -0
- pulumi_gcp/compute/future_reservation.py +32 -0
- pulumi_gcp/compute/get_backend_bucket.py +12 -1
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- pulumi_gcp/compute/machine_image_iam_binding.py +8 -4
- pulumi_gcp/compute/machine_image_iam_member.py +8 -4
- pulumi_gcp/compute/machine_image_iam_policy.py +8 -4
- pulumi_gcp/compute/network_edge_security_service.py +16 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +12 -0
- pulumi_gcp/compute/network_peering_routes_config.py +0 -100
- pulumi_gcp/compute/organization_security_policy.py +83 -51
- pulumi_gcp/compute/outputs.py +799 -16
- pulumi_gcp/compute/packet_mirroring.py +6 -0
- pulumi_gcp/compute/preview_feature.py +16 -0
- pulumi_gcp/compute/public_delegated_prefix.py +42 -0
- pulumi_gcp/compute/region_backend_service.py +54 -0
- pulumi_gcp/compute/region_backend_service_iam_binding.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_policy.py +488 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -3
- pulumi_gcp/compute/region_resize_request.py +24 -0
- pulumi_gcp/compute/region_url_map.py +75 -0
- pulumi_gcp/compute/subnetwork.py +0 -98
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/config/__init__.pyi +2 -2
- pulumi_gcp/config/vars.py +4 -4
- pulumi_gcp/container/_inputs.py +466 -18
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +448 -15
- pulumi_gcp/databasemigrationservice/connection_profile.py +4 -2
- pulumi_gcp/databasemigrationservice/migration_job.py +4 -2
- pulumi_gcp/dataflow/flex_template_job.py +10 -0
- pulumi_gcp/dataform/repository.py +16 -0
- pulumi_gcp/dataform/repository_release_config.py +16 -0
- pulumi_gcp/dataform/repository_workflow_config.py +16 -0
- pulumi_gcp/diagflow/_inputs.py +152 -0
- pulumi_gcp/diagflow/cx_agent.py +425 -0
- pulumi_gcp/diagflow/outputs.py +143 -0
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +94 -0
- pulumi_gcp/discoveryengine/acl_config.py +393 -0
- pulumi_gcp/discoveryengine/outputs.py +92 -0
- pulumi_gcp/firebase/android_app.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +4 -8
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +2 -4
- pulumi_gcp/firebase/app_check_service_config.py +6 -12
- pulumi_gcp/firebase/app_hosting_backend.py +4 -8
- pulumi_gcp/firebase/app_hosting_build.py +4 -8
- pulumi_gcp/firebase/app_hosting_traffic.py +6 -12
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/data_connect_service.py +4 -8
- pulumi_gcp/firebase/database_instance.py +20 -8
- pulumi_gcp/firebase/extensions_instance.py +12 -0
- pulumi_gcp/firebase/get_android_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app_config.py +16 -2
- pulumi_gcp/firebase/get_hosting_channel.py +4 -2
- pulumi_gcp/firebase/hosting_channel.py +20 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +20 -0
- pulumi_gcp/firebase/hosting_release.py +16 -0
- pulumi_gcp/firebase/hosting_site.py +16 -0
- pulumi_gcp/firebase/hosting_version.py +16 -0
- pulumi_gcp/firebase/storage_bucket.py +18 -0
- pulumi_gcp/firestore/index.py +118 -3
- pulumi_gcp/folder/service_identity.py +26 -0
- pulumi_gcp/gkehub/_inputs.py +0 -60
- pulumi_gcp/gkehub/get_membership.py +1 -12
- pulumi_gcp/gkehub/membership.py +0 -70
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/gkehub/outputs.py +0 -36
- pulumi_gcp/healthcare/_inputs.py +205 -0
- pulumi_gcp/healthcare/fhir_store.py +128 -0
- pulumi_gcp/healthcare/outputs.py +163 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +18 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +20 -0
- pulumi_gcp/iap/__init__.py +8 -0
- pulumi_gcp/iap/_inputs.py +260 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/get_web_region_forwarding_rule_service_iam_policy.py +182 -0
- pulumi_gcp/iap/outputs.py +152 -0
- pulumi_gcp/{beyondcorp/application_iam_binding.py → iap/web_forwarding_rule_service_iam_binding.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_member.py → iap/web_forwarding_rule_service_iam_member.py} +233 -315
- pulumi_gcp/{beyondcorp/application_iam_policy.py → iap/web_forwarding_rule_service_iam_policy.py} +212 -294
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_binding.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_member.py +1091 -0
- pulumi_gcp/iap/web_region_forwarding_rule_service_iam_policy.py +910 -0
- pulumi_gcp/kms/autokey_config.py +0 -2
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/kms/key_handle.py +0 -2
- pulumi_gcp/logging/organization_sink.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +4 -0
- pulumi_gcp/managedkafka/connector.py +4 -0
- pulumi_gcp/memorystore/get_instance.py +1 -12
- pulumi_gcp/memorystore/instance.py +14 -84
- pulumi_gcp/netapp/storage_pool.py +91 -2
- pulumi_gcp/netapp/volume.py +47 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/organization_vpc_flow_logs_config.py +1028 -0
- pulumi_gcp/networksecurity/authorization_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +7 -7
- pulumi_gcp/networkservices/lb_traffic_extension.py +24 -23
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/notebooks/__init__.py +0 -1
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +3 -3
- pulumi_gcp/projects/service.py +2 -11
- pulumi_gcp/provider.py +20 -20
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +0 -70
- pulumi_gcp/redis/get_cluster.py +1 -12
- pulumi_gcp/resourcemanager/capability.py +16 -0
- pulumi_gcp/runtimeconfig/config.py +16 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_policy.py +236 -0
- pulumi_gcp/runtimeconfig/variable.py +10 -0
- pulumi_gcp/saasruntime/__init__.py +12 -0
- pulumi_gcp/saasruntime/_inputs.py +513 -0
- pulumi_gcp/saasruntime/outputs.py +431 -0
- pulumi_gcp/saasruntime/saa_s.py +819 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/_inputs.py +20 -19
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/outputs.py +15 -14
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/serviceaccount/get_account_key.py +1 -21
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_policy.py +4 -4
- pulumi_gcp/sql/_inputs.py +135 -1
- pulumi_gcp/sql/database_instance.py +94 -0
- pulumi_gcp/sql/get_database_instance.py +23 -1
- pulumi_gcp/sql/outputs.py +276 -3
- pulumi_gcp/sql/user.py +61 -0
- pulumi_gcp/storage/_inputs.py +253 -7
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +198 -8
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/__init__.py +0 -2
- pulumi_gcp/tpu/_inputs.py +0 -93
- pulumi_gcp/tpu/outputs.py +0 -72
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/_inputs.py +8 -9
- pulumi_gcp/vertex/ai_endpoint.py +2 -4
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +0 -2
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_index.py +24 -23
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/vertex/outputs.py +7 -8
- pulumi_gcp/workstations/workstation.py +16 -0
- pulumi_gcp/workstations/workstation_cluster.py +16 -0
- pulumi_gcp/workstations/workstation_config.py +16 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +260 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +272 -0
- pulumi_gcp/workstations/workstation_iam_member.py +272 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +272 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/RECORD +266 -255
- pulumi_gcp/beyondcorp/application.py +0 -746
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +0 -182
- pulumi_gcp/notebooks/location.py +0 -285
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -184
- pulumi_gcp/tpu/node.py +0 -1062
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.42.0a1758178363.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/top_level.txt +0 -0
@@ -30,6 +30,7 @@ class BackendBucketArgs:
|
|
30
30
|
enable_cdn: Optional[pulumi.Input[_builtins.bool]] = None,
|
31
31
|
load_balancing_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
32
32
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
33
|
+
params: Optional[pulumi.Input['BackendBucketParamsArgs']] = None,
|
33
34
|
project: Optional[pulumi.Input[_builtins.str]] = None):
|
34
35
|
"""
|
35
36
|
The set of arguments for constructing a BackendBucket resource.
|
@@ -43,8 +44,10 @@ class BackendBucketArgs:
|
|
43
44
|
client when the resource is created.
|
44
45
|
:param pulumi.Input[_builtins.str] edge_security_policy: The security policy associated with this backend bucket.
|
45
46
|
:param pulumi.Input[_builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendBucket.
|
47
|
+
Note: This cannot be set to true when loadBalancingScheme is set to INTERNAL_MANAGED.
|
46
48
|
:param pulumi.Input[_builtins.str] load_balancing_scheme: The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.
|
47
49
|
If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
|
50
|
+
Important: CDN cannot be enabled (enableCdn cannot be set to true) when loadBalancingScheme is set to INTERNAL_MANAGED.
|
48
51
|
Possible values are: `INTERNAL_MANAGED`.
|
49
52
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is
|
50
53
|
created. The name must be 1-63 characters long, and comply with
|
@@ -53,6 +56,8 @@ class BackendBucketArgs:
|
|
53
56
|
the first character must be a lowercase letter, and all following
|
54
57
|
characters must be a dash, lowercase letter, or digit, except the
|
55
58
|
last character, which cannot be a dash.
|
59
|
+
:param pulumi.Input['BackendBucketParamsArgs'] params: Additional params passed with the request, but not persisted as part of resource payload
|
60
|
+
Structure is documented below.
|
56
61
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
57
62
|
If it is not provided, the provider project is used.
|
58
63
|
"""
|
@@ -73,6 +78,8 @@ class BackendBucketArgs:
|
|
73
78
|
pulumi.set(__self__, "load_balancing_scheme", load_balancing_scheme)
|
74
79
|
if name is not None:
|
75
80
|
pulumi.set(__self__, "name", name)
|
81
|
+
if params is not None:
|
82
|
+
pulumi.set(__self__, "params", params)
|
76
83
|
if project is not None:
|
77
84
|
pulumi.set(__self__, "project", project)
|
78
85
|
|
@@ -156,6 +163,7 @@ class BackendBucketArgs:
|
|
156
163
|
def enable_cdn(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
157
164
|
"""
|
158
165
|
If true, enable Cloud CDN for this BackendBucket.
|
166
|
+
Note: This cannot be set to true when loadBalancingScheme is set to INTERNAL_MANAGED.
|
159
167
|
"""
|
160
168
|
return pulumi.get(self, "enable_cdn")
|
161
169
|
|
@@ -169,6 +177,7 @@ class BackendBucketArgs:
|
|
169
177
|
"""
|
170
178
|
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.
|
171
179
|
If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
|
180
|
+
Important: CDN cannot be enabled (enableCdn cannot be set to true) when loadBalancingScheme is set to INTERNAL_MANAGED.
|
172
181
|
Possible values are: `INTERNAL_MANAGED`.
|
173
182
|
"""
|
174
183
|
return pulumi.get(self, "load_balancing_scheme")
|
@@ -195,6 +204,19 @@ class BackendBucketArgs:
|
|
195
204
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
196
205
|
pulumi.set(self, "name", value)
|
197
206
|
|
207
|
+
@_builtins.property
|
208
|
+
@pulumi.getter
|
209
|
+
def params(self) -> Optional[pulumi.Input['BackendBucketParamsArgs']]:
|
210
|
+
"""
|
211
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
212
|
+
Structure is documented below.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "params")
|
215
|
+
|
216
|
+
@params.setter
|
217
|
+
def params(self, value: Optional[pulumi.Input['BackendBucketParamsArgs']]):
|
218
|
+
pulumi.set(self, "params", value)
|
219
|
+
|
198
220
|
@_builtins.property
|
199
221
|
@pulumi.getter
|
200
222
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -222,6 +244,7 @@ class _BackendBucketState:
|
|
222
244
|
enable_cdn: Optional[pulumi.Input[_builtins.bool]] = None,
|
223
245
|
load_balancing_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
224
246
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
247
|
+
params: Optional[pulumi.Input['BackendBucketParamsArgs']] = None,
|
225
248
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
226
249
|
self_link: Optional[pulumi.Input[_builtins.str]] = None):
|
227
250
|
"""
|
@@ -237,8 +260,10 @@ class _BackendBucketState:
|
|
237
260
|
client when the resource is created.
|
238
261
|
:param pulumi.Input[_builtins.str] edge_security_policy: The security policy associated with this backend bucket.
|
239
262
|
:param pulumi.Input[_builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendBucket.
|
263
|
+
Note: This cannot be set to true when loadBalancingScheme is set to INTERNAL_MANAGED.
|
240
264
|
:param pulumi.Input[_builtins.str] load_balancing_scheme: The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.
|
241
265
|
If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
|
266
|
+
Important: CDN cannot be enabled (enableCdn cannot be set to true) when loadBalancingScheme is set to INTERNAL_MANAGED.
|
242
267
|
Possible values are: `INTERNAL_MANAGED`.
|
243
268
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is
|
244
269
|
created. The name must be 1-63 characters long, and comply with
|
@@ -247,6 +272,8 @@ class _BackendBucketState:
|
|
247
272
|
the first character must be a lowercase letter, and all following
|
248
273
|
characters must be a dash, lowercase letter, or digit, except the
|
249
274
|
last character, which cannot be a dash.
|
275
|
+
:param pulumi.Input['BackendBucketParamsArgs'] params: Additional params passed with the request, but not persisted as part of resource payload
|
276
|
+
Structure is documented below.
|
250
277
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
251
278
|
If it is not provided, the provider project is used.
|
252
279
|
:param pulumi.Input[_builtins.str] self_link: The URI of the created resource.
|
@@ -271,6 +298,8 @@ class _BackendBucketState:
|
|
271
298
|
pulumi.set(__self__, "load_balancing_scheme", load_balancing_scheme)
|
272
299
|
if name is not None:
|
273
300
|
pulumi.set(__self__, "name", name)
|
301
|
+
if params is not None:
|
302
|
+
pulumi.set(__self__, "params", params)
|
274
303
|
if project is not None:
|
275
304
|
pulumi.set(__self__, "project", project)
|
276
305
|
if self_link is not None:
|
@@ -368,6 +397,7 @@ class _BackendBucketState:
|
|
368
397
|
def enable_cdn(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
369
398
|
"""
|
370
399
|
If true, enable Cloud CDN for this BackendBucket.
|
400
|
+
Note: This cannot be set to true when loadBalancingScheme is set to INTERNAL_MANAGED.
|
371
401
|
"""
|
372
402
|
return pulumi.get(self, "enable_cdn")
|
373
403
|
|
@@ -381,6 +411,7 @@ class _BackendBucketState:
|
|
381
411
|
"""
|
382
412
|
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.
|
383
413
|
If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
|
414
|
+
Important: CDN cannot be enabled (enableCdn cannot be set to true) when loadBalancingScheme is set to INTERNAL_MANAGED.
|
384
415
|
Possible values are: `INTERNAL_MANAGED`.
|
385
416
|
"""
|
386
417
|
return pulumi.get(self, "load_balancing_scheme")
|
@@ -407,6 +438,19 @@ class _BackendBucketState:
|
|
407
438
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
408
439
|
pulumi.set(self, "name", value)
|
409
440
|
|
441
|
+
@_builtins.property
|
442
|
+
@pulumi.getter
|
443
|
+
def params(self) -> Optional[pulumi.Input['BackendBucketParamsArgs']]:
|
444
|
+
"""
|
445
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
446
|
+
Structure is documented below.
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "params")
|
449
|
+
|
450
|
+
@params.setter
|
451
|
+
def params(self, value: Optional[pulumi.Input['BackendBucketParamsArgs']]):
|
452
|
+
pulumi.set(self, "params", value)
|
453
|
+
|
410
454
|
@_builtins.property
|
411
455
|
@pulumi.getter
|
412
456
|
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -448,6 +492,7 @@ class BackendBucket(pulumi.CustomResource):
|
|
448
492
|
enable_cdn: Optional[pulumi.Input[_builtins.bool]] = None,
|
449
493
|
load_balancing_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
450
494
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
495
|
+
params: Optional[pulumi.Input[Union['BackendBucketParamsArgs', 'BackendBucketParamsArgsDict']]] = None,
|
451
496
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
452
497
|
__props__=None):
|
453
498
|
"""
|
@@ -579,8 +624,10 @@ class BackendBucket(pulumi.CustomResource):
|
|
579
624
|
client when the resource is created.
|
580
625
|
:param pulumi.Input[_builtins.str] edge_security_policy: The security policy associated with this backend bucket.
|
581
626
|
:param pulumi.Input[_builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendBucket.
|
627
|
+
Note: This cannot be set to true when loadBalancingScheme is set to INTERNAL_MANAGED.
|
582
628
|
:param pulumi.Input[_builtins.str] load_balancing_scheme: The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.
|
583
629
|
If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
|
630
|
+
Important: CDN cannot be enabled (enableCdn cannot be set to true) when loadBalancingScheme is set to INTERNAL_MANAGED.
|
584
631
|
Possible values are: `INTERNAL_MANAGED`.
|
585
632
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is
|
586
633
|
created. The name must be 1-63 characters long, and comply with
|
@@ -589,6 +636,8 @@ class BackendBucket(pulumi.CustomResource):
|
|
589
636
|
the first character must be a lowercase letter, and all following
|
590
637
|
characters must be a dash, lowercase letter, or digit, except the
|
591
638
|
last character, which cannot be a dash.
|
639
|
+
:param pulumi.Input[Union['BackendBucketParamsArgs', 'BackendBucketParamsArgsDict']] params: Additional params passed with the request, but not persisted as part of resource payload
|
640
|
+
Structure is documented below.
|
592
641
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
593
642
|
If it is not provided, the provider project is used.
|
594
643
|
"""
|
@@ -739,6 +788,7 @@ class BackendBucket(pulumi.CustomResource):
|
|
739
788
|
enable_cdn: Optional[pulumi.Input[_builtins.bool]] = None,
|
740
789
|
load_balancing_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
741
790
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
791
|
+
params: Optional[pulumi.Input[Union['BackendBucketParamsArgs', 'BackendBucketParamsArgsDict']]] = None,
|
742
792
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
743
793
|
__props__=None):
|
744
794
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -760,6 +810,7 @@ class BackendBucket(pulumi.CustomResource):
|
|
760
810
|
__props__.__dict__["enable_cdn"] = enable_cdn
|
761
811
|
__props__.__dict__["load_balancing_scheme"] = load_balancing_scheme
|
762
812
|
__props__.__dict__["name"] = name
|
813
|
+
__props__.__dict__["params"] = params
|
763
814
|
__props__.__dict__["project"] = project
|
764
815
|
__props__.__dict__["creation_timestamp"] = None
|
765
816
|
__props__.__dict__["self_link"] = None
|
@@ -783,6 +834,7 @@ class BackendBucket(pulumi.CustomResource):
|
|
783
834
|
enable_cdn: Optional[pulumi.Input[_builtins.bool]] = None,
|
784
835
|
load_balancing_scheme: Optional[pulumi.Input[_builtins.str]] = None,
|
785
836
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
837
|
+
params: Optional[pulumi.Input[Union['BackendBucketParamsArgs', 'BackendBucketParamsArgsDict']]] = None,
|
786
838
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
787
839
|
self_link: Optional[pulumi.Input[_builtins.str]] = None) -> 'BackendBucket':
|
788
840
|
"""
|
@@ -803,8 +855,10 @@ class BackendBucket(pulumi.CustomResource):
|
|
803
855
|
client when the resource is created.
|
804
856
|
:param pulumi.Input[_builtins.str] edge_security_policy: The security policy associated with this backend bucket.
|
805
857
|
:param pulumi.Input[_builtins.bool] enable_cdn: If true, enable Cloud CDN for this BackendBucket.
|
858
|
+
Note: This cannot be set to true when loadBalancingScheme is set to INTERNAL_MANAGED.
|
806
859
|
:param pulumi.Input[_builtins.str] load_balancing_scheme: The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.
|
807
860
|
If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
|
861
|
+
Important: CDN cannot be enabled (enableCdn cannot be set to true) when loadBalancingScheme is set to INTERNAL_MANAGED.
|
808
862
|
Possible values are: `INTERNAL_MANAGED`.
|
809
863
|
:param pulumi.Input[_builtins.str] name: Name of the resource. Provided by the client when the resource is
|
810
864
|
created. The name must be 1-63 characters long, and comply with
|
@@ -813,6 +867,8 @@ class BackendBucket(pulumi.CustomResource):
|
|
813
867
|
the first character must be a lowercase letter, and all following
|
814
868
|
characters must be a dash, lowercase letter, or digit, except the
|
815
869
|
last character, which cannot be a dash.
|
870
|
+
:param pulumi.Input[Union['BackendBucketParamsArgs', 'BackendBucketParamsArgsDict']] params: Additional params passed with the request, but not persisted as part of resource payload
|
871
|
+
Structure is documented below.
|
816
872
|
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
817
873
|
If it is not provided, the provider project is used.
|
818
874
|
:param pulumi.Input[_builtins.str] self_link: The URI of the created resource.
|
@@ -831,6 +887,7 @@ class BackendBucket(pulumi.CustomResource):
|
|
831
887
|
__props__.__dict__["enable_cdn"] = enable_cdn
|
832
888
|
__props__.__dict__["load_balancing_scheme"] = load_balancing_scheme
|
833
889
|
__props__.__dict__["name"] = name
|
890
|
+
__props__.__dict__["params"] = params
|
834
891
|
__props__.__dict__["project"] = project
|
835
892
|
__props__.__dict__["self_link"] = self_link
|
836
893
|
return BackendBucket(resource_name, opts=opts, __props__=__props__)
|
@@ -899,6 +956,7 @@ class BackendBucket(pulumi.CustomResource):
|
|
899
956
|
def enable_cdn(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
900
957
|
"""
|
901
958
|
If true, enable Cloud CDN for this BackendBucket.
|
959
|
+
Note: This cannot be set to true when loadBalancingScheme is set to INTERNAL_MANAGED.
|
902
960
|
"""
|
903
961
|
return pulumi.get(self, "enable_cdn")
|
904
962
|
|
@@ -908,6 +966,7 @@ class BackendBucket(pulumi.CustomResource):
|
|
908
966
|
"""
|
909
967
|
The value can only be INTERNAL_MANAGED for cross-region internal layer 7 load balancer.
|
910
968
|
If loadBalancingScheme is not specified, the backend bucket can be used by classic global external load balancers, or global application external load balancers, or both.
|
969
|
+
Important: CDN cannot be enabled (enableCdn cannot be set to true) when loadBalancingScheme is set to INTERNAL_MANAGED.
|
911
970
|
Possible values are: `INTERNAL_MANAGED`.
|
912
971
|
"""
|
913
972
|
return pulumi.get(self, "load_balancing_scheme")
|
@@ -926,6 +985,15 @@ class BackendBucket(pulumi.CustomResource):
|
|
926
985
|
"""
|
927
986
|
return pulumi.get(self, "name")
|
928
987
|
|
988
|
+
@_builtins.property
|
989
|
+
@pulumi.getter
|
990
|
+
def params(self) -> pulumi.Output[Optional['outputs.BackendBucketParams']]:
|
991
|
+
"""
|
992
|
+
Additional params passed with the request, but not persisted as part of resource payload
|
993
|
+
Structure is documented below.
|
994
|
+
"""
|
995
|
+
return pulumi.get(self, "params")
|
996
|
+
|
929
997
|
@_builtins.property
|
930
998
|
@pulumi.getter
|
931
999
|
def project(self) -> pulumi.Output[_builtins.str]:
|
@@ -265,6 +265,124 @@ class BackendBucketIamBinding(pulumi.CustomResource):
|
|
265
265
|
role: Optional[pulumi.Input[_builtins.str]] = None,
|
266
266
|
__props__=None):
|
267
267
|
"""
|
268
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
269
|
+
|
270
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
271
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
272
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
273
|
+
|
274
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
275
|
+
|
276
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
277
|
+
|
278
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
279
|
+
|
280
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
281
|
+
|
282
|
+
## compute.BackendBucketIamPolicy
|
283
|
+
|
284
|
+
```python
|
285
|
+
import pulumi
|
286
|
+
import pulumi_gcp as gcp
|
287
|
+
|
288
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
289
|
+
"role": "roles/viewer",
|
290
|
+
"members": ["user:jane@example.com"],
|
291
|
+
}])
|
292
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
293
|
+
project=image_backend["project"],
|
294
|
+
name=image_backend["name"],
|
295
|
+
policy_data=admin.policy_data)
|
296
|
+
```
|
297
|
+
|
298
|
+
## compute.BackendBucketIamBinding
|
299
|
+
|
300
|
+
```python
|
301
|
+
import pulumi
|
302
|
+
import pulumi_gcp as gcp
|
303
|
+
|
304
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
305
|
+
project=image_backend["project"],
|
306
|
+
name=image_backend["name"],
|
307
|
+
role="roles/viewer",
|
308
|
+
members=["user:jane@example.com"])
|
309
|
+
```
|
310
|
+
|
311
|
+
## compute.BackendBucketIamMember
|
312
|
+
|
313
|
+
```python
|
314
|
+
import pulumi
|
315
|
+
import pulumi_gcp as gcp
|
316
|
+
|
317
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
318
|
+
project=image_backend["project"],
|
319
|
+
name=image_backend["name"],
|
320
|
+
role="roles/viewer",
|
321
|
+
member="user:jane@example.com")
|
322
|
+
```
|
323
|
+
|
324
|
+
## This resource supports User Project Overrides.
|
325
|
+
|
326
|
+
-
|
327
|
+
|
328
|
+
# IAM policy for Compute Engine BackendBucket
|
329
|
+
|
330
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
331
|
+
|
332
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
333
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
334
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
335
|
+
|
336
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
337
|
+
|
338
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
339
|
+
|
340
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
341
|
+
|
342
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
343
|
+
|
344
|
+
## compute.BackendBucketIamPolicy
|
345
|
+
|
346
|
+
```python
|
347
|
+
import pulumi
|
348
|
+
import pulumi_gcp as gcp
|
349
|
+
|
350
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
351
|
+
"role": "roles/viewer",
|
352
|
+
"members": ["user:jane@example.com"],
|
353
|
+
}])
|
354
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
355
|
+
project=image_backend["project"],
|
356
|
+
name=image_backend["name"],
|
357
|
+
policy_data=admin.policy_data)
|
358
|
+
```
|
359
|
+
|
360
|
+
## compute.BackendBucketIamBinding
|
361
|
+
|
362
|
+
```python
|
363
|
+
import pulumi
|
364
|
+
import pulumi_gcp as gcp
|
365
|
+
|
366
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
367
|
+
project=image_backend["project"],
|
368
|
+
name=image_backend["name"],
|
369
|
+
role="roles/viewer",
|
370
|
+
members=["user:jane@example.com"])
|
371
|
+
```
|
372
|
+
|
373
|
+
## compute.BackendBucketIamMember
|
374
|
+
|
375
|
+
```python
|
376
|
+
import pulumi
|
377
|
+
import pulumi_gcp as gcp
|
378
|
+
|
379
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
380
|
+
project=image_backend["project"],
|
381
|
+
name=image_backend["name"],
|
382
|
+
role="roles/viewer",
|
383
|
+
member="user:jane@example.com")
|
384
|
+
```
|
385
|
+
|
268
386
|
## Import
|
269
387
|
|
270
388
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -328,6 +446,124 @@ class BackendBucketIamBinding(pulumi.CustomResource):
|
|
328
446
|
args: BackendBucketIamBindingArgs,
|
329
447
|
opts: Optional[pulumi.ResourceOptions] = None):
|
330
448
|
"""
|
449
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
450
|
+
|
451
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
452
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
453
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
454
|
+
|
455
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
456
|
+
|
457
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
458
|
+
|
459
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
460
|
+
|
461
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
462
|
+
|
463
|
+
## compute.BackendBucketIamPolicy
|
464
|
+
|
465
|
+
```python
|
466
|
+
import pulumi
|
467
|
+
import pulumi_gcp as gcp
|
468
|
+
|
469
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
470
|
+
"role": "roles/viewer",
|
471
|
+
"members": ["user:jane@example.com"],
|
472
|
+
}])
|
473
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
474
|
+
project=image_backend["project"],
|
475
|
+
name=image_backend["name"],
|
476
|
+
policy_data=admin.policy_data)
|
477
|
+
```
|
478
|
+
|
479
|
+
## compute.BackendBucketIamBinding
|
480
|
+
|
481
|
+
```python
|
482
|
+
import pulumi
|
483
|
+
import pulumi_gcp as gcp
|
484
|
+
|
485
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
486
|
+
project=image_backend["project"],
|
487
|
+
name=image_backend["name"],
|
488
|
+
role="roles/viewer",
|
489
|
+
members=["user:jane@example.com"])
|
490
|
+
```
|
491
|
+
|
492
|
+
## compute.BackendBucketIamMember
|
493
|
+
|
494
|
+
```python
|
495
|
+
import pulumi
|
496
|
+
import pulumi_gcp as gcp
|
497
|
+
|
498
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
499
|
+
project=image_backend["project"],
|
500
|
+
name=image_backend["name"],
|
501
|
+
role="roles/viewer",
|
502
|
+
member="user:jane@example.com")
|
503
|
+
```
|
504
|
+
|
505
|
+
## This resource supports User Project Overrides.
|
506
|
+
|
507
|
+
-
|
508
|
+
|
509
|
+
# IAM policy for Compute Engine BackendBucket
|
510
|
+
|
511
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
512
|
+
|
513
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
514
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
515
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
516
|
+
|
517
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
518
|
+
|
519
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
520
|
+
|
521
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
522
|
+
|
523
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
524
|
+
|
525
|
+
## compute.BackendBucketIamPolicy
|
526
|
+
|
527
|
+
```python
|
528
|
+
import pulumi
|
529
|
+
import pulumi_gcp as gcp
|
530
|
+
|
531
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
532
|
+
"role": "roles/viewer",
|
533
|
+
"members": ["user:jane@example.com"],
|
534
|
+
}])
|
535
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
536
|
+
project=image_backend["project"],
|
537
|
+
name=image_backend["name"],
|
538
|
+
policy_data=admin.policy_data)
|
539
|
+
```
|
540
|
+
|
541
|
+
## compute.BackendBucketIamBinding
|
542
|
+
|
543
|
+
```python
|
544
|
+
import pulumi
|
545
|
+
import pulumi_gcp as gcp
|
546
|
+
|
547
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
548
|
+
project=image_backend["project"],
|
549
|
+
name=image_backend["name"],
|
550
|
+
role="roles/viewer",
|
551
|
+
members=["user:jane@example.com"])
|
552
|
+
```
|
553
|
+
|
554
|
+
## compute.BackendBucketIamMember
|
555
|
+
|
556
|
+
```python
|
557
|
+
import pulumi
|
558
|
+
import pulumi_gcp as gcp
|
559
|
+
|
560
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
561
|
+
project=image_backend["project"],
|
562
|
+
name=image_backend["name"],
|
563
|
+
role="roles/viewer",
|
564
|
+
member="user:jane@example.com")
|
565
|
+
```
|
566
|
+
|
331
567
|
## Import
|
332
568
|
|
333
569
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|