pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.20.1a1741108673__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +64 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
- pulumi_gcp/accesscontextmanager/outputs.py +104 -8
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
- pulumi_gcp/alloydb/__init__.py +2 -0
- pulumi_gcp/alloydb/get_cluster.py +491 -0
- pulumi_gcp/alloydb/get_instance.py +466 -0
- pulumi_gcp/alloydb/outputs.py +1160 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
- pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
- pulumi_gcp/appengine/_inputs.py +3 -3
- pulumi_gcp/appengine/outputs.py +2 -2
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +16 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan_association.py +16 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +16 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
- pulumi_gcp/bigquery/_inputs.py +6 -8
- pulumi_gcp/bigquery/connection.py +2 -14
- pulumi_gcp/bigquery/data_transfer_config.py +28 -0
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
- pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
- pulumi_gcp/bigquery/outputs.py +4 -5
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
- pulumi_gcp/chronicle/rule_deployment.py +21 -7
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +6 -3
- pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/outputs.py +4 -2
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
- pulumi_gcp/composer/_inputs.py +6 -6
- pulumi_gcp/composer/get_environment.py +12 -0
- pulumi_gcp/composer/get_image_versions.py +12 -0
- pulumi_gcp/composer/get_user_workloads_config_map.py +12 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +12 -0
- pulumi_gcp/composer/outputs.py +8 -8
- pulumi_gcp/compute/_inputs.py +756 -30
- pulumi_gcp/compute/firewall_policy_rule.py +0 -2
- pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
- pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
- pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
- pulumi_gcp/compute/get_image_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
- pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
- pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
- pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
- pulumi_gcp/compute/instance_template.py +14 -35
- pulumi_gcp/compute/network_peering_routes_config.py +140 -6
- pulumi_gcp/compute/outputs.py +796 -18
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +447 -3
- pulumi_gcp/container/outputs.py +469 -5
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/entry_group.py +4 -0
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/tag_template.py +4 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
- pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
- pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
- pulumi_gcp/dataproc/metastore_service.py +27 -28
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
- pulumi_gcp/developerconnect/_inputs.py +575 -0
- pulumi_gcp/developerconnect/connection.py +200 -0
- pulumi_gcp/developerconnect/git_repository_link.py +12 -0
- pulumi_gcp/developerconnect/outputs.py +461 -0
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
- pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +29 -8
- pulumi_gcp/eventarc/google_channel_config.py +58 -46
- pulumi_gcp/eventarc/outputs.py +20 -6
- pulumi_gcp/eventarc/trigger.py +95 -72
- pulumi_gcp/filestore/backup.py +4 -4
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/data_connect_service.py +937 -0
- pulumi_gcp/gemini/__init__.py +5 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +613 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +722 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
- pulumi_gcp/gemini/logging_setting.py +42 -50
- pulumi_gcp/gemini/logging_setting_binding.py +734 -0
- pulumi_gcp/gemini/release_channel_setting.py +39 -43
- pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
- pulumi_gcp/iam/organizations_policy_binding.py +10 -2
- pulumi_gcp/iam/projects_policy_binding.py +10 -2
- pulumi_gcp/iam/workforce_pool_provider.py +63 -11
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
- pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
- pulumi_gcp/monitoring/_inputs.py +588 -0
- pulumi_gcp/monitoring/outputs.py +410 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/volume_quota_rule.py +895 -0
- pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
- pulumi_gcp/networkservices/authz_extension.py +8 -15
- pulumi_gcp/networkservices/mesh.py +79 -12
- pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
- pulumi_gcp/parametermanager/get_parameter_version_render.py +3 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +3 -0
- pulumi_gcp/projects/__init__.py +1 -0
- pulumi_gcp/projects/get_ancestry.py +150 -0
- pulumi_gcp/projects/outputs.py +30 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
- pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +211 -94
- pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
- pulumi_gcp/secretmanager/secret_version.py +73 -23
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/mute_config.py +136 -3
- pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
- pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
- pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
- pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
- pulumi_gcp/spanner/__init__.py +1 -0
- pulumi_gcp/spanner/instance.py +0 -46
- pulumi_gcp/spanner/instance_partition.py +658 -0
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/sql/user.py +20 -14
- pulumi_gcp/storage/bucket.py +30 -0
- pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
- pulumi_gcp/tpu/_inputs.py +150 -1
- pulumi_gcp/tpu/outputs.py +114 -1
- pulumi_gcp/tpu/v2_queued_resource.py +74 -0
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
- pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
- pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1a1741108673.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1a1741108673.dist-info}/RECORD +228 -217
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1a1741108673.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.20.1a1741108673.dist-info}/top_level.txt +0 -0
pulumi_gcp/alloydb/outputs.py
CHANGED
@@ -52,6 +52,39 @@ __all__ = [
|
|
52
52
|
'InstancePscInstanceConfig',
|
53
53
|
'InstanceQueryInsightsConfig',
|
54
54
|
'InstanceReadPoolConfig',
|
55
|
+
'GetClusterAutomatedBackupPolicyResult',
|
56
|
+
'GetClusterAutomatedBackupPolicyEncryptionConfigResult',
|
57
|
+
'GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult',
|
58
|
+
'GetClusterAutomatedBackupPolicyTimeBasedRetentionResult',
|
59
|
+
'GetClusterAutomatedBackupPolicyWeeklyScheduleResult',
|
60
|
+
'GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult',
|
61
|
+
'GetClusterBackupSourceResult',
|
62
|
+
'GetClusterContinuousBackupConfigResult',
|
63
|
+
'GetClusterContinuousBackupConfigEncryptionConfigResult',
|
64
|
+
'GetClusterContinuousBackupInfoResult',
|
65
|
+
'GetClusterContinuousBackupInfoEncryptionInfoResult',
|
66
|
+
'GetClusterEncryptionConfigResult',
|
67
|
+
'GetClusterEncryptionInfoResult',
|
68
|
+
'GetClusterInitialUserResult',
|
69
|
+
'GetClusterMaintenanceUpdatePolicyResult',
|
70
|
+
'GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult',
|
71
|
+
'GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult',
|
72
|
+
'GetClusterMigrationSourceResult',
|
73
|
+
'GetClusterNetworkConfigResult',
|
74
|
+
'GetClusterPscConfigResult',
|
75
|
+
'GetClusterRestoreBackupSourceResult',
|
76
|
+
'GetClusterRestoreContinuousBackupSourceResult',
|
77
|
+
'GetClusterSecondaryConfigResult',
|
78
|
+
'GetClusterTrialMetadataResult',
|
79
|
+
'GetInstanceClientConnectionConfigResult',
|
80
|
+
'GetInstanceClientConnectionConfigSslConfigResult',
|
81
|
+
'GetInstanceMachineConfigResult',
|
82
|
+
'GetInstanceNetworkConfigResult',
|
83
|
+
'GetInstanceNetworkConfigAuthorizedExternalNetworkResult',
|
84
|
+
'GetInstanceObservabilityConfigResult',
|
85
|
+
'GetInstancePscInstanceConfigResult',
|
86
|
+
'GetInstanceQueryInsightsConfigResult',
|
87
|
+
'GetInstanceReadPoolConfigResult',
|
55
88
|
'GetLocationsLocationResult',
|
56
89
|
'GetSupportedDatabaseFlagsSupportedDatabaseFlagResult',
|
57
90
|
'GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsResult',
|
@@ -1991,6 +2024,1133 @@ class InstanceReadPoolConfig(dict):
|
|
1991
2024
|
return pulumi.get(self, "node_count")
|
1992
2025
|
|
1993
2026
|
|
2027
|
+
@pulumi.output_type
|
2028
|
+
class GetClusterAutomatedBackupPolicyResult(dict):
|
2029
|
+
def __init__(__self__, *,
|
2030
|
+
backup_window: str,
|
2031
|
+
enabled: bool,
|
2032
|
+
encryption_configs: Sequence['outputs.GetClusterAutomatedBackupPolicyEncryptionConfigResult'],
|
2033
|
+
labels: Mapping[str, str],
|
2034
|
+
location: str,
|
2035
|
+
quantity_based_retentions: Sequence['outputs.GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult'],
|
2036
|
+
time_based_retentions: Sequence['outputs.GetClusterAutomatedBackupPolicyTimeBasedRetentionResult'],
|
2037
|
+
weekly_schedules: Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleResult']):
|
2038
|
+
"""
|
2039
|
+
:param str backup_window: The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.
|
2040
|
+
|
2041
|
+
The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.
|
2042
|
+
|
2043
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
2044
|
+
:param bool enabled: Whether automated backups are enabled.
|
2045
|
+
:param Sequence['GetClusterAutomatedBackupPolicyEncryptionConfigArgs'] encryption_configs: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
2046
|
+
:param Mapping[str, str] labels: Labels to apply to backups created using this configuration.
|
2047
|
+
:param str location: (optional)
|
2048
|
+
The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
|
2049
|
+
:param Sequence['GetClusterAutomatedBackupPolicyQuantityBasedRetentionArgs'] quantity_based_retentions: Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together.
|
2050
|
+
:param Sequence['GetClusterAutomatedBackupPolicyTimeBasedRetentionArgs'] time_based_retentions: Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together.
|
2051
|
+
:param Sequence['GetClusterAutomatedBackupPolicyWeeklyScheduleArgs'] weekly_schedules: Weekly schedule for the Backup.
|
2052
|
+
"""
|
2053
|
+
pulumi.set(__self__, "backup_window", backup_window)
|
2054
|
+
pulumi.set(__self__, "enabled", enabled)
|
2055
|
+
pulumi.set(__self__, "encryption_configs", encryption_configs)
|
2056
|
+
pulumi.set(__self__, "labels", labels)
|
2057
|
+
pulumi.set(__self__, "location", location)
|
2058
|
+
pulumi.set(__self__, "quantity_based_retentions", quantity_based_retentions)
|
2059
|
+
pulumi.set(__self__, "time_based_retentions", time_based_retentions)
|
2060
|
+
pulumi.set(__self__, "weekly_schedules", weekly_schedules)
|
2061
|
+
|
2062
|
+
@property
|
2063
|
+
@pulumi.getter(name="backupWindow")
|
2064
|
+
def backup_window(self) -> str:
|
2065
|
+
"""
|
2066
|
+
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.
|
2067
|
+
|
2068
|
+
The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.
|
2069
|
+
|
2070
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
2071
|
+
"""
|
2072
|
+
return pulumi.get(self, "backup_window")
|
2073
|
+
|
2074
|
+
@property
|
2075
|
+
@pulumi.getter
|
2076
|
+
def enabled(self) -> bool:
|
2077
|
+
"""
|
2078
|
+
Whether automated backups are enabled.
|
2079
|
+
"""
|
2080
|
+
return pulumi.get(self, "enabled")
|
2081
|
+
|
2082
|
+
@property
|
2083
|
+
@pulumi.getter(name="encryptionConfigs")
|
2084
|
+
def encryption_configs(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyEncryptionConfigResult']:
|
2085
|
+
"""
|
2086
|
+
EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
2087
|
+
"""
|
2088
|
+
return pulumi.get(self, "encryption_configs")
|
2089
|
+
|
2090
|
+
@property
|
2091
|
+
@pulumi.getter
|
2092
|
+
def labels(self) -> Mapping[str, str]:
|
2093
|
+
"""
|
2094
|
+
Labels to apply to backups created using this configuration.
|
2095
|
+
"""
|
2096
|
+
return pulumi.get(self, "labels")
|
2097
|
+
|
2098
|
+
@property
|
2099
|
+
@pulumi.getter
|
2100
|
+
def location(self) -> str:
|
2101
|
+
"""
|
2102
|
+
(optional)
|
2103
|
+
The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
|
2104
|
+
"""
|
2105
|
+
return pulumi.get(self, "location")
|
2106
|
+
|
2107
|
+
@property
|
2108
|
+
@pulumi.getter(name="quantityBasedRetentions")
|
2109
|
+
def quantity_based_retentions(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult']:
|
2110
|
+
"""
|
2111
|
+
Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together.
|
2112
|
+
"""
|
2113
|
+
return pulumi.get(self, "quantity_based_retentions")
|
2114
|
+
|
2115
|
+
@property
|
2116
|
+
@pulumi.getter(name="timeBasedRetentions")
|
2117
|
+
def time_based_retentions(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyTimeBasedRetentionResult']:
|
2118
|
+
"""
|
2119
|
+
Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together.
|
2120
|
+
"""
|
2121
|
+
return pulumi.get(self, "time_based_retentions")
|
2122
|
+
|
2123
|
+
@property
|
2124
|
+
@pulumi.getter(name="weeklySchedules")
|
2125
|
+
def weekly_schedules(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleResult']:
|
2126
|
+
"""
|
2127
|
+
Weekly schedule for the Backup.
|
2128
|
+
"""
|
2129
|
+
return pulumi.get(self, "weekly_schedules")
|
2130
|
+
|
2131
|
+
|
2132
|
+
@pulumi.output_type
|
2133
|
+
class GetClusterAutomatedBackupPolicyEncryptionConfigResult(dict):
|
2134
|
+
def __init__(__self__, *,
|
2135
|
+
kms_key_name: str):
|
2136
|
+
"""
|
2137
|
+
:param str kms_key_name: The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
|
2138
|
+
"""
|
2139
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
2140
|
+
|
2141
|
+
@property
|
2142
|
+
@pulumi.getter(name="kmsKeyName")
|
2143
|
+
def kms_key_name(self) -> str:
|
2144
|
+
"""
|
2145
|
+
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
|
2146
|
+
"""
|
2147
|
+
return pulumi.get(self, "kms_key_name")
|
2148
|
+
|
2149
|
+
|
2150
|
+
@pulumi.output_type
|
2151
|
+
class GetClusterAutomatedBackupPolicyQuantityBasedRetentionResult(dict):
|
2152
|
+
def __init__(__self__, *,
|
2153
|
+
count: int):
|
2154
|
+
"""
|
2155
|
+
:param int count: The number of backups to retain.
|
2156
|
+
"""
|
2157
|
+
pulumi.set(__self__, "count", count)
|
2158
|
+
|
2159
|
+
@property
|
2160
|
+
@pulumi.getter
|
2161
|
+
def count(self) -> int:
|
2162
|
+
"""
|
2163
|
+
The number of backups to retain.
|
2164
|
+
"""
|
2165
|
+
return pulumi.get(self, "count")
|
2166
|
+
|
2167
|
+
|
2168
|
+
@pulumi.output_type
|
2169
|
+
class GetClusterAutomatedBackupPolicyTimeBasedRetentionResult(dict):
|
2170
|
+
def __init__(__self__, *,
|
2171
|
+
retention_period: str):
|
2172
|
+
"""
|
2173
|
+
:param str retention_period: The retention period.
|
2174
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
2175
|
+
"""
|
2176
|
+
pulumi.set(__self__, "retention_period", retention_period)
|
2177
|
+
|
2178
|
+
@property
|
2179
|
+
@pulumi.getter(name="retentionPeriod")
|
2180
|
+
def retention_period(self) -> str:
|
2181
|
+
"""
|
2182
|
+
The retention period.
|
2183
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
2184
|
+
"""
|
2185
|
+
return pulumi.get(self, "retention_period")
|
2186
|
+
|
2187
|
+
|
2188
|
+
@pulumi.output_type
|
2189
|
+
class GetClusterAutomatedBackupPolicyWeeklyScheduleResult(dict):
|
2190
|
+
def __init__(__self__, *,
|
2191
|
+
days_of_weeks: Sequence[str],
|
2192
|
+
start_times: Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult']):
|
2193
|
+
"""
|
2194
|
+
:param Sequence[str] days_of_weeks: The days of the week to perform a backup. At least one day of the week must be provided. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
|
2195
|
+
:param Sequence['GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs'] start_times: The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).
|
2196
|
+
"""
|
2197
|
+
pulumi.set(__self__, "days_of_weeks", days_of_weeks)
|
2198
|
+
pulumi.set(__self__, "start_times", start_times)
|
2199
|
+
|
2200
|
+
@property
|
2201
|
+
@pulumi.getter(name="daysOfWeeks")
|
2202
|
+
def days_of_weeks(self) -> Sequence[str]:
|
2203
|
+
"""
|
2204
|
+
The days of the week to perform a backup. At least one day of the week must be provided. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
|
2205
|
+
"""
|
2206
|
+
return pulumi.get(self, "days_of_weeks")
|
2207
|
+
|
2208
|
+
@property
|
2209
|
+
@pulumi.getter(name="startTimes")
|
2210
|
+
def start_times(self) -> Sequence['outputs.GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult']:
|
2211
|
+
"""
|
2212
|
+
The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).
|
2213
|
+
"""
|
2214
|
+
return pulumi.get(self, "start_times")
|
2215
|
+
|
2216
|
+
|
2217
|
+
@pulumi.output_type
|
2218
|
+
class GetClusterAutomatedBackupPolicyWeeklyScheduleStartTimeResult(dict):
|
2219
|
+
def __init__(__self__, *,
|
2220
|
+
hours: int,
|
2221
|
+
minutes: int,
|
2222
|
+
nanos: int,
|
2223
|
+
seconds: int):
|
2224
|
+
"""
|
2225
|
+
:param int hours: Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
|
2226
|
+
:param int minutes: Minutes of hour of day. Currently, only the value 0 is supported.
|
2227
|
+
:param int nanos: Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
|
2228
|
+
:param int seconds: Seconds of minutes of the time. Currently, only the value 0 is supported.
|
2229
|
+
"""
|
2230
|
+
pulumi.set(__self__, "hours", hours)
|
2231
|
+
pulumi.set(__self__, "minutes", minutes)
|
2232
|
+
pulumi.set(__self__, "nanos", nanos)
|
2233
|
+
pulumi.set(__self__, "seconds", seconds)
|
2234
|
+
|
2235
|
+
@property
|
2236
|
+
@pulumi.getter
|
2237
|
+
def hours(self) -> int:
|
2238
|
+
"""
|
2239
|
+
Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
|
2240
|
+
"""
|
2241
|
+
return pulumi.get(self, "hours")
|
2242
|
+
|
2243
|
+
@property
|
2244
|
+
@pulumi.getter
|
2245
|
+
def minutes(self) -> int:
|
2246
|
+
"""
|
2247
|
+
Minutes of hour of day. Currently, only the value 0 is supported.
|
2248
|
+
"""
|
2249
|
+
return pulumi.get(self, "minutes")
|
2250
|
+
|
2251
|
+
@property
|
2252
|
+
@pulumi.getter
|
2253
|
+
def nanos(self) -> int:
|
2254
|
+
"""
|
2255
|
+
Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
|
2256
|
+
"""
|
2257
|
+
return pulumi.get(self, "nanos")
|
2258
|
+
|
2259
|
+
@property
|
2260
|
+
@pulumi.getter
|
2261
|
+
def seconds(self) -> int:
|
2262
|
+
"""
|
2263
|
+
Seconds of minutes of the time. Currently, only the value 0 is supported.
|
2264
|
+
"""
|
2265
|
+
return pulumi.get(self, "seconds")
|
2266
|
+
|
2267
|
+
|
2268
|
+
@pulumi.output_type
|
2269
|
+
class GetClusterBackupSourceResult(dict):
|
2270
|
+
def __init__(__self__, *,
|
2271
|
+
backup_name: str):
|
2272
|
+
"""
|
2273
|
+
:param str backup_name: The name of the backup resource.
|
2274
|
+
"""
|
2275
|
+
pulumi.set(__self__, "backup_name", backup_name)
|
2276
|
+
|
2277
|
+
@property
|
2278
|
+
@pulumi.getter(name="backupName")
|
2279
|
+
def backup_name(self) -> str:
|
2280
|
+
"""
|
2281
|
+
The name of the backup resource.
|
2282
|
+
"""
|
2283
|
+
return pulumi.get(self, "backup_name")
|
2284
|
+
|
2285
|
+
|
2286
|
+
@pulumi.output_type
|
2287
|
+
class GetClusterContinuousBackupConfigResult(dict):
|
2288
|
+
def __init__(__self__, *,
|
2289
|
+
enabled: bool,
|
2290
|
+
encryption_configs: Sequence['outputs.GetClusterContinuousBackupConfigEncryptionConfigResult'],
|
2291
|
+
recovery_window_days: int):
|
2292
|
+
"""
|
2293
|
+
:param bool enabled: Whether continuous backup recovery is enabled. If not set, defaults to true.
|
2294
|
+
:param Sequence['GetClusterContinuousBackupConfigEncryptionConfigArgs'] encryption_configs: EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
2295
|
+
:param int recovery_window_days: The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window.
|
2296
|
+
|
2297
|
+
If not set, defaults to 14 days.
|
2298
|
+
"""
|
2299
|
+
pulumi.set(__self__, "enabled", enabled)
|
2300
|
+
pulumi.set(__self__, "encryption_configs", encryption_configs)
|
2301
|
+
pulumi.set(__self__, "recovery_window_days", recovery_window_days)
|
2302
|
+
|
2303
|
+
@property
|
2304
|
+
@pulumi.getter
|
2305
|
+
def enabled(self) -> bool:
|
2306
|
+
"""
|
2307
|
+
Whether continuous backup recovery is enabled. If not set, defaults to true.
|
2308
|
+
"""
|
2309
|
+
return pulumi.get(self, "enabled")
|
2310
|
+
|
2311
|
+
@property
|
2312
|
+
@pulumi.getter(name="encryptionConfigs")
|
2313
|
+
def encryption_configs(self) -> Sequence['outputs.GetClusterContinuousBackupConfigEncryptionConfigResult']:
|
2314
|
+
"""
|
2315
|
+
EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
|
2316
|
+
"""
|
2317
|
+
return pulumi.get(self, "encryption_configs")
|
2318
|
+
|
2319
|
+
@property
|
2320
|
+
@pulumi.getter(name="recoveryWindowDays")
|
2321
|
+
def recovery_window_days(self) -> int:
|
2322
|
+
"""
|
2323
|
+
The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window.
|
2324
|
+
|
2325
|
+
If not set, defaults to 14 days.
|
2326
|
+
"""
|
2327
|
+
return pulumi.get(self, "recovery_window_days")
|
2328
|
+
|
2329
|
+
|
2330
|
+
@pulumi.output_type
|
2331
|
+
class GetClusterContinuousBackupConfigEncryptionConfigResult(dict):
|
2332
|
+
def __init__(__self__, *,
|
2333
|
+
kms_key_name: str):
|
2334
|
+
"""
|
2335
|
+
:param str kms_key_name: The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
|
2336
|
+
"""
|
2337
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
2338
|
+
|
2339
|
+
@property
|
2340
|
+
@pulumi.getter(name="kmsKeyName")
|
2341
|
+
def kms_key_name(self) -> str:
|
2342
|
+
"""
|
2343
|
+
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
|
2344
|
+
"""
|
2345
|
+
return pulumi.get(self, "kms_key_name")
|
2346
|
+
|
2347
|
+
|
2348
|
+
@pulumi.output_type
|
2349
|
+
class GetClusterContinuousBackupInfoResult(dict):
|
2350
|
+
def __init__(__self__, *,
|
2351
|
+
earliest_restorable_time: str,
|
2352
|
+
enabled_time: str,
|
2353
|
+
encryption_infos: Sequence['outputs.GetClusterContinuousBackupInfoEncryptionInfoResult'],
|
2354
|
+
schedules: Sequence[str]):
|
2355
|
+
"""
|
2356
|
+
:param str earliest_restorable_time: The earliest restorable time that can be restored to. Output only field.
|
2357
|
+
:param str enabled_time: When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
|
2358
|
+
:param Sequence['GetClusterContinuousBackupInfoEncryptionInfoArgs'] encryption_infos: Output only. The encryption information for the WALs and backups required for ContinuousBackup.
|
2359
|
+
:param Sequence[str] schedules: Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
|
2360
|
+
"""
|
2361
|
+
pulumi.set(__self__, "earliest_restorable_time", earliest_restorable_time)
|
2362
|
+
pulumi.set(__self__, "enabled_time", enabled_time)
|
2363
|
+
pulumi.set(__self__, "encryption_infos", encryption_infos)
|
2364
|
+
pulumi.set(__self__, "schedules", schedules)
|
2365
|
+
|
2366
|
+
@property
|
2367
|
+
@pulumi.getter(name="earliestRestorableTime")
|
2368
|
+
def earliest_restorable_time(self) -> str:
|
2369
|
+
"""
|
2370
|
+
The earliest restorable time that can be restored to. Output only field.
|
2371
|
+
"""
|
2372
|
+
return pulumi.get(self, "earliest_restorable_time")
|
2373
|
+
|
2374
|
+
@property
|
2375
|
+
@pulumi.getter(name="enabledTime")
|
2376
|
+
def enabled_time(self) -> str:
|
2377
|
+
"""
|
2378
|
+
When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
|
2379
|
+
"""
|
2380
|
+
return pulumi.get(self, "enabled_time")
|
2381
|
+
|
2382
|
+
@property
|
2383
|
+
@pulumi.getter(name="encryptionInfos")
|
2384
|
+
def encryption_infos(self) -> Sequence['outputs.GetClusterContinuousBackupInfoEncryptionInfoResult']:
|
2385
|
+
"""
|
2386
|
+
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
|
2387
|
+
"""
|
2388
|
+
return pulumi.get(self, "encryption_infos")
|
2389
|
+
|
2390
|
+
@property
|
2391
|
+
@pulumi.getter
|
2392
|
+
def schedules(self) -> Sequence[str]:
|
2393
|
+
"""
|
2394
|
+
Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
|
2395
|
+
"""
|
2396
|
+
return pulumi.get(self, "schedules")
|
2397
|
+
|
2398
|
+
|
2399
|
+
@pulumi.output_type
|
2400
|
+
class GetClusterContinuousBackupInfoEncryptionInfoResult(dict):
|
2401
|
+
def __init__(__self__, *,
|
2402
|
+
encryption_type: str,
|
2403
|
+
kms_key_versions: Sequence[str]):
|
2404
|
+
"""
|
2405
|
+
:param str encryption_type: Output only. Type of encryption.
|
2406
|
+
:param Sequence[str] kms_key_versions: Output only. Cloud KMS key versions that are being used to protect the database or the backup.
|
2407
|
+
"""
|
2408
|
+
pulumi.set(__self__, "encryption_type", encryption_type)
|
2409
|
+
pulumi.set(__self__, "kms_key_versions", kms_key_versions)
|
2410
|
+
|
2411
|
+
@property
|
2412
|
+
@pulumi.getter(name="encryptionType")
|
2413
|
+
def encryption_type(self) -> str:
|
2414
|
+
"""
|
2415
|
+
Output only. Type of encryption.
|
2416
|
+
"""
|
2417
|
+
return pulumi.get(self, "encryption_type")
|
2418
|
+
|
2419
|
+
@property
|
2420
|
+
@pulumi.getter(name="kmsKeyVersions")
|
2421
|
+
def kms_key_versions(self) -> Sequence[str]:
|
2422
|
+
"""
|
2423
|
+
Output only. Cloud KMS key versions that are being used to protect the database or the backup.
|
2424
|
+
"""
|
2425
|
+
return pulumi.get(self, "kms_key_versions")
|
2426
|
+
|
2427
|
+
|
2428
|
+
@pulumi.output_type
|
2429
|
+
class GetClusterEncryptionConfigResult(dict):
|
2430
|
+
def __init__(__self__, *,
|
2431
|
+
kms_key_name: str):
|
2432
|
+
"""
|
2433
|
+
:param str kms_key_name: The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
|
2434
|
+
"""
|
2435
|
+
pulumi.set(__self__, "kms_key_name", kms_key_name)
|
2436
|
+
|
2437
|
+
@property
|
2438
|
+
@pulumi.getter(name="kmsKeyName")
|
2439
|
+
def kms_key_name(self) -> str:
|
2440
|
+
"""
|
2441
|
+
The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
|
2442
|
+
"""
|
2443
|
+
return pulumi.get(self, "kms_key_name")
|
2444
|
+
|
2445
|
+
|
2446
|
+
@pulumi.output_type
|
2447
|
+
class GetClusterEncryptionInfoResult(dict):
|
2448
|
+
def __init__(__self__, *,
|
2449
|
+
encryption_type: str,
|
2450
|
+
kms_key_versions: Sequence[str]):
|
2451
|
+
"""
|
2452
|
+
:param str encryption_type: Output only. Type of encryption.
|
2453
|
+
:param Sequence[str] kms_key_versions: Output only. Cloud KMS key versions that are being used to protect the database or the backup.
|
2454
|
+
"""
|
2455
|
+
pulumi.set(__self__, "encryption_type", encryption_type)
|
2456
|
+
pulumi.set(__self__, "kms_key_versions", kms_key_versions)
|
2457
|
+
|
2458
|
+
@property
|
2459
|
+
@pulumi.getter(name="encryptionType")
|
2460
|
+
def encryption_type(self) -> str:
|
2461
|
+
"""
|
2462
|
+
Output only. Type of encryption.
|
2463
|
+
"""
|
2464
|
+
return pulumi.get(self, "encryption_type")
|
2465
|
+
|
2466
|
+
@property
|
2467
|
+
@pulumi.getter(name="kmsKeyVersions")
|
2468
|
+
def kms_key_versions(self) -> Sequence[str]:
|
2469
|
+
"""
|
2470
|
+
Output only. Cloud KMS key versions that are being used to protect the database or the backup.
|
2471
|
+
"""
|
2472
|
+
return pulumi.get(self, "kms_key_versions")
|
2473
|
+
|
2474
|
+
|
2475
|
+
@pulumi.output_type
|
2476
|
+
class GetClusterInitialUserResult(dict):
|
2477
|
+
def __init__(__self__, *,
|
2478
|
+
password: str,
|
2479
|
+
user: str):
|
2480
|
+
"""
|
2481
|
+
:param str password: The initial password for the user.
|
2482
|
+
:param str user: The database username.
|
2483
|
+
"""
|
2484
|
+
pulumi.set(__self__, "password", password)
|
2485
|
+
pulumi.set(__self__, "user", user)
|
2486
|
+
|
2487
|
+
@property
|
2488
|
+
@pulumi.getter
|
2489
|
+
def password(self) -> str:
|
2490
|
+
"""
|
2491
|
+
The initial password for the user.
|
2492
|
+
"""
|
2493
|
+
return pulumi.get(self, "password")
|
2494
|
+
|
2495
|
+
@property
|
2496
|
+
@pulumi.getter
|
2497
|
+
def user(self) -> str:
|
2498
|
+
"""
|
2499
|
+
The database username.
|
2500
|
+
"""
|
2501
|
+
return pulumi.get(self, "user")
|
2502
|
+
|
2503
|
+
|
2504
|
+
@pulumi.output_type
|
2505
|
+
class GetClusterMaintenanceUpdatePolicyResult(dict):
|
2506
|
+
def __init__(__self__, *,
|
2507
|
+
maintenance_windows: Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult']):
|
2508
|
+
"""
|
2509
|
+
:param Sequence['GetClusterMaintenanceUpdatePolicyMaintenanceWindowArgs'] maintenance_windows: Preferred windows to perform maintenance. Currently limited to 1.
|
2510
|
+
"""
|
2511
|
+
pulumi.set(__self__, "maintenance_windows", maintenance_windows)
|
2512
|
+
|
2513
|
+
@property
|
2514
|
+
@pulumi.getter(name="maintenanceWindows")
|
2515
|
+
def maintenance_windows(self) -> Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult']:
|
2516
|
+
"""
|
2517
|
+
Preferred windows to perform maintenance. Currently limited to 1.
|
2518
|
+
"""
|
2519
|
+
return pulumi.get(self, "maintenance_windows")
|
2520
|
+
|
2521
|
+
|
2522
|
+
@pulumi.output_type
|
2523
|
+
class GetClusterMaintenanceUpdatePolicyMaintenanceWindowResult(dict):
|
2524
|
+
def __init__(__self__, *,
|
2525
|
+
day: str,
|
2526
|
+
start_times: Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult']):
|
2527
|
+
"""
|
2528
|
+
:param str day: Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
|
2529
|
+
:param Sequence['GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeArgs'] start_times: Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
2530
|
+
"""
|
2531
|
+
pulumi.set(__self__, "day", day)
|
2532
|
+
pulumi.set(__self__, "start_times", start_times)
|
2533
|
+
|
2534
|
+
@property
|
2535
|
+
@pulumi.getter
|
2536
|
+
def day(self) -> str:
|
2537
|
+
"""
|
2538
|
+
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
|
2539
|
+
"""
|
2540
|
+
return pulumi.get(self, "day")
|
2541
|
+
|
2542
|
+
@property
|
2543
|
+
@pulumi.getter(name="startTimes")
|
2544
|
+
def start_times(self) -> Sequence['outputs.GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult']:
|
2545
|
+
"""
|
2546
|
+
Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time.
|
2547
|
+
"""
|
2548
|
+
return pulumi.get(self, "start_times")
|
2549
|
+
|
2550
|
+
|
2551
|
+
@pulumi.output_type
|
2552
|
+
class GetClusterMaintenanceUpdatePolicyMaintenanceWindowStartTimeResult(dict):
|
2553
|
+
def __init__(__self__, *,
|
2554
|
+
hours: int,
|
2555
|
+
minutes: int,
|
2556
|
+
nanos: int,
|
2557
|
+
seconds: int):
|
2558
|
+
"""
|
2559
|
+
:param int hours: Hours of day in 24 hour format. Should be from 0 to 23.
|
2560
|
+
:param int minutes: Minutes of hour of day. Currently, only the value 0 is supported.
|
2561
|
+
:param int nanos: Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
|
2562
|
+
:param int seconds: Seconds of minutes of the time. Currently, only the value 0 is supported.
|
2563
|
+
"""
|
2564
|
+
pulumi.set(__self__, "hours", hours)
|
2565
|
+
pulumi.set(__self__, "minutes", minutes)
|
2566
|
+
pulumi.set(__self__, "nanos", nanos)
|
2567
|
+
pulumi.set(__self__, "seconds", seconds)
|
2568
|
+
|
2569
|
+
@property
|
2570
|
+
@pulumi.getter
|
2571
|
+
def hours(self) -> int:
|
2572
|
+
"""
|
2573
|
+
Hours of day in 24 hour format. Should be from 0 to 23.
|
2574
|
+
"""
|
2575
|
+
return pulumi.get(self, "hours")
|
2576
|
+
|
2577
|
+
@property
|
2578
|
+
@pulumi.getter
|
2579
|
+
def minutes(self) -> int:
|
2580
|
+
"""
|
2581
|
+
Minutes of hour of day. Currently, only the value 0 is supported.
|
2582
|
+
"""
|
2583
|
+
return pulumi.get(self, "minutes")
|
2584
|
+
|
2585
|
+
@property
|
2586
|
+
@pulumi.getter
|
2587
|
+
def nanos(self) -> int:
|
2588
|
+
"""
|
2589
|
+
Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
|
2590
|
+
"""
|
2591
|
+
return pulumi.get(self, "nanos")
|
2592
|
+
|
2593
|
+
@property
|
2594
|
+
@pulumi.getter
|
2595
|
+
def seconds(self) -> int:
|
2596
|
+
"""
|
2597
|
+
Seconds of minutes of the time. Currently, only the value 0 is supported.
|
2598
|
+
"""
|
2599
|
+
return pulumi.get(self, "seconds")
|
2600
|
+
|
2601
|
+
|
2602
|
+
@pulumi.output_type
|
2603
|
+
class GetClusterMigrationSourceResult(dict):
|
2604
|
+
def __init__(__self__, *,
|
2605
|
+
host_port: str,
|
2606
|
+
reference_id: str,
|
2607
|
+
source_type: str):
|
2608
|
+
"""
|
2609
|
+
:param str host_port: The host and port of the on-premises instance in host:port format
|
2610
|
+
:param str reference_id: Place holder for the external source identifier(e.g DMS job name) that created the cluster.
|
2611
|
+
:param str source_type: Type of migration source.
|
2612
|
+
"""
|
2613
|
+
pulumi.set(__self__, "host_port", host_port)
|
2614
|
+
pulumi.set(__self__, "reference_id", reference_id)
|
2615
|
+
pulumi.set(__self__, "source_type", source_type)
|
2616
|
+
|
2617
|
+
@property
|
2618
|
+
@pulumi.getter(name="hostPort")
|
2619
|
+
def host_port(self) -> str:
|
2620
|
+
"""
|
2621
|
+
The host and port of the on-premises instance in host:port format
|
2622
|
+
"""
|
2623
|
+
return pulumi.get(self, "host_port")
|
2624
|
+
|
2625
|
+
@property
|
2626
|
+
@pulumi.getter(name="referenceId")
|
2627
|
+
def reference_id(self) -> str:
|
2628
|
+
"""
|
2629
|
+
Place holder for the external source identifier(e.g DMS job name) that created the cluster.
|
2630
|
+
"""
|
2631
|
+
return pulumi.get(self, "reference_id")
|
2632
|
+
|
2633
|
+
@property
|
2634
|
+
@pulumi.getter(name="sourceType")
|
2635
|
+
def source_type(self) -> str:
|
2636
|
+
"""
|
2637
|
+
Type of migration source.
|
2638
|
+
"""
|
2639
|
+
return pulumi.get(self, "source_type")
|
2640
|
+
|
2641
|
+
|
2642
|
+
@pulumi.output_type
|
2643
|
+
class GetClusterNetworkConfigResult(dict):
|
2644
|
+
def __init__(__self__, *,
|
2645
|
+
allocated_ip_range: str,
|
2646
|
+
network: str):
|
2647
|
+
"""
|
2648
|
+
:param str allocated_ip_range: The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
|
2649
|
+
If set, the instance IPs for this cluster will be created in the allocated range.
|
2650
|
+
:param str network: The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
|
2651
|
+
It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".
|
2652
|
+
"""
|
2653
|
+
pulumi.set(__self__, "allocated_ip_range", allocated_ip_range)
|
2654
|
+
pulumi.set(__self__, "network", network)
|
2655
|
+
|
2656
|
+
@property
|
2657
|
+
@pulumi.getter(name="allocatedIpRange")
|
2658
|
+
def allocated_ip_range(self) -> str:
|
2659
|
+
"""
|
2660
|
+
The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
|
2661
|
+
If set, the instance IPs for this cluster will be created in the allocated range.
|
2662
|
+
"""
|
2663
|
+
return pulumi.get(self, "allocated_ip_range")
|
2664
|
+
|
2665
|
+
@property
|
2666
|
+
@pulumi.getter
|
2667
|
+
def network(self) -> str:
|
2668
|
+
"""
|
2669
|
+
The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
|
2670
|
+
It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".
|
2671
|
+
"""
|
2672
|
+
return pulumi.get(self, "network")
|
2673
|
+
|
2674
|
+
|
2675
|
+
@pulumi.output_type
|
2676
|
+
class GetClusterPscConfigResult(dict):
|
2677
|
+
def __init__(__self__, *,
|
2678
|
+
psc_enabled: bool):
|
2679
|
+
"""
|
2680
|
+
:param bool psc_enabled: Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
2681
|
+
"""
|
2682
|
+
pulumi.set(__self__, "psc_enabled", psc_enabled)
|
2683
|
+
|
2684
|
+
@property
|
2685
|
+
@pulumi.getter(name="pscEnabled")
|
2686
|
+
def psc_enabled(self) -> bool:
|
2687
|
+
"""
|
2688
|
+
Create an instance that allows connections from Private Service Connect endpoints to the instance.
|
2689
|
+
"""
|
2690
|
+
return pulumi.get(self, "psc_enabled")
|
2691
|
+
|
2692
|
+
|
2693
|
+
@pulumi.output_type
|
2694
|
+
class GetClusterRestoreBackupSourceResult(dict):
|
2695
|
+
def __init__(__self__, *,
|
2696
|
+
backup_name: str):
|
2697
|
+
"""
|
2698
|
+
:param str backup_name: The name of the backup that this cluster is restored from.
|
2699
|
+
"""
|
2700
|
+
pulumi.set(__self__, "backup_name", backup_name)
|
2701
|
+
|
2702
|
+
@property
|
2703
|
+
@pulumi.getter(name="backupName")
|
2704
|
+
def backup_name(self) -> str:
|
2705
|
+
"""
|
2706
|
+
The name of the backup that this cluster is restored from.
|
2707
|
+
"""
|
2708
|
+
return pulumi.get(self, "backup_name")
|
2709
|
+
|
2710
|
+
|
2711
|
+
@pulumi.output_type
|
2712
|
+
class GetClusterRestoreContinuousBackupSourceResult(dict):
|
2713
|
+
def __init__(__self__, *,
|
2714
|
+
cluster: str,
|
2715
|
+
point_in_time: str):
|
2716
|
+
"""
|
2717
|
+
:param str cluster: The name of the source cluster that this cluster is restored from.
|
2718
|
+
:param str point_in_time: The point in time that this cluster is restored to, in RFC 3339 format.
|
2719
|
+
"""
|
2720
|
+
pulumi.set(__self__, "cluster", cluster)
|
2721
|
+
pulumi.set(__self__, "point_in_time", point_in_time)
|
2722
|
+
|
2723
|
+
@property
|
2724
|
+
@pulumi.getter
|
2725
|
+
def cluster(self) -> str:
|
2726
|
+
"""
|
2727
|
+
The name of the source cluster that this cluster is restored from.
|
2728
|
+
"""
|
2729
|
+
return pulumi.get(self, "cluster")
|
2730
|
+
|
2731
|
+
@property
|
2732
|
+
@pulumi.getter(name="pointInTime")
|
2733
|
+
def point_in_time(self) -> str:
|
2734
|
+
"""
|
2735
|
+
The point in time that this cluster is restored to, in RFC 3339 format.
|
2736
|
+
"""
|
2737
|
+
return pulumi.get(self, "point_in_time")
|
2738
|
+
|
2739
|
+
|
2740
|
+
@pulumi.output_type
|
2741
|
+
class GetClusterSecondaryConfigResult(dict):
|
2742
|
+
def __init__(__self__, *,
|
2743
|
+
primary_cluster_name: str):
|
2744
|
+
"""
|
2745
|
+
:param str primary_cluster_name: Name of the primary cluster must be in the format
|
2746
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
2747
|
+
"""
|
2748
|
+
pulumi.set(__self__, "primary_cluster_name", primary_cluster_name)
|
2749
|
+
|
2750
|
+
@property
|
2751
|
+
@pulumi.getter(name="primaryClusterName")
|
2752
|
+
def primary_cluster_name(self) -> str:
|
2753
|
+
"""
|
2754
|
+
Name of the primary cluster must be in the format
|
2755
|
+
'projects/{project}/locations/{location}/clusters/{cluster_id}'
|
2756
|
+
"""
|
2757
|
+
return pulumi.get(self, "primary_cluster_name")
|
2758
|
+
|
2759
|
+
|
2760
|
+
@pulumi.output_type
|
2761
|
+
class GetClusterTrialMetadataResult(dict):
|
2762
|
+
def __init__(__self__, *,
|
2763
|
+
end_time: str,
|
2764
|
+
grace_end_time: str,
|
2765
|
+
start_time: str,
|
2766
|
+
upgrade_time: str):
|
2767
|
+
"""
|
2768
|
+
:param str end_time: End time of the trial cluster.
|
2769
|
+
:param str grace_end_time: Grace end time of the trial cluster.
|
2770
|
+
:param str start_time: Start time of the trial cluster.
|
2771
|
+
:param str upgrade_time: Upgrade time of the trial cluster to standard cluster.
|
2772
|
+
"""
|
2773
|
+
pulumi.set(__self__, "end_time", end_time)
|
2774
|
+
pulumi.set(__self__, "grace_end_time", grace_end_time)
|
2775
|
+
pulumi.set(__self__, "start_time", start_time)
|
2776
|
+
pulumi.set(__self__, "upgrade_time", upgrade_time)
|
2777
|
+
|
2778
|
+
@property
|
2779
|
+
@pulumi.getter(name="endTime")
|
2780
|
+
def end_time(self) -> str:
|
2781
|
+
"""
|
2782
|
+
End time of the trial cluster.
|
2783
|
+
"""
|
2784
|
+
return pulumi.get(self, "end_time")
|
2785
|
+
|
2786
|
+
@property
|
2787
|
+
@pulumi.getter(name="graceEndTime")
|
2788
|
+
def grace_end_time(self) -> str:
|
2789
|
+
"""
|
2790
|
+
Grace end time of the trial cluster.
|
2791
|
+
"""
|
2792
|
+
return pulumi.get(self, "grace_end_time")
|
2793
|
+
|
2794
|
+
@property
|
2795
|
+
@pulumi.getter(name="startTime")
|
2796
|
+
def start_time(self) -> str:
|
2797
|
+
"""
|
2798
|
+
Start time of the trial cluster.
|
2799
|
+
"""
|
2800
|
+
return pulumi.get(self, "start_time")
|
2801
|
+
|
2802
|
+
@property
|
2803
|
+
@pulumi.getter(name="upgradeTime")
|
2804
|
+
def upgrade_time(self) -> str:
|
2805
|
+
"""
|
2806
|
+
Upgrade time of the trial cluster to standard cluster.
|
2807
|
+
"""
|
2808
|
+
return pulumi.get(self, "upgrade_time")
|
2809
|
+
|
2810
|
+
|
2811
|
+
@pulumi.output_type
|
2812
|
+
class GetInstanceClientConnectionConfigResult(dict):
|
2813
|
+
def __init__(__self__, *,
|
2814
|
+
require_connectors: bool,
|
2815
|
+
ssl_configs: Sequence['outputs.GetInstanceClientConnectionConfigSslConfigResult']):
|
2816
|
+
"""
|
2817
|
+
:param bool require_connectors: Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
|
2818
|
+
:param Sequence['GetInstanceClientConnectionConfigSslConfigArgs'] ssl_configs: SSL config option for this instance.
|
2819
|
+
"""
|
2820
|
+
pulumi.set(__self__, "require_connectors", require_connectors)
|
2821
|
+
pulumi.set(__self__, "ssl_configs", ssl_configs)
|
2822
|
+
|
2823
|
+
@property
|
2824
|
+
@pulumi.getter(name="requireConnectors")
|
2825
|
+
def require_connectors(self) -> bool:
|
2826
|
+
"""
|
2827
|
+
Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
|
2828
|
+
"""
|
2829
|
+
return pulumi.get(self, "require_connectors")
|
2830
|
+
|
2831
|
+
@property
|
2832
|
+
@pulumi.getter(name="sslConfigs")
|
2833
|
+
def ssl_configs(self) -> Sequence['outputs.GetInstanceClientConnectionConfigSslConfigResult']:
|
2834
|
+
"""
|
2835
|
+
SSL config option for this instance.
|
2836
|
+
"""
|
2837
|
+
return pulumi.get(self, "ssl_configs")
|
2838
|
+
|
2839
|
+
|
2840
|
+
@pulumi.output_type
|
2841
|
+
class GetInstanceClientConnectionConfigSslConfigResult(dict):
|
2842
|
+
def __init__(__self__, *,
|
2843
|
+
ssl_mode: str):
|
2844
|
+
"""
|
2845
|
+
:param str ssl_mode: SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
|
2846
|
+
"""
|
2847
|
+
pulumi.set(__self__, "ssl_mode", ssl_mode)
|
2848
|
+
|
2849
|
+
@property
|
2850
|
+
@pulumi.getter(name="sslMode")
|
2851
|
+
def ssl_mode(self) -> str:
|
2852
|
+
"""
|
2853
|
+
SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
|
2854
|
+
"""
|
2855
|
+
return pulumi.get(self, "ssl_mode")
|
2856
|
+
|
2857
|
+
|
2858
|
+
@pulumi.output_type
|
2859
|
+
class GetInstanceMachineConfigResult(dict):
|
2860
|
+
def __init__(__self__, *,
|
2861
|
+
cpu_count: int):
|
2862
|
+
"""
|
2863
|
+
:param int cpu_count: The number of CPU's in the VM instance.
|
2864
|
+
"""
|
2865
|
+
pulumi.set(__self__, "cpu_count", cpu_count)
|
2866
|
+
|
2867
|
+
@property
|
2868
|
+
@pulumi.getter(name="cpuCount")
|
2869
|
+
def cpu_count(self) -> int:
|
2870
|
+
"""
|
2871
|
+
The number of CPU's in the VM instance.
|
2872
|
+
"""
|
2873
|
+
return pulumi.get(self, "cpu_count")
|
2874
|
+
|
2875
|
+
|
2876
|
+
@pulumi.output_type
|
2877
|
+
class GetInstanceNetworkConfigResult(dict):
|
2878
|
+
def __init__(__self__, *,
|
2879
|
+
authorized_external_networks: Sequence['outputs.GetInstanceNetworkConfigAuthorizedExternalNetworkResult'],
|
2880
|
+
enable_outbound_public_ip: bool,
|
2881
|
+
enable_public_ip: bool):
|
2882
|
+
"""
|
2883
|
+
:param Sequence['GetInstanceNetworkConfigAuthorizedExternalNetworkArgs'] authorized_external_networks: A list of external networks authorized to access this instance. This
|
2884
|
+
field is only allowed to be set when 'enable_public_ip' is set to
|
2885
|
+
true.
|
2886
|
+
:param bool enable_outbound_public_ip: Enabling outbound public ip for the instance.
|
2887
|
+
:param bool enable_public_ip: Enabling public ip for the instance. If a user wishes to disable this,
|
2888
|
+
please also clear the list of the authorized external networks set on
|
2889
|
+
the same instance.
|
2890
|
+
"""
|
2891
|
+
pulumi.set(__self__, "authorized_external_networks", authorized_external_networks)
|
2892
|
+
pulumi.set(__self__, "enable_outbound_public_ip", enable_outbound_public_ip)
|
2893
|
+
pulumi.set(__self__, "enable_public_ip", enable_public_ip)
|
2894
|
+
|
2895
|
+
@property
|
2896
|
+
@pulumi.getter(name="authorizedExternalNetworks")
|
2897
|
+
def authorized_external_networks(self) -> Sequence['outputs.GetInstanceNetworkConfigAuthorizedExternalNetworkResult']:
|
2898
|
+
"""
|
2899
|
+
A list of external networks authorized to access this instance. This
|
2900
|
+
field is only allowed to be set when 'enable_public_ip' is set to
|
2901
|
+
true.
|
2902
|
+
"""
|
2903
|
+
return pulumi.get(self, "authorized_external_networks")
|
2904
|
+
|
2905
|
+
@property
|
2906
|
+
@pulumi.getter(name="enableOutboundPublicIp")
|
2907
|
+
def enable_outbound_public_ip(self) -> bool:
|
2908
|
+
"""
|
2909
|
+
Enabling outbound public ip for the instance.
|
2910
|
+
"""
|
2911
|
+
return pulumi.get(self, "enable_outbound_public_ip")
|
2912
|
+
|
2913
|
+
@property
|
2914
|
+
@pulumi.getter(name="enablePublicIp")
|
2915
|
+
def enable_public_ip(self) -> bool:
|
2916
|
+
"""
|
2917
|
+
Enabling public ip for the instance. If a user wishes to disable this,
|
2918
|
+
please also clear the list of the authorized external networks set on
|
2919
|
+
the same instance.
|
2920
|
+
"""
|
2921
|
+
return pulumi.get(self, "enable_public_ip")
|
2922
|
+
|
2923
|
+
|
2924
|
+
@pulumi.output_type
|
2925
|
+
class GetInstanceNetworkConfigAuthorizedExternalNetworkResult(dict):
|
2926
|
+
def __init__(__self__, *,
|
2927
|
+
cidr_range: str):
|
2928
|
+
"""
|
2929
|
+
:param str cidr_range: CIDR range for one authorized network of the instance.
|
2930
|
+
"""
|
2931
|
+
pulumi.set(__self__, "cidr_range", cidr_range)
|
2932
|
+
|
2933
|
+
@property
|
2934
|
+
@pulumi.getter(name="cidrRange")
|
2935
|
+
def cidr_range(self) -> str:
|
2936
|
+
"""
|
2937
|
+
CIDR range for one authorized network of the instance.
|
2938
|
+
"""
|
2939
|
+
return pulumi.get(self, "cidr_range")
|
2940
|
+
|
2941
|
+
|
2942
|
+
@pulumi.output_type
|
2943
|
+
class GetInstanceObservabilityConfigResult(dict):
|
2944
|
+
def __init__(__self__, *,
|
2945
|
+
enabled: bool,
|
2946
|
+
max_query_string_length: int,
|
2947
|
+
preserve_comments: bool,
|
2948
|
+
query_plans_per_minute: int,
|
2949
|
+
record_application_tags: bool,
|
2950
|
+
track_active_queries: bool,
|
2951
|
+
track_wait_event_types: bool,
|
2952
|
+
track_wait_events: bool):
|
2953
|
+
"""
|
2954
|
+
:param bool enabled: Observability feature status for an instance.
|
2955
|
+
:param int max_query_string_length: Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
|
2956
|
+
:param bool preserve_comments: Preserve comments in the query string.
|
2957
|
+
:param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
|
2958
|
+
:param bool record_application_tags: Record application tags for an instance. This flag is turned "on" by default.
|
2959
|
+
:param bool track_active_queries: Track actively running queries. If not set, default value is "off".
|
2960
|
+
:param bool track_wait_event_types: Record wait event types during query execution for an instance.
|
2961
|
+
:param bool track_wait_events: Record wait events during query execution for an instance.
|
2962
|
+
"""
|
2963
|
+
pulumi.set(__self__, "enabled", enabled)
|
2964
|
+
pulumi.set(__self__, "max_query_string_length", max_query_string_length)
|
2965
|
+
pulumi.set(__self__, "preserve_comments", preserve_comments)
|
2966
|
+
pulumi.set(__self__, "query_plans_per_minute", query_plans_per_minute)
|
2967
|
+
pulumi.set(__self__, "record_application_tags", record_application_tags)
|
2968
|
+
pulumi.set(__self__, "track_active_queries", track_active_queries)
|
2969
|
+
pulumi.set(__self__, "track_wait_event_types", track_wait_event_types)
|
2970
|
+
pulumi.set(__self__, "track_wait_events", track_wait_events)
|
2971
|
+
|
2972
|
+
@property
|
2973
|
+
@pulumi.getter
|
2974
|
+
def enabled(self) -> bool:
|
2975
|
+
"""
|
2976
|
+
Observability feature status for an instance.
|
2977
|
+
"""
|
2978
|
+
return pulumi.get(self, "enabled")
|
2979
|
+
|
2980
|
+
@property
|
2981
|
+
@pulumi.getter(name="maxQueryStringLength")
|
2982
|
+
def max_query_string_length(self) -> int:
|
2983
|
+
"""
|
2984
|
+
Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
|
2985
|
+
"""
|
2986
|
+
return pulumi.get(self, "max_query_string_length")
|
2987
|
+
|
2988
|
+
@property
|
2989
|
+
@pulumi.getter(name="preserveComments")
|
2990
|
+
def preserve_comments(self) -> bool:
|
2991
|
+
"""
|
2992
|
+
Preserve comments in the query string.
|
2993
|
+
"""
|
2994
|
+
return pulumi.get(self, "preserve_comments")
|
2995
|
+
|
2996
|
+
@property
|
2997
|
+
@pulumi.getter(name="queryPlansPerMinute")
|
2998
|
+
def query_plans_per_minute(self) -> int:
|
2999
|
+
"""
|
3000
|
+
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
|
3001
|
+
"""
|
3002
|
+
return pulumi.get(self, "query_plans_per_minute")
|
3003
|
+
|
3004
|
+
@property
|
3005
|
+
@pulumi.getter(name="recordApplicationTags")
|
3006
|
+
def record_application_tags(self) -> bool:
|
3007
|
+
"""
|
3008
|
+
Record application tags for an instance. This flag is turned "on" by default.
|
3009
|
+
"""
|
3010
|
+
return pulumi.get(self, "record_application_tags")
|
3011
|
+
|
3012
|
+
@property
|
3013
|
+
@pulumi.getter(name="trackActiveQueries")
|
3014
|
+
def track_active_queries(self) -> bool:
|
3015
|
+
"""
|
3016
|
+
Track actively running queries. If not set, default value is "off".
|
3017
|
+
"""
|
3018
|
+
return pulumi.get(self, "track_active_queries")
|
3019
|
+
|
3020
|
+
@property
|
3021
|
+
@pulumi.getter(name="trackWaitEventTypes")
|
3022
|
+
def track_wait_event_types(self) -> bool:
|
3023
|
+
"""
|
3024
|
+
Record wait event types during query execution for an instance.
|
3025
|
+
"""
|
3026
|
+
return pulumi.get(self, "track_wait_event_types")
|
3027
|
+
|
3028
|
+
@property
|
3029
|
+
@pulumi.getter(name="trackWaitEvents")
|
3030
|
+
def track_wait_events(self) -> bool:
|
3031
|
+
"""
|
3032
|
+
Record wait events during query execution for an instance.
|
3033
|
+
"""
|
3034
|
+
return pulumi.get(self, "track_wait_events")
|
3035
|
+
|
3036
|
+
|
3037
|
+
@pulumi.output_type
|
3038
|
+
class GetInstancePscInstanceConfigResult(dict):
|
3039
|
+
def __init__(__self__, *,
|
3040
|
+
allowed_consumer_projects: Sequence[str],
|
3041
|
+
psc_dns_name: str,
|
3042
|
+
service_attachment_link: str):
|
3043
|
+
"""
|
3044
|
+
:param Sequence[str] allowed_consumer_projects: List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
3045
|
+
These should be specified as project numbers only.
|
3046
|
+
:param str psc_dns_name: The DNS name of the instance for PSC connectivity.
|
3047
|
+
Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
|
3048
|
+
:param str service_attachment_link: The service attachment created when Private Service Connect (PSC) is enabled for the instance.
|
3049
|
+
The name of the resource will be in the format of
|
3050
|
+
'projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>'
|
3051
|
+
"""
|
3052
|
+
pulumi.set(__self__, "allowed_consumer_projects", allowed_consumer_projects)
|
3053
|
+
pulumi.set(__self__, "psc_dns_name", psc_dns_name)
|
3054
|
+
pulumi.set(__self__, "service_attachment_link", service_attachment_link)
|
3055
|
+
|
3056
|
+
@property
|
3057
|
+
@pulumi.getter(name="allowedConsumerProjects")
|
3058
|
+
def allowed_consumer_projects(self) -> Sequence[str]:
|
3059
|
+
"""
|
3060
|
+
List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance.
|
3061
|
+
These should be specified as project numbers only.
|
3062
|
+
"""
|
3063
|
+
return pulumi.get(self, "allowed_consumer_projects")
|
3064
|
+
|
3065
|
+
@property
|
3066
|
+
@pulumi.getter(name="pscDnsName")
|
3067
|
+
def psc_dns_name(self) -> str:
|
3068
|
+
"""
|
3069
|
+
The DNS name of the instance for PSC connectivity.
|
3070
|
+
Name convention: <uid>.<uid>.<region>.alloydb-psc.goog
|
3071
|
+
"""
|
3072
|
+
return pulumi.get(self, "psc_dns_name")
|
3073
|
+
|
3074
|
+
@property
|
3075
|
+
@pulumi.getter(name="serviceAttachmentLink")
|
3076
|
+
def service_attachment_link(self) -> str:
|
3077
|
+
"""
|
3078
|
+
The service attachment created when Private Service Connect (PSC) is enabled for the instance.
|
3079
|
+
The name of the resource will be in the format of
|
3080
|
+
'projects/<alloydb-tenant-project-number>/regions/<region-name>/serviceAttachments/<service-attachment-name>'
|
3081
|
+
"""
|
3082
|
+
return pulumi.get(self, "service_attachment_link")
|
3083
|
+
|
3084
|
+
|
3085
|
+
@pulumi.output_type
|
3086
|
+
class GetInstanceQueryInsightsConfigResult(dict):
|
3087
|
+
def __init__(__self__, *,
|
3088
|
+
query_plans_per_minute: int,
|
3089
|
+
query_string_length: int,
|
3090
|
+
record_application_tags: bool,
|
3091
|
+
record_client_address: bool):
|
3092
|
+
"""
|
3093
|
+
:param int query_plans_per_minute: Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
|
3094
|
+
:param int query_string_length: Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
|
3095
|
+
:param bool record_application_tags: Record application tags for an instance. This flag is turned "on" by default.
|
3096
|
+
:param bool record_client_address: Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
|
3097
|
+
"""
|
3098
|
+
pulumi.set(__self__, "query_plans_per_minute", query_plans_per_minute)
|
3099
|
+
pulumi.set(__self__, "query_string_length", query_string_length)
|
3100
|
+
pulumi.set(__self__, "record_application_tags", record_application_tags)
|
3101
|
+
pulumi.set(__self__, "record_client_address", record_client_address)
|
3102
|
+
|
3103
|
+
@property
|
3104
|
+
@pulumi.getter(name="queryPlansPerMinute")
|
3105
|
+
def query_plans_per_minute(self) -> int:
|
3106
|
+
"""
|
3107
|
+
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
|
3108
|
+
"""
|
3109
|
+
return pulumi.get(self, "query_plans_per_minute")
|
3110
|
+
|
3111
|
+
@property
|
3112
|
+
@pulumi.getter(name="queryStringLength")
|
3113
|
+
def query_string_length(self) -> int:
|
3114
|
+
"""
|
3115
|
+
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
|
3116
|
+
"""
|
3117
|
+
return pulumi.get(self, "query_string_length")
|
3118
|
+
|
3119
|
+
@property
|
3120
|
+
@pulumi.getter(name="recordApplicationTags")
|
3121
|
+
def record_application_tags(self) -> bool:
|
3122
|
+
"""
|
3123
|
+
Record application tags for an instance. This flag is turned "on" by default.
|
3124
|
+
"""
|
3125
|
+
return pulumi.get(self, "record_application_tags")
|
3126
|
+
|
3127
|
+
@property
|
3128
|
+
@pulumi.getter(name="recordClientAddress")
|
3129
|
+
def record_client_address(self) -> bool:
|
3130
|
+
"""
|
3131
|
+
Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
|
3132
|
+
"""
|
3133
|
+
return pulumi.get(self, "record_client_address")
|
3134
|
+
|
3135
|
+
|
3136
|
+
@pulumi.output_type
|
3137
|
+
class GetInstanceReadPoolConfigResult(dict):
|
3138
|
+
def __init__(__self__, *,
|
3139
|
+
node_count: int):
|
3140
|
+
"""
|
3141
|
+
:param int node_count: Read capacity, i.e. number of nodes in a read pool instance.
|
3142
|
+
"""
|
3143
|
+
pulumi.set(__self__, "node_count", node_count)
|
3144
|
+
|
3145
|
+
@property
|
3146
|
+
@pulumi.getter(name="nodeCount")
|
3147
|
+
def node_count(self) -> int:
|
3148
|
+
"""
|
3149
|
+
Read capacity, i.e. number of nodes in a read pool instance.
|
3150
|
+
"""
|
3151
|
+
return pulumi.get(self, "node_count")
|
3152
|
+
|
3153
|
+
|
1994
3154
|
@pulumi.output_type
|
1995
3155
|
class GetLocationsLocationResult(dict):
|
1996
3156
|
def __init__(__self__, *,
|