pulumi-databricks 1.75.0a1756323569__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 +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- 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 +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -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 +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- 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 +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- 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_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- 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 +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -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 +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- 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 +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,473 @@
|
|
|
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__ = ['AccountFederationPolicyArgs', 'AccountFederationPolicy']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class AccountFederationPolicyArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
oidc_policy: Optional[pulumi.Input['AccountFederationPolicyOidcPolicyArgs']] = None,
|
|
26
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
service_principal_id: Optional[pulumi.Input[_builtins.int]] = None):
|
|
28
|
+
"""
|
|
29
|
+
The set of arguments for constructing a AccountFederationPolicy resource.
|
|
30
|
+
:param pulumi.Input[_builtins.str] description: Description of the federation policy
|
|
31
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The ID of the federation policy. Output only
|
|
32
|
+
:param pulumi.Input[_builtins.int] service_principal_id: (integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
33
|
+
"""
|
|
34
|
+
if description is not None:
|
|
35
|
+
pulumi.set(__self__, "description", description)
|
|
36
|
+
if oidc_policy is not None:
|
|
37
|
+
pulumi.set(__self__, "oidc_policy", oidc_policy)
|
|
38
|
+
if policy_id is not None:
|
|
39
|
+
pulumi.set(__self__, "policy_id", policy_id)
|
|
40
|
+
if service_principal_id is not None:
|
|
41
|
+
pulumi.set(__self__, "service_principal_id", service_principal_id)
|
|
42
|
+
|
|
43
|
+
@_builtins.property
|
|
44
|
+
@pulumi.getter
|
|
45
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
46
|
+
"""
|
|
47
|
+
Description of the federation policy
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "description")
|
|
50
|
+
|
|
51
|
+
@description.setter
|
|
52
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
53
|
+
pulumi.set(self, "description", value)
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter(name="oidcPolicy")
|
|
57
|
+
def oidc_policy(self) -> Optional[pulumi.Input['AccountFederationPolicyOidcPolicyArgs']]:
|
|
58
|
+
return pulumi.get(self, "oidc_policy")
|
|
59
|
+
|
|
60
|
+
@oidc_policy.setter
|
|
61
|
+
def oidc_policy(self, value: Optional[pulumi.Input['AccountFederationPolicyOidcPolicyArgs']]):
|
|
62
|
+
pulumi.set(self, "oidc_policy", value)
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter(name="policyId")
|
|
66
|
+
def policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
67
|
+
"""
|
|
68
|
+
(string) - The ID of the federation policy. Output only
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "policy_id")
|
|
71
|
+
|
|
72
|
+
@policy_id.setter
|
|
73
|
+
def policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
74
|
+
pulumi.set(self, "policy_id", value)
|
|
75
|
+
|
|
76
|
+
@_builtins.property
|
|
77
|
+
@pulumi.getter(name="servicePrincipalId")
|
|
78
|
+
def service_principal_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
79
|
+
"""
|
|
80
|
+
(integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "service_principal_id")
|
|
83
|
+
|
|
84
|
+
@service_principal_id.setter
|
|
85
|
+
def service_principal_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
86
|
+
pulumi.set(self, "service_principal_id", value)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@pulumi.input_type
|
|
90
|
+
class _AccountFederationPolicyState:
|
|
91
|
+
def __init__(__self__, *,
|
|
92
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
95
|
+
oidc_policy: Optional[pulumi.Input['AccountFederationPolicyOidcPolicyArgs']] = None,
|
|
96
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
97
|
+
service_principal_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
98
|
+
uid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
99
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
100
|
+
"""
|
|
101
|
+
Input properties used for looking up and filtering AccountFederationPolicy resources.
|
|
102
|
+
:param pulumi.Input[_builtins.str] create_time: (string) - Creation time of the federation policy
|
|
103
|
+
:param pulumi.Input[_builtins.str] description: Description of the federation policy
|
|
104
|
+
:param pulumi.Input[_builtins.str] name: (string) - Resource name for the federation policy. Example values include
|
|
105
|
+
`accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
106
|
+
`accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
107
|
+
for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
108
|
+
specified in create or update requests. If specified in a request, must match the value in the
|
|
109
|
+
request URL
|
|
110
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The ID of the federation policy. Output only
|
|
111
|
+
:param pulumi.Input[_builtins.int] service_principal_id: (integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
112
|
+
:param pulumi.Input[_builtins.str] uid: (string) - Unique, immutable id of the federation policy
|
|
113
|
+
:param pulumi.Input[_builtins.str] update_time: (string) - Last update time of the federation policy
|
|
114
|
+
"""
|
|
115
|
+
if create_time is not None:
|
|
116
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
117
|
+
if description is not None:
|
|
118
|
+
pulumi.set(__self__, "description", description)
|
|
119
|
+
if name is not None:
|
|
120
|
+
pulumi.set(__self__, "name", name)
|
|
121
|
+
if oidc_policy is not None:
|
|
122
|
+
pulumi.set(__self__, "oidc_policy", oidc_policy)
|
|
123
|
+
if policy_id is not None:
|
|
124
|
+
pulumi.set(__self__, "policy_id", policy_id)
|
|
125
|
+
if service_principal_id is not None:
|
|
126
|
+
pulumi.set(__self__, "service_principal_id", service_principal_id)
|
|
127
|
+
if uid is not None:
|
|
128
|
+
pulumi.set(__self__, "uid", uid)
|
|
129
|
+
if update_time is not None:
|
|
130
|
+
pulumi.set(__self__, "update_time", update_time)
|
|
131
|
+
|
|
132
|
+
@_builtins.property
|
|
133
|
+
@pulumi.getter(name="createTime")
|
|
134
|
+
def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
135
|
+
"""
|
|
136
|
+
(string) - Creation time of the federation policy
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "create_time")
|
|
139
|
+
|
|
140
|
+
@create_time.setter
|
|
141
|
+
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
142
|
+
pulumi.set(self, "create_time", value)
|
|
143
|
+
|
|
144
|
+
@_builtins.property
|
|
145
|
+
@pulumi.getter
|
|
146
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
147
|
+
"""
|
|
148
|
+
Description of the federation policy
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "description")
|
|
151
|
+
|
|
152
|
+
@description.setter
|
|
153
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
154
|
+
pulumi.set(self, "description", value)
|
|
155
|
+
|
|
156
|
+
@_builtins.property
|
|
157
|
+
@pulumi.getter
|
|
158
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
159
|
+
"""
|
|
160
|
+
(string) - Resource name for the federation policy. Example values include
|
|
161
|
+
`accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
162
|
+
`accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
163
|
+
for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
164
|
+
specified in create or update requests. If specified in a request, must match the value in the
|
|
165
|
+
request URL
|
|
166
|
+
"""
|
|
167
|
+
return pulumi.get(self, "name")
|
|
168
|
+
|
|
169
|
+
@name.setter
|
|
170
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
171
|
+
pulumi.set(self, "name", value)
|
|
172
|
+
|
|
173
|
+
@_builtins.property
|
|
174
|
+
@pulumi.getter(name="oidcPolicy")
|
|
175
|
+
def oidc_policy(self) -> Optional[pulumi.Input['AccountFederationPolicyOidcPolicyArgs']]:
|
|
176
|
+
return pulumi.get(self, "oidc_policy")
|
|
177
|
+
|
|
178
|
+
@oidc_policy.setter
|
|
179
|
+
def oidc_policy(self, value: Optional[pulumi.Input['AccountFederationPolicyOidcPolicyArgs']]):
|
|
180
|
+
pulumi.set(self, "oidc_policy", value)
|
|
181
|
+
|
|
182
|
+
@_builtins.property
|
|
183
|
+
@pulumi.getter(name="policyId")
|
|
184
|
+
def policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
185
|
+
"""
|
|
186
|
+
(string) - The ID of the federation policy. Output only
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "policy_id")
|
|
189
|
+
|
|
190
|
+
@policy_id.setter
|
|
191
|
+
def policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
192
|
+
pulumi.set(self, "policy_id", value)
|
|
193
|
+
|
|
194
|
+
@_builtins.property
|
|
195
|
+
@pulumi.getter(name="servicePrincipalId")
|
|
196
|
+
def service_principal_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
197
|
+
"""
|
|
198
|
+
(integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "service_principal_id")
|
|
201
|
+
|
|
202
|
+
@service_principal_id.setter
|
|
203
|
+
def service_principal_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
204
|
+
pulumi.set(self, "service_principal_id", value)
|
|
205
|
+
|
|
206
|
+
@_builtins.property
|
|
207
|
+
@pulumi.getter
|
|
208
|
+
def uid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
209
|
+
"""
|
|
210
|
+
(string) - Unique, immutable id of the federation policy
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "uid")
|
|
213
|
+
|
|
214
|
+
@uid.setter
|
|
215
|
+
def uid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
216
|
+
pulumi.set(self, "uid", value)
|
|
217
|
+
|
|
218
|
+
@_builtins.property
|
|
219
|
+
@pulumi.getter(name="updateTime")
|
|
220
|
+
def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
221
|
+
"""
|
|
222
|
+
(string) - Last update time of the federation policy
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "update_time")
|
|
225
|
+
|
|
226
|
+
@update_time.setter
|
|
227
|
+
def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
228
|
+
pulumi.set(self, "update_time", value)
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
@pulumi.type_token("databricks:index/accountFederationPolicy:AccountFederationPolicy")
|
|
232
|
+
class AccountFederationPolicy(pulumi.CustomResource):
|
|
233
|
+
@overload
|
|
234
|
+
def __init__(__self__,
|
|
235
|
+
resource_name: str,
|
|
236
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
237
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
oidc_policy: Optional[pulumi.Input[Union['AccountFederationPolicyOidcPolicyArgs', 'AccountFederationPolicyOidcPolicyArgsDict']]] = None,
|
|
239
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
|
+
service_principal_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
241
|
+
__props__=None):
|
|
242
|
+
"""
|
|
243
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
244
|
+
|
|
245
|
+
Account federation policies allow users and service principals in your Databricks account to securely access Databricks APIs using tokens from your trusted identity providers (IdPs).
|
|
246
|
+
|
|
247
|
+
Token federation policies eliminate the need to manage Databricks secrets, and allow you to centralize management of token issuance policies in your IdP. Databricks token federation policies are typically used in combination with [SCIM](https://www.terraform.io/admin/users-groups/scim/index.html), so users in your IdP are synchronized into your Databricks account.
|
|
248
|
+
|
|
249
|
+
An account federation policy specifies:
|
|
250
|
+
* which IdP, or issuer, your Databricks account should accept tokens from
|
|
251
|
+
* how to determine which Databricks user, or subject, a token is issued for
|
|
252
|
+
|
|
253
|
+
## Example Usage
|
|
254
|
+
|
|
255
|
+
## Import
|
|
256
|
+
|
|
257
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
258
|
+
|
|
259
|
+
hcl
|
|
260
|
+
|
|
261
|
+
import {
|
|
262
|
+
|
|
263
|
+
id = "policy_id"
|
|
264
|
+
|
|
265
|
+
to = databricks_account_federation_policy.this
|
|
266
|
+
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
270
|
+
|
|
271
|
+
```sh
|
|
272
|
+
$ pulumi import databricks:index/accountFederationPolicy:AccountFederationPolicy this "policy_id"
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
:param str resource_name: The name of the resource.
|
|
276
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
277
|
+
:param pulumi.Input[_builtins.str] description: Description of the federation policy
|
|
278
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The ID of the federation policy. Output only
|
|
279
|
+
:param pulumi.Input[_builtins.int] service_principal_id: (integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
280
|
+
"""
|
|
281
|
+
...
|
|
282
|
+
@overload
|
|
283
|
+
def __init__(__self__,
|
|
284
|
+
resource_name: str,
|
|
285
|
+
args: Optional[AccountFederationPolicyArgs] = None,
|
|
286
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
287
|
+
"""
|
|
288
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
289
|
+
|
|
290
|
+
Account federation policies allow users and service principals in your Databricks account to securely access Databricks APIs using tokens from your trusted identity providers (IdPs).
|
|
291
|
+
|
|
292
|
+
Token federation policies eliminate the need to manage Databricks secrets, and allow you to centralize management of token issuance policies in your IdP. Databricks token federation policies are typically used in combination with [SCIM](https://www.terraform.io/admin/users-groups/scim/index.html), so users in your IdP are synchronized into your Databricks account.
|
|
293
|
+
|
|
294
|
+
An account federation policy specifies:
|
|
295
|
+
* which IdP, or issuer, your Databricks account should accept tokens from
|
|
296
|
+
* how to determine which Databricks user, or subject, a token is issued for
|
|
297
|
+
|
|
298
|
+
## Example Usage
|
|
299
|
+
|
|
300
|
+
## Import
|
|
301
|
+
|
|
302
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
303
|
+
|
|
304
|
+
hcl
|
|
305
|
+
|
|
306
|
+
import {
|
|
307
|
+
|
|
308
|
+
id = "policy_id"
|
|
309
|
+
|
|
310
|
+
to = databricks_account_federation_policy.this
|
|
311
|
+
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
315
|
+
|
|
316
|
+
```sh
|
|
317
|
+
$ pulumi import databricks:index/accountFederationPolicy:AccountFederationPolicy this "policy_id"
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
:param str resource_name: The name of the resource.
|
|
321
|
+
:param AccountFederationPolicyArgs args: The arguments to use to populate this resource's properties.
|
|
322
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
323
|
+
"""
|
|
324
|
+
...
|
|
325
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
326
|
+
resource_args, opts = _utilities.get_resource_args_opts(AccountFederationPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
327
|
+
if resource_args is not None:
|
|
328
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
329
|
+
else:
|
|
330
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
331
|
+
|
|
332
|
+
def _internal_init(__self__,
|
|
333
|
+
resource_name: str,
|
|
334
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
335
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
336
|
+
oidc_policy: Optional[pulumi.Input[Union['AccountFederationPolicyOidcPolicyArgs', 'AccountFederationPolicyOidcPolicyArgsDict']]] = None,
|
|
337
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
338
|
+
service_principal_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
339
|
+
__props__=None):
|
|
340
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
341
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
342
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
343
|
+
if opts.id is None:
|
|
344
|
+
if __props__ is not None:
|
|
345
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
346
|
+
__props__ = AccountFederationPolicyArgs.__new__(AccountFederationPolicyArgs)
|
|
347
|
+
|
|
348
|
+
__props__.__dict__["description"] = description
|
|
349
|
+
__props__.__dict__["oidc_policy"] = oidc_policy
|
|
350
|
+
__props__.__dict__["policy_id"] = policy_id
|
|
351
|
+
__props__.__dict__["service_principal_id"] = service_principal_id
|
|
352
|
+
__props__.__dict__["create_time"] = None
|
|
353
|
+
__props__.__dict__["name"] = None
|
|
354
|
+
__props__.__dict__["uid"] = None
|
|
355
|
+
__props__.__dict__["update_time"] = None
|
|
356
|
+
super(AccountFederationPolicy, __self__).__init__(
|
|
357
|
+
'databricks:index/accountFederationPolicy:AccountFederationPolicy',
|
|
358
|
+
resource_name,
|
|
359
|
+
__props__,
|
|
360
|
+
opts)
|
|
361
|
+
|
|
362
|
+
@staticmethod
|
|
363
|
+
def get(resource_name: str,
|
|
364
|
+
id: pulumi.Input[str],
|
|
365
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
366
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
367
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
368
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
369
|
+
oidc_policy: Optional[pulumi.Input[Union['AccountFederationPolicyOidcPolicyArgs', 'AccountFederationPolicyOidcPolicyArgsDict']]] = None,
|
|
370
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
371
|
+
service_principal_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
372
|
+
uid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
373
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'AccountFederationPolicy':
|
|
374
|
+
"""
|
|
375
|
+
Get an existing AccountFederationPolicy resource's state with the given name, id, and optional extra
|
|
376
|
+
properties used to qualify the lookup.
|
|
377
|
+
|
|
378
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
379
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
380
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
381
|
+
:param pulumi.Input[_builtins.str] create_time: (string) - Creation time of the federation policy
|
|
382
|
+
:param pulumi.Input[_builtins.str] description: Description of the federation policy
|
|
383
|
+
:param pulumi.Input[_builtins.str] name: (string) - Resource name for the federation policy. Example values include
|
|
384
|
+
`accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
385
|
+
`accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
386
|
+
for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
387
|
+
specified in create or update requests. If specified in a request, must match the value in the
|
|
388
|
+
request URL
|
|
389
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The ID of the federation policy. Output only
|
|
390
|
+
:param pulumi.Input[_builtins.int] service_principal_id: (integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
391
|
+
:param pulumi.Input[_builtins.str] uid: (string) - Unique, immutable id of the federation policy
|
|
392
|
+
:param pulumi.Input[_builtins.str] update_time: (string) - Last update time of the federation policy
|
|
393
|
+
"""
|
|
394
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
395
|
+
|
|
396
|
+
__props__ = _AccountFederationPolicyState.__new__(_AccountFederationPolicyState)
|
|
397
|
+
|
|
398
|
+
__props__.__dict__["create_time"] = create_time
|
|
399
|
+
__props__.__dict__["description"] = description
|
|
400
|
+
__props__.__dict__["name"] = name
|
|
401
|
+
__props__.__dict__["oidc_policy"] = oidc_policy
|
|
402
|
+
__props__.__dict__["policy_id"] = policy_id
|
|
403
|
+
__props__.__dict__["service_principal_id"] = service_principal_id
|
|
404
|
+
__props__.__dict__["uid"] = uid
|
|
405
|
+
__props__.__dict__["update_time"] = update_time
|
|
406
|
+
return AccountFederationPolicy(resource_name, opts=opts, __props__=__props__)
|
|
407
|
+
|
|
408
|
+
@_builtins.property
|
|
409
|
+
@pulumi.getter(name="createTime")
|
|
410
|
+
def create_time(self) -> pulumi.Output[_builtins.str]:
|
|
411
|
+
"""
|
|
412
|
+
(string) - Creation time of the federation policy
|
|
413
|
+
"""
|
|
414
|
+
return pulumi.get(self, "create_time")
|
|
415
|
+
|
|
416
|
+
@_builtins.property
|
|
417
|
+
@pulumi.getter
|
|
418
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
419
|
+
"""
|
|
420
|
+
Description of the federation policy
|
|
421
|
+
"""
|
|
422
|
+
return pulumi.get(self, "description")
|
|
423
|
+
|
|
424
|
+
@_builtins.property
|
|
425
|
+
@pulumi.getter
|
|
426
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
427
|
+
"""
|
|
428
|
+
(string) - Resource name for the federation policy. Example values include
|
|
429
|
+
`accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
430
|
+
`accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
431
|
+
for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
432
|
+
specified in create or update requests. If specified in a request, must match the value in the
|
|
433
|
+
request URL
|
|
434
|
+
"""
|
|
435
|
+
return pulumi.get(self, "name")
|
|
436
|
+
|
|
437
|
+
@_builtins.property
|
|
438
|
+
@pulumi.getter(name="oidcPolicy")
|
|
439
|
+
def oidc_policy(self) -> pulumi.Output[Optional['outputs.AccountFederationPolicyOidcPolicy']]:
|
|
440
|
+
return pulumi.get(self, "oidc_policy")
|
|
441
|
+
|
|
442
|
+
@_builtins.property
|
|
443
|
+
@pulumi.getter(name="policyId")
|
|
444
|
+
def policy_id(self) -> pulumi.Output[_builtins.str]:
|
|
445
|
+
"""
|
|
446
|
+
(string) - The ID of the federation policy. Output only
|
|
447
|
+
"""
|
|
448
|
+
return pulumi.get(self, "policy_id")
|
|
449
|
+
|
|
450
|
+
@_builtins.property
|
|
451
|
+
@pulumi.getter(name="servicePrincipalId")
|
|
452
|
+
def service_principal_id(self) -> pulumi.Output[_builtins.int]:
|
|
453
|
+
"""
|
|
454
|
+
(integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
455
|
+
"""
|
|
456
|
+
return pulumi.get(self, "service_principal_id")
|
|
457
|
+
|
|
458
|
+
@_builtins.property
|
|
459
|
+
@pulumi.getter
|
|
460
|
+
def uid(self) -> pulumi.Output[_builtins.str]:
|
|
461
|
+
"""
|
|
462
|
+
(string) - Unique, immutable id of the federation policy
|
|
463
|
+
"""
|
|
464
|
+
return pulumi.get(self, "uid")
|
|
465
|
+
|
|
466
|
+
@_builtins.property
|
|
467
|
+
@pulumi.getter(name="updateTime")
|
|
468
|
+
def update_time(self) -> pulumi.Output[_builtins.str]:
|
|
469
|
+
"""
|
|
470
|
+
(string) - Last update time of the federation policy
|
|
471
|
+
"""
|
|
472
|
+
return pulumi.get(self, "update_time")
|
|
473
|
+
|
|
@@ -141,6 +141,8 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
141
141
|
network_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
142
142
|
__props__=None):
|
|
143
143
|
"""
|
|
144
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
145
|
+
|
|
144
146
|
Network policies control which network destinations can be accessed from the Databricks environment.
|
|
145
147
|
|
|
146
148
|
Each Databricks account includes a default policy named `default-policy`. This policy is:
|
|
@@ -153,6 +155,8 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
153
155
|
|
|
154
156
|
> **Note** This resource can only be used with an account-level provider!
|
|
155
157
|
|
|
158
|
+
## Example Usage
|
|
159
|
+
|
|
156
160
|
## Import
|
|
157
161
|
|
|
158
162
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -161,7 +165,7 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
161
165
|
|
|
162
166
|
import {
|
|
163
167
|
|
|
164
|
-
id = network_policy_id
|
|
168
|
+
id = "network_policy_id"
|
|
165
169
|
|
|
166
170
|
to = databricks_account_network_policy.this
|
|
167
171
|
|
|
@@ -170,7 +174,7 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
170
174
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
171
175
|
|
|
172
176
|
```sh
|
|
173
|
-
$ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy
|
|
177
|
+
$ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy this "network_policy_id"
|
|
174
178
|
```
|
|
175
179
|
|
|
176
180
|
:param str resource_name: The name of the resource.
|
|
@@ -186,6 +190,8 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
186
190
|
args: Optional[AccountNetworkPolicyArgs] = None,
|
|
187
191
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
188
192
|
"""
|
|
193
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
194
|
+
|
|
189
195
|
Network policies control which network destinations can be accessed from the Databricks environment.
|
|
190
196
|
|
|
191
197
|
Each Databricks account includes a default policy named `default-policy`. This policy is:
|
|
@@ -198,6 +204,8 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
198
204
|
|
|
199
205
|
> **Note** This resource can only be used with an account-level provider!
|
|
200
206
|
|
|
207
|
+
## Example Usage
|
|
208
|
+
|
|
201
209
|
## Import
|
|
202
210
|
|
|
203
211
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -206,7 +214,7 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
206
214
|
|
|
207
215
|
import {
|
|
208
216
|
|
|
209
|
-
id = network_policy_id
|
|
217
|
+
id = "network_policy_id"
|
|
210
218
|
|
|
211
219
|
to = databricks_account_network_policy.this
|
|
212
220
|
|
|
@@ -215,7 +223,7 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
215
223
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
216
224
|
|
|
217
225
|
```sh
|
|
218
|
-
$ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy
|
|
226
|
+
$ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy this "network_policy_id"
|
|
219
227
|
```
|
|
220
228
|
|
|
221
229
|
:param str resource_name: The name of the resource.
|