pulumi-gcp 7.19.0a1712989149__py3-none-any.whl → 7.19.0a1713335069__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/accesscontextmanager/access_policy_iam_binding.py +136 -47
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +136 -47
- pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +90 -84
- pulumi_gcp/apigateway/api_config_iam_binding.py +147 -52
- pulumi_gcp/apigateway/api_config_iam_member.py +147 -52
- pulumi_gcp/apigateway/api_config_iam_policy.py +96 -84
- pulumi_gcp/apigateway/api_iam_binding.py +147 -52
- pulumi_gcp/apigateway/api_iam_member.py +147 -52
- pulumi_gcp/apigateway/api_iam_policy.py +96 -84
- pulumi_gcp/apigateway/gateway_iam_binding.py +153 -52
- pulumi_gcp/apigateway/gateway_iam_member.py +153 -52
- pulumi_gcp/apigateway/gateway_iam_policy.py +102 -84
- pulumi_gcp/apigee/environment_iam_binding.py +139 -44
- pulumi_gcp/apigee/environment_iam_member.py +139 -44
- pulumi_gcp/apigee/environment_iam_policy.py +96 -84
- pulumi_gcp/artifactregistry/repository_iam_binding.py +156 -55
- pulumi_gcp/artifactregistry/repository_iam_member.py +156 -55
- pulumi_gcp/artifactregistry/repository_iam_policy.py +102 -84
- pulumi_gcp/bigquery/connection_iam_binding.py +158 -57
- pulumi_gcp/bigquery/connection_iam_member.py +158 -57
- pulumi_gcp/bigquery/connection_iam_policy.py +102 -84
- pulumi_gcp/bigquery/dataset_iam_binding.py +135 -40
- pulumi_gcp/bigquery/dataset_iam_member.py +135 -40
- pulumi_gcp/bigquery/dataset_iam_policy.py +96 -70
- pulumi_gcp/bigquery/iam_binding.py +283 -54
- pulumi_gcp/bigquery/iam_member.py +283 -54
- pulumi_gcp/bigquery/iam_policy.py +230 -84
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +155 -54
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +155 -54
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +102 -84
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +161 -54
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +161 -54
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +108 -84
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +155 -54
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +155 -54
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +102 -84
- pulumi_gcp/bigtable/instance_iam_binding.py +123 -32
- pulumi_gcp/bigtable/instance_iam_member.py +123 -32
- pulumi_gcp/bigtable/instance_iam_policy.py +92 -63
- pulumi_gcp/bigtable/table_iam_binding.py +160 -63
- pulumi_gcp/bigtable/table_iam_member.py +160 -63
- pulumi_gcp/bigtable/table_iam_policy.py +98 -63
- pulumi_gcp/billing/account_iam_binding.py +120 -31
- pulumi_gcp/billing/account_iam_member.py +120 -31
- pulumi_gcp/billing/account_iam_policy.py +90 -49
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +147 -52
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +147 -52
- pulumi_gcp/binaryauthorization/attestor_iam_policy.py +96 -84
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +262 -57
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +262 -57
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +206 -84
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +259 -54
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +259 -54
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +206 -84
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +161 -60
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +161 -60
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +102 -84
- pulumi_gcp/cloudfunctions/function_iam_binding.py +153 -52
- pulumi_gcp/cloudfunctions/function_iam_member.py +153 -52
- pulumi_gcp/cloudfunctions/function_iam_policy.py +102 -84
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +154 -53
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +154 -53
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +102 -84
- pulumi_gcp/cloudrun/iam_binding.py +155 -54
- pulumi_gcp/cloudrun/iam_member.py +155 -54
- pulumi_gcp/cloudrun/iam_policy.py +102 -84
- pulumi_gcp/cloudrunv2/job_iam_binding.py +161 -60
- pulumi_gcp/cloudrunv2/job_iam_member.py +161 -60
- pulumi_gcp/cloudrunv2/job_iam_policy.py +102 -84
- pulumi_gcp/cloudrunv2/service_iam_binding.py +161 -60
- pulumi_gcp/cloudrunv2/service_iam_member.py +161 -60
- pulumi_gcp/cloudrunv2/service_iam_policy.py +102 -84
- pulumi_gcp/cloudtasks/queue_iam_binding.py +161 -60
- pulumi_gcp/cloudtasks/queue_iam_member.py +161 -60
- pulumi_gcp/cloudtasks/queue_iam_policy.py +102 -84
- pulumi_gcp/compute/backend_bucket_iam_binding.py +58 -59
- pulumi_gcp/compute/backend_bucket_iam_member.py +58 -59
- pulumi_gcp/compute/backend_bucket_iam_policy.py +0 -84
- pulumi_gcp/compute/backend_service_iam_binding.py +60 -61
- pulumi_gcp/compute/backend_service_iam_member.py +60 -61
- pulumi_gcp/compute/backend_service_iam_policy.py +0 -84
- pulumi_gcp/compute/disk_iam_binding.py +160 -59
- pulumi_gcp/compute/disk_iam_member.py +160 -59
- pulumi_gcp/compute/disk_iam_policy.py +102 -84
- pulumi_gcp/compute/image_iam_binding.py +271 -54
- pulumi_gcp/compute/image_iam_member.py +271 -54
- pulumi_gcp/compute/image_iam_policy.py +218 -84
- pulumi_gcp/compute/instance_iam_binding.py +283 -54
- pulumi_gcp/compute/instance_iam_member.py +283 -54
- pulumi_gcp/compute/instance_iam_policy.py +230 -84
- pulumi_gcp/compute/machine_image_iam_binding.py +271 -54
- pulumi_gcp/compute/machine_image_iam_member.py +271 -54
- pulumi_gcp/compute/machine_image_iam_policy.py +218 -84
- pulumi_gcp/compute/region_backend_service_iam_binding.py +60 -61
- pulumi_gcp/compute/region_backend_service_iam_member.py +60 -61
- pulumi_gcp/compute/region_backend_service_iam_policy.py +0 -84
- pulumi_gcp/compute/region_disk_iam_binding.py +160 -59
- pulumi_gcp/compute/region_disk_iam_member.py +160 -59
- pulumi_gcp/compute/region_disk_iam_policy.py +102 -84
- pulumi_gcp/compute/snapshot_iam_binding.py +154 -59
- pulumi_gcp/compute/snapshot_iam_member.py +154 -59
- pulumi_gcp/compute/snapshot_iam_policy.py +96 -84
- pulumi_gcp/compute/subnetwork_iam_binding.py +284 -55
- pulumi_gcp/compute/subnetwork_iam_member.py +284 -55
- pulumi_gcp/compute/subnetwork_iam_policy.py +230 -84
- pulumi_gcp/containeranalysis/note_iam_binding.py +154 -59
- pulumi_gcp/containeranalysis/note_iam_member.py +154 -59
- pulumi_gcp/containeranalysis/note_iam_policy.py +96 -84
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +141 -52
- pulumi_gcp/datacatalog/entry_group_iam_member.py +141 -52
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +90 -84
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +133 -44
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +133 -44
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +90 -84
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +142 -53
- pulumi_gcp/datacatalog/tag_template_iam_member.py +142 -53
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +90 -84
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +142 -53
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +142 -53
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +90 -84
- pulumi_gcp/dataplex/asset_iam_binding.py +165 -52
- pulumi_gcp/dataplex/asset_iam_member.py +165 -52
- pulumi_gcp/dataplex/asset_iam_policy.py +114 -84
- pulumi_gcp/dataplex/datascan_iam_binding.py +155 -54
- pulumi_gcp/dataplex/datascan_iam_member.py +155 -54
- pulumi_gcp/dataplex/datascan_iam_policy.py +102 -84
- pulumi_gcp/dataplex/lake_iam_binding.py +153 -52
- pulumi_gcp/dataplex/lake_iam_member.py +153 -52
- pulumi_gcp/dataplex/lake_iam_policy.py +102 -84
- pulumi_gcp/dataplex/task_iam_binding.py +161 -54
- pulumi_gcp/dataplex/task_iam_member.py +161 -54
- pulumi_gcp/dataplex/task_iam_policy.py +108 -84
- pulumi_gcp/dataplex/zone_iam_binding.py +159 -52
- pulumi_gcp/dataplex/zone_iam_member.py +159 -52
- pulumi_gcp/dataplex/zone_iam_policy.py +108 -84
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +173 -72
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +173 -72
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +102 -84
- pulumi_gcp/dataproc/cluster_iam_binding.py +130 -37
- pulumi_gcp/dataproc/cluster_iam_member.py +130 -37
- pulumi_gcp/dataproc/cluster_iam_policy.py +94 -63
- pulumi_gcp/dataproc/job_iam_binding.py +156 -0
- pulumi_gcp/dataproc/job_iam_member.py +156 -0
- pulumi_gcp/dataproc/job_iam_policy.py +94 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +53 -54
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +53 -54
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +0 -84
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +156 -55
- pulumi_gcp/dataproc/metastore_service_iam_member.py +156 -55
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +102 -84
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +147 -52
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +147 -52
- pulumi_gcp/dns/dns_managed_zone_iam_policy.py +96 -84
- pulumi_gcp/endpoints/consumers_iam_binding.py +83 -0
- pulumi_gcp/endpoints/consumers_iam_member.py +83 -0
- pulumi_gcp/endpoints/service_iam_binding.py +173 -0
- pulumi_gcp/endpoints/service_iam_member.py +173 -0
- pulumi_gcp/endpoints/service_iam_policy.py +90 -0
- pulumi_gcp/folder/iam_audit_config.py +270 -0
- pulumi_gcp/folder/iam_member.py +318 -0
- pulumi_gcp/folder/iam_policy.py +270 -0
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +162 -61
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +162 -61
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +102 -84
- pulumi_gcp/gkehub/feature_iam_binding.py +161 -60
- pulumi_gcp/gkehub/feature_iam_member.py +161 -60
- pulumi_gcp/gkehub/feature_iam_policy.py +102 -84
- pulumi_gcp/gkehub/membership_iam_binding.py +159 -58
- pulumi_gcp/gkehub/membership_iam_member.py +159 -58
- pulumi_gcp/gkehub/membership_iam_policy.py +102 -84
- pulumi_gcp/gkehub/scope_iam_binding.py +147 -52
- pulumi_gcp/gkehub/scope_iam_member.py +147 -52
- pulumi_gcp/gkehub/scope_iam_policy.py +96 -84
- pulumi_gcp/healthcare/consent_store_iam_binding.py +139 -44
- pulumi_gcp/healthcare/consent_store_iam_member.py +139 -44
- pulumi_gcp/healthcare/consent_store_iam_policy.py +96 -84
- pulumi_gcp/healthcare/dataset_iam_binding.py +126 -37
- pulumi_gcp/healthcare/dataset_iam_member.py +126 -37
- pulumi_gcp/healthcare/dataset_iam_policy.py +90 -63
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +126 -37
- pulumi_gcp/healthcare/dicom_store_iam_member.py +126 -37
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +90 -63
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +121 -32
- pulumi_gcp/healthcare/fhir_store_iam_member.py +121 -32
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +90 -63
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +121 -32
- pulumi_gcp/healthcare/hl7_store_iam_member.py +121 -32
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +90 -63
- pulumi_gcp/iap/app_engine_service_iam_binding.py +284 -55
- pulumi_gcp/iap/app_engine_service_iam_member.py +284 -55
- pulumi_gcp/iap/app_engine_service_iam_policy.py +230 -84
- pulumi_gcp/iap/app_engine_version_iam_binding.py +297 -56
- pulumi_gcp/iap/app_engine_version_iam_member.py +297 -56
- pulumi_gcp/iap/app_engine_version_iam_policy.py +242 -84
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +283 -54
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +283 -54
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +230 -84
- pulumi_gcp/iap/tunnel_iam_binding.py +259 -54
- pulumi_gcp/iap/tunnel_iam_member.py +259 -54
- pulumi_gcp/iap/tunnel_iam_policy.py +206 -84
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +283 -54
- pulumi_gcp/iap/tunnel_instance_iam_member.py +283 -54
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +230 -84
- pulumi_gcp/iap/web_backend_service_iam_binding.py +272 -55
- pulumi_gcp/iap/web_backend_service_iam_member.py +272 -55
- pulumi_gcp/iap/web_backend_service_iam_policy.py +218 -84
- pulumi_gcp/iap/web_iam_binding.py +259 -54
- pulumi_gcp/iap/web_iam_member.py +259 -54
- pulumi_gcp/iap/web_iam_policy.py +206 -84
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +284 -55
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +284 -55
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +230 -84
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +271 -54
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +271 -54
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +218 -84
- pulumi_gcp/iap/web_type_compute_iam_binding.py +259 -54
- pulumi_gcp/iap/web_type_compute_iam_member.py +259 -54
- pulumi_gcp/iap/web_type_compute_iam_policy.py +206 -84
- pulumi_gcp/kms/crypto_key_iam_binding.py +36 -37
- pulumi_gcp/kms/crypto_key_iam_member.py +36 -37
- pulumi_gcp/kms/crypto_key_iam_policy.py +0 -63
- pulumi_gcp/kms/key_ring_iam_binding.py +253 -32
- pulumi_gcp/kms/key_ring_iam_member.py +253 -32
- pulumi_gcp/kms/key_ring_iam_policy.py +222 -63
- pulumi_gcp/networksecurity/address_group_iam_policy.py +0 -84
- pulumi_gcp/notebooks/instance_iam_binding.py +154 -53
- pulumi_gcp/notebooks/instance_iam_member.py +154 -53
- pulumi_gcp/notebooks/instance_iam_policy.py +102 -84
- pulumi_gcp/notebooks/runtime_iam_binding.py +155 -54
- pulumi_gcp/notebooks/runtime_iam_member.py +155 -54
- pulumi_gcp/notebooks/runtime_iam_policy.py +102 -84
- pulumi_gcp/organizations/iam_member.py +330 -0
- pulumi_gcp/organizations/iam_policy.py +282 -0
- pulumi_gcp/projects/iam_audit_config.py +270 -0
- pulumi_gcp/projects/iam_binding.py +318 -0
- pulumi_gcp/projects/iam_member.py +318 -0
- pulumi_gcp/projects/iam_policy.py +270 -0
- pulumi_gcp/pubsub/schema_iam_binding.py +148 -53
- pulumi_gcp/pubsub/schema_iam_member.py +148 -53
- pulumi_gcp/pubsub/schema_iam_policy.py +96 -84
- pulumi_gcp/pubsub/subscription_iam_binding.py +146 -57
- pulumi_gcp/pubsub/subscription_iam_member.py +146 -57
- pulumi_gcp/pubsub/subscription_iam_policy.py +90 -63
- pulumi_gcp/pubsub/topic_iam_binding.py +148 -53
- pulumi_gcp/pubsub/topic_iam_member.py +148 -53
- pulumi_gcp/pubsub/topic_iam_policy.py +96 -84
- pulumi_gcp/runtimeconfig/config_iam_binding.py +51 -52
- pulumi_gcp/runtimeconfig/config_iam_member.py +51 -52
- pulumi_gcp/runtimeconfig/config_iam_policy.py +0 -84
- pulumi_gcp/secretmanager/secret_iam_binding.py +147 -52
- pulumi_gcp/secretmanager/secret_iam_member.py +147 -52
- pulumi_gcp/secretmanager/secret_iam_policy.py +96 -84
- pulumi_gcp/serviceaccount/iam_binding.py +262 -51
- pulumi_gcp/serviceaccount/iam_member.py +262 -51
- pulumi_gcp/serviceaccount/iam_policy.py +212 -63
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +136 -47
- pulumi_gcp/servicedirectory/namespace_iam_member.py +136 -47
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +90 -84
- pulumi_gcp/servicedirectory/service_iam_binding.py +136 -47
- pulumi_gcp/servicedirectory/service_iam_member.py +136 -47
- pulumi_gcp/servicedirectory/service_iam_policy.py +90 -84
- pulumi_gcp/sourcerepo/repository_iam_binding.py +147 -52
- pulumi_gcp/sourcerepo/repository_iam_member.py +147 -52
- pulumi_gcp/sourcerepo/repository_iam_policy.py +96 -84
- pulumi_gcp/spanner/database_iam_binding.py +253 -32
- pulumi_gcp/spanner/database_iam_member.py +253 -32
- pulumi_gcp/spanner/database_iam_policy.py +222 -63
- pulumi_gcp/spanner/instance_iam_binding.py +121 -32
- pulumi_gcp/spanner/instance_iam_member.py +121 -32
- pulumi_gcp/spanner/instance_iam_policy.py +90 -63
- pulumi_gcp/storage/bucket_iam_binding.py +255 -50
- pulumi_gcp/storage/bucket_iam_member.py +255 -50
- pulumi_gcp/storage/bucket_iam_policy.py +206 -84
- pulumi_gcp/tags/tag_key_iam_binding.py +149 -60
- pulumi_gcp/tags/tag_key_iam_member.py +149 -60
- pulumi_gcp/tags/tag_key_iam_policy.py +90 -84
- pulumi_gcp/tags/tag_value_iam_binding.py +149 -60
- pulumi_gcp/tags/tag_value_iam_member.py +149 -60
- pulumi_gcp/tags/tag_value_iam_policy.py +90 -84
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +33 -34
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +33 -34
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +0 -84
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +51 -52
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +51 -52
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +0 -84
- pulumi_gcp/workstations/workstation_config_iam_binding.py +53 -54
- pulumi_gcp/workstations/workstation_config_iam_member.py +53 -54
- pulumi_gcp/workstations/workstation_config_iam_policy.py +0 -84
- pulumi_gcp/workstations/workstation_iam_binding.py +53 -54
- pulumi_gcp/workstations/workstation_iam_member.py +53 -54
- pulumi_gcp/workstations/workstation_iam_policy.py +0 -84
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/RECORD +295 -295
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.19.0a1712989149.dist-info → pulumi_gcp-7.19.0a1713335069.dist-info}/top_level.txt +0 -0
pulumi_gcp/folder/iam_policy.py
CHANGED
@@ -291,6 +291,141 @@ class IAMPolicy(pulumi.CustomResource):
|
|
291
291
|
```
|
292
292
|
<!--End PulumiCodeChooser -->
|
293
293
|
|
294
|
+
## google\\_folder\\_iam\\_policy
|
295
|
+
|
296
|
+
!> **Be careful!** You can accidentally lock yourself out of your folder
|
297
|
+
using this resource. Deleting a `folder.IAMPolicy` removes access
|
298
|
+
from anyone without permissions on its parent folder/organization. Proceed with caution.
|
299
|
+
It's not recommended to use `folder.IAMPolicy` with your provider folder
|
300
|
+
to avoid locking yourself out, and it should generally only be used with folders
|
301
|
+
fully managed by this provider. If you do use this resource, it is recommended to **import** the policy before
|
302
|
+
applying the change.
|
303
|
+
|
304
|
+
<!--Start PulumiCodeChooser -->
|
305
|
+
```python
|
306
|
+
import pulumi
|
307
|
+
import pulumi_gcp as gcp
|
308
|
+
|
309
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
310
|
+
role="roles/editor",
|
311
|
+
members=["user:jane@example.com"],
|
312
|
+
)])
|
313
|
+
folder = gcp.folder.IAMPolicy("folder",
|
314
|
+
folder="folders/1234567",
|
315
|
+
policy_data=admin.policy_data)
|
316
|
+
```
|
317
|
+
<!--End PulumiCodeChooser -->
|
318
|
+
|
319
|
+
With IAM Conditions:
|
320
|
+
|
321
|
+
<!--Start PulumiCodeChooser -->
|
322
|
+
```python
|
323
|
+
import pulumi
|
324
|
+
import pulumi_gcp as gcp
|
325
|
+
|
326
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
327
|
+
role="roles/compute.admin",
|
328
|
+
members=["user:jane@example.com"],
|
329
|
+
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
330
|
+
title="expires_after_2019_12_31",
|
331
|
+
description="Expiring at midnight of 2019-12-31",
|
332
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
333
|
+
),
|
334
|
+
)])
|
335
|
+
folder = gcp.folder.IAMPolicy("folder",
|
336
|
+
folder="folders/1234567",
|
337
|
+
policy_data=admin.policy_data)
|
338
|
+
```
|
339
|
+
<!--End PulumiCodeChooser -->
|
340
|
+
|
341
|
+
## google\\_folder\\_iam\\_binding
|
342
|
+
|
343
|
+
<!--Start PulumiCodeChooser -->
|
344
|
+
```python
|
345
|
+
import pulumi
|
346
|
+
import pulumi_gcp as gcp
|
347
|
+
|
348
|
+
folder = gcp.folder.IAMBinding("folder",
|
349
|
+
folder="folders/1234567",
|
350
|
+
role="roles/editor",
|
351
|
+
members=["user:jane@example.com"])
|
352
|
+
```
|
353
|
+
<!--End PulumiCodeChooser -->
|
354
|
+
|
355
|
+
With IAM Conditions:
|
356
|
+
|
357
|
+
<!--Start PulumiCodeChooser -->
|
358
|
+
```python
|
359
|
+
import pulumi
|
360
|
+
import pulumi_gcp as gcp
|
361
|
+
|
362
|
+
folder = gcp.folder.IAMBinding("folder",
|
363
|
+
folder="folders/1234567",
|
364
|
+
role="roles/container.admin",
|
365
|
+
members=["user:jane@example.com"],
|
366
|
+
condition=gcp.folder.IAMBindingConditionArgs(
|
367
|
+
title="expires_after_2019_12_31",
|
368
|
+
description="Expiring at midnight of 2019-12-31",
|
369
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
370
|
+
))
|
371
|
+
```
|
372
|
+
<!--End PulumiCodeChooser -->
|
373
|
+
|
374
|
+
## google\\_folder\\_iam\\_member
|
375
|
+
|
376
|
+
<!--Start PulumiCodeChooser -->
|
377
|
+
```python
|
378
|
+
import pulumi
|
379
|
+
import pulumi_gcp as gcp
|
380
|
+
|
381
|
+
folder = gcp.folder.IAMMember("folder",
|
382
|
+
folder="folders/1234567",
|
383
|
+
role="roles/editor",
|
384
|
+
member="user:jane@example.com")
|
385
|
+
```
|
386
|
+
<!--End PulumiCodeChooser -->
|
387
|
+
|
388
|
+
With IAM Conditions:
|
389
|
+
|
390
|
+
<!--Start PulumiCodeChooser -->
|
391
|
+
```python
|
392
|
+
import pulumi
|
393
|
+
import pulumi_gcp as gcp
|
394
|
+
|
395
|
+
folder = gcp.folder.IAMMember("folder",
|
396
|
+
folder="folders/1234567",
|
397
|
+
role="roles/firebase.admin",
|
398
|
+
member="user:jane@example.com",
|
399
|
+
condition=gcp.folder.IAMMemberConditionArgs(
|
400
|
+
title="expires_after_2019_12_31",
|
401
|
+
description="Expiring at midnight of 2019-12-31",
|
402
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
403
|
+
))
|
404
|
+
```
|
405
|
+
<!--End PulumiCodeChooser -->
|
406
|
+
|
407
|
+
## google\\_folder\\_iam\\_audit\\_config
|
408
|
+
|
409
|
+
<!--Start PulumiCodeChooser -->
|
410
|
+
```python
|
411
|
+
import pulumi
|
412
|
+
import pulumi_gcp as gcp
|
413
|
+
|
414
|
+
folder = gcp.folder.IamAuditConfig("folder",
|
415
|
+
folder="folders/1234567",
|
416
|
+
service="allServices",
|
417
|
+
audit_log_configs=[
|
418
|
+
gcp.folder.IamAuditConfigAuditLogConfigArgs(
|
419
|
+
log_type="ADMIN_READ",
|
420
|
+
),
|
421
|
+
gcp.folder.IamAuditConfigAuditLogConfigArgs(
|
422
|
+
log_type="DATA_READ",
|
423
|
+
exempted_members=["user:joebloggs@example.com"],
|
424
|
+
),
|
425
|
+
])
|
426
|
+
```
|
427
|
+
<!--End PulumiCodeChooser -->
|
428
|
+
|
294
429
|
## Import
|
295
430
|
|
296
431
|
### Importing Audit Configs
|
@@ -485,6 +620,141 @@ class IAMPolicy(pulumi.CustomResource):
|
|
485
620
|
```
|
486
621
|
<!--End PulumiCodeChooser -->
|
487
622
|
|
623
|
+
## google\\_folder\\_iam\\_policy
|
624
|
+
|
625
|
+
!> **Be careful!** You can accidentally lock yourself out of your folder
|
626
|
+
using this resource. Deleting a `folder.IAMPolicy` removes access
|
627
|
+
from anyone without permissions on its parent folder/organization. Proceed with caution.
|
628
|
+
It's not recommended to use `folder.IAMPolicy` with your provider folder
|
629
|
+
to avoid locking yourself out, and it should generally only be used with folders
|
630
|
+
fully managed by this provider. If you do use this resource, it is recommended to **import** the policy before
|
631
|
+
applying the change.
|
632
|
+
|
633
|
+
<!--Start PulumiCodeChooser -->
|
634
|
+
```python
|
635
|
+
import pulumi
|
636
|
+
import pulumi_gcp as gcp
|
637
|
+
|
638
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
639
|
+
role="roles/editor",
|
640
|
+
members=["user:jane@example.com"],
|
641
|
+
)])
|
642
|
+
folder = gcp.folder.IAMPolicy("folder",
|
643
|
+
folder="folders/1234567",
|
644
|
+
policy_data=admin.policy_data)
|
645
|
+
```
|
646
|
+
<!--End PulumiCodeChooser -->
|
647
|
+
|
648
|
+
With IAM Conditions:
|
649
|
+
|
650
|
+
<!--Start PulumiCodeChooser -->
|
651
|
+
```python
|
652
|
+
import pulumi
|
653
|
+
import pulumi_gcp as gcp
|
654
|
+
|
655
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
656
|
+
role="roles/compute.admin",
|
657
|
+
members=["user:jane@example.com"],
|
658
|
+
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
659
|
+
title="expires_after_2019_12_31",
|
660
|
+
description="Expiring at midnight of 2019-12-31",
|
661
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
662
|
+
),
|
663
|
+
)])
|
664
|
+
folder = gcp.folder.IAMPolicy("folder",
|
665
|
+
folder="folders/1234567",
|
666
|
+
policy_data=admin.policy_data)
|
667
|
+
```
|
668
|
+
<!--End PulumiCodeChooser -->
|
669
|
+
|
670
|
+
## google\\_folder\\_iam\\_binding
|
671
|
+
|
672
|
+
<!--Start PulumiCodeChooser -->
|
673
|
+
```python
|
674
|
+
import pulumi
|
675
|
+
import pulumi_gcp as gcp
|
676
|
+
|
677
|
+
folder = gcp.folder.IAMBinding("folder",
|
678
|
+
folder="folders/1234567",
|
679
|
+
role="roles/editor",
|
680
|
+
members=["user:jane@example.com"])
|
681
|
+
```
|
682
|
+
<!--End PulumiCodeChooser -->
|
683
|
+
|
684
|
+
With IAM Conditions:
|
685
|
+
|
686
|
+
<!--Start PulumiCodeChooser -->
|
687
|
+
```python
|
688
|
+
import pulumi
|
689
|
+
import pulumi_gcp as gcp
|
690
|
+
|
691
|
+
folder = gcp.folder.IAMBinding("folder",
|
692
|
+
folder="folders/1234567",
|
693
|
+
role="roles/container.admin",
|
694
|
+
members=["user:jane@example.com"],
|
695
|
+
condition=gcp.folder.IAMBindingConditionArgs(
|
696
|
+
title="expires_after_2019_12_31",
|
697
|
+
description="Expiring at midnight of 2019-12-31",
|
698
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
699
|
+
))
|
700
|
+
```
|
701
|
+
<!--End PulumiCodeChooser -->
|
702
|
+
|
703
|
+
## google\\_folder\\_iam\\_member
|
704
|
+
|
705
|
+
<!--Start PulumiCodeChooser -->
|
706
|
+
```python
|
707
|
+
import pulumi
|
708
|
+
import pulumi_gcp as gcp
|
709
|
+
|
710
|
+
folder = gcp.folder.IAMMember("folder",
|
711
|
+
folder="folders/1234567",
|
712
|
+
role="roles/editor",
|
713
|
+
member="user:jane@example.com")
|
714
|
+
```
|
715
|
+
<!--End PulumiCodeChooser -->
|
716
|
+
|
717
|
+
With IAM Conditions:
|
718
|
+
|
719
|
+
<!--Start PulumiCodeChooser -->
|
720
|
+
```python
|
721
|
+
import pulumi
|
722
|
+
import pulumi_gcp as gcp
|
723
|
+
|
724
|
+
folder = gcp.folder.IAMMember("folder",
|
725
|
+
folder="folders/1234567",
|
726
|
+
role="roles/firebase.admin",
|
727
|
+
member="user:jane@example.com",
|
728
|
+
condition=gcp.folder.IAMMemberConditionArgs(
|
729
|
+
title="expires_after_2019_12_31",
|
730
|
+
description="Expiring at midnight of 2019-12-31",
|
731
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
732
|
+
))
|
733
|
+
```
|
734
|
+
<!--End PulumiCodeChooser -->
|
735
|
+
|
736
|
+
## google\\_folder\\_iam\\_audit\\_config
|
737
|
+
|
738
|
+
<!--Start PulumiCodeChooser -->
|
739
|
+
```python
|
740
|
+
import pulumi
|
741
|
+
import pulumi_gcp as gcp
|
742
|
+
|
743
|
+
folder = gcp.folder.IamAuditConfig("folder",
|
744
|
+
folder="folders/1234567",
|
745
|
+
service="allServices",
|
746
|
+
audit_log_configs=[
|
747
|
+
gcp.folder.IamAuditConfigAuditLogConfigArgs(
|
748
|
+
log_type="ADMIN_READ",
|
749
|
+
),
|
750
|
+
gcp.folder.IamAuditConfigAuditLogConfigArgs(
|
751
|
+
log_type="DATA_READ",
|
752
|
+
exempted_members=["user:joebloggs@example.com"],
|
753
|
+
),
|
754
|
+
])
|
755
|
+
```
|
756
|
+
<!--End PulumiCodeChooser -->
|
757
|
+
|
488
758
|
## Import
|
489
759
|
|
490
760
|
### Importing Audit Configs
|
@@ -24,16 +24,7 @@ class BackupPlanIamBindingArgs:
|
|
24
24
|
project: Optional[pulumi.Input[str]] = None):
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a BackupPlanIamBinding resource.
|
27
|
-
:param pulumi.Input[str]
|
28
|
-
`gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format
|
29
|
-
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
30
|
-
:param pulumi.Input[str] location: The region of the Backup Plan.
|
31
|
-
Used to find the parent resource to bind the IAM policy to
|
32
|
-
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
33
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
34
|
-
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
35
|
-
|
36
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
27
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
37
28
|
Each entry can have one of the following values:
|
38
29
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
39
30
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -44,6 +35,14 @@ class BackupPlanIamBindingArgs:
|
|
44
35
|
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
45
36
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
46
37
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
38
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
39
|
+
`gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format
|
40
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
41
|
+
:param pulumi.Input[str] location: The region of the Backup Plan.
|
42
|
+
Used to find the parent resource to bind the IAM policy to
|
43
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
44
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
45
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
47
46
|
"""
|
48
47
|
pulumi.set(__self__, "members", members)
|
49
48
|
pulumi.set(__self__, "role", role)
|
@@ -59,6 +58,19 @@ class BackupPlanIamBindingArgs:
|
|
59
58
|
@property
|
60
59
|
@pulumi.getter
|
61
60
|
def members(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
61
|
+
"""
|
62
|
+
Identities that will be granted the privilege in `role`.
|
63
|
+
Each entry can have one of the following values:
|
64
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
65
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
66
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
67
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
68
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
69
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
70
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
71
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
72
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
73
|
+
"""
|
62
74
|
return pulumi.get(self, "members")
|
63
75
|
|
64
76
|
@members.setter
|
@@ -119,18 +131,6 @@ class BackupPlanIamBindingArgs:
|
|
119
131
|
"""
|
120
132
|
The ID of the project in which the resource belongs.
|
121
133
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
122
|
-
|
123
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
124
|
-
Each entry can have one of the following values:
|
125
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
126
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
127
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
128
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
129
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
130
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
131
|
-
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
132
|
-
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
133
|
-
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
134
134
|
"""
|
135
135
|
return pulumi.get(self, "project")
|
136
136
|
|
@@ -154,11 +154,7 @@ class _BackupPlanIamBindingState:
|
|
154
154
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
155
155
|
:param pulumi.Input[str] location: The region of the Backup Plan.
|
156
156
|
Used to find the parent resource to bind the IAM policy to
|
157
|
-
:param pulumi.Input[str]
|
158
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
159
|
-
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
160
|
-
|
161
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
157
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
162
158
|
Each entry can have one of the following values:
|
163
159
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
164
160
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -169,6 +165,9 @@ class _BackupPlanIamBindingState:
|
|
169
165
|
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
170
166
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
171
167
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
168
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
169
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
170
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
172
171
|
:param pulumi.Input[str] role: The role that should be applied. Only one
|
173
172
|
`gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format
|
174
173
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
@@ -225,6 +224,19 @@ class _BackupPlanIamBindingState:
|
|
225
224
|
@property
|
226
225
|
@pulumi.getter
|
227
226
|
def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
227
|
+
"""
|
228
|
+
Identities that will be granted the privilege in `role`.
|
229
|
+
Each entry can have one of the following values:
|
230
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
231
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
232
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
233
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
234
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
235
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
236
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
237
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
238
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
239
|
+
"""
|
228
240
|
return pulumi.get(self, "members")
|
229
241
|
|
230
242
|
@members.setter
|
@@ -249,18 +261,6 @@ class _BackupPlanIamBindingState:
|
|
249
261
|
"""
|
250
262
|
The ID of the project in which the resource belongs.
|
251
263
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
252
|
-
|
253
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
254
|
-
Each entry can have one of the following values:
|
255
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
256
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
257
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
258
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
259
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
260
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
261
|
-
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
262
|
-
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
263
|
-
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
264
264
|
"""
|
265
265
|
return pulumi.get(self, "project")
|
266
266
|
|
@@ -361,6 +361,57 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
361
361
|
```
|
362
362
|
<!--End PulumiCodeChooser -->
|
363
363
|
|
364
|
+
## google\\_gke\\_backup\\_backup\\_plan\\_iam\\_policy
|
365
|
+
|
366
|
+
<!--Start PulumiCodeChooser -->
|
367
|
+
```python
|
368
|
+
import pulumi
|
369
|
+
import pulumi_gcp as gcp
|
370
|
+
|
371
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
372
|
+
role="roles/viewer",
|
373
|
+
members=["user:jane@example.com"],
|
374
|
+
)])
|
375
|
+
policy = gcp.gkebackup.BackupPlanIamPolicy("policy",
|
376
|
+
project=basic["project"],
|
377
|
+
location=basic["location"],
|
378
|
+
name=basic["name"],
|
379
|
+
policy_data=admin.policy_data)
|
380
|
+
```
|
381
|
+
<!--End PulumiCodeChooser -->
|
382
|
+
|
383
|
+
## google\\_gke\\_backup\\_backup\\_plan\\_iam\\_binding
|
384
|
+
|
385
|
+
<!--Start PulumiCodeChooser -->
|
386
|
+
```python
|
387
|
+
import pulumi
|
388
|
+
import pulumi_gcp as gcp
|
389
|
+
|
390
|
+
binding = gcp.gkebackup.BackupPlanIamBinding("binding",
|
391
|
+
project=basic["project"],
|
392
|
+
location=basic["location"],
|
393
|
+
name=basic["name"],
|
394
|
+
role="roles/viewer",
|
395
|
+
members=["user:jane@example.com"])
|
396
|
+
```
|
397
|
+
<!--End PulumiCodeChooser -->
|
398
|
+
|
399
|
+
## google\\_gke\\_backup\\_backup\\_plan\\_iam\\_member
|
400
|
+
|
401
|
+
<!--Start PulumiCodeChooser -->
|
402
|
+
```python
|
403
|
+
import pulumi
|
404
|
+
import pulumi_gcp as gcp
|
405
|
+
|
406
|
+
member = gcp.gkebackup.BackupPlanIamMember("member",
|
407
|
+
project=basic["project"],
|
408
|
+
location=basic["location"],
|
409
|
+
name=basic["name"],
|
410
|
+
role="roles/viewer",
|
411
|
+
member="user:jane@example.com")
|
412
|
+
```
|
413
|
+
<!--End PulumiCodeChooser -->
|
414
|
+
|
364
415
|
## Import
|
365
416
|
|
366
417
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -403,11 +454,7 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
403
454
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
404
455
|
:param pulumi.Input[str] location: The region of the Backup Plan.
|
405
456
|
Used to find the parent resource to bind the IAM policy to
|
406
|
-
:param pulumi.Input[str]
|
407
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
408
|
-
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
409
|
-
|
410
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
457
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
411
458
|
Each entry can have one of the following values:
|
412
459
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
413
460
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -418,6 +465,9 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
418
465
|
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
419
466
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
420
467
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
468
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
469
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
470
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
421
471
|
:param pulumi.Input[str] role: The role that should be applied. Only one
|
422
472
|
`gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format
|
423
473
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
@@ -494,6 +544,57 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
494
544
|
```
|
495
545
|
<!--End PulumiCodeChooser -->
|
496
546
|
|
547
|
+
## google\\_gke\\_backup\\_backup\\_plan\\_iam\\_policy
|
548
|
+
|
549
|
+
<!--Start PulumiCodeChooser -->
|
550
|
+
```python
|
551
|
+
import pulumi
|
552
|
+
import pulumi_gcp as gcp
|
553
|
+
|
554
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
555
|
+
role="roles/viewer",
|
556
|
+
members=["user:jane@example.com"],
|
557
|
+
)])
|
558
|
+
policy = gcp.gkebackup.BackupPlanIamPolicy("policy",
|
559
|
+
project=basic["project"],
|
560
|
+
location=basic["location"],
|
561
|
+
name=basic["name"],
|
562
|
+
policy_data=admin.policy_data)
|
563
|
+
```
|
564
|
+
<!--End PulumiCodeChooser -->
|
565
|
+
|
566
|
+
## google\\_gke\\_backup\\_backup\\_plan\\_iam\\_binding
|
567
|
+
|
568
|
+
<!--Start PulumiCodeChooser -->
|
569
|
+
```python
|
570
|
+
import pulumi
|
571
|
+
import pulumi_gcp as gcp
|
572
|
+
|
573
|
+
binding = gcp.gkebackup.BackupPlanIamBinding("binding",
|
574
|
+
project=basic["project"],
|
575
|
+
location=basic["location"],
|
576
|
+
name=basic["name"],
|
577
|
+
role="roles/viewer",
|
578
|
+
members=["user:jane@example.com"])
|
579
|
+
```
|
580
|
+
<!--End PulumiCodeChooser -->
|
581
|
+
|
582
|
+
## google\\_gke\\_backup\\_backup\\_plan\\_iam\\_member
|
583
|
+
|
584
|
+
<!--Start PulumiCodeChooser -->
|
585
|
+
```python
|
586
|
+
import pulumi
|
587
|
+
import pulumi_gcp as gcp
|
588
|
+
|
589
|
+
member = gcp.gkebackup.BackupPlanIamMember("member",
|
590
|
+
project=basic["project"],
|
591
|
+
location=basic["location"],
|
592
|
+
name=basic["name"],
|
593
|
+
role="roles/viewer",
|
594
|
+
member="user:jane@example.com")
|
595
|
+
```
|
596
|
+
<!--End PulumiCodeChooser -->
|
597
|
+
|
497
598
|
## Import
|
498
599
|
|
499
600
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -600,11 +701,7 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
600
701
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
601
702
|
:param pulumi.Input[str] location: The region of the Backup Plan.
|
602
703
|
Used to find the parent resource to bind the IAM policy to
|
603
|
-
:param pulumi.Input[str]
|
604
|
-
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
605
|
-
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
606
|
-
|
607
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
704
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
608
705
|
Each entry can have one of the following values:
|
609
706
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
610
707
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -615,6 +712,9 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
615
712
|
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
616
713
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
617
714
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
715
|
+
:param pulumi.Input[str] name: Used to find the parent resource to bind the IAM policy to
|
716
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
717
|
+
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
618
718
|
:param pulumi.Input[str] role: The role that should be applied. Only one
|
619
719
|
`gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format
|
620
720
|
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
@@ -657,6 +757,19 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
657
757
|
@property
|
658
758
|
@pulumi.getter
|
659
759
|
def members(self) -> pulumi.Output[Sequence[str]]:
|
760
|
+
"""
|
761
|
+
Identities that will be granted the privilege in `role`.
|
762
|
+
Each entry can have one of the following values:
|
763
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
764
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
765
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
766
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
767
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
768
|
+
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
769
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
770
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
771
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
772
|
+
"""
|
660
773
|
return pulumi.get(self, "members")
|
661
774
|
|
662
775
|
@property
|
@@ -673,18 +786,6 @@ class BackupPlanIamBinding(pulumi.CustomResource):
|
|
673
786
|
"""
|
674
787
|
The ID of the project in which the resource belongs.
|
675
788
|
If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
|
676
|
-
|
677
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
678
|
-
Each entry can have one of the following values:
|
679
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
680
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
681
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
682
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
683
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
684
|
-
* **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
|
685
|
-
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
686
|
-
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
687
|
-
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
688
789
|
"""
|
689
790
|
return pulumi.get(self, "project")
|
690
791
|
|