pulumi-gcp 6.68.0a1698127103__py3-none-any.whl → 6.68.0a1698199636__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/_inputs.py +7 -1
- pulumi_gcp/_utilities.py +19 -0
- pulumi_gcp/accessapproval/get_folder_service_account.py +0 -26
- pulumi_gcp/accessapproval/get_organization_service_account.py +0 -26
- pulumi_gcp/accessapproval/get_project_service_account.py +0 -26
- pulumi_gcp/accesscontextmanager/_inputs.py +530 -96
- pulumi_gcp/accesscontextmanager/access_level.py +14 -70
- pulumi_gcp/accesscontextmanager/access_level_condition.py +26 -108
- pulumi_gcp/accesscontextmanager/access_levels.py +13 -107
- pulumi_gcp/accesscontextmanager/access_policy.py +16 -52
- pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +13 -79
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +13 -79
- pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +13 -73
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +25 -41
- pulumi_gcp/accesscontextmanager/egress_policy.py +16 -4
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +27 -5
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +0 -18
- pulumi_gcp/accesscontextmanager/ingress_policy.py +16 -4
- pulumi_gcp/accesscontextmanager/outputs.py +530 -96
- pulumi_gcp/accesscontextmanager/service_perimeter.py +26 -334
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +19 -13
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +19 -13
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +16 -42
- pulumi_gcp/accesscontextmanager/service_perimeters.py +13 -95
- pulumi_gcp/activedirectory/domain.py +27 -27
- pulumi_gcp/activedirectory/domain_trust.py +48 -36
- pulumi_gcp/activedirectory/peering.py +31 -71
- pulumi_gcp/alloydb/_inputs.py +145 -27
- pulumi_gcp/alloydb/backup.py +34 -142
- pulumi_gcp/alloydb/cluster.py +65 -259
- pulumi_gcp/alloydb/get_locations.py +0 -18
- pulumi_gcp/alloydb/get_supported_database_flags.py +0 -18
- pulumi_gcp/alloydb/instance.py +55 -81
- pulumi_gcp/alloydb/outputs.py +229 -47
- pulumi_gcp/apigateway/_inputs.py +120 -38
- pulumi_gcp/apigateway/api.py +23 -21
- pulumi_gcp/apigateway/api_config.py +40 -48
- pulumi_gcp/apigateway/api_config_iam_binding.py +23 -101
- pulumi_gcp/apigateway/api_config_iam_member.py +23 -101
- pulumi_gcp/apigateway/api_config_iam_policy.py +23 -95
- pulumi_gcp/apigateway/api_iam_binding.py +16 -100
- pulumi_gcp/apigateway/api_iam_member.py +16 -100
- pulumi_gcp/apigateway/api_iam_policy.py +16 -94
- pulumi_gcp/apigateway/gateway.py +26 -52
- pulumi_gcp/apigateway/gateway_iam_binding.py +16 -106
- pulumi_gcp/apigateway/gateway_iam_member.py +16 -106
- pulumi_gcp/apigateway/gateway_iam_policy.py +16 -100
- pulumi_gcp/apigateway/outputs.py +120 -38
- pulumi_gcp/apigee/_inputs.py +183 -27
- pulumi_gcp/apigee/addons_config.py +14 -156
- pulumi_gcp/apigee/endpoint_attachment.py +32 -62
- pulumi_gcp/apigee/env_group.py +13 -55
- pulumi_gcp/apigee/env_group_attachment.py +16 -106
- pulumi_gcp/apigee/env_keystore.py +13 -3
- pulumi_gcp/apigee/env_references.py +23 -5
- pulumi_gcp/apigee/environment.py +30 -62
- pulumi_gcp/apigee/environment_iam_binding.py +27 -95
- pulumi_gcp/apigee/environment_iam_member.py +27 -95
- pulumi_gcp/apigee/environment_iam_policy.py +27 -89
- pulumi_gcp/apigee/flowhook.py +30 -6
- pulumi_gcp/apigee/get_environment_iam_policy.py +0 -20
- pulumi_gcp/apigee/instance.py +38 -254
- pulumi_gcp/apigee/instance_attachment.py +16 -106
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +30 -12
- pulumi_gcp/apigee/keystores_aliases_pkcs12.py +30 -8
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +48 -144
- pulumi_gcp/apigee/nat_address.py +15 -95
- pulumi_gcp/apigee/organization.py +48 -210
- pulumi_gcp/apigee/outputs.py +183 -27
- pulumi_gcp/apigee/sharedflow.py +28 -4
- pulumi_gcp/apigee/sharedflow_deployment.py +30 -6
- pulumi_gcp/apigee/sync_authorization.py +9 -59
- pulumi_gcp/apigee/target_server.py +28 -116
- pulumi_gcp/appengine/_inputs.py +432 -78
- pulumi_gcp/appengine/application.py +43 -41
- pulumi_gcp/appengine/application_url_dispatch_rules.py +13 -81
- pulumi_gcp/appengine/domain_mapping.py +24 -32
- pulumi_gcp/appengine/engine_split_traffic.py +17 -115
- pulumi_gcp/appengine/firewall_rule.py +16 -42
- pulumi_gcp/appengine/flexible_app_version.py +113 -221
- pulumi_gcp/appengine/get_default_service_account.py +0 -20
- pulumi_gcp/appengine/outputs.py +432 -78
- pulumi_gcp/appengine/service_network_settings.py +17 -73
- pulumi_gcp/appengine/standard_app_version.py +76 -182
- pulumi_gcp/artifactregistry/_inputs.py +99 -19
- pulumi_gcp/artifactregistry/get_repository.py +0 -20
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +0 -22
- pulumi_gcp/artifactregistry/outputs.py +261 -59
- pulumi_gcp/artifactregistry/repository.py +52 -310
- pulumi_gcp/artifactregistry/repository_iam_binding.py +16 -100
- pulumi_gcp/artifactregistry/repository_iam_member.py +16 -100
- pulumi_gcp/artifactregistry/repository_iam_policy.py +16 -94
- pulumi_gcp/artifactregistry/vpcsc_config.py +10 -24
- pulumi_gcp/assuredworkloads/_inputs.py +27 -5
- pulumi_gcp/assuredworkloads/outputs.py +27 -5
- pulumi_gcp/assuredworkloads/workload.py +48 -78
- pulumi_gcp/backupdisasterrecovery/_inputs.py +13 -3
- pulumi_gcp/backupdisasterrecovery/management_server.py +16 -60
- pulumi_gcp/backupdisasterrecovery/outputs.py +13 -3
- pulumi_gcp/beyondcorp/_inputs.py +40 -10
- pulumi_gcp/beyondcorp/app_connection.py +19 -123
- pulumi_gcp/beyondcorp/app_connector.py +18 -82
- pulumi_gcp/beyondcorp/app_gateway.py +16 -56
- pulumi_gcp/beyondcorp/get_app_connection.py +0 -18
- pulumi_gcp/beyondcorp/get_app_connector.py +0 -18
- pulumi_gcp/beyondcorp/get_app_gateway.py +0 -18
- pulumi_gcp/beyondcorp/outputs.py +95 -25
- pulumi_gcp/biglake/_inputs.py +21 -3
- pulumi_gcp/biglake/catalog.py +17 -19
- pulumi_gcp/biglake/database.py +28 -58
- pulumi_gcp/biglake/outputs.py +21 -3
- pulumi_gcp/biglake/table.py +19 -103
- pulumi_gcp/bigquery/_inputs.py +766 -146
- pulumi_gcp/bigquery/app_profile.py +30 -198
- pulumi_gcp/bigquery/bi_reservation.py +15 -23
- pulumi_gcp/bigquery/capacity_commitment.py +32 -30
- pulumi_gcp/bigquery/connection.py +33 -291
- pulumi_gcp/bigquery/connection_iam_binding.py +20 -100
- pulumi_gcp/bigquery/connection_iam_member.py +20 -100
- pulumi_gcp/bigquery/connection_iam_policy.py +20 -94
- pulumi_gcp/bigquery/data_transfer_config.py +54 -80
- pulumi_gcp/bigquery/dataset.py +56 -304
- pulumi_gcp/bigquery/dataset_access.py +38 -212
- pulumi_gcp/bigquery/dataset_iam_binding.py +20 -94
- pulumi_gcp/bigquery/dataset_iam_member.py +20 -94
- pulumi_gcp/bigquery/dataset_iam_policy.py +20 -88
- pulumi_gcp/bigquery/get_connection_iam_policy.py +0 -22
- pulumi_gcp/bigquery/get_dataset_iam_policy.py +0 -18
- pulumi_gcp/bigquery/get_default_service_account.py +0 -26
- pulumi_gcp/bigquery/get_table_iam_policy.py +0 -22
- pulumi_gcp/bigquery/iam_binding.py +27 -217
- pulumi_gcp/bigquery/iam_member.py +27 -217
- pulumi_gcp/bigquery/iam_policy.py +27 -211
- pulumi_gcp/bigquery/job.py +25 -423
- pulumi_gcp/bigquery/outputs.py +766 -146
- pulumi_gcp/bigquery/reservation.py +22 -40
- pulumi_gcp/bigquery/reservation_assignment.py +19 -35
- pulumi_gcp/bigquery/routine.py +51 -143
- pulumi_gcp/bigquery/table.py +79 -143
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +58 -18
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +29 -29
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +20 -100
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +20 -100
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +20 -94
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +0 -22
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +0 -24
- pulumi_gcp/bigqueryanalyticshub/listing.py +52 -74
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +27 -107
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +27 -107
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +27 -101
- pulumi_gcp/bigqueryanalyticshub/outputs.py +58 -18
- pulumi_gcp/bigquerydatapolicy/_inputs.py +26 -8
- pulumi_gcp/bigquerydatapolicy/data_policy.py +35 -53
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +20 -100
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +20 -100
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +20 -94
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +0 -22
- pulumi_gcp/bigquerydatapolicy/outputs.py +26 -8
- pulumi_gcp/bigtable/_inputs.py +87 -23
- pulumi_gcp/bigtable/gc_policy.py +40 -218
- pulumi_gcp/bigtable/get_instance_iam_policy.py +0 -18
- pulumi_gcp/bigtable/get_table_iam_policy.py +0 -20
- pulumi_gcp/bigtable/instance.py +18 -92
- pulumi_gcp/bigtable/instance_iam_binding.py +16 -90
- pulumi_gcp/bigtable/instance_iam_member.py +16 -90
- pulumi_gcp/bigtable/instance_iam_policy.py +16 -84
- pulumi_gcp/bigtable/outputs.py +87 -23
- pulumi_gcp/bigtable/table.py +29 -63
- pulumi_gcp/bigtable/table_iam_binding.py +19 -97
- pulumi_gcp/bigtable/table_iam_member.py +19 -97
- pulumi_gcp/bigtable/table_iam_policy.py +19 -91
- pulumi_gcp/billing/_inputs.py +98 -22
- pulumi_gcp/billing/account_iam_binding.py +20 -88
- pulumi_gcp/billing/account_iam_member.py +20 -88
- pulumi_gcp/billing/account_iam_policy.py +20 -82
- pulumi_gcp/billing/budget.py +35 -341
- pulumi_gcp/billing/get_account_iam_policy.py +0 -18
- pulumi_gcp/billing/outputs.py +98 -22
- pulumi_gcp/billing/project_info.py +13 -3
- pulumi_gcp/billing/sub_account.py +26 -22
- pulumi_gcp/binaryauthorization/_inputs.py +85 -19
- pulumi_gcp/binaryauthorization/attestor.py +14 -134
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +16 -94
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +16 -94
- pulumi_gcp/binaryauthorization/attestor_iam_policy.py +16 -88
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +0 -20
- pulumi_gcp/binaryauthorization/outputs.py +85 -19
- pulumi_gcp/binaryauthorization/policy.py +26 -110
- pulumi_gcp/certificateauthority/_inputs.py +1075 -165
- pulumi_gcp/certificateauthority/authority.py +68 -432
- pulumi_gcp/certificateauthority/ca_pool.py +22 -48
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +20 -192
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +20 -192
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +20 -186
- pulumi_gcp/certificateauthority/certificate.py +41 -527
- pulumi_gcp/certificateauthority/certificate_template.py +28 -18
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +20 -192
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +20 -192
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +20 -186
- pulumi_gcp/certificateauthority/get_authority.py +0 -24
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +0 -18
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +0 -18
- pulumi_gcp/certificateauthority/outputs.py +1441 -249
- pulumi_gcp/certificatemanager/_inputs.py +77 -13
- pulumi_gcp/certificatemanager/certificate.py +12 -272
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +35 -131
- pulumi_gcp/certificatemanager/certificate_map.py +12 -28
- pulumi_gcp/certificatemanager/certificate_map_entry.py +16 -86
- pulumi_gcp/certificatemanager/dns_authorization.py +11 -29
- pulumi_gcp/certificatemanager/get_certificate_map.py +0 -18
- pulumi_gcp/certificatemanager/outputs.py +106 -20
- pulumi_gcp/certificatemanager/trust_config.py +17 -45
- pulumi_gcp/cloudasset/_inputs.py +60 -18
- pulumi_gcp/cloudasset/folder_feed.py +46 -16
- pulumi_gcp/cloudasset/get_resources_search_all.py +0 -56
- pulumi_gcp/cloudasset/organization_feed.py +48 -16
- pulumi_gcp/cloudasset/outputs.py +98 -28
- pulumi_gcp/cloudasset/project_feed.py +38 -14
- pulumi_gcp/cloudbuild/_inputs.py +323 -61
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +51 -105
- pulumi_gcp/cloudbuild/get_trigger.py +0 -22
- pulumi_gcp/cloudbuild/outputs.py +905 -215
- pulumi_gcp/cloudbuild/trigger.py +68 -692
- pulumi_gcp/cloudbuild/worker_pool.py +29 -111
- pulumi_gcp/cloudbuildv2/_inputs.py +111 -23
- pulumi_gcp/cloudbuildv2/connection.py +30 -170
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +13 -93
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +13 -93
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +13 -87
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +0 -22
- pulumi_gcp/cloudbuildv2/outputs.py +111 -23
- pulumi_gcp/cloudbuildv2/repository.py +24 -172
- pulumi_gcp/clouddeploy/_inputs.py +182 -42
- pulumi_gcp/clouddeploy/delivery_pipeline.py +18 -416
- pulumi_gcp/clouddeploy/outputs.py +182 -42
- pulumi_gcp/clouddeploy/target.py +39 -209
- pulumi_gcp/cloudfunctions/_inputs.py +81 -23
- pulumi_gcp/cloudfunctions/function.py +103 -133
- pulumi_gcp/cloudfunctions/function_iam_binding.py +20 -100
- pulumi_gcp/cloudfunctions/function_iam_member.py +20 -100
- pulumi_gcp/cloudfunctions/function_iam_policy.py +20 -94
- pulumi_gcp/cloudfunctions/get_function.py +0 -18
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +0 -22
- pulumi_gcp/cloudfunctions/outputs.py +159 -45
- pulumi_gcp/cloudfunctionsv2/_inputs.py +153 -27
- pulumi_gcp/cloudfunctionsv2/function.py +27 -377
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +20 -100
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +20 -100
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +20 -94
- pulumi_gcp/cloudfunctionsv2/get_function.py +0 -20
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +0 -22
- pulumi_gcp/cloudfunctionsv2/outputs.py +423 -93
- pulumi_gcp/cloudidentity/_inputs.py +24 -8
- pulumi_gcp/cloudidentity/get_group_memberships.py +0 -18
- pulumi_gcp/cloudidentity/get_groups.py +0 -18
- pulumi_gcp/cloudidentity/group.py +32 -44
- pulumi_gcp/cloudidentity/group_membership.py +26 -138
- pulumi_gcp/cloudidentity/outputs.py +132 -38
- pulumi_gcp/cloudids/endpoint.py +27 -49
- pulumi_gcp/cloudrun/_inputs.py +289 -61
- pulumi_gcp/cloudrun/domain_mapping.py +17 -69
- pulumi_gcp/cloudrun/get_locations.py +0 -18
- pulumi_gcp/cloudrun/get_service.py +0 -20
- pulumi_gcp/cloudrun/get_service_iam_policy.py +0 -22
- pulumi_gcp/cloudrun/iam_binding.py +16 -100
- pulumi_gcp/cloudrun/iam_member.py +16 -100
- pulumi_gcp/cloudrun/iam_policy.py +16 -94
- pulumi_gcp/cloudrun/outputs.py +826 -210
- pulumi_gcp/cloudrun/service.py +15 -447
- pulumi_gcp/cloudrunv2/_inputs.py +460 -94
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +0 -22
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +0 -22
- pulumi_gcp/cloudrunv2/job.py +41 -451
- pulumi_gcp/cloudrunv2/job_iam_binding.py +13 -93
- pulumi_gcp/cloudrunv2/job_iam_member.py +13 -93
- pulumi_gcp/cloudrunv2/job_iam_policy.py +13 -87
- pulumi_gcp/cloudrunv2/outputs.py +460 -94
- pulumi_gcp/cloudrunv2/service.py +47 -521
- pulumi_gcp/cloudrunv2/service_iam_binding.py +13 -93
- pulumi_gcp/cloudrunv2/service_iam_member.py +13 -93
- pulumi_gcp/cloudrunv2/service_iam_policy.py +13 -87
- pulumi_gcp/cloudscheduler/_inputs.py +64 -12
- pulumi_gcp/cloudscheduler/job.py +34 -156
- pulumi_gcp/cloudscheduler/outputs.py +64 -12
- pulumi_gcp/cloudtasks/_inputs.py +51 -11
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +0 -22
- pulumi_gcp/cloudtasks/outputs.py +51 -11
- pulumi_gcp/cloudtasks/queue.py +29 -95
- pulumi_gcp/cloudtasks/queue_iam_binding.py +13 -93
- pulumi_gcp/cloudtasks/queue_iam_member.py +13 -93
- pulumi_gcp/cloudtasks/queue_iam_policy.py +13 -87
- pulumi_gcp/composer/_inputs.py +239 -35
- pulumi_gcp/composer/environment.py +7 -7
- pulumi_gcp/composer/get_image_versions.py +0 -32
- pulumi_gcp/composer/outputs.py +707 -145
- pulumi_gcp/compute/_inputs.py +5087 -949
- pulumi_gcp/compute/address.py +32 -148
- pulumi_gcp/compute/attached_disk.py +16 -48
- pulumi_gcp/compute/autoscalar.py +21 -227
- pulumi_gcp/compute/autoscaler.py +21 -227
- pulumi_gcp/compute/backend_bucket.py +38 -132
- pulumi_gcp/compute/backend_bucket_iam_binding.py +13 -9
- pulumi_gcp/compute/backend_bucket_iam_member.py +13 -9
- pulumi_gcp/compute/backend_bucket_iam_policy.py +13 -3
- pulumi_gcp/compute/backend_bucket_signed_url_key.py +20 -38
- pulumi_gcp/compute/backend_service.py +103 -173
- pulumi_gcp/compute/backend_service_iam_binding.py +13 -9
- pulumi_gcp/compute/backend_service_iam_member.py +13 -9
- pulumi_gcp/compute/backend_service_iam_policy.py +13 -3
- pulumi_gcp/compute/backend_service_signed_url_key.py +20 -4
- pulumi_gcp/compute/ca_external_account_key.py +10 -18
- pulumi_gcp/compute/disk.py +74 -140
- pulumi_gcp/compute/disk_async_replication.py +21 -57
- pulumi_gcp/compute/disk_iam_binding.py +13 -93
- pulumi_gcp/compute/disk_iam_member.py +13 -93
- pulumi_gcp/compute/disk_iam_policy.py +13 -87
- pulumi_gcp/compute/disk_resource_policy_attachment.py +9 -57
- pulumi_gcp/compute/external_vpn_gateway.py +14 -148
- pulumi_gcp/compute/firewall.py +46 -98
- pulumi_gcp/compute/firewall_policy.py +26 -28
- pulumi_gcp/compute/firewall_policy_association.py +22 -34
- pulumi_gcp/compute/firewall_policy_rule.py +40 -106
- pulumi_gcp/compute/forwarding_rule.py +80 -76
- pulumi_gcp/compute/get_address.py +0 -32
- pulumi_gcp/compute/get_addresses.py +0 -32
- pulumi_gcp/compute/get_backend_bucket.py +0 -18
- pulumi_gcp/compute/get_certificate.py +0 -24
- pulumi_gcp/compute/get_default_service_account.py +0 -20
- pulumi_gcp/compute/get_disk.py +0 -30
- pulumi_gcp/compute/get_disk_iam_policy.py +0 -22
- pulumi_gcp/compute/get_forwarding_rule.py +0 -18
- pulumi_gcp/compute/get_global_address.py +0 -32
- pulumi_gcp/compute/get_global_forwarding_rule.py +0 -18
- pulumi_gcp/compute/get_hc_vpn_gateway.py +0 -18
- pulumi_gcp/compute/get_health_check.py +0 -18
- pulumi_gcp/compute/get_image.py +0 -32
- pulumi_gcp/compute/get_image_iam_policy.py +0 -20
- pulumi_gcp/compute/get_instance.py +0 -20
- pulumi_gcp/compute/get_instance_group.py +0 -16
- pulumi_gcp/compute/get_instance_group_manager.py +0 -22
- pulumi_gcp/compute/get_instance_iam_policy.py +0 -22
- pulumi_gcp/compute/get_instance_serial_port.py +0 -108
- pulumi_gcp/compute/get_instance_template.py +0 -22
- pulumi_gcp/compute/get_lbip_ranges.py +0 -34
- pulumi_gcp/compute/get_netblock_ip_ranges.py +0 -54
- pulumi_gcp/compute/get_network.py +0 -18
- pulumi_gcp/compute/get_network_endpoint_group.py +0 -22
- pulumi_gcp/compute/get_network_peering.py +0 -36
- pulumi_gcp/compute/get_node_types.py +0 -24
- pulumi_gcp/compute/get_region_disk_iam_policy.py +0 -22
- pulumi_gcp/compute/get_region_instance_group.py +0 -14
- pulumi_gcp/compute/get_region_instance_template.py +0 -22
- pulumi_gcp/compute/get_region_network_endpoint_group.py +0 -22
- pulumi_gcp/compute/get_region_ssl_certificate.py +0 -24
- pulumi_gcp/compute/get_regions.py +0 -26
- pulumi_gcp/compute/get_resource_policy.py +0 -16
- pulumi_gcp/compute/get_router.py +0 -20
- pulumi_gcp/compute/get_router_nat.py +0 -20
- pulumi_gcp/compute/get_router_status.py +0 -18
- pulumi_gcp/compute/get_snapshot.py +0 -22
- pulumi_gcp/compute/get_snapshot_iam_policy.py +0 -20
- pulumi_gcp/compute/get_ssl_policy.py +0 -18
- pulumi_gcp/compute/get_subnetwork.py +0 -20
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +0 -22
- pulumi_gcp/compute/get_vpn_gateway.py +0 -18
- pulumi_gcp/compute/global_address.py +24 -48
- pulumi_gcp/compute/global_forwarding_rule.py +55 -201
- pulumi_gcp/compute/global_network_endpoint.py +20 -32
- pulumi_gcp/compute/global_network_endpoint_group.py +19 -43
- pulumi_gcp/compute/ha_vpn_gateway.py +19 -149
- pulumi_gcp/compute/health_check.py +61 -463
- pulumi_gcp/compute/http_health_check.py +30 -24
- pulumi_gcp/compute/https_health_check.py +30 -24
- pulumi_gcp/compute/image.py +48 -94
- pulumi_gcp/compute/image_iam_binding.py +16 -204
- pulumi_gcp/compute/image_iam_member.py +16 -204
- pulumi_gcp/compute/image_iam_policy.py +16 -198
- pulumi_gcp/compute/instance.py +118 -132
- pulumi_gcp/compute/instance_from_machine_image.py +109 -75
- pulumi_gcp/compute/instance_from_template.py +116 -108
- pulumi_gcp/compute/instance_group.py +12 -72
- pulumi_gcp/compute/instance_group_manager.py +76 -152
- pulumi_gcp/compute/instance_group_named_port.py +12 -62
- pulumi_gcp/compute/instance_iam_binding.py +20 -216
- pulumi_gcp/compute/instance_iam_member.py +20 -216
- pulumi_gcp/compute/instance_iam_policy.py +20 -210
- pulumi_gcp/compute/instance_template.py +91 -277
- pulumi_gcp/compute/interconnect_attachment.py +45 -91
- pulumi_gcp/compute/machine_image.py +26 -104
- pulumi_gcp/compute/machine_image_iam_binding.py +20 -214
- pulumi_gcp/compute/machine_image_iam_member.py +20 -214
- pulumi_gcp/compute/machine_image_iam_policy.py +20 -208
- pulumi_gcp/compute/managed_ssl_certificate.py +19 -7
- pulumi_gcp/compute/manged_ssl_certificate.py +19 -7
- pulumi_gcp/compute/network.py +34 -62
- pulumi_gcp/compute/network_attachment.py +32 -4
- pulumi_gcp/compute/network_edge_security_service.py +18 -24
- pulumi_gcp/compute/network_endpoint.py +20 -74
- pulumi_gcp/compute/network_endpoint_group.py +19 -71
- pulumi_gcp/compute/network_endpoint_list.py +17 -113
- pulumi_gcp/compute/network_firewall_policy.py +16 -20
- pulumi_gcp/compute/network_firewall_policy_association.py +22 -32
- pulumi_gcp/compute/network_firewall_policy_rule.py +44 -116
- pulumi_gcp/compute/network_peering.py +38 -36
- pulumi_gcp/compute/network_peering_routes_config.py +26 -136
- pulumi_gcp/compute/node_group.py +40 -146
- pulumi_gcp/compute/node_template.py +32 -66
- pulumi_gcp/compute/organization_security_policy.py +18 -26
- pulumi_gcp/compute/organization_security_policy_association.py +22 -90
- pulumi_gcp/compute/organization_security_policy_rule.py +35 -81
- pulumi_gcp/compute/outputs.py +7994 -1670
- pulumi_gcp/compute/packet_mirroring.py +27 -25
- pulumi_gcp/compute/per_instance_config.py +30 -126
- pulumi_gcp/compute/project_default_network_tier.py +13 -21
- pulumi_gcp/compute/project_metadata.py +9 -61
- pulumi_gcp/compute/project_metadata_item.py +12 -26
- pulumi_gcp/compute/public_advertised_prefix.py +22 -26
- pulumi_gcp/compute/public_delegated_prefix.py +29 -37
- pulumi_gcp/compute/region_autoscaler.py +21 -113
- pulumi_gcp/compute/region_backend_service.py +87 -47
- pulumi_gcp/compute/region_backend_service_iam_binding.py +13 -9
- pulumi_gcp/compute/region_backend_service_iam_member.py +13 -9
- pulumi_gcp/compute/region_backend_service_iam_policy.py +13 -3
- pulumi_gcp/compute/region_commitment.py +30 -92
- pulumi_gcp/compute/region_disk.py +54 -172
- pulumi_gcp/compute/region_disk_iam_binding.py +13 -93
- pulumi_gcp/compute/region_disk_iam_member.py +13 -93
- pulumi_gcp/compute/region_disk_iam_policy.py +13 -87
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +9 -81
- pulumi_gcp/compute/region_health_check.py +61 -463
- pulumi_gcp/compute/region_instance_group_manager.py +84 -154
- pulumi_gcp/compute/region_instance_template.py +89 -39
- pulumi_gcp/compute/region_network_endpoint_group.py +39 -267
- pulumi_gcp/compute/region_network_firewall_policy.py +16 -22
- pulumi_gcp/compute/region_network_firewall_policy_association.py +22 -36
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +44 -120
- pulumi_gcp/compute/region_per_instance_config.py +30 -136
- pulumi_gcp/compute/region_security_policy.py +21 -111
- pulumi_gcp/compute/region_security_policy_rule.py +28 -254
- pulumi_gcp/compute/region_ssl_certificate.py +28 -84
- pulumi_gcp/compute/region_ssl_policy.py +23 -3
- pulumi_gcp/compute/region_target_http_proxy.py +19 -35
- pulumi_gcp/compute/region_target_https_proxy.py +30 -4
- pulumi_gcp/compute/region_target_tcp_proxy.py +27 -3
- pulumi_gcp/compute/region_url_map.py +34 -12
- pulumi_gcp/compute/reservation.py +30 -46
- pulumi_gcp/compute/resource_policy.py +28 -290
- pulumi_gcp/compute/route.py +44 -30
- pulumi_gcp/compute/router.py +18 -82
- pulumi_gcp/compute/router_interface.py +29 -29
- pulumi_gcp/compute/router_nat.py +72 -200
- pulumi_gcp/compute/router_peer.py +62 -250
- pulumi_gcp/compute/router_status.py +0 -18
- pulumi_gcp/compute/security_policy.py +23 -285
- pulumi_gcp/compute/security_scan_config.py +42 -40
- pulumi_gcp/compute/service_attachment.py +54 -6
- pulumi_gcp/compute/shared_vpc_host_project.py +9 -39
- pulumi_gcp/compute/shared_vpc_service_project.py +24 -32
- pulumi_gcp/compute/snapshot.py +43 -99
- pulumi_gcp/compute/snapshot_iam_binding.py +13 -87
- pulumi_gcp/compute/snapshot_iam_member.py +13 -87
- pulumi_gcp/compute/snapshot_iam_policy.py +13 -81
- pulumi_gcp/compute/ssl_certificate.py +28 -80
- pulumi_gcp/compute/ssl_policy.py +20 -38
- pulumi_gcp/compute/subnetwork.py +53 -167
- pulumi_gcp/compute/subnetwork_iam_binding.py +16 -216
- pulumi_gcp/compute/subnetwork_iam_member.py +16 -216
- pulumi_gcp/compute/subnetwork_iam_policy.py +16 -210
- pulumi_gcp/compute/target_grpc_proxy.py +20 -2
- pulumi_gcp/compute/target_http_proxy.py +27 -27
- pulumi_gcp/compute/target_https_proxy.py +47 -3
- pulumi_gcp/compute/target_instance.py +21 -97
- pulumi_gcp/compute/target_pool.py +28 -2
- pulumi_gcp/compute/target_ssl_proxy.py +35 -3
- pulumi_gcp/compute/target_tcp_proxy.py +27 -3
- pulumi_gcp/compute/url_map.py +39 -17
- pulumi_gcp/compute/vpn_gateway.py +15 -79
- pulumi_gcp/compute/vpn_tunnel.py +65 -173
- pulumi_gcp/config/outputs.py +7 -1
- pulumi_gcp/container/_inputs.py +2071 -599
- pulumi_gcp/container/attached_cluster.py +61 -127
- pulumi_gcp/container/aws_cluster.py +47 -471
- pulumi_gcp/container/aws_node_pool.py +43 -749
- pulumi_gcp/container/azure_client.py +25 -29
- pulumi_gcp/container/azure_cluster.py +59 -219
- pulumi_gcp/container/azure_node_pool.py +47 -179
- pulumi_gcp/container/cluster.py +291 -259
- pulumi_gcp/container/get_attached_install_manifest.py +0 -26
- pulumi_gcp/container/get_attached_versions.py +0 -22
- pulumi_gcp/container/get_aws_versions.py +0 -22
- pulumi_gcp/container/get_azure_versions.py +0 -22
- pulumi_gcp/container/get_cluster.py +0 -28
- pulumi_gcp/container/get_engine_versions.py +0 -32
- pulumi_gcp/container/get_registry_image.py +0 -20
- pulumi_gcp/container/get_registry_repository.py +0 -20
- pulumi_gcp/container/node_pool.py +55 -79
- pulumi_gcp/container/outputs.py +3951 -1067
- pulumi_gcp/container/registry.py +8 -54
- pulumi_gcp/containeranalysis/_inputs.py +57 -17
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +0 -20
- pulumi_gcp/containeranalysis/note.py +38 -82
- pulumi_gcp/containeranalysis/note_iam_binding.py +16 -94
- pulumi_gcp/containeranalysis/note_iam_member.py +16 -94
- pulumi_gcp/containeranalysis/note_iam_policy.py +16 -88
- pulumi_gcp/containeranalysis/occurence.py +28 -10
- pulumi_gcp/containeranalysis/outputs.py +57 -17
- pulumi_gcp/databasemigrationservice/_inputs.py +184 -34
- pulumi_gcp/databasemigrationservice/connection_profile.py +23 -251
- pulumi_gcp/databasemigrationservice/outputs.py +184 -34
- pulumi_gcp/datacatalog/_inputs.py +173 -41
- pulumi_gcp/datacatalog/entry.py +47 -171
- pulumi_gcp/datacatalog/entry_group.py +17 -41
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +20 -88
- pulumi_gcp/datacatalog/entry_group_iam_member.py +20 -88
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +20 -82
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +0 -18
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +0 -18
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +0 -18
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +0 -18
- pulumi_gcp/datacatalog/outputs.py +173 -41
- pulumi_gcp/datacatalog/policy_tag.py +22 -86
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +20 -88
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +20 -88
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +20 -82
- pulumi_gcp/datacatalog/tag.py +14 -504
- pulumi_gcp/datacatalog/tag_template.py +24 -100
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +20 -88
- pulumi_gcp/datacatalog/tag_template_iam_member.py +20 -88
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +20 -82
- pulumi_gcp/datacatalog/taxonomy.py +17 -25
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +16 -88
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +16 -88
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +16 -82
- pulumi_gcp/dataflow/_inputs.py +128 -14
- pulumi_gcp/dataflow/flex_template_job.py +79 -137
- pulumi_gcp/dataflow/job.py +62 -156
- pulumi_gcp/dataflow/outputs.py +128 -14
- pulumi_gcp/dataflow/pipeline.py +36 -116
- pulumi_gcp/dataform/_inputs.py +86 -12
- pulumi_gcp/dataform/outputs.py +86 -12
- pulumi_gcp/dataform/repository.py +16 -72
- pulumi_gcp/dataform/repository_release_config.py +28 -110
- pulumi_gcp/dataform/repository_workflow_config.py +28 -172
- pulumi_gcp/datafusion/_inputs.py +39 -11
- pulumi_gcp/datafusion/get_instance_iam_policy.py +0 -22
- pulumi_gcp/datafusion/instance.py +66 -222
- pulumi_gcp/datafusion/outputs.py +39 -11
- pulumi_gcp/dataloss/_inputs.py +2467 -517
- pulumi_gcp/dataloss/outputs.py +2467 -517
- pulumi_gcp/dataloss/prevention_deidentify_template.py +29 -81
- pulumi_gcp/dataloss/prevention_inspect_template.py +22 -256
- pulumi_gcp/dataloss/prevention_job_trigger.py +31 -671
- pulumi_gcp/dataloss/prevention_stored_info_type.py +24 -168
- pulumi_gcp/dataplex/_inputs.py +656 -122
- pulumi_gcp/dataplex/asset.py +49 -91
- pulumi_gcp/dataplex/asset_iam_binding.py +26 -114
- pulumi_gcp/dataplex/asset_iam_member.py +26 -114
- pulumi_gcp/dataplex/asset_iam_policy.py +26 -108
- pulumi_gcp/dataplex/datascan.py +52 -418
- pulumi_gcp/dataplex/datascan_iam_binding.py +20 -100
- pulumi_gcp/dataplex/datascan_iam_member.py +20 -100
- pulumi_gcp/dataplex/datascan_iam_policy.py +20 -94
- pulumi_gcp/dataplex/get_asset_iam_policy.py +0 -26
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +0 -22
- pulumi_gcp/dataplex/get_lake_iam_policy.py +0 -22
- pulumi_gcp/dataplex/get_task_iam_policy.py +0 -24
- pulumi_gcp/dataplex/get_zone_iam_policy.py +0 -24
- pulumi_gcp/dataplex/lake.py +24 -38
- pulumi_gcp/dataplex/lake_iam_binding.py +16 -100
- pulumi_gcp/dataplex/lake_iam_member.py +16 -100
- pulumi_gcp/dataplex/lake_iam_policy.py +16 -94
- pulumi_gcp/dataplex/outputs.py +656 -122
- pulumi_gcp/dataplex/task.py +38 -24
- pulumi_gcp/dataplex/task_iam_binding.py +23 -107
- pulumi_gcp/dataplex/task_iam_member.py +23 -107
- pulumi_gcp/dataplex/task_iam_policy.py +23 -101
- pulumi_gcp/dataplex/zone.py +41 -75
- pulumi_gcp/dataplex/zone_iam_binding.py +23 -107
- pulumi_gcp/dataplex/zone_iam_member.py +23 -107
- pulumi_gcp/dataplex/zone_iam_policy.py +23 -101
- pulumi_gcp/dataproc/_inputs.py +1364 -224
- pulumi_gcp/dataproc/autoscaling_policy.py +28 -72
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +20 -100
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +20 -100
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +20 -94
- pulumi_gcp/dataproc/cluster.py +20 -182
- pulumi_gcp/dataproc/cluster_iam_binding.py +16 -92
- pulumi_gcp/dataproc/cluster_iam_member.py +16 -92
- pulumi_gcp/dataproc/cluster_iam_policy.py +16 -86
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +0 -22
- pulumi_gcp/dataproc/get_cluster_iam_policy.py +0 -20
- pulumi_gcp/dataproc/get_job_iam_policy.py +0 -20
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +0 -22
- pulumi_gcp/dataproc/job.py +55 -141
- pulumi_gcp/dataproc/job_iam_binding.py +20 -92
- pulumi_gcp/dataproc/job_iam_member.py +20 -92
- pulumi_gcp/dataproc/job_iam_policy.py +20 -86
- pulumi_gcp/dataproc/metastore_federation.py +27 -125
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +20 -10
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +20 -10
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +20 -4
- pulumi_gcp/dataproc/metastore_service.py +62 -236
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +20 -100
- pulumi_gcp/dataproc/metastore_service_iam_member.py +20 -100
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +20 -94
- pulumi_gcp/dataproc/outputs.py +1364 -224
- pulumi_gcp/dataproc/workflow_template.py +24 -132
- pulumi_gcp/datastore/_inputs.py +9 -3
- pulumi_gcp/datastore/data_store_index.py +11 -41
- pulumi_gcp/datastore/outputs.py +9 -3
- pulumi_gcp/datastream/_inputs.py +543 -113
- pulumi_gcp/datastream/connection_profile.py +58 -274
- pulumi_gcp/datastream/get_static_ips.py +0 -22
- pulumi_gcp/datastream/outputs.py +543 -113
- pulumi_gcp/datastream/private_connection.py +31 -49
- pulumi_gcp/datastream/stream.py +57 -1017
- pulumi_gcp/deploymentmanager/_inputs.py +18 -6
- pulumi_gcp/deploymentmanager/deployment.py +22 -42
- pulumi_gcp/deploymentmanager/outputs.py +18 -6
- pulumi_gcp/diagflow/_inputs.py +790 -152
- pulumi_gcp/diagflow/agent.py +53 -51
- pulumi_gcp/diagflow/cx_agent.py +57 -59
- pulumi_gcp/diagflow/cx_entity_type.py +35 -95
- pulumi_gcp/diagflow/cx_environment.py +22 -74
- pulumi_gcp/diagflow/cx_flow.py +34 -546
- pulumi_gcp/diagflow/cx_intent.py +25 -105
- pulumi_gcp/diagflow/cx_page.py +35 -1117
- pulumi_gcp/diagflow/cx_security_settings.py +54 -142
- pulumi_gcp/diagflow/cx_test_case.py +26 -268
- pulumi_gcp/diagflow/cx_version.py +17 -59
- pulumi_gcp/diagflow/cx_webhook.py +37 -73
- pulumi_gcp/diagflow/entity_type.py +20 -66
- pulumi_gcp/diagflow/fulfillment.py +18 -54
- pulumi_gcp/diagflow/intent.py +45 -109
- pulumi_gcp/diagflow/outputs.py +790 -152
- pulumi_gcp/dns/_inputs.py +362 -88
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +20 -94
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +20 -94
- pulumi_gcp/dns/dns_managed_zone_iam_policy.py +20 -88
- pulumi_gcp/dns/get_keys.py +0 -32
- pulumi_gcp/dns/get_managed_zone.py +0 -26
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +0 -20
- pulumi_gcp/dns/get_record_set.py +0 -24
- pulumi_gcp/dns/managed_zone.py +57 -421
- pulumi_gcp/dns/outputs.py +465 -115
- pulumi_gcp/dns/policy.py +19 -69
- pulumi_gcp/dns/record_set.py +24 -336
- pulumi_gcp/dns/response_policy.py +17 -121
- pulumi_gcp/dns/response_policy_rule.py +32 -72
- pulumi_gcp/edgenetwork/network.py +23 -37
- pulumi_gcp/edgenetwork/subnet.py +38 -100
- pulumi_gcp/endpoints/_inputs.py +49 -15
- pulumi_gcp/endpoints/consumers_iam_binding.py +27 -11
- pulumi_gcp/endpoints/consumers_iam_member.py +27 -11
- pulumi_gcp/endpoints/consumers_iam_policy.py +27 -5
- pulumi_gcp/endpoints/get_service_iam_policy.py +0 -18
- pulumi_gcp/endpoints/outputs.py +49 -15
- pulumi_gcp/endpoints/service.py +29 -43
- pulumi_gcp/endpoints/service_iam_binding.py +20 -88
- pulumi_gcp/endpoints/service_iam_member.py +20 -88
- pulumi_gcp/endpoints/service_iam_policy.py +20 -82
- pulumi_gcp/essentialcontacts/_inputs.py +148 -24
- pulumi_gcp/essentialcontacts/contact.py +26 -32
- pulumi_gcp/essentialcontacts/document_ai_processor.py +23 -27
- pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +12 -32
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +34 -590
- pulumi_gcp/essentialcontacts/document_ai_warehouse_location.py +38 -36
- pulumi_gcp/essentialcontacts/outputs.py +148 -24
- pulumi_gcp/eventarc/_inputs.py +43 -13
- pulumi_gcp/eventarc/channel.py +25 -45
- pulumi_gcp/eventarc/google_channel_config.py +15 -43
- pulumi_gcp/eventarc/outputs.py +43 -13
- pulumi_gcp/eventarc/trigger.py +32 -96
- pulumi_gcp/filestore/_inputs.py +43 -7
- pulumi_gcp/filestore/backup.py +35 -61
- pulumi_gcp/filestore/instance.py +26 -154
- pulumi_gcp/filestore/outputs.py +43 -7
- pulumi_gcp/filestore/snapshot.py +16 -96
- pulumi_gcp/firebase/_inputs.py +70 -20
- pulumi_gcp/firebase/android_app.py +35 -85
- pulumi_gcp/firebase/apple_app.py +38 -76
- pulumi_gcp/firebase/database_instance.py +22 -110
- pulumi_gcp/firebase/extensions_instance.py +31 -89
- pulumi_gcp/firebase/hosting_channel.py +28 -74
- pulumi_gcp/firebase/hosting_release.py +23 -149
- pulumi_gcp/firebase/hosting_site.py +16 -58
- pulumi_gcp/firebase/hosting_version.py +16 -226
- pulumi_gcp/firebase/outputs.py +70 -20
- pulumi_gcp/firebase/project.py +10 -34
- pulumi_gcp/firebase/project_location.py +13 -43
- pulumi_gcp/firebase/storage_bucket.py +10 -32
- pulumi_gcp/firebase/web_app.py +25 -123
- pulumi_gcp/firebaserules/_inputs.py +18 -6
- pulumi_gcp/firebaserules/outputs.py +18 -6
- pulumi_gcp/firebaserules/release.py +17 -103
- pulumi_gcp/firebaserules/ruleset.py +12 -72
- pulumi_gcp/firestore/_inputs.py +20 -4
- pulumi_gcp/firestore/database.py +42 -30
- pulumi_gcp/firestore/document.py +23 -73
- pulumi_gcp/firestore/field.py +22 -136
- pulumi_gcp/firestore/index.py +16 -44
- pulumi_gcp/firestore/outputs.py +20 -4
- pulumi_gcp/folder/_inputs.py +63 -17
- pulumi_gcp/folder/access_approval_settings.py +34 -112
- pulumi_gcp/folder/get_iam_policy.py +0 -18
- pulumi_gcp/folder/get_organization_policy.py +0 -22
- pulumi_gcp/folder/iam_audit_config.py +19 -247
- pulumi_gcp/folder/iam_binding.py +16 -40
- pulumi_gcp/folder/iam_member.py +16 -252
- pulumi_gcp/folder/iam_policy.py +16 -246
- pulumi_gcp/folder/organization_policy.py +29 -145
- pulumi_gcp/folder/outputs.py +112 -32
- pulumi_gcp/gameservices/_inputs.py +60 -14
- pulumi_gcp/gameservices/game_server_cluster.py +28 -10
- pulumi_gcp/gameservices/game_server_config.py +31 -139
- pulumi_gcp/gameservices/game_server_deployment.py +13 -23
- pulumi_gcp/gameservices/game_server_deployment_rollout.py +24 -96
- pulumi_gcp/gameservices/get_game_server_deployment_rollout.py +0 -18
- pulumi_gcp/gameservices/outputs.py +79 -19
- pulumi_gcp/gameservices/realm.py +20 -28
- pulumi_gcp/gkebackup/_inputs.py +203 -43
- pulumi_gcp/gkebackup/backup_plan.py +31 -285
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +13 -93
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +13 -93
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +13 -87
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +0 -22
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +0 -22
- pulumi_gcp/gkebackup/outputs.py +203 -43
- pulumi_gcp/gkebackup/restore_plan.py +29 -611
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +13 -609
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +13 -609
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +13 -603
- pulumi_gcp/gkehub/_inputs.py +224 -50
- pulumi_gcp/gkehub/feature.py +18 -212
- pulumi_gcp/gkehub/feature_iam_binding.py +13 -93
- pulumi_gcp/gkehub/feature_iam_member.py +13 -93
- pulumi_gcp/gkehub/feature_iam_policy.py +13 -87
- pulumi_gcp/gkehub/feature_membership.py +17 -259
- pulumi_gcp/gkehub/get_feature_iam_policy.py +0 -22
- pulumi_gcp/gkehub/get_membership_iam_policy.py +0 -20
- pulumi_gcp/gkehub/get_scope_iam_policy.py +0 -20
- pulumi_gcp/gkehub/membership.py +15 -93
- pulumi_gcp/gkehub/membership_binding.py +32 -6
- pulumi_gcp/gkehub/membership_iam_binding.py +20 -94
- pulumi_gcp/gkehub/membership_iam_member.py +20 -94
- pulumi_gcp/gkehub/membership_iam_policy.py +20 -88
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +36 -12
- pulumi_gcp/gkehub/namespace.py +33 -5
- pulumi_gcp/gkehub/outputs.py +224 -50
- pulumi_gcp/gkehub/scope.py +19 -31
- pulumi_gcp/gkehub/scope_iam_binding.py +20 -94
- pulumi_gcp/gkehub/scope_iam_member.py +20 -94
- pulumi_gcp/gkehub/scope_iam_policy.py +20 -88
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +30 -10
- pulumi_gcp/gkeonprem/_inputs.py +889 -201
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +65 -385
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +102 -638
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +34 -368
- pulumi_gcp/gkeonprem/outputs.py +889 -201
- pulumi_gcp/gkeonprem/v_mware_cluster.py +81 -465
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +37 -273
- pulumi_gcp/healthcare/_inputs.py +192 -52
- pulumi_gcp/healthcare/consent_store.py +17 -85
- pulumi_gcp/healthcare/consent_store_iam_binding.py +23 -95
- pulumi_gcp/healthcare/consent_store_iam_member.py +23 -95
- pulumi_gcp/healthcare/consent_store_iam_policy.py +23 -89
- pulumi_gcp/healthcare/dataset.py +15 -23
- pulumi_gcp/healthcare/dataset_iam_binding.py +20 -88
- pulumi_gcp/healthcare/dataset_iam_member.py +20 -88
- pulumi_gcp/healthcare/dataset_iam_policy.py +20 -82
- pulumi_gcp/healthcare/dicom_store.py +20 -114
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +20 -88
- pulumi_gcp/healthcare/dicom_store_iam_member.py +20 -88
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +20 -82
- pulumi_gcp/healthcare/fhir_store.py +48 -228
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +20 -88
- pulumi_gcp/healthcare/fhir_store_iam_member.py +20 -88
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +20 -82
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +0 -20
- pulumi_gcp/healthcare/get_dataset_iam_policy.py +0 -18
- pulumi_gcp/healthcare/get_dicom_store_iam_policy.py +0 -18
- pulumi_gcp/healthcare/get_fhir_store_iam_policy.py +0 -18
- pulumi_gcp/healthcare/get_hl7_v2_store_iam_policy.py +0 -18
- pulumi_gcp/healthcare/hl7_store.py +25 -271
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +20 -88
- pulumi_gcp/healthcare/hl7_store_iam_member.py +20 -88
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +20 -82
- pulumi_gcp/healthcare/outputs.py +192 -52
- pulumi_gcp/iam/_inputs.py +117 -35
- pulumi_gcp/iam/access_boundary_policy.py +16 -4
- pulumi_gcp/iam/deny_policy.py +16 -4
- pulumi_gcp/iam/get_rule.py +0 -16
- pulumi_gcp/iam/get_testable_permissions.py +0 -30
- pulumi_gcp/iam/get_workload_identity_pool.py +0 -16
- pulumi_gcp/iam/get_workload_identity_pool_provider.py +0 -20
- pulumi_gcp/iam/outputs.py +165 -47
- pulumi_gcp/iam/workforce_pool.py +27 -57
- pulumi_gcp/iam/workforce_pool_provider.py +37 -268
- pulumi_gcp/iam/workload_identity_pool.py +17 -43
- pulumi_gcp/iam/workload_identity_pool_provider.py +34 -290
- pulumi_gcp/iap/_inputs.py +162 -54
- pulumi_gcp/iap/app_engine_service_iam_binding.py +23 -217
- pulumi_gcp/iap/app_engine_service_iam_member.py +23 -217
- pulumi_gcp/iap/app_engine_service_iam_policy.py +23 -211
- pulumi_gcp/iap/app_engine_version_iam_binding.py +30 -230
- pulumi_gcp/iap/app_engine_version_iam_member.py +30 -230
- pulumi_gcp/iap/app_engine_version_iam_policy.py +30 -224
- pulumi_gcp/iap/brand.py +22 -38
- pulumi_gcp/iap/client.py +18 -44
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +0 -22
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +0 -24
- pulumi_gcp/iap/get_client.py +0 -22
- pulumi_gcp/iap/get_tunnel_iam_policy.py +0 -18
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +0 -22
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +0 -20
- pulumi_gcp/iap/get_web_iam_policy.py +0 -18
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +0 -22
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +0 -20
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +0 -18
- pulumi_gcp/iap/outputs.py +162 -54
- pulumi_gcp/iap/tunnel_iam_binding.py +13 -191
- pulumi_gcp/iap/tunnel_iam_member.py +13 -191
- pulumi_gcp/iap/tunnel_iam_policy.py +13 -185
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +16 -216
- pulumi_gcp/iap/tunnel_instance_iam_member.py +16 -216
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +16 -210
- pulumi_gcp/iap/web_backend_service_iam_binding.py +20 -204
- pulumi_gcp/iap/web_backend_service_iam_member.py +20 -204
- pulumi_gcp/iap/web_backend_service_iam_policy.py +20 -198
- pulumi_gcp/iap/web_iam_binding.py +13 -191
- pulumi_gcp/iap/web_iam_member.py +13 -191
- pulumi_gcp/iap/web_iam_policy.py +13 -185
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +20 -216
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +20 -216
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +20 -210
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +20 -204
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +20 -204
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +20 -198
- pulumi_gcp/iap/web_type_compute_iam_binding.py +13 -191
- pulumi_gcp/iap/web_type_compute_iam_member.py +13 -191
- pulumi_gcp/iap/web_type_compute_iam_policy.py +13 -185
- pulumi_gcp/identityplatform/_inputs.py +202 -38
- pulumi_gcp/identityplatform/config.py +25 -135
- pulumi_gcp/identityplatform/default_supported_idp_config.py +27 -29
- pulumi_gcp/identityplatform/inbound_saml_config.py +29 -57
- pulumi_gcp/identityplatform/oauth_idp_config.py +24 -30
- pulumi_gcp/identityplatform/outputs.py +202 -38
- pulumi_gcp/identityplatform/project_default_config.py +11 -53
- pulumi_gcp/identityplatform/tenant.py +25 -23
- pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +30 -34
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +32 -62
- pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +30 -36
- pulumi_gcp/iot/_inputs.py +85 -19
- pulumi_gcp/iot/device.py +34 -74
- pulumi_gcp/iot/get_registry_iam_policy.py +0 -22
- pulumi_gcp/iot/outputs.py +85 -19
- pulumi_gcp/iot/registry.py +26 -116
- pulumi_gcp/iot/registry_iam_binding.py +13 -93
- pulumi_gcp/iot/registry_iam_member.py +13 -93
- pulumi_gcp/iot/registry_iam_policy.py +13 -87
- pulumi_gcp/kms/_inputs.py +91 -23
- pulumi_gcp/kms/crypto_key.py +34 -58
- pulumi_gcp/kms/crypto_key_iam_binding.py +20 -174
- pulumi_gcp/kms/crypto_key_iam_member.py +20 -174
- pulumi_gcp/kms/crypto_key_iam_policy.py +20 -168
- pulumi_gcp/kms/crypto_key_version.py +17 -27
- pulumi_gcp/kms/get_crypto_key_iam_policy.py +0 -18
- pulumi_gcp/kms/get_key_ring_iam_policy.py +0 -18
- pulumi_gcp/kms/get_kms_crypto_key.py +0 -24
- pulumi_gcp/kms/get_kms_crypto_key_version.py +0 -26
- pulumi_gcp/kms/get_kms_key_ring.py +0 -20
- pulumi_gcp/kms/key_ring.py +9 -19
- pulumi_gcp/kms/key_ring_iam_binding.py +20 -200
- pulumi_gcp/kms/key_ring_iam_member.py +20 -200
- pulumi_gcp/kms/key_ring_iam_policy.py +20 -194
- pulumi_gcp/kms/key_ring_import_job.py +38 -6
- pulumi_gcp/kms/outputs.py +111 -29
- pulumi_gcp/kms/registry.py +26 -116
- pulumi_gcp/kms/secret_ciphertext.py +20 -62
- pulumi_gcp/logging/_inputs.py +171 -39
- pulumi_gcp/logging/billing_account_bucket_config.py +34 -38
- pulumi_gcp/logging/billing_account_exclusion.py +16 -28
- pulumi_gcp/logging/billing_account_sink.py +23 -43
- pulumi_gcp/logging/folder_bucket_config.py +30 -42
- pulumi_gcp/logging/folder_exclusion.py +12 -34
- pulumi_gcp/logging/folder_sink.py +23 -51
- pulumi_gcp/logging/get_project_cmek_settings.py +0 -16
- pulumi_gcp/logging/get_sink.py +0 -16
- pulumi_gcp/logging/linked_dataset.py +24 -74
- pulumi_gcp/logging/log_view.py +13 -35
- pulumi_gcp/logging/metric.py +31 -215
- pulumi_gcp/logging/organization_bucket_config.py +30 -38
- pulumi_gcp/logging/organization_exclusion.py +16 -28
- pulumi_gcp/logging/organization_sink.py +27 -45
- pulumi_gcp/logging/outputs.py +194 -46
- pulumi_gcp/logging/project_bucket_config.py +34 -148
- pulumi_gcp/logging/project_exclusion.py +9 -25
- pulumi_gcp/logging/project_sink.py +20 -8
- pulumi_gcp/looker/_inputs.py +77 -17
- pulumi_gcp/looker/instance.py +70 -294
- pulumi_gcp/looker/outputs.py +77 -17
- pulumi_gcp/memcache/_inputs.py +59 -13
- pulumi_gcp/memcache/instance.py +53 -93
- pulumi_gcp/memcache/outputs.py +59 -13
- pulumi_gcp/ml/_inputs.py +6 -2
- pulumi_gcp/ml/engine_model.py +19 -57
- pulumi_gcp/ml/outputs.py +6 -2
- pulumi_gcp/monitoring/_inputs.py +411 -83
- pulumi_gcp/monitoring/alert_policy.py +35 -173
- pulumi_gcp/monitoring/custom_service.py +19 -41
- pulumi_gcp/monitoring/dashboard.py +13 -179
- pulumi_gcp/monitoring/generic_service.py +26 -48
- pulumi_gcp/monitoring/get_app_engine_service.py +0 -56
- pulumi_gcp/monitoring/get_cluster_istio_service.py +0 -22
- pulumi_gcp/monitoring/get_istio_canonical_service.py +0 -20
- pulumi_gcp/monitoring/get_mesh_istio_service.py +0 -20
- pulumi_gcp/monitoring/get_notification_channel.py +0 -48
- pulumi_gcp/monitoring/get_secret_version.py +0 -18
- pulumi_gcp/monitoring/get_uptime_check_i_ps.py +0 -20
- pulumi_gcp/monitoring/group.py +24 -52
- pulumi_gcp/monitoring/metric_descriptor.py +40 -110
- pulumi_gcp/monitoring/monitored_project.py +15 -25
- pulumi_gcp/monitoring/notification_channel.py +28 -68
- pulumi_gcp/monitoring/outputs.py +473 -99
- pulumi_gcp/monitoring/slo.py +47 -113
- pulumi_gcp/monitoring/uptime_check_config.py +55 -363
- pulumi_gcp/networkconnectivity/_inputs.py +80 -18
- pulumi_gcp/networkconnectivity/hub.py +14 -28
- pulumi_gcp/networkconnectivity/outputs.py +80 -18
- pulumi_gcp/networkconnectivity/service_connection_policy.py +30 -52
- pulumi_gcp/networkconnectivity/spoke.py +38 -168
- pulumi_gcp/networkmanagement/_inputs.py +16 -2
- pulumi_gcp/networkmanagement/connectivity_test.py +18 -164
- pulumi_gcp/networkmanagement/outputs.py +16 -2
- pulumi_gcp/networksecurity/_inputs.py +136 -30
- pulumi_gcp/networksecurity/address_group.py +19 -85
- pulumi_gcp/networksecurity/authorization_policy.py +13 -101
- pulumi_gcp/networksecurity/client_tls_policy.py +19 -95
- pulumi_gcp/networksecurity/gateway_security_policy.py +16 -194
- pulumi_gcp/networksecurity/gateway_security_policy_rule.py +50 -84
- pulumi_gcp/networksecurity/outputs.py +136 -30
- pulumi_gcp/networksecurity/server_tls_policy.py +24 -164
- pulumi_gcp/networksecurity/tls_inspection_policy.py +21 -165
- pulumi_gcp/networksecurity/url_list.py +16 -54
- pulumi_gcp/networkservices/_inputs.py +643 -111
- pulumi_gcp/networkservices/edge_cache_keyset.py +14 -88
- pulumi_gcp/networkservices/edge_cache_origin.py +41 -203
- pulumi_gcp/networkservices/edge_cache_service.py +43 -493
- pulumi_gcp/networkservices/endpoint_policy.py +38 -110
- pulumi_gcp/networkservices/gateway.py +34 -272
- pulumi_gcp/networkservices/grpc_route.py +18 -226
- pulumi_gcp/networkservices/http_route.py +18 -472
- pulumi_gcp/networkservices/mesh.py +16 -56
- pulumi_gcp/networkservices/outputs.py +643 -111
- pulumi_gcp/networkservices/service_binding.py +13 -55
- pulumi_gcp/networkservices/tcp_route.py +15 -3
- pulumi_gcp/networkservices/tls_route.py +15 -3
- pulumi_gcp/notebooks/_inputs.py +218 -42
- pulumi_gcp/notebooks/environment.py +29 -37
- pulumi_gcp/notebooks/get_instance_iam_policy.py +0 -22
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +0 -22
- pulumi_gcp/notebooks/instance.py +115 -187
- pulumi_gcp/notebooks/instance_iam_binding.py +20 -100
- pulumi_gcp/notebooks/instance_iam_member.py +20 -100
- pulumi_gcp/notebooks/instance_iam_policy.py +20 -94
- pulumi_gcp/notebooks/location.py +8 -2
- pulumi_gcp/notebooks/outputs.py +218 -42
- pulumi_gcp/notebooks/runtime.py +26 -310
- pulumi_gcp/notebooks/runtime_iam_binding.py +20 -100
- pulumi_gcp/notebooks/runtime_iam_member.py +20 -100
- pulumi_gcp/notebooks/runtime_iam_policy.py +20 -94
- pulumi_gcp/organizations/_inputs.py +102 -28
- pulumi_gcp/organizations/access_approval_settings.py +34 -112
- pulumi_gcp/organizations/folder.py +22 -36
- pulumi_gcp/organizations/get_active_folder.py +0 -20
- pulumi_gcp/organizations/get_billing_account.py +0 -24
- pulumi_gcp/organizations/get_client_config.py +2 -18
- pulumi_gcp/organizations/get_client_open_id_user_info.py +0 -18
- pulumi_gcp/organizations/get_folder.py +0 -22
- pulumi_gcp/organizations/get_folders.py +0 -18
- pulumi_gcp/organizations/get_iam_policy.py +0 -62
- pulumi_gcp/organizations/get_organization.py +0 -20
- pulumi_gcp/organizations/get_project.py +0 -20
- pulumi_gcp/organizations/iam_audit_config.py +23 -35
- pulumi_gcp/organizations/iam_binding.py +20 -34
- pulumi_gcp/organizations/iam_custom_role.py +26 -46
- pulumi_gcp/organizations/iam_member.py +20 -264
- pulumi_gcp/organizations/iam_policy.py +20 -258
- pulumi_gcp/organizations/outputs.py +137 -37
- pulumi_gcp/organizations/policy.py +33 -145
- pulumi_gcp/organizations/project.py +33 -53
- pulumi_gcp/orgpolicy/_inputs.py +24 -4
- pulumi_gcp/orgpolicy/custom_constraint.py +39 -95
- pulumi_gcp/orgpolicy/outputs.py +24 -4
- pulumi_gcp/orgpolicy/policy.py +10 -164
- pulumi_gcp/osconfig/_inputs.py +895 -203
- pulumi_gcp/osconfig/guest_policies.py +25 -277
- pulumi_gcp/osconfig/os_policy_assignment.py +38 -184
- pulumi_gcp/osconfig/outputs.py +895 -203
- pulumi_gcp/osconfig/patch_deployment.py +43 -473
- pulumi_gcp/oslogin/ssh_public_key.py +16 -26
- pulumi_gcp/projects/_inputs.py +127 -31
- pulumi_gcp/projects/access_approval_settings.py +34 -96
- pulumi_gcp/projects/api_key.py +13 -215
- pulumi_gcp/projects/default_service_accounts.py +18 -50
- pulumi_gcp/projects/get_iam_policy.py +0 -18
- pulumi_gcp/projects/get_organization_policy.py +0 -22
- pulumi_gcp/projects/get_project.py +0 -18
- pulumi_gcp/projects/get_project_service.py +0 -18
- pulumi_gcp/projects/iam_audit_config.py +19 -247
- pulumi_gcp/projects/iam_binding.py +16 -252
- pulumi_gcp/projects/iam_custom_role.py +19 -43
- pulumi_gcp/projects/iam_member.py +16 -252
- pulumi_gcp/projects/iam_policy.py +16 -246
- pulumi_gcp/projects/organization_policy.py +29 -145
- pulumi_gcp/projects/outputs.py +206 -54
- pulumi_gcp/projects/service.py +17 -27
- pulumi_gcp/projects/service_identity.py +9 -35
- pulumi_gcp/projects/usage_export_bucket.py +13 -53
- pulumi_gcp/provider.py +294 -6
- pulumi_gcp/pubsub/_inputs.py +171 -41
- pulumi_gcp/pubsub/get_subscription.py +0 -18
- pulumi_gcp/pubsub/get_subscription_iam_policy.py +0 -18
- pulumi_gcp/pubsub/get_topic.py +0 -18
- pulumi_gcp/pubsub/get_topic_iam_policy.py +0 -20
- pulumi_gcp/pubsub/lite_reservation.py +13 -25
- pulumi_gcp/pubsub/lite_subscription.py +14 -58
- pulumi_gcp/pubsub/lite_topic.py +21 -69
- pulumi_gcp/pubsub/outputs.py +323 -79
- pulumi_gcp/pubsub/schema.py +6 -94
- pulumi_gcp/pubsub/subscription.py +59 -251
- pulumi_gcp/pubsub/subscription_iam_binding.py +16 -88
- pulumi_gcp/pubsub/subscription_iam_member.py +16 -88
- pulumi_gcp/pubsub/subscription_iam_policy.py +16 -82
- pulumi_gcp/pubsub/topic.py +24 -134
- pulumi_gcp/pubsub/topic_iam_binding.py +16 -94
- pulumi_gcp/pubsub/topic_iam_member.py +16 -94
- pulumi_gcp/pubsub/topic_iam_policy.py +16 -88
- pulumi_gcp/recaptcha/_inputs.py +37 -5
- pulumi_gcp/recaptcha/enterprise_key.py +35 -223
- pulumi_gcp/recaptcha/outputs.py +37 -5
- pulumi_gcp/redis/_inputs.py +92 -16
- pulumi_gcp/redis/cluster.py +42 -72
- pulumi_gcp/redis/get_instance.py +0 -24
- pulumi_gcp/redis/instance.py +95 -273
- pulumi_gcp/redis/outputs.py +218 -48
- pulumi_gcp/resourcemanager/lien.py +20 -32
- pulumi_gcp/runtimeconfig/_inputs.py +18 -6
- pulumi_gcp/runtimeconfig/config.py +6 -24
- pulumi_gcp/runtimeconfig/config_iam_binding.py +16 -10
- pulumi_gcp/runtimeconfig/config_iam_member.py +16 -10
- pulumi_gcp/runtimeconfig/config_iam_policy.py +16 -4
- pulumi_gcp/runtimeconfig/get_config.py +2 -18
- pulumi_gcp/runtimeconfig/get_variable.py +2 -20
- pulumi_gcp/runtimeconfig/outputs.py +18 -6
- pulumi_gcp/runtimeconfig/variable.py +11 -63
- pulumi_gcp/secretmanager/_inputs.py +71 -19
- pulumi_gcp/secretmanager/get_secret.py +0 -18
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +0 -20
- pulumi_gcp/secretmanager/get_secret_version.py +0 -18
- pulumi_gcp/secretmanager/get_secret_version_access.py +0 -18
- pulumi_gcp/secretmanager/outputs.py +145 -39
- pulumi_gcp/secretmanager/secret.py +28 -150
- pulumi_gcp/secretmanager/secret_iam_binding.py +20 -94
- pulumi_gcp/secretmanager/secret_iam_member.py +20 -94
- pulumi_gcp/secretmanager/secret_iam_policy.py +20 -88
- pulumi_gcp/secretmanager/secret_version.py +28 -162
- pulumi_gcp/securitycenter/_inputs.py +89 -27
- pulumi_gcp/securitycenter/get_source_iam_policy.py +0 -18
- pulumi_gcp/securitycenter/instance_iam_binding.py +13 -213
- pulumi_gcp/securitycenter/instance_iam_member.py +13 -213
- pulumi_gcp/securitycenter/instance_iam_policy.py +13 -207
- pulumi_gcp/securitycenter/mute_config.py +25 -29
- pulumi_gcp/securitycenter/notification_config.py +33 -43
- pulumi_gcp/securitycenter/outputs.py +89 -27
- pulumi_gcp/securitycenter/project_custom_module.py +34 -122
- pulumi_gcp/securitycenter/source.py +16 -26
- pulumi_gcp/securitycenter/source_iam_binding.py +19 -33
- pulumi_gcp/securitycenter/source_iam_member.py +19 -33
- pulumi_gcp/securitycenter/source_iam_policy.py +19 -27
- pulumi_gcp/serviceaccount/_inputs.py +18 -6
- pulumi_gcp/serviceaccount/account.py +19 -29
- pulumi_gcp/serviceaccount/get_account.py +0 -18
- pulumi_gcp/serviceaccount/get_account_access_token.py +0 -76
- pulumi_gcp/serviceaccount/get_account_id_token.py +0 -32
- pulumi_gcp/serviceaccount/get_account_jwt.py +0 -36
- pulumi_gcp/serviceaccount/get_account_key.py +0 -24
- pulumi_gcp/serviceaccount/get_iam_policy.py +0 -18
- pulumi_gcp/serviceaccount/iam_binding.py +20 -188
- pulumi_gcp/serviceaccount/iam_member.py +20 -188
- pulumi_gcp/serviceaccount/iam_policy.py +20 -182
- pulumi_gcp/serviceaccount/key.py +37 -65
- pulumi_gcp/serviceaccount/outputs.py +18 -6
- pulumi_gcp/servicedirectory/_inputs.py +36 -12
- pulumi_gcp/servicedirectory/endpoint.py +16 -110
- pulumi_gcp/servicedirectory/namespace.py +16 -34
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +13 -85
- pulumi_gcp/servicedirectory/namespace_iam_member.py +13 -85
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +13 -79
- pulumi_gcp/servicedirectory/outputs.py +36 -12
- pulumi_gcp/servicedirectory/service.py +16 -42
- pulumi_gcp/servicedirectory/service_iam_binding.py +13 -85
- pulumi_gcp/servicedirectory/service_iam_member.py +13 -85
- pulumi_gcp/servicedirectory/service_iam_policy.py +13 -79
- pulumi_gcp/servicenetworking/connection.py +19 -59
- pulumi_gcp/servicenetworking/peered_dns_domain.py +16 -30
- pulumi_gcp/serviceusage/consumer_quota_override.py +22 -6
- pulumi_gcp/sourcerepo/_inputs.py +31 -9
- pulumi_gcp/sourcerepo/get_repository.py +0 -18
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +0 -20
- pulumi_gcp/sourcerepo/outputs.py +47 -13
- pulumi_gcp/sourcerepo/repository.py +10 -50
- pulumi_gcp/sourcerepo/repository_iam_binding.py +16 -94
- pulumi_gcp/sourcerepo/repository_iam_member.py +16 -94
- pulumi_gcp/sourcerepo/repository_iam_policy.py +16 -88
- pulumi_gcp/spanner/_inputs.py +44 -14
- pulumi_gcp/spanner/database.py +30 -46
- pulumi_gcp/spanner/database_iam_binding.py +19 -95
- pulumi_gcp/spanner/database_iam_member.py +19 -95
- pulumi_gcp/spanner/database_iam_policy.py +19 -89
- pulumi_gcp/spanner/get_database_iam_policy.py +0 -22
- pulumi_gcp/spanner/get_instance.py +0 -18
- pulumi_gcp/spanner/get_instance_iam_policy.py +0 -20
- pulumi_gcp/spanner/instance.py +28 -88
- pulumi_gcp/spanner/instance_iam_binding.py +16 -88
- pulumi_gcp/spanner/instance_iam_member.py +16 -88
- pulumi_gcp/spanner/instance_iam_policy.py +16 -82
- pulumi_gcp/spanner/outputs.py +44 -14
- pulumi_gcp/sql/_inputs.py +280 -36
- pulumi_gcp/sql/database.py +15 -71
- pulumi_gcp/sql/database_instance.py +71 -151
- pulumi_gcp/sql/get_backup_run.py +0 -20
- pulumi_gcp/sql/get_database.py +0 -20
- pulumi_gcp/sql/get_database_instance.py +0 -18
- pulumi_gcp/sql/get_database_instance_latest_recovery_time.py +0 -20
- pulumi_gcp/sql/get_database_instances.py +0 -18
- pulumi_gcp/sql/get_databases.py +0 -16
- pulumi_gcp/sql/get_tiers.py +0 -22
- pulumi_gcp/sql/outputs.py +1527 -327
- pulumi_gcp/sql/source_representation_instance.py +32 -64
- pulumi_gcp/sql/ssl_cert.py +28 -44
- pulumi_gcp/sql/user.py +20 -8
- pulumi_gcp/storage/_inputs.py +429 -93
- pulumi_gcp/storage/bucket.py +54 -170
- pulumi_gcp/storage/bucket_access_control.py +12 -28
- pulumi_gcp/storage/bucket_acl.py +21 -37
- pulumi_gcp/storage/bucket_iam_binding.py +16 -192
- pulumi_gcp/storage/bucket_iam_member.py +16 -192
- pulumi_gcp/storage/bucket_iam_policy.py +16 -186
- pulumi_gcp/storage/bucket_object.py +60 -58
- pulumi_gcp/storage/default_object_access_control.py +19 -29
- pulumi_gcp/storage/default_object_acl.py +13 -37
- pulumi_gcp/storage/get_bucket.py +0 -18
- pulumi_gcp/storage/get_bucket_iam_policy.py +0 -18
- pulumi_gcp/storage/get_bucket_object.py +0 -24
- pulumi_gcp/storage/get_bucket_object_content.py +0 -26
- pulumi_gcp/storage/get_object_signed_url.py +0 -54
- pulumi_gcp/storage/get_project_service_account.py +0 -60
- pulumi_gcp/storage/get_transfer_project_service_account.py +0 -20
- pulumi_gcp/storage/get_transfer_project_servie_account.py +0 -20
- pulumi_gcp/storage/hmac_key.py +17 -25
- pulumi_gcp/storage/insights_report_config.py +31 -121
- pulumi_gcp/storage/notification.py +35 -63
- pulumi_gcp/storage/object_access_control.py +22 -38
- pulumi_gcp/storage/object_acl.py +20 -46
- pulumi_gcp/storage/outputs.py +617 -139
- pulumi_gcp/storage/transfer_agent_pool.py +15 -43
- pulumi_gcp/storage/transfer_job.py +29 -177
- pulumi_gcp/tags/_inputs.py +36 -12
- pulumi_gcp/tags/get_tag_key.py +0 -34
- pulumi_gcp/tags/get_tag_key_iam_policy.py +0 -18
- pulumi_gcp/tags/get_tag_value.py +0 -20
- pulumi_gcp/tags/get_tag_value_iam_policy.py +0 -18
- pulumi_gcp/tags/location_tag_binding.py +16 -100
- pulumi_gcp/tags/outputs.py +36 -12
- pulumi_gcp/tags/tag_binding.py +16 -46
- pulumi_gcp/tags/tag_key.py +26 -26
- pulumi_gcp/tags/tag_key_iam_binding.py +20 -88
- pulumi_gcp/tags/tag_key_iam_member.py +20 -88
- pulumi_gcp/tags/tag_key_iam_policy.py +20 -82
- pulumi_gcp/tags/tag_value.py +22 -34
- pulumi_gcp/tags/tag_value_iam_binding.py +20 -88
- pulumi_gcp/tags/tag_value_iam_member.py +20 -88
- pulumi_gcp/tags/tag_value_iam_policy.py +20 -82
- pulumi_gcp/tpu/_inputs.py +11 -3
- pulumi_gcp/tpu/get_tensorflow_versions.py +0 -44
- pulumi_gcp/tpu/get_v2_accelerator_types.py +0 -44
- pulumi_gcp/tpu/get_v2_runtime_versions.py +0 -40
- pulumi_gcp/tpu/node.py +37 -97
- pulumi_gcp/tpu/outputs.py +11 -3
- pulumi_gcp/tpu/v2_vm.py +17 -57
- pulumi_gcp/vertex/_inputs.py +250 -46
- pulumi_gcp/vertex/ai_dataset.py +29 -31
- pulumi_gcp/vertex/ai_endpoint.py +29 -79
- pulumi_gcp/vertex/ai_feature_store.py +28 -136
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +22 -166
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +20 -138
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +19 -11
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +19 -11
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +19 -5
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +16 -10
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +16 -10
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +16 -4
- pulumi_gcp/vertex/ai_index.py +28 -162
- pulumi_gcp/vertex/ai_index_endpoint.py +23 -87
- pulumi_gcp/vertex/ai_metadata_store.py +15 -27
- pulumi_gcp/vertex/ai_tensorboard.py +26 -86
- pulumi_gcp/vertex/outputs.py +352 -70
- pulumi_gcp/vmwareengine/_inputs.py +72 -14
- pulumi_gcp/vmwareengine/cluster.py +13 -143
- pulumi_gcp/vmwareengine/get_cluster.py +2 -20
- pulumi_gcp/vmwareengine/get_network.py +2 -20
- pulumi_gcp/vmwareengine/get_private_cloud.py +2 -20
- pulumi_gcp/vmwareengine/network.py +14 -4
- pulumi_gcp/vmwareengine/outputs.py +204 -48
- pulumi_gcp/vmwareengine/private_cloud.py +25 -125
- pulumi_gcp/vpcaccess/_inputs.py +5 -1
- pulumi_gcp/vpcaccess/connector.py +35 -61
- pulumi_gcp/vpcaccess/get_connector.py +0 -26
- pulumi_gcp/vpcaccess/outputs.py +16 -4
- pulumi_gcp/workflows/workflow.py +28 -84
- pulumi_gcp/workstations/_inputs.py +143 -29
- pulumi_gcp/workstations/outputs.py +143 -29
- pulumi_gcp/workstations/workstation.py +36 -112
- pulumi_gcp/workstations/workstation_cluster.py +30 -124
- pulumi_gcp/workstations/workstation_config.py +48 -652
- pulumi_gcp/workstations/workstation_config_iam_binding.py +27 -11
- pulumi_gcp/workstations/workstation_config_iam_member.py +27 -11
- pulumi_gcp/workstations/workstation_config_iam_policy.py +27 -5
- pulumi_gcp/workstations/workstation_iam_binding.py +34 -12
- pulumi_gcp/workstations/workstation_iam_member.py +34 -12
- pulumi_gcp/workstations/workstation_iam_policy.py +34 -6
- {pulumi_gcp-6.68.0a1698127103.dist-info → pulumi_gcp-6.68.0a1698199636.dist-info}/METADATA +1 -1
- pulumi_gcp-6.68.0a1698199636.dist-info/RECORD +1378 -0
- pulumi_gcp-6.68.0a1698127103.dist-info/RECORD +0 -1378
- {pulumi_gcp-6.68.0a1698127103.dist-info → pulumi_gcp-6.68.0a1698199636.dist-info}/WHEEL +0 -0
- {pulumi_gcp-6.68.0a1698127103.dist-info → pulumi_gcp-6.68.0a1698199636.dist-info}/top_level.txt +0 -0
pulumi_gcp/datastream/stream.py
CHANGED
@@ -63,18 +63,46 @@ class StreamArgs:
|
|
63
63
|
@staticmethod
|
64
64
|
def _configure(
|
65
65
|
_setter: Callable[[Any, Any], None],
|
66
|
-
destination_config: pulumi.Input['StreamDestinationConfigArgs'],
|
67
|
-
display_name: pulumi.Input[str],
|
68
|
-
location: pulumi.Input[str],
|
69
|
-
source_config: pulumi.Input['StreamSourceConfigArgs'],
|
70
|
-
stream_id: pulumi.Input[str],
|
66
|
+
destination_config: Optional[pulumi.Input['StreamDestinationConfigArgs']] = None,
|
67
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
68
|
+
location: Optional[pulumi.Input[str]] = None,
|
69
|
+
source_config: Optional[pulumi.Input['StreamSourceConfigArgs']] = None,
|
70
|
+
stream_id: Optional[pulumi.Input[str]] = None,
|
71
71
|
backfill_all: Optional[pulumi.Input['StreamBackfillAllArgs']] = None,
|
72
72
|
backfill_none: Optional[pulumi.Input['StreamBackfillNoneArgs']] = None,
|
73
73
|
customer_managed_encryption_key: Optional[pulumi.Input[str]] = None,
|
74
74
|
desired_state: Optional[pulumi.Input[str]] = None,
|
75
75
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
76
76
|
project: Optional[pulumi.Input[str]] = None,
|
77
|
-
opts: Optional[pulumi.ResourceOptions]=None
|
77
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
78
|
+
**kwargs):
|
79
|
+
if destination_config is None and 'destinationConfig' in kwargs:
|
80
|
+
destination_config = kwargs['destinationConfig']
|
81
|
+
if destination_config is None:
|
82
|
+
raise TypeError("Missing 'destination_config' argument")
|
83
|
+
if display_name is None and 'displayName' in kwargs:
|
84
|
+
display_name = kwargs['displayName']
|
85
|
+
if display_name is None:
|
86
|
+
raise TypeError("Missing 'display_name' argument")
|
87
|
+
if location is None:
|
88
|
+
raise TypeError("Missing 'location' argument")
|
89
|
+
if source_config is None and 'sourceConfig' in kwargs:
|
90
|
+
source_config = kwargs['sourceConfig']
|
91
|
+
if source_config is None:
|
92
|
+
raise TypeError("Missing 'source_config' argument")
|
93
|
+
if stream_id is None and 'streamId' in kwargs:
|
94
|
+
stream_id = kwargs['streamId']
|
95
|
+
if stream_id is None:
|
96
|
+
raise TypeError("Missing 'stream_id' argument")
|
97
|
+
if backfill_all is None and 'backfillAll' in kwargs:
|
98
|
+
backfill_all = kwargs['backfillAll']
|
99
|
+
if backfill_none is None and 'backfillNone' in kwargs:
|
100
|
+
backfill_none = kwargs['backfillNone']
|
101
|
+
if customer_managed_encryption_key is None and 'customerManagedEncryptionKey' in kwargs:
|
102
|
+
customer_managed_encryption_key = kwargs['customerManagedEncryptionKey']
|
103
|
+
if desired_state is None and 'desiredState' in kwargs:
|
104
|
+
desired_state = kwargs['desiredState']
|
105
|
+
|
78
106
|
_setter("destination_config", destination_config)
|
79
107
|
_setter("display_name", display_name)
|
80
108
|
_setter("location", location)
|
@@ -300,7 +328,25 @@ class _StreamState:
|
|
300
328
|
source_config: Optional[pulumi.Input['StreamSourceConfigArgs']] = None,
|
301
329
|
state: Optional[pulumi.Input[str]] = None,
|
302
330
|
stream_id: Optional[pulumi.Input[str]] = None,
|
303
|
-
opts: Optional[pulumi.ResourceOptions]=None
|
331
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
332
|
+
**kwargs):
|
333
|
+
if backfill_all is None and 'backfillAll' in kwargs:
|
334
|
+
backfill_all = kwargs['backfillAll']
|
335
|
+
if backfill_none is None and 'backfillNone' in kwargs:
|
336
|
+
backfill_none = kwargs['backfillNone']
|
337
|
+
if customer_managed_encryption_key is None and 'customerManagedEncryptionKey' in kwargs:
|
338
|
+
customer_managed_encryption_key = kwargs['customerManagedEncryptionKey']
|
339
|
+
if desired_state is None and 'desiredState' in kwargs:
|
340
|
+
desired_state = kwargs['desiredState']
|
341
|
+
if destination_config is None and 'destinationConfig' in kwargs:
|
342
|
+
destination_config = kwargs['destinationConfig']
|
343
|
+
if display_name is None and 'displayName' in kwargs:
|
344
|
+
display_name = kwargs['displayName']
|
345
|
+
if source_config is None and 'sourceConfig' in kwargs:
|
346
|
+
source_config = kwargs['sourceConfig']
|
347
|
+
if stream_id is None and 'streamId' in kwargs:
|
348
|
+
stream_id = kwargs['streamId']
|
349
|
+
|
304
350
|
if backfill_all is not None:
|
305
351
|
_setter("backfill_all", backfill_all)
|
306
352
|
if backfill_none is not None:
|
@@ -517,501 +563,6 @@ class Stream(pulumi.CustomResource):
|
|
517
563
|
* [Official Documentation](https://cloud.google.com/datastream/docs/create-a-stream)
|
518
564
|
|
519
565
|
## Example Usage
|
520
|
-
### Datastream Stream Full
|
521
|
-
|
522
|
-
```python
|
523
|
-
import pulumi
|
524
|
-
import pulumi_gcp as gcp
|
525
|
-
import pulumi_random as random
|
526
|
-
|
527
|
-
project = gcp.organizations.get_project()
|
528
|
-
instance = gcp.sql.DatabaseInstance("instance",
|
529
|
-
database_version="MYSQL_8_0",
|
530
|
-
region="us-central1",
|
531
|
-
settings=gcp.sql.DatabaseInstanceSettingsArgs(
|
532
|
-
tier="db-f1-micro",
|
533
|
-
backup_configuration=gcp.sql.DatabaseInstanceSettingsBackupConfigurationArgs(
|
534
|
-
enabled=True,
|
535
|
-
binary_log_enabled=True,
|
536
|
-
),
|
537
|
-
ip_configuration=gcp.sql.DatabaseInstanceSettingsIpConfigurationArgs(
|
538
|
-
authorized_networks=[
|
539
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
540
|
-
value="34.71.242.81",
|
541
|
-
),
|
542
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
543
|
-
value="34.72.28.29",
|
544
|
-
),
|
545
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
546
|
-
value="34.67.6.157",
|
547
|
-
),
|
548
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
549
|
-
value="34.67.234.134",
|
550
|
-
),
|
551
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
552
|
-
value="34.72.239.218",
|
553
|
-
),
|
554
|
-
],
|
555
|
-
),
|
556
|
-
),
|
557
|
-
deletion_protection=True)
|
558
|
-
db = gcp.sql.Database("db", instance=instance.name)
|
559
|
-
pwd = random.RandomPassword("pwd",
|
560
|
-
length=16,
|
561
|
-
special=False)
|
562
|
-
user = gcp.sql.User("user",
|
563
|
-
instance=instance.name,
|
564
|
-
host="%",
|
565
|
-
password=pwd.result)
|
566
|
-
source_connection_profile = gcp.datastream.ConnectionProfile("sourceConnectionProfile",
|
567
|
-
display_name="Source connection profile",
|
568
|
-
location="us-central1",
|
569
|
-
connection_profile_id="source-profile",
|
570
|
-
mysql_profile=gcp.datastream.ConnectionProfileMysqlProfileArgs(
|
571
|
-
hostname=instance.public_ip_address,
|
572
|
-
username=user.name,
|
573
|
-
password=user.password,
|
574
|
-
))
|
575
|
-
bucket = gcp.storage.Bucket("bucket",
|
576
|
-
location="US",
|
577
|
-
uniform_bucket_level_access=True)
|
578
|
-
viewer = gcp.storage.BucketIAMMember("viewer",
|
579
|
-
bucket=bucket.name,
|
580
|
-
role="roles/storage.objectViewer",
|
581
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
582
|
-
creator = gcp.storage.BucketIAMMember("creator",
|
583
|
-
bucket=bucket.name,
|
584
|
-
role="roles/storage.objectCreator",
|
585
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
586
|
-
reader = gcp.storage.BucketIAMMember("reader",
|
587
|
-
bucket=bucket.name,
|
588
|
-
role="roles/storage.legacyBucketReader",
|
589
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
590
|
-
key_user = gcp.kms.CryptoKeyIAMMember("keyUser",
|
591
|
-
crypto_key_id="kms-name",
|
592
|
-
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
593
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
594
|
-
destination_connection_profile = gcp.datastream.ConnectionProfile("destinationConnectionProfile",
|
595
|
-
display_name="Connection profile",
|
596
|
-
location="us-central1",
|
597
|
-
connection_profile_id="destination-profile",
|
598
|
-
gcs_profile=gcp.datastream.ConnectionProfileGcsProfileArgs(
|
599
|
-
bucket=bucket.name,
|
600
|
-
root_path="/path",
|
601
|
-
))
|
602
|
-
default = gcp.datastream.Stream("default",
|
603
|
-
stream_id="my-stream",
|
604
|
-
desired_state="NOT_STARTED",
|
605
|
-
location="us-central1",
|
606
|
-
display_name="my stream",
|
607
|
-
labels={
|
608
|
-
"key": "value",
|
609
|
-
},
|
610
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
611
|
-
source_connection_profile=source_connection_profile.id,
|
612
|
-
mysql_source_config=gcp.datastream.StreamSourceConfigMysqlSourceConfigArgs(
|
613
|
-
include_objects=gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsArgs(
|
614
|
-
mysql_databases=[gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseArgs(
|
615
|
-
database="my-database",
|
616
|
-
mysql_tables=[gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseMysqlTableArgs(
|
617
|
-
table="includedTable",
|
618
|
-
mysql_columns=[gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
|
619
|
-
column="includedColumn",
|
620
|
-
data_type="VARCHAR",
|
621
|
-
collation="utf8mb4",
|
622
|
-
primary_key=False,
|
623
|
-
nullable=False,
|
624
|
-
ordinal_position=0,
|
625
|
-
)],
|
626
|
-
)],
|
627
|
-
)],
|
628
|
-
),
|
629
|
-
exclude_objects=gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs(
|
630
|
-
mysql_databases=[gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseArgs(
|
631
|
-
database="my-database",
|
632
|
-
mysql_tables=[gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableArgs(
|
633
|
-
table="excludedTable",
|
634
|
-
mysql_columns=[gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
|
635
|
-
column="excludedColumn",
|
636
|
-
data_type="VARCHAR",
|
637
|
-
collation="utf8mb4",
|
638
|
-
primary_key=False,
|
639
|
-
nullable=False,
|
640
|
-
ordinal_position=0,
|
641
|
-
)],
|
642
|
-
)],
|
643
|
-
)],
|
644
|
-
),
|
645
|
-
max_concurrent_cdc_tasks=5,
|
646
|
-
),
|
647
|
-
),
|
648
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
649
|
-
destination_connection_profile=destination_connection_profile.id,
|
650
|
-
gcs_destination_config=gcp.datastream.StreamDestinationConfigGcsDestinationConfigArgs(
|
651
|
-
path="mydata",
|
652
|
-
file_rotation_mb=200,
|
653
|
-
file_rotation_interval="60s",
|
654
|
-
json_file_format=gcp.datastream.StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs(
|
655
|
-
schema_file_format="NO_SCHEMA_FILE",
|
656
|
-
compression="GZIP",
|
657
|
-
),
|
658
|
-
),
|
659
|
-
),
|
660
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs(
|
661
|
-
mysql_excluded_objects=gcp.datastream.StreamBackfillAllMysqlExcludedObjectsArgs(
|
662
|
-
mysql_databases=[gcp.datastream.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseArgs(
|
663
|
-
database="my-database",
|
664
|
-
mysql_tables=[gcp.datastream.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableArgs(
|
665
|
-
table="excludedTable",
|
666
|
-
mysql_columns=[gcp.datastream.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
|
667
|
-
column="excludedColumn",
|
668
|
-
data_type="VARCHAR",
|
669
|
-
collation="utf8mb4",
|
670
|
-
primary_key=False,
|
671
|
-
nullable=False,
|
672
|
-
ordinal_position=0,
|
673
|
-
)],
|
674
|
-
)],
|
675
|
-
)],
|
676
|
-
),
|
677
|
-
),
|
678
|
-
customer_managed_encryption_key="kms-name",
|
679
|
-
opts=pulumi.ResourceOptions(depends_on=[key_user]))
|
680
|
-
```
|
681
|
-
### Datastream Stream Postgresql
|
682
|
-
|
683
|
-
```python
|
684
|
-
import pulumi
|
685
|
-
import pulumi_gcp as gcp
|
686
|
-
|
687
|
-
source = gcp.datastream.ConnectionProfile("source",
|
688
|
-
display_name="Postgresql Source",
|
689
|
-
location="us-central1",
|
690
|
-
connection_profile_id="source-profile",
|
691
|
-
postgresql_profile=gcp.datastream.ConnectionProfilePostgresqlProfileArgs(
|
692
|
-
hostname="hostname",
|
693
|
-
port=3306,
|
694
|
-
username="user",
|
695
|
-
password="pass",
|
696
|
-
database="postgres",
|
697
|
-
))
|
698
|
-
destination = gcp.datastream.ConnectionProfile("destination",
|
699
|
-
display_name="BigQuery Destination",
|
700
|
-
location="us-central1",
|
701
|
-
connection_profile_id="destination-profile",
|
702
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
703
|
-
default = gcp.datastream.Stream("default",
|
704
|
-
display_name="Postgres to BigQuery",
|
705
|
-
location="us-central1",
|
706
|
-
stream_id="my-stream",
|
707
|
-
desired_state="RUNNING",
|
708
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
709
|
-
source_connection_profile=source.id,
|
710
|
-
postgresql_source_config=gcp.datastream.StreamSourceConfigPostgresqlSourceConfigArgs(
|
711
|
-
max_concurrent_backfill_tasks=12,
|
712
|
-
publication="publication",
|
713
|
-
replication_slot="replication_slot",
|
714
|
-
include_objects=gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsArgs(
|
715
|
-
postgresql_schemas=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaArgs(
|
716
|
-
schema="schema",
|
717
|
-
postgresql_tables=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTableArgs(
|
718
|
-
table="table",
|
719
|
-
postgresql_columns=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumnArgs(
|
720
|
-
column="column",
|
721
|
-
)],
|
722
|
-
)],
|
723
|
-
)],
|
724
|
-
),
|
725
|
-
exclude_objects=gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsArgs(
|
726
|
-
postgresql_schemas=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaArgs(
|
727
|
-
schema="schema",
|
728
|
-
postgresql_tables=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTableArgs(
|
729
|
-
table="table",
|
730
|
-
postgresql_columns=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumnArgs(
|
731
|
-
column="column",
|
732
|
-
)],
|
733
|
-
)],
|
734
|
-
)],
|
735
|
-
),
|
736
|
-
),
|
737
|
-
),
|
738
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
739
|
-
destination_connection_profile=destination.id,
|
740
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
741
|
-
data_freshness="900s",
|
742
|
-
source_hierarchy_datasets=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
|
743
|
-
dataset_template=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
|
744
|
-
location="us-central1",
|
745
|
-
),
|
746
|
-
),
|
747
|
-
),
|
748
|
-
),
|
749
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs(
|
750
|
-
postgresql_excluded_objects=gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsArgs(
|
751
|
-
postgresql_schemas=[gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgs(
|
752
|
-
schema="schema",
|
753
|
-
postgresql_tables=[gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaPostgresqlTableArgs(
|
754
|
-
table="table",
|
755
|
-
postgresql_columns=[gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumnArgs(
|
756
|
-
column="column",
|
757
|
-
)],
|
758
|
-
)],
|
759
|
-
)],
|
760
|
-
),
|
761
|
-
))
|
762
|
-
```
|
763
|
-
### Datastream Stream Oracle
|
764
|
-
|
765
|
-
```python
|
766
|
-
import pulumi
|
767
|
-
import pulumi_gcp as gcp
|
768
|
-
|
769
|
-
source = gcp.datastream.ConnectionProfile("source",
|
770
|
-
display_name="Oracle Source",
|
771
|
-
location="us-central1",
|
772
|
-
connection_profile_id="source-profile",
|
773
|
-
oracle_profile=gcp.datastream.ConnectionProfileOracleProfileArgs(
|
774
|
-
hostname="hostname",
|
775
|
-
port=1521,
|
776
|
-
username="user",
|
777
|
-
password="pass",
|
778
|
-
database_service="ORCL",
|
779
|
-
))
|
780
|
-
destination = gcp.datastream.ConnectionProfile("destination",
|
781
|
-
display_name="BigQuery Destination",
|
782
|
-
location="us-central1",
|
783
|
-
connection_profile_id="destination-profile",
|
784
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
785
|
-
stream5 = gcp.datastream.Stream("stream5",
|
786
|
-
display_name="Oracle to BigQuery",
|
787
|
-
location="us-central1",
|
788
|
-
stream_id="my-stream",
|
789
|
-
desired_state="RUNNING",
|
790
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
791
|
-
source_connection_profile=source.id,
|
792
|
-
oracle_source_config=gcp.datastream.StreamSourceConfigOracleSourceConfigArgs(
|
793
|
-
max_concurrent_cdc_tasks=8,
|
794
|
-
max_concurrent_backfill_tasks=12,
|
795
|
-
include_objects=gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsArgs(
|
796
|
-
oracle_schemas=[gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaArgs(
|
797
|
-
schema="schema",
|
798
|
-
oracle_tables=[gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableArgs(
|
799
|
-
table="table",
|
800
|
-
oracle_columns=[gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs(
|
801
|
-
column="column",
|
802
|
-
)],
|
803
|
-
)],
|
804
|
-
)],
|
805
|
-
),
|
806
|
-
exclude_objects=gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsArgs(
|
807
|
-
oracle_schemas=[gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaArgs(
|
808
|
-
schema="schema",
|
809
|
-
oracle_tables=[gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs(
|
810
|
-
table="table",
|
811
|
-
oracle_columns=[gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs(
|
812
|
-
column="column",
|
813
|
-
)],
|
814
|
-
)],
|
815
|
-
)],
|
816
|
-
),
|
817
|
-
drop_large_objects=gcp.datastream.StreamSourceConfigOracleSourceConfigDropLargeObjectsArgs(),
|
818
|
-
),
|
819
|
-
),
|
820
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
821
|
-
destination_connection_profile=destination.id,
|
822
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
823
|
-
data_freshness="900s",
|
824
|
-
source_hierarchy_datasets=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
|
825
|
-
dataset_template=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
|
826
|
-
location="us-central1",
|
827
|
-
),
|
828
|
-
),
|
829
|
-
),
|
830
|
-
),
|
831
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs(
|
832
|
-
oracle_excluded_objects=gcp.datastream.StreamBackfillAllOracleExcludedObjectsArgs(
|
833
|
-
oracle_schemas=[gcp.datastream.StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs(
|
834
|
-
schema="schema",
|
835
|
-
oracle_tables=[gcp.datastream.StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgs(
|
836
|
-
table="table",
|
837
|
-
oracle_columns=[gcp.datastream.StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableOracleColumnArgs(
|
838
|
-
column="column",
|
839
|
-
)],
|
840
|
-
)],
|
841
|
-
)],
|
842
|
-
),
|
843
|
-
))
|
844
|
-
```
|
845
|
-
### Datastream Stream Postgresql Bigquery Dataset Id
|
846
|
-
|
847
|
-
```python
|
848
|
-
import pulumi
|
849
|
-
import pulumi_gcp as gcp
|
850
|
-
import pulumi_random as random
|
851
|
-
|
852
|
-
postgres = gcp.bigquery.Dataset("postgres",
|
853
|
-
dataset_id="postgres",
|
854
|
-
friendly_name="postgres",
|
855
|
-
description="Database of postgres",
|
856
|
-
location="us-central1")
|
857
|
-
destination_connection_profile2 = gcp.datastream.ConnectionProfile("destinationConnectionProfile2",
|
858
|
-
display_name="Connection profile",
|
859
|
-
location="us-central1",
|
860
|
-
connection_profile_id="dest-profile",
|
861
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
862
|
-
instance = gcp.sql.DatabaseInstance("instance",
|
863
|
-
database_version="MYSQL_8_0",
|
864
|
-
region="us-central1",
|
865
|
-
settings=gcp.sql.DatabaseInstanceSettingsArgs(
|
866
|
-
tier="db-f1-micro",
|
867
|
-
backup_configuration=gcp.sql.DatabaseInstanceSettingsBackupConfigurationArgs(
|
868
|
-
enabled=True,
|
869
|
-
binary_log_enabled=True,
|
870
|
-
),
|
871
|
-
ip_configuration=gcp.sql.DatabaseInstanceSettingsIpConfigurationArgs(
|
872
|
-
authorized_networks=[
|
873
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
874
|
-
value="34.71.242.81",
|
875
|
-
),
|
876
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
877
|
-
value="34.72.28.29",
|
878
|
-
),
|
879
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
880
|
-
value="34.67.6.157",
|
881
|
-
),
|
882
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
883
|
-
value="34.67.234.134",
|
884
|
-
),
|
885
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
886
|
-
value="34.72.239.218",
|
887
|
-
),
|
888
|
-
],
|
889
|
-
),
|
890
|
-
),
|
891
|
-
deletion_protection=False)
|
892
|
-
pwd = random.RandomPassword("pwd",
|
893
|
-
length=16,
|
894
|
-
special=False)
|
895
|
-
user = gcp.sql.User("user",
|
896
|
-
instance=instance.name,
|
897
|
-
host="%",
|
898
|
-
password=pwd.result)
|
899
|
-
source_connection_profile = gcp.datastream.ConnectionProfile("sourceConnectionProfile",
|
900
|
-
display_name="Source connection profile",
|
901
|
-
location="us-central1",
|
902
|
-
connection_profile_id="source-profile",
|
903
|
-
mysql_profile=gcp.datastream.ConnectionProfileMysqlProfileArgs(
|
904
|
-
hostname=instance.public_ip_address,
|
905
|
-
username=user.name,
|
906
|
-
password=user.password,
|
907
|
-
))
|
908
|
-
default = gcp.datastream.Stream("default",
|
909
|
-
display_name="postgres to bigQuery",
|
910
|
-
location="us-central1",
|
911
|
-
stream_id="postgres-bigquery",
|
912
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
913
|
-
source_connection_profile=source_connection_profile.id,
|
914
|
-
mysql_source_config=gcp.datastream.StreamSourceConfigMysqlSourceConfigArgs(),
|
915
|
-
),
|
916
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
917
|
-
destination_connection_profile=destination_connection_profile2.id,
|
918
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
919
|
-
data_freshness="900s",
|
920
|
-
single_target_dataset=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs(
|
921
|
-
dataset_id=postgres.id,
|
922
|
-
),
|
923
|
-
),
|
924
|
-
),
|
925
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs())
|
926
|
-
db = gcp.sql.Database("db", instance=instance.name)
|
927
|
-
```
|
928
|
-
### Datastream Stream Bigquery
|
929
|
-
|
930
|
-
```python
|
931
|
-
import pulumi
|
932
|
-
import pulumi_gcp as gcp
|
933
|
-
import pulumi_random as random
|
934
|
-
|
935
|
-
project = gcp.organizations.get_project()
|
936
|
-
instance = gcp.sql.DatabaseInstance("instance",
|
937
|
-
database_version="MYSQL_8_0",
|
938
|
-
region="us-central1",
|
939
|
-
settings=gcp.sql.DatabaseInstanceSettingsArgs(
|
940
|
-
tier="db-f1-micro",
|
941
|
-
backup_configuration=gcp.sql.DatabaseInstanceSettingsBackupConfigurationArgs(
|
942
|
-
enabled=True,
|
943
|
-
binary_log_enabled=True,
|
944
|
-
),
|
945
|
-
ip_configuration=gcp.sql.DatabaseInstanceSettingsIpConfigurationArgs(
|
946
|
-
authorized_networks=[
|
947
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
948
|
-
value="34.71.242.81",
|
949
|
-
),
|
950
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
951
|
-
value="34.72.28.29",
|
952
|
-
),
|
953
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
954
|
-
value="34.67.6.157",
|
955
|
-
),
|
956
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
957
|
-
value="34.67.234.134",
|
958
|
-
),
|
959
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
960
|
-
value="34.72.239.218",
|
961
|
-
),
|
962
|
-
],
|
963
|
-
),
|
964
|
-
),
|
965
|
-
deletion_protection=True)
|
966
|
-
db = gcp.sql.Database("db", instance=instance.name)
|
967
|
-
pwd = random.RandomPassword("pwd",
|
968
|
-
length=16,
|
969
|
-
special=False)
|
970
|
-
user = gcp.sql.User("user",
|
971
|
-
instance=instance.name,
|
972
|
-
host="%",
|
973
|
-
password=pwd.result)
|
974
|
-
source_connection_profile = gcp.datastream.ConnectionProfile("sourceConnectionProfile",
|
975
|
-
display_name="Source connection profile",
|
976
|
-
location="us-central1",
|
977
|
-
connection_profile_id="source-profile",
|
978
|
-
mysql_profile=gcp.datastream.ConnectionProfileMysqlProfileArgs(
|
979
|
-
hostname=instance.public_ip_address,
|
980
|
-
username=user.name,
|
981
|
-
password=user.password,
|
982
|
-
))
|
983
|
-
bq_sa = gcp.bigquery.get_default_service_account()
|
984
|
-
bigquery_key_user = gcp.kms.CryptoKeyIAMMember("bigqueryKeyUser",
|
985
|
-
crypto_key_id="bigquery-kms-name",
|
986
|
-
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
987
|
-
member=f"serviceAccount:{bq_sa.email}")
|
988
|
-
destination_connection_profile = gcp.datastream.ConnectionProfile("destinationConnectionProfile",
|
989
|
-
display_name="Connection profile",
|
990
|
-
location="us-central1",
|
991
|
-
connection_profile_id="destination-profile",
|
992
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
993
|
-
default = gcp.datastream.Stream("default",
|
994
|
-
stream_id="my-stream",
|
995
|
-
location="us-central1",
|
996
|
-
display_name="my stream",
|
997
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
998
|
-
source_connection_profile=source_connection_profile.id,
|
999
|
-
mysql_source_config=gcp.datastream.StreamSourceConfigMysqlSourceConfigArgs(),
|
1000
|
-
),
|
1001
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
1002
|
-
destination_connection_profile=destination_connection_profile.id,
|
1003
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
1004
|
-
source_hierarchy_datasets=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
|
1005
|
-
dataset_template=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
|
1006
|
-
location="us-central1",
|
1007
|
-
kms_key_name="bigquery-kms-name",
|
1008
|
-
),
|
1009
|
-
),
|
1010
|
-
),
|
1011
|
-
),
|
1012
|
-
backfill_none=gcp.datastream.StreamBackfillNoneArgs(),
|
1013
|
-
opts=pulumi.ResourceOptions(depends_on=[bigquery_key_user]))
|
1014
|
-
```
|
1015
566
|
|
1016
567
|
## Import
|
1017
568
|
|
@@ -1064,501 +615,6 @@ class Stream(pulumi.CustomResource):
|
|
1064
615
|
* [Official Documentation](https://cloud.google.com/datastream/docs/create-a-stream)
|
1065
616
|
|
1066
617
|
## Example Usage
|
1067
|
-
### Datastream Stream Full
|
1068
|
-
|
1069
|
-
```python
|
1070
|
-
import pulumi
|
1071
|
-
import pulumi_gcp as gcp
|
1072
|
-
import pulumi_random as random
|
1073
|
-
|
1074
|
-
project = gcp.organizations.get_project()
|
1075
|
-
instance = gcp.sql.DatabaseInstance("instance",
|
1076
|
-
database_version="MYSQL_8_0",
|
1077
|
-
region="us-central1",
|
1078
|
-
settings=gcp.sql.DatabaseInstanceSettingsArgs(
|
1079
|
-
tier="db-f1-micro",
|
1080
|
-
backup_configuration=gcp.sql.DatabaseInstanceSettingsBackupConfigurationArgs(
|
1081
|
-
enabled=True,
|
1082
|
-
binary_log_enabled=True,
|
1083
|
-
),
|
1084
|
-
ip_configuration=gcp.sql.DatabaseInstanceSettingsIpConfigurationArgs(
|
1085
|
-
authorized_networks=[
|
1086
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1087
|
-
value="34.71.242.81",
|
1088
|
-
),
|
1089
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1090
|
-
value="34.72.28.29",
|
1091
|
-
),
|
1092
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1093
|
-
value="34.67.6.157",
|
1094
|
-
),
|
1095
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1096
|
-
value="34.67.234.134",
|
1097
|
-
),
|
1098
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1099
|
-
value="34.72.239.218",
|
1100
|
-
),
|
1101
|
-
],
|
1102
|
-
),
|
1103
|
-
),
|
1104
|
-
deletion_protection=True)
|
1105
|
-
db = gcp.sql.Database("db", instance=instance.name)
|
1106
|
-
pwd = random.RandomPassword("pwd",
|
1107
|
-
length=16,
|
1108
|
-
special=False)
|
1109
|
-
user = gcp.sql.User("user",
|
1110
|
-
instance=instance.name,
|
1111
|
-
host="%",
|
1112
|
-
password=pwd.result)
|
1113
|
-
source_connection_profile = gcp.datastream.ConnectionProfile("sourceConnectionProfile",
|
1114
|
-
display_name="Source connection profile",
|
1115
|
-
location="us-central1",
|
1116
|
-
connection_profile_id="source-profile",
|
1117
|
-
mysql_profile=gcp.datastream.ConnectionProfileMysqlProfileArgs(
|
1118
|
-
hostname=instance.public_ip_address,
|
1119
|
-
username=user.name,
|
1120
|
-
password=user.password,
|
1121
|
-
))
|
1122
|
-
bucket = gcp.storage.Bucket("bucket",
|
1123
|
-
location="US",
|
1124
|
-
uniform_bucket_level_access=True)
|
1125
|
-
viewer = gcp.storage.BucketIAMMember("viewer",
|
1126
|
-
bucket=bucket.name,
|
1127
|
-
role="roles/storage.objectViewer",
|
1128
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
1129
|
-
creator = gcp.storage.BucketIAMMember("creator",
|
1130
|
-
bucket=bucket.name,
|
1131
|
-
role="roles/storage.objectCreator",
|
1132
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
1133
|
-
reader = gcp.storage.BucketIAMMember("reader",
|
1134
|
-
bucket=bucket.name,
|
1135
|
-
role="roles/storage.legacyBucketReader",
|
1136
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
1137
|
-
key_user = gcp.kms.CryptoKeyIAMMember("keyUser",
|
1138
|
-
crypto_key_id="kms-name",
|
1139
|
-
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
1140
|
-
member=f"serviceAccount:service-{project.number}@gcp-sa-datastream.iam.gserviceaccount.com")
|
1141
|
-
destination_connection_profile = gcp.datastream.ConnectionProfile("destinationConnectionProfile",
|
1142
|
-
display_name="Connection profile",
|
1143
|
-
location="us-central1",
|
1144
|
-
connection_profile_id="destination-profile",
|
1145
|
-
gcs_profile=gcp.datastream.ConnectionProfileGcsProfileArgs(
|
1146
|
-
bucket=bucket.name,
|
1147
|
-
root_path="/path",
|
1148
|
-
))
|
1149
|
-
default = gcp.datastream.Stream("default",
|
1150
|
-
stream_id="my-stream",
|
1151
|
-
desired_state="NOT_STARTED",
|
1152
|
-
location="us-central1",
|
1153
|
-
display_name="my stream",
|
1154
|
-
labels={
|
1155
|
-
"key": "value",
|
1156
|
-
},
|
1157
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
1158
|
-
source_connection_profile=source_connection_profile.id,
|
1159
|
-
mysql_source_config=gcp.datastream.StreamSourceConfigMysqlSourceConfigArgs(
|
1160
|
-
include_objects=gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsArgs(
|
1161
|
-
mysql_databases=[gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseArgs(
|
1162
|
-
database="my-database",
|
1163
|
-
mysql_tables=[gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseMysqlTableArgs(
|
1164
|
-
table="includedTable",
|
1165
|
-
mysql_columns=[gcp.datastream.StreamSourceConfigMysqlSourceConfigIncludeObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
|
1166
|
-
column="includedColumn",
|
1167
|
-
data_type="VARCHAR",
|
1168
|
-
collation="utf8mb4",
|
1169
|
-
primary_key=False,
|
1170
|
-
nullable=False,
|
1171
|
-
ordinal_position=0,
|
1172
|
-
)],
|
1173
|
-
)],
|
1174
|
-
)],
|
1175
|
-
),
|
1176
|
-
exclude_objects=gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsArgs(
|
1177
|
-
mysql_databases=[gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseArgs(
|
1178
|
-
database="my-database",
|
1179
|
-
mysql_tables=[gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableArgs(
|
1180
|
-
table="excludedTable",
|
1181
|
-
mysql_columns=[gcp.datastream.StreamSourceConfigMysqlSourceConfigExcludeObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
|
1182
|
-
column="excludedColumn",
|
1183
|
-
data_type="VARCHAR",
|
1184
|
-
collation="utf8mb4",
|
1185
|
-
primary_key=False,
|
1186
|
-
nullable=False,
|
1187
|
-
ordinal_position=0,
|
1188
|
-
)],
|
1189
|
-
)],
|
1190
|
-
)],
|
1191
|
-
),
|
1192
|
-
max_concurrent_cdc_tasks=5,
|
1193
|
-
),
|
1194
|
-
),
|
1195
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
1196
|
-
destination_connection_profile=destination_connection_profile.id,
|
1197
|
-
gcs_destination_config=gcp.datastream.StreamDestinationConfigGcsDestinationConfigArgs(
|
1198
|
-
path="mydata",
|
1199
|
-
file_rotation_mb=200,
|
1200
|
-
file_rotation_interval="60s",
|
1201
|
-
json_file_format=gcp.datastream.StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs(
|
1202
|
-
schema_file_format="NO_SCHEMA_FILE",
|
1203
|
-
compression="GZIP",
|
1204
|
-
),
|
1205
|
-
),
|
1206
|
-
),
|
1207
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs(
|
1208
|
-
mysql_excluded_objects=gcp.datastream.StreamBackfillAllMysqlExcludedObjectsArgs(
|
1209
|
-
mysql_databases=[gcp.datastream.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseArgs(
|
1210
|
-
database="my-database",
|
1211
|
-
mysql_tables=[gcp.datastream.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableArgs(
|
1212
|
-
table="excludedTable",
|
1213
|
-
mysql_columns=[gcp.datastream.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
|
1214
|
-
column="excludedColumn",
|
1215
|
-
data_type="VARCHAR",
|
1216
|
-
collation="utf8mb4",
|
1217
|
-
primary_key=False,
|
1218
|
-
nullable=False,
|
1219
|
-
ordinal_position=0,
|
1220
|
-
)],
|
1221
|
-
)],
|
1222
|
-
)],
|
1223
|
-
),
|
1224
|
-
),
|
1225
|
-
customer_managed_encryption_key="kms-name",
|
1226
|
-
opts=pulumi.ResourceOptions(depends_on=[key_user]))
|
1227
|
-
```
|
1228
|
-
### Datastream Stream Postgresql
|
1229
|
-
|
1230
|
-
```python
|
1231
|
-
import pulumi
|
1232
|
-
import pulumi_gcp as gcp
|
1233
|
-
|
1234
|
-
source = gcp.datastream.ConnectionProfile("source",
|
1235
|
-
display_name="Postgresql Source",
|
1236
|
-
location="us-central1",
|
1237
|
-
connection_profile_id="source-profile",
|
1238
|
-
postgresql_profile=gcp.datastream.ConnectionProfilePostgresqlProfileArgs(
|
1239
|
-
hostname="hostname",
|
1240
|
-
port=3306,
|
1241
|
-
username="user",
|
1242
|
-
password="pass",
|
1243
|
-
database="postgres",
|
1244
|
-
))
|
1245
|
-
destination = gcp.datastream.ConnectionProfile("destination",
|
1246
|
-
display_name="BigQuery Destination",
|
1247
|
-
location="us-central1",
|
1248
|
-
connection_profile_id="destination-profile",
|
1249
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
1250
|
-
default = gcp.datastream.Stream("default",
|
1251
|
-
display_name="Postgres to BigQuery",
|
1252
|
-
location="us-central1",
|
1253
|
-
stream_id="my-stream",
|
1254
|
-
desired_state="RUNNING",
|
1255
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
1256
|
-
source_connection_profile=source.id,
|
1257
|
-
postgresql_source_config=gcp.datastream.StreamSourceConfigPostgresqlSourceConfigArgs(
|
1258
|
-
max_concurrent_backfill_tasks=12,
|
1259
|
-
publication="publication",
|
1260
|
-
replication_slot="replication_slot",
|
1261
|
-
include_objects=gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsArgs(
|
1262
|
-
postgresql_schemas=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaArgs(
|
1263
|
-
schema="schema",
|
1264
|
-
postgresql_tables=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTableArgs(
|
1265
|
-
table="table",
|
1266
|
-
postgresql_columns=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumnArgs(
|
1267
|
-
column="column",
|
1268
|
-
)],
|
1269
|
-
)],
|
1270
|
-
)],
|
1271
|
-
),
|
1272
|
-
exclude_objects=gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsArgs(
|
1273
|
-
postgresql_schemas=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaArgs(
|
1274
|
-
schema="schema",
|
1275
|
-
postgresql_tables=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTableArgs(
|
1276
|
-
table="table",
|
1277
|
-
postgresql_columns=[gcp.datastream.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumnArgs(
|
1278
|
-
column="column",
|
1279
|
-
)],
|
1280
|
-
)],
|
1281
|
-
)],
|
1282
|
-
),
|
1283
|
-
),
|
1284
|
-
),
|
1285
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
1286
|
-
destination_connection_profile=destination.id,
|
1287
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
1288
|
-
data_freshness="900s",
|
1289
|
-
source_hierarchy_datasets=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
|
1290
|
-
dataset_template=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
|
1291
|
-
location="us-central1",
|
1292
|
-
),
|
1293
|
-
),
|
1294
|
-
),
|
1295
|
-
),
|
1296
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs(
|
1297
|
-
postgresql_excluded_objects=gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsArgs(
|
1298
|
-
postgresql_schemas=[gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaArgs(
|
1299
|
-
schema="schema",
|
1300
|
-
postgresql_tables=[gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaPostgresqlTableArgs(
|
1301
|
-
table="table",
|
1302
|
-
postgresql_columns=[gcp.datastream.StreamBackfillAllPostgresqlExcludedObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumnArgs(
|
1303
|
-
column="column",
|
1304
|
-
)],
|
1305
|
-
)],
|
1306
|
-
)],
|
1307
|
-
),
|
1308
|
-
))
|
1309
|
-
```
|
1310
|
-
### Datastream Stream Oracle
|
1311
|
-
|
1312
|
-
```python
|
1313
|
-
import pulumi
|
1314
|
-
import pulumi_gcp as gcp
|
1315
|
-
|
1316
|
-
source = gcp.datastream.ConnectionProfile("source",
|
1317
|
-
display_name="Oracle Source",
|
1318
|
-
location="us-central1",
|
1319
|
-
connection_profile_id="source-profile",
|
1320
|
-
oracle_profile=gcp.datastream.ConnectionProfileOracleProfileArgs(
|
1321
|
-
hostname="hostname",
|
1322
|
-
port=1521,
|
1323
|
-
username="user",
|
1324
|
-
password="pass",
|
1325
|
-
database_service="ORCL",
|
1326
|
-
))
|
1327
|
-
destination = gcp.datastream.ConnectionProfile("destination",
|
1328
|
-
display_name="BigQuery Destination",
|
1329
|
-
location="us-central1",
|
1330
|
-
connection_profile_id="destination-profile",
|
1331
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
1332
|
-
stream5 = gcp.datastream.Stream("stream5",
|
1333
|
-
display_name="Oracle to BigQuery",
|
1334
|
-
location="us-central1",
|
1335
|
-
stream_id="my-stream",
|
1336
|
-
desired_state="RUNNING",
|
1337
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
1338
|
-
source_connection_profile=source.id,
|
1339
|
-
oracle_source_config=gcp.datastream.StreamSourceConfigOracleSourceConfigArgs(
|
1340
|
-
max_concurrent_cdc_tasks=8,
|
1341
|
-
max_concurrent_backfill_tasks=12,
|
1342
|
-
include_objects=gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsArgs(
|
1343
|
-
oracle_schemas=[gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaArgs(
|
1344
|
-
schema="schema",
|
1345
|
-
oracle_tables=[gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableArgs(
|
1346
|
-
table="table",
|
1347
|
-
oracle_columns=[gcp.datastream.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs(
|
1348
|
-
column="column",
|
1349
|
-
)],
|
1350
|
-
)],
|
1351
|
-
)],
|
1352
|
-
),
|
1353
|
-
exclude_objects=gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsArgs(
|
1354
|
-
oracle_schemas=[gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaArgs(
|
1355
|
-
schema="schema",
|
1356
|
-
oracle_tables=[gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableArgs(
|
1357
|
-
table="table",
|
1358
|
-
oracle_columns=[gcp.datastream.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs(
|
1359
|
-
column="column",
|
1360
|
-
)],
|
1361
|
-
)],
|
1362
|
-
)],
|
1363
|
-
),
|
1364
|
-
drop_large_objects=gcp.datastream.StreamSourceConfigOracleSourceConfigDropLargeObjectsArgs(),
|
1365
|
-
),
|
1366
|
-
),
|
1367
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
1368
|
-
destination_connection_profile=destination.id,
|
1369
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
1370
|
-
data_freshness="900s",
|
1371
|
-
source_hierarchy_datasets=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
|
1372
|
-
dataset_template=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
|
1373
|
-
location="us-central1",
|
1374
|
-
),
|
1375
|
-
),
|
1376
|
-
),
|
1377
|
-
),
|
1378
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs(
|
1379
|
-
oracle_excluded_objects=gcp.datastream.StreamBackfillAllOracleExcludedObjectsArgs(
|
1380
|
-
oracle_schemas=[gcp.datastream.StreamBackfillAllOracleExcludedObjectsOracleSchemaArgs(
|
1381
|
-
schema="schema",
|
1382
|
-
oracle_tables=[gcp.datastream.StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableArgs(
|
1383
|
-
table="table",
|
1384
|
-
oracle_columns=[gcp.datastream.StreamBackfillAllOracleExcludedObjectsOracleSchemaOracleTableOracleColumnArgs(
|
1385
|
-
column="column",
|
1386
|
-
)],
|
1387
|
-
)],
|
1388
|
-
)],
|
1389
|
-
),
|
1390
|
-
))
|
1391
|
-
```
|
1392
|
-
### Datastream Stream Postgresql Bigquery Dataset Id
|
1393
|
-
|
1394
|
-
```python
|
1395
|
-
import pulumi
|
1396
|
-
import pulumi_gcp as gcp
|
1397
|
-
import pulumi_random as random
|
1398
|
-
|
1399
|
-
postgres = gcp.bigquery.Dataset("postgres",
|
1400
|
-
dataset_id="postgres",
|
1401
|
-
friendly_name="postgres",
|
1402
|
-
description="Database of postgres",
|
1403
|
-
location="us-central1")
|
1404
|
-
destination_connection_profile2 = gcp.datastream.ConnectionProfile("destinationConnectionProfile2",
|
1405
|
-
display_name="Connection profile",
|
1406
|
-
location="us-central1",
|
1407
|
-
connection_profile_id="dest-profile",
|
1408
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
1409
|
-
instance = gcp.sql.DatabaseInstance("instance",
|
1410
|
-
database_version="MYSQL_8_0",
|
1411
|
-
region="us-central1",
|
1412
|
-
settings=gcp.sql.DatabaseInstanceSettingsArgs(
|
1413
|
-
tier="db-f1-micro",
|
1414
|
-
backup_configuration=gcp.sql.DatabaseInstanceSettingsBackupConfigurationArgs(
|
1415
|
-
enabled=True,
|
1416
|
-
binary_log_enabled=True,
|
1417
|
-
),
|
1418
|
-
ip_configuration=gcp.sql.DatabaseInstanceSettingsIpConfigurationArgs(
|
1419
|
-
authorized_networks=[
|
1420
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1421
|
-
value="34.71.242.81",
|
1422
|
-
),
|
1423
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1424
|
-
value="34.72.28.29",
|
1425
|
-
),
|
1426
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1427
|
-
value="34.67.6.157",
|
1428
|
-
),
|
1429
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1430
|
-
value="34.67.234.134",
|
1431
|
-
),
|
1432
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1433
|
-
value="34.72.239.218",
|
1434
|
-
),
|
1435
|
-
],
|
1436
|
-
),
|
1437
|
-
),
|
1438
|
-
deletion_protection=False)
|
1439
|
-
pwd = random.RandomPassword("pwd",
|
1440
|
-
length=16,
|
1441
|
-
special=False)
|
1442
|
-
user = gcp.sql.User("user",
|
1443
|
-
instance=instance.name,
|
1444
|
-
host="%",
|
1445
|
-
password=pwd.result)
|
1446
|
-
source_connection_profile = gcp.datastream.ConnectionProfile("sourceConnectionProfile",
|
1447
|
-
display_name="Source connection profile",
|
1448
|
-
location="us-central1",
|
1449
|
-
connection_profile_id="source-profile",
|
1450
|
-
mysql_profile=gcp.datastream.ConnectionProfileMysqlProfileArgs(
|
1451
|
-
hostname=instance.public_ip_address,
|
1452
|
-
username=user.name,
|
1453
|
-
password=user.password,
|
1454
|
-
))
|
1455
|
-
default = gcp.datastream.Stream("default",
|
1456
|
-
display_name="postgres to bigQuery",
|
1457
|
-
location="us-central1",
|
1458
|
-
stream_id="postgres-bigquery",
|
1459
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
1460
|
-
source_connection_profile=source_connection_profile.id,
|
1461
|
-
mysql_source_config=gcp.datastream.StreamSourceConfigMysqlSourceConfigArgs(),
|
1462
|
-
),
|
1463
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
1464
|
-
destination_connection_profile=destination_connection_profile2.id,
|
1465
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
1466
|
-
data_freshness="900s",
|
1467
|
-
single_target_dataset=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSingleTargetDatasetArgs(
|
1468
|
-
dataset_id=postgres.id,
|
1469
|
-
),
|
1470
|
-
),
|
1471
|
-
),
|
1472
|
-
backfill_all=gcp.datastream.StreamBackfillAllArgs())
|
1473
|
-
db = gcp.sql.Database("db", instance=instance.name)
|
1474
|
-
```
|
1475
|
-
### Datastream Stream Bigquery
|
1476
|
-
|
1477
|
-
```python
|
1478
|
-
import pulumi
|
1479
|
-
import pulumi_gcp as gcp
|
1480
|
-
import pulumi_random as random
|
1481
|
-
|
1482
|
-
project = gcp.organizations.get_project()
|
1483
|
-
instance = gcp.sql.DatabaseInstance("instance",
|
1484
|
-
database_version="MYSQL_8_0",
|
1485
|
-
region="us-central1",
|
1486
|
-
settings=gcp.sql.DatabaseInstanceSettingsArgs(
|
1487
|
-
tier="db-f1-micro",
|
1488
|
-
backup_configuration=gcp.sql.DatabaseInstanceSettingsBackupConfigurationArgs(
|
1489
|
-
enabled=True,
|
1490
|
-
binary_log_enabled=True,
|
1491
|
-
),
|
1492
|
-
ip_configuration=gcp.sql.DatabaseInstanceSettingsIpConfigurationArgs(
|
1493
|
-
authorized_networks=[
|
1494
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1495
|
-
value="34.71.242.81",
|
1496
|
-
),
|
1497
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1498
|
-
value="34.72.28.29",
|
1499
|
-
),
|
1500
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1501
|
-
value="34.67.6.157",
|
1502
|
-
),
|
1503
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1504
|
-
value="34.67.234.134",
|
1505
|
-
),
|
1506
|
-
gcp.sql.DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs(
|
1507
|
-
value="34.72.239.218",
|
1508
|
-
),
|
1509
|
-
],
|
1510
|
-
),
|
1511
|
-
),
|
1512
|
-
deletion_protection=True)
|
1513
|
-
db = gcp.sql.Database("db", instance=instance.name)
|
1514
|
-
pwd = random.RandomPassword("pwd",
|
1515
|
-
length=16,
|
1516
|
-
special=False)
|
1517
|
-
user = gcp.sql.User("user",
|
1518
|
-
instance=instance.name,
|
1519
|
-
host="%",
|
1520
|
-
password=pwd.result)
|
1521
|
-
source_connection_profile = gcp.datastream.ConnectionProfile("sourceConnectionProfile",
|
1522
|
-
display_name="Source connection profile",
|
1523
|
-
location="us-central1",
|
1524
|
-
connection_profile_id="source-profile",
|
1525
|
-
mysql_profile=gcp.datastream.ConnectionProfileMysqlProfileArgs(
|
1526
|
-
hostname=instance.public_ip_address,
|
1527
|
-
username=user.name,
|
1528
|
-
password=user.password,
|
1529
|
-
))
|
1530
|
-
bq_sa = gcp.bigquery.get_default_service_account()
|
1531
|
-
bigquery_key_user = gcp.kms.CryptoKeyIAMMember("bigqueryKeyUser",
|
1532
|
-
crypto_key_id="bigquery-kms-name",
|
1533
|
-
role="roles/cloudkms.cryptoKeyEncrypterDecrypter",
|
1534
|
-
member=f"serviceAccount:{bq_sa.email}")
|
1535
|
-
destination_connection_profile = gcp.datastream.ConnectionProfile("destinationConnectionProfile",
|
1536
|
-
display_name="Connection profile",
|
1537
|
-
location="us-central1",
|
1538
|
-
connection_profile_id="destination-profile",
|
1539
|
-
bigquery_profile=gcp.datastream.ConnectionProfileBigqueryProfileArgs())
|
1540
|
-
default = gcp.datastream.Stream("default",
|
1541
|
-
stream_id="my-stream",
|
1542
|
-
location="us-central1",
|
1543
|
-
display_name="my stream",
|
1544
|
-
source_config=gcp.datastream.StreamSourceConfigArgs(
|
1545
|
-
source_connection_profile=source_connection_profile.id,
|
1546
|
-
mysql_source_config=gcp.datastream.StreamSourceConfigMysqlSourceConfigArgs(),
|
1547
|
-
),
|
1548
|
-
destination_config=gcp.datastream.StreamDestinationConfigArgs(
|
1549
|
-
destination_connection_profile=destination_connection_profile.id,
|
1550
|
-
bigquery_destination_config=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigArgs(
|
1551
|
-
source_hierarchy_datasets=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsArgs(
|
1552
|
-
dataset_template=gcp.datastream.StreamDestinationConfigBigqueryDestinationConfigSourceHierarchyDatasetsDatasetTemplateArgs(
|
1553
|
-
location="us-central1",
|
1554
|
-
kms_key_name="bigquery-kms-name",
|
1555
|
-
),
|
1556
|
-
),
|
1557
|
-
),
|
1558
|
-
),
|
1559
|
-
backfill_none=gcp.datastream.StreamBackfillNoneArgs(),
|
1560
|
-
opts=pulumi.ResourceOptions(depends_on=[bigquery_key_user]))
|
1561
|
-
```
|
1562
618
|
|
1563
619
|
## Import
|
1564
620
|
|
@@ -1615,25 +671,13 @@ class Stream(pulumi.CustomResource):
|
|
1615
671
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1616
672
|
__props__ = StreamArgs.__new__(StreamArgs)
|
1617
673
|
|
1618
|
-
|
1619
|
-
backfill_all = backfill_all or {}
|
1620
|
-
def _setter(key, value):
|
1621
|
-
backfill_all[key] = value
|
1622
|
-
StreamBackfillAllArgs._configure(_setter, **backfill_all)
|
674
|
+
backfill_all = _utilities.configure(backfill_all, StreamBackfillAllArgs, True)
|
1623
675
|
__props__.__dict__["backfill_all"] = backfill_all
|
1624
|
-
|
1625
|
-
backfill_none = backfill_none or {}
|
1626
|
-
def _setter(key, value):
|
1627
|
-
backfill_none[key] = value
|
1628
|
-
StreamBackfillNoneArgs._configure(_setter, **backfill_none)
|
676
|
+
backfill_none = _utilities.configure(backfill_none, StreamBackfillNoneArgs, True)
|
1629
677
|
__props__.__dict__["backfill_none"] = backfill_none
|
1630
678
|
__props__.__dict__["customer_managed_encryption_key"] = customer_managed_encryption_key
|
1631
679
|
__props__.__dict__["desired_state"] = desired_state
|
1632
|
-
|
1633
|
-
destination_config = destination_config or {}
|
1634
|
-
def _setter(key, value):
|
1635
|
-
destination_config[key] = value
|
1636
|
-
StreamDestinationConfigArgs._configure(_setter, **destination_config)
|
680
|
+
destination_config = _utilities.configure(destination_config, StreamDestinationConfigArgs, True)
|
1637
681
|
if destination_config is None and not opts.urn:
|
1638
682
|
raise TypeError("Missing required property 'destination_config'")
|
1639
683
|
__props__.__dict__["destination_config"] = destination_config
|
@@ -1645,11 +689,7 @@ class Stream(pulumi.CustomResource):
|
|
1645
689
|
raise TypeError("Missing required property 'location'")
|
1646
690
|
__props__.__dict__["location"] = location
|
1647
691
|
__props__.__dict__["project"] = project
|
1648
|
-
|
1649
|
-
source_config = source_config or {}
|
1650
|
-
def _setter(key, value):
|
1651
|
-
source_config[key] = value
|
1652
|
-
StreamSourceConfigArgs._configure(_setter, **source_config)
|
692
|
+
source_config = _utilities.configure(source_config, StreamSourceConfigArgs, True)
|
1653
693
|
if source_config is None and not opts.urn:
|
1654
694
|
raise TypeError("Missing required property 'source_config'")
|
1655
695
|
__props__.__dict__["source_config"] = source_config
|