pulumi-databricks 1.77.0a1760375482__py3-none-any.whl → 1.79.0a1762839813__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1760375482.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,397 @@
|
|
|
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
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['FeatureEngineeringMaterializedFeatureArgs', 'FeatureEngineeringMaterializedFeature']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class FeatureEngineeringMaterializedFeatureArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
feature_name: pulumi.Input[_builtins.str],
|
|
25
|
+
offline_store_config: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs']] = None,
|
|
26
|
+
online_store_config: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs']] = None,
|
|
27
|
+
pipeline_schedule_state: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
|
+
"""
|
|
29
|
+
The set of arguments for constructing a FeatureEngineeringMaterializedFeature resource.
|
|
30
|
+
:param pulumi.Input[_builtins.str] feature_name: The full name of the feature in Unity Catalog
|
|
31
|
+
:param pulumi.Input[_builtins.str] pipeline_schedule_state: The schedule state of the materialization pipeline. Possible values are: `ACTIVE`, `PAUSED`, `SNAPSHOT`
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "feature_name", feature_name)
|
|
34
|
+
if offline_store_config is not None:
|
|
35
|
+
pulumi.set(__self__, "offline_store_config", offline_store_config)
|
|
36
|
+
if online_store_config is not None:
|
|
37
|
+
pulumi.set(__self__, "online_store_config", online_store_config)
|
|
38
|
+
if pipeline_schedule_state is not None:
|
|
39
|
+
pulumi.set(__self__, "pipeline_schedule_state", pipeline_schedule_state)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter(name="featureName")
|
|
43
|
+
def feature_name(self) -> pulumi.Input[_builtins.str]:
|
|
44
|
+
"""
|
|
45
|
+
The full name of the feature in Unity Catalog
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "feature_name")
|
|
48
|
+
|
|
49
|
+
@feature_name.setter
|
|
50
|
+
def feature_name(self, value: pulumi.Input[_builtins.str]):
|
|
51
|
+
pulumi.set(self, "feature_name", value)
|
|
52
|
+
|
|
53
|
+
@_builtins.property
|
|
54
|
+
@pulumi.getter(name="offlineStoreConfig")
|
|
55
|
+
def offline_store_config(self) -> Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs']]:
|
|
56
|
+
return pulumi.get(self, "offline_store_config")
|
|
57
|
+
|
|
58
|
+
@offline_store_config.setter
|
|
59
|
+
def offline_store_config(self, value: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs']]):
|
|
60
|
+
pulumi.set(self, "offline_store_config", value)
|
|
61
|
+
|
|
62
|
+
@_builtins.property
|
|
63
|
+
@pulumi.getter(name="onlineStoreConfig")
|
|
64
|
+
def online_store_config(self) -> Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs']]:
|
|
65
|
+
return pulumi.get(self, "online_store_config")
|
|
66
|
+
|
|
67
|
+
@online_store_config.setter
|
|
68
|
+
def online_store_config(self, value: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs']]):
|
|
69
|
+
pulumi.set(self, "online_store_config", value)
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter(name="pipelineScheduleState")
|
|
73
|
+
def pipeline_schedule_state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
74
|
+
"""
|
|
75
|
+
The schedule state of the materialization pipeline. Possible values are: `ACTIVE`, `PAUSED`, `SNAPSHOT`
|
|
76
|
+
"""
|
|
77
|
+
return pulumi.get(self, "pipeline_schedule_state")
|
|
78
|
+
|
|
79
|
+
@pipeline_schedule_state.setter
|
|
80
|
+
def pipeline_schedule_state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
81
|
+
pulumi.set(self, "pipeline_schedule_state", value)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
@pulumi.input_type
|
|
85
|
+
class _FeatureEngineeringMaterializedFeatureState:
|
|
86
|
+
def __init__(__self__, *,
|
|
87
|
+
feature_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
88
|
+
last_materialization_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
89
|
+
materialized_feature_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
90
|
+
offline_store_config: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs']] = None,
|
|
91
|
+
online_store_config: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs']] = None,
|
|
92
|
+
pipeline_schedule_state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
table_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
94
|
+
"""
|
|
95
|
+
Input properties used for looking up and filtering FeatureEngineeringMaterializedFeature resources.
|
|
96
|
+
:param pulumi.Input[_builtins.str] feature_name: The full name of the feature in Unity Catalog
|
|
97
|
+
:param pulumi.Input[_builtins.str] last_materialization_time: (string) - The timestamp when the pipeline last ran and updated the materialized feature values.
|
|
98
|
+
If the pipeline has not run yet, this field will be null
|
|
99
|
+
:param pulumi.Input[_builtins.str] materialized_feature_id: (string) - Unique identifier for the materialized feature
|
|
100
|
+
:param pulumi.Input[_builtins.str] pipeline_schedule_state: The schedule state of the materialization pipeline. Possible values are: `ACTIVE`, `PAUSED`, `SNAPSHOT`
|
|
101
|
+
:param pulumi.Input[_builtins.str] table_name: (string) - The fully qualified Unity Catalog path to the table containing the materialized feature (Delta table or Lakebase table). Output only
|
|
102
|
+
"""
|
|
103
|
+
if feature_name is not None:
|
|
104
|
+
pulumi.set(__self__, "feature_name", feature_name)
|
|
105
|
+
if last_materialization_time is not None:
|
|
106
|
+
pulumi.set(__self__, "last_materialization_time", last_materialization_time)
|
|
107
|
+
if materialized_feature_id is not None:
|
|
108
|
+
pulumi.set(__self__, "materialized_feature_id", materialized_feature_id)
|
|
109
|
+
if offline_store_config is not None:
|
|
110
|
+
pulumi.set(__self__, "offline_store_config", offline_store_config)
|
|
111
|
+
if online_store_config is not None:
|
|
112
|
+
pulumi.set(__self__, "online_store_config", online_store_config)
|
|
113
|
+
if pipeline_schedule_state is not None:
|
|
114
|
+
pulumi.set(__self__, "pipeline_schedule_state", pipeline_schedule_state)
|
|
115
|
+
if table_name is not None:
|
|
116
|
+
pulumi.set(__self__, "table_name", table_name)
|
|
117
|
+
|
|
118
|
+
@_builtins.property
|
|
119
|
+
@pulumi.getter(name="featureName")
|
|
120
|
+
def feature_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
121
|
+
"""
|
|
122
|
+
The full name of the feature in Unity Catalog
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "feature_name")
|
|
125
|
+
|
|
126
|
+
@feature_name.setter
|
|
127
|
+
def feature_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
128
|
+
pulumi.set(self, "feature_name", value)
|
|
129
|
+
|
|
130
|
+
@_builtins.property
|
|
131
|
+
@pulumi.getter(name="lastMaterializationTime")
|
|
132
|
+
def last_materialization_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
133
|
+
"""
|
|
134
|
+
(string) - The timestamp when the pipeline last ran and updated the materialized feature values.
|
|
135
|
+
If the pipeline has not run yet, this field will be null
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "last_materialization_time")
|
|
138
|
+
|
|
139
|
+
@last_materialization_time.setter
|
|
140
|
+
def last_materialization_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
141
|
+
pulumi.set(self, "last_materialization_time", value)
|
|
142
|
+
|
|
143
|
+
@_builtins.property
|
|
144
|
+
@pulumi.getter(name="materializedFeatureId")
|
|
145
|
+
def materialized_feature_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
146
|
+
"""
|
|
147
|
+
(string) - Unique identifier for the materialized feature
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "materialized_feature_id")
|
|
150
|
+
|
|
151
|
+
@materialized_feature_id.setter
|
|
152
|
+
def materialized_feature_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
153
|
+
pulumi.set(self, "materialized_feature_id", value)
|
|
154
|
+
|
|
155
|
+
@_builtins.property
|
|
156
|
+
@pulumi.getter(name="offlineStoreConfig")
|
|
157
|
+
def offline_store_config(self) -> Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs']]:
|
|
158
|
+
return pulumi.get(self, "offline_store_config")
|
|
159
|
+
|
|
160
|
+
@offline_store_config.setter
|
|
161
|
+
def offline_store_config(self, value: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs']]):
|
|
162
|
+
pulumi.set(self, "offline_store_config", value)
|
|
163
|
+
|
|
164
|
+
@_builtins.property
|
|
165
|
+
@pulumi.getter(name="onlineStoreConfig")
|
|
166
|
+
def online_store_config(self) -> Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs']]:
|
|
167
|
+
return pulumi.get(self, "online_store_config")
|
|
168
|
+
|
|
169
|
+
@online_store_config.setter
|
|
170
|
+
def online_store_config(self, value: Optional[pulumi.Input['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs']]):
|
|
171
|
+
pulumi.set(self, "online_store_config", value)
|
|
172
|
+
|
|
173
|
+
@_builtins.property
|
|
174
|
+
@pulumi.getter(name="pipelineScheduleState")
|
|
175
|
+
def pipeline_schedule_state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
176
|
+
"""
|
|
177
|
+
The schedule state of the materialization pipeline. Possible values are: `ACTIVE`, `PAUSED`, `SNAPSHOT`
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "pipeline_schedule_state")
|
|
180
|
+
|
|
181
|
+
@pipeline_schedule_state.setter
|
|
182
|
+
def pipeline_schedule_state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
183
|
+
pulumi.set(self, "pipeline_schedule_state", value)
|
|
184
|
+
|
|
185
|
+
@_builtins.property
|
|
186
|
+
@pulumi.getter(name="tableName")
|
|
187
|
+
def table_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
188
|
+
"""
|
|
189
|
+
(string) - The fully qualified Unity Catalog path to the table containing the materialized feature (Delta table or Lakebase table). Output only
|
|
190
|
+
"""
|
|
191
|
+
return pulumi.get(self, "table_name")
|
|
192
|
+
|
|
193
|
+
@table_name.setter
|
|
194
|
+
def table_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
195
|
+
pulumi.set(self, "table_name", value)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
@pulumi.type_token("databricks:index/featureEngineeringMaterializedFeature:FeatureEngineeringMaterializedFeature")
|
|
199
|
+
class FeatureEngineeringMaterializedFeature(pulumi.CustomResource):
|
|
200
|
+
@overload
|
|
201
|
+
def __init__(__self__,
|
|
202
|
+
resource_name: str,
|
|
203
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
204
|
+
feature_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
+
offline_store_config: Optional[pulumi.Input[Union['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs', 'FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgsDict']]] = None,
|
|
206
|
+
online_store_config: Optional[pulumi.Input[Union['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs', 'FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgsDict']]] = None,
|
|
207
|
+
pipeline_schedule_state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
208
|
+
__props__=None):
|
|
209
|
+
"""
|
|
210
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
211
|
+
|
|
212
|
+
## Import
|
|
213
|
+
|
|
214
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
215
|
+
|
|
216
|
+
hcl
|
|
217
|
+
|
|
218
|
+
import {
|
|
219
|
+
|
|
220
|
+
id = "materialized_feature_id"
|
|
221
|
+
|
|
222
|
+
to = databricks_feature_engineering_materialized_feature.this
|
|
223
|
+
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
227
|
+
|
|
228
|
+
```sh
|
|
229
|
+
$ pulumi import databricks:index/featureEngineeringMaterializedFeature:FeatureEngineeringMaterializedFeature this "materialized_feature_id"
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
:param str resource_name: The name of the resource.
|
|
233
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
234
|
+
:param pulumi.Input[_builtins.str] feature_name: The full name of the feature in Unity Catalog
|
|
235
|
+
:param pulumi.Input[_builtins.str] pipeline_schedule_state: The schedule state of the materialization pipeline. Possible values are: `ACTIVE`, `PAUSED`, `SNAPSHOT`
|
|
236
|
+
"""
|
|
237
|
+
...
|
|
238
|
+
@overload
|
|
239
|
+
def __init__(__self__,
|
|
240
|
+
resource_name: str,
|
|
241
|
+
args: FeatureEngineeringMaterializedFeatureArgs,
|
|
242
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
243
|
+
"""
|
|
244
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
245
|
+
|
|
246
|
+
## Import
|
|
247
|
+
|
|
248
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
249
|
+
|
|
250
|
+
hcl
|
|
251
|
+
|
|
252
|
+
import {
|
|
253
|
+
|
|
254
|
+
id = "materialized_feature_id"
|
|
255
|
+
|
|
256
|
+
to = databricks_feature_engineering_materialized_feature.this
|
|
257
|
+
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
261
|
+
|
|
262
|
+
```sh
|
|
263
|
+
$ pulumi import databricks:index/featureEngineeringMaterializedFeature:FeatureEngineeringMaterializedFeature this "materialized_feature_id"
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
:param str resource_name: The name of the resource.
|
|
267
|
+
:param FeatureEngineeringMaterializedFeatureArgs args: The arguments to use to populate this resource's properties.
|
|
268
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
269
|
+
"""
|
|
270
|
+
...
|
|
271
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
272
|
+
resource_args, opts = _utilities.get_resource_args_opts(FeatureEngineeringMaterializedFeatureArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
273
|
+
if resource_args is not None:
|
|
274
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
275
|
+
else:
|
|
276
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
277
|
+
|
|
278
|
+
def _internal_init(__self__,
|
|
279
|
+
resource_name: str,
|
|
280
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
281
|
+
feature_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
|
+
offline_store_config: Optional[pulumi.Input[Union['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs', 'FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgsDict']]] = None,
|
|
283
|
+
online_store_config: Optional[pulumi.Input[Union['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs', 'FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgsDict']]] = None,
|
|
284
|
+
pipeline_schedule_state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
285
|
+
__props__=None):
|
|
286
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
287
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
288
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
289
|
+
if opts.id is None:
|
|
290
|
+
if __props__ is not None:
|
|
291
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
292
|
+
__props__ = FeatureEngineeringMaterializedFeatureArgs.__new__(FeatureEngineeringMaterializedFeatureArgs)
|
|
293
|
+
|
|
294
|
+
if feature_name is None and not opts.urn:
|
|
295
|
+
raise TypeError("Missing required property 'feature_name'")
|
|
296
|
+
__props__.__dict__["feature_name"] = feature_name
|
|
297
|
+
__props__.__dict__["offline_store_config"] = offline_store_config
|
|
298
|
+
__props__.__dict__["online_store_config"] = online_store_config
|
|
299
|
+
__props__.__dict__["pipeline_schedule_state"] = pipeline_schedule_state
|
|
300
|
+
__props__.__dict__["last_materialization_time"] = None
|
|
301
|
+
__props__.__dict__["materialized_feature_id"] = None
|
|
302
|
+
__props__.__dict__["table_name"] = None
|
|
303
|
+
super(FeatureEngineeringMaterializedFeature, __self__).__init__(
|
|
304
|
+
'databricks:index/featureEngineeringMaterializedFeature:FeatureEngineeringMaterializedFeature',
|
|
305
|
+
resource_name,
|
|
306
|
+
__props__,
|
|
307
|
+
opts)
|
|
308
|
+
|
|
309
|
+
@staticmethod
|
|
310
|
+
def get(resource_name: str,
|
|
311
|
+
id: pulumi.Input[str],
|
|
312
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
313
|
+
feature_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
314
|
+
last_materialization_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
315
|
+
materialized_feature_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
316
|
+
offline_store_config: Optional[pulumi.Input[Union['FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgs', 'FeatureEngineeringMaterializedFeatureOfflineStoreConfigArgsDict']]] = None,
|
|
317
|
+
online_store_config: Optional[pulumi.Input[Union['FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgs', 'FeatureEngineeringMaterializedFeatureOnlineStoreConfigArgsDict']]] = None,
|
|
318
|
+
pipeline_schedule_state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
319
|
+
table_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'FeatureEngineeringMaterializedFeature':
|
|
320
|
+
"""
|
|
321
|
+
Get an existing FeatureEngineeringMaterializedFeature resource's state with the given name, id, and optional extra
|
|
322
|
+
properties used to qualify the lookup.
|
|
323
|
+
|
|
324
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
325
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
326
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
327
|
+
:param pulumi.Input[_builtins.str] feature_name: The full name of the feature in Unity Catalog
|
|
328
|
+
:param pulumi.Input[_builtins.str] last_materialization_time: (string) - The timestamp when the pipeline last ran and updated the materialized feature values.
|
|
329
|
+
If the pipeline has not run yet, this field will be null
|
|
330
|
+
:param pulumi.Input[_builtins.str] materialized_feature_id: (string) - Unique identifier for the materialized feature
|
|
331
|
+
:param pulumi.Input[_builtins.str] pipeline_schedule_state: The schedule state of the materialization pipeline. Possible values are: `ACTIVE`, `PAUSED`, `SNAPSHOT`
|
|
332
|
+
:param pulumi.Input[_builtins.str] table_name: (string) - The fully qualified Unity Catalog path to the table containing the materialized feature (Delta table or Lakebase table). Output only
|
|
333
|
+
"""
|
|
334
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
335
|
+
|
|
336
|
+
__props__ = _FeatureEngineeringMaterializedFeatureState.__new__(_FeatureEngineeringMaterializedFeatureState)
|
|
337
|
+
|
|
338
|
+
__props__.__dict__["feature_name"] = feature_name
|
|
339
|
+
__props__.__dict__["last_materialization_time"] = last_materialization_time
|
|
340
|
+
__props__.__dict__["materialized_feature_id"] = materialized_feature_id
|
|
341
|
+
__props__.__dict__["offline_store_config"] = offline_store_config
|
|
342
|
+
__props__.__dict__["online_store_config"] = online_store_config
|
|
343
|
+
__props__.__dict__["pipeline_schedule_state"] = pipeline_schedule_state
|
|
344
|
+
__props__.__dict__["table_name"] = table_name
|
|
345
|
+
return FeatureEngineeringMaterializedFeature(resource_name, opts=opts, __props__=__props__)
|
|
346
|
+
|
|
347
|
+
@_builtins.property
|
|
348
|
+
@pulumi.getter(name="featureName")
|
|
349
|
+
def feature_name(self) -> pulumi.Output[_builtins.str]:
|
|
350
|
+
"""
|
|
351
|
+
The full name of the feature in Unity Catalog
|
|
352
|
+
"""
|
|
353
|
+
return pulumi.get(self, "feature_name")
|
|
354
|
+
|
|
355
|
+
@_builtins.property
|
|
356
|
+
@pulumi.getter(name="lastMaterializationTime")
|
|
357
|
+
def last_materialization_time(self) -> pulumi.Output[_builtins.str]:
|
|
358
|
+
"""
|
|
359
|
+
(string) - The timestamp when the pipeline last ran and updated the materialized feature values.
|
|
360
|
+
If the pipeline has not run yet, this field will be null
|
|
361
|
+
"""
|
|
362
|
+
return pulumi.get(self, "last_materialization_time")
|
|
363
|
+
|
|
364
|
+
@_builtins.property
|
|
365
|
+
@pulumi.getter(name="materializedFeatureId")
|
|
366
|
+
def materialized_feature_id(self) -> pulumi.Output[_builtins.str]:
|
|
367
|
+
"""
|
|
368
|
+
(string) - Unique identifier for the materialized feature
|
|
369
|
+
"""
|
|
370
|
+
return pulumi.get(self, "materialized_feature_id")
|
|
371
|
+
|
|
372
|
+
@_builtins.property
|
|
373
|
+
@pulumi.getter(name="offlineStoreConfig")
|
|
374
|
+
def offline_store_config(self) -> pulumi.Output[Optional['outputs.FeatureEngineeringMaterializedFeatureOfflineStoreConfig']]:
|
|
375
|
+
return pulumi.get(self, "offline_store_config")
|
|
376
|
+
|
|
377
|
+
@_builtins.property
|
|
378
|
+
@pulumi.getter(name="onlineStoreConfig")
|
|
379
|
+
def online_store_config(self) -> pulumi.Output[Optional['outputs.FeatureEngineeringMaterializedFeatureOnlineStoreConfig']]:
|
|
380
|
+
return pulumi.get(self, "online_store_config")
|
|
381
|
+
|
|
382
|
+
@_builtins.property
|
|
383
|
+
@pulumi.getter(name="pipelineScheduleState")
|
|
384
|
+
def pipeline_schedule_state(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
385
|
+
"""
|
|
386
|
+
The schedule state of the materialization pipeline. Possible values are: `ACTIVE`, `PAUSED`, `SNAPSHOT`
|
|
387
|
+
"""
|
|
388
|
+
return pulumi.get(self, "pipeline_schedule_state")
|
|
389
|
+
|
|
390
|
+
@_builtins.property
|
|
391
|
+
@pulumi.getter(name="tableName")
|
|
392
|
+
def table_name(self) -> pulumi.Output[_builtins.str]:
|
|
393
|
+
"""
|
|
394
|
+
(string) - The fully qualified Unity Catalog path to the table containing the materialized feature (Delta table or Lakebase table). Output only
|
|
395
|
+
"""
|
|
396
|
+
return pulumi.get(self, "table_name")
|
|
397
|
+
|
pulumi_databricks/file.py
CHANGED
|
@@ -270,7 +270,7 @@ class File(pulumi.CustomResource):
|
|
|
270
270
|
|
|
271
271
|
init_script = databricks.File("init_script",
|
|
272
272
|
content_base64=std.base64encode(input=\"\"\"#!/bin/bash
|
|
273
|
-
echo "Hello World"
|
|
273
|
+
echo \\"Hello World\\"
|
|
274
274
|
\"\"\").result,
|
|
275
275
|
path=f"{this['volumePath']}/fileName")
|
|
276
276
|
```
|
|
@@ -368,7 +368,7 @@ class File(pulumi.CustomResource):
|
|
|
368
368
|
|
|
369
369
|
init_script = databricks.File("init_script",
|
|
370
370
|
content_base64=std.base64encode(input=\"\"\"#!/bin/bash
|
|
371
|
-
echo "Hello World"
|
|
371
|
+
echo \\"Hello World\\"
|
|
372
372
|
\"\"\").result,
|
|
373
373
|
path=f"{this['volumePath']}/fileName")
|
|
374
374
|
```
|
|
@@ -27,10 +27,13 @@ class GetAccountFederationPoliciesResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getAccountFederationPolicies.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, id=None, policies=None):
|
|
30
|
+
def __init__(__self__, id=None, page_size=None, policies=None):
|
|
31
31
|
if id and not isinstance(id, str):
|
|
32
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
33
|
pulumi.set(__self__, "id", id)
|
|
34
|
+
if page_size and not isinstance(page_size, int):
|
|
35
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
36
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
34
37
|
if policies and not isinstance(policies, list):
|
|
35
38
|
raise TypeError("Expected argument 'policies' to be a list")
|
|
36
39
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -43,6 +46,11 @@ class GetAccountFederationPoliciesResult:
|
|
|
43
46
|
"""
|
|
44
47
|
return pulumi.get(self, "id")
|
|
45
48
|
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter(name="pageSize")
|
|
51
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
52
|
+
return pulumi.get(self, "page_size")
|
|
53
|
+
|
|
46
54
|
@_builtins.property
|
|
47
55
|
@pulumi.getter
|
|
48
56
|
def policies(self) -> Sequence['outputs.GetAccountFederationPoliciesPolicyResult']:
|
|
@@ -56,11 +64,15 @@ class AwaitableGetAccountFederationPoliciesResult(GetAccountFederationPoliciesRe
|
|
|
56
64
|
yield self
|
|
57
65
|
return GetAccountFederationPoliciesResult(
|
|
58
66
|
id=self.id,
|
|
67
|
+
page_size=self.page_size,
|
|
59
68
|
policies=self.policies)
|
|
60
69
|
|
|
61
70
|
|
|
62
|
-
def get_account_federation_policies(
|
|
71
|
+
def get_account_federation_policies(page_size: Optional[_builtins.int] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountFederationPoliciesResult:
|
|
63
73
|
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
64
76
|
This data source can be used to fetch the list of account federation policies.
|
|
65
77
|
|
|
66
78
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -77,14 +89,19 @@ def get_account_federation_policies(opts: Optional[pulumi.InvokeOptions] = None)
|
|
|
77
89
|
```
|
|
78
90
|
"""
|
|
79
91
|
__args__ = dict()
|
|
92
|
+
__args__['pageSize'] = page_size
|
|
80
93
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
81
94
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAccountFederationPolicies:getAccountFederationPolicies', __args__, opts=opts, typ=GetAccountFederationPoliciesResult).value
|
|
82
95
|
|
|
83
96
|
return AwaitableGetAccountFederationPoliciesResult(
|
|
84
97
|
id=pulumi.get(__ret__, 'id'),
|
|
98
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
85
99
|
policies=pulumi.get(__ret__, 'policies'))
|
|
86
|
-
def get_account_federation_policies_output(
|
|
100
|
+
def get_account_federation_policies_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
101
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountFederationPoliciesResult]:
|
|
87
102
|
"""
|
|
103
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
104
|
+
|
|
88
105
|
This data source can be used to fetch the list of account federation policies.
|
|
89
106
|
|
|
90
107
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -101,8 +118,10 @@ def get_account_federation_policies_output(opts: Optional[Union[pulumi.InvokeOpt
|
|
|
101
118
|
```
|
|
102
119
|
"""
|
|
103
120
|
__args__ = dict()
|
|
121
|
+
__args__['pageSize'] = page_size
|
|
104
122
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
105
123
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAccountFederationPolicies:getAccountFederationPolicies', __args__, opts=opts, typ=GetAccountFederationPoliciesResult)
|
|
106
124
|
return __ret__.apply(lambda __response__: GetAccountFederationPoliciesResult(
|
|
107
125
|
id=pulumi.get(__response__, 'id'),
|
|
126
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
108
127
|
policies=pulumi.get(__response__, 'policies')))
|
|
@@ -14,7 +14,6 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
-
from ._inputs import *
|
|
18
17
|
|
|
19
18
|
__all__ = [
|
|
20
19
|
'GetAccountFederationPolicyResult',
|
|
@@ -67,7 +66,7 @@ class GetAccountFederationPolicyResult:
|
|
|
67
66
|
|
|
68
67
|
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def description(self) ->
|
|
69
|
+
def description(self) -> _builtins.str:
|
|
71
70
|
"""
|
|
72
71
|
(string) - Description of the federation policy
|
|
73
72
|
"""
|
|
@@ -96,7 +95,7 @@ class GetAccountFederationPolicyResult:
|
|
|
96
95
|
|
|
97
96
|
@_builtins.property
|
|
98
97
|
@pulumi.getter(name="oidcPolicy")
|
|
99
|
-
def oidc_policy(self) ->
|
|
98
|
+
def oidc_policy(self) -> 'outputs.GetAccountFederationPolicyOidcPolicyResult':
|
|
100
99
|
"""
|
|
101
100
|
(OidcFederationPolicy)
|
|
102
101
|
"""
|
|
@@ -106,7 +105,7 @@ class GetAccountFederationPolicyResult:
|
|
|
106
105
|
@pulumi.getter(name="policyId")
|
|
107
106
|
def policy_id(self) -> _builtins.str:
|
|
108
107
|
"""
|
|
109
|
-
(string) - The ID of the federation policy
|
|
108
|
+
(string) - The ID of the federation policy. Output only
|
|
110
109
|
"""
|
|
111
110
|
return pulumi.get(self, "policy_id")
|
|
112
111
|
|
|
@@ -114,7 +113,7 @@ class GetAccountFederationPolicyResult:
|
|
|
114
113
|
@pulumi.getter(name="servicePrincipalId")
|
|
115
114
|
def service_principal_id(self) -> _builtins.int:
|
|
116
115
|
"""
|
|
117
|
-
(integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
|
|
116
|
+
(integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "service_principal_id")
|
|
120
119
|
|
|
@@ -152,12 +151,11 @@ class AwaitableGetAccountFederationPolicyResult(GetAccountFederationPolicyResult
|
|
|
152
151
|
update_time=self.update_time)
|
|
153
152
|
|
|
154
153
|
|
|
155
|
-
def get_account_federation_policy(
|
|
156
|
-
oidc_policy: Optional[Union['GetAccountFederationPolicyOidcPolicyArgs', 'GetAccountFederationPolicyOidcPolicyArgsDict']] = None,
|
|
157
|
-
policy_id: Optional[_builtins.str] = None,
|
|
158
|
-
service_principal_id: Optional[_builtins.int] = None,
|
|
154
|
+
def get_account_federation_policy(policy_id: Optional[_builtins.str] = None,
|
|
159
155
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountFederationPolicyResult:
|
|
160
156
|
"""
|
|
157
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
158
|
+
|
|
161
159
|
This data source can be used to get a single account federation policy.
|
|
162
160
|
|
|
163
161
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -167,16 +165,10 @@ def get_account_federation_policy(description: Optional[_builtins.str] = None,
|
|
|
167
165
|
Referring to an account federation policy by id:
|
|
168
166
|
|
|
169
167
|
|
|
170
|
-
:param _builtins.str
|
|
171
|
-
:param Union['GetAccountFederationPolicyOidcPolicyArgs', 'GetAccountFederationPolicyOidcPolicyArgsDict'] oidc_policy: (OidcFederationPolicy)
|
|
172
|
-
:param _builtins.str policy_id: The ID of the federation policy
|
|
173
|
-
:param _builtins.int service_principal_id: (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
|
|
168
|
+
:param _builtins.str policy_id: The ID of the federation policy. Output only
|
|
174
169
|
"""
|
|
175
170
|
__args__ = dict()
|
|
176
|
-
__args__['description'] = description
|
|
177
|
-
__args__['oidcPolicy'] = oidc_policy
|
|
178
171
|
__args__['policyId'] = policy_id
|
|
179
|
-
__args__['servicePrincipalId'] = service_principal_id
|
|
180
172
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
181
173
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAccountFederationPolicy:getAccountFederationPolicy', __args__, opts=opts, typ=GetAccountFederationPolicyResult).value
|
|
182
174
|
|
|
@@ -190,12 +182,11 @@ def get_account_federation_policy(description: Optional[_builtins.str] = None,
|
|
|
190
182
|
service_principal_id=pulumi.get(__ret__, 'service_principal_id'),
|
|
191
183
|
uid=pulumi.get(__ret__, 'uid'),
|
|
192
184
|
update_time=pulumi.get(__ret__, 'update_time'))
|
|
193
|
-
def get_account_federation_policy_output(
|
|
194
|
-
oidc_policy: Optional[pulumi.Input[Optional[Union['GetAccountFederationPolicyOidcPolicyArgs', 'GetAccountFederationPolicyOidcPolicyArgsDict']]]] = None,
|
|
195
|
-
policy_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
196
|
-
service_principal_id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
185
|
+
def get_account_federation_policy_output(policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
197
186
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountFederationPolicyResult]:
|
|
198
187
|
"""
|
|
188
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
189
|
+
|
|
199
190
|
This data source can be used to get a single account federation policy.
|
|
200
191
|
|
|
201
192
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -205,16 +196,10 @@ def get_account_federation_policy_output(description: Optional[pulumi.Input[Opti
|
|
|
205
196
|
Referring to an account federation policy by id:
|
|
206
197
|
|
|
207
198
|
|
|
208
|
-
:param _builtins.str
|
|
209
|
-
:param Union['GetAccountFederationPolicyOidcPolicyArgs', 'GetAccountFederationPolicyOidcPolicyArgsDict'] oidc_policy: (OidcFederationPolicy)
|
|
210
|
-
:param _builtins.str policy_id: The ID of the federation policy
|
|
211
|
-
:param _builtins.int service_principal_id: (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
|
|
199
|
+
:param _builtins.str policy_id: The ID of the federation policy. Output only
|
|
212
200
|
"""
|
|
213
201
|
__args__ = dict()
|
|
214
|
-
__args__['description'] = description
|
|
215
|
-
__args__['oidcPolicy'] = oidc_policy
|
|
216
202
|
__args__['policyId'] = policy_id
|
|
217
|
-
__args__['servicePrincipalId'] = service_principal_id
|
|
218
203
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
219
204
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAccountFederationPolicy:getAccountFederationPolicy', __args__, opts=opts, typ=GetAccountFederationPolicyResult)
|
|
220
205
|
return __ret__.apply(lambda __response__: GetAccountFederationPolicyResult(
|
|
@@ -61,6 +61,8 @@ class AwaitableGetAccountNetworkPoliciesResult(GetAccountNetworkPoliciesResult):
|
|
|
61
61
|
|
|
62
62
|
def get_account_network_policies(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountNetworkPoliciesResult:
|
|
63
63
|
"""
|
|
64
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
65
|
+
|
|
64
66
|
This data source can be used to fetch the list of network policies.
|
|
65
67
|
|
|
66
68
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -85,6 +87,8 @@ def get_account_network_policies(opts: Optional[pulumi.InvokeOptions] = None) ->
|
|
|
85
87
|
items=pulumi.get(__ret__, 'items'))
|
|
86
88
|
def get_account_network_policies_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountNetworkPoliciesResult]:
|
|
87
89
|
"""
|
|
90
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
91
|
+
|
|
88
92
|
This data source can be used to fetch the list of network policies.
|
|
89
93
|
|
|
90
94
|
> **Note** This data source can only be used with an account-level provider!
|