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
|
|
@@ -20,30 +19,30 @@ __all__ = ['MwsLogDeliveryArgs', 'MwsLogDelivery']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class MwsLogDeliveryArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
account_id: pulumi.Input[
|
|
24
|
-
credentials_id: pulumi.Input[
|
|
25
|
-
log_type: pulumi.Input[
|
|
26
|
-
output_format: pulumi.Input[
|
|
27
|
-
storage_configuration_id: pulumi.Input[
|
|
28
|
-
config_id: Optional[pulumi.Input[
|
|
29
|
-
config_name: Optional[pulumi.Input[
|
|
30
|
-
delivery_path_prefix: Optional[pulumi.Input[
|
|
31
|
-
delivery_start_time: Optional[pulumi.Input[
|
|
32
|
-
status: Optional[pulumi.Input[
|
|
33
|
-
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
22
|
+
account_id: pulumi.Input[_builtins.str],
|
|
23
|
+
credentials_id: pulumi.Input[_builtins.str],
|
|
24
|
+
log_type: pulumi.Input[_builtins.str],
|
|
25
|
+
output_format: pulumi.Input[_builtins.str],
|
|
26
|
+
storage_configuration_id: pulumi.Input[_builtins.str],
|
|
27
|
+
config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
config_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None):
|
|
34
33
|
"""
|
|
35
34
|
The set of arguments for constructing a MwsLogDelivery resource.
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
35
|
+
:param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
36
|
+
:param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
|
|
37
|
+
:param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
|
|
38
|
+
:param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
|
|
39
|
+
:param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
|
|
40
|
+
:param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
|
|
41
|
+
:param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
|
|
42
|
+
:param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
|
|
43
|
+
:param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
|
|
44
|
+
:param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
|
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
|
|
47
46
|
"""
|
|
48
47
|
pulumi.set(__self__, "account_id", account_id)
|
|
49
48
|
pulumi.set(__self__, "credentials_id", credentials_id)
|
|
@@ -63,166 +62,166 @@ class MwsLogDeliveryArgs:
|
|
|
63
62
|
if workspace_ids_filters is not None:
|
|
64
63
|
pulumi.set(__self__, "workspace_ids_filters", workspace_ids_filters)
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter(name="accountId")
|
|
68
|
-
def account_id(self) -> pulumi.Input[
|
|
67
|
+
def account_id(self) -> pulumi.Input[_builtins.str]:
|
|
69
68
|
"""
|
|
70
69
|
Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
71
70
|
"""
|
|
72
71
|
return pulumi.get(self, "account_id")
|
|
73
72
|
|
|
74
73
|
@account_id.setter
|
|
75
|
-
def account_id(self, value: pulumi.Input[
|
|
74
|
+
def account_id(self, value: pulumi.Input[_builtins.str]):
|
|
76
75
|
pulumi.set(self, "account_id", value)
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter(name="credentialsId")
|
|
80
|
-
def credentials_id(self) -> pulumi.Input[
|
|
79
|
+
def credentials_id(self) -> pulumi.Input[_builtins.str]:
|
|
81
80
|
"""
|
|
82
81
|
The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
|
|
83
82
|
"""
|
|
84
83
|
return pulumi.get(self, "credentials_id")
|
|
85
84
|
|
|
86
85
|
@credentials_id.setter
|
|
87
|
-
def credentials_id(self, value: pulumi.Input[
|
|
86
|
+
def credentials_id(self, value: pulumi.Input[_builtins.str]):
|
|
88
87
|
pulumi.set(self, "credentials_id", value)
|
|
89
88
|
|
|
90
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
91
90
|
@pulumi.getter(name="logType")
|
|
92
|
-
def log_type(self) -> pulumi.Input[
|
|
91
|
+
def log_type(self) -> pulumi.Input[_builtins.str]:
|
|
93
92
|
"""
|
|
94
93
|
The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
|
|
95
94
|
"""
|
|
96
95
|
return pulumi.get(self, "log_type")
|
|
97
96
|
|
|
98
97
|
@log_type.setter
|
|
99
|
-
def log_type(self, value: pulumi.Input[
|
|
98
|
+
def log_type(self, value: pulumi.Input[_builtins.str]):
|
|
100
99
|
pulumi.set(self, "log_type", value)
|
|
101
100
|
|
|
102
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
103
102
|
@pulumi.getter(name="outputFormat")
|
|
104
|
-
def output_format(self) -> pulumi.Input[
|
|
103
|
+
def output_format(self) -> pulumi.Input[_builtins.str]:
|
|
105
104
|
"""
|
|
106
105
|
The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
|
|
107
106
|
"""
|
|
108
107
|
return pulumi.get(self, "output_format")
|
|
109
108
|
|
|
110
109
|
@output_format.setter
|
|
111
|
-
def output_format(self, value: pulumi.Input[
|
|
110
|
+
def output_format(self, value: pulumi.Input[_builtins.str]):
|
|
112
111
|
pulumi.set(self, "output_format", value)
|
|
113
112
|
|
|
114
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
115
114
|
@pulumi.getter(name="storageConfigurationId")
|
|
116
|
-
def storage_configuration_id(self) -> pulumi.Input[
|
|
115
|
+
def storage_configuration_id(self) -> pulumi.Input[_builtins.str]:
|
|
117
116
|
"""
|
|
118
117
|
The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
|
|
119
118
|
"""
|
|
120
119
|
return pulumi.get(self, "storage_configuration_id")
|
|
121
120
|
|
|
122
121
|
@storage_configuration_id.setter
|
|
123
|
-
def storage_configuration_id(self, value: pulumi.Input[
|
|
122
|
+
def storage_configuration_id(self, value: pulumi.Input[_builtins.str]):
|
|
124
123
|
pulumi.set(self, "storage_configuration_id", value)
|
|
125
124
|
|
|
126
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
127
126
|
@pulumi.getter(name="configId")
|
|
128
|
-
def config_id(self) -> Optional[pulumi.Input[
|
|
127
|
+
def config_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
129
128
|
"""
|
|
130
129
|
Databricks log delivery configuration ID.
|
|
131
130
|
"""
|
|
132
131
|
return pulumi.get(self, "config_id")
|
|
133
132
|
|
|
134
133
|
@config_id.setter
|
|
135
|
-
def config_id(self, value: Optional[pulumi.Input[
|
|
134
|
+
def config_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
136
135
|
pulumi.set(self, "config_id", value)
|
|
137
136
|
|
|
138
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
139
138
|
@pulumi.getter(name="configName")
|
|
140
|
-
def config_name(self) -> Optional[pulumi.Input[
|
|
139
|
+
def config_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
141
140
|
"""
|
|
142
141
|
The optional human-readable name of the log delivery configuration. Defaults to empty.
|
|
143
142
|
"""
|
|
144
143
|
return pulumi.get(self, "config_name")
|
|
145
144
|
|
|
146
145
|
@config_name.setter
|
|
147
|
-
def config_name(self, value: Optional[pulumi.Input[
|
|
146
|
+
def config_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
148
147
|
pulumi.set(self, "config_name", value)
|
|
149
148
|
|
|
150
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
151
150
|
@pulumi.getter(name="deliveryPathPrefix")
|
|
152
|
-
def delivery_path_prefix(self) -> Optional[pulumi.Input[
|
|
151
|
+
def delivery_path_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
153
152
|
"""
|
|
154
153
|
Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
|
|
155
154
|
"""
|
|
156
155
|
return pulumi.get(self, "delivery_path_prefix")
|
|
157
156
|
|
|
158
157
|
@delivery_path_prefix.setter
|
|
159
|
-
def delivery_path_prefix(self, value: Optional[pulumi.Input[
|
|
158
|
+
def delivery_path_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
160
159
|
pulumi.set(self, "delivery_path_prefix", value)
|
|
161
160
|
|
|
162
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
163
162
|
@pulumi.getter(name="deliveryStartTime")
|
|
164
|
-
def delivery_start_time(self) -> Optional[pulumi.Input[
|
|
163
|
+
def delivery_start_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
165
164
|
"""
|
|
166
165
|
The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
|
|
167
166
|
"""
|
|
168
167
|
return pulumi.get(self, "delivery_start_time")
|
|
169
168
|
|
|
170
169
|
@delivery_start_time.setter
|
|
171
|
-
def delivery_start_time(self, value: Optional[pulumi.Input[
|
|
170
|
+
def delivery_start_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
172
171
|
pulumi.set(self, "delivery_start_time", value)
|
|
173
172
|
|
|
174
|
-
@property
|
|
173
|
+
@_builtins.property
|
|
175
174
|
@pulumi.getter
|
|
176
|
-
def status(self) -> Optional[pulumi.Input[
|
|
175
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
177
176
|
"""
|
|
178
177
|
Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
|
|
179
178
|
"""
|
|
180
179
|
return pulumi.get(self, "status")
|
|
181
180
|
|
|
182
181
|
@status.setter
|
|
183
|
-
def status(self, value: Optional[pulumi.Input[
|
|
182
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
184
183
|
pulumi.set(self, "status", value)
|
|
185
184
|
|
|
186
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
187
186
|
@pulumi.getter(name="workspaceIdsFilters")
|
|
188
|
-
def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
187
|
+
def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
189
188
|
"""
|
|
190
189
|
By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
|
|
191
190
|
"""
|
|
192
191
|
return pulumi.get(self, "workspace_ids_filters")
|
|
193
192
|
|
|
194
193
|
@workspace_ids_filters.setter
|
|
195
|
-
def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
194
|
+
def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
|
|
196
195
|
pulumi.set(self, "workspace_ids_filters", value)
|
|
197
196
|
|
|
198
197
|
|
|
199
198
|
@pulumi.input_type
|
|
200
199
|
class _MwsLogDeliveryState:
|
|
201
200
|
def __init__(__self__, *,
|
|
202
|
-
account_id: Optional[pulumi.Input[
|
|
203
|
-
config_id: Optional[pulumi.Input[
|
|
204
|
-
config_name: Optional[pulumi.Input[
|
|
205
|
-
credentials_id: Optional[pulumi.Input[
|
|
206
|
-
delivery_path_prefix: Optional[pulumi.Input[
|
|
207
|
-
delivery_start_time: Optional[pulumi.Input[
|
|
208
|
-
log_type: Optional[pulumi.Input[
|
|
209
|
-
output_format: Optional[pulumi.Input[
|
|
210
|
-
status: Optional[pulumi.Input[
|
|
211
|
-
storage_configuration_id: Optional[pulumi.Input[
|
|
212
|
-
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
201
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
202
|
+
config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
|
+
config_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
204
|
+
credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
+
delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
206
|
+
delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
207
|
+
log_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
208
|
+
output_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
209
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
210
|
+
storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
211
|
+
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None):
|
|
213
212
|
"""
|
|
214
213
|
Input properties used for looking up and filtering MwsLogDelivery resources.
|
|
215
|
-
:param pulumi.Input[
|
|
216
|
-
:param pulumi.Input[
|
|
217
|
-
:param pulumi.Input[
|
|
218
|
-
:param pulumi.Input[
|
|
219
|
-
:param pulumi.Input[
|
|
220
|
-
:param pulumi.Input[
|
|
221
|
-
:param pulumi.Input[
|
|
222
|
-
:param pulumi.Input[
|
|
223
|
-
:param pulumi.Input[
|
|
224
|
-
:param pulumi.Input[
|
|
225
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
214
|
+
:param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
215
|
+
:param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
|
|
216
|
+
:param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
|
|
217
|
+
:param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
|
|
218
|
+
:param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
|
|
219
|
+
:param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
|
|
220
|
+
:param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
|
|
221
|
+
:param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
|
|
222
|
+
:param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
|
|
223
|
+
:param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
|
|
224
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
|
|
226
225
|
"""
|
|
227
226
|
if account_id is not None:
|
|
228
227
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -247,136 +246,136 @@ class _MwsLogDeliveryState:
|
|
|
247
246
|
if workspace_ids_filters is not None:
|
|
248
247
|
pulumi.set(__self__, "workspace_ids_filters", workspace_ids_filters)
|
|
249
248
|
|
|
250
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
251
250
|
@pulumi.getter(name="accountId")
|
|
252
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
251
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
253
252
|
"""
|
|
254
253
|
Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
255
254
|
"""
|
|
256
255
|
return pulumi.get(self, "account_id")
|
|
257
256
|
|
|
258
257
|
@account_id.setter
|
|
259
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
258
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
260
259
|
pulumi.set(self, "account_id", value)
|
|
261
260
|
|
|
262
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
263
262
|
@pulumi.getter(name="configId")
|
|
264
|
-
def config_id(self) -> Optional[pulumi.Input[
|
|
263
|
+
def config_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
265
264
|
"""
|
|
266
265
|
Databricks log delivery configuration ID.
|
|
267
266
|
"""
|
|
268
267
|
return pulumi.get(self, "config_id")
|
|
269
268
|
|
|
270
269
|
@config_id.setter
|
|
271
|
-
def config_id(self, value: Optional[pulumi.Input[
|
|
270
|
+
def config_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
272
271
|
pulumi.set(self, "config_id", value)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="configName")
|
|
276
|
-
def config_name(self) -> Optional[pulumi.Input[
|
|
275
|
+
def config_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
277
276
|
"""
|
|
278
277
|
The optional human-readable name of the log delivery configuration. Defaults to empty.
|
|
279
278
|
"""
|
|
280
279
|
return pulumi.get(self, "config_name")
|
|
281
280
|
|
|
282
281
|
@config_name.setter
|
|
283
|
-
def config_name(self, value: Optional[pulumi.Input[
|
|
282
|
+
def config_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
284
283
|
pulumi.set(self, "config_name", value)
|
|
285
284
|
|
|
286
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
287
286
|
@pulumi.getter(name="credentialsId")
|
|
288
|
-
def credentials_id(self) -> Optional[pulumi.Input[
|
|
287
|
+
def credentials_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
289
288
|
"""
|
|
290
289
|
The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
|
|
291
290
|
"""
|
|
292
291
|
return pulumi.get(self, "credentials_id")
|
|
293
292
|
|
|
294
293
|
@credentials_id.setter
|
|
295
|
-
def credentials_id(self, value: Optional[pulumi.Input[
|
|
294
|
+
def credentials_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
296
295
|
pulumi.set(self, "credentials_id", value)
|
|
297
296
|
|
|
298
|
-
@property
|
|
297
|
+
@_builtins.property
|
|
299
298
|
@pulumi.getter(name="deliveryPathPrefix")
|
|
300
|
-
def delivery_path_prefix(self) -> Optional[pulumi.Input[
|
|
299
|
+
def delivery_path_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
301
300
|
"""
|
|
302
301
|
Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
|
|
303
302
|
"""
|
|
304
303
|
return pulumi.get(self, "delivery_path_prefix")
|
|
305
304
|
|
|
306
305
|
@delivery_path_prefix.setter
|
|
307
|
-
def delivery_path_prefix(self, value: Optional[pulumi.Input[
|
|
306
|
+
def delivery_path_prefix(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
308
307
|
pulumi.set(self, "delivery_path_prefix", value)
|
|
309
308
|
|
|
310
|
-
@property
|
|
309
|
+
@_builtins.property
|
|
311
310
|
@pulumi.getter(name="deliveryStartTime")
|
|
312
|
-
def delivery_start_time(self) -> Optional[pulumi.Input[
|
|
311
|
+
def delivery_start_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
313
312
|
"""
|
|
314
313
|
The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
|
|
315
314
|
"""
|
|
316
315
|
return pulumi.get(self, "delivery_start_time")
|
|
317
316
|
|
|
318
317
|
@delivery_start_time.setter
|
|
319
|
-
def delivery_start_time(self, value: Optional[pulumi.Input[
|
|
318
|
+
def delivery_start_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
320
319
|
pulumi.set(self, "delivery_start_time", value)
|
|
321
320
|
|
|
322
|
-
@property
|
|
321
|
+
@_builtins.property
|
|
323
322
|
@pulumi.getter(name="logType")
|
|
324
|
-
def log_type(self) -> Optional[pulumi.Input[
|
|
323
|
+
def log_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
325
324
|
"""
|
|
326
325
|
The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
|
|
327
326
|
"""
|
|
328
327
|
return pulumi.get(self, "log_type")
|
|
329
328
|
|
|
330
329
|
@log_type.setter
|
|
331
|
-
def log_type(self, value: Optional[pulumi.Input[
|
|
330
|
+
def log_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
332
331
|
pulumi.set(self, "log_type", value)
|
|
333
332
|
|
|
334
|
-
@property
|
|
333
|
+
@_builtins.property
|
|
335
334
|
@pulumi.getter(name="outputFormat")
|
|
336
|
-
def output_format(self) -> Optional[pulumi.Input[
|
|
335
|
+
def output_format(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
337
336
|
"""
|
|
338
337
|
The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
|
|
339
338
|
"""
|
|
340
339
|
return pulumi.get(self, "output_format")
|
|
341
340
|
|
|
342
341
|
@output_format.setter
|
|
343
|
-
def output_format(self, value: Optional[pulumi.Input[
|
|
342
|
+
def output_format(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
344
343
|
pulumi.set(self, "output_format", value)
|
|
345
344
|
|
|
346
|
-
@property
|
|
345
|
+
@_builtins.property
|
|
347
346
|
@pulumi.getter
|
|
348
|
-
def status(self) -> Optional[pulumi.Input[
|
|
347
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
349
348
|
"""
|
|
350
349
|
Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
|
|
351
350
|
"""
|
|
352
351
|
return pulumi.get(self, "status")
|
|
353
352
|
|
|
354
353
|
@status.setter
|
|
355
|
-
def status(self, value: Optional[pulumi.Input[
|
|
354
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
356
355
|
pulumi.set(self, "status", value)
|
|
357
356
|
|
|
358
|
-
@property
|
|
357
|
+
@_builtins.property
|
|
359
358
|
@pulumi.getter(name="storageConfigurationId")
|
|
360
|
-
def storage_configuration_id(self) -> Optional[pulumi.Input[
|
|
359
|
+
def storage_configuration_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
361
360
|
"""
|
|
362
361
|
The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
|
|
363
362
|
"""
|
|
364
363
|
return pulumi.get(self, "storage_configuration_id")
|
|
365
364
|
|
|
366
365
|
@storage_configuration_id.setter
|
|
367
|
-
def storage_configuration_id(self, value: Optional[pulumi.Input[
|
|
366
|
+
def storage_configuration_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
368
367
|
pulumi.set(self, "storage_configuration_id", value)
|
|
369
368
|
|
|
370
|
-
@property
|
|
369
|
+
@_builtins.property
|
|
371
370
|
@pulumi.getter(name="workspaceIdsFilters")
|
|
372
|
-
def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
371
|
+
def workspace_ids_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
373
372
|
"""
|
|
374
373
|
By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
|
|
375
374
|
"""
|
|
376
375
|
return pulumi.get(self, "workspace_ids_filters")
|
|
377
376
|
|
|
378
377
|
@workspace_ids_filters.setter
|
|
379
|
-
def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
378
|
+
def workspace_ids_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
|
|
380
379
|
pulumi.set(self, "workspace_ids_filters", value)
|
|
381
380
|
|
|
382
381
|
|
|
@@ -386,17 +385,17 @@ class MwsLogDelivery(pulumi.CustomResource):
|
|
|
386
385
|
def __init__(__self__,
|
|
387
386
|
resource_name: str,
|
|
388
387
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
389
|
-
account_id: Optional[pulumi.Input[
|
|
390
|
-
config_id: Optional[pulumi.Input[
|
|
391
|
-
config_name: Optional[pulumi.Input[
|
|
392
|
-
credentials_id: Optional[pulumi.Input[
|
|
393
|
-
delivery_path_prefix: Optional[pulumi.Input[
|
|
394
|
-
delivery_start_time: Optional[pulumi.Input[
|
|
395
|
-
log_type: Optional[pulumi.Input[
|
|
396
|
-
output_format: Optional[pulumi.Input[
|
|
397
|
-
status: Optional[pulumi.Input[
|
|
398
|
-
storage_configuration_id: Optional[pulumi.Input[
|
|
399
|
-
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
388
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
389
|
+
config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
390
|
+
config_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
391
|
+
credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
392
|
+
delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
393
|
+
delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
394
|
+
log_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
395
|
+
output_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
396
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
397
|
+
storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
398
|
+
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
400
399
|
__props__=None):
|
|
401
400
|
"""
|
|
402
401
|
This resource configures the delivery of the two supported log types from Databricks workspaces: [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html).
|
|
@@ -460,17 +459,17 @@ class MwsLogDelivery(pulumi.CustomResource):
|
|
|
460
459
|
|
|
461
460
|
:param str resource_name: The name of the resource.
|
|
462
461
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
463
|
-
:param pulumi.Input[
|
|
464
|
-
:param pulumi.Input[
|
|
465
|
-
:param pulumi.Input[
|
|
466
|
-
:param pulumi.Input[
|
|
467
|
-
:param pulumi.Input[
|
|
468
|
-
:param pulumi.Input[
|
|
469
|
-
:param pulumi.Input[
|
|
470
|
-
:param pulumi.Input[
|
|
471
|
-
:param pulumi.Input[
|
|
472
|
-
:param pulumi.Input[
|
|
473
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
462
|
+
:param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
463
|
+
:param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
|
|
464
|
+
:param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
|
|
465
|
+
:param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
|
|
466
|
+
:param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
|
|
467
|
+
:param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
|
|
468
|
+
:param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
|
|
469
|
+
:param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
|
|
470
|
+
:param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
|
|
471
|
+
:param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
|
|
472
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
|
|
474
473
|
"""
|
|
475
474
|
...
|
|
476
475
|
@overload
|
|
@@ -553,17 +552,17 @@ class MwsLogDelivery(pulumi.CustomResource):
|
|
|
553
552
|
def _internal_init(__self__,
|
|
554
553
|
resource_name: str,
|
|
555
554
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
556
|
-
account_id: Optional[pulumi.Input[
|
|
557
|
-
config_id: Optional[pulumi.Input[
|
|
558
|
-
config_name: Optional[pulumi.Input[
|
|
559
|
-
credentials_id: Optional[pulumi.Input[
|
|
560
|
-
delivery_path_prefix: Optional[pulumi.Input[
|
|
561
|
-
delivery_start_time: Optional[pulumi.Input[
|
|
562
|
-
log_type: Optional[pulumi.Input[
|
|
563
|
-
output_format: Optional[pulumi.Input[
|
|
564
|
-
status: Optional[pulumi.Input[
|
|
565
|
-
storage_configuration_id: Optional[pulumi.Input[
|
|
566
|
-
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
555
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
556
|
+
config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
557
|
+
config_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
558
|
+
credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
559
|
+
delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
560
|
+
delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
561
|
+
log_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
562
|
+
output_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
563
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
564
|
+
storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
565
|
+
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
567
566
|
__props__=None):
|
|
568
567
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
569
568
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -604,17 +603,17 @@ class MwsLogDelivery(pulumi.CustomResource):
|
|
|
604
603
|
def get(resource_name: str,
|
|
605
604
|
id: pulumi.Input[str],
|
|
606
605
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
607
|
-
account_id: Optional[pulumi.Input[
|
|
608
|
-
config_id: Optional[pulumi.Input[
|
|
609
|
-
config_name: Optional[pulumi.Input[
|
|
610
|
-
credentials_id: Optional[pulumi.Input[
|
|
611
|
-
delivery_path_prefix: Optional[pulumi.Input[
|
|
612
|
-
delivery_start_time: Optional[pulumi.Input[
|
|
613
|
-
log_type: Optional[pulumi.Input[
|
|
614
|
-
output_format: Optional[pulumi.Input[
|
|
615
|
-
status: Optional[pulumi.Input[
|
|
616
|
-
storage_configuration_id: Optional[pulumi.Input[
|
|
617
|
-
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
606
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
607
|
+
config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
608
|
+
config_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
609
|
+
credentials_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
610
|
+
delivery_path_prefix: Optional[pulumi.Input[_builtins.str]] = None,
|
|
611
|
+
delivery_start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
612
|
+
log_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
613
|
+
output_format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
614
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
615
|
+
storage_configuration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
616
|
+
workspace_ids_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None) -> 'MwsLogDelivery':
|
|
618
617
|
"""
|
|
619
618
|
Get an existing MwsLogDelivery resource's state with the given name, id, and optional extra
|
|
620
619
|
properties used to qualify the lookup.
|
|
@@ -622,17 +621,17 @@ class MwsLogDelivery(pulumi.CustomResource):
|
|
|
622
621
|
:param str resource_name: The unique name of the resulting resource.
|
|
623
622
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
624
623
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
625
|
-
:param pulumi.Input[
|
|
626
|
-
:param pulumi.Input[
|
|
627
|
-
:param pulumi.Input[
|
|
628
|
-
:param pulumi.Input[
|
|
629
|
-
:param pulumi.Input[
|
|
630
|
-
:param pulumi.Input[
|
|
631
|
-
:param pulumi.Input[
|
|
632
|
-
:param pulumi.Input[
|
|
633
|
-
:param pulumi.Input[
|
|
634
|
-
:param pulumi.Input[
|
|
635
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
624
|
+
:param pulumi.Input[_builtins.str] account_id: Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
625
|
+
:param pulumi.Input[_builtins.str] config_id: Databricks log delivery configuration ID.
|
|
626
|
+
:param pulumi.Input[_builtins.str] config_name: The optional human-readable name of the log delivery configuration. Defaults to empty.
|
|
627
|
+
:param pulumi.Input[_builtins.str] credentials_id: The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
|
|
628
|
+
:param pulumi.Input[_builtins.str] delivery_path_prefix: Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
|
|
629
|
+
:param pulumi.Input[_builtins.str] delivery_start_time: The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
|
|
630
|
+
:param pulumi.Input[_builtins.str] log_type: The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
|
|
631
|
+
:param pulumi.Input[_builtins.str] output_format: The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
|
|
632
|
+
:param pulumi.Input[_builtins.str] status: Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
|
|
633
|
+
:param pulumi.Input[_builtins.str] storage_configuration_id: The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
|
|
634
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] workspace_ids_filters: By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
|
|
636
635
|
"""
|
|
637
636
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
638
637
|
|
|
@@ -651,89 +650,89 @@ class MwsLogDelivery(pulumi.CustomResource):
|
|
|
651
650
|
__props__.__dict__["workspace_ids_filters"] = workspace_ids_filters
|
|
652
651
|
return MwsLogDelivery(resource_name, opts=opts, __props__=__props__)
|
|
653
652
|
|
|
654
|
-
@property
|
|
653
|
+
@_builtins.property
|
|
655
654
|
@pulumi.getter(name="accountId")
|
|
656
|
-
def account_id(self) -> pulumi.Output[
|
|
655
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
657
656
|
"""
|
|
658
657
|
Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
659
658
|
"""
|
|
660
659
|
return pulumi.get(self, "account_id")
|
|
661
660
|
|
|
662
|
-
@property
|
|
661
|
+
@_builtins.property
|
|
663
662
|
@pulumi.getter(name="configId")
|
|
664
|
-
def config_id(self) -> pulumi.Output[
|
|
663
|
+
def config_id(self) -> pulumi.Output[_builtins.str]:
|
|
665
664
|
"""
|
|
666
665
|
Databricks log delivery configuration ID.
|
|
667
666
|
"""
|
|
668
667
|
return pulumi.get(self, "config_id")
|
|
669
668
|
|
|
670
|
-
@property
|
|
669
|
+
@_builtins.property
|
|
671
670
|
@pulumi.getter(name="configName")
|
|
672
|
-
def config_name(self) -> pulumi.Output[Optional[
|
|
671
|
+
def config_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
673
672
|
"""
|
|
674
673
|
The optional human-readable name of the log delivery configuration. Defaults to empty.
|
|
675
674
|
"""
|
|
676
675
|
return pulumi.get(self, "config_name")
|
|
677
676
|
|
|
678
|
-
@property
|
|
677
|
+
@_builtins.property
|
|
679
678
|
@pulumi.getter(name="credentialsId")
|
|
680
|
-
def credentials_id(self) -> pulumi.Output[
|
|
679
|
+
def credentials_id(self) -> pulumi.Output[_builtins.str]:
|
|
681
680
|
"""
|
|
682
681
|
The ID for a Databricks credential configuration that represents the AWS IAM role with policy and trust relationship as described in the main billable usage documentation page.
|
|
683
682
|
"""
|
|
684
683
|
return pulumi.get(self, "credentials_id")
|
|
685
684
|
|
|
686
|
-
@property
|
|
685
|
+
@_builtins.property
|
|
687
686
|
@pulumi.getter(name="deliveryPathPrefix")
|
|
688
|
-
def delivery_path_prefix(self) -> pulumi.Output[Optional[
|
|
687
|
+
def delivery_path_prefix(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
689
688
|
"""
|
|
690
689
|
Defaults to empty, which means that logs are delivered to the root of the bucket. The value must be a valid S3 object key. It must not start or end with a slash character.
|
|
691
690
|
"""
|
|
692
691
|
return pulumi.get(self, "delivery_path_prefix")
|
|
693
692
|
|
|
694
|
-
@property
|
|
693
|
+
@_builtins.property
|
|
695
694
|
@pulumi.getter(name="deliveryStartTime")
|
|
696
|
-
def delivery_start_time(self) -> pulumi.Output[
|
|
695
|
+
def delivery_start_time(self) -> pulumi.Output[_builtins.str]:
|
|
697
696
|
"""
|
|
698
697
|
The optional start month and year for delivery, specified in YYYY-MM format. Defaults to current year and month. Usage is not available before 2019-03.
|
|
699
698
|
"""
|
|
700
699
|
return pulumi.get(self, "delivery_start_time")
|
|
701
700
|
|
|
702
|
-
@property
|
|
701
|
+
@_builtins.property
|
|
703
702
|
@pulumi.getter(name="logType")
|
|
704
|
-
def log_type(self) -> pulumi.Output[
|
|
703
|
+
def log_type(self) -> pulumi.Output[_builtins.str]:
|
|
705
704
|
"""
|
|
706
705
|
The type of log delivery. `BILLABLE_USAGE` and `AUDIT_LOGS` are supported.
|
|
707
706
|
"""
|
|
708
707
|
return pulumi.get(self, "log_type")
|
|
709
708
|
|
|
710
|
-
@property
|
|
709
|
+
@_builtins.property
|
|
711
710
|
@pulumi.getter(name="outputFormat")
|
|
712
|
-
def output_format(self) -> pulumi.Output[
|
|
711
|
+
def output_format(self) -> pulumi.Output[_builtins.str]:
|
|
713
712
|
"""
|
|
714
713
|
The file type of log delivery. Currently `CSV` (for `BILLABLE_USAGE`) and `JSON` (for `AUDIT_LOGS`) are supported.
|
|
715
714
|
"""
|
|
716
715
|
return pulumi.get(self, "output_format")
|
|
717
716
|
|
|
718
|
-
@property
|
|
717
|
+
@_builtins.property
|
|
719
718
|
@pulumi.getter
|
|
720
|
-
def status(self) -> pulumi.Output[
|
|
719
|
+
def status(self) -> pulumi.Output[_builtins.str]:
|
|
721
720
|
"""
|
|
722
721
|
Status of log delivery configuration. Set to ENABLED or DISABLED. Defaults to ENABLED. This is the only field you can update.
|
|
723
722
|
"""
|
|
724
723
|
return pulumi.get(self, "status")
|
|
725
724
|
|
|
726
|
-
@property
|
|
725
|
+
@_builtins.property
|
|
727
726
|
@pulumi.getter(name="storageConfigurationId")
|
|
728
|
-
def storage_configuration_id(self) -> pulumi.Output[
|
|
727
|
+
def storage_configuration_id(self) -> pulumi.Output[_builtins.str]:
|
|
729
728
|
"""
|
|
730
729
|
The ID for a Databricks storage configuration that represents the S3 bucket with bucket policy as described in the main billable usage documentation page.
|
|
731
730
|
"""
|
|
732
731
|
return pulumi.get(self, "storage_configuration_id")
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="workspaceIdsFilters")
|
|
736
|
-
def workspace_ids_filters(self) -> pulumi.Output[Optional[Sequence[
|
|
735
|
+
def workspace_ids_filters(self) -> pulumi.Output[Optional[Sequence[_builtins.int]]]:
|
|
737
736
|
"""
|
|
738
737
|
By default, this log configuration applies to all workspaces associated with your account ID. If your account is on the multitenant version of the platform or on a select custom plan that allows multiple workspaces per account, you may have multiple workspaces associated with your account ID. You can optionally set the field as mentioned earlier to an array of workspace IDs. If you plan to use different log delivery configurations for several workspaces, set this explicitly rather than leaving it blank. If you leave this blank and your account ID gets additional workspaces in the future, this configuration will also apply to the new workspaces.
|
|
739
738
|
"""
|