pulumi-databricks 1.77.0a1761975834__py3-none-any.whl → 1.79.0a1762839813__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 +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- 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 +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- 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 +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1761975834.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -22,6 +22,7 @@ __all__ = ['DatabaseInstanceArgs', 'DatabaseInstance']
|
|
|
22
22
|
class DatabaseInstanceArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]]] = None,
|
|
25
26
|
enable_pg_native_login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
27
|
enable_readable_secondaries: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
28
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -30,15 +31,16 @@ class DatabaseInstanceArgs:
|
|
|
30
31
|
purge_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
31
32
|
retention_window_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
32
33
|
stopped: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
33
|
-
|
|
34
|
+
usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
34
35
|
"""
|
|
35
36
|
The set of arguments for constructing a DatabaseInstance resource.
|
|
36
37
|
:param pulumi.Input[_builtins.str] capacity: The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]] custom_tags: Custom tags associated with the instance. This field is only included on create and update responses
|
|
39
|
+
:param pulumi.Input[_builtins.bool] enable_pg_native_login: Whether to enable PG native password login on the instance. Defaults to false
|
|
38
40
|
:param pulumi.Input[_builtins.bool] enable_readable_secondaries: Whether to enable secondaries to serve read-only traffic. Defaults to false
|
|
39
41
|
:param pulumi.Input[_builtins.str] name: The name of the instance. This is the unique identifier for the instance
|
|
40
42
|
:param pulumi.Input[_builtins.int] node_count: The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
41
|
-
1 primary and 0 secondaries
|
|
43
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
42
44
|
:param pulumi.Input['DatabaseInstanceParentInstanceRefArgs'] parent_instance_ref: The ref of the parent instance. This is only available if the instance is
|
|
43
45
|
child instance.
|
|
44
46
|
Input: For specifying the parent instance to create a child instance. Optional.
|
|
@@ -47,11 +49,13 @@ class DatabaseInstanceArgs:
|
|
|
47
49
|
:param pulumi.Input[_builtins.int] retention_window_in_days: The retention window for the instance. This is the time window in days
|
|
48
50
|
for which the historical data is retained. The default value is 7 days.
|
|
49
51
|
Valid values are 2 to 35 days
|
|
50
|
-
:param pulumi.Input[_builtins.bool] stopped: Whether the instance
|
|
51
|
-
:param pulumi.Input[_builtins.str]
|
|
52
|
+
:param pulumi.Input[_builtins.bool] stopped: Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
53
|
+
:param pulumi.Input[_builtins.str] usage_policy_id: The desired usage policy to associate with the instance
|
|
52
54
|
"""
|
|
53
55
|
if capacity is not None:
|
|
54
56
|
pulumi.set(__self__, "capacity", capacity)
|
|
57
|
+
if custom_tags is not None:
|
|
58
|
+
pulumi.set(__self__, "custom_tags", custom_tags)
|
|
55
59
|
if enable_pg_native_login is not None:
|
|
56
60
|
pulumi.set(__self__, "enable_pg_native_login", enable_pg_native_login)
|
|
57
61
|
if enable_readable_secondaries is not None:
|
|
@@ -68,8 +72,8 @@ class DatabaseInstanceArgs:
|
|
|
68
72
|
pulumi.set(__self__, "retention_window_in_days", retention_window_in_days)
|
|
69
73
|
if stopped is not None:
|
|
70
74
|
pulumi.set(__self__, "stopped", stopped)
|
|
71
|
-
if
|
|
72
|
-
pulumi.set(__self__, "
|
|
75
|
+
if usage_policy_id is not None:
|
|
76
|
+
pulumi.set(__self__, "usage_policy_id", usage_policy_id)
|
|
73
77
|
|
|
74
78
|
@_builtins.property
|
|
75
79
|
@pulumi.getter
|
|
@@ -83,11 +87,23 @@ class DatabaseInstanceArgs:
|
|
|
83
87
|
def capacity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
84
88
|
pulumi.set(self, "capacity", value)
|
|
85
89
|
|
|
90
|
+
@_builtins.property
|
|
91
|
+
@pulumi.getter(name="customTags")
|
|
92
|
+
def custom_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]]]:
|
|
93
|
+
"""
|
|
94
|
+
Custom tags associated with the instance. This field is only included on create and update responses
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "custom_tags")
|
|
97
|
+
|
|
98
|
+
@custom_tags.setter
|
|
99
|
+
def custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]]]):
|
|
100
|
+
pulumi.set(self, "custom_tags", value)
|
|
101
|
+
|
|
86
102
|
@_builtins.property
|
|
87
103
|
@pulumi.getter(name="enablePgNativeLogin")
|
|
88
104
|
def enable_pg_native_login(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
89
105
|
"""
|
|
90
|
-
Whether
|
|
106
|
+
Whether to enable PG native password login on the instance. Defaults to false
|
|
91
107
|
"""
|
|
92
108
|
return pulumi.get(self, "enable_pg_native_login")
|
|
93
109
|
|
|
@@ -124,7 +140,7 @@ class DatabaseInstanceArgs:
|
|
|
124
140
|
def node_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
125
141
|
"""
|
|
126
142
|
The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
127
|
-
1 primary and 0 secondaries
|
|
143
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
128
144
|
"""
|
|
129
145
|
return pulumi.get(self, "node_count")
|
|
130
146
|
|
|
@@ -177,7 +193,7 @@ class DatabaseInstanceArgs:
|
|
|
177
193
|
@pulumi.getter
|
|
178
194
|
def stopped(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
179
195
|
"""
|
|
180
|
-
Whether the instance
|
|
196
|
+
Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
181
197
|
"""
|
|
182
198
|
return pulumi.get(self, "stopped")
|
|
183
199
|
|
|
@@ -186,16 +202,16 @@ class DatabaseInstanceArgs:
|
|
|
186
202
|
pulumi.set(self, "stopped", value)
|
|
187
203
|
|
|
188
204
|
@_builtins.property
|
|
189
|
-
@pulumi.getter(name="
|
|
190
|
-
def
|
|
205
|
+
@pulumi.getter(name="usagePolicyId")
|
|
206
|
+
def usage_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
191
207
|
"""
|
|
192
|
-
|
|
208
|
+
The desired usage policy to associate with the instance
|
|
193
209
|
"""
|
|
194
|
-
return pulumi.get(self, "
|
|
210
|
+
return pulumi.get(self, "usage_policy_id")
|
|
195
211
|
|
|
196
|
-
@
|
|
197
|
-
def
|
|
198
|
-
pulumi.set(self, "
|
|
212
|
+
@usage_policy_id.setter
|
|
213
|
+
def usage_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
214
|
+
pulumi.set(self, "usage_policy_id", value)
|
|
199
215
|
|
|
200
216
|
|
|
201
217
|
@pulumi.input_type
|
|
@@ -205,11 +221,15 @@ class _DatabaseInstanceState:
|
|
|
205
221
|
child_instance_refs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceChildInstanceRefArgs']]]] = None,
|
|
206
222
|
creation_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
207
223
|
creator: Optional[pulumi.Input[_builtins.str]] = None,
|
|
224
|
+
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]]] = None,
|
|
225
|
+
effective_capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
226
|
+
effective_custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceEffectiveCustomTagArgs']]]] = None,
|
|
208
227
|
effective_enable_pg_native_login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
209
228
|
effective_enable_readable_secondaries: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
210
229
|
effective_node_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
211
230
|
effective_retention_window_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
212
231
|
effective_stopped: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
232
|
+
effective_usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
213
233
|
enable_pg_native_login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
214
234
|
enable_readable_secondaries: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
215
235
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -223,7 +243,7 @@ class _DatabaseInstanceState:
|
|
|
223
243
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
224
244
|
stopped: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
225
245
|
uid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
226
|
-
|
|
246
|
+
usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
227
247
|
"""
|
|
228
248
|
Input properties used for looking up and filtering DatabaseInstance resources.
|
|
229
249
|
:param pulumi.Input[_builtins.str] capacity: The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
@@ -231,26 +251,22 @@ class _DatabaseInstanceState:
|
|
|
231
251
|
parent instance
|
|
232
252
|
:param pulumi.Input[_builtins.str] creation_time: (string) - The timestamp when the instance was created
|
|
233
253
|
:param pulumi.Input[_builtins.str] creator: (string) - The email of the creator of the instance
|
|
234
|
-
:param pulumi.Input[
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
:param pulumi.Input[_builtins.bool]
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
:param pulumi.Input[_builtins.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
:param pulumi.Input[_builtins.bool] effective_stopped: (boolean) - xref AIP-129. `stopped` is owned by the client, while `effective_stopped` is owned by the server.
|
|
247
|
-
`stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
248
|
-
`effective_stopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
249
|
-
:param pulumi.Input[_builtins.bool] enable_pg_native_login: Whether the instance has PG native password login enabled. Defaults to true
|
|
254
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]] custom_tags: Custom tags associated with the instance. This field is only included on create and update responses
|
|
255
|
+
:param pulumi.Input[_builtins.str] effective_capacity: (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity
|
|
256
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceEffectiveCustomTagArgs']]] effective_custom_tags: (list of CustomTag) - The recorded custom tags associated with the instance
|
|
257
|
+
:param pulumi.Input[_builtins.bool] effective_enable_pg_native_login: (boolean) - Whether the instance has PG native password login enabled
|
|
258
|
+
:param pulumi.Input[_builtins.bool] effective_enable_readable_secondaries: (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false
|
|
259
|
+
:param pulumi.Input[_builtins.int] effective_node_count: (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
260
|
+
1 primary and 0 secondaries
|
|
261
|
+
:param pulumi.Input[_builtins.int] effective_retention_window_in_days: (integer) - The retention window for the instance. This is the time window in days
|
|
262
|
+
for which the historical data is retained
|
|
263
|
+
:param pulumi.Input[_builtins.bool] effective_stopped: (boolean) - Whether the instance is stopped
|
|
264
|
+
:param pulumi.Input[_builtins.str] effective_usage_policy_id: (string) - The policy that is applied to the instance
|
|
265
|
+
:param pulumi.Input[_builtins.bool] enable_pg_native_login: Whether to enable PG native password login on the instance. Defaults to false
|
|
250
266
|
:param pulumi.Input[_builtins.bool] enable_readable_secondaries: Whether to enable secondaries to serve read-only traffic. Defaults to false
|
|
251
267
|
:param pulumi.Input[_builtins.str] name: The name of the instance. This is the unique identifier for the instance
|
|
252
268
|
:param pulumi.Input[_builtins.int] node_count: The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
253
|
-
1 primary and 0 secondaries
|
|
269
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
254
270
|
:param pulumi.Input['DatabaseInstanceParentInstanceRefArgs'] parent_instance_ref: The ref of the parent instance. This is only available if the instance is
|
|
255
271
|
child instance.
|
|
256
272
|
Input: For specifying the parent instance to create a child instance. Optional.
|
|
@@ -264,9 +280,9 @@ class _DatabaseInstanceState:
|
|
|
264
280
|
for which the historical data is retained. The default value is 7 days.
|
|
265
281
|
Valid values are 2 to 35 days
|
|
266
282
|
:param pulumi.Input[_builtins.str] state: (string) - The current state of the instance. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
267
|
-
:param pulumi.Input[_builtins.bool] stopped: Whether the instance
|
|
283
|
+
:param pulumi.Input[_builtins.bool] stopped: Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
268
284
|
:param pulumi.Input[_builtins.str] uid: (string) - Id of the ref database instance
|
|
269
|
-
:param pulumi.Input[_builtins.str]
|
|
285
|
+
:param pulumi.Input[_builtins.str] usage_policy_id: The desired usage policy to associate with the instance
|
|
270
286
|
"""
|
|
271
287
|
if capacity is not None:
|
|
272
288
|
pulumi.set(__self__, "capacity", capacity)
|
|
@@ -276,6 +292,12 @@ class _DatabaseInstanceState:
|
|
|
276
292
|
pulumi.set(__self__, "creation_time", creation_time)
|
|
277
293
|
if creator is not None:
|
|
278
294
|
pulumi.set(__self__, "creator", creator)
|
|
295
|
+
if custom_tags is not None:
|
|
296
|
+
pulumi.set(__self__, "custom_tags", custom_tags)
|
|
297
|
+
if effective_capacity is not None:
|
|
298
|
+
pulumi.set(__self__, "effective_capacity", effective_capacity)
|
|
299
|
+
if effective_custom_tags is not None:
|
|
300
|
+
pulumi.set(__self__, "effective_custom_tags", effective_custom_tags)
|
|
279
301
|
if effective_enable_pg_native_login is not None:
|
|
280
302
|
pulumi.set(__self__, "effective_enable_pg_native_login", effective_enable_pg_native_login)
|
|
281
303
|
if effective_enable_readable_secondaries is not None:
|
|
@@ -286,6 +308,8 @@ class _DatabaseInstanceState:
|
|
|
286
308
|
pulumi.set(__self__, "effective_retention_window_in_days", effective_retention_window_in_days)
|
|
287
309
|
if effective_stopped is not None:
|
|
288
310
|
pulumi.set(__self__, "effective_stopped", effective_stopped)
|
|
311
|
+
if effective_usage_policy_id is not None:
|
|
312
|
+
pulumi.set(__self__, "effective_usage_policy_id", effective_usage_policy_id)
|
|
289
313
|
if enable_pg_native_login is not None:
|
|
290
314
|
pulumi.set(__self__, "enable_pg_native_login", enable_pg_native_login)
|
|
291
315
|
if enable_readable_secondaries is not None:
|
|
@@ -312,8 +336,8 @@ class _DatabaseInstanceState:
|
|
|
312
336
|
pulumi.set(__self__, "stopped", stopped)
|
|
313
337
|
if uid is not None:
|
|
314
338
|
pulumi.set(__self__, "uid", uid)
|
|
315
|
-
if
|
|
316
|
-
pulumi.set(__self__, "
|
|
339
|
+
if usage_policy_id is not None:
|
|
340
|
+
pulumi.set(__self__, "usage_policy_id", usage_policy_id)
|
|
317
341
|
|
|
318
342
|
@_builtins.property
|
|
319
343
|
@pulumi.getter
|
|
@@ -364,13 +388,47 @@ class _DatabaseInstanceState:
|
|
|
364
388
|
def creator(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
365
389
|
pulumi.set(self, "creator", value)
|
|
366
390
|
|
|
391
|
+
@_builtins.property
|
|
392
|
+
@pulumi.getter(name="customTags")
|
|
393
|
+
def custom_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]]]:
|
|
394
|
+
"""
|
|
395
|
+
Custom tags associated with the instance. This field is only included on create and update responses
|
|
396
|
+
"""
|
|
397
|
+
return pulumi.get(self, "custom_tags")
|
|
398
|
+
|
|
399
|
+
@custom_tags.setter
|
|
400
|
+
def custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceCustomTagArgs']]]]):
|
|
401
|
+
pulumi.set(self, "custom_tags", value)
|
|
402
|
+
|
|
403
|
+
@_builtins.property
|
|
404
|
+
@pulumi.getter(name="effectiveCapacity")
|
|
405
|
+
def effective_capacity(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
406
|
+
"""
|
|
407
|
+
(string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity
|
|
408
|
+
"""
|
|
409
|
+
return pulumi.get(self, "effective_capacity")
|
|
410
|
+
|
|
411
|
+
@effective_capacity.setter
|
|
412
|
+
def effective_capacity(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
413
|
+
pulumi.set(self, "effective_capacity", value)
|
|
414
|
+
|
|
415
|
+
@_builtins.property
|
|
416
|
+
@pulumi.getter(name="effectiveCustomTags")
|
|
417
|
+
def effective_custom_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceEffectiveCustomTagArgs']]]]:
|
|
418
|
+
"""
|
|
419
|
+
(list of CustomTag) - The recorded custom tags associated with the instance
|
|
420
|
+
"""
|
|
421
|
+
return pulumi.get(self, "effective_custom_tags")
|
|
422
|
+
|
|
423
|
+
@effective_custom_tags.setter
|
|
424
|
+
def effective_custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInstanceEffectiveCustomTagArgs']]]]):
|
|
425
|
+
pulumi.set(self, "effective_custom_tags", value)
|
|
426
|
+
|
|
367
427
|
@_builtins.property
|
|
368
428
|
@pulumi.getter(name="effectiveEnablePgNativeLogin")
|
|
369
429
|
def effective_enable_pg_native_login(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
370
430
|
"""
|
|
371
|
-
(boolean) -
|
|
372
|
-
`enable_pg_native_login` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
373
|
-
`effective_enable_pg_native_login` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
431
|
+
(boolean) - Whether the instance has PG native password login enabled
|
|
374
432
|
"""
|
|
375
433
|
return pulumi.get(self, "effective_enable_pg_native_login")
|
|
376
434
|
|
|
@@ -382,9 +440,7 @@ class _DatabaseInstanceState:
|
|
|
382
440
|
@pulumi.getter(name="effectiveEnableReadableSecondaries")
|
|
383
441
|
def effective_enable_readable_secondaries(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
384
442
|
"""
|
|
385
|
-
(boolean) -
|
|
386
|
-
`enable_readable_secondaries` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
387
|
-
`effective_enable_readable_secondaries` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
443
|
+
(boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false
|
|
388
444
|
"""
|
|
389
445
|
return pulumi.get(self, "effective_enable_readable_secondaries")
|
|
390
446
|
|
|
@@ -396,9 +452,8 @@ class _DatabaseInstanceState:
|
|
|
396
452
|
@pulumi.getter(name="effectiveNodeCount")
|
|
397
453
|
def effective_node_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
398
454
|
"""
|
|
399
|
-
(integer) -
|
|
400
|
-
|
|
401
|
-
`effective_node_count` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
455
|
+
(integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
456
|
+
1 primary and 0 secondaries
|
|
402
457
|
"""
|
|
403
458
|
return pulumi.get(self, "effective_node_count")
|
|
404
459
|
|
|
@@ -410,9 +465,8 @@ class _DatabaseInstanceState:
|
|
|
410
465
|
@pulumi.getter(name="effectiveRetentionWindowInDays")
|
|
411
466
|
def effective_retention_window_in_days(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
412
467
|
"""
|
|
413
|
-
(integer) -
|
|
414
|
-
|
|
415
|
-
`effective_retention_window_in_days` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
468
|
+
(integer) - The retention window for the instance. This is the time window in days
|
|
469
|
+
for which the historical data is retained
|
|
416
470
|
"""
|
|
417
471
|
return pulumi.get(self, "effective_retention_window_in_days")
|
|
418
472
|
|
|
@@ -424,9 +478,7 @@ class _DatabaseInstanceState:
|
|
|
424
478
|
@pulumi.getter(name="effectiveStopped")
|
|
425
479
|
def effective_stopped(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
426
480
|
"""
|
|
427
|
-
(boolean) -
|
|
428
|
-
`stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
429
|
-
`effective_stopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
481
|
+
(boolean) - Whether the instance is stopped
|
|
430
482
|
"""
|
|
431
483
|
return pulumi.get(self, "effective_stopped")
|
|
432
484
|
|
|
@@ -434,11 +486,23 @@ class _DatabaseInstanceState:
|
|
|
434
486
|
def effective_stopped(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
435
487
|
pulumi.set(self, "effective_stopped", value)
|
|
436
488
|
|
|
489
|
+
@_builtins.property
|
|
490
|
+
@pulumi.getter(name="effectiveUsagePolicyId")
|
|
491
|
+
def effective_usage_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
492
|
+
"""
|
|
493
|
+
(string) - The policy that is applied to the instance
|
|
494
|
+
"""
|
|
495
|
+
return pulumi.get(self, "effective_usage_policy_id")
|
|
496
|
+
|
|
497
|
+
@effective_usage_policy_id.setter
|
|
498
|
+
def effective_usage_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
499
|
+
pulumi.set(self, "effective_usage_policy_id", value)
|
|
500
|
+
|
|
437
501
|
@_builtins.property
|
|
438
502
|
@pulumi.getter(name="enablePgNativeLogin")
|
|
439
503
|
def enable_pg_native_login(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
440
504
|
"""
|
|
441
|
-
Whether
|
|
505
|
+
Whether to enable PG native password login on the instance. Defaults to false
|
|
442
506
|
"""
|
|
443
507
|
return pulumi.get(self, "enable_pg_native_login")
|
|
444
508
|
|
|
@@ -475,7 +539,7 @@ class _DatabaseInstanceState:
|
|
|
475
539
|
def node_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
476
540
|
"""
|
|
477
541
|
The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
478
|
-
1 primary and 0 secondaries
|
|
542
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
479
543
|
"""
|
|
480
544
|
return pulumi.get(self, "node_count")
|
|
481
545
|
|
|
@@ -577,7 +641,7 @@ class _DatabaseInstanceState:
|
|
|
577
641
|
@pulumi.getter
|
|
578
642
|
def stopped(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
579
643
|
"""
|
|
580
|
-
Whether the instance
|
|
644
|
+
Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
581
645
|
"""
|
|
582
646
|
return pulumi.get(self, "stopped")
|
|
583
647
|
|
|
@@ -598,16 +662,16 @@ class _DatabaseInstanceState:
|
|
|
598
662
|
pulumi.set(self, "uid", value)
|
|
599
663
|
|
|
600
664
|
@_builtins.property
|
|
601
|
-
@pulumi.getter(name="
|
|
602
|
-
def
|
|
665
|
+
@pulumi.getter(name="usagePolicyId")
|
|
666
|
+
def usage_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
603
667
|
"""
|
|
604
|
-
|
|
668
|
+
The desired usage policy to associate with the instance
|
|
605
669
|
"""
|
|
606
|
-
return pulumi.get(self, "
|
|
670
|
+
return pulumi.get(self, "usage_policy_id")
|
|
607
671
|
|
|
608
|
-
@
|
|
609
|
-
def
|
|
610
|
-
pulumi.set(self, "
|
|
672
|
+
@usage_policy_id.setter
|
|
673
|
+
def usage_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
674
|
+
pulumi.set(self, "usage_policy_id", value)
|
|
611
675
|
|
|
612
676
|
|
|
613
677
|
@pulumi.type_token("databricks:index/databaseInstance:DatabaseInstance")
|
|
@@ -617,6 +681,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
617
681
|
resource_name: str,
|
|
618
682
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
619
683
|
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
684
|
+
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceCustomTagArgs', 'DatabaseInstanceCustomTagArgsDict']]]]] = None,
|
|
620
685
|
enable_pg_native_login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
621
686
|
enable_readable_secondaries: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
622
687
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -625,9 +690,11 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
625
690
|
purge_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
626
691
|
retention_window_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
627
692
|
stopped: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
628
|
-
|
|
693
|
+
usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
629
694
|
__props__=None):
|
|
630
695
|
"""
|
|
696
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
697
|
+
|
|
631
698
|
Lakebase Database Instances are managed Postgres instances, composed of a primary Postgres compute instance and 0 or more read replica instances.
|
|
632
699
|
|
|
633
700
|
## Example Usage
|
|
@@ -676,6 +743,30 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
676
743
|
})
|
|
677
744
|
```
|
|
678
745
|
|
|
746
|
+
### Example with a usage policy and custom tags
|
|
747
|
+
|
|
748
|
+
This example creates a Database Instance with an associated usage policy and custom tags.
|
|
749
|
+
|
|
750
|
+
```python
|
|
751
|
+
import pulumi
|
|
752
|
+
import pulumi_databricks as databricks
|
|
753
|
+
|
|
754
|
+
this = databricks.DatabaseInstance("this",
|
|
755
|
+
name="my-database-instance",
|
|
756
|
+
capacity="CU_8",
|
|
757
|
+
usage_policy_id="948192fa-a98b-498f-a09b-ecee79d8b983",
|
|
758
|
+
custom_tags=[
|
|
759
|
+
{
|
|
760
|
+
"key": "custom_tag_key1",
|
|
761
|
+
"value": "custom_tag_value1",
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"key": "custom_tag_key2",
|
|
765
|
+
"value": "custom_tag_value2",
|
|
766
|
+
},
|
|
767
|
+
])
|
|
768
|
+
```
|
|
769
|
+
|
|
679
770
|
## Import
|
|
680
771
|
|
|
681
772
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -693,17 +784,18 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
693
784
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
694
785
|
|
|
695
786
|
```sh
|
|
696
|
-
$ pulumi import databricks:index/databaseInstance:DatabaseInstance
|
|
787
|
+
$ pulumi import databricks:index/databaseInstance:DatabaseInstance this "name"
|
|
697
788
|
```
|
|
698
789
|
|
|
699
790
|
:param str resource_name: The name of the resource.
|
|
700
791
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
701
792
|
:param pulumi.Input[_builtins.str] capacity: The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
702
|
-
:param pulumi.Input[
|
|
793
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceCustomTagArgs', 'DatabaseInstanceCustomTagArgsDict']]]] custom_tags: Custom tags associated with the instance. This field is only included on create and update responses
|
|
794
|
+
:param pulumi.Input[_builtins.bool] enable_pg_native_login: Whether to enable PG native password login on the instance. Defaults to false
|
|
703
795
|
:param pulumi.Input[_builtins.bool] enable_readable_secondaries: Whether to enable secondaries to serve read-only traffic. Defaults to false
|
|
704
796
|
:param pulumi.Input[_builtins.str] name: The name of the instance. This is the unique identifier for the instance
|
|
705
797
|
:param pulumi.Input[_builtins.int] node_count: The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
706
|
-
1 primary and 0 secondaries
|
|
798
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
707
799
|
:param pulumi.Input[Union['DatabaseInstanceParentInstanceRefArgs', 'DatabaseInstanceParentInstanceRefArgsDict']] parent_instance_ref: The ref of the parent instance. This is only available if the instance is
|
|
708
800
|
child instance.
|
|
709
801
|
Input: For specifying the parent instance to create a child instance. Optional.
|
|
@@ -712,8 +804,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
712
804
|
:param pulumi.Input[_builtins.int] retention_window_in_days: The retention window for the instance. This is the time window in days
|
|
713
805
|
for which the historical data is retained. The default value is 7 days.
|
|
714
806
|
Valid values are 2 to 35 days
|
|
715
|
-
:param pulumi.Input[_builtins.bool] stopped: Whether the instance
|
|
716
|
-
:param pulumi.Input[_builtins.str]
|
|
807
|
+
:param pulumi.Input[_builtins.bool] stopped: Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
808
|
+
:param pulumi.Input[_builtins.str] usage_policy_id: The desired usage policy to associate with the instance
|
|
717
809
|
"""
|
|
718
810
|
...
|
|
719
811
|
@overload
|
|
@@ -722,6 +814,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
722
814
|
args: Optional[DatabaseInstanceArgs] = None,
|
|
723
815
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
724
816
|
"""
|
|
817
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
818
|
+
|
|
725
819
|
Lakebase Database Instances are managed Postgres instances, composed of a primary Postgres compute instance and 0 or more read replica instances.
|
|
726
820
|
|
|
727
821
|
## Example Usage
|
|
@@ -770,6 +864,30 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
770
864
|
})
|
|
771
865
|
```
|
|
772
866
|
|
|
867
|
+
### Example with a usage policy and custom tags
|
|
868
|
+
|
|
869
|
+
This example creates a Database Instance with an associated usage policy and custom tags.
|
|
870
|
+
|
|
871
|
+
```python
|
|
872
|
+
import pulumi
|
|
873
|
+
import pulumi_databricks as databricks
|
|
874
|
+
|
|
875
|
+
this = databricks.DatabaseInstance("this",
|
|
876
|
+
name="my-database-instance",
|
|
877
|
+
capacity="CU_8",
|
|
878
|
+
usage_policy_id="948192fa-a98b-498f-a09b-ecee79d8b983",
|
|
879
|
+
custom_tags=[
|
|
880
|
+
{
|
|
881
|
+
"key": "custom_tag_key1",
|
|
882
|
+
"value": "custom_tag_value1",
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"key": "custom_tag_key2",
|
|
886
|
+
"value": "custom_tag_value2",
|
|
887
|
+
},
|
|
888
|
+
])
|
|
889
|
+
```
|
|
890
|
+
|
|
773
891
|
## Import
|
|
774
892
|
|
|
775
893
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -787,7 +905,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
787
905
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
788
906
|
|
|
789
907
|
```sh
|
|
790
|
-
$ pulumi import databricks:index/databaseInstance:DatabaseInstance
|
|
908
|
+
$ pulumi import databricks:index/databaseInstance:DatabaseInstance this "name"
|
|
791
909
|
```
|
|
792
910
|
|
|
793
911
|
:param str resource_name: The name of the resource.
|
|
@@ -806,6 +924,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
806
924
|
resource_name: str,
|
|
807
925
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
808
926
|
capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
927
|
+
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceCustomTagArgs', 'DatabaseInstanceCustomTagArgsDict']]]]] = None,
|
|
809
928
|
enable_pg_native_login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
810
929
|
enable_readable_secondaries: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
811
930
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -814,7 +933,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
814
933
|
purge_on_delete: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
815
934
|
retention_window_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
816
935
|
stopped: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
817
|
-
|
|
936
|
+
usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
818
937
|
__props__=None):
|
|
819
938
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
820
939
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -825,6 +944,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
825
944
|
__props__ = DatabaseInstanceArgs.__new__(DatabaseInstanceArgs)
|
|
826
945
|
|
|
827
946
|
__props__.__dict__["capacity"] = capacity
|
|
947
|
+
__props__.__dict__["custom_tags"] = custom_tags
|
|
828
948
|
__props__.__dict__["enable_pg_native_login"] = enable_pg_native_login
|
|
829
949
|
__props__.__dict__["enable_readable_secondaries"] = enable_readable_secondaries
|
|
830
950
|
__props__.__dict__["name"] = name
|
|
@@ -833,15 +953,18 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
833
953
|
__props__.__dict__["purge_on_delete"] = purge_on_delete
|
|
834
954
|
__props__.__dict__["retention_window_in_days"] = retention_window_in_days
|
|
835
955
|
__props__.__dict__["stopped"] = stopped
|
|
836
|
-
__props__.__dict__["
|
|
956
|
+
__props__.__dict__["usage_policy_id"] = usage_policy_id
|
|
837
957
|
__props__.__dict__["child_instance_refs"] = None
|
|
838
958
|
__props__.__dict__["creation_time"] = None
|
|
839
959
|
__props__.__dict__["creator"] = None
|
|
960
|
+
__props__.__dict__["effective_capacity"] = None
|
|
961
|
+
__props__.__dict__["effective_custom_tags"] = None
|
|
840
962
|
__props__.__dict__["effective_enable_pg_native_login"] = None
|
|
841
963
|
__props__.__dict__["effective_enable_readable_secondaries"] = None
|
|
842
964
|
__props__.__dict__["effective_node_count"] = None
|
|
843
965
|
__props__.__dict__["effective_retention_window_in_days"] = None
|
|
844
966
|
__props__.__dict__["effective_stopped"] = None
|
|
967
|
+
__props__.__dict__["effective_usage_policy_id"] = None
|
|
845
968
|
__props__.__dict__["pg_version"] = None
|
|
846
969
|
__props__.__dict__["read_only_dns"] = None
|
|
847
970
|
__props__.__dict__["read_write_dns"] = None
|
|
@@ -861,11 +984,15 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
861
984
|
child_instance_refs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceChildInstanceRefArgs', 'DatabaseInstanceChildInstanceRefArgsDict']]]]] = None,
|
|
862
985
|
creation_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
863
986
|
creator: Optional[pulumi.Input[_builtins.str]] = None,
|
|
987
|
+
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceCustomTagArgs', 'DatabaseInstanceCustomTagArgsDict']]]]] = None,
|
|
988
|
+
effective_capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
989
|
+
effective_custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceEffectiveCustomTagArgs', 'DatabaseInstanceEffectiveCustomTagArgsDict']]]]] = None,
|
|
864
990
|
effective_enable_pg_native_login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
865
991
|
effective_enable_readable_secondaries: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
866
992
|
effective_node_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
867
993
|
effective_retention_window_in_days: Optional[pulumi.Input[_builtins.int]] = None,
|
|
868
994
|
effective_stopped: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
995
|
+
effective_usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
869
996
|
enable_pg_native_login: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
870
997
|
enable_readable_secondaries: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
871
998
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -879,7 +1006,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
879
1006
|
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
880
1007
|
stopped: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
881
1008
|
uid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
882
|
-
|
|
1009
|
+
usage_policy_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'DatabaseInstance':
|
|
883
1010
|
"""
|
|
884
1011
|
Get an existing DatabaseInstance resource's state with the given name, id, and optional extra
|
|
885
1012
|
properties used to qualify the lookup.
|
|
@@ -892,26 +1019,22 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
892
1019
|
parent instance
|
|
893
1020
|
:param pulumi.Input[_builtins.str] creation_time: (string) - The timestamp when the instance was created
|
|
894
1021
|
:param pulumi.Input[_builtins.str] creator: (string) - The email of the creator of the instance
|
|
895
|
-
:param pulumi.Input[
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
:param pulumi.Input[_builtins.bool]
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
:param pulumi.Input[_builtins.
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
:param pulumi.Input[_builtins.bool] effective_stopped: (boolean) - xref AIP-129. `stopped` is owned by the client, while `effective_stopped` is owned by the server.
|
|
908
|
-
`stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
909
|
-
`effective_stopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
910
|
-
:param pulumi.Input[_builtins.bool] enable_pg_native_login: Whether the instance has PG native password login enabled. Defaults to true
|
|
1022
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceCustomTagArgs', 'DatabaseInstanceCustomTagArgsDict']]]] custom_tags: Custom tags associated with the instance. This field is only included on create and update responses
|
|
1023
|
+
:param pulumi.Input[_builtins.str] effective_capacity: (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity
|
|
1024
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabaseInstanceEffectiveCustomTagArgs', 'DatabaseInstanceEffectiveCustomTagArgsDict']]]] effective_custom_tags: (list of CustomTag) - The recorded custom tags associated with the instance
|
|
1025
|
+
:param pulumi.Input[_builtins.bool] effective_enable_pg_native_login: (boolean) - Whether the instance has PG native password login enabled
|
|
1026
|
+
:param pulumi.Input[_builtins.bool] effective_enable_readable_secondaries: (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false
|
|
1027
|
+
:param pulumi.Input[_builtins.int] effective_node_count: (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
1028
|
+
1 primary and 0 secondaries
|
|
1029
|
+
:param pulumi.Input[_builtins.int] effective_retention_window_in_days: (integer) - The retention window for the instance. This is the time window in days
|
|
1030
|
+
for which the historical data is retained
|
|
1031
|
+
:param pulumi.Input[_builtins.bool] effective_stopped: (boolean) - Whether the instance is stopped
|
|
1032
|
+
:param pulumi.Input[_builtins.str] effective_usage_policy_id: (string) - The policy that is applied to the instance
|
|
1033
|
+
:param pulumi.Input[_builtins.bool] enable_pg_native_login: Whether to enable PG native password login on the instance. Defaults to false
|
|
911
1034
|
:param pulumi.Input[_builtins.bool] enable_readable_secondaries: Whether to enable secondaries to serve read-only traffic. Defaults to false
|
|
912
1035
|
:param pulumi.Input[_builtins.str] name: The name of the instance. This is the unique identifier for the instance
|
|
913
1036
|
:param pulumi.Input[_builtins.int] node_count: The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
914
|
-
1 primary and 0 secondaries
|
|
1037
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
915
1038
|
:param pulumi.Input[Union['DatabaseInstanceParentInstanceRefArgs', 'DatabaseInstanceParentInstanceRefArgsDict']] parent_instance_ref: The ref of the parent instance. This is only available if the instance is
|
|
916
1039
|
child instance.
|
|
917
1040
|
Input: For specifying the parent instance to create a child instance. Optional.
|
|
@@ -925,9 +1048,9 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
925
1048
|
for which the historical data is retained. The default value is 7 days.
|
|
926
1049
|
Valid values are 2 to 35 days
|
|
927
1050
|
:param pulumi.Input[_builtins.str] state: (string) - The current state of the instance. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
928
|
-
:param pulumi.Input[_builtins.bool] stopped: Whether the instance
|
|
1051
|
+
:param pulumi.Input[_builtins.bool] stopped: Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
929
1052
|
:param pulumi.Input[_builtins.str] uid: (string) - Id of the ref database instance
|
|
930
|
-
:param pulumi.Input[_builtins.str]
|
|
1053
|
+
:param pulumi.Input[_builtins.str] usage_policy_id: The desired usage policy to associate with the instance
|
|
931
1054
|
"""
|
|
932
1055
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
933
1056
|
|
|
@@ -937,11 +1060,15 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
937
1060
|
__props__.__dict__["child_instance_refs"] = child_instance_refs
|
|
938
1061
|
__props__.__dict__["creation_time"] = creation_time
|
|
939
1062
|
__props__.__dict__["creator"] = creator
|
|
1063
|
+
__props__.__dict__["custom_tags"] = custom_tags
|
|
1064
|
+
__props__.__dict__["effective_capacity"] = effective_capacity
|
|
1065
|
+
__props__.__dict__["effective_custom_tags"] = effective_custom_tags
|
|
940
1066
|
__props__.__dict__["effective_enable_pg_native_login"] = effective_enable_pg_native_login
|
|
941
1067
|
__props__.__dict__["effective_enable_readable_secondaries"] = effective_enable_readable_secondaries
|
|
942
1068
|
__props__.__dict__["effective_node_count"] = effective_node_count
|
|
943
1069
|
__props__.__dict__["effective_retention_window_in_days"] = effective_retention_window_in_days
|
|
944
1070
|
__props__.__dict__["effective_stopped"] = effective_stopped
|
|
1071
|
+
__props__.__dict__["effective_usage_policy_id"] = effective_usage_policy_id
|
|
945
1072
|
__props__.__dict__["enable_pg_native_login"] = enable_pg_native_login
|
|
946
1073
|
__props__.__dict__["enable_readable_secondaries"] = enable_readable_secondaries
|
|
947
1074
|
__props__.__dict__["name"] = name
|
|
@@ -955,7 +1082,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
955
1082
|
__props__.__dict__["state"] = state
|
|
956
1083
|
__props__.__dict__["stopped"] = stopped
|
|
957
1084
|
__props__.__dict__["uid"] = uid
|
|
958
|
-
__props__.__dict__["
|
|
1085
|
+
__props__.__dict__["usage_policy_id"] = usage_policy_id
|
|
959
1086
|
return DatabaseInstance(resource_name, opts=opts, __props__=__props__)
|
|
960
1087
|
|
|
961
1088
|
@_builtins.property
|
|
@@ -991,13 +1118,35 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
991
1118
|
"""
|
|
992
1119
|
return pulumi.get(self, "creator")
|
|
993
1120
|
|
|
1121
|
+
@_builtins.property
|
|
1122
|
+
@pulumi.getter(name="customTags")
|
|
1123
|
+
def custom_tags(self) -> pulumi.Output[Sequence['outputs.DatabaseInstanceCustomTag']]:
|
|
1124
|
+
"""
|
|
1125
|
+
Custom tags associated with the instance. This field is only included on create and update responses
|
|
1126
|
+
"""
|
|
1127
|
+
return pulumi.get(self, "custom_tags")
|
|
1128
|
+
|
|
1129
|
+
@_builtins.property
|
|
1130
|
+
@pulumi.getter(name="effectiveCapacity")
|
|
1131
|
+
def effective_capacity(self) -> pulumi.Output[_builtins.str]:
|
|
1132
|
+
"""
|
|
1133
|
+
(string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity
|
|
1134
|
+
"""
|
|
1135
|
+
return pulumi.get(self, "effective_capacity")
|
|
1136
|
+
|
|
1137
|
+
@_builtins.property
|
|
1138
|
+
@pulumi.getter(name="effectiveCustomTags")
|
|
1139
|
+
def effective_custom_tags(self) -> pulumi.Output[Sequence['outputs.DatabaseInstanceEffectiveCustomTag']]:
|
|
1140
|
+
"""
|
|
1141
|
+
(list of CustomTag) - The recorded custom tags associated with the instance
|
|
1142
|
+
"""
|
|
1143
|
+
return pulumi.get(self, "effective_custom_tags")
|
|
1144
|
+
|
|
994
1145
|
@_builtins.property
|
|
995
1146
|
@pulumi.getter(name="effectiveEnablePgNativeLogin")
|
|
996
1147
|
def effective_enable_pg_native_login(self) -> pulumi.Output[_builtins.bool]:
|
|
997
1148
|
"""
|
|
998
|
-
(boolean) -
|
|
999
|
-
`enable_pg_native_login` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
1000
|
-
`effective_enable_pg_native_login` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
1149
|
+
(boolean) - Whether the instance has PG native password login enabled
|
|
1001
1150
|
"""
|
|
1002
1151
|
return pulumi.get(self, "effective_enable_pg_native_login")
|
|
1003
1152
|
|
|
@@ -1005,9 +1154,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1005
1154
|
@pulumi.getter(name="effectiveEnableReadableSecondaries")
|
|
1006
1155
|
def effective_enable_readable_secondaries(self) -> pulumi.Output[_builtins.bool]:
|
|
1007
1156
|
"""
|
|
1008
|
-
(boolean) -
|
|
1009
|
-
`enable_readable_secondaries` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
1010
|
-
`effective_enable_readable_secondaries` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
1157
|
+
(boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false
|
|
1011
1158
|
"""
|
|
1012
1159
|
return pulumi.get(self, "effective_enable_readable_secondaries")
|
|
1013
1160
|
|
|
@@ -1015,9 +1162,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1015
1162
|
@pulumi.getter(name="effectiveNodeCount")
|
|
1016
1163
|
def effective_node_count(self) -> pulumi.Output[_builtins.int]:
|
|
1017
1164
|
"""
|
|
1018
|
-
(integer) -
|
|
1019
|
-
|
|
1020
|
-
`effective_node_count` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
1165
|
+
(integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
1166
|
+
1 primary and 0 secondaries
|
|
1021
1167
|
"""
|
|
1022
1168
|
return pulumi.get(self, "effective_node_count")
|
|
1023
1169
|
|
|
@@ -1025,9 +1171,8 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1025
1171
|
@pulumi.getter(name="effectiveRetentionWindowInDays")
|
|
1026
1172
|
def effective_retention_window_in_days(self) -> pulumi.Output[_builtins.int]:
|
|
1027
1173
|
"""
|
|
1028
|
-
(integer) -
|
|
1029
|
-
|
|
1030
|
-
`effective_retention_window_in_days` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
1174
|
+
(integer) - The retention window for the instance. This is the time window in days
|
|
1175
|
+
for which the historical data is retained
|
|
1031
1176
|
"""
|
|
1032
1177
|
return pulumi.get(self, "effective_retention_window_in_days")
|
|
1033
1178
|
|
|
@@ -1035,23 +1180,29 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1035
1180
|
@pulumi.getter(name="effectiveStopped")
|
|
1036
1181
|
def effective_stopped(self) -> pulumi.Output[_builtins.bool]:
|
|
1037
1182
|
"""
|
|
1038
|
-
(boolean) -
|
|
1039
|
-
`stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
1040
|
-
`effective_stopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
1183
|
+
(boolean) - Whether the instance is stopped
|
|
1041
1184
|
"""
|
|
1042
1185
|
return pulumi.get(self, "effective_stopped")
|
|
1043
1186
|
|
|
1187
|
+
@_builtins.property
|
|
1188
|
+
@pulumi.getter(name="effectiveUsagePolicyId")
|
|
1189
|
+
def effective_usage_policy_id(self) -> pulumi.Output[_builtins.str]:
|
|
1190
|
+
"""
|
|
1191
|
+
(string) - The policy that is applied to the instance
|
|
1192
|
+
"""
|
|
1193
|
+
return pulumi.get(self, "effective_usage_policy_id")
|
|
1194
|
+
|
|
1044
1195
|
@_builtins.property
|
|
1045
1196
|
@pulumi.getter(name="enablePgNativeLogin")
|
|
1046
1197
|
def enable_pg_native_login(self) -> pulumi.Output[_builtins.bool]:
|
|
1047
1198
|
"""
|
|
1048
|
-
Whether
|
|
1199
|
+
Whether to enable PG native password login on the instance. Defaults to false
|
|
1049
1200
|
"""
|
|
1050
1201
|
return pulumi.get(self, "enable_pg_native_login")
|
|
1051
1202
|
|
|
1052
1203
|
@_builtins.property
|
|
1053
1204
|
@pulumi.getter(name="enableReadableSecondaries")
|
|
1054
|
-
def enable_readable_secondaries(self) -> pulumi.Output[
|
|
1205
|
+
def enable_readable_secondaries(self) -> pulumi.Output[_builtins.bool]:
|
|
1055
1206
|
"""
|
|
1056
1207
|
Whether to enable secondaries to serve read-only traffic. Defaults to false
|
|
1057
1208
|
"""
|
|
@@ -1067,10 +1218,10 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1067
1218
|
|
|
1068
1219
|
@_builtins.property
|
|
1069
1220
|
@pulumi.getter(name="nodeCount")
|
|
1070
|
-
def node_count(self) -> pulumi.Output[
|
|
1221
|
+
def node_count(self) -> pulumi.Output[_builtins.int]:
|
|
1071
1222
|
"""
|
|
1072
1223
|
The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
|
|
1073
|
-
1 primary and 0 secondaries
|
|
1224
|
+
1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
|
|
1074
1225
|
"""
|
|
1075
1226
|
return pulumi.get(self, "node_count")
|
|
1076
1227
|
|
|
@@ -1120,7 +1271,7 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1120
1271
|
|
|
1121
1272
|
@_builtins.property
|
|
1122
1273
|
@pulumi.getter(name="retentionWindowInDays")
|
|
1123
|
-
def retention_window_in_days(self) -> pulumi.Output[
|
|
1274
|
+
def retention_window_in_days(self) -> pulumi.Output[_builtins.int]:
|
|
1124
1275
|
"""
|
|
1125
1276
|
The retention window for the instance. This is the time window in days
|
|
1126
1277
|
for which the historical data is retained. The default value is 7 days.
|
|
@@ -1138,9 +1289,9 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1138
1289
|
|
|
1139
1290
|
@_builtins.property
|
|
1140
1291
|
@pulumi.getter
|
|
1141
|
-
def stopped(self) -> pulumi.Output[
|
|
1292
|
+
def stopped(self) -> pulumi.Output[_builtins.bool]:
|
|
1142
1293
|
"""
|
|
1143
|
-
Whether the instance
|
|
1294
|
+
Whether to stop the instance. An input only param, see effective_stopped for the output
|
|
1144
1295
|
"""
|
|
1145
1296
|
return pulumi.get(self, "stopped")
|
|
1146
1297
|
|
|
@@ -1153,10 +1304,10 @@ class DatabaseInstance(pulumi.CustomResource):
|
|
|
1153
1304
|
return pulumi.get(self, "uid")
|
|
1154
1305
|
|
|
1155
1306
|
@_builtins.property
|
|
1156
|
-
@pulumi.getter(name="
|
|
1157
|
-
def
|
|
1307
|
+
@pulumi.getter(name="usagePolicyId")
|
|
1308
|
+
def usage_policy_id(self) -> pulumi.Output[_builtins.str]:
|
|
1158
1309
|
"""
|
|
1159
|
-
|
|
1310
|
+
The desired usage policy to associate with the instance
|
|
1160
1311
|
"""
|
|
1161
|
-
return pulumi.get(self, "
|
|
1312
|
+
return pulumi.get(self, "usage_policy_id")
|
|
1162
1313
|
|