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
|
@@ -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
|
|
@@ -14,6 +13,7 @@ if sys.version_info >= (3, 11):
|
|
|
14
13
|
else:
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
17
|
|
|
18
18
|
__all__ = [
|
|
19
19
|
'GetDatabaseInstanceResult',
|
|
@@ -27,31 +27,76 @@ class GetDatabaseInstanceResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getDatabaseInstance.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, capacity=None, creation_time=None, creator=None, effective_stopped=None, id=None, name=None, pg_version=None, read_write_dns=None, state=None, stopped=None, uid=None):
|
|
30
|
+
def __init__(__self__, capacity=None, child_instance_refs=None, creation_time=None, creator=None, custom_tags=None, effective_capacity=None, effective_custom_tags=None, effective_enable_pg_native_login=None, effective_enable_readable_secondaries=None, effective_node_count=None, effective_retention_window_in_days=None, effective_stopped=None, effective_usage_policy_id=None, enable_pg_native_login=None, enable_readable_secondaries=None, id=None, name=None, node_count=None, parent_instance_ref=None, pg_version=None, read_only_dns=None, read_write_dns=None, retention_window_in_days=None, state=None, stopped=None, uid=None, usage_policy_id=None):
|
|
31
31
|
if capacity and not isinstance(capacity, str):
|
|
32
32
|
raise TypeError("Expected argument 'capacity' to be a str")
|
|
33
33
|
pulumi.set(__self__, "capacity", capacity)
|
|
34
|
+
if child_instance_refs and not isinstance(child_instance_refs, list):
|
|
35
|
+
raise TypeError("Expected argument 'child_instance_refs' to be a list")
|
|
36
|
+
pulumi.set(__self__, "child_instance_refs", child_instance_refs)
|
|
34
37
|
if creation_time and not isinstance(creation_time, str):
|
|
35
38
|
raise TypeError("Expected argument 'creation_time' to be a str")
|
|
36
39
|
pulumi.set(__self__, "creation_time", creation_time)
|
|
37
40
|
if creator and not isinstance(creator, str):
|
|
38
41
|
raise TypeError("Expected argument 'creator' to be a str")
|
|
39
42
|
pulumi.set(__self__, "creator", creator)
|
|
43
|
+
if custom_tags and not isinstance(custom_tags, list):
|
|
44
|
+
raise TypeError("Expected argument 'custom_tags' to be a list")
|
|
45
|
+
pulumi.set(__self__, "custom_tags", custom_tags)
|
|
46
|
+
if effective_capacity and not isinstance(effective_capacity, str):
|
|
47
|
+
raise TypeError("Expected argument 'effective_capacity' to be a str")
|
|
48
|
+
pulumi.set(__self__, "effective_capacity", effective_capacity)
|
|
49
|
+
if effective_custom_tags and not isinstance(effective_custom_tags, list):
|
|
50
|
+
raise TypeError("Expected argument 'effective_custom_tags' to be a list")
|
|
51
|
+
pulumi.set(__self__, "effective_custom_tags", effective_custom_tags)
|
|
52
|
+
if effective_enable_pg_native_login and not isinstance(effective_enable_pg_native_login, bool):
|
|
53
|
+
raise TypeError("Expected argument 'effective_enable_pg_native_login' to be a bool")
|
|
54
|
+
pulumi.set(__self__, "effective_enable_pg_native_login", effective_enable_pg_native_login)
|
|
55
|
+
if effective_enable_readable_secondaries and not isinstance(effective_enable_readable_secondaries, bool):
|
|
56
|
+
raise TypeError("Expected argument 'effective_enable_readable_secondaries' to be a bool")
|
|
57
|
+
pulumi.set(__self__, "effective_enable_readable_secondaries", effective_enable_readable_secondaries)
|
|
58
|
+
if effective_node_count and not isinstance(effective_node_count, int):
|
|
59
|
+
raise TypeError("Expected argument 'effective_node_count' to be a int")
|
|
60
|
+
pulumi.set(__self__, "effective_node_count", effective_node_count)
|
|
61
|
+
if effective_retention_window_in_days and not isinstance(effective_retention_window_in_days, int):
|
|
62
|
+
raise TypeError("Expected argument 'effective_retention_window_in_days' to be a int")
|
|
63
|
+
pulumi.set(__self__, "effective_retention_window_in_days", effective_retention_window_in_days)
|
|
40
64
|
if effective_stopped and not isinstance(effective_stopped, bool):
|
|
41
65
|
raise TypeError("Expected argument 'effective_stopped' to be a bool")
|
|
42
66
|
pulumi.set(__self__, "effective_stopped", effective_stopped)
|
|
67
|
+
if effective_usage_policy_id and not isinstance(effective_usage_policy_id, str):
|
|
68
|
+
raise TypeError("Expected argument 'effective_usage_policy_id' to be a str")
|
|
69
|
+
pulumi.set(__self__, "effective_usage_policy_id", effective_usage_policy_id)
|
|
70
|
+
if enable_pg_native_login and not isinstance(enable_pg_native_login, bool):
|
|
71
|
+
raise TypeError("Expected argument 'enable_pg_native_login' to be a bool")
|
|
72
|
+
pulumi.set(__self__, "enable_pg_native_login", enable_pg_native_login)
|
|
73
|
+
if enable_readable_secondaries and not isinstance(enable_readable_secondaries, bool):
|
|
74
|
+
raise TypeError("Expected argument 'enable_readable_secondaries' to be a bool")
|
|
75
|
+
pulumi.set(__self__, "enable_readable_secondaries", enable_readable_secondaries)
|
|
43
76
|
if id and not isinstance(id, str):
|
|
44
77
|
raise TypeError("Expected argument 'id' to be a str")
|
|
45
78
|
pulumi.set(__self__, "id", id)
|
|
46
79
|
if name and not isinstance(name, str):
|
|
47
80
|
raise TypeError("Expected argument 'name' to be a str")
|
|
48
81
|
pulumi.set(__self__, "name", name)
|
|
82
|
+
if node_count and not isinstance(node_count, int):
|
|
83
|
+
raise TypeError("Expected argument 'node_count' to be a int")
|
|
84
|
+
pulumi.set(__self__, "node_count", node_count)
|
|
85
|
+
if parent_instance_ref and not isinstance(parent_instance_ref, dict):
|
|
86
|
+
raise TypeError("Expected argument 'parent_instance_ref' to be a dict")
|
|
87
|
+
pulumi.set(__self__, "parent_instance_ref", parent_instance_ref)
|
|
49
88
|
if pg_version and not isinstance(pg_version, str):
|
|
50
89
|
raise TypeError("Expected argument 'pg_version' to be a str")
|
|
51
90
|
pulumi.set(__self__, "pg_version", pg_version)
|
|
91
|
+
if read_only_dns and not isinstance(read_only_dns, str):
|
|
92
|
+
raise TypeError("Expected argument 'read_only_dns' to be a str")
|
|
93
|
+
pulumi.set(__self__, "read_only_dns", read_only_dns)
|
|
52
94
|
if read_write_dns and not isinstance(read_write_dns, str):
|
|
53
95
|
raise TypeError("Expected argument 'read_write_dns' to be a str")
|
|
54
96
|
pulumi.set(__self__, "read_write_dns", read_write_dns)
|
|
97
|
+
if retention_window_in_days and not isinstance(retention_window_in_days, int):
|
|
98
|
+
raise TypeError("Expected argument 'retention_window_in_days' to be a int")
|
|
99
|
+
pulumi.set(__self__, "retention_window_in_days", retention_window_in_days)
|
|
55
100
|
if state and not isinstance(state, str):
|
|
56
101
|
raise TypeError("Expected argument 'state' to be a str")
|
|
57
102
|
pulumi.set(__self__, "state", state)
|
|
@@ -61,97 +106,236 @@ class GetDatabaseInstanceResult:
|
|
|
61
106
|
if uid and not isinstance(uid, str):
|
|
62
107
|
raise TypeError("Expected argument 'uid' to be a str")
|
|
63
108
|
pulumi.set(__self__, "uid", uid)
|
|
109
|
+
if usage_policy_id and not isinstance(usage_policy_id, str):
|
|
110
|
+
raise TypeError("Expected argument 'usage_policy_id' to be a str")
|
|
111
|
+
pulumi.set(__self__, "usage_policy_id", usage_policy_id)
|
|
64
112
|
|
|
65
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
66
114
|
@pulumi.getter
|
|
67
|
-
def capacity(self) ->
|
|
115
|
+
def capacity(self) -> _builtins.str:
|
|
68
116
|
"""
|
|
69
117
|
(string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
70
118
|
"""
|
|
71
119
|
return pulumi.get(self, "capacity")
|
|
72
120
|
|
|
73
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
122
|
+
@pulumi.getter(name="childInstanceRefs")
|
|
123
|
+
def child_instance_refs(self) -> Sequence['outputs.GetDatabaseInstanceChildInstanceRefResult']:
|
|
124
|
+
"""
|
|
125
|
+
(list of DatabaseInstanceRef) - The refs of the child instances. This is only available if the instance is
|
|
126
|
+
parent instance
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "child_instance_refs")
|
|
129
|
+
|
|
130
|
+
@_builtins.property
|
|
74
131
|
@pulumi.getter(name="creationTime")
|
|
75
|
-
def creation_time(self) ->
|
|
132
|
+
def creation_time(self) -> _builtins.str:
|
|
76
133
|
"""
|
|
77
134
|
(string) - The timestamp when the instance was created
|
|
78
135
|
"""
|
|
79
136
|
return pulumi.get(self, "creation_time")
|
|
80
137
|
|
|
81
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
82
139
|
@pulumi.getter
|
|
83
|
-
def creator(self) ->
|
|
140
|
+
def creator(self) -> _builtins.str:
|
|
84
141
|
"""
|
|
85
142
|
(string) - The email of the creator of the instance
|
|
86
143
|
"""
|
|
87
144
|
return pulumi.get(self, "creator")
|
|
88
145
|
|
|
89
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
147
|
+
@pulumi.getter(name="customTags")
|
|
148
|
+
def custom_tags(self) -> Sequence['outputs.GetDatabaseInstanceCustomTagResult']:
|
|
149
|
+
"""
|
|
150
|
+
(list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "custom_tags")
|
|
153
|
+
|
|
154
|
+
@_builtins.property
|
|
155
|
+
@pulumi.getter(name="effectiveCapacity")
|
|
156
|
+
def effective_capacity(self) -> _builtins.str:
|
|
157
|
+
"""
|
|
158
|
+
(string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "effective_capacity")
|
|
161
|
+
|
|
162
|
+
@_builtins.property
|
|
163
|
+
@pulumi.getter(name="effectiveCustomTags")
|
|
164
|
+
def effective_custom_tags(self) -> Sequence['outputs.GetDatabaseInstanceEffectiveCustomTagResult']:
|
|
165
|
+
"""
|
|
166
|
+
(list of CustomTag) - The recorded custom tags associated with the instance
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "effective_custom_tags")
|
|
169
|
+
|
|
170
|
+
@_builtins.property
|
|
171
|
+
@pulumi.getter(name="effectiveEnablePgNativeLogin")
|
|
172
|
+
def effective_enable_pg_native_login(self) -> _builtins.bool:
|
|
173
|
+
"""
|
|
174
|
+
(boolean) - Whether the instance has PG native password login enabled
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "effective_enable_pg_native_login")
|
|
177
|
+
|
|
178
|
+
@_builtins.property
|
|
179
|
+
@pulumi.getter(name="effectiveEnableReadableSecondaries")
|
|
180
|
+
def effective_enable_readable_secondaries(self) -> _builtins.bool:
|
|
181
|
+
"""
|
|
182
|
+
(boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "effective_enable_readable_secondaries")
|
|
185
|
+
|
|
186
|
+
@_builtins.property
|
|
187
|
+
@pulumi.getter(name="effectiveNodeCount")
|
|
188
|
+
def effective_node_count(self) -> _builtins.int:
|
|
189
|
+
"""
|
|
190
|
+
(integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
191
|
+
1 primary and 0 secondaries
|
|
192
|
+
"""
|
|
193
|
+
return pulumi.get(self, "effective_node_count")
|
|
194
|
+
|
|
195
|
+
@_builtins.property
|
|
196
|
+
@pulumi.getter(name="effectiveRetentionWindowInDays")
|
|
197
|
+
def effective_retention_window_in_days(self) -> _builtins.int:
|
|
198
|
+
"""
|
|
199
|
+
(integer) - The retention window for the instance. This is the time window in days
|
|
200
|
+
for which the historical data is retained
|
|
201
|
+
"""
|
|
202
|
+
return pulumi.get(self, "effective_retention_window_in_days")
|
|
203
|
+
|
|
204
|
+
@_builtins.property
|
|
90
205
|
@pulumi.getter(name="effectiveStopped")
|
|
91
|
-
def effective_stopped(self) ->
|
|
206
|
+
def effective_stopped(self) -> _builtins.bool:
|
|
92
207
|
"""
|
|
93
|
-
(boolean) -
|
|
94
|
-
`stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
95
|
-
`effective_stopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
208
|
+
(boolean) - Whether the instance is stopped
|
|
96
209
|
"""
|
|
97
210
|
return pulumi.get(self, "effective_stopped")
|
|
98
211
|
|
|
99
|
-
@property
|
|
212
|
+
@_builtins.property
|
|
213
|
+
@pulumi.getter(name="effectiveUsagePolicyId")
|
|
214
|
+
def effective_usage_policy_id(self) -> _builtins.str:
|
|
215
|
+
"""
|
|
216
|
+
(string) - The policy that is applied to the instance
|
|
217
|
+
"""
|
|
218
|
+
return pulumi.get(self, "effective_usage_policy_id")
|
|
219
|
+
|
|
220
|
+
@_builtins.property
|
|
221
|
+
@pulumi.getter(name="enablePgNativeLogin")
|
|
222
|
+
def enable_pg_native_login(self) -> _builtins.bool:
|
|
223
|
+
"""
|
|
224
|
+
(boolean) - Whether to enable PG native password login on the instance. Defaults to false
|
|
225
|
+
"""
|
|
226
|
+
return pulumi.get(self, "enable_pg_native_login")
|
|
227
|
+
|
|
228
|
+
@_builtins.property
|
|
229
|
+
@pulumi.getter(name="enableReadableSecondaries")
|
|
230
|
+
def enable_readable_secondaries(self) -> _builtins.bool:
|
|
231
|
+
"""
|
|
232
|
+
(boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
|
|
233
|
+
"""
|
|
234
|
+
return pulumi.get(self, "enable_readable_secondaries")
|
|
235
|
+
|
|
236
|
+
@_builtins.property
|
|
100
237
|
@pulumi.getter
|
|
101
|
-
def id(self) ->
|
|
238
|
+
def id(self) -> _builtins.str:
|
|
102
239
|
"""
|
|
103
240
|
The provider-assigned unique ID for this managed resource.
|
|
104
241
|
"""
|
|
105
242
|
return pulumi.get(self, "id")
|
|
106
243
|
|
|
107
|
-
@property
|
|
244
|
+
@_builtins.property
|
|
108
245
|
@pulumi.getter
|
|
109
|
-
def name(self) ->
|
|
246
|
+
def name(self) -> _builtins.str:
|
|
110
247
|
"""
|
|
111
|
-
(string) -
|
|
248
|
+
(string) - Name of the ref database instance
|
|
112
249
|
"""
|
|
113
250
|
return pulumi.get(self, "name")
|
|
114
251
|
|
|
115
|
-
@property
|
|
252
|
+
@_builtins.property
|
|
253
|
+
@pulumi.getter(name="nodeCount")
|
|
254
|
+
def node_count(self) -> _builtins.int:
|
|
255
|
+
"""
|
|
256
|
+
(integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
257
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
258
|
+
"""
|
|
259
|
+
return pulumi.get(self, "node_count")
|
|
260
|
+
|
|
261
|
+
@_builtins.property
|
|
262
|
+
@pulumi.getter(name="parentInstanceRef")
|
|
263
|
+
def parent_instance_ref(self) -> 'outputs.GetDatabaseInstanceParentInstanceRefResult':
|
|
264
|
+
"""
|
|
265
|
+
(DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is
|
|
266
|
+
child instance.
|
|
267
|
+
Input: For specifying the parent instance to create a child instance. Optional.
|
|
268
|
+
Output: Only populated if provided as input to create a child instance
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "parent_instance_ref")
|
|
271
|
+
|
|
272
|
+
@_builtins.property
|
|
116
273
|
@pulumi.getter(name="pgVersion")
|
|
117
|
-
def pg_version(self) ->
|
|
274
|
+
def pg_version(self) -> _builtins.str:
|
|
118
275
|
"""
|
|
119
276
|
(string) - The version of Postgres running on the instance
|
|
120
277
|
"""
|
|
121
278
|
return pulumi.get(self, "pg_version")
|
|
122
279
|
|
|
123
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
281
|
+
@pulumi.getter(name="readOnlyDns")
|
|
282
|
+
def read_only_dns(self) -> _builtins.str:
|
|
283
|
+
"""
|
|
284
|
+
(string) - The DNS endpoint to connect to the instance for read only access. This is only available if
|
|
285
|
+
enable_readable_secondaries is true
|
|
286
|
+
"""
|
|
287
|
+
return pulumi.get(self, "read_only_dns")
|
|
288
|
+
|
|
289
|
+
@_builtins.property
|
|
124
290
|
@pulumi.getter(name="readWriteDns")
|
|
125
|
-
def read_write_dns(self) ->
|
|
291
|
+
def read_write_dns(self) -> _builtins.str:
|
|
126
292
|
"""
|
|
127
293
|
(string) - The DNS endpoint to connect to the instance for read+write access
|
|
128
294
|
"""
|
|
129
295
|
return pulumi.get(self, "read_write_dns")
|
|
130
296
|
|
|
131
|
-
@property
|
|
297
|
+
@_builtins.property
|
|
298
|
+
@pulumi.getter(name="retentionWindowInDays")
|
|
299
|
+
def retention_window_in_days(self) -> _builtins.int:
|
|
300
|
+
"""
|
|
301
|
+
(integer) - The retention window for the instance. This is the time window in days
|
|
302
|
+
for which the historical data is retained. The default value is 7 days.
|
|
303
|
+
Valid values are 2 to 35 days
|
|
304
|
+
"""
|
|
305
|
+
return pulumi.get(self, "retention_window_in_days")
|
|
306
|
+
|
|
307
|
+
@_builtins.property
|
|
132
308
|
@pulumi.getter
|
|
133
|
-
def state(self) ->
|
|
309
|
+
def state(self) -> _builtins.str:
|
|
134
310
|
"""
|
|
135
311
|
(string) - The current state of the instance. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
136
312
|
"""
|
|
137
313
|
return pulumi.get(self, "state")
|
|
138
314
|
|
|
139
|
-
@property
|
|
315
|
+
@_builtins.property
|
|
140
316
|
@pulumi.getter
|
|
141
|
-
def stopped(self) ->
|
|
317
|
+
def stopped(self) -> _builtins.bool:
|
|
142
318
|
"""
|
|
143
|
-
(boolean) - Whether the instance
|
|
319
|
+
(boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
144
320
|
"""
|
|
145
321
|
return pulumi.get(self, "stopped")
|
|
146
322
|
|
|
147
|
-
@property
|
|
323
|
+
@_builtins.property
|
|
148
324
|
@pulumi.getter
|
|
149
|
-
def uid(self) ->
|
|
325
|
+
def uid(self) -> _builtins.str:
|
|
150
326
|
"""
|
|
151
|
-
(string) -
|
|
327
|
+
(string) - Id of the ref database instance
|
|
152
328
|
"""
|
|
153
329
|
return pulumi.get(self, "uid")
|
|
154
330
|
|
|
331
|
+
@_builtins.property
|
|
332
|
+
@pulumi.getter(name="usagePolicyId")
|
|
333
|
+
def usage_policy_id(self) -> _builtins.str:
|
|
334
|
+
"""
|
|
335
|
+
(string) - The desired usage policy to associate with the instance
|
|
336
|
+
"""
|
|
337
|
+
return pulumi.get(self, "usage_policy_id")
|
|
338
|
+
|
|
155
339
|
|
|
156
340
|
class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
|
|
157
341
|
# pylint: disable=using-constant-test
|
|
@@ -160,23 +344,39 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
|
|
|
160
344
|
yield self
|
|
161
345
|
return GetDatabaseInstanceResult(
|
|
162
346
|
capacity=self.capacity,
|
|
347
|
+
child_instance_refs=self.child_instance_refs,
|
|
163
348
|
creation_time=self.creation_time,
|
|
164
349
|
creator=self.creator,
|
|
350
|
+
custom_tags=self.custom_tags,
|
|
351
|
+
effective_capacity=self.effective_capacity,
|
|
352
|
+
effective_custom_tags=self.effective_custom_tags,
|
|
353
|
+
effective_enable_pg_native_login=self.effective_enable_pg_native_login,
|
|
354
|
+
effective_enable_readable_secondaries=self.effective_enable_readable_secondaries,
|
|
355
|
+
effective_node_count=self.effective_node_count,
|
|
356
|
+
effective_retention_window_in_days=self.effective_retention_window_in_days,
|
|
165
357
|
effective_stopped=self.effective_stopped,
|
|
358
|
+
effective_usage_policy_id=self.effective_usage_policy_id,
|
|
359
|
+
enable_pg_native_login=self.enable_pg_native_login,
|
|
360
|
+
enable_readable_secondaries=self.enable_readable_secondaries,
|
|
166
361
|
id=self.id,
|
|
167
362
|
name=self.name,
|
|
363
|
+
node_count=self.node_count,
|
|
364
|
+
parent_instance_ref=self.parent_instance_ref,
|
|
168
365
|
pg_version=self.pg_version,
|
|
366
|
+
read_only_dns=self.read_only_dns,
|
|
169
367
|
read_write_dns=self.read_write_dns,
|
|
368
|
+
retention_window_in_days=self.retention_window_in_days,
|
|
170
369
|
state=self.state,
|
|
171
370
|
stopped=self.stopped,
|
|
172
|
-
uid=self.uid
|
|
371
|
+
uid=self.uid,
|
|
372
|
+
usage_policy_id=self.usage_policy_id)
|
|
173
373
|
|
|
174
374
|
|
|
175
|
-
def get_database_instance(
|
|
176
|
-
name: Optional[builtins.str] = None,
|
|
177
|
-
stopped: Optional[builtins.bool] = None,
|
|
375
|
+
def get_database_instance(name: Optional[_builtins.str] = None,
|
|
178
376
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstanceResult:
|
|
179
377
|
"""
|
|
378
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
379
|
+
|
|
180
380
|
This data source can be used to get a single Database Instance.
|
|
181
381
|
|
|
182
382
|
## Example Usage
|
|
@@ -191,34 +391,46 @@ def get_database_instance(capacity: Optional[builtins.str] = None,
|
|
|
191
391
|
```
|
|
192
392
|
|
|
193
393
|
|
|
194
|
-
:param
|
|
195
|
-
:param builtins.str name: The name of the instance. This is the unique identifier for the instance
|
|
196
|
-
:param builtins.bool stopped: (boolean) - Whether the instance is stopped
|
|
394
|
+
:param _builtins.str name: The name of the instance. This is the unique identifier for the instance
|
|
197
395
|
"""
|
|
198
396
|
__args__ = dict()
|
|
199
|
-
__args__['capacity'] = capacity
|
|
200
397
|
__args__['name'] = name
|
|
201
|
-
__args__['stopped'] = stopped
|
|
202
398
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
203
399
|
__ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult).value
|
|
204
400
|
|
|
205
401
|
return AwaitableGetDatabaseInstanceResult(
|
|
206
402
|
capacity=pulumi.get(__ret__, 'capacity'),
|
|
403
|
+
child_instance_refs=pulumi.get(__ret__, 'child_instance_refs'),
|
|
207
404
|
creation_time=pulumi.get(__ret__, 'creation_time'),
|
|
208
405
|
creator=pulumi.get(__ret__, 'creator'),
|
|
406
|
+
custom_tags=pulumi.get(__ret__, 'custom_tags'),
|
|
407
|
+
effective_capacity=pulumi.get(__ret__, 'effective_capacity'),
|
|
408
|
+
effective_custom_tags=pulumi.get(__ret__, 'effective_custom_tags'),
|
|
409
|
+
effective_enable_pg_native_login=pulumi.get(__ret__, 'effective_enable_pg_native_login'),
|
|
410
|
+
effective_enable_readable_secondaries=pulumi.get(__ret__, 'effective_enable_readable_secondaries'),
|
|
411
|
+
effective_node_count=pulumi.get(__ret__, 'effective_node_count'),
|
|
412
|
+
effective_retention_window_in_days=pulumi.get(__ret__, 'effective_retention_window_in_days'),
|
|
209
413
|
effective_stopped=pulumi.get(__ret__, 'effective_stopped'),
|
|
414
|
+
effective_usage_policy_id=pulumi.get(__ret__, 'effective_usage_policy_id'),
|
|
415
|
+
enable_pg_native_login=pulumi.get(__ret__, 'enable_pg_native_login'),
|
|
416
|
+
enable_readable_secondaries=pulumi.get(__ret__, 'enable_readable_secondaries'),
|
|
210
417
|
id=pulumi.get(__ret__, 'id'),
|
|
211
418
|
name=pulumi.get(__ret__, 'name'),
|
|
419
|
+
node_count=pulumi.get(__ret__, 'node_count'),
|
|
420
|
+
parent_instance_ref=pulumi.get(__ret__, 'parent_instance_ref'),
|
|
212
421
|
pg_version=pulumi.get(__ret__, 'pg_version'),
|
|
422
|
+
read_only_dns=pulumi.get(__ret__, 'read_only_dns'),
|
|
213
423
|
read_write_dns=pulumi.get(__ret__, 'read_write_dns'),
|
|
424
|
+
retention_window_in_days=pulumi.get(__ret__, 'retention_window_in_days'),
|
|
214
425
|
state=pulumi.get(__ret__, 'state'),
|
|
215
426
|
stopped=pulumi.get(__ret__, 'stopped'),
|
|
216
|
-
uid=pulumi.get(__ret__, 'uid')
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
stopped: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
427
|
+
uid=pulumi.get(__ret__, 'uid'),
|
|
428
|
+
usage_policy_id=pulumi.get(__ret__, 'usage_policy_id'))
|
|
429
|
+
def get_database_instance_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
220
430
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstanceResult]:
|
|
221
431
|
"""
|
|
432
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
433
|
+
|
|
222
434
|
This data source can be used to get a single Database Instance.
|
|
223
435
|
|
|
224
436
|
## Example Usage
|
|
@@ -233,25 +445,37 @@ def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[builti
|
|
|
233
445
|
```
|
|
234
446
|
|
|
235
447
|
|
|
236
|
-
:param
|
|
237
|
-
:param builtins.str name: The name of the instance. This is the unique identifier for the instance
|
|
238
|
-
:param builtins.bool stopped: (boolean) - Whether the instance is stopped
|
|
448
|
+
:param _builtins.str name: The name of the instance. This is the unique identifier for the instance
|
|
239
449
|
"""
|
|
240
450
|
__args__ = dict()
|
|
241
|
-
__args__['capacity'] = capacity
|
|
242
451
|
__args__['name'] = name
|
|
243
|
-
__args__['stopped'] = stopped
|
|
244
452
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
245
453
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult)
|
|
246
454
|
return __ret__.apply(lambda __response__: GetDatabaseInstanceResult(
|
|
247
455
|
capacity=pulumi.get(__response__, 'capacity'),
|
|
456
|
+
child_instance_refs=pulumi.get(__response__, 'child_instance_refs'),
|
|
248
457
|
creation_time=pulumi.get(__response__, 'creation_time'),
|
|
249
458
|
creator=pulumi.get(__response__, 'creator'),
|
|
459
|
+
custom_tags=pulumi.get(__response__, 'custom_tags'),
|
|
460
|
+
effective_capacity=pulumi.get(__response__, 'effective_capacity'),
|
|
461
|
+
effective_custom_tags=pulumi.get(__response__, 'effective_custom_tags'),
|
|
462
|
+
effective_enable_pg_native_login=pulumi.get(__response__, 'effective_enable_pg_native_login'),
|
|
463
|
+
effective_enable_readable_secondaries=pulumi.get(__response__, 'effective_enable_readable_secondaries'),
|
|
464
|
+
effective_node_count=pulumi.get(__response__, 'effective_node_count'),
|
|
465
|
+
effective_retention_window_in_days=pulumi.get(__response__, 'effective_retention_window_in_days'),
|
|
250
466
|
effective_stopped=pulumi.get(__response__, 'effective_stopped'),
|
|
467
|
+
effective_usage_policy_id=pulumi.get(__response__, 'effective_usage_policy_id'),
|
|
468
|
+
enable_pg_native_login=pulumi.get(__response__, 'enable_pg_native_login'),
|
|
469
|
+
enable_readable_secondaries=pulumi.get(__response__, 'enable_readable_secondaries'),
|
|
251
470
|
id=pulumi.get(__response__, 'id'),
|
|
252
471
|
name=pulumi.get(__response__, 'name'),
|
|
472
|
+
node_count=pulumi.get(__response__, 'node_count'),
|
|
473
|
+
parent_instance_ref=pulumi.get(__response__, 'parent_instance_ref'),
|
|
253
474
|
pg_version=pulumi.get(__response__, 'pg_version'),
|
|
475
|
+
read_only_dns=pulumi.get(__response__, 'read_only_dns'),
|
|
254
476
|
read_write_dns=pulumi.get(__response__, 'read_write_dns'),
|
|
477
|
+
retention_window_in_days=pulumi.get(__response__, 'retention_window_in_days'),
|
|
255
478
|
state=pulumi.get(__response__, 'state'),
|
|
256
479
|
stopped=pulumi.get(__response__, 'stopped'),
|
|
257
|
-
uid=pulumi.get(__response__, 'uid')
|
|
480
|
+
uid=pulumi.get(__response__, 'uid'),
|
|
481
|
+
usage_policy_id=pulumi.get(__response__, 'usage_policy_id')))
|
|
@@ -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
|
|
@@ -28,27 +27,35 @@ class GetDatabaseInstancesResult:
|
|
|
28
27
|
"""
|
|
29
28
|
A collection of values returned by getDatabaseInstances.
|
|
30
29
|
"""
|
|
31
|
-
def __init__(__self__, database_instances=None, id=None):
|
|
30
|
+
def __init__(__self__, database_instances=None, id=None, page_size=None):
|
|
32
31
|
if database_instances and not isinstance(database_instances, list):
|
|
33
32
|
raise TypeError("Expected argument 'database_instances' to be a list")
|
|
34
33
|
pulumi.set(__self__, "database_instances", database_instances)
|
|
35
34
|
if id and not isinstance(id, str):
|
|
36
35
|
raise TypeError("Expected argument 'id' to be a str")
|
|
37
36
|
pulumi.set(__self__, "id", id)
|
|
37
|
+
if page_size and not isinstance(page_size, int):
|
|
38
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
39
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
38
40
|
|
|
39
|
-
@property
|
|
41
|
+
@_builtins.property
|
|
40
42
|
@pulumi.getter(name="databaseInstances")
|
|
41
43
|
def database_instances(self) -> Sequence['outputs.GetDatabaseInstancesDatabaseInstanceResult']:
|
|
42
44
|
return pulumi.get(self, "database_instances")
|
|
43
45
|
|
|
44
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
45
47
|
@pulumi.getter
|
|
46
|
-
def id(self) ->
|
|
48
|
+
def id(self) -> _builtins.str:
|
|
47
49
|
"""
|
|
48
50
|
The provider-assigned unique ID for this managed resource.
|
|
49
51
|
"""
|
|
50
52
|
return pulumi.get(self, "id")
|
|
51
53
|
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter(name="pageSize")
|
|
56
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
57
|
+
return pulumi.get(self, "page_size")
|
|
58
|
+
|
|
52
59
|
|
|
53
60
|
class AwaitableGetDatabaseInstancesResult(GetDatabaseInstancesResult):
|
|
54
61
|
# pylint: disable=using-constant-test
|
|
@@ -57,11 +64,15 @@ class AwaitableGetDatabaseInstancesResult(GetDatabaseInstancesResult):
|
|
|
57
64
|
yield self
|
|
58
65
|
return GetDatabaseInstancesResult(
|
|
59
66
|
database_instances=self.database_instances,
|
|
60
|
-
id=self.id
|
|
67
|
+
id=self.id,
|
|
68
|
+
page_size=self.page_size)
|
|
61
69
|
|
|
62
70
|
|
|
63
|
-
def get_database_instances(
|
|
71
|
+
def get_database_instances(page_size: Optional[_builtins.int] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstancesResult:
|
|
64
73
|
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
65
76
|
This data source can be used to fetch the list of Database Instances within the workspace.
|
|
66
77
|
The list can then be accessed via the data object's `database_instances` field.
|
|
67
78
|
|
|
@@ -76,16 +87,24 @@ def get_database_instances(opts: Optional[pulumi.InvokeOptions] = None) -> Await
|
|
|
76
87
|
all = databricks.get_database_instances()
|
|
77
88
|
pulumi.export("allDatabaseInstances", all.database_instances)
|
|
78
89
|
```
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
:param _builtins.int page_size: Upper bound for items returned
|
|
79
93
|
"""
|
|
80
94
|
__args__ = dict()
|
|
95
|
+
__args__['pageSize'] = page_size
|
|
81
96
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
82
97
|
__ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseInstances:getDatabaseInstances', __args__, opts=opts, typ=GetDatabaseInstancesResult).value
|
|
83
98
|
|
|
84
99
|
return AwaitableGetDatabaseInstancesResult(
|
|
85
100
|
database_instances=pulumi.get(__ret__, 'database_instances'),
|
|
86
|
-
id=pulumi.get(__ret__, 'id')
|
|
87
|
-
|
|
101
|
+
id=pulumi.get(__ret__, 'id'),
|
|
102
|
+
page_size=pulumi.get(__ret__, 'page_size'))
|
|
103
|
+
def get_database_instances_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
104
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstancesResult]:
|
|
88
105
|
"""
|
|
106
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
107
|
+
|
|
89
108
|
This data source can be used to fetch the list of Database Instances within the workspace.
|
|
90
109
|
The list can then be accessed via the data object's `database_instances` field.
|
|
91
110
|
|
|
@@ -100,10 +119,15 @@ def get_database_instances_output(opts: Optional[Union[pulumi.InvokeOptions, pul
|
|
|
100
119
|
all = databricks.get_database_instances()
|
|
101
120
|
pulumi.export("allDatabaseInstances", all.database_instances)
|
|
102
121
|
```
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
:param _builtins.int page_size: Upper bound for items returned
|
|
103
125
|
"""
|
|
104
126
|
__args__ = dict()
|
|
127
|
+
__args__['pageSize'] = page_size
|
|
105
128
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
129
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseInstances:getDatabaseInstances', __args__, opts=opts, typ=GetDatabaseInstancesResult)
|
|
107
130
|
return __ret__.apply(lambda __response__: GetDatabaseInstancesResult(
|
|
108
131
|
database_instances=pulumi.get(__response__, 'database_instances'),
|
|
109
|
-
id=pulumi.get(__response__, 'id')
|
|
132
|
+
id=pulumi.get(__response__, 'id'),
|
|
133
|
+
page_size=pulumi.get(__response__, 'page_size')))
|