pulumi-gcp 7.0.0rc0__py3-none-any.whl → 7.1.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +118 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +546 -71
- pulumi_gcp/accesscontextmanager/access_level.py +18 -2
- pulumi_gcp/accesscontextmanager/access_level_condition.py +57 -3
- pulumi_gcp/accesscontextmanager/access_levels.py +18 -2
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +18 -2
- pulumi_gcp/accesscontextmanager/egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +18 -2
- pulumi_gcp/accesscontextmanager/ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/outputs.py +643 -71
- pulumi_gcp/accesscontextmanager/service_perimeter.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeters.py +18 -2
- pulumi_gcp/activedirectory/domain.py +22 -10
- pulumi_gcp/activedirectory/domain_trust.py +18 -2
- pulumi_gcp/activedirectory/peering.py +4 -8
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/_inputs.py +93 -0
- pulumi_gcp/alloydb/backup.py +22 -10
- pulumi_gcp/alloydb/cluster.py +283 -11
- pulumi_gcp/alloydb/instance.py +241 -40
- pulumi_gcp/alloydb/outputs.py +130 -0
- pulumi_gcp/alloydb/user.py +609 -0
- pulumi_gcp/apigateway/api.py +22 -10
- pulumi_gcp/apigateway/api_config.py +22 -10
- pulumi_gcp/apigateway/gateway.py +22 -10
- pulumi_gcp/apigee/addons_config.py +18 -2
- pulumi_gcp/apigee/endpoint_attachment.py +18 -2
- pulumi_gcp/apigee/env_group.py +18 -2
- pulumi_gcp/apigee/env_group_attachment.py +18 -2
- pulumi_gcp/apigee/env_keystore.py +18 -2
- pulumi_gcp/apigee/env_references.py +18 -2
- pulumi_gcp/apigee/environment.py +96 -5
- pulumi_gcp/apigee/flowhook.py +18 -2
- pulumi_gcp/apigee/instance.py +18 -2
- pulumi_gcp/apigee/instance_attachment.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_pkcs12.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +18 -2
- pulumi_gcp/apigee/nat_address.py +18 -2
- pulumi_gcp/apigee/organization.py +18 -2
- pulumi_gcp/apigee/sharedflow.py +18 -2
- pulumi_gcp/apigee/sharedflow_deployment.py +18 -2
- pulumi_gcp/apigee/sync_authorization.py +18 -2
- pulumi_gcp/apigee/target_server.py +18 -2
- pulumi_gcp/appengine/application.py +20 -4
- pulumi_gcp/appengine/application_url_dispatch_rules.py +18 -2
- pulumi_gcp/appengine/domain_mapping.py +18 -2
- pulumi_gcp/appengine/engine_split_traffic.py +18 -2
- pulumi_gcp/appengine/firewall_rule.py +18 -2
- pulumi_gcp/appengine/flexible_app_version.py +18 -2
- pulumi_gcp/appengine/service_network_settings.py +18 -2
- pulumi_gcp/appengine/standard_app_version.py +18 -2
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/outputs.py +4 -4
- pulumi_gcp/artifactregistry/repository.py +24 -12
- pulumi_gcp/artifactregistry/vpcsc_config.py +18 -2
- pulumi_gcp/assuredworkloads/_inputs.py +178 -4
- pulumi_gcp/assuredworkloads/outputs.py +217 -5
- pulumi_gcp/assuredworkloads/workload.py +474 -63
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +152 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +18 -2
- pulumi_gcp/backupdisasterrecovery/outputs.py +40 -0
- pulumi_gcp/beyondcorp/app_connection.py +22 -10
- pulumi_gcp/beyondcorp/app_connector.py +22 -10
- pulumi_gcp/beyondcorp/app_gateway.py +22 -10
- pulumi_gcp/biglake/catalog.py +18 -2
- pulumi_gcp/biglake/database.py +18 -2
- pulumi_gcp/biglake/table.py +18 -2
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/_inputs.py +94 -8
- pulumi_gcp/bigquery/app_profile.py +18 -2
- pulumi_gcp/bigquery/bi_reservation.py +18 -2
- pulumi_gcp/bigquery/capacity_commitment.py +25 -9
- pulumi_gcp/bigquery/connection.py +56 -2
- pulumi_gcp/bigquery/data_transfer_config.py +18 -2
- pulumi_gcp/bigquery/dataset.py +22 -10
- pulumi_gcp/bigquery/dataset_iam_binding.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_member.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_policy.py +10 -38
- pulumi_gcp/bigquery/get_dataset.py +315 -0
- pulumi_gcp/bigquery/job.py +26 -10
- pulumi_gcp/bigquery/outputs.py +275 -9
- pulumi_gcp/bigquery/reservation.py +18 -2
- pulumi_gcp/bigquery/reservation_assignment.py +18 -2
- pulumi_gcp/bigquery/routine.py +18 -2
- pulumi_gcp/bigquery/table.py +171 -17
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +18 -2
- pulumi_gcp/bigqueryanalyticshub/listing.py +18 -2
- pulumi_gcp/bigquerydatapolicy/data_policy.py +18 -2
- pulumi_gcp/bigtable/instance.py +30 -10
- pulumi_gcp/bigtable/instance_iam_binding.py +12 -20
- pulumi_gcp/bigtable/instance_iam_member.py +12 -20
- pulumi_gcp/bigtable/instance_iam_policy.py +12 -20
- pulumi_gcp/bigtable/table.py +18 -6
- pulumi_gcp/bigtable/table_iam_binding.py +12 -20
- pulumi_gcp/bigtable/table_iam_member.py +12 -20
- pulumi_gcp/bigtable/table_iam_policy.py +12 -20
- pulumi_gcp/billing/account_iam_binding.py +12 -20
- pulumi_gcp/billing/account_iam_member.py +12 -20
- pulumi_gcp/billing/account_iam_policy.py +12 -20
- pulumi_gcp/billing/budget.py +18 -2
- pulumi_gcp/billing/project_info.py +18 -2
- pulumi_gcp/billing/sub_account.py +18 -2
- pulumi_gcp/binaryauthorization/attestor.py +18 -2
- pulumi_gcp/binaryauthorization/policy.py +18 -2
- pulumi_gcp/certificateauthority/authority.py +22 -10
- pulumi_gcp/certificateauthority/ca_pool.py +22 -10
- pulumi_gcp/certificateauthority/certificate.py +22 -10
- pulumi_gcp/certificateauthority/certificate_template.py +22 -10
- pulumi_gcp/certificatemanager/certificate.py +223 -31
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map_entry.py +22 -10
- pulumi_gcp/certificatemanager/dns_authorization.py +22 -10
- pulumi_gcp/certificatemanager/trust_config.py +22 -10
- pulumi_gcp/cloudasset/folder_feed.py +18 -2
- pulumi_gcp/cloudasset/organization_feed.py +18 -2
- pulumi_gcp/cloudasset/project_feed.py +18 -2
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +18 -2
- pulumi_gcp/cloudbuild/trigger.py +18 -2
- pulumi_gcp/cloudbuild/worker_pool.py +18 -2
- pulumi_gcp/cloudbuildv2/connection.py +18 -2
- pulumi_gcp/cloudbuildv2/repository.py +18 -2
- pulumi_gcp/clouddeploy/delivery_pipeline.py +22 -10
- pulumi_gcp/clouddeploy/target.py +22 -10
- pulumi_gcp/cloudfunctions/function.py +26 -14
- pulumi_gcp/cloudfunctions/get_function.py +3 -0
- pulumi_gcp/cloudfunctionsv2/function.py +22 -10
- pulumi_gcp/cloudidentity/__init__.py +1 -0
- pulumi_gcp/cloudidentity/_inputs.py +119 -0
- pulumi_gcp/cloudidentity/get_group_lookup.py +128 -0
- pulumi_gcp/cloudidentity/group.py +50 -2
- pulumi_gcp/cloudidentity/group_membership.py +18 -2
- pulumi_gcp/cloudidentity/outputs.py +156 -0
- pulumi_gcp/cloudids/endpoint.py +18 -2
- pulumi_gcp/cloudrun/_inputs.py +12 -0
- pulumi_gcp/cloudrun/domain_mapping.py +18 -2
- pulumi_gcp/cloudrun/outputs.py +12 -0
- pulumi_gcp/cloudrun/service.py +18 -2
- pulumi_gcp/cloudrunv2/__init__.py +2 -0
- pulumi_gcp/cloudrunv2/get_job.py +394 -0
- pulumi_gcp/cloudrunv2/get_service.py +454 -0
- pulumi_gcp/cloudrunv2/job.py +40 -27
- pulumi_gcp/cloudrunv2/outputs.py +1687 -0
- pulumi_gcp/cloudrunv2/service.py +40 -27
- pulumi_gcp/cloudscheduler/job.py +18 -2
- pulumi_gcp/cloudtasks/queue.py +18 -2
- pulumi_gcp/composer/_inputs.py +17 -0
- pulumi_gcp/composer/environment.py +68 -5
- pulumi_gcp/composer/get_environment.py +13 -3
- pulumi_gcp/composer/outputs.py +26 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +158 -4
- pulumi_gcp/compute/address.py +38 -18
- pulumi_gcp/compute/attached_disk.py +18 -2
- pulumi_gcp/compute/autoscaler.py +18 -2
- pulumi_gcp/compute/backend_bucket.py +18 -2
- pulumi_gcp/compute/backend_service.py +32 -16
- pulumi_gcp/compute/disk.py +22 -10
- pulumi_gcp/compute/disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/external_vpn_gateway.py +22 -10
- pulumi_gcp/compute/firewall.py +18 -2
- pulumi_gcp/compute/firewall_policy_association.py +18 -2
- pulumi_gcp/compute/firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/forwarding_rule.py +377 -276
- pulumi_gcp/compute/get_disk.py +3 -0
- pulumi_gcp/compute/get_forwarding_rule.py +11 -1
- pulumi_gcp/compute/get_image.py +3 -0
- pulumi_gcp/compute/get_network.py +14 -1
- pulumi_gcp/compute/get_networks.py +130 -0
- pulumi_gcp/compute/get_subnetwork.py +14 -1
- pulumi_gcp/compute/global_address.py +18 -2
- pulumi_gcp/compute/global_forwarding_rule.py +127 -108
- pulumi_gcp/compute/global_network_endpoint.py +18 -2
- pulumi_gcp/compute/global_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +18 -2
- pulumi_gcp/compute/health_check.py +18 -2
- pulumi_gcp/compute/http_health_check.py +18 -2
- pulumi_gcp/compute/https_health_check.py +18 -2
- pulumi_gcp/compute/image.py +22 -10
- pulumi_gcp/compute/instance.py +44 -36
- pulumi_gcp/compute/instance_group.py +24 -8
- pulumi_gcp/compute/instance_group_manager.py +26 -10
- pulumi_gcp/compute/instance_group_named_port.py +18 -2
- pulumi_gcp/compute/instance_settings.py +387 -0
- pulumi_gcp/compute/instance_template.py +29 -21
- pulumi_gcp/compute/interconnect_attachment.py +18 -2
- pulumi_gcp/compute/machine_image.py +18 -2
- pulumi_gcp/compute/managed_ssl_certificate.py +18 -2
- pulumi_gcp/compute/manged_ssl_certificate.py +18 -2
- pulumi_gcp/compute/network.py +18 -2
- pulumi_gcp/compute/network_attachment.py +156 -2
- pulumi_gcp/compute/network_edge_security_service.py +18 -2
- pulumi_gcp/compute/network_endpoint.py +18 -2
- pulumi_gcp/compute/network_endpoint_group.py +32 -16
- pulumi_gcp/compute/network_endpoint_list.py +18 -2
- pulumi_gcp/compute/network_firewall_policy.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/network_peering.py +20 -4
- pulumi_gcp/compute/network_peering_routes_config.py +18 -2
- pulumi_gcp/compute/node_group.py +129 -2
- pulumi_gcp/compute/node_template.py +18 -2
- pulumi_gcp/compute/organization_security_policy.py +18 -2
- pulumi_gcp/compute/organization_security_policy_association.py +18 -2
- pulumi_gcp/compute/organization_security_policy_rule.py +18 -2
- pulumi_gcp/compute/outputs.py +230 -7
- pulumi_gcp/compute/packet_mirroring.py +18 -2
- pulumi_gcp/compute/per_instance_config.py +18 -2
- pulumi_gcp/compute/project_default_network_tier.py +20 -4
- pulumi_gcp/compute/project_metadata.py +20 -4
- pulumi_gcp/compute/project_metadata_item.py +20 -4
- pulumi_gcp/compute/public_advertised_prefix.py +18 -2
- pulumi_gcp/compute/public_delegated_prefix.py +18 -2
- pulumi_gcp/compute/region_autoscaler.py +18 -2
- pulumi_gcp/compute/region_backend_service.py +18 -2
- pulumi_gcp/compute/region_commitment.py +18 -2
- pulumi_gcp/compute/region_disk.py +22 -10
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/region_health_check.py +18 -2
- pulumi_gcp/compute/region_instance_group_manager.py +20 -4
- pulumi_gcp/compute/region_instance_template.py +29 -21
- pulumi_gcp/compute/region_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/region_per_instance_config.py +18 -2
- pulumi_gcp/compute/region_security_policy.py +18 -2
- pulumi_gcp/compute/region_security_policy_rule.py +18 -2
- pulumi_gcp/compute/region_ssl_certificate.py +18 -2
- pulumi_gcp/compute/region_ssl_policy.py +18 -2
- pulumi_gcp/compute/region_target_http_proxy.py +18 -2
- pulumi_gcp/compute/region_target_https_proxy.py +18 -2
- pulumi_gcp/compute/region_target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/region_url_map.py +18 -2
- pulumi_gcp/compute/reservation.py +18 -2
- pulumi_gcp/compute/resource_policy.py +18 -2
- pulumi_gcp/compute/route.py +18 -2
- pulumi_gcp/compute/router.py +18 -2
- pulumi_gcp/compute/router_interface.py +22 -6
- pulumi_gcp/compute/router_nat.py +18 -2
- pulumi_gcp/compute/router_peer.py +18 -2
- pulumi_gcp/compute/security_policy.py +52 -4
- pulumi_gcp/compute/security_scan_config.py +18 -2
- pulumi_gcp/compute/service_attachment.py +18 -2
- pulumi_gcp/compute/shared_vpc_host_project.py +20 -4
- pulumi_gcp/compute/shared_vpc_service_project.py +20 -4
- pulumi_gcp/compute/snapshot.py +22 -10
- pulumi_gcp/compute/ssl_certificate.py +18 -2
- pulumi_gcp/compute/ssl_policy.py +18 -2
- pulumi_gcp/compute/subnetwork.py +109 -2
- pulumi_gcp/compute/target_grpc_proxy.py +18 -2
- pulumi_gcp/compute/target_http_proxy.py +18 -2
- pulumi_gcp/compute/target_https_proxy.py +181 -16
- pulumi_gcp/compute/target_instance.py +18 -2
- pulumi_gcp/compute/target_pool.py +18 -2
- pulumi_gcp/compute/target_ssl_proxy.py +18 -2
- pulumi_gcp/compute/target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/url_map.py +18 -2
- pulumi_gcp/compute/vpn_gateway.py +18 -2
- pulumi_gcp/compute/vpn_tunnel.py +18 -2
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +299 -54
- pulumi_gcp/container/attached_cluster.py +18 -2
- pulumi_gcp/container/aws_cluster.py +24 -2
- pulumi_gcp/container/aws_node_pool.py +18 -2
- pulumi_gcp/container/azure_client.py +18 -2
- pulumi_gcp/container/azure_cluster.py +24 -2
- pulumi_gcp/container/azure_node_pool.py +18 -2
- pulumi_gcp/container/cluster.py +92 -29
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/node_pool.py +22 -6
- pulumi_gcp/container/outputs.py +384 -52
- pulumi_gcp/containeranalysis/note.py +18 -2
- pulumi_gcp/containeranalysis/occurence.py +18 -2
- pulumi_gcp/databasemigrationservice/__init__.py +1 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +465 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +122 -12
- pulumi_gcp/databasemigrationservice/outputs.py +466 -0
- pulumi_gcp/databasemigrationservice/private_connection.py +672 -0
- pulumi_gcp/datacatalog/entry.py +18 -2
- pulumi_gcp/datacatalog/entry_group.py +18 -2
- pulumi_gcp/datacatalog/policy_tag.py +18 -2
- pulumi_gcp/datacatalog/tag.py +18 -2
- pulumi_gcp/datacatalog/tag_template.py +18 -2
- pulumi_gcp/datacatalog/taxonomy.py +18 -2
- pulumi_gcp/dataflow/job.py +24 -12
- pulumi_gcp/dataflow/pipeline.py +18 -2
- pulumi_gcp/dataform/_inputs.py +78 -21
- pulumi_gcp/dataform/outputs.py +86 -20
- pulumi_gcp/dataform/repository.py +140 -9
- pulumi_gcp/dataform/repository_release_config.py +18 -2
- pulumi_gcp/dataform/repository_workflow_config.py +20 -4
- pulumi_gcp/datafusion/instance.py +22 -10
- pulumi_gcp/dataloss/prevention_deidentify_template.py +18 -2
- pulumi_gcp/dataloss/prevention_inspect_template.py +18 -2
- pulumi_gcp/dataloss/prevention_job_trigger.py +18 -2
- pulumi_gcp/dataloss/prevention_stored_info_type.py +18 -2
- pulumi_gcp/dataplex/asset.py +22 -10
- pulumi_gcp/dataplex/datascan.py +22 -10
- pulumi_gcp/dataplex/lake.py +22 -10
- pulumi_gcp/dataplex/task.py +22 -10
- pulumi_gcp/dataplex/zone.py +22 -10
- pulumi_gcp/dataproc/_inputs.py +148 -0
- pulumi_gcp/dataproc/autoscaling_policy.py +18 -2
- pulumi_gcp/dataproc/cluster.py +2 -2
- pulumi_gcp/dataproc/cluster_iam_binding.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_member.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_policy.py +12 -20
- pulumi_gcp/dataproc/job.py +20 -8
- pulumi_gcp/dataproc/job_iam_binding.py +12 -20
- pulumi_gcp/dataproc/job_iam_member.py +12 -20
- pulumi_gcp/dataproc/job_iam_policy.py +12 -20
- pulumi_gcp/dataproc/metastore_federation.py +22 -10
- pulumi_gcp/dataproc/metastore_service.py +22 -10
- pulumi_gcp/dataproc/outputs.py +175 -0
- pulumi_gcp/dataproc/workflow_template.py +18 -2
- pulumi_gcp/datastore/data_store_index.py +18 -2
- pulumi_gcp/datastream/connection_profile.py +22 -10
- pulumi_gcp/datastream/private_connection.py +22 -10
- pulumi_gcp/datastream/stream.py +22 -10
- pulumi_gcp/deploymentmanager/deployment.py +18 -2
- pulumi_gcp/diagflow/_inputs.py +626 -4
- pulumi_gcp/diagflow/agent.py +18 -2
- pulumi_gcp/diagflow/cx_agent.py +288 -21
- pulumi_gcp/diagflow/cx_entity_type.py +18 -2
- pulumi_gcp/diagflow/cx_environment.py +18 -2
- pulumi_gcp/diagflow/cx_flow.py +309 -4
- pulumi_gcp/diagflow/cx_intent.py +165 -10
- pulumi_gcp/diagflow/cx_page.py +109 -4
- pulumi_gcp/diagflow/cx_security_settings.py +18 -2
- pulumi_gcp/diagflow/cx_test_case.py +18 -2
- pulumi_gcp/diagflow/cx_version.py +18 -2
- pulumi_gcp/diagflow/cx_webhook.py +18 -2
- pulumi_gcp/diagflow/entity_type.py +18 -2
- pulumi_gcp/diagflow/fulfillment.py +18 -2
- pulumi_gcp/diagflow/intent.py +18 -2
- pulumi_gcp/diagflow/outputs.py +722 -5
- pulumi_gcp/dns/get_keys.py +16 -2
- pulumi_gcp/dns/managed_zone.py +22 -10
- pulumi_gcp/dns/policy.py +18 -2
- pulumi_gcp/dns/record_set.py +24 -8
- pulumi_gcp/dns/response_policy.py +18 -2
- pulumi_gcp/dns/response_policy_rule.py +18 -2
- pulumi_gcp/edgecontainer/__init__.py +12 -0
- pulumi_gcp/edgecontainer/_inputs.py +1171 -0
- pulumi_gcp/edgecontainer/cluster.py +1539 -0
- pulumi_gcp/edgecontainer/node_pool.py +1062 -0
- pulumi_gcp/edgecontainer/outputs.py +1204 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +918 -0
- pulumi_gcp/edgenetwork/network.py +18 -2
- pulumi_gcp/edgenetwork/subnet.py +18 -2
- pulumi_gcp/essentialcontacts/contact.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +18 -2
- pulumi_gcp/eventarc/channel.py +18 -2
- pulumi_gcp/eventarc/google_channel_config.py +18 -2
- pulumi_gcp/eventarc/trigger.py +22 -10
- pulumi_gcp/filestore/backup.py +22 -10
- pulumi_gcp/filestore/instance.py +22 -10
- pulumi_gcp/filestore/snapshot.py +22 -10
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +878 -0
- pulumi_gcp/firebase/android_app.py +18 -2
- pulumi_gcp/firebase/apple_app.py +18 -2
- pulumi_gcp/firebase/database_instance.py +18 -2
- pulumi_gcp/firebase/extensions_instance.py +18 -2
- pulumi_gcp/firebase/hosting_channel.py +22 -10
- pulumi_gcp/firebase/hosting_custom_domain.py +1274 -0
- pulumi_gcp/firebase/hosting_release.py +18 -2
- pulumi_gcp/firebase/hosting_site.py +18 -2
- pulumi_gcp/firebase/hosting_version.py +18 -2
- pulumi_gcp/firebase/outputs.py +905 -0
- pulumi_gcp/firebase/project.py +18 -2
- pulumi_gcp/firebase/storage_bucket.py +18 -2
- pulumi_gcp/firebase/web_app.py +18 -2
- pulumi_gcp/firebaserules/release.py +18 -2
- pulumi_gcp/firebaserules/ruleset.py +18 -2
- pulumi_gcp/firestore/__init__.py +1 -0
- pulumi_gcp/firestore/_inputs.py +35 -2
- pulumi_gcp/firestore/backup_schedule.py +547 -0
- pulumi_gcp/firestore/database.py +24 -4
- pulumi_gcp/firestore/document.py +22 -2
- pulumi_gcp/firestore/field.py +27 -13
- pulumi_gcp/firestore/index.py +140 -21
- pulumi_gcp/firestore/outputs.py +31 -2
- pulumi_gcp/folder/access_approval_settings.py +18 -2
- pulumi_gcp/folder/iam_audit_config.py +10 -58
- pulumi_gcp/folder/iam_member.py +10 -58
- pulumi_gcp/folder/iam_policy.py +10 -58
- pulumi_gcp/folder/organization_policy.py +22 -6
- pulumi_gcp/gkebackup/backup_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +18 -2
- pulumi_gcp/gkehub/__init__.py +1 -0
- pulumi_gcp/gkehub/_inputs.py +431 -0
- pulumi_gcp/gkehub/feature.py +76 -10
- pulumi_gcp/gkehub/feature_membership.py +22 -2
- pulumi_gcp/gkehub/fleet.py +432 -0
- pulumi_gcp/gkehub/get_membership_iam_policy.py +24 -3
- pulumi_gcp/gkehub/membership.py +120 -16
- pulumi_gcp/gkehub/membership_binding.py +22 -10
- pulumi_gcp/gkehub/membership_iam_binding.py +67 -0
- pulumi_gcp/gkehub/membership_iam_member.py +67 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +67 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +18 -2
- pulumi_gcp/gkehub/namespace.py +22 -10
- pulumi_gcp/gkehub/outputs.py +432 -1
- pulumi_gcp/gkehub/scope.py +22 -10
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +22 -10
- pulumi_gcp/gkeonprem/_inputs.py +17 -31
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +148 -132
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +260 -246
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +30 -18
- pulumi_gcp/gkeonprem/outputs.py +17 -31
- pulumi_gcp/gkeonprem/v_mware_cluster.py +287 -230
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +30 -18
- pulumi_gcp/healthcare/consent_store.py +22 -10
- pulumi_gcp/healthcare/dataset.py +18 -2
- pulumi_gcp/healthcare/dataset_iam_binding.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_member.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_policy.py +10 -38
- pulumi_gcp/healthcare/dicom_store.py +22 -10
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/fhir_store.py +22 -10
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/hl7_store.py +22 -10
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +10 -30
- pulumi_gcp/iam/_inputs.py +20 -0
- pulumi_gcp/iam/access_boundary_policy.py +18 -2
- pulumi_gcp/iam/deny_policy.py +18 -2
- pulumi_gcp/iam/outputs.py +20 -0
- pulumi_gcp/iam/workforce_pool.py +18 -2
- pulumi_gcp/iam/workforce_pool_provider.py +18 -2
- pulumi_gcp/iam/workload_identity_pool.py +18 -2
- pulumi_gcp/iam/workload_identity_pool_provider.py +18 -2
- pulumi_gcp/iap/brand.py +18 -2
- pulumi_gcp/iap/client.py +18 -2
- pulumi_gcp/identityplatform/_inputs.py +92 -0
- pulumi_gcp/identityplatform/config.py +91 -5
- pulumi_gcp/identityplatform/default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/oauth_idp_config.py +18 -2
- pulumi_gcp/identityplatform/outputs.py +129 -0
- pulumi_gcp/identityplatform/project_default_config.py +18 -2
- pulumi_gcp/identityplatform/tenant.py +18 -2
- pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +18 -2
- pulumi_gcp/integrationconnectors/__init__.py +10 -0
- pulumi_gcp/integrationconnectors/_inputs.py +2518 -0
- pulumi_gcp/integrationconnectors/connection.py +1921 -0
- pulumi_gcp/integrationconnectors/outputs.py +2780 -0
- pulumi_gcp/kms/crypto_key.py +22 -10
- pulumi_gcp/kms/crypto_key_iam_binding.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_member.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_policy.py +10 -30
- pulumi_gcp/kms/crypto_key_version.py +18 -2
- pulumi_gcp/kms/key_ring.py +18 -2
- pulumi_gcp/kms/key_ring_iam_binding.py +10 -30
- pulumi_gcp/kms/key_ring_iam_member.py +10 -30
- pulumi_gcp/kms/key_ring_iam_policy.py +10 -30
- pulumi_gcp/kms/key_ring_import_job.py +18 -2
- pulumi_gcp/logging/_inputs.py +160 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +61 -26
- pulumi_gcp/logging/billing_account_exclusion.py +20 -4
- pulumi_gcp/logging/billing_account_sink.py +20 -4
- pulumi_gcp/logging/folder_bucket_config.py +75 -4
- pulumi_gcp/logging/folder_exclusion.py +20 -4
- pulumi_gcp/logging/folder_sink.py +20 -4
- pulumi_gcp/logging/linked_dataset.py +18 -2
- pulumi_gcp/logging/log_view.py +18 -2
- pulumi_gcp/logging/metric.py +18 -2
- pulumi_gcp/logging/organization_bucket_config.py +75 -4
- pulumi_gcp/logging/organization_exclusion.py +20 -4
- pulumi_gcp/logging/organization_sink.py +20 -4
- pulumi_gcp/logging/outputs.py +196 -0
- pulumi_gcp/logging/project_bucket_config.py +59 -134
- pulumi_gcp/logging/project_exclusion.py +20 -4
- pulumi_gcp/logging/project_sink.py +95 -18
- pulumi_gcp/looker/instance.py +18 -2
- pulumi_gcp/memcache/instance.py +22 -10
- pulumi_gcp/ml/engine_model.py +22 -10
- pulumi_gcp/monitoring/_inputs.py +127 -13
- pulumi_gcp/monitoring/alert_policy.py +64 -2
- pulumi_gcp/monitoring/custom_service.py +18 -2
- pulumi_gcp/monitoring/dashboard.py +18 -2
- pulumi_gcp/monitoring/generic_service.py +18 -2
- pulumi_gcp/monitoring/group.py +18 -2
- pulumi_gcp/monitoring/metric_descriptor.py +18 -2
- pulumi_gcp/monitoring/monitored_project.py +18 -2
- pulumi_gcp/monitoring/notification_channel.py +18 -2
- pulumi_gcp/monitoring/outputs.py +158 -13
- pulumi_gcp/monitoring/slo.py +18 -2
- pulumi_gcp/monitoring/uptime_check_config.py +92 -9
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +185 -0
- pulumi_gcp/networkconnectivity/hub.py +22 -10
- pulumi_gcp/networkconnectivity/outputs.py +189 -0
- pulumi_gcp/networkconnectivity/policy_based_route.py +1003 -0
- pulumi_gcp/networkconnectivity/service_connection_policy.py +22 -10
- pulumi_gcp/networkconnectivity/spoke.py +22 -10
- pulumi_gcp/networkmanagement/connectivity_test.py +22 -10
- pulumi_gcp/networksecurity/address_group.py +22 -10
- pulumi_gcp/networksecurity/authorization_policy.py +22 -10
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -10
- pulumi_gcp/networksecurity/gateway_security_policy.py +18 -2
- pulumi_gcp/networksecurity/gateway_security_policy_rule.py +18 -2
- pulumi_gcp/networksecurity/server_tls_policy.py +92 -10
- pulumi_gcp/networksecurity/tls_inspection_policy.py +18 -2
- pulumi_gcp/networksecurity/url_list.py +18 -2
- pulumi_gcp/networkservices/edge_cache_keyset.py +22 -10
- pulumi_gcp/networkservices/edge_cache_origin.py +22 -10
- pulumi_gcp/networkservices/edge_cache_service.py +22 -10
- pulumi_gcp/networkservices/endpoint_policy.py +22 -10
- pulumi_gcp/networkservices/gateway.py +22 -10
- pulumi_gcp/networkservices/grpc_route.py +22 -10
- pulumi_gcp/networkservices/http_route.py +22 -10
- pulumi_gcp/networkservices/mesh.py +22 -10
- pulumi_gcp/networkservices/service_binding.py +22 -10
- pulumi_gcp/networkservices/tcp_route.py +22 -10
- pulumi_gcp/networkservices/tls_route.py +18 -2
- pulumi_gcp/notebooks/environment.py +18 -2
- pulumi_gcp/notebooks/instance.py +22 -10
- pulumi_gcp/notebooks/location.py +18 -2
- pulumi_gcp/notebooks/runtime.py +18 -2
- pulumi_gcp/organizations/access_approval_settings.py +18 -2
- pulumi_gcp/organizations/folder.py +22 -6
- pulumi_gcp/organizations/iam_member.py +10 -58
- pulumi_gcp/organizations/iam_policy.py +10 -58
- pulumi_gcp/organizations/policy.py +22 -4
- pulumi_gcp/organizations/project.py +24 -12
- pulumi_gcp/orgpolicy/custom_constraint.py +50 -22
- pulumi_gcp/orgpolicy/policy.py +18 -2
- pulumi_gcp/osconfig/guest_policies.py +18 -2
- pulumi_gcp/osconfig/os_policy_assignment.py +18 -2
- pulumi_gcp/osconfig/patch_deployment.py +18 -2
- pulumi_gcp/oslogin/ssh_public_key.py +18 -2
- pulumi_gcp/projects/access_approval_settings.py +18 -2
- pulumi_gcp/projects/api_key.py +18 -2
- pulumi_gcp/projects/iam_audit_config.py +10 -58
- pulumi_gcp/projects/iam_binding.py +10 -58
- pulumi_gcp/projects/iam_custom_role.py +18 -2
- pulumi_gcp/projects/iam_member.py +10 -58
- pulumi_gcp/projects/iam_policy.py +10 -58
- pulumi_gcp/projects/organization_policy.py +24 -8
- pulumi_gcp/projects/service.py +22 -4
- pulumi_gcp/projects/usage_export_bucket.py +20 -4
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/__init__.py +4 -0
- pulumi_gcp/pubsub/_inputs.py +80 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +147 -0
- pulumi_gcp/pubsub/lite_reservation.py +18 -2
- pulumi_gcp/pubsub/lite_subscription.py +18 -2
- pulumi_gcp/pubsub/lite_topic.py +18 -2
- pulumi_gcp/pubsub/outputs.py +56 -0
- pulumi_gcp/pubsub/schema.py +18 -2
- pulumi_gcp/pubsub/schema_iam_binding.py +601 -0
- pulumi_gcp/pubsub/schema_iam_member.py +601 -0
- pulumi_gcp/pubsub/schema_iam_policy.py +523 -0
- pulumi_gcp/pubsub/subscription.py +22 -10
- pulumi_gcp/pubsub/subscription_iam_binding.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_member.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_policy.py +12 -20
- pulumi_gcp/pubsub/topic.py +36 -17
- pulumi_gcp/recaptcha/enterprise_key.py +22 -10
- pulumi_gcp/redis/cluster.py +42 -18
- pulumi_gcp/redis/instance.py +22 -58
- pulumi_gcp/resourcemanager/lien.py +18 -2
- pulumi_gcp/runtimeconfig/config.py +26 -6
- pulumi_gcp/runtimeconfig/variable.py +26 -6
- pulumi_gcp/secretmanager/__init__.py +1 -0
- pulumi_gcp/secretmanager/get_secrets.py +133 -0
- pulumi_gcp/secretmanager/outputs.py +354 -0
- pulumi_gcp/secretmanager/secret.py +36 -10
- pulumi_gcp/secretmanager/secret_version.py +18 -2
- pulumi_gcp/securitycenter/folder_custom_module.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_member.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_policy.py +18 -2
- pulumi_gcp/securitycenter/mute_config.py +18 -2
- pulumi_gcp/securitycenter/notification_config.py +18 -2
- pulumi_gcp/securitycenter/organization_custom_module.py +18 -2
- pulumi_gcp/securitycenter/project_custom_module.py +18 -2
- pulumi_gcp/securitycenter/source.py +18 -2
- pulumi_gcp/securitycenter/source_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/source_iam_member.py +18 -2
- pulumi_gcp/securitycenter/source_iam_policy.py +18 -2
- pulumi_gcp/serviceaccount/account.py +20 -4
- pulumi_gcp/serviceaccount/iam_binding.py +2 -30
- pulumi_gcp/serviceaccount/iam_member.py +2 -30
- pulumi_gcp/serviceaccount/iam_policy.py +2 -30
- pulumi_gcp/servicedirectory/endpoint.py +18 -2
- pulumi_gcp/servicedirectory/namespace.py +22 -10
- pulumi_gcp/servicedirectory/service.py +18 -2
- pulumi_gcp/servicenetworking/connection.py +22 -6
- pulumi_gcp/servicenetworking/peered_dns_domain.py +18 -6
- pulumi_gcp/serviceusage/consumer_quota_override.py +18 -2
- pulumi_gcp/sourcerepo/repository.py +18 -2
- pulumi_gcp/spanner/_inputs.py +142 -0
- pulumi_gcp/spanner/database.py +18 -2
- pulumi_gcp/spanner/database_iam_binding.py +10 -26
- pulumi_gcp/spanner/database_iam_member.py +10 -26
- pulumi_gcp/spanner/database_iam_policy.py +10 -26
- pulumi_gcp/spanner/get_instance.py +12 -1
- pulumi_gcp/spanner/instance.py +99 -10
- pulumi_gcp/spanner/instance_iam_binding.py +10 -26
- pulumi_gcp/spanner/instance_iam_member.py +10 -26
- pulumi_gcp/spanner/instance_iam_policy.py +10 -26
- pulumi_gcp/spanner/outputs.py +236 -0
- pulumi_gcp/sql/_inputs.py +27 -7
- pulumi_gcp/sql/database.py +18 -2
- pulumi_gcp/sql/database_instance.py +24 -8
- pulumi_gcp/sql/outputs.py +41 -9
- pulumi_gcp/sql/source_representation_instance.py +25 -9
- pulumi_gcp/sql/user.py +38 -8
- pulumi_gcp/storage/_inputs.py +59 -1
- pulumi_gcp/storage/bucket.py +69 -6
- pulumi_gcp/storage/bucket_access_control.py +18 -2
- pulumi_gcp/storage/bucket_object.py +47 -0
- pulumi_gcp/storage/default_object_access_control.py +18 -2
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/get_bucket_object.py +11 -1
- pulumi_gcp/storage/get_bucket_object_content.py +11 -1
- pulumi_gcp/storage/hmac_key.py +18 -2
- pulumi_gcp/storage/insights_report_config.py +18 -2
- pulumi_gcp/storage/notification.py +20 -4
- pulumi_gcp/storage/object_access_control.py +18 -2
- pulumi_gcp/storage/outputs.py +129 -2
- pulumi_gcp/storage/transfer_agent_pool.py +18 -2
- pulumi_gcp/storage/transfer_job.py +20 -4
- pulumi_gcp/tags/location_tag_binding.py +35 -19
- pulumi_gcp/tags/tag_binding.py +18 -2
- pulumi_gcp/tags/tag_key.py +18 -2
- pulumi_gcp/tags/tag_value.py +18 -2
- pulumi_gcp/tpu/_inputs.py +450 -0
- pulumi_gcp/tpu/node.py +22 -10
- pulumi_gcp/tpu/outputs.py +477 -0
- pulumi_gcp/tpu/v2_vm.py +906 -38
- pulumi_gcp/vertex/_inputs.py +39 -0
- pulumi_gcp/vertex/ai_dataset.py +4 -8
- pulumi_gcp/vertex/ai_endpoint.py +22 -10
- pulumi_gcp/vertex/ai_feature_store.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +22 -10
- pulumi_gcp/vertex/ai_index.py +22 -10
- pulumi_gcp/vertex/ai_index_endpoint.py +116 -10
- pulumi_gcp/vertex/ai_metadata_store.py +18 -2
- pulumi_gcp/vertex/ai_tensorboard.py +22 -10
- pulumi_gcp/vertex/outputs.py +50 -0
- pulumi_gcp/vmwareengine/cluster.py +18 -2
- pulumi_gcp/vmwareengine/network.py +18 -2
- pulumi_gcp/vmwareengine/private_cloud.py +18 -2
- pulumi_gcp/vpcaccess/connector.py +18 -2
- pulumi_gcp/workflows/workflow.py +159 -11
- pulumi_gcp/workstations/_inputs.py +23 -0
- pulumi_gcp/workstations/outputs.py +19 -0
- pulumi_gcp/workstations/workstation.py +22 -10
- pulumi_gcp/workstations/workstation_cluster.py +142 -10
- pulumi_gcp/workstations/workstation_config.py +24 -12
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/RECORD +678 -650
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,601 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['SchemaIamBindingArgs', 'SchemaIamBinding']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class SchemaIamBindingArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
members: pulumi.Input[Sequence[pulumi.Input[str]]],
|
20
|
+
role: pulumi.Input[str],
|
21
|
+
schema: pulumi.Input[str],
|
22
|
+
condition: Optional[pulumi.Input['SchemaIamBindingConditionArgs']] = None,
|
23
|
+
project: Optional[pulumi.Input[str]] = None):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a SchemaIamBinding resource.
|
26
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
27
|
+
`pubsub.SchemaIamBinding` can be used per role. Note that custom roles must be of the format
|
28
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
29
|
+
:param pulumi.Input[str] schema: Used to find the parent resource to bind the IAM policy to
|
30
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
31
|
+
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.
|
32
|
+
|
33
|
+
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
34
|
+
Each entry can have one of the following values:
|
35
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
36
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
37
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
38
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
39
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
40
|
+
* **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.
|
41
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
42
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
43
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
44
|
+
"""
|
45
|
+
pulumi.set(__self__, "members", members)
|
46
|
+
pulumi.set(__self__, "role", role)
|
47
|
+
pulumi.set(__self__, "schema", schema)
|
48
|
+
if condition is not None:
|
49
|
+
pulumi.set(__self__, "condition", condition)
|
50
|
+
if project is not None:
|
51
|
+
pulumi.set(__self__, "project", project)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def members(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
56
|
+
return pulumi.get(self, "members")
|
57
|
+
|
58
|
+
@members.setter
|
59
|
+
def members(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
60
|
+
pulumi.set(self, "members", value)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def role(self) -> pulumi.Input[str]:
|
65
|
+
"""
|
66
|
+
The role that should be applied. Only one
|
67
|
+
`pubsub.SchemaIamBinding` can be used per role. Note that custom roles must be of the format
|
68
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "role")
|
71
|
+
|
72
|
+
@role.setter
|
73
|
+
def role(self, value: pulumi.Input[str]):
|
74
|
+
pulumi.set(self, "role", value)
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter
|
78
|
+
def schema(self) -> pulumi.Input[str]:
|
79
|
+
"""
|
80
|
+
Used to find the parent resource to bind the IAM policy to
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "schema")
|
83
|
+
|
84
|
+
@schema.setter
|
85
|
+
def schema(self, value: pulumi.Input[str]):
|
86
|
+
pulumi.set(self, "schema", value)
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def condition(self) -> Optional[pulumi.Input['SchemaIamBindingConditionArgs']]:
|
91
|
+
return pulumi.get(self, "condition")
|
92
|
+
|
93
|
+
@condition.setter
|
94
|
+
def condition(self, value: Optional[pulumi.Input['SchemaIamBindingConditionArgs']]):
|
95
|
+
pulumi.set(self, "condition", value)
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
100
|
+
"""
|
101
|
+
The ID of the project in which the resource belongs.
|
102
|
+
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.
|
103
|
+
|
104
|
+
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
105
|
+
Each entry can have one of the following values:
|
106
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
107
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
108
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
109
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
110
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
111
|
+
* **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.
|
112
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
113
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
114
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "project")
|
117
|
+
|
118
|
+
@project.setter
|
119
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
120
|
+
pulumi.set(self, "project", value)
|
121
|
+
|
122
|
+
|
123
|
+
@pulumi.input_type
|
124
|
+
class _SchemaIamBindingState:
|
125
|
+
def __init__(__self__, *,
|
126
|
+
condition: Optional[pulumi.Input['SchemaIamBindingConditionArgs']] = None,
|
127
|
+
etag: Optional[pulumi.Input[str]] = None,
|
128
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
129
|
+
project: Optional[pulumi.Input[str]] = None,
|
130
|
+
role: Optional[pulumi.Input[str]] = None,
|
131
|
+
schema: Optional[pulumi.Input[str]] = None):
|
132
|
+
"""
|
133
|
+
Input properties used for looking up and filtering SchemaIamBinding resources.
|
134
|
+
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
135
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
136
|
+
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.
|
137
|
+
|
138
|
+
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
139
|
+
Each entry can have one of the following values:
|
140
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
141
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
142
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
143
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
144
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
145
|
+
* **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.
|
146
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
147
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
148
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
149
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
150
|
+
`pubsub.SchemaIamBinding` can be used per role. Note that custom roles must be of the format
|
151
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
152
|
+
:param pulumi.Input[str] schema: Used to find the parent resource to bind the IAM policy to
|
153
|
+
"""
|
154
|
+
if condition is not None:
|
155
|
+
pulumi.set(__self__, "condition", condition)
|
156
|
+
if etag is not None:
|
157
|
+
pulumi.set(__self__, "etag", etag)
|
158
|
+
if members is not None:
|
159
|
+
pulumi.set(__self__, "members", members)
|
160
|
+
if project is not None:
|
161
|
+
pulumi.set(__self__, "project", project)
|
162
|
+
if role is not None:
|
163
|
+
pulumi.set(__self__, "role", role)
|
164
|
+
if schema is not None:
|
165
|
+
pulumi.set(__self__, "schema", schema)
|
166
|
+
|
167
|
+
@property
|
168
|
+
@pulumi.getter
|
169
|
+
def condition(self) -> Optional[pulumi.Input['SchemaIamBindingConditionArgs']]:
|
170
|
+
return pulumi.get(self, "condition")
|
171
|
+
|
172
|
+
@condition.setter
|
173
|
+
def condition(self, value: Optional[pulumi.Input['SchemaIamBindingConditionArgs']]):
|
174
|
+
pulumi.set(self, "condition", value)
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter
|
178
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
179
|
+
"""
|
180
|
+
(Computed) The etag of the IAM policy.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "etag")
|
183
|
+
|
184
|
+
@etag.setter
|
185
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
186
|
+
pulumi.set(self, "etag", value)
|
187
|
+
|
188
|
+
@property
|
189
|
+
@pulumi.getter
|
190
|
+
def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
191
|
+
return pulumi.get(self, "members")
|
192
|
+
|
193
|
+
@members.setter
|
194
|
+
def members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
195
|
+
pulumi.set(self, "members", value)
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter
|
199
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
200
|
+
"""
|
201
|
+
The ID of the project in which the resource belongs.
|
202
|
+
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.
|
203
|
+
|
204
|
+
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
205
|
+
Each entry can have one of the following values:
|
206
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
207
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
208
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
209
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
210
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
211
|
+
* **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.
|
212
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
213
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
214
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
215
|
+
"""
|
216
|
+
return pulumi.get(self, "project")
|
217
|
+
|
218
|
+
@project.setter
|
219
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
220
|
+
pulumi.set(self, "project", value)
|
221
|
+
|
222
|
+
@property
|
223
|
+
@pulumi.getter
|
224
|
+
def role(self) -> Optional[pulumi.Input[str]]:
|
225
|
+
"""
|
226
|
+
The role that should be applied. Only one
|
227
|
+
`pubsub.SchemaIamBinding` can be used per role. Note that custom roles must be of the format
|
228
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
229
|
+
"""
|
230
|
+
return pulumi.get(self, "role")
|
231
|
+
|
232
|
+
@role.setter
|
233
|
+
def role(self, value: Optional[pulumi.Input[str]]):
|
234
|
+
pulumi.set(self, "role", value)
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter
|
238
|
+
def schema(self) -> Optional[pulumi.Input[str]]:
|
239
|
+
"""
|
240
|
+
Used to find the parent resource to bind the IAM policy to
|
241
|
+
"""
|
242
|
+
return pulumi.get(self, "schema")
|
243
|
+
|
244
|
+
@schema.setter
|
245
|
+
def schema(self, value: Optional[pulumi.Input[str]]):
|
246
|
+
pulumi.set(self, "schema", value)
|
247
|
+
|
248
|
+
|
249
|
+
class SchemaIamBinding(pulumi.CustomResource):
|
250
|
+
@overload
|
251
|
+
def __init__(__self__,
|
252
|
+
resource_name: str,
|
253
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
254
|
+
condition: Optional[pulumi.Input[pulumi.InputType['SchemaIamBindingConditionArgs']]] = None,
|
255
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
256
|
+
project: Optional[pulumi.Input[str]] = None,
|
257
|
+
role: Optional[pulumi.Input[str]] = None,
|
258
|
+
schema: Optional[pulumi.Input[str]] = None,
|
259
|
+
__props__=None):
|
260
|
+
"""
|
261
|
+
Three different resources help you manage your IAM policy for Cloud Pub/Sub Schema. Each of these resources serves a different use case:
|
262
|
+
|
263
|
+
* `pubsub.SchemaIamPolicy`: Authoritative. Sets the IAM policy for the schema and replaces any existing policy already attached.
|
264
|
+
* `pubsub.SchemaIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the schema are preserved.
|
265
|
+
* `pubsub.SchemaIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the schema are preserved.
|
266
|
+
|
267
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
268
|
+
|
269
|
+
* `pubsub.SchemaIamPolicy`: Retrieves the IAM policy for the schema
|
270
|
+
|
271
|
+
> **Note:** `pubsub.SchemaIamPolicy` **cannot** be used in conjunction with `pubsub.SchemaIamBinding` and `pubsub.SchemaIamMember` or they will fight over what your policy should be.
|
272
|
+
|
273
|
+
> **Note:** `pubsub.SchemaIamBinding` resources **can be** used in conjunction with `pubsub.SchemaIamMember` resources **only if** they do not grant privilege to the same role.
|
274
|
+
|
275
|
+
## google\\_pubsub\\_schema\\_iam\\_policy
|
276
|
+
|
277
|
+
```python
|
278
|
+
import pulumi
|
279
|
+
import pulumi_gcp as gcp
|
280
|
+
|
281
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
282
|
+
role="roles/viewer",
|
283
|
+
members=["user:jane@example.com"],
|
284
|
+
)])
|
285
|
+
policy = gcp.pubsub.SchemaIamPolicy("policy",
|
286
|
+
project=google_pubsub_schema["example"]["project"],
|
287
|
+
schema=google_pubsub_schema["example"]["name"],
|
288
|
+
policy_data=admin.policy_data)
|
289
|
+
```
|
290
|
+
|
291
|
+
## google\\_pubsub\\_schema\\_iam\\_binding
|
292
|
+
|
293
|
+
```python
|
294
|
+
import pulumi
|
295
|
+
import pulumi_gcp as gcp
|
296
|
+
|
297
|
+
binding = gcp.pubsub.SchemaIamBinding("binding",
|
298
|
+
project=google_pubsub_schema["example"]["project"],
|
299
|
+
schema=google_pubsub_schema["example"]["name"],
|
300
|
+
role="roles/viewer",
|
301
|
+
members=["user:jane@example.com"])
|
302
|
+
```
|
303
|
+
|
304
|
+
## google\\_pubsub\\_schema\\_iam\\_member
|
305
|
+
|
306
|
+
```python
|
307
|
+
import pulumi
|
308
|
+
import pulumi_gcp as gcp
|
309
|
+
|
310
|
+
member = gcp.pubsub.SchemaIamMember("member",
|
311
|
+
project=google_pubsub_schema["example"]["project"],
|
312
|
+
schema=google_pubsub_schema["example"]["name"],
|
313
|
+
role="roles/viewer",
|
314
|
+
member="user:jane@example.com")
|
315
|
+
```
|
316
|
+
|
317
|
+
## Import
|
318
|
+
|
319
|
+
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/schemas/{{name}} * {{project}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Pub/Sub schema IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
320
|
+
|
321
|
+
```sh
|
322
|
+
$ pulumi import gcp:pubsub/schemaIamBinding:SchemaIamBinding editor "projects/{{project}}/schemas/{{schema}} roles/viewer user:jane@example.com"
|
323
|
+
```
|
324
|
+
|
325
|
+
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
326
|
+
|
327
|
+
```sh
|
328
|
+
$ pulumi import gcp:pubsub/schemaIamBinding:SchemaIamBinding editor "projects/{{project}}/schemas/{{schema}} roles/viewer"
|
329
|
+
```
|
330
|
+
|
331
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
332
|
+
|
333
|
+
```sh
|
334
|
+
$ pulumi import gcp:pubsub/schemaIamBinding:SchemaIamBinding editor projects/{{project}}/schemas/{{schema}}
|
335
|
+
```
|
336
|
+
|
337
|
+
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
338
|
+
|
339
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
340
|
+
|
341
|
+
:param str resource_name: The name of the resource.
|
342
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
343
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
344
|
+
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.
|
345
|
+
|
346
|
+
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
347
|
+
Each entry can have one of the following values:
|
348
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
349
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
350
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
351
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
352
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
353
|
+
* **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.
|
354
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
355
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
356
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
357
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
358
|
+
`pubsub.SchemaIamBinding` can be used per role. Note that custom roles must be of the format
|
359
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
360
|
+
:param pulumi.Input[str] schema: Used to find the parent resource to bind the IAM policy to
|
361
|
+
"""
|
362
|
+
...
|
363
|
+
@overload
|
364
|
+
def __init__(__self__,
|
365
|
+
resource_name: str,
|
366
|
+
args: SchemaIamBindingArgs,
|
367
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
368
|
+
"""
|
369
|
+
Three different resources help you manage your IAM policy for Cloud Pub/Sub Schema. Each of these resources serves a different use case:
|
370
|
+
|
371
|
+
* `pubsub.SchemaIamPolicy`: Authoritative. Sets the IAM policy for the schema and replaces any existing policy already attached.
|
372
|
+
* `pubsub.SchemaIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the schema are preserved.
|
373
|
+
* `pubsub.SchemaIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the schema are preserved.
|
374
|
+
|
375
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
376
|
+
|
377
|
+
* `pubsub.SchemaIamPolicy`: Retrieves the IAM policy for the schema
|
378
|
+
|
379
|
+
> **Note:** `pubsub.SchemaIamPolicy` **cannot** be used in conjunction with `pubsub.SchemaIamBinding` and `pubsub.SchemaIamMember` or they will fight over what your policy should be.
|
380
|
+
|
381
|
+
> **Note:** `pubsub.SchemaIamBinding` resources **can be** used in conjunction with `pubsub.SchemaIamMember` resources **only if** they do not grant privilege to the same role.
|
382
|
+
|
383
|
+
## google\\_pubsub\\_schema\\_iam\\_policy
|
384
|
+
|
385
|
+
```python
|
386
|
+
import pulumi
|
387
|
+
import pulumi_gcp as gcp
|
388
|
+
|
389
|
+
admin = gcp.organizations.get_iam_policy(bindings=[gcp.organizations.GetIAMPolicyBindingArgs(
|
390
|
+
role="roles/viewer",
|
391
|
+
members=["user:jane@example.com"],
|
392
|
+
)])
|
393
|
+
policy = gcp.pubsub.SchemaIamPolicy("policy",
|
394
|
+
project=google_pubsub_schema["example"]["project"],
|
395
|
+
schema=google_pubsub_schema["example"]["name"],
|
396
|
+
policy_data=admin.policy_data)
|
397
|
+
```
|
398
|
+
|
399
|
+
## google\\_pubsub\\_schema\\_iam\\_binding
|
400
|
+
|
401
|
+
```python
|
402
|
+
import pulumi
|
403
|
+
import pulumi_gcp as gcp
|
404
|
+
|
405
|
+
binding = gcp.pubsub.SchemaIamBinding("binding",
|
406
|
+
project=google_pubsub_schema["example"]["project"],
|
407
|
+
schema=google_pubsub_schema["example"]["name"],
|
408
|
+
role="roles/viewer",
|
409
|
+
members=["user:jane@example.com"])
|
410
|
+
```
|
411
|
+
|
412
|
+
## google\\_pubsub\\_schema\\_iam\\_member
|
413
|
+
|
414
|
+
```python
|
415
|
+
import pulumi
|
416
|
+
import pulumi_gcp as gcp
|
417
|
+
|
418
|
+
member = gcp.pubsub.SchemaIamMember("member",
|
419
|
+
project=google_pubsub_schema["example"]["project"],
|
420
|
+
schema=google_pubsub_schema["example"]["name"],
|
421
|
+
role="roles/viewer",
|
422
|
+
member="user:jane@example.com")
|
423
|
+
```
|
424
|
+
|
425
|
+
## Import
|
426
|
+
|
427
|
+
For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/schemas/{{name}} * {{project}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Cloud Pub/Sub schema IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
|
428
|
+
|
429
|
+
```sh
|
430
|
+
$ pulumi import gcp:pubsub/schemaIamBinding:SchemaIamBinding editor "projects/{{project}}/schemas/{{schema}} roles/viewer user:jane@example.com"
|
431
|
+
```
|
432
|
+
|
433
|
+
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
|
434
|
+
|
435
|
+
```sh
|
436
|
+
$ pulumi import gcp:pubsub/schemaIamBinding:SchemaIamBinding editor "projects/{{project}}/schemas/{{schema}} roles/viewer"
|
437
|
+
```
|
438
|
+
|
439
|
+
IAM policy imports use the identifier of the resource in question, e.g.
|
440
|
+
|
441
|
+
```sh
|
442
|
+
$ pulumi import gcp:pubsub/schemaIamBinding:SchemaIamBinding editor projects/{{project}}/schemas/{{schema}}
|
443
|
+
```
|
444
|
+
|
445
|
+
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
446
|
+
|
447
|
+
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
|
448
|
+
|
449
|
+
:param str resource_name: The name of the resource.
|
450
|
+
:param SchemaIamBindingArgs args: The arguments to use to populate this resource's properties.
|
451
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
452
|
+
"""
|
453
|
+
...
|
454
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
455
|
+
resource_args, opts = _utilities.get_resource_args_opts(SchemaIamBindingArgs, pulumi.ResourceOptions, *args, **kwargs)
|
456
|
+
if resource_args is not None:
|
457
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
458
|
+
else:
|
459
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
460
|
+
|
461
|
+
def _internal_init(__self__,
|
462
|
+
resource_name: str,
|
463
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
464
|
+
condition: Optional[pulumi.Input[pulumi.InputType['SchemaIamBindingConditionArgs']]] = None,
|
465
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
466
|
+
project: Optional[pulumi.Input[str]] = None,
|
467
|
+
role: Optional[pulumi.Input[str]] = None,
|
468
|
+
schema: Optional[pulumi.Input[str]] = None,
|
469
|
+
__props__=None):
|
470
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
471
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
472
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
473
|
+
if opts.id is None:
|
474
|
+
if __props__ is not None:
|
475
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
476
|
+
__props__ = SchemaIamBindingArgs.__new__(SchemaIamBindingArgs)
|
477
|
+
|
478
|
+
__props__.__dict__["condition"] = condition
|
479
|
+
if members is None and not opts.urn:
|
480
|
+
raise TypeError("Missing required property 'members'")
|
481
|
+
__props__.__dict__["members"] = members
|
482
|
+
__props__.__dict__["project"] = project
|
483
|
+
if role is None and not opts.urn:
|
484
|
+
raise TypeError("Missing required property 'role'")
|
485
|
+
__props__.__dict__["role"] = role
|
486
|
+
if schema is None and not opts.urn:
|
487
|
+
raise TypeError("Missing required property 'schema'")
|
488
|
+
__props__.__dict__["schema"] = schema
|
489
|
+
__props__.__dict__["etag"] = None
|
490
|
+
super(SchemaIamBinding, __self__).__init__(
|
491
|
+
'gcp:pubsub/schemaIamBinding:SchemaIamBinding',
|
492
|
+
resource_name,
|
493
|
+
__props__,
|
494
|
+
opts)
|
495
|
+
|
496
|
+
@staticmethod
|
497
|
+
def get(resource_name: str,
|
498
|
+
id: pulumi.Input[str],
|
499
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
500
|
+
condition: Optional[pulumi.Input[pulumi.InputType['SchemaIamBindingConditionArgs']]] = None,
|
501
|
+
etag: Optional[pulumi.Input[str]] = None,
|
502
|
+
members: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
503
|
+
project: Optional[pulumi.Input[str]] = None,
|
504
|
+
role: Optional[pulumi.Input[str]] = None,
|
505
|
+
schema: Optional[pulumi.Input[str]] = None) -> 'SchemaIamBinding':
|
506
|
+
"""
|
507
|
+
Get an existing SchemaIamBinding resource's state with the given name, id, and optional extra
|
508
|
+
properties used to qualify the lookup.
|
509
|
+
|
510
|
+
:param str resource_name: The unique name of the resulting resource.
|
511
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
512
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
513
|
+
:param pulumi.Input[str] etag: (Computed) The etag of the IAM policy.
|
514
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
515
|
+
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.
|
516
|
+
|
517
|
+
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
518
|
+
Each entry can have one of the following values:
|
519
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
520
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
521
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
522
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
523
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
524
|
+
* **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.
|
525
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
526
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
527
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
528
|
+
:param pulumi.Input[str] role: The role that should be applied. Only one
|
529
|
+
`pubsub.SchemaIamBinding` can be used per role. Note that custom roles must be of the format
|
530
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
531
|
+
:param pulumi.Input[str] schema: Used to find the parent resource to bind the IAM policy to
|
532
|
+
"""
|
533
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
534
|
+
|
535
|
+
__props__ = _SchemaIamBindingState.__new__(_SchemaIamBindingState)
|
536
|
+
|
537
|
+
__props__.__dict__["condition"] = condition
|
538
|
+
__props__.__dict__["etag"] = etag
|
539
|
+
__props__.__dict__["members"] = members
|
540
|
+
__props__.__dict__["project"] = project
|
541
|
+
__props__.__dict__["role"] = role
|
542
|
+
__props__.__dict__["schema"] = schema
|
543
|
+
return SchemaIamBinding(resource_name, opts=opts, __props__=__props__)
|
544
|
+
|
545
|
+
@property
|
546
|
+
@pulumi.getter
|
547
|
+
def condition(self) -> pulumi.Output[Optional['outputs.SchemaIamBindingCondition']]:
|
548
|
+
return pulumi.get(self, "condition")
|
549
|
+
|
550
|
+
@property
|
551
|
+
@pulumi.getter
|
552
|
+
def etag(self) -> pulumi.Output[str]:
|
553
|
+
"""
|
554
|
+
(Computed) The etag of the IAM policy.
|
555
|
+
"""
|
556
|
+
return pulumi.get(self, "etag")
|
557
|
+
|
558
|
+
@property
|
559
|
+
@pulumi.getter
|
560
|
+
def members(self) -> pulumi.Output[Sequence[str]]:
|
561
|
+
return pulumi.get(self, "members")
|
562
|
+
|
563
|
+
@property
|
564
|
+
@pulumi.getter
|
565
|
+
def project(self) -> pulumi.Output[str]:
|
566
|
+
"""
|
567
|
+
The ID of the project in which the resource belongs.
|
568
|
+
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.
|
569
|
+
|
570
|
+
* `member/members` - (Required) Identities that will be granted the privilege in `role`.
|
571
|
+
Each entry can have one of the following values:
|
572
|
+
* **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
|
573
|
+
* **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
574
|
+
* **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
|
575
|
+
* **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
|
576
|
+
* **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
|
577
|
+
* **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.
|
578
|
+
* **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
|
579
|
+
* **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
|
580
|
+
* **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
|
581
|
+
"""
|
582
|
+
return pulumi.get(self, "project")
|
583
|
+
|
584
|
+
@property
|
585
|
+
@pulumi.getter
|
586
|
+
def role(self) -> pulumi.Output[str]:
|
587
|
+
"""
|
588
|
+
The role that should be applied. Only one
|
589
|
+
`pubsub.SchemaIamBinding` can be used per role. Note that custom roles must be of the format
|
590
|
+
`[projects|organizations]/{parent-name}/roles/{role-name}`.
|
591
|
+
"""
|
592
|
+
return pulumi.get(self, "role")
|
593
|
+
|
594
|
+
@property
|
595
|
+
@pulumi.getter
|
596
|
+
def schema(self) -> pulumi.Output[str]:
|
597
|
+
"""
|
598
|
+
Used to find the parent resource to bind the IAM policy to
|
599
|
+
"""
|
600
|
+
return pulumi.get(self, "schema")
|
601
|
+
|