pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetFeatureEngineeringMaterializedFeaturesResult',
|
|
20
|
+
'AwaitableGetFeatureEngineeringMaterializedFeaturesResult',
|
|
21
|
+
'get_feature_engineering_materialized_features',
|
|
22
|
+
'get_feature_engineering_materialized_features_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetFeatureEngineeringMaterializedFeaturesResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getFeatureEngineeringMaterializedFeatures.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, feature_name=None, id=None, materialized_features=None, page_size=None):
|
|
31
|
+
if feature_name and not isinstance(feature_name, str):
|
|
32
|
+
raise TypeError("Expected argument 'feature_name' to be a str")
|
|
33
|
+
pulumi.set(__self__, "feature_name", feature_name)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if materialized_features and not isinstance(materialized_features, list):
|
|
38
|
+
raise TypeError("Expected argument 'materialized_features' to be a list")
|
|
39
|
+
pulumi.set(__self__, "materialized_features", materialized_features)
|
|
40
|
+
if page_size and not isinstance(page_size, int):
|
|
41
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
42
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
43
|
+
|
|
44
|
+
@_builtins.property
|
|
45
|
+
@pulumi.getter(name="featureName")
|
|
46
|
+
def feature_name(self) -> Optional[_builtins.str]:
|
|
47
|
+
"""
|
|
48
|
+
(string) - The full name of the feature in Unity Catalog
|
|
49
|
+
"""
|
|
50
|
+
return pulumi.get(self, "feature_name")
|
|
51
|
+
|
|
52
|
+
@_builtins.property
|
|
53
|
+
@pulumi.getter
|
|
54
|
+
def id(self) -> _builtins.str:
|
|
55
|
+
"""
|
|
56
|
+
The provider-assigned unique ID for this managed resource.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "id")
|
|
59
|
+
|
|
60
|
+
@_builtins.property
|
|
61
|
+
@pulumi.getter(name="materializedFeatures")
|
|
62
|
+
def materialized_features(self) -> Sequence['outputs.GetFeatureEngineeringMaterializedFeaturesMaterializedFeatureResult']:
|
|
63
|
+
return pulumi.get(self, "materialized_features")
|
|
64
|
+
|
|
65
|
+
@_builtins.property
|
|
66
|
+
@pulumi.getter(name="pageSize")
|
|
67
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
68
|
+
return pulumi.get(self, "page_size")
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class AwaitableGetFeatureEngineeringMaterializedFeaturesResult(GetFeatureEngineeringMaterializedFeaturesResult):
|
|
72
|
+
# pylint: disable=using-constant-test
|
|
73
|
+
def __await__(self):
|
|
74
|
+
if False:
|
|
75
|
+
yield self
|
|
76
|
+
return GetFeatureEngineeringMaterializedFeaturesResult(
|
|
77
|
+
feature_name=self.feature_name,
|
|
78
|
+
id=self.id,
|
|
79
|
+
materialized_features=self.materialized_features,
|
|
80
|
+
page_size=self.page_size)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def get_feature_engineering_materialized_features(feature_name: Optional[_builtins.str] = None,
|
|
84
|
+
page_size: Optional[_builtins.int] = None,
|
|
85
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFeatureEngineeringMaterializedFeaturesResult:
|
|
86
|
+
"""
|
|
87
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:param _builtins.str feature_name: Filter by feature name. If specified, only materialized features materialized from this feature will be returned
|
|
91
|
+
:param _builtins.int page_size: The maximum number of results to return. Defaults to 100 if not specified. Cannot be greater than 1000
|
|
92
|
+
"""
|
|
93
|
+
__args__ = dict()
|
|
94
|
+
__args__['featureName'] = feature_name
|
|
95
|
+
__args__['pageSize'] = page_size
|
|
96
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
97
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getFeatureEngineeringMaterializedFeatures:getFeatureEngineeringMaterializedFeatures', __args__, opts=opts, typ=GetFeatureEngineeringMaterializedFeaturesResult).value
|
|
98
|
+
|
|
99
|
+
return AwaitableGetFeatureEngineeringMaterializedFeaturesResult(
|
|
100
|
+
feature_name=pulumi.get(__ret__, 'feature_name'),
|
|
101
|
+
id=pulumi.get(__ret__, 'id'),
|
|
102
|
+
materialized_features=pulumi.get(__ret__, 'materialized_features'),
|
|
103
|
+
page_size=pulumi.get(__ret__, 'page_size'))
|
|
104
|
+
def get_feature_engineering_materialized_features_output(feature_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
105
|
+
page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
106
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFeatureEngineeringMaterializedFeaturesResult]:
|
|
107
|
+
"""
|
|
108
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param _builtins.str feature_name: Filter by feature name. If specified, only materialized features materialized from this feature will be returned
|
|
112
|
+
:param _builtins.int page_size: The maximum number of results to return. Defaults to 100 if not specified. Cannot be greater than 1000
|
|
113
|
+
"""
|
|
114
|
+
__args__ = dict()
|
|
115
|
+
__args__['featureName'] = feature_name
|
|
116
|
+
__args__['pageSize'] = page_size
|
|
117
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
118
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getFeatureEngineeringMaterializedFeatures:getFeatureEngineeringMaterializedFeatures', __args__, opts=opts, typ=GetFeatureEngineeringMaterializedFeaturesResult)
|
|
119
|
+
return __ret__.apply(lambda __response__: GetFeatureEngineeringMaterializedFeaturesResult(
|
|
120
|
+
feature_name=pulumi.get(__response__, 'feature_name'),
|
|
121
|
+
id=pulumi.get(__response__, 'id'),
|
|
122
|
+
materialized_features=pulumi.get(__response__, 'materialized_features'),
|
|
123
|
+
page_size=pulumi.get(__response__, 'page_size')))
|
|
@@ -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
|
|
@@ -29,7 +28,7 @@ class GetFunctionsResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getFunctions.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, catalog_name=None, functions=None, id=None, include_browse=None, schema_name=None):
|
|
31
|
+
def __init__(__self__, catalog_name=None, functions=None, id=None, include_browse=None, provider_config=None, schema_name=None):
|
|
33
32
|
if catalog_name and not isinstance(catalog_name, str):
|
|
34
33
|
raise TypeError("Expected argument 'catalog_name' to be a str")
|
|
35
34
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
@@ -42,19 +41,22 @@ class GetFunctionsResult:
|
|
|
42
41
|
if include_browse and not isinstance(include_browse, bool):
|
|
43
42
|
raise TypeError("Expected argument 'include_browse' to be a bool")
|
|
44
43
|
pulumi.set(__self__, "include_browse", include_browse)
|
|
44
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
45
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
45
47
|
if schema_name and not isinstance(schema_name, str):
|
|
46
48
|
raise TypeError("Expected argument 'schema_name' to be a str")
|
|
47
49
|
pulumi.set(__self__, "schema_name", schema_name)
|
|
48
50
|
|
|
49
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
50
52
|
@pulumi.getter(name="catalogName")
|
|
51
|
-
def catalog_name(self) ->
|
|
53
|
+
def catalog_name(self) -> _builtins.str:
|
|
52
54
|
"""
|
|
53
55
|
Name of parent catalog.
|
|
54
56
|
"""
|
|
55
57
|
return pulumi.get(self, "catalog_name")
|
|
56
58
|
|
|
57
|
-
@property
|
|
59
|
+
@_builtins.property
|
|
58
60
|
@pulumi.getter
|
|
59
61
|
def functions(self) -> Sequence['outputs.GetFunctionsFunctionResult']:
|
|
60
62
|
"""
|
|
@@ -62,22 +64,27 @@ class GetFunctionsResult:
|
|
|
62
64
|
"""
|
|
63
65
|
return pulumi.get(self, "functions")
|
|
64
66
|
|
|
65
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
66
68
|
@pulumi.getter
|
|
67
|
-
def id(self) ->
|
|
69
|
+
def id(self) -> _builtins.str:
|
|
68
70
|
"""
|
|
69
71
|
The provider-assigned unique ID for this managed resource.
|
|
70
72
|
"""
|
|
71
73
|
return pulumi.get(self, "id")
|
|
72
74
|
|
|
73
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
74
76
|
@pulumi.getter(name="includeBrowse")
|
|
75
|
-
def include_browse(self) -> Optional[
|
|
77
|
+
def include_browse(self) -> Optional[_builtins.bool]:
|
|
76
78
|
return pulumi.get(self, "include_browse")
|
|
77
79
|
|
|
78
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
81
|
+
@pulumi.getter(name="providerConfig")
|
|
82
|
+
def provider_config(self) -> Optional['outputs.GetFunctionsProviderConfigResult']:
|
|
83
|
+
return pulumi.get(self, "provider_config")
|
|
84
|
+
|
|
85
|
+
@_builtins.property
|
|
79
86
|
@pulumi.getter(name="schemaName")
|
|
80
|
-
def schema_name(self) ->
|
|
87
|
+
def schema_name(self) -> _builtins.str:
|
|
81
88
|
"""
|
|
82
89
|
Name of parent schema relative to its parent catalog.
|
|
83
90
|
"""
|
|
@@ -94,13 +101,15 @@ class AwaitableGetFunctionsResult(GetFunctionsResult):
|
|
|
94
101
|
functions=self.functions,
|
|
95
102
|
id=self.id,
|
|
96
103
|
include_browse=self.include_browse,
|
|
104
|
+
provider_config=self.provider_config,
|
|
97
105
|
schema_name=self.schema_name)
|
|
98
106
|
|
|
99
107
|
|
|
100
|
-
def get_functions(catalog_name: Optional[
|
|
108
|
+
def get_functions(catalog_name: Optional[_builtins.str] = None,
|
|
101
109
|
functions: Optional[Sequence[Union['GetFunctionsFunctionArgs', 'GetFunctionsFunctionArgsDict']]] = None,
|
|
102
|
-
include_browse: Optional[
|
|
103
|
-
|
|
110
|
+
include_browse: Optional[_builtins.bool] = None,
|
|
111
|
+
provider_config: Optional[Union['GetFunctionsProviderConfigArgs', 'GetFunctionsProviderConfigArgsDict']] = None,
|
|
112
|
+
schema_name: Optional[_builtins.str] = None,
|
|
104
113
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFunctionsResult:
|
|
105
114
|
"""
|
|
106
115
|
Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html).
|
|
@@ -127,15 +136,16 @@ def get_functions(catalog_name: Optional[builtins.str] = None,
|
|
|
127
136
|
* Schema to get information about a single schema
|
|
128
137
|
|
|
129
138
|
|
|
130
|
-
:param
|
|
139
|
+
:param _builtins.str catalog_name: Name of databricks_catalog.
|
|
131
140
|
:param Sequence[Union['GetFunctionsFunctionArgs', 'GetFunctionsFunctionArgsDict']] functions: list of objects describing individual UDF. Each object consists of the following attributes (refer to [REST API documentation](https://docs.databricks.com/api/workspace/functions/list#functions) for up-to-date list of attributes. Default type is String):
|
|
132
|
-
:param
|
|
133
|
-
:param
|
|
141
|
+
:param _builtins.bool include_browse: flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
|
|
142
|
+
:param _builtins.str schema_name: Name of databricks_schema.
|
|
134
143
|
"""
|
|
135
144
|
__args__ = dict()
|
|
136
145
|
__args__['catalogName'] = catalog_name
|
|
137
146
|
__args__['functions'] = functions
|
|
138
147
|
__args__['includeBrowse'] = include_browse
|
|
148
|
+
__args__['providerConfig'] = provider_config
|
|
139
149
|
__args__['schemaName'] = schema_name
|
|
140
150
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
141
151
|
__ret__ = pulumi.runtime.invoke('databricks:index/getFunctions:getFunctions', __args__, opts=opts, typ=GetFunctionsResult).value
|
|
@@ -145,11 +155,13 @@ def get_functions(catalog_name: Optional[builtins.str] = None,
|
|
|
145
155
|
functions=pulumi.get(__ret__, 'functions'),
|
|
146
156
|
id=pulumi.get(__ret__, 'id'),
|
|
147
157
|
include_browse=pulumi.get(__ret__, 'include_browse'),
|
|
158
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
148
159
|
schema_name=pulumi.get(__ret__, 'schema_name'))
|
|
149
|
-
def get_functions_output(catalog_name: Optional[pulumi.Input[
|
|
160
|
+
def get_functions_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
150
161
|
functions: Optional[pulumi.Input[Optional[Sequence[Union['GetFunctionsFunctionArgs', 'GetFunctionsFunctionArgsDict']]]]] = None,
|
|
151
|
-
include_browse: Optional[pulumi.Input[Optional[
|
|
152
|
-
|
|
162
|
+
include_browse: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
163
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetFunctionsProviderConfigArgs', 'GetFunctionsProviderConfigArgsDict']]]] = None,
|
|
164
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
153
165
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFunctionsResult]:
|
|
154
166
|
"""
|
|
155
167
|
Retrieves a list of [User-Defined Functions (UDFs) registered in the Unity Catalog](https://docs.databricks.com/en/udf/unity-catalog.html).
|
|
@@ -176,15 +188,16 @@ def get_functions_output(catalog_name: Optional[pulumi.Input[builtins.str]] = No
|
|
|
176
188
|
* Schema to get information about a single schema
|
|
177
189
|
|
|
178
190
|
|
|
179
|
-
:param
|
|
191
|
+
:param _builtins.str catalog_name: Name of databricks_catalog.
|
|
180
192
|
:param Sequence[Union['GetFunctionsFunctionArgs', 'GetFunctionsFunctionArgsDict']] functions: list of objects describing individual UDF. Each object consists of the following attributes (refer to [REST API documentation](https://docs.databricks.com/api/workspace/functions/list#functions) for up-to-date list of attributes. Default type is String):
|
|
181
|
-
:param
|
|
182
|
-
:param
|
|
193
|
+
:param _builtins.bool include_browse: flag to specify if include UDFs in the response for which the principal can only access selective metadata for.
|
|
194
|
+
:param _builtins.str schema_name: Name of databricks_schema.
|
|
183
195
|
"""
|
|
184
196
|
__args__ = dict()
|
|
185
197
|
__args__['catalogName'] = catalog_name
|
|
186
198
|
__args__['functions'] = functions
|
|
187
199
|
__args__['includeBrowse'] = include_browse
|
|
200
|
+
__args__['providerConfig'] = provider_config
|
|
188
201
|
__args__['schemaName'] = schema_name
|
|
189
202
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
190
203
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getFunctions:getFunctions', __args__, opts=opts, typ=GetFunctionsResult)
|
|
@@ -193,4 +206,5 @@ def get_functions_output(catalog_name: Optional[pulumi.Input[builtins.str]] = No
|
|
|
193
206
|
functions=pulumi.get(__response__, 'functions'),
|
|
194
207
|
id=pulumi.get(__response__, 'id'),
|
|
195
208
|
include_browse=pulumi.get(__response__, 'include_browse'),
|
|
209
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
196
210
|
schema_name=pulumi.get(__response__, 'schema_name')))
|
pulumi_databricks/get_group.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -77,115 +76,115 @@ class GetGroupResult:
|
|
|
77
76
|
raise TypeError("Expected argument 'workspace_consume' to be a bool")
|
|
78
77
|
pulumi.set(__self__, "workspace_consume", workspace_consume)
|
|
79
78
|
|
|
80
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
81
80
|
@pulumi.getter(name="aclPrincipalId")
|
|
82
|
-
def acl_principal_id(self) ->
|
|
81
|
+
def acl_principal_id(self) -> _builtins.str:
|
|
83
82
|
"""
|
|
84
83
|
identifier for use in databricks_access_control_rule_set, e.g. `groups/Some Group`.
|
|
85
84
|
"""
|
|
86
85
|
return pulumi.get(self, "acl_principal_id")
|
|
87
86
|
|
|
88
|
-
@property
|
|
87
|
+
@_builtins.property
|
|
89
88
|
@pulumi.getter(name="allowClusterCreate")
|
|
90
|
-
def allow_cluster_create(self) -> Optional[
|
|
89
|
+
def allow_cluster_create(self) -> Optional[_builtins.bool]:
|
|
91
90
|
"""
|
|
92
91
|
True if group members can create clusters
|
|
93
92
|
"""
|
|
94
93
|
return pulumi.get(self, "allow_cluster_create")
|
|
95
94
|
|
|
96
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
97
96
|
@pulumi.getter(name="allowInstancePoolCreate")
|
|
98
|
-
def allow_instance_pool_create(self) -> Optional[
|
|
97
|
+
def allow_instance_pool_create(self) -> Optional[_builtins.bool]:
|
|
99
98
|
"""
|
|
100
99
|
True if group members can create instance pools
|
|
101
100
|
"""
|
|
102
101
|
return pulumi.get(self, "allow_instance_pool_create")
|
|
103
102
|
|
|
104
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
105
104
|
@pulumi.getter(name="childGroups")
|
|
106
|
-
def child_groups(self) -> Sequence[
|
|
105
|
+
def child_groups(self) -> Sequence[_builtins.str]:
|
|
107
106
|
"""
|
|
108
107
|
Set of Group identifiers, that can be modified with GroupMember resource.
|
|
109
108
|
"""
|
|
110
109
|
return pulumi.get(self, "child_groups")
|
|
111
110
|
|
|
112
|
-
@property
|
|
111
|
+
@_builtins.property
|
|
113
112
|
@pulumi.getter(name="databricksSqlAccess")
|
|
114
|
-
def databricks_sql_access(self) -> Optional[
|
|
113
|
+
def databricks_sql_access(self) -> Optional[_builtins.bool]:
|
|
115
114
|
return pulumi.get(self, "databricks_sql_access")
|
|
116
115
|
|
|
117
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
118
117
|
@pulumi.getter(name="displayName")
|
|
119
|
-
def display_name(self) ->
|
|
118
|
+
def display_name(self) -> _builtins.str:
|
|
120
119
|
return pulumi.get(self, "display_name")
|
|
121
120
|
|
|
122
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
123
122
|
@pulumi.getter(name="externalId")
|
|
124
|
-
def external_id(self) ->
|
|
123
|
+
def external_id(self) -> _builtins.str:
|
|
125
124
|
"""
|
|
126
125
|
ID of the group in an external identity provider.
|
|
127
126
|
"""
|
|
128
127
|
return pulumi.get(self, "external_id")
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
@pulumi.getter
|
|
132
|
-
def groups(self) -> Sequence[
|
|
131
|
+
def groups(self) -> Sequence[_builtins.str]:
|
|
133
132
|
"""
|
|
134
133
|
Set of group identifiers, that can be modified with GroupMember resource.
|
|
135
134
|
"""
|
|
136
135
|
return pulumi.get(self, "groups")
|
|
137
136
|
|
|
138
|
-
@property
|
|
137
|
+
@_builtins.property
|
|
139
138
|
@pulumi.getter
|
|
140
|
-
def id(self) ->
|
|
139
|
+
def id(self) -> _builtins.str:
|
|
141
140
|
"""
|
|
142
141
|
The provider-assigned unique ID for this managed resource.
|
|
143
142
|
"""
|
|
144
143
|
return pulumi.get(self, "id")
|
|
145
144
|
|
|
146
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
147
146
|
@pulumi.getter(name="instanceProfiles")
|
|
148
|
-
def instance_profiles(self) -> Sequence[
|
|
147
|
+
def instance_profiles(self) -> Sequence[_builtins.str]:
|
|
149
148
|
"""
|
|
150
149
|
Set of instance profile ARNs, that can be modified by GroupInstanceProfile resource.
|
|
151
150
|
"""
|
|
152
151
|
return pulumi.get(self, "instance_profiles")
|
|
153
152
|
|
|
154
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
155
154
|
@pulumi.getter
|
|
156
155
|
@_utilities.deprecated("""Please use `users`, `service_principals`, and `child_groups` instead""")
|
|
157
|
-
def members(self) -> Sequence[
|
|
156
|
+
def members(self) -> Sequence[_builtins.str]:
|
|
158
157
|
return pulumi.get(self, "members")
|
|
159
158
|
|
|
160
|
-
@property
|
|
159
|
+
@_builtins.property
|
|
161
160
|
@pulumi.getter
|
|
162
|
-
def recursive(self) -> Optional[
|
|
161
|
+
def recursive(self) -> Optional[_builtins.bool]:
|
|
163
162
|
return pulumi.get(self, "recursive")
|
|
164
163
|
|
|
165
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
166
165
|
@pulumi.getter(name="servicePrincipals")
|
|
167
|
-
def service_principals(self) -> Sequence[
|
|
166
|
+
def service_principals(self) -> Sequence[_builtins.str]:
|
|
168
167
|
"""
|
|
169
168
|
Set of ServicePrincipal identifiers, that can be modified with GroupMember resource.
|
|
170
169
|
"""
|
|
171
170
|
return pulumi.get(self, "service_principals")
|
|
172
171
|
|
|
173
|
-
@property
|
|
172
|
+
@_builtins.property
|
|
174
173
|
@pulumi.getter
|
|
175
|
-
def users(self) -> Sequence[
|
|
174
|
+
def users(self) -> Sequence[_builtins.str]:
|
|
176
175
|
"""
|
|
177
176
|
Set of User identifiers, that can be modified with GroupMember resource.
|
|
178
177
|
"""
|
|
179
178
|
return pulumi.get(self, "users")
|
|
180
179
|
|
|
181
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
182
181
|
@pulumi.getter(name="workspaceAccess")
|
|
183
|
-
def workspace_access(self) -> Optional[
|
|
182
|
+
def workspace_access(self) -> Optional[_builtins.bool]:
|
|
184
183
|
return pulumi.get(self, "workspace_access")
|
|
185
184
|
|
|
186
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
187
186
|
@pulumi.getter(name="workspaceConsume")
|
|
188
|
-
def workspace_consume(self) -> Optional[
|
|
187
|
+
def workspace_consume(self) -> Optional[_builtins.bool]:
|
|
189
188
|
return pulumi.get(self, "workspace_consume")
|
|
190
189
|
|
|
191
190
|
|
|
@@ -213,21 +212,21 @@ class AwaitableGetGroupResult(GetGroupResult):
|
|
|
213
212
|
workspace_consume=self.workspace_consume)
|
|
214
213
|
|
|
215
214
|
|
|
216
|
-
def get_group(acl_principal_id: Optional[
|
|
217
|
-
allow_cluster_create: Optional[
|
|
218
|
-
allow_instance_pool_create: Optional[
|
|
219
|
-
child_groups: Optional[Sequence[
|
|
220
|
-
databricks_sql_access: Optional[
|
|
221
|
-
display_name: Optional[
|
|
222
|
-
external_id: Optional[
|
|
223
|
-
groups: Optional[Sequence[
|
|
224
|
-
instance_profiles: Optional[Sequence[
|
|
225
|
-
members: Optional[Sequence[
|
|
226
|
-
recursive: Optional[
|
|
227
|
-
service_principals: Optional[Sequence[
|
|
228
|
-
users: Optional[Sequence[
|
|
229
|
-
workspace_access: Optional[
|
|
230
|
-
workspace_consume: Optional[
|
|
215
|
+
def get_group(acl_principal_id: Optional[_builtins.str] = None,
|
|
216
|
+
allow_cluster_create: Optional[_builtins.bool] = None,
|
|
217
|
+
allow_instance_pool_create: Optional[_builtins.bool] = None,
|
|
218
|
+
child_groups: Optional[Sequence[_builtins.str]] = None,
|
|
219
|
+
databricks_sql_access: Optional[_builtins.bool] = None,
|
|
220
|
+
display_name: Optional[_builtins.str] = None,
|
|
221
|
+
external_id: Optional[_builtins.str] = None,
|
|
222
|
+
groups: Optional[Sequence[_builtins.str]] = None,
|
|
223
|
+
instance_profiles: Optional[Sequence[_builtins.str]] = None,
|
|
224
|
+
members: Optional[Sequence[_builtins.str]] = None,
|
|
225
|
+
recursive: Optional[_builtins.bool] = None,
|
|
226
|
+
service_principals: Optional[Sequence[_builtins.str]] = None,
|
|
227
|
+
users: Optional[Sequence[_builtins.str]] = None,
|
|
228
|
+
workspace_access: Optional[_builtins.bool] = None,
|
|
229
|
+
workspace_consume: Optional[_builtins.bool] = None,
|
|
231
230
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGroupResult:
|
|
232
231
|
"""
|
|
233
232
|
Retrieves information about Group members, entitlements and instance profiles.
|
|
@@ -261,17 +260,17 @@ def get_group(acl_principal_id: Optional[builtins.str] = None,
|
|
|
261
260
|
* User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to Group within the workspace.
|
|
262
261
|
|
|
263
262
|
|
|
264
|
-
:param
|
|
265
|
-
:param
|
|
266
|
-
:param
|
|
267
|
-
:param Sequence[
|
|
268
|
-
:param
|
|
269
|
-
:param
|
|
270
|
-
:param Sequence[
|
|
271
|
-
:param Sequence[
|
|
272
|
-
:param
|
|
273
|
-
:param Sequence[
|
|
274
|
-
:param Sequence[
|
|
263
|
+
:param _builtins.str acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `groups/Some Group`.
|
|
264
|
+
:param _builtins.bool allow_cluster_create: True if group members can create clusters
|
|
265
|
+
:param _builtins.bool allow_instance_pool_create: True if group members can create instance pools
|
|
266
|
+
:param Sequence[_builtins.str] child_groups: Set of Group identifiers, that can be modified with GroupMember resource.
|
|
267
|
+
:param _builtins.str display_name: Display name of the group. The group must exist before this resource can be planned.
|
|
268
|
+
:param _builtins.str external_id: ID of the group in an external identity provider.
|
|
269
|
+
:param Sequence[_builtins.str] groups: Set of group identifiers, that can be modified with GroupMember resource.
|
|
270
|
+
:param Sequence[_builtins.str] instance_profiles: Set of instance profile ARNs, that can be modified by GroupInstanceProfile resource.
|
|
271
|
+
:param _builtins.bool recursive: Collect information for all nested groups. *Defaults to true.*
|
|
272
|
+
:param Sequence[_builtins.str] service_principals: Set of ServicePrincipal identifiers, that can be modified with GroupMember resource.
|
|
273
|
+
:param Sequence[_builtins.str] users: Set of User identifiers, that can be modified with GroupMember resource.
|
|
275
274
|
"""
|
|
276
275
|
__args__ = dict()
|
|
277
276
|
__args__['aclPrincipalId'] = acl_principal_id
|
|
@@ -309,21 +308,21 @@ def get_group(acl_principal_id: Optional[builtins.str] = None,
|
|
|
309
308
|
users=pulumi.get(__ret__, 'users'),
|
|
310
309
|
workspace_access=pulumi.get(__ret__, 'workspace_access'),
|
|
311
310
|
workspace_consume=pulumi.get(__ret__, 'workspace_consume'))
|
|
312
|
-
def get_group_output(acl_principal_id: Optional[pulumi.Input[Optional[
|
|
313
|
-
allow_cluster_create: Optional[pulumi.Input[Optional[
|
|
314
|
-
allow_instance_pool_create: Optional[pulumi.Input[Optional[
|
|
315
|
-
child_groups: Optional[pulumi.Input[Optional[Sequence[
|
|
316
|
-
databricks_sql_access: Optional[pulumi.Input[Optional[
|
|
317
|
-
display_name: Optional[pulumi.Input[
|
|
318
|
-
external_id: Optional[pulumi.Input[Optional[
|
|
319
|
-
groups: Optional[pulumi.Input[Optional[Sequence[
|
|
320
|
-
instance_profiles: Optional[pulumi.Input[Optional[Sequence[
|
|
321
|
-
members: Optional[pulumi.Input[Optional[Sequence[
|
|
322
|
-
recursive: Optional[pulumi.Input[Optional[
|
|
323
|
-
service_principals: Optional[pulumi.Input[Optional[Sequence[
|
|
324
|
-
users: Optional[pulumi.Input[Optional[Sequence[
|
|
325
|
-
workspace_access: Optional[pulumi.Input[Optional[
|
|
326
|
-
workspace_consume: Optional[pulumi.Input[Optional[
|
|
311
|
+
def get_group_output(acl_principal_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
312
|
+
allow_cluster_create: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
313
|
+
allow_instance_pool_create: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
314
|
+
child_groups: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
315
|
+
databricks_sql_access: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
316
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
external_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
318
|
+
groups: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
319
|
+
instance_profiles: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
320
|
+
members: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
321
|
+
recursive: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
322
|
+
service_principals: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
323
|
+
users: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
324
|
+
workspace_access: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
325
|
+
workspace_consume: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
327
326
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]:
|
|
328
327
|
"""
|
|
329
328
|
Retrieves information about Group members, entitlements and instance profiles.
|
|
@@ -357,17 +356,17 @@ def get_group_output(acl_principal_id: Optional[pulumi.Input[Optional[builtins.s
|
|
|
357
356
|
* User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to Group within the workspace.
|
|
358
357
|
|
|
359
358
|
|
|
360
|
-
:param
|
|
361
|
-
:param
|
|
362
|
-
:param
|
|
363
|
-
:param Sequence[
|
|
364
|
-
:param
|
|
365
|
-
:param
|
|
366
|
-
:param Sequence[
|
|
367
|
-
:param Sequence[
|
|
368
|
-
:param
|
|
369
|
-
:param Sequence[
|
|
370
|
-
:param Sequence[
|
|
359
|
+
:param _builtins.str acl_principal_id: identifier for use in databricks_access_control_rule_set, e.g. `groups/Some Group`.
|
|
360
|
+
:param _builtins.bool allow_cluster_create: True if group members can create clusters
|
|
361
|
+
:param _builtins.bool allow_instance_pool_create: True if group members can create instance pools
|
|
362
|
+
:param Sequence[_builtins.str] child_groups: Set of Group identifiers, that can be modified with GroupMember resource.
|
|
363
|
+
:param _builtins.str display_name: Display name of the group. The group must exist before this resource can be planned.
|
|
364
|
+
:param _builtins.str external_id: ID of the group in an external identity provider.
|
|
365
|
+
:param Sequence[_builtins.str] groups: Set of group identifiers, that can be modified with GroupMember resource.
|
|
366
|
+
:param Sequence[_builtins.str] instance_profiles: Set of instance profile ARNs, that can be modified by GroupInstanceProfile resource.
|
|
367
|
+
:param _builtins.bool recursive: Collect information for all nested groups. *Defaults to true.*
|
|
368
|
+
:param Sequence[_builtins.str] service_principals: Set of ServicePrincipal identifiers, that can be modified with GroupMember resource.
|
|
369
|
+
:param Sequence[_builtins.str] users: Set of User identifiers, that can be modified with GroupMember resource.
|
|
371
370
|
"""
|
|
372
371
|
__args__ = dict()
|
|
373
372
|
__args__['aclPrincipalId'] = acl_principal_id
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -40,20 +39,20 @@ class GetInstancePoolResult:
|
|
|
40
39
|
raise TypeError("Expected argument 'pool_info' to be a dict")
|
|
41
40
|
pulumi.set(__self__, "pool_info", pool_info)
|
|
42
41
|
|
|
43
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
44
43
|
@pulumi.getter
|
|
45
|
-
def id(self) ->
|
|
44
|
+
def id(self) -> _builtins.str:
|
|
46
45
|
"""
|
|
47
46
|
The provider-assigned unique ID for this managed resource.
|
|
48
47
|
"""
|
|
49
48
|
return pulumi.get(self, "id")
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
@pulumi.getter
|
|
53
|
-
def name(self) ->
|
|
52
|
+
def name(self) -> _builtins.str:
|
|
54
53
|
return pulumi.get(self, "name")
|
|
55
54
|
|
|
56
|
-
@property
|
|
55
|
+
@_builtins.property
|
|
57
56
|
@pulumi.getter(name="poolInfo")
|
|
58
57
|
def pool_info(self) -> 'outputs.GetInstancePoolPoolInfoResult':
|
|
59
58
|
"""
|
|
@@ -73,7 +72,7 @@ class AwaitableGetInstancePoolResult(GetInstancePoolResult):
|
|
|
73
72
|
pool_info=self.pool_info)
|
|
74
73
|
|
|
75
74
|
|
|
76
|
-
def get_instance_pool(name: Optional[
|
|
75
|
+
def get_instance_pool(name: Optional[_builtins.str] = None,
|
|
77
76
|
pool_info: Optional[Union['GetInstancePoolPoolInfoArgs', 'GetInstancePoolPoolInfoArgsDict']] = None,
|
|
78
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstancePoolResult:
|
|
79
78
|
"""
|
|
@@ -94,7 +93,7 @@ def get_instance_pool(name: Optional[builtins.str] = None,
|
|
|
94
93
|
```
|
|
95
94
|
|
|
96
95
|
|
|
97
|
-
:param
|
|
96
|
+
:param _builtins.str name: Name of the instance pool. The instance pool must exist before this resource can be planned.
|
|
98
97
|
:param Union['GetInstancePoolPoolInfoArgs', 'GetInstancePoolPoolInfoArgsDict'] pool_info: block describing instance pool and its state. Check documentation for InstancePool for a list of exposed attributes.
|
|
99
98
|
"""
|
|
100
99
|
__args__ = dict()
|
|
@@ -107,7 +106,7 @@ def get_instance_pool(name: Optional[builtins.str] = None,
|
|
|
107
106
|
id=pulumi.get(__ret__, 'id'),
|
|
108
107
|
name=pulumi.get(__ret__, 'name'),
|
|
109
108
|
pool_info=pulumi.get(__ret__, 'pool_info'))
|
|
110
|
-
def get_instance_pool_output(name: Optional[pulumi.Input[
|
|
109
|
+
def get_instance_pool_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
110
|
pool_info: Optional[pulumi.Input[Optional[Union['GetInstancePoolPoolInfoArgs', 'GetInstancePoolPoolInfoArgsDict']]]] = None,
|
|
112
111
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInstancePoolResult]:
|
|
113
112
|
"""
|
|
@@ -128,7 +127,7 @@ def get_instance_pool_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
128
127
|
```
|
|
129
128
|
|
|
130
129
|
|
|
131
|
-
:param
|
|
130
|
+
:param _builtins.str name: Name of the instance pool. The instance pool must exist before this resource can be planned.
|
|
132
131
|
:param Union['GetInstancePoolPoolInfoArgs', 'GetInstancePoolPoolInfoArgsDict'] pool_info: block describing instance pool and its state. Check documentation for InstancePool for a list of exposed attributes.
|
|
133
132
|
"""
|
|
134
133
|
__args__ = dict()
|