pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.21.0a1740551699__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 +48 -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 +1 -0
- pulumi_gcp/alloydb/get_instance.py +466 -0
- pulumi_gcp/alloydb/outputs.py +352 -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/artifactregistry/get_repository_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
- pulumi_gcp/bigquery/connection.py +2 -14
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
- pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
- 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/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/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/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_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_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_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/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 +4 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -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 -54
- pulumi_gcp/gemini/logging_setting_binding.py +722 -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/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/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/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/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/instance.py +0 -46
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- 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/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.21.0a1740551699.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/RECORD +189 -182
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,466 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetInstanceResult',
|
20
|
+
'AwaitableGetInstanceResult',
|
21
|
+
'get_instance',
|
22
|
+
'get_instance_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetInstanceResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getInstance.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, annotations=None, availability_type=None, client_connection_configs=None, cluster=None, cluster_id=None, create_time=None, database_flags=None, display_name=None, effective_annotations=None, effective_labels=None, gce_zone=None, id=None, instance_id=None, instance_type=None, ip_address=None, labels=None, location=None, machine_configs=None, name=None, network_configs=None, observability_configs=None, outbound_public_ip_addresses=None, project=None, psc_instance_configs=None, public_ip_address=None, pulumi_labels=None, query_insights_configs=None, read_pool_configs=None, reconciling=None, state=None, uid=None, update_time=None):
|
31
|
+
if annotations and not isinstance(annotations, dict):
|
32
|
+
raise TypeError("Expected argument 'annotations' to be a dict")
|
33
|
+
pulumi.set(__self__, "annotations", annotations)
|
34
|
+
if availability_type and not isinstance(availability_type, str):
|
35
|
+
raise TypeError("Expected argument 'availability_type' to be a str")
|
36
|
+
pulumi.set(__self__, "availability_type", availability_type)
|
37
|
+
if client_connection_configs and not isinstance(client_connection_configs, list):
|
38
|
+
raise TypeError("Expected argument 'client_connection_configs' to be a list")
|
39
|
+
pulumi.set(__self__, "client_connection_configs", client_connection_configs)
|
40
|
+
if cluster and not isinstance(cluster, str):
|
41
|
+
raise TypeError("Expected argument 'cluster' to be a str")
|
42
|
+
pulumi.set(__self__, "cluster", cluster)
|
43
|
+
if cluster_id and not isinstance(cluster_id, str):
|
44
|
+
raise TypeError("Expected argument 'cluster_id' to be a str")
|
45
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
46
|
+
if create_time and not isinstance(create_time, str):
|
47
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
48
|
+
pulumi.set(__self__, "create_time", create_time)
|
49
|
+
if database_flags and not isinstance(database_flags, dict):
|
50
|
+
raise TypeError("Expected argument 'database_flags' to be a dict")
|
51
|
+
pulumi.set(__self__, "database_flags", database_flags)
|
52
|
+
if display_name and not isinstance(display_name, str):
|
53
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
54
|
+
pulumi.set(__self__, "display_name", display_name)
|
55
|
+
if effective_annotations and not isinstance(effective_annotations, dict):
|
56
|
+
raise TypeError("Expected argument 'effective_annotations' to be a dict")
|
57
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
58
|
+
if effective_labels and not isinstance(effective_labels, dict):
|
59
|
+
raise TypeError("Expected argument 'effective_labels' to be a dict")
|
60
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
61
|
+
if gce_zone and not isinstance(gce_zone, str):
|
62
|
+
raise TypeError("Expected argument 'gce_zone' to be a str")
|
63
|
+
pulumi.set(__self__, "gce_zone", gce_zone)
|
64
|
+
if id and not isinstance(id, str):
|
65
|
+
raise TypeError("Expected argument 'id' to be a str")
|
66
|
+
pulumi.set(__self__, "id", id)
|
67
|
+
if instance_id and not isinstance(instance_id, str):
|
68
|
+
raise TypeError("Expected argument 'instance_id' to be a str")
|
69
|
+
pulumi.set(__self__, "instance_id", instance_id)
|
70
|
+
if instance_type and not isinstance(instance_type, str):
|
71
|
+
raise TypeError("Expected argument 'instance_type' to be a str")
|
72
|
+
pulumi.set(__self__, "instance_type", instance_type)
|
73
|
+
if ip_address and not isinstance(ip_address, str):
|
74
|
+
raise TypeError("Expected argument 'ip_address' to be a str")
|
75
|
+
pulumi.set(__self__, "ip_address", ip_address)
|
76
|
+
if labels and not isinstance(labels, dict):
|
77
|
+
raise TypeError("Expected argument 'labels' to be a dict")
|
78
|
+
pulumi.set(__self__, "labels", labels)
|
79
|
+
if location and not isinstance(location, str):
|
80
|
+
raise TypeError("Expected argument 'location' to be a str")
|
81
|
+
pulumi.set(__self__, "location", location)
|
82
|
+
if machine_configs and not isinstance(machine_configs, list):
|
83
|
+
raise TypeError("Expected argument 'machine_configs' to be a list")
|
84
|
+
pulumi.set(__self__, "machine_configs", machine_configs)
|
85
|
+
if name and not isinstance(name, str):
|
86
|
+
raise TypeError("Expected argument 'name' to be a str")
|
87
|
+
pulumi.set(__self__, "name", name)
|
88
|
+
if network_configs and not isinstance(network_configs, list):
|
89
|
+
raise TypeError("Expected argument 'network_configs' to be a list")
|
90
|
+
pulumi.set(__self__, "network_configs", network_configs)
|
91
|
+
if observability_configs and not isinstance(observability_configs, list):
|
92
|
+
raise TypeError("Expected argument 'observability_configs' to be a list")
|
93
|
+
pulumi.set(__self__, "observability_configs", observability_configs)
|
94
|
+
if outbound_public_ip_addresses and not isinstance(outbound_public_ip_addresses, list):
|
95
|
+
raise TypeError("Expected argument 'outbound_public_ip_addresses' to be a list")
|
96
|
+
pulumi.set(__self__, "outbound_public_ip_addresses", outbound_public_ip_addresses)
|
97
|
+
if project and not isinstance(project, str):
|
98
|
+
raise TypeError("Expected argument 'project' to be a str")
|
99
|
+
pulumi.set(__self__, "project", project)
|
100
|
+
if psc_instance_configs and not isinstance(psc_instance_configs, list):
|
101
|
+
raise TypeError("Expected argument 'psc_instance_configs' to be a list")
|
102
|
+
pulumi.set(__self__, "psc_instance_configs", psc_instance_configs)
|
103
|
+
if public_ip_address and not isinstance(public_ip_address, str):
|
104
|
+
raise TypeError("Expected argument 'public_ip_address' to be a str")
|
105
|
+
pulumi.set(__self__, "public_ip_address", public_ip_address)
|
106
|
+
if pulumi_labels and not isinstance(pulumi_labels, dict):
|
107
|
+
raise TypeError("Expected argument 'pulumi_labels' to be a dict")
|
108
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
109
|
+
if query_insights_configs and not isinstance(query_insights_configs, list):
|
110
|
+
raise TypeError("Expected argument 'query_insights_configs' to be a list")
|
111
|
+
pulumi.set(__self__, "query_insights_configs", query_insights_configs)
|
112
|
+
if read_pool_configs and not isinstance(read_pool_configs, list):
|
113
|
+
raise TypeError("Expected argument 'read_pool_configs' to be a list")
|
114
|
+
pulumi.set(__self__, "read_pool_configs", read_pool_configs)
|
115
|
+
if reconciling and not isinstance(reconciling, bool):
|
116
|
+
raise TypeError("Expected argument 'reconciling' to be a bool")
|
117
|
+
pulumi.set(__self__, "reconciling", reconciling)
|
118
|
+
if state and not isinstance(state, str):
|
119
|
+
raise TypeError("Expected argument 'state' to be a str")
|
120
|
+
pulumi.set(__self__, "state", state)
|
121
|
+
if uid and not isinstance(uid, str):
|
122
|
+
raise TypeError("Expected argument 'uid' to be a str")
|
123
|
+
pulumi.set(__self__, "uid", uid)
|
124
|
+
if update_time and not isinstance(update_time, str):
|
125
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
126
|
+
pulumi.set(__self__, "update_time", update_time)
|
127
|
+
|
128
|
+
@property
|
129
|
+
@pulumi.getter
|
130
|
+
def annotations(self) -> Mapping[str, str]:
|
131
|
+
return pulumi.get(self, "annotations")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="availabilityType")
|
135
|
+
def availability_type(self) -> str:
|
136
|
+
return pulumi.get(self, "availability_type")
|
137
|
+
|
138
|
+
@property
|
139
|
+
@pulumi.getter(name="clientConnectionConfigs")
|
140
|
+
def client_connection_configs(self) -> Sequence['outputs.GetInstanceClientConnectionConfigResult']:
|
141
|
+
return pulumi.get(self, "client_connection_configs")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter
|
145
|
+
def cluster(self) -> str:
|
146
|
+
return pulumi.get(self, "cluster")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="clusterId")
|
150
|
+
def cluster_id(self) -> str:
|
151
|
+
return pulumi.get(self, "cluster_id")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="createTime")
|
155
|
+
def create_time(self) -> str:
|
156
|
+
return pulumi.get(self, "create_time")
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="databaseFlags")
|
160
|
+
def database_flags(self) -> Mapping[str, str]:
|
161
|
+
return pulumi.get(self, "database_flags")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="displayName")
|
165
|
+
def display_name(self) -> str:
|
166
|
+
return pulumi.get(self, "display_name")
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="effectiveAnnotations")
|
170
|
+
def effective_annotations(self) -> Mapping[str, str]:
|
171
|
+
return pulumi.get(self, "effective_annotations")
|
172
|
+
|
173
|
+
@property
|
174
|
+
@pulumi.getter(name="effectiveLabels")
|
175
|
+
def effective_labels(self) -> Mapping[str, str]:
|
176
|
+
return pulumi.get(self, "effective_labels")
|
177
|
+
|
178
|
+
@property
|
179
|
+
@pulumi.getter(name="gceZone")
|
180
|
+
def gce_zone(self) -> str:
|
181
|
+
return pulumi.get(self, "gce_zone")
|
182
|
+
|
183
|
+
@property
|
184
|
+
@pulumi.getter
|
185
|
+
def id(self) -> str:
|
186
|
+
"""
|
187
|
+
The provider-assigned unique ID for this managed resource.
|
188
|
+
"""
|
189
|
+
return pulumi.get(self, "id")
|
190
|
+
|
191
|
+
@property
|
192
|
+
@pulumi.getter(name="instanceId")
|
193
|
+
def instance_id(self) -> str:
|
194
|
+
return pulumi.get(self, "instance_id")
|
195
|
+
|
196
|
+
@property
|
197
|
+
@pulumi.getter(name="instanceType")
|
198
|
+
def instance_type(self) -> str:
|
199
|
+
return pulumi.get(self, "instance_type")
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter(name="ipAddress")
|
203
|
+
def ip_address(self) -> str:
|
204
|
+
return pulumi.get(self, "ip_address")
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter
|
208
|
+
def labels(self) -> Mapping[str, str]:
|
209
|
+
return pulumi.get(self, "labels")
|
210
|
+
|
211
|
+
@property
|
212
|
+
@pulumi.getter
|
213
|
+
def location(self) -> Optional[str]:
|
214
|
+
return pulumi.get(self, "location")
|
215
|
+
|
216
|
+
@property
|
217
|
+
@pulumi.getter(name="machineConfigs")
|
218
|
+
def machine_configs(self) -> Sequence['outputs.GetInstanceMachineConfigResult']:
|
219
|
+
return pulumi.get(self, "machine_configs")
|
220
|
+
|
221
|
+
@property
|
222
|
+
@pulumi.getter
|
223
|
+
def name(self) -> str:
|
224
|
+
return pulumi.get(self, "name")
|
225
|
+
|
226
|
+
@property
|
227
|
+
@pulumi.getter(name="networkConfigs")
|
228
|
+
def network_configs(self) -> Sequence['outputs.GetInstanceNetworkConfigResult']:
|
229
|
+
return pulumi.get(self, "network_configs")
|
230
|
+
|
231
|
+
@property
|
232
|
+
@pulumi.getter(name="observabilityConfigs")
|
233
|
+
def observability_configs(self) -> Sequence['outputs.GetInstanceObservabilityConfigResult']:
|
234
|
+
return pulumi.get(self, "observability_configs")
|
235
|
+
|
236
|
+
@property
|
237
|
+
@pulumi.getter(name="outboundPublicIpAddresses")
|
238
|
+
def outbound_public_ip_addresses(self) -> Sequence[str]:
|
239
|
+
return pulumi.get(self, "outbound_public_ip_addresses")
|
240
|
+
|
241
|
+
@property
|
242
|
+
@pulumi.getter
|
243
|
+
def project(self) -> Optional[str]:
|
244
|
+
return pulumi.get(self, "project")
|
245
|
+
|
246
|
+
@property
|
247
|
+
@pulumi.getter(name="pscInstanceConfigs")
|
248
|
+
def psc_instance_configs(self) -> Sequence['outputs.GetInstancePscInstanceConfigResult']:
|
249
|
+
return pulumi.get(self, "psc_instance_configs")
|
250
|
+
|
251
|
+
@property
|
252
|
+
@pulumi.getter(name="publicIpAddress")
|
253
|
+
def public_ip_address(self) -> str:
|
254
|
+
return pulumi.get(self, "public_ip_address")
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter(name="pulumiLabels")
|
258
|
+
def pulumi_labels(self) -> Mapping[str, str]:
|
259
|
+
return pulumi.get(self, "pulumi_labels")
|
260
|
+
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="queryInsightsConfigs")
|
263
|
+
def query_insights_configs(self) -> Sequence['outputs.GetInstanceQueryInsightsConfigResult']:
|
264
|
+
return pulumi.get(self, "query_insights_configs")
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter(name="readPoolConfigs")
|
268
|
+
def read_pool_configs(self) -> Sequence['outputs.GetInstanceReadPoolConfigResult']:
|
269
|
+
return pulumi.get(self, "read_pool_configs")
|
270
|
+
|
271
|
+
@property
|
272
|
+
@pulumi.getter
|
273
|
+
def reconciling(self) -> bool:
|
274
|
+
return pulumi.get(self, "reconciling")
|
275
|
+
|
276
|
+
@property
|
277
|
+
@pulumi.getter
|
278
|
+
def state(self) -> str:
|
279
|
+
return pulumi.get(self, "state")
|
280
|
+
|
281
|
+
@property
|
282
|
+
@pulumi.getter
|
283
|
+
def uid(self) -> str:
|
284
|
+
return pulumi.get(self, "uid")
|
285
|
+
|
286
|
+
@property
|
287
|
+
@pulumi.getter(name="updateTime")
|
288
|
+
def update_time(self) -> str:
|
289
|
+
return pulumi.get(self, "update_time")
|
290
|
+
|
291
|
+
|
292
|
+
class AwaitableGetInstanceResult(GetInstanceResult):
|
293
|
+
# pylint: disable=using-constant-test
|
294
|
+
def __await__(self):
|
295
|
+
if False:
|
296
|
+
yield self
|
297
|
+
return GetInstanceResult(
|
298
|
+
annotations=self.annotations,
|
299
|
+
availability_type=self.availability_type,
|
300
|
+
client_connection_configs=self.client_connection_configs,
|
301
|
+
cluster=self.cluster,
|
302
|
+
cluster_id=self.cluster_id,
|
303
|
+
create_time=self.create_time,
|
304
|
+
database_flags=self.database_flags,
|
305
|
+
display_name=self.display_name,
|
306
|
+
effective_annotations=self.effective_annotations,
|
307
|
+
effective_labels=self.effective_labels,
|
308
|
+
gce_zone=self.gce_zone,
|
309
|
+
id=self.id,
|
310
|
+
instance_id=self.instance_id,
|
311
|
+
instance_type=self.instance_type,
|
312
|
+
ip_address=self.ip_address,
|
313
|
+
labels=self.labels,
|
314
|
+
location=self.location,
|
315
|
+
machine_configs=self.machine_configs,
|
316
|
+
name=self.name,
|
317
|
+
network_configs=self.network_configs,
|
318
|
+
observability_configs=self.observability_configs,
|
319
|
+
outbound_public_ip_addresses=self.outbound_public_ip_addresses,
|
320
|
+
project=self.project,
|
321
|
+
psc_instance_configs=self.psc_instance_configs,
|
322
|
+
public_ip_address=self.public_ip_address,
|
323
|
+
pulumi_labels=self.pulumi_labels,
|
324
|
+
query_insights_configs=self.query_insights_configs,
|
325
|
+
read_pool_configs=self.read_pool_configs,
|
326
|
+
reconciling=self.reconciling,
|
327
|
+
state=self.state,
|
328
|
+
uid=self.uid,
|
329
|
+
update_time=self.update_time)
|
330
|
+
|
331
|
+
|
332
|
+
def get_instance(cluster_id: Optional[str] = None,
|
333
|
+
instance_id: Optional[str] = None,
|
334
|
+
location: Optional[str] = None,
|
335
|
+
project: Optional[str] = None,
|
336
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceResult:
|
337
|
+
"""
|
338
|
+
Use this data source to get information about the available instance. For more details refer the [API docs](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.instances).
|
339
|
+
|
340
|
+
## Example Usage
|
341
|
+
|
342
|
+
```python
|
343
|
+
import pulumi
|
344
|
+
import pulumi_gcp as gcp
|
345
|
+
|
346
|
+
qa = gcp.alloydb.get_instance()
|
347
|
+
```
|
348
|
+
|
349
|
+
|
350
|
+
:param str cluster_id: The ID of the alloydb cluster that the instance belongs to.
|
351
|
+
'alloydb_cluster_id'
|
352
|
+
:param str instance_id: The ID of the alloydb instance.
|
353
|
+
'alloydb_instance_id'
|
354
|
+
:param str location: (optional)
|
355
|
+
The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
|
356
|
+
:param str project: (optional)
|
357
|
+
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
358
|
+
"""
|
359
|
+
__args__ = dict()
|
360
|
+
__args__['clusterId'] = cluster_id
|
361
|
+
__args__['instanceId'] = instance_id
|
362
|
+
__args__['location'] = location
|
363
|
+
__args__['project'] = project
|
364
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
365
|
+
__ret__ = pulumi.runtime.invoke('gcp:alloydb/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult).value
|
366
|
+
|
367
|
+
return AwaitableGetInstanceResult(
|
368
|
+
annotations=pulumi.get(__ret__, 'annotations'),
|
369
|
+
availability_type=pulumi.get(__ret__, 'availability_type'),
|
370
|
+
client_connection_configs=pulumi.get(__ret__, 'client_connection_configs'),
|
371
|
+
cluster=pulumi.get(__ret__, 'cluster'),
|
372
|
+
cluster_id=pulumi.get(__ret__, 'cluster_id'),
|
373
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
374
|
+
database_flags=pulumi.get(__ret__, 'database_flags'),
|
375
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
376
|
+
effective_annotations=pulumi.get(__ret__, 'effective_annotations'),
|
377
|
+
effective_labels=pulumi.get(__ret__, 'effective_labels'),
|
378
|
+
gce_zone=pulumi.get(__ret__, 'gce_zone'),
|
379
|
+
id=pulumi.get(__ret__, 'id'),
|
380
|
+
instance_id=pulumi.get(__ret__, 'instance_id'),
|
381
|
+
instance_type=pulumi.get(__ret__, 'instance_type'),
|
382
|
+
ip_address=pulumi.get(__ret__, 'ip_address'),
|
383
|
+
labels=pulumi.get(__ret__, 'labels'),
|
384
|
+
location=pulumi.get(__ret__, 'location'),
|
385
|
+
machine_configs=pulumi.get(__ret__, 'machine_configs'),
|
386
|
+
name=pulumi.get(__ret__, 'name'),
|
387
|
+
network_configs=pulumi.get(__ret__, 'network_configs'),
|
388
|
+
observability_configs=pulumi.get(__ret__, 'observability_configs'),
|
389
|
+
outbound_public_ip_addresses=pulumi.get(__ret__, 'outbound_public_ip_addresses'),
|
390
|
+
project=pulumi.get(__ret__, 'project'),
|
391
|
+
psc_instance_configs=pulumi.get(__ret__, 'psc_instance_configs'),
|
392
|
+
public_ip_address=pulumi.get(__ret__, 'public_ip_address'),
|
393
|
+
pulumi_labels=pulumi.get(__ret__, 'pulumi_labels'),
|
394
|
+
query_insights_configs=pulumi.get(__ret__, 'query_insights_configs'),
|
395
|
+
read_pool_configs=pulumi.get(__ret__, 'read_pool_configs'),
|
396
|
+
reconciling=pulumi.get(__ret__, 'reconciling'),
|
397
|
+
state=pulumi.get(__ret__, 'state'),
|
398
|
+
uid=pulumi.get(__ret__, 'uid'),
|
399
|
+
update_time=pulumi.get(__ret__, 'update_time'))
|
400
|
+
def get_instance_output(cluster_id: Optional[pulumi.Input[str]] = None,
|
401
|
+
instance_id: Optional[pulumi.Input[str]] = None,
|
402
|
+
location: Optional[pulumi.Input[Optional[str]]] = None,
|
403
|
+
project: Optional[pulumi.Input[Optional[str]]] = None,
|
404
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstanceResult]:
|
405
|
+
"""
|
406
|
+
Use this data source to get information about the available instance. For more details refer the [API docs](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.instances).
|
407
|
+
|
408
|
+
## Example Usage
|
409
|
+
|
410
|
+
```python
|
411
|
+
import pulumi
|
412
|
+
import pulumi_gcp as gcp
|
413
|
+
|
414
|
+
qa = gcp.alloydb.get_instance()
|
415
|
+
```
|
416
|
+
|
417
|
+
|
418
|
+
:param str cluster_id: The ID of the alloydb cluster that the instance belongs to.
|
419
|
+
'alloydb_cluster_id'
|
420
|
+
:param str instance_id: The ID of the alloydb instance.
|
421
|
+
'alloydb_instance_id'
|
422
|
+
:param str location: (optional)
|
423
|
+
The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
|
424
|
+
:param str project: (optional)
|
425
|
+
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
|
426
|
+
"""
|
427
|
+
__args__ = dict()
|
428
|
+
__args__['clusterId'] = cluster_id
|
429
|
+
__args__['instanceId'] = instance_id
|
430
|
+
__args__['location'] = location
|
431
|
+
__args__['project'] = project
|
432
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
433
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:alloydb/getInstance:getInstance', __args__, opts=opts, typ=GetInstanceResult)
|
434
|
+
return __ret__.apply(lambda __response__: GetInstanceResult(
|
435
|
+
annotations=pulumi.get(__response__, 'annotations'),
|
436
|
+
availability_type=pulumi.get(__response__, 'availability_type'),
|
437
|
+
client_connection_configs=pulumi.get(__response__, 'client_connection_configs'),
|
438
|
+
cluster=pulumi.get(__response__, 'cluster'),
|
439
|
+
cluster_id=pulumi.get(__response__, 'cluster_id'),
|
440
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
441
|
+
database_flags=pulumi.get(__response__, 'database_flags'),
|
442
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
443
|
+
effective_annotations=pulumi.get(__response__, 'effective_annotations'),
|
444
|
+
effective_labels=pulumi.get(__response__, 'effective_labels'),
|
445
|
+
gce_zone=pulumi.get(__response__, 'gce_zone'),
|
446
|
+
id=pulumi.get(__response__, 'id'),
|
447
|
+
instance_id=pulumi.get(__response__, 'instance_id'),
|
448
|
+
instance_type=pulumi.get(__response__, 'instance_type'),
|
449
|
+
ip_address=pulumi.get(__response__, 'ip_address'),
|
450
|
+
labels=pulumi.get(__response__, 'labels'),
|
451
|
+
location=pulumi.get(__response__, 'location'),
|
452
|
+
machine_configs=pulumi.get(__response__, 'machine_configs'),
|
453
|
+
name=pulumi.get(__response__, 'name'),
|
454
|
+
network_configs=pulumi.get(__response__, 'network_configs'),
|
455
|
+
observability_configs=pulumi.get(__response__, 'observability_configs'),
|
456
|
+
outbound_public_ip_addresses=pulumi.get(__response__, 'outbound_public_ip_addresses'),
|
457
|
+
project=pulumi.get(__response__, 'project'),
|
458
|
+
psc_instance_configs=pulumi.get(__response__, 'psc_instance_configs'),
|
459
|
+
public_ip_address=pulumi.get(__response__, 'public_ip_address'),
|
460
|
+
pulumi_labels=pulumi.get(__response__, 'pulumi_labels'),
|
461
|
+
query_insights_configs=pulumi.get(__response__, 'query_insights_configs'),
|
462
|
+
read_pool_configs=pulumi.get(__response__, 'read_pool_configs'),
|
463
|
+
reconciling=pulumi.get(__response__, 'reconciling'),
|
464
|
+
state=pulumi.get(__response__, 'state'),
|
465
|
+
uid=pulumi.get(__response__, 'uid'),
|
466
|
+
update_time=pulumi.get(__response__, 'update_time')))
|