pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__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_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
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
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['DatabaseSyncedDatabaseTableArgs', 'DatabaseSyncedDatabaseTable']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class DatabaseSyncedDatabaseTableArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
database_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
logical_database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
spec: Optional[pulumi.Input['DatabaseSyncedDatabaseTableSpecArgs']] = None):
|
|
28
|
+
"""
|
|
29
|
+
The set of arguments for constructing a DatabaseSyncedDatabaseTable resource.
|
|
30
|
+
:param pulumi.Input[_builtins.str] database_instance_name: Name of the target database instance. This is required when creating synced database tables in standard catalogs.
|
|
31
|
+
This is optional when creating synced database tables in registered catalogs. If this field is specified
|
|
32
|
+
when creating synced database tables in registered catalogs, the database instance name MUST
|
|
33
|
+
match that of the registered catalog (or the request will be rejected)
|
|
34
|
+
:param pulumi.Input[_builtins.str] logical_database_name: Target Postgres database object (logical database) name for this table.
|
|
35
|
+
|
|
36
|
+
When creating a synced table in a registered Postgres catalog, the
|
|
37
|
+
target Postgres database name is inferred to be that of the registered catalog.
|
|
38
|
+
If this field is specified in this scenario, the Postgres database name MUST
|
|
39
|
+
match that of the registered catalog (or the request will be rejected).
|
|
40
|
+
|
|
41
|
+
When creating a synced table in a standard catalog, this field is required.
|
|
42
|
+
In this scenario, specifying this field will allow targeting an arbitrary postgres database.
|
|
43
|
+
Note that this has implications for the `create_database_objects_is_missing` field in `spec`
|
|
44
|
+
:param pulumi.Input[_builtins.str] name: Full three-part (catalog, schema, table) name of the table
|
|
45
|
+
"""
|
|
46
|
+
if database_instance_name is not None:
|
|
47
|
+
pulumi.set(__self__, "database_instance_name", database_instance_name)
|
|
48
|
+
if logical_database_name is not None:
|
|
49
|
+
pulumi.set(__self__, "logical_database_name", logical_database_name)
|
|
50
|
+
if name is not None:
|
|
51
|
+
pulumi.set(__self__, "name", name)
|
|
52
|
+
if spec is not None:
|
|
53
|
+
pulumi.set(__self__, "spec", spec)
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter(name="databaseInstanceName")
|
|
57
|
+
def database_instance_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
58
|
+
"""
|
|
59
|
+
Name of the target database instance. This is required when creating synced database tables in standard catalogs.
|
|
60
|
+
This is optional when creating synced database tables in registered catalogs. If this field is specified
|
|
61
|
+
when creating synced database tables in registered catalogs, the database instance name MUST
|
|
62
|
+
match that of the registered catalog (or the request will be rejected)
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "database_instance_name")
|
|
65
|
+
|
|
66
|
+
@database_instance_name.setter
|
|
67
|
+
def database_instance_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
68
|
+
pulumi.set(self, "database_instance_name", value)
|
|
69
|
+
|
|
70
|
+
@_builtins.property
|
|
71
|
+
@pulumi.getter(name="logicalDatabaseName")
|
|
72
|
+
def logical_database_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
73
|
+
"""
|
|
74
|
+
Target Postgres database object (logical database) name for this table.
|
|
75
|
+
|
|
76
|
+
When creating a synced table in a registered Postgres catalog, the
|
|
77
|
+
target Postgres database name is inferred to be that of the registered catalog.
|
|
78
|
+
If this field is specified in this scenario, the Postgres database name MUST
|
|
79
|
+
match that of the registered catalog (or the request will be rejected).
|
|
80
|
+
|
|
81
|
+
When creating a synced table in a standard catalog, this field is required.
|
|
82
|
+
In this scenario, specifying this field will allow targeting an arbitrary postgres database.
|
|
83
|
+
Note that this has implications for the `create_database_objects_is_missing` field in `spec`
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "logical_database_name")
|
|
86
|
+
|
|
87
|
+
@logical_database_name.setter
|
|
88
|
+
def logical_database_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
89
|
+
pulumi.set(self, "logical_database_name", value)
|
|
90
|
+
|
|
91
|
+
@_builtins.property
|
|
92
|
+
@pulumi.getter
|
|
93
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
94
|
+
"""
|
|
95
|
+
Full three-part (catalog, schema, table) name of the table
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "name")
|
|
98
|
+
|
|
99
|
+
@name.setter
|
|
100
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
101
|
+
pulumi.set(self, "name", value)
|
|
102
|
+
|
|
103
|
+
@_builtins.property
|
|
104
|
+
@pulumi.getter
|
|
105
|
+
def spec(self) -> Optional[pulumi.Input['DatabaseSyncedDatabaseTableSpecArgs']]:
|
|
106
|
+
return pulumi.get(self, "spec")
|
|
107
|
+
|
|
108
|
+
@spec.setter
|
|
109
|
+
def spec(self, value: Optional[pulumi.Input['DatabaseSyncedDatabaseTableSpecArgs']]):
|
|
110
|
+
pulumi.set(self, "spec", value)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@pulumi.input_type
|
|
114
|
+
class _DatabaseSyncedDatabaseTableState:
|
|
115
|
+
def __init__(__self__, *,
|
|
116
|
+
data_synchronization_status: Optional[pulumi.Input['DatabaseSyncedDatabaseTableDataSynchronizationStatusArgs']] = None,
|
|
117
|
+
database_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
+
effective_database_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
|
+
effective_logical_database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
120
|
+
logical_database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
122
|
+
spec: Optional[pulumi.Input['DatabaseSyncedDatabaseTableSpecArgs']] = None,
|
|
123
|
+
unity_catalog_provisioning_state: Optional[pulumi.Input[_builtins.str]] = None):
|
|
124
|
+
"""
|
|
125
|
+
Input properties used for looking up and filtering DatabaseSyncedDatabaseTable resources.
|
|
126
|
+
:param pulumi.Input['DatabaseSyncedDatabaseTableDataSynchronizationStatusArgs'] data_synchronization_status: (SyncedTableStatus) - Synced Table data synchronization status
|
|
127
|
+
:param pulumi.Input[_builtins.str] database_instance_name: Name of the target database instance. This is required when creating synced database tables in standard catalogs.
|
|
128
|
+
This is optional when creating synced database tables in registered catalogs. If this field is specified
|
|
129
|
+
when creating synced database tables in registered catalogs, the database instance name MUST
|
|
130
|
+
match that of the registered catalog (or the request will be rejected)
|
|
131
|
+
:param pulumi.Input[_builtins.str] effective_database_instance_name: (string) - The name of the database instance that this table is registered to. This field is always returned, and for
|
|
132
|
+
tables inside database catalogs is inferred database instance associated with the catalog
|
|
133
|
+
:param pulumi.Input[_builtins.str] effective_logical_database_name: (string) - The name of the logical database that this table is registered to
|
|
134
|
+
:param pulumi.Input[_builtins.str] logical_database_name: Target Postgres database object (logical database) name for this table.
|
|
135
|
+
|
|
136
|
+
When creating a synced table in a registered Postgres catalog, the
|
|
137
|
+
target Postgres database name is inferred to be that of the registered catalog.
|
|
138
|
+
If this field is specified in this scenario, the Postgres database name MUST
|
|
139
|
+
match that of the registered catalog (or the request will be rejected).
|
|
140
|
+
|
|
141
|
+
When creating a synced table in a standard catalog, this field is required.
|
|
142
|
+
In this scenario, specifying this field will allow targeting an arbitrary postgres database.
|
|
143
|
+
Note that this has implications for the `create_database_objects_is_missing` field in `spec`
|
|
144
|
+
:param pulumi.Input[_builtins.str] name: Full three-part (catalog, schema, table) name of the table
|
|
145
|
+
:param pulumi.Input[_builtins.str] unity_catalog_provisioning_state: (string) - The provisioning state of the synced table entity in Unity Catalog. This is distinct from the
|
|
146
|
+
state of the data synchronization pipeline (i.e. the table may be in "ACTIVE" but the pipeline
|
|
147
|
+
may be in "PROVISIONING" as it runs asynchronously). Possible values are: `ACTIVE`, `DEGRADED`, `DELETING`, `FAILED`, `PROVISIONING`, `UPDATING`
|
|
148
|
+
"""
|
|
149
|
+
if data_synchronization_status is not None:
|
|
150
|
+
pulumi.set(__self__, "data_synchronization_status", data_synchronization_status)
|
|
151
|
+
if database_instance_name is not None:
|
|
152
|
+
pulumi.set(__self__, "database_instance_name", database_instance_name)
|
|
153
|
+
if effective_database_instance_name is not None:
|
|
154
|
+
pulumi.set(__self__, "effective_database_instance_name", effective_database_instance_name)
|
|
155
|
+
if effective_logical_database_name is not None:
|
|
156
|
+
pulumi.set(__self__, "effective_logical_database_name", effective_logical_database_name)
|
|
157
|
+
if logical_database_name is not None:
|
|
158
|
+
pulumi.set(__self__, "logical_database_name", logical_database_name)
|
|
159
|
+
if name is not None:
|
|
160
|
+
pulumi.set(__self__, "name", name)
|
|
161
|
+
if spec is not None:
|
|
162
|
+
pulumi.set(__self__, "spec", spec)
|
|
163
|
+
if unity_catalog_provisioning_state is not None:
|
|
164
|
+
pulumi.set(__self__, "unity_catalog_provisioning_state", unity_catalog_provisioning_state)
|
|
165
|
+
|
|
166
|
+
@_builtins.property
|
|
167
|
+
@pulumi.getter(name="dataSynchronizationStatus")
|
|
168
|
+
def data_synchronization_status(self) -> Optional[pulumi.Input['DatabaseSyncedDatabaseTableDataSynchronizationStatusArgs']]:
|
|
169
|
+
"""
|
|
170
|
+
(SyncedTableStatus) - Synced Table data synchronization status
|
|
171
|
+
"""
|
|
172
|
+
return pulumi.get(self, "data_synchronization_status")
|
|
173
|
+
|
|
174
|
+
@data_synchronization_status.setter
|
|
175
|
+
def data_synchronization_status(self, value: Optional[pulumi.Input['DatabaseSyncedDatabaseTableDataSynchronizationStatusArgs']]):
|
|
176
|
+
pulumi.set(self, "data_synchronization_status", value)
|
|
177
|
+
|
|
178
|
+
@_builtins.property
|
|
179
|
+
@pulumi.getter(name="databaseInstanceName")
|
|
180
|
+
def database_instance_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
181
|
+
"""
|
|
182
|
+
Name of the target database instance. This is required when creating synced database tables in standard catalogs.
|
|
183
|
+
This is optional when creating synced database tables in registered catalogs. If this field is specified
|
|
184
|
+
when creating synced database tables in registered catalogs, the database instance name MUST
|
|
185
|
+
match that of the registered catalog (or the request will be rejected)
|
|
186
|
+
"""
|
|
187
|
+
return pulumi.get(self, "database_instance_name")
|
|
188
|
+
|
|
189
|
+
@database_instance_name.setter
|
|
190
|
+
def database_instance_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
191
|
+
pulumi.set(self, "database_instance_name", value)
|
|
192
|
+
|
|
193
|
+
@_builtins.property
|
|
194
|
+
@pulumi.getter(name="effectiveDatabaseInstanceName")
|
|
195
|
+
def effective_database_instance_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
196
|
+
"""
|
|
197
|
+
(string) - The name of the database instance that this table is registered to. This field is always returned, and for
|
|
198
|
+
tables inside database catalogs is inferred database instance associated with the catalog
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "effective_database_instance_name")
|
|
201
|
+
|
|
202
|
+
@effective_database_instance_name.setter
|
|
203
|
+
def effective_database_instance_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
204
|
+
pulumi.set(self, "effective_database_instance_name", value)
|
|
205
|
+
|
|
206
|
+
@_builtins.property
|
|
207
|
+
@pulumi.getter(name="effectiveLogicalDatabaseName")
|
|
208
|
+
def effective_logical_database_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
209
|
+
"""
|
|
210
|
+
(string) - The name of the logical database that this table is registered to
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "effective_logical_database_name")
|
|
213
|
+
|
|
214
|
+
@effective_logical_database_name.setter
|
|
215
|
+
def effective_logical_database_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
216
|
+
pulumi.set(self, "effective_logical_database_name", value)
|
|
217
|
+
|
|
218
|
+
@_builtins.property
|
|
219
|
+
@pulumi.getter(name="logicalDatabaseName")
|
|
220
|
+
def logical_database_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
221
|
+
"""
|
|
222
|
+
Target Postgres database object (logical database) name for this table.
|
|
223
|
+
|
|
224
|
+
When creating a synced table in a registered Postgres catalog, the
|
|
225
|
+
target Postgres database name is inferred to be that of the registered catalog.
|
|
226
|
+
If this field is specified in this scenario, the Postgres database name MUST
|
|
227
|
+
match that of the registered catalog (or the request will be rejected).
|
|
228
|
+
|
|
229
|
+
When creating a synced table in a standard catalog, this field is required.
|
|
230
|
+
In this scenario, specifying this field will allow targeting an arbitrary postgres database.
|
|
231
|
+
Note that this has implications for the `create_database_objects_is_missing` field in `spec`
|
|
232
|
+
"""
|
|
233
|
+
return pulumi.get(self, "logical_database_name")
|
|
234
|
+
|
|
235
|
+
@logical_database_name.setter
|
|
236
|
+
def logical_database_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
237
|
+
pulumi.set(self, "logical_database_name", value)
|
|
238
|
+
|
|
239
|
+
@_builtins.property
|
|
240
|
+
@pulumi.getter
|
|
241
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
242
|
+
"""
|
|
243
|
+
Full three-part (catalog, schema, table) name of the table
|
|
244
|
+
"""
|
|
245
|
+
return pulumi.get(self, "name")
|
|
246
|
+
|
|
247
|
+
@name.setter
|
|
248
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
249
|
+
pulumi.set(self, "name", value)
|
|
250
|
+
|
|
251
|
+
@_builtins.property
|
|
252
|
+
@pulumi.getter
|
|
253
|
+
def spec(self) -> Optional[pulumi.Input['DatabaseSyncedDatabaseTableSpecArgs']]:
|
|
254
|
+
return pulumi.get(self, "spec")
|
|
255
|
+
|
|
256
|
+
@spec.setter
|
|
257
|
+
def spec(self, value: Optional[pulumi.Input['DatabaseSyncedDatabaseTableSpecArgs']]):
|
|
258
|
+
pulumi.set(self, "spec", value)
|
|
259
|
+
|
|
260
|
+
@_builtins.property
|
|
261
|
+
@pulumi.getter(name="unityCatalogProvisioningState")
|
|
262
|
+
def unity_catalog_provisioning_state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
263
|
+
"""
|
|
264
|
+
(string) - The provisioning state of the synced table entity in Unity Catalog. This is distinct from the
|
|
265
|
+
state of the data synchronization pipeline (i.e. the table may be in "ACTIVE" but the pipeline
|
|
266
|
+
may be in "PROVISIONING" as it runs asynchronously). Possible values are: `ACTIVE`, `DEGRADED`, `DELETING`, `FAILED`, `PROVISIONING`, `UPDATING`
|
|
267
|
+
"""
|
|
268
|
+
return pulumi.get(self, "unity_catalog_provisioning_state")
|
|
269
|
+
|
|
270
|
+
@unity_catalog_provisioning_state.setter
|
|
271
|
+
def unity_catalog_provisioning_state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
272
|
+
pulumi.set(self, "unity_catalog_provisioning_state", value)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
@pulumi.type_token("databricks:index/databaseSyncedDatabaseTable:DatabaseSyncedDatabaseTable")
|
|
276
|
+
class DatabaseSyncedDatabaseTable(pulumi.CustomResource):
|
|
277
|
+
@overload
|
|
278
|
+
def __init__(__self__,
|
|
279
|
+
resource_name: str,
|
|
280
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
281
|
+
database_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
|
+
logical_database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
283
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
284
|
+
spec: Optional[pulumi.Input[Union['DatabaseSyncedDatabaseTableSpecArgs', 'DatabaseSyncedDatabaseTableSpecArgsDict']]] = None,
|
|
285
|
+
__props__=None):
|
|
286
|
+
"""
|
|
287
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
288
|
+
|
|
289
|
+
Lakebase Synced Database Tables are Postgres tables automatically synced from a source table inside Unity Catalog.
|
|
290
|
+
They can be used to serve realtime queries without the operational overhead of managing ETL pipelines.
|
|
291
|
+
|
|
292
|
+
Synced Database Tables can be configured inside either Database Catalogs or Standard Catalogs. Multiple
|
|
293
|
+
Synced Database Tables can be bin packed inside a single pipeline to optimize costs.
|
|
294
|
+
|
|
295
|
+
## Example Usage
|
|
296
|
+
|
|
297
|
+
### Creating a Synced Database Table inside a Database Catalog
|
|
298
|
+
|
|
299
|
+
This example creates a Synced Database Table inside a Database Catalog.
|
|
300
|
+
|
|
301
|
+
### Creating a Synced Database Table inside a Standard Catalog
|
|
302
|
+
|
|
303
|
+
This example creates a Synced Database Table inside a Standard Catalog.
|
|
304
|
+
|
|
305
|
+
### Creating multiple Synced Database Tables and bin packing them into a single pipeline
|
|
306
|
+
|
|
307
|
+
This example creates two Synced Database Tables. The first one specifies a new pipeline spec,
|
|
308
|
+
which generates a new pipeline. The second one utilizes the pipeline ID of the first table.
|
|
309
|
+
|
|
310
|
+
### Creating a Synced Database Table with a custom Jobs schedule
|
|
311
|
+
|
|
312
|
+
This example creates a Synced Database Table and customizes the pipeline schedule. It assumes you already have
|
|
313
|
+
|
|
314
|
+
- A database instance named `"my-database-instance"`
|
|
315
|
+
- A standard catalog named `"my_standard_catalog"`
|
|
316
|
+
- A schema in the standard catalog named `"default"`
|
|
317
|
+
- A source delta table named `"source_delta.schema.customer"` with the primary key `"c_custkey"`
|
|
318
|
+
|
|
319
|
+
## Import
|
|
320
|
+
|
|
321
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
322
|
+
|
|
323
|
+
hcl
|
|
324
|
+
|
|
325
|
+
import {
|
|
326
|
+
|
|
327
|
+
id = "name"
|
|
328
|
+
|
|
329
|
+
to = databricks_database_synced_database_table.this
|
|
330
|
+
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
334
|
+
|
|
335
|
+
```sh
|
|
336
|
+
$ pulumi import databricks:index/databaseSyncedDatabaseTable:DatabaseSyncedDatabaseTable this "name"
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
:param str resource_name: The name of the resource.
|
|
340
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
341
|
+
:param pulumi.Input[_builtins.str] database_instance_name: Name of the target database instance. This is required when creating synced database tables in standard catalogs.
|
|
342
|
+
This is optional when creating synced database tables in registered catalogs. If this field is specified
|
|
343
|
+
when creating synced database tables in registered catalogs, the database instance name MUST
|
|
344
|
+
match that of the registered catalog (or the request will be rejected)
|
|
345
|
+
:param pulumi.Input[_builtins.str] logical_database_name: Target Postgres database object (logical database) name for this table.
|
|
346
|
+
|
|
347
|
+
When creating a synced table in a registered Postgres catalog, the
|
|
348
|
+
target Postgres database name is inferred to be that of the registered catalog.
|
|
349
|
+
If this field is specified in this scenario, the Postgres database name MUST
|
|
350
|
+
match that of the registered catalog (or the request will be rejected).
|
|
351
|
+
|
|
352
|
+
When creating a synced table in a standard catalog, this field is required.
|
|
353
|
+
In this scenario, specifying this field will allow targeting an arbitrary postgres database.
|
|
354
|
+
Note that this has implications for the `create_database_objects_is_missing` field in `spec`
|
|
355
|
+
:param pulumi.Input[_builtins.str] name: Full three-part (catalog, schema, table) name of the table
|
|
356
|
+
"""
|
|
357
|
+
...
|
|
358
|
+
@overload
|
|
359
|
+
def __init__(__self__,
|
|
360
|
+
resource_name: str,
|
|
361
|
+
args: Optional[DatabaseSyncedDatabaseTableArgs] = None,
|
|
362
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
363
|
+
"""
|
|
364
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
365
|
+
|
|
366
|
+
Lakebase Synced Database Tables are Postgres tables automatically synced from a source table inside Unity Catalog.
|
|
367
|
+
They can be used to serve realtime queries without the operational overhead of managing ETL pipelines.
|
|
368
|
+
|
|
369
|
+
Synced Database Tables can be configured inside either Database Catalogs or Standard Catalogs. Multiple
|
|
370
|
+
Synced Database Tables can be bin packed inside a single pipeline to optimize costs.
|
|
371
|
+
|
|
372
|
+
## Example Usage
|
|
373
|
+
|
|
374
|
+
### Creating a Synced Database Table inside a Database Catalog
|
|
375
|
+
|
|
376
|
+
This example creates a Synced Database Table inside a Database Catalog.
|
|
377
|
+
|
|
378
|
+
### Creating a Synced Database Table inside a Standard Catalog
|
|
379
|
+
|
|
380
|
+
This example creates a Synced Database Table inside a Standard Catalog.
|
|
381
|
+
|
|
382
|
+
### Creating multiple Synced Database Tables and bin packing them into a single pipeline
|
|
383
|
+
|
|
384
|
+
This example creates two Synced Database Tables. The first one specifies a new pipeline spec,
|
|
385
|
+
which generates a new pipeline. The second one utilizes the pipeline ID of the first table.
|
|
386
|
+
|
|
387
|
+
### Creating a Synced Database Table with a custom Jobs schedule
|
|
388
|
+
|
|
389
|
+
This example creates a Synced Database Table and customizes the pipeline schedule. It assumes you already have
|
|
390
|
+
|
|
391
|
+
- A database instance named `"my-database-instance"`
|
|
392
|
+
- A standard catalog named `"my_standard_catalog"`
|
|
393
|
+
- A schema in the standard catalog named `"default"`
|
|
394
|
+
- A source delta table named `"source_delta.schema.customer"` with the primary key `"c_custkey"`
|
|
395
|
+
|
|
396
|
+
## Import
|
|
397
|
+
|
|
398
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
399
|
+
|
|
400
|
+
hcl
|
|
401
|
+
|
|
402
|
+
import {
|
|
403
|
+
|
|
404
|
+
id = "name"
|
|
405
|
+
|
|
406
|
+
to = databricks_database_synced_database_table.this
|
|
407
|
+
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
411
|
+
|
|
412
|
+
```sh
|
|
413
|
+
$ pulumi import databricks:index/databaseSyncedDatabaseTable:DatabaseSyncedDatabaseTable this "name"
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
:param str resource_name: The name of the resource.
|
|
417
|
+
:param DatabaseSyncedDatabaseTableArgs args: The arguments to use to populate this resource's properties.
|
|
418
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
419
|
+
"""
|
|
420
|
+
...
|
|
421
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
422
|
+
resource_args, opts = _utilities.get_resource_args_opts(DatabaseSyncedDatabaseTableArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
423
|
+
if resource_args is not None:
|
|
424
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
425
|
+
else:
|
|
426
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
427
|
+
|
|
428
|
+
def _internal_init(__self__,
|
|
429
|
+
resource_name: str,
|
|
430
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
431
|
+
database_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
432
|
+
logical_database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
433
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
434
|
+
spec: Optional[pulumi.Input[Union['DatabaseSyncedDatabaseTableSpecArgs', 'DatabaseSyncedDatabaseTableSpecArgsDict']]] = None,
|
|
435
|
+
__props__=None):
|
|
436
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
437
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
438
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
439
|
+
if opts.id is None:
|
|
440
|
+
if __props__ is not None:
|
|
441
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
442
|
+
__props__ = DatabaseSyncedDatabaseTableArgs.__new__(DatabaseSyncedDatabaseTableArgs)
|
|
443
|
+
|
|
444
|
+
__props__.__dict__["database_instance_name"] = database_instance_name
|
|
445
|
+
__props__.__dict__["logical_database_name"] = logical_database_name
|
|
446
|
+
__props__.__dict__["name"] = name
|
|
447
|
+
__props__.__dict__["spec"] = spec
|
|
448
|
+
__props__.__dict__["data_synchronization_status"] = None
|
|
449
|
+
__props__.__dict__["effective_database_instance_name"] = None
|
|
450
|
+
__props__.__dict__["effective_logical_database_name"] = None
|
|
451
|
+
__props__.__dict__["unity_catalog_provisioning_state"] = None
|
|
452
|
+
super(DatabaseSyncedDatabaseTable, __self__).__init__(
|
|
453
|
+
'databricks:index/databaseSyncedDatabaseTable:DatabaseSyncedDatabaseTable',
|
|
454
|
+
resource_name,
|
|
455
|
+
__props__,
|
|
456
|
+
opts)
|
|
457
|
+
|
|
458
|
+
@staticmethod
|
|
459
|
+
def get(resource_name: str,
|
|
460
|
+
id: pulumi.Input[str],
|
|
461
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
462
|
+
data_synchronization_status: Optional[pulumi.Input[Union['DatabaseSyncedDatabaseTableDataSynchronizationStatusArgs', 'DatabaseSyncedDatabaseTableDataSynchronizationStatusArgsDict']]] = None,
|
|
463
|
+
database_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
464
|
+
effective_database_instance_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
465
|
+
effective_logical_database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
466
|
+
logical_database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
467
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
468
|
+
spec: Optional[pulumi.Input[Union['DatabaseSyncedDatabaseTableSpecArgs', 'DatabaseSyncedDatabaseTableSpecArgsDict']]] = None,
|
|
469
|
+
unity_catalog_provisioning_state: Optional[pulumi.Input[_builtins.str]] = None) -> 'DatabaseSyncedDatabaseTable':
|
|
470
|
+
"""
|
|
471
|
+
Get an existing DatabaseSyncedDatabaseTable resource's state with the given name, id, and optional extra
|
|
472
|
+
properties used to qualify the lookup.
|
|
473
|
+
|
|
474
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
475
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
476
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
477
|
+
:param pulumi.Input[Union['DatabaseSyncedDatabaseTableDataSynchronizationStatusArgs', 'DatabaseSyncedDatabaseTableDataSynchronizationStatusArgsDict']] data_synchronization_status: (SyncedTableStatus) - Synced Table data synchronization status
|
|
478
|
+
:param pulumi.Input[_builtins.str] database_instance_name: Name of the target database instance. This is required when creating synced database tables in standard catalogs.
|
|
479
|
+
This is optional when creating synced database tables in registered catalogs. If this field is specified
|
|
480
|
+
when creating synced database tables in registered catalogs, the database instance name MUST
|
|
481
|
+
match that of the registered catalog (or the request will be rejected)
|
|
482
|
+
:param pulumi.Input[_builtins.str] effective_database_instance_name: (string) - The name of the database instance that this table is registered to. This field is always returned, and for
|
|
483
|
+
tables inside database catalogs is inferred database instance associated with the catalog
|
|
484
|
+
:param pulumi.Input[_builtins.str] effective_logical_database_name: (string) - The name of the logical database that this table is registered to
|
|
485
|
+
:param pulumi.Input[_builtins.str] logical_database_name: Target Postgres database object (logical database) name for this table.
|
|
486
|
+
|
|
487
|
+
When creating a synced table in a registered Postgres catalog, the
|
|
488
|
+
target Postgres database name is inferred to be that of the registered catalog.
|
|
489
|
+
If this field is specified in this scenario, the Postgres database name MUST
|
|
490
|
+
match that of the registered catalog (or the request will be rejected).
|
|
491
|
+
|
|
492
|
+
When creating a synced table in a standard catalog, this field is required.
|
|
493
|
+
In this scenario, specifying this field will allow targeting an arbitrary postgres database.
|
|
494
|
+
Note that this has implications for the `create_database_objects_is_missing` field in `spec`
|
|
495
|
+
:param pulumi.Input[_builtins.str] name: Full three-part (catalog, schema, table) name of the table
|
|
496
|
+
:param pulumi.Input[_builtins.str] unity_catalog_provisioning_state: (string) - The provisioning state of the synced table entity in Unity Catalog. This is distinct from the
|
|
497
|
+
state of the data synchronization pipeline (i.e. the table may be in "ACTIVE" but the pipeline
|
|
498
|
+
may be in "PROVISIONING" as it runs asynchronously). Possible values are: `ACTIVE`, `DEGRADED`, `DELETING`, `FAILED`, `PROVISIONING`, `UPDATING`
|
|
499
|
+
"""
|
|
500
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
501
|
+
|
|
502
|
+
__props__ = _DatabaseSyncedDatabaseTableState.__new__(_DatabaseSyncedDatabaseTableState)
|
|
503
|
+
|
|
504
|
+
__props__.__dict__["data_synchronization_status"] = data_synchronization_status
|
|
505
|
+
__props__.__dict__["database_instance_name"] = database_instance_name
|
|
506
|
+
__props__.__dict__["effective_database_instance_name"] = effective_database_instance_name
|
|
507
|
+
__props__.__dict__["effective_logical_database_name"] = effective_logical_database_name
|
|
508
|
+
__props__.__dict__["logical_database_name"] = logical_database_name
|
|
509
|
+
__props__.__dict__["name"] = name
|
|
510
|
+
__props__.__dict__["spec"] = spec
|
|
511
|
+
__props__.__dict__["unity_catalog_provisioning_state"] = unity_catalog_provisioning_state
|
|
512
|
+
return DatabaseSyncedDatabaseTable(resource_name, opts=opts, __props__=__props__)
|
|
513
|
+
|
|
514
|
+
@_builtins.property
|
|
515
|
+
@pulumi.getter(name="dataSynchronizationStatus")
|
|
516
|
+
def data_synchronization_status(self) -> pulumi.Output['outputs.DatabaseSyncedDatabaseTableDataSynchronizationStatus']:
|
|
517
|
+
"""
|
|
518
|
+
(SyncedTableStatus) - Synced Table data synchronization status
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "data_synchronization_status")
|
|
521
|
+
|
|
522
|
+
@_builtins.property
|
|
523
|
+
@pulumi.getter(name="databaseInstanceName")
|
|
524
|
+
def database_instance_name(self) -> pulumi.Output[_builtins.str]:
|
|
525
|
+
"""
|
|
526
|
+
Name of the target database instance. This is required when creating synced database tables in standard catalogs.
|
|
527
|
+
This is optional when creating synced database tables in registered catalogs. If this field is specified
|
|
528
|
+
when creating synced database tables in registered catalogs, the database instance name MUST
|
|
529
|
+
match that of the registered catalog (or the request will be rejected)
|
|
530
|
+
"""
|
|
531
|
+
return pulumi.get(self, "database_instance_name")
|
|
532
|
+
|
|
533
|
+
@_builtins.property
|
|
534
|
+
@pulumi.getter(name="effectiveDatabaseInstanceName")
|
|
535
|
+
def effective_database_instance_name(self) -> pulumi.Output[_builtins.str]:
|
|
536
|
+
"""
|
|
537
|
+
(string) - The name of the database instance that this table is registered to. This field is always returned, and for
|
|
538
|
+
tables inside database catalogs is inferred database instance associated with the catalog
|
|
539
|
+
"""
|
|
540
|
+
return pulumi.get(self, "effective_database_instance_name")
|
|
541
|
+
|
|
542
|
+
@_builtins.property
|
|
543
|
+
@pulumi.getter(name="effectiveLogicalDatabaseName")
|
|
544
|
+
def effective_logical_database_name(self) -> pulumi.Output[_builtins.str]:
|
|
545
|
+
"""
|
|
546
|
+
(string) - The name of the logical database that this table is registered to
|
|
547
|
+
"""
|
|
548
|
+
return pulumi.get(self, "effective_logical_database_name")
|
|
549
|
+
|
|
550
|
+
@_builtins.property
|
|
551
|
+
@pulumi.getter(name="logicalDatabaseName")
|
|
552
|
+
def logical_database_name(self) -> pulumi.Output[_builtins.str]:
|
|
553
|
+
"""
|
|
554
|
+
Target Postgres database object (logical database) name for this table.
|
|
555
|
+
|
|
556
|
+
When creating a synced table in a registered Postgres catalog, the
|
|
557
|
+
target Postgres database name is inferred to be that of the registered catalog.
|
|
558
|
+
If this field is specified in this scenario, the Postgres database name MUST
|
|
559
|
+
match that of the registered catalog (or the request will be rejected).
|
|
560
|
+
|
|
561
|
+
When creating a synced table in a standard catalog, this field is required.
|
|
562
|
+
In this scenario, specifying this field will allow targeting an arbitrary postgres database.
|
|
563
|
+
Note that this has implications for the `create_database_objects_is_missing` field in `spec`
|
|
564
|
+
"""
|
|
565
|
+
return pulumi.get(self, "logical_database_name")
|
|
566
|
+
|
|
567
|
+
@_builtins.property
|
|
568
|
+
@pulumi.getter
|
|
569
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
570
|
+
"""
|
|
571
|
+
Full three-part (catalog, schema, table) name of the table
|
|
572
|
+
"""
|
|
573
|
+
return pulumi.get(self, "name")
|
|
574
|
+
|
|
575
|
+
@_builtins.property
|
|
576
|
+
@pulumi.getter
|
|
577
|
+
def spec(self) -> pulumi.Output[Optional['outputs.DatabaseSyncedDatabaseTableSpec']]:
|
|
578
|
+
return pulumi.get(self, "spec")
|
|
579
|
+
|
|
580
|
+
@_builtins.property
|
|
581
|
+
@pulumi.getter(name="unityCatalogProvisioningState")
|
|
582
|
+
def unity_catalog_provisioning_state(self) -> pulumi.Output[_builtins.str]:
|
|
583
|
+
"""
|
|
584
|
+
(string) - The provisioning state of the synced table entity in Unity Catalog. This is distinct from the
|
|
585
|
+
state of the data synchronization pipeline (i.e. the table may be in "ACTIVE" but the pipeline
|
|
586
|
+
may be in "PROVISIONING" as it runs asynchronously). Possible values are: `ACTIVE`, `DEGRADED`, `DELETING`, `FAILED`, `PROVISIONING`, `UPDATING`
|
|
587
|
+
"""
|
|
588
|
+
return pulumi.get(self, "unity_catalog_provisioning_state")
|
|
589
|
+
|