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
@@ -24,16 +24,7 @@ class SubnetworkIAMBindingArgs:
|
|
24
24
|
region: Optional[pulumi.Input[str]] = None):
|
25
25
|
"""
|
26
26
|
The set of arguments for constructing a SubnetworkIAMBinding resource.
|
27
|
-
:param pulumi.Input[str]
|
28
|
-
`compute.SubnetworkIAMBinding` 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] subnetwork: Used to find the parent resource to bind the IAM policy to
|
31
|
-
:param pulumi.Input['SubnetworkIAMBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
32
|
-
Structure is documented below.
|
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 SubnetworkIAMBindingArgs:
|
|
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
|
+
`compute.SubnetworkIAMBinding` 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] subnetwork: Used to find the parent resource to bind the IAM policy to
|
42
|
+
:param pulumi.Input['SubnetworkIAMBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
43
|
+
Structure is documented below.
|
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
|
:param pulumi.Input[str] region: The GCP region for this subnetwork.
|
48
47
|
Used to find the parent resource to bind the IAM policy to. If not specified,
|
49
48
|
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
@@ -62,6 +61,19 @@ class SubnetworkIAMBindingArgs:
|
|
62
61
|
@property
|
63
62
|
@pulumi.getter
|
64
63
|
def members(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
64
|
+
"""
|
65
|
+
Identities that will be granted the privilege in `role`.
|
66
|
+
Each entry can have one of the following values:
|
67
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
68
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
69
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
70
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
71
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
72
|
+
* **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.
|
73
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
74
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
75
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
76
|
+
"""
|
65
77
|
return pulumi.get(self, "members")
|
66
78
|
|
67
79
|
@members.setter
|
@@ -113,18 +125,6 @@ class SubnetworkIAMBindingArgs:
|
|
113
125
|
"""
|
114
126
|
The ID of the project in which the resource belongs.
|
115
127
|
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.
|
116
|
-
|
117
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
118
|
-
Each entry can have one of the following values:
|
119
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
120
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
121
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
122
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
123
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
124
|
-
* **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.
|
125
|
-
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
126
|
-
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
127
|
-
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
128
128
|
"""
|
129
129
|
return pulumi.get(self, "project")
|
130
130
|
|
@@ -163,10 +163,7 @@ class _SubnetworkIAMBindingState:
|
|
163
163
|
:param pulumi.Input['SubnetworkIAMBindingConditionArgs'] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
164
164
|
Structure is documented below.
|
165
165
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
166
|
-
:param pulumi.Input[str]
|
167
|
-
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.
|
168
|
-
|
169
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
166
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
170
167
|
Each entry can have one of the following values:
|
171
168
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
172
169
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -177,6 +174,8 @@ class _SubnetworkIAMBindingState:
|
|
177
174
|
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
178
175
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
179
176
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
177
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
178
|
+
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.
|
180
179
|
:param pulumi.Input[str] region: The GCP region for this subnetwork.
|
181
180
|
Used to find the parent resource to bind the IAM policy to. If not specified,
|
182
181
|
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
@@ -229,6 +228,19 @@ class _SubnetworkIAMBindingState:
|
|
229
228
|
@property
|
230
229
|
@pulumi.getter
|
231
230
|
def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
231
|
+
"""
|
232
|
+
Identities that will be granted the privilege in `role`.
|
233
|
+
Each entry can have one of the following values:
|
234
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
235
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
236
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
237
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
238
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
239
|
+
* **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.
|
240
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
241
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
242
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
243
|
+
"""
|
232
244
|
return pulumi.get(self, "members")
|
233
245
|
|
234
246
|
@members.setter
|
@@ -241,18 +253,6 @@ class _SubnetworkIAMBindingState:
|
|
241
253
|
"""
|
242
254
|
The ID of the project in which the resource belongs.
|
243
255
|
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.
|
244
|
-
|
245
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
246
|
-
Each entry can have one of the following values:
|
247
|
-
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
248
|
-
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
249
|
-
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
250
|
-
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
251
|
-
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
252
|
-
* **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.
|
253
|
-
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
254
|
-
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
255
|
-
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
256
256
|
"""
|
257
257
|
return pulumi.get(self, "project")
|
258
258
|
|
@@ -446,6 +446,121 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
446
446
|
```
|
447
447
|
<!--End PulumiCodeChooser -->
|
448
448
|
|
449
|
+
## google\\_compute\\_subnetwork\\_iam\\_policy
|
450
|
+
|
451
|
+
<!--Start PulumiCodeChooser -->
|
452
|
+
```python
|
453
|
+
import pulumi
|
454
|
+
import pulumi_gcp as gcp
|
455
|
+
|
456
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
457
|
+
role="roles/compute.networkUser",
|
458
|
+
members=["user:jane@example.com"],
|
459
|
+
)])
|
460
|
+
policy = gcp.compute.SubnetworkIAMPolicy("policy",
|
461
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
462
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
463
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
464
|
+
policy_data=admin.policy_data)
|
465
|
+
```
|
466
|
+
<!--End PulumiCodeChooser -->
|
467
|
+
|
468
|
+
With IAM Conditions:
|
469
|
+
|
470
|
+
<!--Start PulumiCodeChooser -->
|
471
|
+
```python
|
472
|
+
import pulumi
|
473
|
+
import pulumi_gcp as gcp
|
474
|
+
|
475
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
476
|
+
role="roles/compute.networkUser",
|
477
|
+
members=["user:jane@example.com"],
|
478
|
+
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
479
|
+
title="expires_after_2019_12_31",
|
480
|
+
description="Expiring at midnight of 2019-12-31",
|
481
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
482
|
+
),
|
483
|
+
)])
|
484
|
+
policy = gcp.compute.SubnetworkIAMPolicy("policy",
|
485
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
486
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
487
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
488
|
+
policy_data=admin.policy_data)
|
489
|
+
```
|
490
|
+
<!--End PulumiCodeChooser -->
|
491
|
+
## google\\_compute\\_subnetwork\\_iam\\_binding
|
492
|
+
|
493
|
+
<!--Start PulumiCodeChooser -->
|
494
|
+
```python
|
495
|
+
import pulumi
|
496
|
+
import pulumi_gcp as gcp
|
497
|
+
|
498
|
+
binding = gcp.compute.SubnetworkIAMBinding("binding",
|
499
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
500
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
501
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
502
|
+
role="roles/compute.networkUser",
|
503
|
+
members=["user:jane@example.com"])
|
504
|
+
```
|
505
|
+
<!--End PulumiCodeChooser -->
|
506
|
+
|
507
|
+
With IAM Conditions:
|
508
|
+
|
509
|
+
<!--Start PulumiCodeChooser -->
|
510
|
+
```python
|
511
|
+
import pulumi
|
512
|
+
import pulumi_gcp as gcp
|
513
|
+
|
514
|
+
binding = gcp.compute.SubnetworkIAMBinding("binding",
|
515
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
516
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
517
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
518
|
+
role="roles/compute.networkUser",
|
519
|
+
members=["user:jane@example.com"],
|
520
|
+
condition=gcp.compute.SubnetworkIAMBindingConditionArgs(
|
521
|
+
title="expires_after_2019_12_31",
|
522
|
+
description="Expiring at midnight of 2019-12-31",
|
523
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
524
|
+
))
|
525
|
+
```
|
526
|
+
<!--End PulumiCodeChooser -->
|
527
|
+
## google\\_compute\\_subnetwork\\_iam\\_member
|
528
|
+
|
529
|
+
<!--Start PulumiCodeChooser -->
|
530
|
+
```python
|
531
|
+
import pulumi
|
532
|
+
import pulumi_gcp as gcp
|
533
|
+
|
534
|
+
member = gcp.compute.SubnetworkIAMMember("member",
|
535
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
536
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
537
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
538
|
+
role="roles/compute.networkUser",
|
539
|
+
member="user:jane@example.com")
|
540
|
+
```
|
541
|
+
<!--End PulumiCodeChooser -->
|
542
|
+
|
543
|
+
With IAM Conditions:
|
544
|
+
|
545
|
+
<!--Start PulumiCodeChooser -->
|
546
|
+
```python
|
547
|
+
import pulumi
|
548
|
+
import pulumi_gcp as gcp
|
549
|
+
|
550
|
+
member = gcp.compute.SubnetworkIAMMember("member",
|
551
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
552
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
553
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
554
|
+
role="roles/compute.networkUser",
|
555
|
+
member="user:jane@example.com",
|
556
|
+
condition=gcp.compute.SubnetworkIAMMemberConditionArgs(
|
557
|
+
title="expires_after_2019_12_31",
|
558
|
+
description="Expiring at midnight of 2019-12-31",
|
559
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
560
|
+
))
|
561
|
+
```
|
562
|
+
<!--End PulumiCodeChooser -->
|
563
|
+
|
449
564
|
## Import
|
450
565
|
|
451
566
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -488,10 +603,7 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
488
603
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
489
604
|
:param pulumi.Input[pulumi.InputType['SubnetworkIAMBindingConditionArgs']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
490
605
|
Structure is documented below.
|
491
|
-
:param pulumi.Input[str]
|
492
|
-
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.
|
493
|
-
|
494
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
606
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
495
607
|
Each entry can have one of the following values:
|
496
608
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
497
609
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -502,6 +614,8 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
502
614
|
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
503
615
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
504
616
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
617
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
618
|
+
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.
|
505
619
|
:param pulumi.Input[str] region: The GCP region for this subnetwork.
|
506
620
|
Used to find the parent resource to bind the IAM policy to. If not specified,
|
507
621
|
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
@@ -649,6 +763,121 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
649
763
|
```
|
650
764
|
<!--End PulumiCodeChooser -->
|
651
765
|
|
766
|
+
## google\\_compute\\_subnetwork\\_iam\\_policy
|
767
|
+
|
768
|
+
<!--Start PulumiCodeChooser -->
|
769
|
+
```python
|
770
|
+
import pulumi
|
771
|
+
import pulumi_gcp as gcp
|
772
|
+
|
773
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
774
|
+
role="roles/compute.networkUser",
|
775
|
+
members=["user:jane@example.com"],
|
776
|
+
)])
|
777
|
+
policy = gcp.compute.SubnetworkIAMPolicy("policy",
|
778
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
779
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
780
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
781
|
+
policy_data=admin.policy_data)
|
782
|
+
```
|
783
|
+
<!--End PulumiCodeChooser -->
|
784
|
+
|
785
|
+
With IAM Conditions:
|
786
|
+
|
787
|
+
<!--Start PulumiCodeChooser -->
|
788
|
+
```python
|
789
|
+
import pulumi
|
790
|
+
import pulumi_gcp as gcp
|
791
|
+
|
792
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
793
|
+
role="roles/compute.networkUser",
|
794
|
+
members=["user:jane@example.com"],
|
795
|
+
condition=gcp.organizations.GetIAMPolicyBindingConditionArgs(
|
796
|
+
title="expires_after_2019_12_31",
|
797
|
+
description="Expiring at midnight of 2019-12-31",
|
798
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
799
|
+
),
|
800
|
+
)])
|
801
|
+
policy = gcp.compute.SubnetworkIAMPolicy("policy",
|
802
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
803
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
804
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
805
|
+
policy_data=admin.policy_data)
|
806
|
+
```
|
807
|
+
<!--End PulumiCodeChooser -->
|
808
|
+
## google\\_compute\\_subnetwork\\_iam\\_binding
|
809
|
+
|
810
|
+
<!--Start PulumiCodeChooser -->
|
811
|
+
```python
|
812
|
+
import pulumi
|
813
|
+
import pulumi_gcp as gcp
|
814
|
+
|
815
|
+
binding = gcp.compute.SubnetworkIAMBinding("binding",
|
816
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
817
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
818
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
819
|
+
role="roles/compute.networkUser",
|
820
|
+
members=["user:jane@example.com"])
|
821
|
+
```
|
822
|
+
<!--End PulumiCodeChooser -->
|
823
|
+
|
824
|
+
With IAM Conditions:
|
825
|
+
|
826
|
+
<!--Start PulumiCodeChooser -->
|
827
|
+
```python
|
828
|
+
import pulumi
|
829
|
+
import pulumi_gcp as gcp
|
830
|
+
|
831
|
+
binding = gcp.compute.SubnetworkIAMBinding("binding",
|
832
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
833
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
834
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
835
|
+
role="roles/compute.networkUser",
|
836
|
+
members=["user:jane@example.com"],
|
837
|
+
condition=gcp.compute.SubnetworkIAMBindingConditionArgs(
|
838
|
+
title="expires_after_2019_12_31",
|
839
|
+
description="Expiring at midnight of 2019-12-31",
|
840
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
841
|
+
))
|
842
|
+
```
|
843
|
+
<!--End PulumiCodeChooser -->
|
844
|
+
## google\\_compute\\_subnetwork\\_iam\\_member
|
845
|
+
|
846
|
+
<!--Start PulumiCodeChooser -->
|
847
|
+
```python
|
848
|
+
import pulumi
|
849
|
+
import pulumi_gcp as gcp
|
850
|
+
|
851
|
+
member = gcp.compute.SubnetworkIAMMember("member",
|
852
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
853
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
854
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
855
|
+
role="roles/compute.networkUser",
|
856
|
+
member="user:jane@example.com")
|
857
|
+
```
|
858
|
+
<!--End PulumiCodeChooser -->
|
859
|
+
|
860
|
+
With IAM Conditions:
|
861
|
+
|
862
|
+
<!--Start PulumiCodeChooser -->
|
863
|
+
```python
|
864
|
+
import pulumi
|
865
|
+
import pulumi_gcp as gcp
|
866
|
+
|
867
|
+
member = gcp.compute.SubnetworkIAMMember("member",
|
868
|
+
project=network_with_private_secondary_ip_ranges["project"],
|
869
|
+
region=network_with_private_secondary_ip_ranges["region"],
|
870
|
+
subnetwork=network_with_private_secondary_ip_ranges["name"],
|
871
|
+
role="roles/compute.networkUser",
|
872
|
+
member="user:jane@example.com",
|
873
|
+
condition=gcp.compute.SubnetworkIAMMemberConditionArgs(
|
874
|
+
title="expires_after_2019_12_31",
|
875
|
+
description="Expiring at midnight of 2019-12-31",
|
876
|
+
expression="request.time < timestamp(\\"2020-01-01T00:00:00Z\\")",
|
877
|
+
))
|
878
|
+
```
|
879
|
+
<!--End PulumiCodeChooser -->
|
880
|
+
|
652
881
|
## Import
|
653
882
|
|
654
883
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -757,10 +986,7 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
757
986
|
:param pulumi.Input[pulumi.InputType['SubnetworkIAMBindingConditionArgs']] condition: An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
|
758
987
|
Structure is documented below.
|
759
988
|
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
760
|
-
:param pulumi.Input[str]
|
761
|
-
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.
|
762
|
-
|
763
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
989
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: Identities that will be granted the privilege in `role`.
|
764
990
|
Each entry can have one of the following values:
|
765
991
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
766
992
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -771,6 +997,8 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
771
997
|
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
772
998
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
773
999
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
1000
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
1001
|
+
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.
|
774
1002
|
:param pulumi.Input[str] region: The GCP region for this subnetwork.
|
775
1003
|
Used to find the parent resource to bind the IAM policy to. If not specified,
|
776
1004
|
the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
|
@@ -813,16 +1041,8 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
813
1041
|
@property
|
814
1042
|
@pulumi.getter
|
815
1043
|
def members(self) -> pulumi.Output[Sequence[str]]:
|
816
|
-
return pulumi.get(self, "members")
|
817
|
-
|
818
|
-
@property
|
819
|
-
@pulumi.getter
|
820
|
-
def project(self) -> pulumi.Output[str]:
|
821
1044
|
"""
|
822
|
-
|
823
|
-
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.
|
824
|
-
|
825
|
-
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
1045
|
+
Identities that will be granted the privilege in `role`.
|
826
1046
|
Each entry can have one of the following values:
|
827
1047
|
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
828
1048
|
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
@@ -834,6 +1054,15 @@ class SubnetworkIAMBinding(pulumi.CustomResource):
|
|
834
1054
|
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
835
1055
|
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
836
1056
|
"""
|
1057
|
+
return pulumi.get(self, "members")
|
1058
|
+
|
1059
|
+
@property
|
1060
|
+
@pulumi.getter
|
1061
|
+
def project(self) -> pulumi.Output[str]:
|
1062
|
+
"""
|
1063
|
+
The ID of the project in which the resource belongs.
|
1064
|
+
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.
|
1065
|
+
"""
|
837
1066
|
return pulumi.get(self, "project")
|
838
1067
|
|
839
1068
|
@property
|