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
pulumi_databricks/sql_table.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,40 +21,40 @@ __all__ = ['SqlTableArgs', 'SqlTable']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class SqlTableArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
catalog_name: pulumi.Input[
|
|
26
|
-
schema_name: pulumi.Input[
|
|
27
|
-
table_type: pulumi.Input[
|
|
28
|
-
cluster_id: Optional[pulumi.Input[
|
|
29
|
-
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
24
|
+
catalog_name: pulumi.Input[_builtins.str],
|
|
25
|
+
schema_name: pulumi.Input[_builtins.str],
|
|
26
|
+
table_type: pulumi.Input[_builtins.str],
|
|
27
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
30
29
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input['SqlTableColumnArgs']]]] = None,
|
|
31
|
-
comment: Optional[pulumi.Input[
|
|
32
|
-
data_source_format: Optional[pulumi.Input[
|
|
33
|
-
name: Optional[pulumi.Input[
|
|
34
|
-
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
35
|
-
owner: Optional[pulumi.Input[
|
|
36
|
-
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
37
|
-
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
38
|
-
storage_credential_name: Optional[pulumi.Input[
|
|
39
|
-
storage_location: Optional[pulumi.Input[
|
|
40
|
-
view_definition: Optional[pulumi.Input[
|
|
41
|
-
warehouse_id: Optional[pulumi.Input[
|
|
30
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
data_source_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
34
|
+
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
35
|
+
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
36
|
+
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
37
|
+
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
38
|
+
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
39
|
+
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
40
|
+
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
42
41
|
"""
|
|
43
42
|
The set of arguments for constructing a SqlTable resource.
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
48
|
-
:param pulumi.Input[
|
|
49
|
-
:param pulumi.Input[
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
54
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
55
|
-
:param pulumi.Input[
|
|
56
|
-
:param pulumi.Input[
|
|
57
|
-
:param pulumi.Input[
|
|
58
|
-
:param pulumi.Input[
|
|
43
|
+
:param pulumi.Input[_builtins.str] catalog_name: Name of parent catalog. Change forces the creation of a new resource.
|
|
44
|
+
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
45
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] cluster_keys: a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
47
|
+
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
48
|
+
:param pulumi.Input[_builtins.str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
49
|
+
:param pulumi.Input[_builtins.str] name: Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
50
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] options: Map of user defined table options. Change forces creation of a new resource.
|
|
51
|
+
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the table owner.
|
|
52
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] partitions: a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
53
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
54
|
+
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
55
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
56
|
+
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
57
|
+
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
59
58
|
"""
|
|
60
59
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
61
60
|
pulumi.set(__self__, "schema_name", schema_name)
|
|
@@ -89,64 +88,64 @@ class SqlTableArgs:
|
|
|
89
88
|
if warehouse_id is not None:
|
|
90
89
|
pulumi.set(__self__, "warehouse_id", warehouse_id)
|
|
91
90
|
|
|
92
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
93
92
|
@pulumi.getter(name="catalogName")
|
|
94
|
-
def catalog_name(self) -> pulumi.Input[
|
|
93
|
+
def catalog_name(self) -> pulumi.Input[_builtins.str]:
|
|
95
94
|
"""
|
|
96
95
|
Name of parent catalog. Change forces the creation of a new resource.
|
|
97
96
|
"""
|
|
98
97
|
return pulumi.get(self, "catalog_name")
|
|
99
98
|
|
|
100
99
|
@catalog_name.setter
|
|
101
|
-
def catalog_name(self, value: pulumi.Input[
|
|
100
|
+
def catalog_name(self, value: pulumi.Input[_builtins.str]):
|
|
102
101
|
pulumi.set(self, "catalog_name", value)
|
|
103
102
|
|
|
104
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
105
104
|
@pulumi.getter(name="schemaName")
|
|
106
|
-
def schema_name(self) -> pulumi.Input[
|
|
105
|
+
def schema_name(self) -> pulumi.Input[_builtins.str]:
|
|
107
106
|
"""
|
|
108
107
|
Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
109
108
|
"""
|
|
110
109
|
return pulumi.get(self, "schema_name")
|
|
111
110
|
|
|
112
111
|
@schema_name.setter
|
|
113
|
-
def schema_name(self, value: pulumi.Input[
|
|
112
|
+
def schema_name(self, value: pulumi.Input[_builtins.str]):
|
|
114
113
|
pulumi.set(self, "schema_name", value)
|
|
115
114
|
|
|
116
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
117
116
|
@pulumi.getter(name="tableType")
|
|
118
|
-
def table_type(self) -> pulumi.Input[
|
|
117
|
+
def table_type(self) -> pulumi.Input[_builtins.str]:
|
|
119
118
|
"""
|
|
120
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
119
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
121
120
|
"""
|
|
122
121
|
return pulumi.get(self, "table_type")
|
|
123
122
|
|
|
124
123
|
@table_type.setter
|
|
125
|
-
def table_type(self, value: pulumi.Input[
|
|
124
|
+
def table_type(self, value: pulumi.Input[_builtins.str]):
|
|
126
125
|
pulumi.set(self, "table_type", value)
|
|
127
126
|
|
|
128
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
129
128
|
@pulumi.getter(name="clusterId")
|
|
130
|
-
def cluster_id(self) -> Optional[pulumi.Input[
|
|
129
|
+
def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
131
130
|
return pulumi.get(self, "cluster_id")
|
|
132
131
|
|
|
133
132
|
@cluster_id.setter
|
|
134
|
-
def cluster_id(self, value: Optional[pulumi.Input[
|
|
133
|
+
def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
134
|
pulumi.set(self, "cluster_id", value)
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter(name="clusterKeys")
|
|
139
|
-
def cluster_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
138
|
+
def cluster_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
140
139
|
"""
|
|
141
140
|
a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
142
141
|
"""
|
|
143
142
|
return pulumi.get(self, "cluster_keys")
|
|
144
143
|
|
|
145
144
|
@cluster_keys.setter
|
|
146
|
-
def cluster_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
145
|
+
def cluster_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
147
146
|
pulumi.set(self, "cluster_keys", value)
|
|
148
147
|
|
|
149
|
-
@property
|
|
148
|
+
@_builtins.property
|
|
150
149
|
@pulumi.getter
|
|
151
150
|
def columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SqlTableColumnArgs']]]]:
|
|
152
151
|
return pulumi.get(self, "columns")
|
|
@@ -155,177 +154,179 @@ class SqlTableArgs:
|
|
|
155
154
|
def columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SqlTableColumnArgs']]]]):
|
|
156
155
|
pulumi.set(self, "columns", value)
|
|
157
156
|
|
|
158
|
-
@property
|
|
157
|
+
@_builtins.property
|
|
159
158
|
@pulumi.getter
|
|
160
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
159
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
161
160
|
"""
|
|
162
161
|
User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
163
162
|
"""
|
|
164
163
|
return pulumi.get(self, "comment")
|
|
165
164
|
|
|
166
165
|
@comment.setter
|
|
167
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
166
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
168
167
|
pulumi.set(self, "comment", value)
|
|
169
168
|
|
|
170
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
171
170
|
@pulumi.getter(name="dataSourceFormat")
|
|
172
|
-
def data_source_format(self) -> Optional[pulumi.Input[
|
|
171
|
+
def data_source_format(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
173
172
|
"""
|
|
174
173
|
External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
175
174
|
"""
|
|
176
175
|
return pulumi.get(self, "data_source_format")
|
|
177
176
|
|
|
178
177
|
@data_source_format.setter
|
|
179
|
-
def data_source_format(self, value: Optional[pulumi.Input[
|
|
178
|
+
def data_source_format(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
180
179
|
pulumi.set(self, "data_source_format", value)
|
|
181
180
|
|
|
182
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
183
182
|
@pulumi.getter
|
|
184
|
-
def name(self) -> Optional[pulumi.Input[
|
|
183
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
185
184
|
"""
|
|
186
185
|
Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
187
186
|
"""
|
|
188
187
|
return pulumi.get(self, "name")
|
|
189
188
|
|
|
190
189
|
@name.setter
|
|
191
|
-
def name(self, value: Optional[pulumi.Input[
|
|
190
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
192
191
|
pulumi.set(self, "name", value)
|
|
193
192
|
|
|
194
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
195
194
|
@pulumi.getter
|
|
196
|
-
def options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
195
|
+
def options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
197
196
|
"""
|
|
198
197
|
Map of user defined table options. Change forces creation of a new resource.
|
|
199
198
|
"""
|
|
200
199
|
return pulumi.get(self, "options")
|
|
201
200
|
|
|
202
201
|
@options.setter
|
|
203
|
-
def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
202
|
+
def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
204
203
|
pulumi.set(self, "options", value)
|
|
205
204
|
|
|
206
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
207
206
|
@pulumi.getter
|
|
208
|
-
def owner(self) -> Optional[pulumi.Input[
|
|
207
|
+
def owner(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
209
208
|
"""
|
|
210
209
|
User name/group name/sp application_id of the table owner.
|
|
211
210
|
"""
|
|
212
211
|
return pulumi.get(self, "owner")
|
|
213
212
|
|
|
214
213
|
@owner.setter
|
|
215
|
-
def owner(self, value: Optional[pulumi.Input[
|
|
214
|
+
def owner(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
216
215
|
pulumi.set(self, "owner", value)
|
|
217
216
|
|
|
218
|
-
@property
|
|
217
|
+
@_builtins.property
|
|
219
218
|
@pulumi.getter
|
|
220
|
-
def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
219
|
+
def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
221
220
|
"""
|
|
222
221
|
a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
223
222
|
"""
|
|
224
223
|
return pulumi.get(self, "partitions")
|
|
225
224
|
|
|
226
225
|
@partitions.setter
|
|
227
|
-
def partitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
226
|
+
def partitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
228
227
|
pulumi.set(self, "partitions", value)
|
|
229
228
|
|
|
230
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
231
230
|
@pulumi.getter
|
|
232
|
-
def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
231
|
+
def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
233
232
|
"""
|
|
234
233
|
A map of table properties.
|
|
235
234
|
"""
|
|
236
235
|
return pulumi.get(self, "properties")
|
|
237
236
|
|
|
238
237
|
@properties.setter
|
|
239
|
-
def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
238
|
+
def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
240
239
|
pulumi.set(self, "properties", value)
|
|
241
240
|
|
|
242
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
243
242
|
@pulumi.getter(name="storageCredentialName")
|
|
244
|
-
def storage_credential_name(self) -> Optional[pulumi.Input[
|
|
243
|
+
def storage_credential_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
245
244
|
"""
|
|
246
245
|
For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
247
246
|
"""
|
|
248
247
|
return pulumi.get(self, "storage_credential_name")
|
|
249
248
|
|
|
250
249
|
@storage_credential_name.setter
|
|
251
|
-
def storage_credential_name(self, value: Optional[pulumi.Input[
|
|
250
|
+
def storage_credential_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
252
251
|
pulumi.set(self, "storage_credential_name", value)
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter(name="storageLocation")
|
|
256
|
-
def storage_location(self) -> Optional[pulumi.Input[
|
|
255
|
+
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
257
256
|
"""
|
|
258
257
|
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
259
258
|
"""
|
|
260
259
|
return pulumi.get(self, "storage_location")
|
|
261
260
|
|
|
262
261
|
@storage_location.setter
|
|
263
|
-
def storage_location(self, value: Optional[pulumi.Input[
|
|
262
|
+
def storage_location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
264
263
|
pulumi.set(self, "storage_location", value)
|
|
265
264
|
|
|
266
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
267
266
|
@pulumi.getter(name="viewDefinition")
|
|
268
|
-
def view_definition(self) -> Optional[pulumi.Input[
|
|
267
|
+
def view_definition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
269
268
|
"""
|
|
270
269
|
SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
271
270
|
"""
|
|
272
271
|
return pulumi.get(self, "view_definition")
|
|
273
272
|
|
|
274
273
|
@view_definition.setter
|
|
275
|
-
def view_definition(self, value: Optional[pulumi.Input[
|
|
274
|
+
def view_definition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
276
275
|
pulumi.set(self, "view_definition", value)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter(name="warehouseId")
|
|
280
|
-
def warehouse_id(self) -> Optional[pulumi.Input[
|
|
279
|
+
def warehouse_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
281
280
|
"""
|
|
282
281
|
All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
283
282
|
"""
|
|
284
283
|
return pulumi.get(self, "warehouse_id")
|
|
285
284
|
|
|
286
285
|
@warehouse_id.setter
|
|
287
|
-
def warehouse_id(self, value: Optional[pulumi.Input[
|
|
286
|
+
def warehouse_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
288
287
|
pulumi.set(self, "warehouse_id", value)
|
|
289
288
|
|
|
290
289
|
|
|
291
290
|
@pulumi.input_type
|
|
292
291
|
class _SqlTableState:
|
|
293
292
|
def __init__(__self__, *,
|
|
294
|
-
catalog_name: Optional[pulumi.Input[
|
|
295
|
-
cluster_id: Optional[pulumi.Input[
|
|
296
|
-
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
293
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
|
+
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
297
296
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input['SqlTableColumnArgs']]]] = None,
|
|
298
|
-
comment: Optional[pulumi.Input[
|
|
299
|
-
data_source_format: Optional[pulumi.Input[
|
|
300
|
-
effective_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
301
|
-
name: Optional[pulumi.Input[
|
|
302
|
-
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
303
|
-
owner: Optional[pulumi.Input[
|
|
304
|
-
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
305
|
-
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
306
|
-
schema_name: Optional[pulumi.Input[
|
|
307
|
-
storage_credential_name: Optional[pulumi.Input[
|
|
308
|
-
storage_location: Optional[pulumi.Input[
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
297
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
data_source_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
effective_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
300
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
302
|
+
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
303
|
+
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
304
|
+
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
305
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
|
+
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
table_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
309
|
+
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering SqlTable resources.
|
|
314
|
-
:param pulumi.Input[
|
|
315
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
316
|
-
:param pulumi.Input[
|
|
317
|
-
:param pulumi.Input[
|
|
318
|
-
:param pulumi.Input[
|
|
319
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
322
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
323
|
-
:param pulumi.Input[
|
|
324
|
-
:param pulumi.Input[
|
|
325
|
-
:param pulumi.Input[
|
|
326
|
-
:param pulumi.Input[
|
|
327
|
-
:param pulumi.Input[
|
|
328
|
-
:param pulumi.Input[
|
|
314
|
+
:param pulumi.Input[_builtins.str] catalog_name: Name of parent catalog. Change forces the creation of a new resource.
|
|
315
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] cluster_keys: a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
316
|
+
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
317
|
+
:param pulumi.Input[_builtins.str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
318
|
+
:param pulumi.Input[_builtins.str] name: Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
319
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] options: Map of user defined table options. Change forces creation of a new resource.
|
|
320
|
+
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the table owner.
|
|
321
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] partitions: a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
322
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
323
|
+
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
324
|
+
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
325
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
326
|
+
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
327
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
328
|
+
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
329
|
+
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
329
330
|
"""
|
|
330
331
|
if catalog_name is not None:
|
|
331
332
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
@@ -357,6 +358,8 @@ class _SqlTableState:
|
|
|
357
358
|
pulumi.set(__self__, "storage_credential_name", storage_credential_name)
|
|
358
359
|
if storage_location is not None:
|
|
359
360
|
pulumi.set(__self__, "storage_location", storage_location)
|
|
361
|
+
if table_id is not None:
|
|
362
|
+
pulumi.set(__self__, "table_id", table_id)
|
|
360
363
|
if table_type is not None:
|
|
361
364
|
pulumi.set(__self__, "table_type", table_type)
|
|
362
365
|
if view_definition is not None:
|
|
@@ -364,40 +367,40 @@ class _SqlTableState:
|
|
|
364
367
|
if warehouse_id is not None:
|
|
365
368
|
pulumi.set(__self__, "warehouse_id", warehouse_id)
|
|
366
369
|
|
|
367
|
-
@property
|
|
370
|
+
@_builtins.property
|
|
368
371
|
@pulumi.getter(name="catalogName")
|
|
369
|
-
def catalog_name(self) -> Optional[pulumi.Input[
|
|
372
|
+
def catalog_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
370
373
|
"""
|
|
371
374
|
Name of parent catalog. Change forces the creation of a new resource.
|
|
372
375
|
"""
|
|
373
376
|
return pulumi.get(self, "catalog_name")
|
|
374
377
|
|
|
375
378
|
@catalog_name.setter
|
|
376
|
-
def catalog_name(self, value: Optional[pulumi.Input[
|
|
379
|
+
def catalog_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
377
380
|
pulumi.set(self, "catalog_name", value)
|
|
378
381
|
|
|
379
|
-
@property
|
|
382
|
+
@_builtins.property
|
|
380
383
|
@pulumi.getter(name="clusterId")
|
|
381
|
-
def cluster_id(self) -> Optional[pulumi.Input[
|
|
384
|
+
def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
382
385
|
return pulumi.get(self, "cluster_id")
|
|
383
386
|
|
|
384
387
|
@cluster_id.setter
|
|
385
|
-
def cluster_id(self, value: Optional[pulumi.Input[
|
|
388
|
+
def cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
386
389
|
pulumi.set(self, "cluster_id", value)
|
|
387
390
|
|
|
388
|
-
@property
|
|
391
|
+
@_builtins.property
|
|
389
392
|
@pulumi.getter(name="clusterKeys")
|
|
390
|
-
def cluster_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
393
|
+
def cluster_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
391
394
|
"""
|
|
392
395
|
a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
393
396
|
"""
|
|
394
397
|
return pulumi.get(self, "cluster_keys")
|
|
395
398
|
|
|
396
399
|
@cluster_keys.setter
|
|
397
|
-
def cluster_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
400
|
+
def cluster_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
398
401
|
pulumi.set(self, "cluster_keys", value)
|
|
399
402
|
|
|
400
|
-
@property
|
|
403
|
+
@_builtins.property
|
|
401
404
|
@pulumi.getter
|
|
402
405
|
def columns(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SqlTableColumnArgs']]]]:
|
|
403
406
|
return pulumi.get(self, "columns")
|
|
@@ -406,169 +409,181 @@ class _SqlTableState:
|
|
|
406
409
|
def columns(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SqlTableColumnArgs']]]]):
|
|
407
410
|
pulumi.set(self, "columns", value)
|
|
408
411
|
|
|
409
|
-
@property
|
|
412
|
+
@_builtins.property
|
|
410
413
|
@pulumi.getter
|
|
411
|
-
def comment(self) -> Optional[pulumi.Input[
|
|
414
|
+
def comment(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
412
415
|
"""
|
|
413
416
|
User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
414
417
|
"""
|
|
415
418
|
return pulumi.get(self, "comment")
|
|
416
419
|
|
|
417
420
|
@comment.setter
|
|
418
|
-
def comment(self, value: Optional[pulumi.Input[
|
|
421
|
+
def comment(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
419
422
|
pulumi.set(self, "comment", value)
|
|
420
423
|
|
|
421
|
-
@property
|
|
424
|
+
@_builtins.property
|
|
422
425
|
@pulumi.getter(name="dataSourceFormat")
|
|
423
|
-
def data_source_format(self) -> Optional[pulumi.Input[
|
|
426
|
+
def data_source_format(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
424
427
|
"""
|
|
425
428
|
External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
426
429
|
"""
|
|
427
430
|
return pulumi.get(self, "data_source_format")
|
|
428
431
|
|
|
429
432
|
@data_source_format.setter
|
|
430
|
-
def data_source_format(self, value: Optional[pulumi.Input[
|
|
433
|
+
def data_source_format(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
431
434
|
pulumi.set(self, "data_source_format", value)
|
|
432
435
|
|
|
433
|
-
@property
|
|
436
|
+
@_builtins.property
|
|
434
437
|
@pulumi.getter(name="effectiveProperties")
|
|
435
|
-
def effective_properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
438
|
+
def effective_properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
436
439
|
return pulumi.get(self, "effective_properties")
|
|
437
440
|
|
|
438
441
|
@effective_properties.setter
|
|
439
|
-
def effective_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
442
|
+
def effective_properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
440
443
|
pulumi.set(self, "effective_properties", value)
|
|
441
444
|
|
|
442
|
-
@property
|
|
445
|
+
@_builtins.property
|
|
443
446
|
@pulumi.getter
|
|
444
|
-
def name(self) -> Optional[pulumi.Input[
|
|
447
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
445
448
|
"""
|
|
446
449
|
Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
447
450
|
"""
|
|
448
451
|
return pulumi.get(self, "name")
|
|
449
452
|
|
|
450
453
|
@name.setter
|
|
451
|
-
def name(self, value: Optional[pulumi.Input[
|
|
454
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
452
455
|
pulumi.set(self, "name", value)
|
|
453
456
|
|
|
454
|
-
@property
|
|
457
|
+
@_builtins.property
|
|
455
458
|
@pulumi.getter
|
|
456
|
-
def options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
459
|
+
def options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
457
460
|
"""
|
|
458
461
|
Map of user defined table options. Change forces creation of a new resource.
|
|
459
462
|
"""
|
|
460
463
|
return pulumi.get(self, "options")
|
|
461
464
|
|
|
462
465
|
@options.setter
|
|
463
|
-
def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
466
|
+
def options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
464
467
|
pulumi.set(self, "options", value)
|
|
465
468
|
|
|
466
|
-
@property
|
|
469
|
+
@_builtins.property
|
|
467
470
|
@pulumi.getter
|
|
468
|
-
def owner(self) -> Optional[pulumi.Input[
|
|
471
|
+
def owner(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
469
472
|
"""
|
|
470
473
|
User name/group name/sp application_id of the table owner.
|
|
471
474
|
"""
|
|
472
475
|
return pulumi.get(self, "owner")
|
|
473
476
|
|
|
474
477
|
@owner.setter
|
|
475
|
-
def owner(self, value: Optional[pulumi.Input[
|
|
478
|
+
def owner(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
476
479
|
pulumi.set(self, "owner", value)
|
|
477
480
|
|
|
478
|
-
@property
|
|
481
|
+
@_builtins.property
|
|
479
482
|
@pulumi.getter
|
|
480
|
-
def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
483
|
+
def partitions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
481
484
|
"""
|
|
482
485
|
a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
483
486
|
"""
|
|
484
487
|
return pulumi.get(self, "partitions")
|
|
485
488
|
|
|
486
489
|
@partitions.setter
|
|
487
|
-
def partitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
490
|
+
def partitions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
488
491
|
pulumi.set(self, "partitions", value)
|
|
489
492
|
|
|
490
|
-
@property
|
|
493
|
+
@_builtins.property
|
|
491
494
|
@pulumi.getter
|
|
492
|
-
def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
495
|
+
def properties(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
493
496
|
"""
|
|
494
497
|
A map of table properties.
|
|
495
498
|
"""
|
|
496
499
|
return pulumi.get(self, "properties")
|
|
497
500
|
|
|
498
501
|
@properties.setter
|
|
499
|
-
def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
502
|
+
def properties(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
500
503
|
pulumi.set(self, "properties", value)
|
|
501
504
|
|
|
502
|
-
@property
|
|
505
|
+
@_builtins.property
|
|
503
506
|
@pulumi.getter(name="schemaName")
|
|
504
|
-
def schema_name(self) -> Optional[pulumi.Input[
|
|
507
|
+
def schema_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
505
508
|
"""
|
|
506
509
|
Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
507
510
|
"""
|
|
508
511
|
return pulumi.get(self, "schema_name")
|
|
509
512
|
|
|
510
513
|
@schema_name.setter
|
|
511
|
-
def schema_name(self, value: Optional[pulumi.Input[
|
|
514
|
+
def schema_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
512
515
|
pulumi.set(self, "schema_name", value)
|
|
513
516
|
|
|
514
|
-
@property
|
|
517
|
+
@_builtins.property
|
|
515
518
|
@pulumi.getter(name="storageCredentialName")
|
|
516
|
-
def storage_credential_name(self) -> Optional[pulumi.Input[
|
|
519
|
+
def storage_credential_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
517
520
|
"""
|
|
518
521
|
For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
519
522
|
"""
|
|
520
523
|
return pulumi.get(self, "storage_credential_name")
|
|
521
524
|
|
|
522
525
|
@storage_credential_name.setter
|
|
523
|
-
def storage_credential_name(self, value: Optional[pulumi.Input[
|
|
526
|
+
def storage_credential_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
524
527
|
pulumi.set(self, "storage_credential_name", value)
|
|
525
528
|
|
|
526
|
-
@property
|
|
529
|
+
@_builtins.property
|
|
527
530
|
@pulumi.getter(name="storageLocation")
|
|
528
|
-
def storage_location(self) -> Optional[pulumi.Input[
|
|
531
|
+
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
529
532
|
"""
|
|
530
533
|
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
531
534
|
"""
|
|
532
535
|
return pulumi.get(self, "storage_location")
|
|
533
536
|
|
|
534
537
|
@storage_location.setter
|
|
535
|
-
def storage_location(self, value: Optional[pulumi.Input[
|
|
538
|
+
def storage_location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
536
539
|
pulumi.set(self, "storage_location", value)
|
|
537
540
|
|
|
538
|
-
@property
|
|
541
|
+
@_builtins.property
|
|
542
|
+
@pulumi.getter(name="tableId")
|
|
543
|
+
def table_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
544
|
+
"""
|
|
545
|
+
The unique identifier of the table.
|
|
546
|
+
"""
|
|
547
|
+
return pulumi.get(self, "table_id")
|
|
548
|
+
|
|
549
|
+
@table_id.setter
|
|
550
|
+
def table_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
551
|
+
pulumi.set(self, "table_id", value)
|
|
552
|
+
|
|
553
|
+
@_builtins.property
|
|
539
554
|
@pulumi.getter(name="tableType")
|
|
540
|
-
def table_type(self) -> Optional[pulumi.Input[
|
|
555
|
+
def table_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
541
556
|
"""
|
|
542
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
557
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
543
558
|
"""
|
|
544
559
|
return pulumi.get(self, "table_type")
|
|
545
560
|
|
|
546
561
|
@table_type.setter
|
|
547
|
-
def table_type(self, value: Optional[pulumi.Input[
|
|
562
|
+
def table_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
548
563
|
pulumi.set(self, "table_type", value)
|
|
549
564
|
|
|
550
|
-
@property
|
|
565
|
+
@_builtins.property
|
|
551
566
|
@pulumi.getter(name="viewDefinition")
|
|
552
|
-
def view_definition(self) -> Optional[pulumi.Input[
|
|
567
|
+
def view_definition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
553
568
|
"""
|
|
554
569
|
SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
555
570
|
"""
|
|
556
571
|
return pulumi.get(self, "view_definition")
|
|
557
572
|
|
|
558
573
|
@view_definition.setter
|
|
559
|
-
def view_definition(self, value: Optional[pulumi.Input[
|
|
574
|
+
def view_definition(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
560
575
|
pulumi.set(self, "view_definition", value)
|
|
561
576
|
|
|
562
|
-
@property
|
|
577
|
+
@_builtins.property
|
|
563
578
|
@pulumi.getter(name="warehouseId")
|
|
564
|
-
def warehouse_id(self) -> Optional[pulumi.Input[
|
|
579
|
+
def warehouse_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
565
580
|
"""
|
|
566
581
|
All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
567
582
|
"""
|
|
568
583
|
return pulumi.get(self, "warehouse_id")
|
|
569
584
|
|
|
570
585
|
@warehouse_id.setter
|
|
571
|
-
def warehouse_id(self, value: Optional[pulumi.Input[
|
|
586
|
+
def warehouse_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
572
587
|
pulumi.set(self, "warehouse_id", value)
|
|
573
588
|
|
|
574
589
|
|
|
@@ -578,23 +593,23 @@ class SqlTable(pulumi.CustomResource):
|
|
|
578
593
|
def __init__(__self__,
|
|
579
594
|
resource_name: str,
|
|
580
595
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
581
|
-
catalog_name: Optional[pulumi.Input[
|
|
582
|
-
cluster_id: Optional[pulumi.Input[
|
|
583
|
-
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
596
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
597
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
598
|
+
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
584
599
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SqlTableColumnArgs', 'SqlTableColumnArgsDict']]]]] = None,
|
|
585
|
-
comment: Optional[pulumi.Input[
|
|
586
|
-
data_source_format: Optional[pulumi.Input[
|
|
587
|
-
name: Optional[pulumi.Input[
|
|
588
|
-
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
589
|
-
owner: Optional[pulumi.Input[
|
|
590
|
-
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
591
|
-
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
592
|
-
schema_name: Optional[pulumi.Input[
|
|
593
|
-
storage_credential_name: Optional[pulumi.Input[
|
|
594
|
-
storage_location: Optional[pulumi.Input[
|
|
595
|
-
table_type: Optional[pulumi.Input[
|
|
596
|
-
view_definition: Optional[pulumi.Input[
|
|
597
|
-
warehouse_id: Optional[pulumi.Input[
|
|
600
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
601
|
+
data_source_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
602
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
603
|
+
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
604
|
+
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
605
|
+
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
606
|
+
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
607
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
608
|
+
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
609
|
+
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
610
|
+
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
611
|
+
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
612
|
+
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
598
613
|
__props__=None):
|
|
599
614
|
"""
|
|
600
615
|
## Import
|
|
@@ -621,21 +636,21 @@ class SqlTable(pulumi.CustomResource):
|
|
|
621
636
|
|
|
622
637
|
:param str resource_name: The name of the resource.
|
|
623
638
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
624
|
-
:param pulumi.Input[
|
|
625
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
626
|
-
:param pulumi.Input[
|
|
627
|
-
:param pulumi.Input[
|
|
628
|
-
:param pulumi.Input[
|
|
629
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
630
|
-
:param pulumi.Input[
|
|
631
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
632
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
633
|
-
:param pulumi.Input[
|
|
634
|
-
:param pulumi.Input[
|
|
635
|
-
:param pulumi.Input[
|
|
636
|
-
:param pulumi.Input[
|
|
637
|
-
:param pulumi.Input[
|
|
638
|
-
:param pulumi.Input[
|
|
639
|
+
:param pulumi.Input[_builtins.str] catalog_name: Name of parent catalog. Change forces the creation of a new resource.
|
|
640
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] cluster_keys: a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
641
|
+
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
642
|
+
:param pulumi.Input[_builtins.str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
643
|
+
:param pulumi.Input[_builtins.str] name: Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
644
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] options: Map of user defined table options. Change forces creation of a new resource.
|
|
645
|
+
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the table owner.
|
|
646
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] partitions: a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
647
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
648
|
+
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
649
|
+
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
650
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
651
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
652
|
+
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
653
|
+
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
639
654
|
"""
|
|
640
655
|
...
|
|
641
656
|
@overload
|
|
@@ -681,23 +696,23 @@ class SqlTable(pulumi.CustomResource):
|
|
|
681
696
|
def _internal_init(__self__,
|
|
682
697
|
resource_name: str,
|
|
683
698
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
684
|
-
catalog_name: Optional[pulumi.Input[
|
|
685
|
-
cluster_id: Optional[pulumi.Input[
|
|
686
|
-
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
699
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
700
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
701
|
+
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
687
702
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SqlTableColumnArgs', 'SqlTableColumnArgsDict']]]]] = None,
|
|
688
|
-
comment: Optional[pulumi.Input[
|
|
689
|
-
data_source_format: Optional[pulumi.Input[
|
|
690
|
-
name: Optional[pulumi.Input[
|
|
691
|
-
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
692
|
-
owner: Optional[pulumi.Input[
|
|
693
|
-
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
694
|
-
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
695
|
-
schema_name: Optional[pulumi.Input[
|
|
696
|
-
storage_credential_name: Optional[pulumi.Input[
|
|
697
|
-
storage_location: Optional[pulumi.Input[
|
|
698
|
-
table_type: Optional[pulumi.Input[
|
|
699
|
-
view_definition: Optional[pulumi.Input[
|
|
700
|
-
warehouse_id: Optional[pulumi.Input[
|
|
703
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
704
|
+
data_source_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
705
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
706
|
+
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
707
|
+
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
708
|
+
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
709
|
+
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
710
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
711
|
+
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
712
|
+
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
713
|
+
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
714
|
+
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
715
|
+
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
701
716
|
__props__=None):
|
|
702
717
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
703
718
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -731,6 +746,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
731
746
|
__props__.__dict__["view_definition"] = view_definition
|
|
732
747
|
__props__.__dict__["warehouse_id"] = warehouse_id
|
|
733
748
|
__props__.__dict__["effective_properties"] = None
|
|
749
|
+
__props__.__dict__["table_id"] = None
|
|
734
750
|
super(SqlTable, __self__).__init__(
|
|
735
751
|
'databricks:index/sqlTable:SqlTable',
|
|
736
752
|
resource_name,
|
|
@@ -741,24 +757,25 @@ class SqlTable(pulumi.CustomResource):
|
|
|
741
757
|
def get(resource_name: str,
|
|
742
758
|
id: pulumi.Input[str],
|
|
743
759
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
744
|
-
catalog_name: Optional[pulumi.Input[
|
|
745
|
-
cluster_id: Optional[pulumi.Input[
|
|
746
|
-
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
+
catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
761
|
+
cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
762
|
+
cluster_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
747
763
|
columns: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SqlTableColumnArgs', 'SqlTableColumnArgsDict']]]]] = None,
|
|
748
|
-
comment: Optional[pulumi.Input[
|
|
749
|
-
data_source_format: Optional[pulumi.Input[
|
|
750
|
-
effective_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
751
|
-
name: Optional[pulumi.Input[
|
|
752
|
-
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
753
|
-
owner: Optional[pulumi.Input[
|
|
754
|
-
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
755
|
-
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
756
|
-
schema_name: Optional[pulumi.Input[
|
|
757
|
-
storage_credential_name: Optional[pulumi.Input[
|
|
758
|
-
storage_location: Optional[pulumi.Input[
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
764
|
+
comment: Optional[pulumi.Input[_builtins.str]] = None,
|
|
765
|
+
data_source_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
766
|
+
effective_properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
767
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
768
|
+
options: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
769
|
+
owner: Optional[pulumi.Input[_builtins.str]] = None,
|
|
770
|
+
partitions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
771
|
+
properties: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
772
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
773
|
+
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
774
|
+
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
775
|
+
table_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
776
|
+
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
777
|
+
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
778
|
+
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'SqlTable':
|
|
762
779
|
"""
|
|
763
780
|
Get an existing SqlTable resource's state with the given name, id, and optional extra
|
|
764
781
|
properties used to qualify the lookup.
|
|
@@ -766,21 +783,22 @@ class SqlTable(pulumi.CustomResource):
|
|
|
766
783
|
:param str resource_name: The unique name of the resulting resource.
|
|
767
784
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
768
785
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
769
|
-
:param pulumi.Input[
|
|
770
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
771
|
-
:param pulumi.Input[
|
|
772
|
-
:param pulumi.Input[
|
|
773
|
-
:param pulumi.Input[
|
|
774
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
775
|
-
:param pulumi.Input[
|
|
776
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
777
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
778
|
-
:param pulumi.Input[
|
|
779
|
-
:param pulumi.Input[
|
|
780
|
-
:param pulumi.Input[
|
|
781
|
-
:param pulumi.Input[
|
|
782
|
-
:param pulumi.Input[
|
|
783
|
-
:param pulumi.Input[
|
|
786
|
+
:param pulumi.Input[_builtins.str] catalog_name: Name of parent catalog. Change forces the creation of a new resource.
|
|
787
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] cluster_keys: a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
788
|
+
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
789
|
+
:param pulumi.Input[_builtins.str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
790
|
+
:param pulumi.Input[_builtins.str] name: Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
791
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] options: Map of user defined table options. Change forces creation of a new resource.
|
|
792
|
+
:param pulumi.Input[_builtins.str] owner: User name/group name/sp application_id of the table owner.
|
|
793
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] partitions: a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
794
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
795
|
+
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
796
|
+
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
797
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
798
|
+
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
799
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
800
|
+
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
801
|
+
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
784
802
|
"""
|
|
785
803
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
786
804
|
|
|
@@ -801,141 +819,150 @@ class SqlTable(pulumi.CustomResource):
|
|
|
801
819
|
__props__.__dict__["schema_name"] = schema_name
|
|
802
820
|
__props__.__dict__["storage_credential_name"] = storage_credential_name
|
|
803
821
|
__props__.__dict__["storage_location"] = storage_location
|
|
822
|
+
__props__.__dict__["table_id"] = table_id
|
|
804
823
|
__props__.__dict__["table_type"] = table_type
|
|
805
824
|
__props__.__dict__["view_definition"] = view_definition
|
|
806
825
|
__props__.__dict__["warehouse_id"] = warehouse_id
|
|
807
826
|
return SqlTable(resource_name, opts=opts, __props__=__props__)
|
|
808
827
|
|
|
809
|
-
@property
|
|
828
|
+
@_builtins.property
|
|
810
829
|
@pulumi.getter(name="catalogName")
|
|
811
|
-
def catalog_name(self) -> pulumi.Output[
|
|
830
|
+
def catalog_name(self) -> pulumi.Output[_builtins.str]:
|
|
812
831
|
"""
|
|
813
832
|
Name of parent catalog. Change forces the creation of a new resource.
|
|
814
833
|
"""
|
|
815
834
|
return pulumi.get(self, "catalog_name")
|
|
816
835
|
|
|
817
|
-
@property
|
|
836
|
+
@_builtins.property
|
|
818
837
|
@pulumi.getter(name="clusterId")
|
|
819
|
-
def cluster_id(self) -> pulumi.Output[
|
|
838
|
+
def cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
820
839
|
return pulumi.get(self, "cluster_id")
|
|
821
840
|
|
|
822
|
-
@property
|
|
841
|
+
@_builtins.property
|
|
823
842
|
@pulumi.getter(name="clusterKeys")
|
|
824
|
-
def cluster_keys(self) -> pulumi.Output[Optional[Sequence[
|
|
843
|
+
def cluster_keys(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
825
844
|
"""
|
|
826
845
|
a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
827
846
|
"""
|
|
828
847
|
return pulumi.get(self, "cluster_keys")
|
|
829
848
|
|
|
830
|
-
@property
|
|
849
|
+
@_builtins.property
|
|
831
850
|
@pulumi.getter
|
|
832
851
|
def columns(self) -> pulumi.Output[Sequence['outputs.SqlTableColumn']]:
|
|
833
852
|
return pulumi.get(self, "columns")
|
|
834
853
|
|
|
835
|
-
@property
|
|
854
|
+
@_builtins.property
|
|
836
855
|
@pulumi.getter
|
|
837
|
-
def comment(self) -> pulumi.Output[Optional[
|
|
856
|
+
def comment(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
838
857
|
"""
|
|
839
858
|
User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
840
859
|
"""
|
|
841
860
|
return pulumi.get(self, "comment")
|
|
842
861
|
|
|
843
|
-
@property
|
|
862
|
+
@_builtins.property
|
|
844
863
|
@pulumi.getter(name="dataSourceFormat")
|
|
845
|
-
def data_source_format(self) -> pulumi.Output[Optional[
|
|
864
|
+
def data_source_format(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
846
865
|
"""
|
|
847
866
|
External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
848
867
|
"""
|
|
849
868
|
return pulumi.get(self, "data_source_format")
|
|
850
869
|
|
|
851
|
-
@property
|
|
870
|
+
@_builtins.property
|
|
852
871
|
@pulumi.getter(name="effectiveProperties")
|
|
853
|
-
def effective_properties(self) -> pulumi.Output[Mapping[str,
|
|
872
|
+
def effective_properties(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
|
854
873
|
return pulumi.get(self, "effective_properties")
|
|
855
874
|
|
|
856
|
-
@property
|
|
875
|
+
@_builtins.property
|
|
857
876
|
@pulumi.getter
|
|
858
|
-
def name(self) -> pulumi.Output[
|
|
877
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
859
878
|
"""
|
|
860
879
|
Name of table relative to parent catalog and schema. Change forces the creation of a new resource.
|
|
861
880
|
"""
|
|
862
881
|
return pulumi.get(self, "name")
|
|
863
882
|
|
|
864
|
-
@property
|
|
883
|
+
@_builtins.property
|
|
865
884
|
@pulumi.getter
|
|
866
|
-
def options(self) -> pulumi.Output[Optional[Mapping[str,
|
|
885
|
+
def options(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
867
886
|
"""
|
|
868
887
|
Map of user defined table options. Change forces creation of a new resource.
|
|
869
888
|
"""
|
|
870
889
|
return pulumi.get(self, "options")
|
|
871
890
|
|
|
872
|
-
@property
|
|
891
|
+
@_builtins.property
|
|
873
892
|
@pulumi.getter
|
|
874
|
-
def owner(self) -> pulumi.Output[
|
|
893
|
+
def owner(self) -> pulumi.Output[_builtins.str]:
|
|
875
894
|
"""
|
|
876
895
|
User name/group name/sp application_id of the table owner.
|
|
877
896
|
"""
|
|
878
897
|
return pulumi.get(self, "owner")
|
|
879
898
|
|
|
880
|
-
@property
|
|
899
|
+
@_builtins.property
|
|
881
900
|
@pulumi.getter
|
|
882
|
-
def partitions(self) -> pulumi.Output[Sequence[
|
|
901
|
+
def partitions(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
|
883
902
|
"""
|
|
884
903
|
a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
885
904
|
"""
|
|
886
905
|
return pulumi.get(self, "partitions")
|
|
887
906
|
|
|
888
|
-
@property
|
|
907
|
+
@_builtins.property
|
|
889
908
|
@pulumi.getter
|
|
890
|
-
def properties(self) -> pulumi.Output[Optional[Mapping[str,
|
|
909
|
+
def properties(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
891
910
|
"""
|
|
892
911
|
A map of table properties.
|
|
893
912
|
"""
|
|
894
913
|
return pulumi.get(self, "properties")
|
|
895
914
|
|
|
896
|
-
@property
|
|
915
|
+
@_builtins.property
|
|
897
916
|
@pulumi.getter(name="schemaName")
|
|
898
|
-
def schema_name(self) -> pulumi.Output[
|
|
917
|
+
def schema_name(self) -> pulumi.Output[_builtins.str]:
|
|
899
918
|
"""
|
|
900
919
|
Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
901
920
|
"""
|
|
902
921
|
return pulumi.get(self, "schema_name")
|
|
903
922
|
|
|
904
|
-
@property
|
|
923
|
+
@_builtins.property
|
|
905
924
|
@pulumi.getter(name="storageCredentialName")
|
|
906
|
-
def storage_credential_name(self) -> pulumi.Output[Optional[
|
|
925
|
+
def storage_credential_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
907
926
|
"""
|
|
908
927
|
For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
909
928
|
"""
|
|
910
929
|
return pulumi.get(self, "storage_credential_name")
|
|
911
930
|
|
|
912
|
-
@property
|
|
931
|
+
@_builtins.property
|
|
913
932
|
@pulumi.getter(name="storageLocation")
|
|
914
|
-
def storage_location(self) -> pulumi.Output[Optional[
|
|
933
|
+
def storage_location(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
915
934
|
"""
|
|
916
935
|
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
917
936
|
"""
|
|
918
937
|
return pulumi.get(self, "storage_location")
|
|
919
938
|
|
|
920
|
-
@property
|
|
939
|
+
@_builtins.property
|
|
940
|
+
@pulumi.getter(name="tableId")
|
|
941
|
+
def table_id(self) -> pulumi.Output[_builtins.str]:
|
|
942
|
+
"""
|
|
943
|
+
The unique identifier of the table.
|
|
944
|
+
"""
|
|
945
|
+
return pulumi.get(self, "table_id")
|
|
946
|
+
|
|
947
|
+
@_builtins.property
|
|
921
948
|
@pulumi.getter(name="tableType")
|
|
922
|
-
def table_type(self) -> pulumi.Output[
|
|
949
|
+
def table_type(self) -> pulumi.Output[_builtins.str]:
|
|
923
950
|
"""
|
|
924
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
951
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
925
952
|
"""
|
|
926
953
|
return pulumi.get(self, "table_type")
|
|
927
954
|
|
|
928
|
-
@property
|
|
955
|
+
@_builtins.property
|
|
929
956
|
@pulumi.getter(name="viewDefinition")
|
|
930
|
-
def view_definition(self) -> pulumi.Output[Optional[
|
|
957
|
+
def view_definition(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
931
958
|
"""
|
|
932
959
|
SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
933
960
|
"""
|
|
934
961
|
return pulumi.get(self, "view_definition")
|
|
935
962
|
|
|
936
|
-
@property
|
|
963
|
+
@_builtins.property
|
|
937
964
|
@pulumi.getter(name="warehouseId")
|
|
938
|
-
def warehouse_id(self) -> pulumi.Output[Optional[
|
|
965
|
+
def warehouse_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
939
966
|
"""
|
|
940
967
|
All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
941
968
|
"""
|