pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.21.0a1740033009__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.0a1740033009.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/RECORD +189 -182
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,937 @@
|
|
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
|
+
|
17
|
+
__all__ = ['DataConnectServiceArgs', 'DataConnectService']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class DataConnectServiceArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
location: pulumi.Input[str],
|
23
|
+
service_id: pulumi.Input[str],
|
24
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
25
|
+
deletion_policy: Optional[pulumi.Input[str]] = None,
|
26
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
27
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
|
+
project: Optional[pulumi.Input[str]] = None):
|
29
|
+
"""
|
30
|
+
The set of arguments for constructing a DataConnectService resource.
|
31
|
+
:param pulumi.Input[str] location: The region in which the service resides, e.g. "us-central1" or "asia-east1".
|
32
|
+
:param pulumi.Input[str] service_id: Required. The ID to use for the service, which will become the final component of the
|
33
|
+
service's resource name.
|
34
|
+
|
35
|
+
|
36
|
+
- - -
|
37
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Stores small amounts of arbitrary data.
|
38
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
39
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
40
|
+
:param pulumi.Input[str] deletion_policy: The deletion policy for the database. Setting the field to FORCE allows the
|
41
|
+
Service to be deleted even if a Schema or Connector is present. By default,
|
42
|
+
the Service deletion will only succeed when no Schema or Connectors are
|
43
|
+
present.
|
44
|
+
Possible values: DEFAULT, FORCE
|
45
|
+
:param pulumi.Input[str] display_name: Optional. Mutable human-readable name. 63 character limit.
|
46
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
47
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
48
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
49
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
50
|
+
If it is not provided, the provider project is used.
|
51
|
+
"""
|
52
|
+
pulumi.set(__self__, "location", location)
|
53
|
+
pulumi.set(__self__, "service_id", service_id)
|
54
|
+
if annotations is not None:
|
55
|
+
pulumi.set(__self__, "annotations", annotations)
|
56
|
+
if deletion_policy is not None:
|
57
|
+
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
58
|
+
if display_name is not None:
|
59
|
+
pulumi.set(__self__, "display_name", display_name)
|
60
|
+
if labels is not None:
|
61
|
+
pulumi.set(__self__, "labels", labels)
|
62
|
+
if project is not None:
|
63
|
+
pulumi.set(__self__, "project", project)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def location(self) -> pulumi.Input[str]:
|
68
|
+
"""
|
69
|
+
The region in which the service resides, e.g. "us-central1" or "asia-east1".
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "location")
|
72
|
+
|
73
|
+
@location.setter
|
74
|
+
def location(self, value: pulumi.Input[str]):
|
75
|
+
pulumi.set(self, "location", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="serviceId")
|
79
|
+
def service_id(self) -> pulumi.Input[str]:
|
80
|
+
"""
|
81
|
+
Required. The ID to use for the service, which will become the final component of the
|
82
|
+
service's resource name.
|
83
|
+
|
84
|
+
|
85
|
+
- - -
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "service_id")
|
88
|
+
|
89
|
+
@service_id.setter
|
90
|
+
def service_id(self, value: pulumi.Input[str]):
|
91
|
+
pulumi.set(self, "service_id", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
96
|
+
"""
|
97
|
+
Optional. Stores small amounts of arbitrary data.
|
98
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
99
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "annotations")
|
102
|
+
|
103
|
+
@annotations.setter
|
104
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
105
|
+
pulumi.set(self, "annotations", value)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="deletionPolicy")
|
109
|
+
def deletion_policy(self) -> Optional[pulumi.Input[str]]:
|
110
|
+
"""
|
111
|
+
The deletion policy for the database. Setting the field to FORCE allows the
|
112
|
+
Service to be deleted even if a Schema or Connector is present. By default,
|
113
|
+
the Service deletion will only succeed when no Schema or Connectors are
|
114
|
+
present.
|
115
|
+
Possible values: DEFAULT, FORCE
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "deletion_policy")
|
118
|
+
|
119
|
+
@deletion_policy.setter
|
120
|
+
def deletion_policy(self, value: Optional[pulumi.Input[str]]):
|
121
|
+
pulumi.set(self, "deletion_policy", value)
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="displayName")
|
125
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
126
|
+
"""
|
127
|
+
Optional. Mutable human-readable name. 63 character limit.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "display_name")
|
130
|
+
|
131
|
+
@display_name.setter
|
132
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
133
|
+
pulumi.set(self, "display_name", value)
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
138
|
+
"""
|
139
|
+
Optional. Labels as key value pairs.
|
140
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
141
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "labels")
|
144
|
+
|
145
|
+
@labels.setter
|
146
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
147
|
+
pulumi.set(self, "labels", value)
|
148
|
+
|
149
|
+
@property
|
150
|
+
@pulumi.getter
|
151
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
152
|
+
"""
|
153
|
+
The ID of the project in which the resource belongs.
|
154
|
+
If it is not provided, the provider project is used.
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "project")
|
157
|
+
|
158
|
+
@project.setter
|
159
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
160
|
+
pulumi.set(self, "project", value)
|
161
|
+
|
162
|
+
|
163
|
+
@pulumi.input_type
|
164
|
+
class _DataConnectServiceState:
|
165
|
+
def __init__(__self__, *,
|
166
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
167
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
168
|
+
deletion_policy: Optional[pulumi.Input[str]] = None,
|
169
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
170
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
171
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
172
|
+
etag: Optional[pulumi.Input[str]] = None,
|
173
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
174
|
+
location: Optional[pulumi.Input[str]] = None,
|
175
|
+
name: Optional[pulumi.Input[str]] = None,
|
176
|
+
project: Optional[pulumi.Input[str]] = None,
|
177
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
178
|
+
reconciling: Optional[pulumi.Input[bool]] = None,
|
179
|
+
service_id: Optional[pulumi.Input[str]] = None,
|
180
|
+
uid: Optional[pulumi.Input[str]] = None,
|
181
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
182
|
+
"""
|
183
|
+
Input properties used for looking up and filtering DataConnectService resources.
|
184
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Stores small amounts of arbitrary data.
|
185
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
186
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
187
|
+
:param pulumi.Input[str] create_time: Output only. [Output only] Create time stamp.
|
188
|
+
:param pulumi.Input[str] deletion_policy: The deletion policy for the database. Setting the field to FORCE allows the
|
189
|
+
Service to be deleted even if a Schema or Connector is present. By default,
|
190
|
+
the Service deletion will only succeed when no Schema or Connectors are
|
191
|
+
present.
|
192
|
+
Possible values: DEFAULT, FORCE
|
193
|
+
:param pulumi.Input[str] display_name: Optional. Mutable human-readable name. 63 character limit.
|
194
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
195
|
+
:param pulumi.Input[str] etag: Output only. This checksum is computed by the server based on the value of other
|
196
|
+
fields, and may be sent on update and delete requests to ensure the
|
197
|
+
client has an up-to-date value before proceeding.
|
198
|
+
[AIP-154](https://google.aip.dev/154)
|
199
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
200
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
201
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
202
|
+
:param pulumi.Input[str] location: The region in which the service resides, e.g. "us-central1" or "asia-east1".
|
203
|
+
:param pulumi.Input[str] name: Identifier. The relative resource name of the Firebase Data Connect service, in the
|
204
|
+
format:
|
205
|
+
```
|
206
|
+
projects/{project}/locations/{location}/services/{service}
|
207
|
+
```
|
208
|
+
Note that the service ID is specific to Firebase Data Connect and does not
|
209
|
+
correspond to any of the instance IDs of the underlying data source
|
210
|
+
connections.
|
211
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
212
|
+
If it is not provided, the provider project is used.
|
213
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
214
|
+
and default labels configured on the provider.
|
215
|
+
:param pulumi.Input[bool] reconciling: Output only. A field that if true, indicates that the system is working update the
|
216
|
+
service.
|
217
|
+
:param pulumi.Input[str] service_id: Required. The ID to use for the service, which will become the final component of the
|
218
|
+
service's resource name.
|
219
|
+
|
220
|
+
|
221
|
+
- - -
|
222
|
+
:param pulumi.Input[str] uid: Output only. System-assigned, unique identifier.
|
223
|
+
:param pulumi.Input[str] update_time: Output only. [Output only] Update time stamp.
|
224
|
+
"""
|
225
|
+
if annotations is not None:
|
226
|
+
pulumi.set(__self__, "annotations", annotations)
|
227
|
+
if create_time is not None:
|
228
|
+
pulumi.set(__self__, "create_time", create_time)
|
229
|
+
if deletion_policy is not None:
|
230
|
+
pulumi.set(__self__, "deletion_policy", deletion_policy)
|
231
|
+
if display_name is not None:
|
232
|
+
pulumi.set(__self__, "display_name", display_name)
|
233
|
+
if effective_annotations is not None:
|
234
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
235
|
+
if effective_labels is not None:
|
236
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
237
|
+
if etag is not None:
|
238
|
+
pulumi.set(__self__, "etag", etag)
|
239
|
+
if labels is not None:
|
240
|
+
pulumi.set(__self__, "labels", labels)
|
241
|
+
if location is not None:
|
242
|
+
pulumi.set(__self__, "location", location)
|
243
|
+
if name is not None:
|
244
|
+
pulumi.set(__self__, "name", name)
|
245
|
+
if project is not None:
|
246
|
+
pulumi.set(__self__, "project", project)
|
247
|
+
if pulumi_labels is not None:
|
248
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
249
|
+
if reconciling is not None:
|
250
|
+
pulumi.set(__self__, "reconciling", reconciling)
|
251
|
+
if service_id is not None:
|
252
|
+
pulumi.set(__self__, "service_id", service_id)
|
253
|
+
if uid is not None:
|
254
|
+
pulumi.set(__self__, "uid", uid)
|
255
|
+
if update_time is not None:
|
256
|
+
pulumi.set(__self__, "update_time", update_time)
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter
|
260
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
261
|
+
"""
|
262
|
+
Optional. Stores small amounts of arbitrary data.
|
263
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
264
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
265
|
+
"""
|
266
|
+
return pulumi.get(self, "annotations")
|
267
|
+
|
268
|
+
@annotations.setter
|
269
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
270
|
+
pulumi.set(self, "annotations", value)
|
271
|
+
|
272
|
+
@property
|
273
|
+
@pulumi.getter(name="createTime")
|
274
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
275
|
+
"""
|
276
|
+
Output only. [Output only] Create time stamp.
|
277
|
+
"""
|
278
|
+
return pulumi.get(self, "create_time")
|
279
|
+
|
280
|
+
@create_time.setter
|
281
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
282
|
+
pulumi.set(self, "create_time", value)
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter(name="deletionPolicy")
|
286
|
+
def deletion_policy(self) -> Optional[pulumi.Input[str]]:
|
287
|
+
"""
|
288
|
+
The deletion policy for the database. Setting the field to FORCE allows the
|
289
|
+
Service to be deleted even if a Schema or Connector is present. By default,
|
290
|
+
the Service deletion will only succeed when no Schema or Connectors are
|
291
|
+
present.
|
292
|
+
Possible values: DEFAULT, FORCE
|
293
|
+
"""
|
294
|
+
return pulumi.get(self, "deletion_policy")
|
295
|
+
|
296
|
+
@deletion_policy.setter
|
297
|
+
def deletion_policy(self, value: Optional[pulumi.Input[str]]):
|
298
|
+
pulumi.set(self, "deletion_policy", value)
|
299
|
+
|
300
|
+
@property
|
301
|
+
@pulumi.getter(name="displayName")
|
302
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
303
|
+
"""
|
304
|
+
Optional. Mutable human-readable name. 63 character limit.
|
305
|
+
"""
|
306
|
+
return pulumi.get(self, "display_name")
|
307
|
+
|
308
|
+
@display_name.setter
|
309
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
310
|
+
pulumi.set(self, "display_name", value)
|
311
|
+
|
312
|
+
@property
|
313
|
+
@pulumi.getter(name="effectiveAnnotations")
|
314
|
+
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
315
|
+
return pulumi.get(self, "effective_annotations")
|
316
|
+
|
317
|
+
@effective_annotations.setter
|
318
|
+
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
319
|
+
pulumi.set(self, "effective_annotations", value)
|
320
|
+
|
321
|
+
@property
|
322
|
+
@pulumi.getter(name="effectiveLabels")
|
323
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
324
|
+
"""
|
325
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "effective_labels")
|
328
|
+
|
329
|
+
@effective_labels.setter
|
330
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
331
|
+
pulumi.set(self, "effective_labels", value)
|
332
|
+
|
333
|
+
@property
|
334
|
+
@pulumi.getter
|
335
|
+
def etag(self) -> Optional[pulumi.Input[str]]:
|
336
|
+
"""
|
337
|
+
Output only. This checksum is computed by the server based on the value of other
|
338
|
+
fields, and may be sent on update and delete requests to ensure the
|
339
|
+
client has an up-to-date value before proceeding.
|
340
|
+
[AIP-154](https://google.aip.dev/154)
|
341
|
+
"""
|
342
|
+
return pulumi.get(self, "etag")
|
343
|
+
|
344
|
+
@etag.setter
|
345
|
+
def etag(self, value: Optional[pulumi.Input[str]]):
|
346
|
+
pulumi.set(self, "etag", value)
|
347
|
+
|
348
|
+
@property
|
349
|
+
@pulumi.getter
|
350
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
351
|
+
"""
|
352
|
+
Optional. Labels as key value pairs.
|
353
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
354
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "labels")
|
357
|
+
|
358
|
+
@labels.setter
|
359
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
360
|
+
pulumi.set(self, "labels", value)
|
361
|
+
|
362
|
+
@property
|
363
|
+
@pulumi.getter
|
364
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
365
|
+
"""
|
366
|
+
The region in which the service resides, e.g. "us-central1" or "asia-east1".
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "location")
|
369
|
+
|
370
|
+
@location.setter
|
371
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
372
|
+
pulumi.set(self, "location", value)
|
373
|
+
|
374
|
+
@property
|
375
|
+
@pulumi.getter
|
376
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
377
|
+
"""
|
378
|
+
Identifier. The relative resource name of the Firebase Data Connect service, in the
|
379
|
+
format:
|
380
|
+
```
|
381
|
+
projects/{project}/locations/{location}/services/{service}
|
382
|
+
```
|
383
|
+
Note that the service ID is specific to Firebase Data Connect and does not
|
384
|
+
correspond to any of the instance IDs of the underlying data source
|
385
|
+
connections.
|
386
|
+
"""
|
387
|
+
return pulumi.get(self, "name")
|
388
|
+
|
389
|
+
@name.setter
|
390
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
391
|
+
pulumi.set(self, "name", value)
|
392
|
+
|
393
|
+
@property
|
394
|
+
@pulumi.getter
|
395
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
396
|
+
"""
|
397
|
+
The ID of the project in which the resource belongs.
|
398
|
+
If it is not provided, the provider project is used.
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "project")
|
401
|
+
|
402
|
+
@project.setter
|
403
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
404
|
+
pulumi.set(self, "project", value)
|
405
|
+
|
406
|
+
@property
|
407
|
+
@pulumi.getter(name="pulumiLabels")
|
408
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
409
|
+
"""
|
410
|
+
The combination of labels configured directly on the resource
|
411
|
+
and default labels configured on the provider.
|
412
|
+
"""
|
413
|
+
return pulumi.get(self, "pulumi_labels")
|
414
|
+
|
415
|
+
@pulumi_labels.setter
|
416
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
417
|
+
pulumi.set(self, "pulumi_labels", value)
|
418
|
+
|
419
|
+
@property
|
420
|
+
@pulumi.getter
|
421
|
+
def reconciling(self) -> Optional[pulumi.Input[bool]]:
|
422
|
+
"""
|
423
|
+
Output only. A field that if true, indicates that the system is working update the
|
424
|
+
service.
|
425
|
+
"""
|
426
|
+
return pulumi.get(self, "reconciling")
|
427
|
+
|
428
|
+
@reconciling.setter
|
429
|
+
def reconciling(self, value: Optional[pulumi.Input[bool]]):
|
430
|
+
pulumi.set(self, "reconciling", value)
|
431
|
+
|
432
|
+
@property
|
433
|
+
@pulumi.getter(name="serviceId")
|
434
|
+
def service_id(self) -> Optional[pulumi.Input[str]]:
|
435
|
+
"""
|
436
|
+
Required. The ID to use for the service, which will become the final component of the
|
437
|
+
service's resource name.
|
438
|
+
|
439
|
+
|
440
|
+
- - -
|
441
|
+
"""
|
442
|
+
return pulumi.get(self, "service_id")
|
443
|
+
|
444
|
+
@service_id.setter
|
445
|
+
def service_id(self, value: Optional[pulumi.Input[str]]):
|
446
|
+
pulumi.set(self, "service_id", value)
|
447
|
+
|
448
|
+
@property
|
449
|
+
@pulumi.getter
|
450
|
+
def uid(self) -> Optional[pulumi.Input[str]]:
|
451
|
+
"""
|
452
|
+
Output only. System-assigned, unique identifier.
|
453
|
+
"""
|
454
|
+
return pulumi.get(self, "uid")
|
455
|
+
|
456
|
+
@uid.setter
|
457
|
+
def uid(self, value: Optional[pulumi.Input[str]]):
|
458
|
+
pulumi.set(self, "uid", value)
|
459
|
+
|
460
|
+
@property
|
461
|
+
@pulumi.getter(name="updateTime")
|
462
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
463
|
+
"""
|
464
|
+
Output only. [Output only] Update time stamp.
|
465
|
+
"""
|
466
|
+
return pulumi.get(self, "update_time")
|
467
|
+
|
468
|
+
@update_time.setter
|
469
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
470
|
+
pulumi.set(self, "update_time", value)
|
471
|
+
|
472
|
+
|
473
|
+
class DataConnectService(pulumi.CustomResource):
|
474
|
+
@overload
|
475
|
+
def __init__(__self__,
|
476
|
+
resource_name: str,
|
477
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
478
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
479
|
+
deletion_policy: Optional[pulumi.Input[str]] = None,
|
480
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
481
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
482
|
+
location: Optional[pulumi.Input[str]] = None,
|
483
|
+
project: Optional[pulumi.Input[str]] = None,
|
484
|
+
service_id: Optional[pulumi.Input[str]] = None,
|
485
|
+
__props__=None):
|
486
|
+
"""
|
487
|
+
A Firebase Data Connect service.
|
488
|
+
|
489
|
+
To get more information about Service, see:
|
490
|
+
|
491
|
+
* [API documentation](https://firebase.google.com/docs/reference/data-connect/rest)
|
492
|
+
* How-to Guides
|
493
|
+
* [Official Documentation](https://firebase.google.com/docs/data-connect)
|
494
|
+
|
495
|
+
## Example Usage
|
496
|
+
|
497
|
+
### Firebasedataconnect Service Basic
|
498
|
+
|
499
|
+
```python
|
500
|
+
import pulumi
|
501
|
+
import pulumi_gcp as gcp
|
502
|
+
|
503
|
+
# Enable Firebase Data Connect API
|
504
|
+
fdc = gcp.projects.Service("fdc",
|
505
|
+
project="my-project-name",
|
506
|
+
service="firebasedataconnect.googleapis.com",
|
507
|
+
disable_on_destroy=False)
|
508
|
+
# Create an FDC service
|
509
|
+
default = gcp.firebase.DataConnectService("default",
|
510
|
+
project="my-project-name",
|
511
|
+
location="us-central1",
|
512
|
+
service_id="example-service",
|
513
|
+
deletion_policy="DEFAULT",
|
514
|
+
labels={
|
515
|
+
"label": "my-label",
|
516
|
+
},
|
517
|
+
annotations={
|
518
|
+
"key1": "value1",
|
519
|
+
"key2": "value2",
|
520
|
+
},
|
521
|
+
opts = pulumi.ResourceOptions(depends_on=[fdc]))
|
522
|
+
```
|
523
|
+
|
524
|
+
## Import
|
525
|
+
|
526
|
+
Service can be imported using any of these accepted formats:
|
527
|
+
|
528
|
+
* `projects/{{project}}/locations/{{location}}/services/{{service_id}}`
|
529
|
+
|
530
|
+
* `{{project}}/{{location}}/{{service_id}}`
|
531
|
+
|
532
|
+
* `{{location}}/{{service_id}}`
|
533
|
+
|
534
|
+
When using the `pulumi import` command, Service can be imported using one of the formats above. For example:
|
535
|
+
|
536
|
+
```sh
|
537
|
+
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default projects/{{project}}/locations/{{location}}/services/{{service_id}}
|
538
|
+
```
|
539
|
+
|
540
|
+
```sh
|
541
|
+
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default {{project}}/{{location}}/{{service_id}}
|
542
|
+
```
|
543
|
+
|
544
|
+
```sh
|
545
|
+
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default {{location}}/{{service_id}}
|
546
|
+
```
|
547
|
+
|
548
|
+
:param str resource_name: The name of the resource.
|
549
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
550
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Stores small amounts of arbitrary data.
|
551
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
552
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
553
|
+
:param pulumi.Input[str] deletion_policy: The deletion policy for the database. Setting the field to FORCE allows the
|
554
|
+
Service to be deleted even if a Schema or Connector is present. By default,
|
555
|
+
the Service deletion will only succeed when no Schema or Connectors are
|
556
|
+
present.
|
557
|
+
Possible values: DEFAULT, FORCE
|
558
|
+
:param pulumi.Input[str] display_name: Optional. Mutable human-readable name. 63 character limit.
|
559
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
560
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
561
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
562
|
+
:param pulumi.Input[str] location: The region in which the service resides, e.g. "us-central1" or "asia-east1".
|
563
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
564
|
+
If it is not provided, the provider project is used.
|
565
|
+
:param pulumi.Input[str] service_id: Required. The ID to use for the service, which will become the final component of the
|
566
|
+
service's resource name.
|
567
|
+
|
568
|
+
|
569
|
+
- - -
|
570
|
+
"""
|
571
|
+
...
|
572
|
+
@overload
|
573
|
+
def __init__(__self__,
|
574
|
+
resource_name: str,
|
575
|
+
args: DataConnectServiceArgs,
|
576
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
577
|
+
"""
|
578
|
+
A Firebase Data Connect service.
|
579
|
+
|
580
|
+
To get more information about Service, see:
|
581
|
+
|
582
|
+
* [API documentation](https://firebase.google.com/docs/reference/data-connect/rest)
|
583
|
+
* How-to Guides
|
584
|
+
* [Official Documentation](https://firebase.google.com/docs/data-connect)
|
585
|
+
|
586
|
+
## Example Usage
|
587
|
+
|
588
|
+
### Firebasedataconnect Service Basic
|
589
|
+
|
590
|
+
```python
|
591
|
+
import pulumi
|
592
|
+
import pulumi_gcp as gcp
|
593
|
+
|
594
|
+
# Enable Firebase Data Connect API
|
595
|
+
fdc = gcp.projects.Service("fdc",
|
596
|
+
project="my-project-name",
|
597
|
+
service="firebasedataconnect.googleapis.com",
|
598
|
+
disable_on_destroy=False)
|
599
|
+
# Create an FDC service
|
600
|
+
default = gcp.firebase.DataConnectService("default",
|
601
|
+
project="my-project-name",
|
602
|
+
location="us-central1",
|
603
|
+
service_id="example-service",
|
604
|
+
deletion_policy="DEFAULT",
|
605
|
+
labels={
|
606
|
+
"label": "my-label",
|
607
|
+
},
|
608
|
+
annotations={
|
609
|
+
"key1": "value1",
|
610
|
+
"key2": "value2",
|
611
|
+
},
|
612
|
+
opts = pulumi.ResourceOptions(depends_on=[fdc]))
|
613
|
+
```
|
614
|
+
|
615
|
+
## Import
|
616
|
+
|
617
|
+
Service can be imported using any of these accepted formats:
|
618
|
+
|
619
|
+
* `projects/{{project}}/locations/{{location}}/services/{{service_id}}`
|
620
|
+
|
621
|
+
* `{{project}}/{{location}}/{{service_id}}`
|
622
|
+
|
623
|
+
* `{{location}}/{{service_id}}`
|
624
|
+
|
625
|
+
When using the `pulumi import` command, Service can be imported using one of the formats above. For example:
|
626
|
+
|
627
|
+
```sh
|
628
|
+
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default projects/{{project}}/locations/{{location}}/services/{{service_id}}
|
629
|
+
```
|
630
|
+
|
631
|
+
```sh
|
632
|
+
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default {{project}}/{{location}}/{{service_id}}
|
633
|
+
```
|
634
|
+
|
635
|
+
```sh
|
636
|
+
$ pulumi import gcp:firebase/dataConnectService:DataConnectService default {{location}}/{{service_id}}
|
637
|
+
```
|
638
|
+
|
639
|
+
:param str resource_name: The name of the resource.
|
640
|
+
:param DataConnectServiceArgs args: The arguments to use to populate this resource's properties.
|
641
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
642
|
+
"""
|
643
|
+
...
|
644
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
645
|
+
resource_args, opts = _utilities.get_resource_args_opts(DataConnectServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
646
|
+
if resource_args is not None:
|
647
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
648
|
+
else:
|
649
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
650
|
+
|
651
|
+
def _internal_init(__self__,
|
652
|
+
resource_name: str,
|
653
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
654
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
655
|
+
deletion_policy: Optional[pulumi.Input[str]] = None,
|
656
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
657
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
658
|
+
location: Optional[pulumi.Input[str]] = None,
|
659
|
+
project: Optional[pulumi.Input[str]] = None,
|
660
|
+
service_id: Optional[pulumi.Input[str]] = None,
|
661
|
+
__props__=None):
|
662
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
663
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
664
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
665
|
+
if opts.id is None:
|
666
|
+
if __props__ is not None:
|
667
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
668
|
+
__props__ = DataConnectServiceArgs.__new__(DataConnectServiceArgs)
|
669
|
+
|
670
|
+
__props__.__dict__["annotations"] = annotations
|
671
|
+
__props__.__dict__["deletion_policy"] = deletion_policy
|
672
|
+
__props__.__dict__["display_name"] = display_name
|
673
|
+
__props__.__dict__["labels"] = labels
|
674
|
+
if location is None and not opts.urn:
|
675
|
+
raise TypeError("Missing required property 'location'")
|
676
|
+
__props__.__dict__["location"] = location
|
677
|
+
__props__.__dict__["project"] = project
|
678
|
+
if service_id is None and not opts.urn:
|
679
|
+
raise TypeError("Missing required property 'service_id'")
|
680
|
+
__props__.__dict__["service_id"] = service_id
|
681
|
+
__props__.__dict__["create_time"] = None
|
682
|
+
__props__.__dict__["effective_annotations"] = None
|
683
|
+
__props__.__dict__["effective_labels"] = None
|
684
|
+
__props__.__dict__["etag"] = None
|
685
|
+
__props__.__dict__["name"] = None
|
686
|
+
__props__.__dict__["pulumi_labels"] = None
|
687
|
+
__props__.__dict__["reconciling"] = None
|
688
|
+
__props__.__dict__["uid"] = None
|
689
|
+
__props__.__dict__["update_time"] = None
|
690
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
691
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
692
|
+
super(DataConnectService, __self__).__init__(
|
693
|
+
'gcp:firebase/dataConnectService:DataConnectService',
|
694
|
+
resource_name,
|
695
|
+
__props__,
|
696
|
+
opts)
|
697
|
+
|
698
|
+
@staticmethod
|
699
|
+
def get(resource_name: str,
|
700
|
+
id: pulumi.Input[str],
|
701
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
702
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
703
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
704
|
+
deletion_policy: Optional[pulumi.Input[str]] = None,
|
705
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
706
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
707
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
708
|
+
etag: Optional[pulumi.Input[str]] = None,
|
709
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
710
|
+
location: Optional[pulumi.Input[str]] = None,
|
711
|
+
name: Optional[pulumi.Input[str]] = None,
|
712
|
+
project: Optional[pulumi.Input[str]] = None,
|
713
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
714
|
+
reconciling: Optional[pulumi.Input[bool]] = None,
|
715
|
+
service_id: Optional[pulumi.Input[str]] = None,
|
716
|
+
uid: Optional[pulumi.Input[str]] = None,
|
717
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'DataConnectService':
|
718
|
+
"""
|
719
|
+
Get an existing DataConnectService resource's state with the given name, id, and optional extra
|
720
|
+
properties used to qualify the lookup.
|
721
|
+
|
722
|
+
:param str resource_name: The unique name of the resulting resource.
|
723
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
724
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
725
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Stores small amounts of arbitrary data.
|
726
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
727
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
728
|
+
:param pulumi.Input[str] create_time: Output only. [Output only] Create time stamp.
|
729
|
+
:param pulumi.Input[str] deletion_policy: The deletion policy for the database. Setting the field to FORCE allows the
|
730
|
+
Service to be deleted even if a Schema or Connector is present. By default,
|
731
|
+
the Service deletion will only succeed when no Schema or Connectors are
|
732
|
+
present.
|
733
|
+
Possible values: DEFAULT, FORCE
|
734
|
+
:param pulumi.Input[str] display_name: Optional. Mutable human-readable name. 63 character limit.
|
735
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
736
|
+
:param pulumi.Input[str] etag: Output only. This checksum is computed by the server based on the value of other
|
737
|
+
fields, and may be sent on update and delete requests to ensure the
|
738
|
+
client has an up-to-date value before proceeding.
|
739
|
+
[AIP-154](https://google.aip.dev/154)
|
740
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs.
|
741
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
742
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
743
|
+
:param pulumi.Input[str] location: The region in which the service resides, e.g. "us-central1" or "asia-east1".
|
744
|
+
:param pulumi.Input[str] name: Identifier. The relative resource name of the Firebase Data Connect service, in the
|
745
|
+
format:
|
746
|
+
```
|
747
|
+
projects/{project}/locations/{location}/services/{service}
|
748
|
+
```
|
749
|
+
Note that the service ID is specific to Firebase Data Connect and does not
|
750
|
+
correspond to any of the instance IDs of the underlying data source
|
751
|
+
connections.
|
752
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
753
|
+
If it is not provided, the provider project is used.
|
754
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
755
|
+
and default labels configured on the provider.
|
756
|
+
:param pulumi.Input[bool] reconciling: Output only. A field that if true, indicates that the system is working update the
|
757
|
+
service.
|
758
|
+
:param pulumi.Input[str] service_id: Required. The ID to use for the service, which will become the final component of the
|
759
|
+
service's resource name.
|
760
|
+
|
761
|
+
|
762
|
+
- - -
|
763
|
+
:param pulumi.Input[str] uid: Output only. System-assigned, unique identifier.
|
764
|
+
:param pulumi.Input[str] update_time: Output only. [Output only] Update time stamp.
|
765
|
+
"""
|
766
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
767
|
+
|
768
|
+
__props__ = _DataConnectServiceState.__new__(_DataConnectServiceState)
|
769
|
+
|
770
|
+
__props__.__dict__["annotations"] = annotations
|
771
|
+
__props__.__dict__["create_time"] = create_time
|
772
|
+
__props__.__dict__["deletion_policy"] = deletion_policy
|
773
|
+
__props__.__dict__["display_name"] = display_name
|
774
|
+
__props__.__dict__["effective_annotations"] = effective_annotations
|
775
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
776
|
+
__props__.__dict__["etag"] = etag
|
777
|
+
__props__.__dict__["labels"] = labels
|
778
|
+
__props__.__dict__["location"] = location
|
779
|
+
__props__.__dict__["name"] = name
|
780
|
+
__props__.__dict__["project"] = project
|
781
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
782
|
+
__props__.__dict__["reconciling"] = reconciling
|
783
|
+
__props__.__dict__["service_id"] = service_id
|
784
|
+
__props__.__dict__["uid"] = uid
|
785
|
+
__props__.__dict__["update_time"] = update_time
|
786
|
+
return DataConnectService(resource_name, opts=opts, __props__=__props__)
|
787
|
+
|
788
|
+
@property
|
789
|
+
@pulumi.getter
|
790
|
+
def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
791
|
+
"""
|
792
|
+
Optional. Stores small amounts of arbitrary data.
|
793
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
794
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
795
|
+
"""
|
796
|
+
return pulumi.get(self, "annotations")
|
797
|
+
|
798
|
+
@property
|
799
|
+
@pulumi.getter(name="createTime")
|
800
|
+
def create_time(self) -> pulumi.Output[str]:
|
801
|
+
"""
|
802
|
+
Output only. [Output only] Create time stamp.
|
803
|
+
"""
|
804
|
+
return pulumi.get(self, "create_time")
|
805
|
+
|
806
|
+
@property
|
807
|
+
@pulumi.getter(name="deletionPolicy")
|
808
|
+
def deletion_policy(self) -> pulumi.Output[Optional[str]]:
|
809
|
+
"""
|
810
|
+
The deletion policy for the database. Setting the field to FORCE allows the
|
811
|
+
Service to be deleted even if a Schema or Connector is present. By default,
|
812
|
+
the Service deletion will only succeed when no Schema or Connectors are
|
813
|
+
present.
|
814
|
+
Possible values: DEFAULT, FORCE
|
815
|
+
"""
|
816
|
+
return pulumi.get(self, "deletion_policy")
|
817
|
+
|
818
|
+
@property
|
819
|
+
@pulumi.getter(name="displayName")
|
820
|
+
def display_name(self) -> pulumi.Output[Optional[str]]:
|
821
|
+
"""
|
822
|
+
Optional. Mutable human-readable name. 63 character limit.
|
823
|
+
"""
|
824
|
+
return pulumi.get(self, "display_name")
|
825
|
+
|
826
|
+
@property
|
827
|
+
@pulumi.getter(name="effectiveAnnotations")
|
828
|
+
def effective_annotations(self) -> pulumi.Output[Mapping[str, str]]:
|
829
|
+
return pulumi.get(self, "effective_annotations")
|
830
|
+
|
831
|
+
@property
|
832
|
+
@pulumi.getter(name="effectiveLabels")
|
833
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
834
|
+
"""
|
835
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
836
|
+
"""
|
837
|
+
return pulumi.get(self, "effective_labels")
|
838
|
+
|
839
|
+
@property
|
840
|
+
@pulumi.getter
|
841
|
+
def etag(self) -> pulumi.Output[str]:
|
842
|
+
"""
|
843
|
+
Output only. This checksum is computed by the server based on the value of other
|
844
|
+
fields, and may be sent on update and delete requests to ensure the
|
845
|
+
client has an up-to-date value before proceeding.
|
846
|
+
[AIP-154](https://google.aip.dev/154)
|
847
|
+
"""
|
848
|
+
return pulumi.get(self, "etag")
|
849
|
+
|
850
|
+
@property
|
851
|
+
@pulumi.getter
|
852
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
853
|
+
"""
|
854
|
+
Optional. Labels as key value pairs.
|
855
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
856
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
857
|
+
"""
|
858
|
+
return pulumi.get(self, "labels")
|
859
|
+
|
860
|
+
@property
|
861
|
+
@pulumi.getter
|
862
|
+
def location(self) -> pulumi.Output[str]:
|
863
|
+
"""
|
864
|
+
The region in which the service resides, e.g. "us-central1" or "asia-east1".
|
865
|
+
"""
|
866
|
+
return pulumi.get(self, "location")
|
867
|
+
|
868
|
+
@property
|
869
|
+
@pulumi.getter
|
870
|
+
def name(self) -> pulumi.Output[str]:
|
871
|
+
"""
|
872
|
+
Identifier. The relative resource name of the Firebase Data Connect service, in the
|
873
|
+
format:
|
874
|
+
```
|
875
|
+
projects/{project}/locations/{location}/services/{service}
|
876
|
+
```
|
877
|
+
Note that the service ID is specific to Firebase Data Connect and does not
|
878
|
+
correspond to any of the instance IDs of the underlying data source
|
879
|
+
connections.
|
880
|
+
"""
|
881
|
+
return pulumi.get(self, "name")
|
882
|
+
|
883
|
+
@property
|
884
|
+
@pulumi.getter
|
885
|
+
def project(self) -> pulumi.Output[str]:
|
886
|
+
"""
|
887
|
+
The ID of the project in which the resource belongs.
|
888
|
+
If it is not provided, the provider project is used.
|
889
|
+
"""
|
890
|
+
return pulumi.get(self, "project")
|
891
|
+
|
892
|
+
@property
|
893
|
+
@pulumi.getter(name="pulumiLabels")
|
894
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
895
|
+
"""
|
896
|
+
The combination of labels configured directly on the resource
|
897
|
+
and default labels configured on the provider.
|
898
|
+
"""
|
899
|
+
return pulumi.get(self, "pulumi_labels")
|
900
|
+
|
901
|
+
@property
|
902
|
+
@pulumi.getter
|
903
|
+
def reconciling(self) -> pulumi.Output[bool]:
|
904
|
+
"""
|
905
|
+
Output only. A field that if true, indicates that the system is working update the
|
906
|
+
service.
|
907
|
+
"""
|
908
|
+
return pulumi.get(self, "reconciling")
|
909
|
+
|
910
|
+
@property
|
911
|
+
@pulumi.getter(name="serviceId")
|
912
|
+
def service_id(self) -> pulumi.Output[str]:
|
913
|
+
"""
|
914
|
+
Required. The ID to use for the service, which will become the final component of the
|
915
|
+
service's resource name.
|
916
|
+
|
917
|
+
|
918
|
+
- - -
|
919
|
+
"""
|
920
|
+
return pulumi.get(self, "service_id")
|
921
|
+
|
922
|
+
@property
|
923
|
+
@pulumi.getter
|
924
|
+
def uid(self) -> pulumi.Output[str]:
|
925
|
+
"""
|
926
|
+
Output only. System-assigned, unique identifier.
|
927
|
+
"""
|
928
|
+
return pulumi.get(self, "uid")
|
929
|
+
|
930
|
+
@property
|
931
|
+
@pulumi.getter(name="updateTime")
|
932
|
+
def update_time(self) -> pulumi.Output[str]:
|
933
|
+
"""
|
934
|
+
Output only. [Output only] Update time stamp.
|
935
|
+
"""
|
936
|
+
return pulumi.get(self, "update_time")
|
937
|
+
|