pulumi-databricks 1.77.0a1761975834__py3-none-any.whl → 1.79.0a1762839813__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1761975834.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -1,125 +0,0 @@
|
|
|
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
|
-
'GetCleanRoomsCleanRoomsResult',
|
|
20
|
-
'AwaitableGetCleanRoomsCleanRoomsResult',
|
|
21
|
-
'get_clean_rooms_clean_rooms',
|
|
22
|
-
'get_clean_rooms_clean_rooms_output',
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
@pulumi.output_type
|
|
26
|
-
class GetCleanRoomsCleanRoomsResult:
|
|
27
|
-
"""
|
|
28
|
-
A collection of values returned by getCleanRoomsCleanRooms.
|
|
29
|
-
"""
|
|
30
|
-
def __init__(__self__, clean_rooms=None, id=None, workspace_id=None):
|
|
31
|
-
if clean_rooms and not isinstance(clean_rooms, list):
|
|
32
|
-
raise TypeError("Expected argument 'clean_rooms' to be a list")
|
|
33
|
-
pulumi.set(__self__, "clean_rooms", clean_rooms)
|
|
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 workspace_id and not isinstance(workspace_id, str):
|
|
38
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
39
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
40
|
-
|
|
41
|
-
@_builtins.property
|
|
42
|
-
@pulumi.getter(name="cleanRooms")
|
|
43
|
-
def clean_rooms(self) -> Sequence['outputs.GetCleanRoomsCleanRoomsCleanRoomResult']:
|
|
44
|
-
return pulumi.get(self, "clean_rooms")
|
|
45
|
-
|
|
46
|
-
@_builtins.property
|
|
47
|
-
@pulumi.getter
|
|
48
|
-
def id(self) -> _builtins.str:
|
|
49
|
-
"""
|
|
50
|
-
The provider-assigned unique ID for this managed resource.
|
|
51
|
-
"""
|
|
52
|
-
return pulumi.get(self, "id")
|
|
53
|
-
|
|
54
|
-
@_builtins.property
|
|
55
|
-
@pulumi.getter(name="workspaceId")
|
|
56
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
57
|
-
return pulumi.get(self, "workspace_id")
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
class AwaitableGetCleanRoomsCleanRoomsResult(GetCleanRoomsCleanRoomsResult):
|
|
61
|
-
# pylint: disable=using-constant-test
|
|
62
|
-
def __await__(self):
|
|
63
|
-
if False:
|
|
64
|
-
yield self
|
|
65
|
-
return GetCleanRoomsCleanRoomsResult(
|
|
66
|
-
clean_rooms=self.clean_rooms,
|
|
67
|
-
id=self.id,
|
|
68
|
-
workspace_id=self.workspace_id)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
def get_clean_rooms_clean_rooms(workspace_id: Optional[_builtins.str] = None,
|
|
72
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomsCleanRoomsResult:
|
|
73
|
-
"""
|
|
74
|
-
This data source can be used to fetch the list of clean rooms.
|
|
75
|
-
|
|
76
|
-
## Example Usage
|
|
77
|
-
|
|
78
|
-
# Example: Clean Room Datasource (Plural)
|
|
79
|
-
|
|
80
|
-
```python
|
|
81
|
-
import pulumi
|
|
82
|
-
import pulumi_databricks as databricks
|
|
83
|
-
|
|
84
|
-
all = databricks.get_clean_rooms_clean_room()
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
89
|
-
"""
|
|
90
|
-
__args__ = dict()
|
|
91
|
-
__args__['workspaceId'] = workspace_id
|
|
92
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
93
|
-
__ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomsCleanRooms:getCleanRoomsCleanRooms', __args__, opts=opts, typ=GetCleanRoomsCleanRoomsResult).value
|
|
94
|
-
|
|
95
|
-
return AwaitableGetCleanRoomsCleanRoomsResult(
|
|
96
|
-
clean_rooms=pulumi.get(__ret__, 'clean_rooms'),
|
|
97
|
-
id=pulumi.get(__ret__, 'id'),
|
|
98
|
-
workspace_id=pulumi.get(__ret__, 'workspace_id'))
|
|
99
|
-
def get_clean_rooms_clean_rooms_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
100
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomsCleanRoomsResult]:
|
|
101
|
-
"""
|
|
102
|
-
This data source can be used to fetch the list of clean rooms.
|
|
103
|
-
|
|
104
|
-
## Example Usage
|
|
105
|
-
|
|
106
|
-
# Example: Clean Room Datasource (Plural)
|
|
107
|
-
|
|
108
|
-
```python
|
|
109
|
-
import pulumi
|
|
110
|
-
import pulumi_databricks as databricks
|
|
111
|
-
|
|
112
|
-
all = databricks.get_clean_rooms_clean_room()
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
117
|
-
"""
|
|
118
|
-
__args__ = dict()
|
|
119
|
-
__args__['workspaceId'] = workspace_id
|
|
120
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
121
|
-
__ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomsCleanRooms:getCleanRoomsCleanRooms', __args__, opts=opts, typ=GetCleanRoomsCleanRoomsResult)
|
|
122
|
-
return __ret__.apply(lambda __response__: GetCleanRoomsCleanRoomsResult(
|
|
123
|
-
clean_rooms=pulumi.get(__response__, 'clean_rooms'),
|
|
124
|
-
id=pulumi.get(__response__, 'id'),
|
|
125
|
-
workspace_id=pulumi.get(__response__, 'workspace_id')))
|
|
@@ -1,101 +0,0 @@
|
|
|
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
|
-
'GetRecipientFederationPoliciesResult',
|
|
20
|
-
'AwaitableGetRecipientFederationPoliciesResult',
|
|
21
|
-
'get_recipient_federation_policies',
|
|
22
|
-
'get_recipient_federation_policies_output',
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
@pulumi.output_type
|
|
26
|
-
class GetRecipientFederationPoliciesResult:
|
|
27
|
-
"""
|
|
28
|
-
A collection of values returned by getRecipientFederationPolicies.
|
|
29
|
-
"""
|
|
30
|
-
def __init__(__self__, id=None, policies=None, workspace_id=None):
|
|
31
|
-
if id and not isinstance(id, str):
|
|
32
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
-
pulumi.set(__self__, "id", id)
|
|
34
|
-
if policies and not isinstance(policies, list):
|
|
35
|
-
raise TypeError("Expected argument 'policies' to be a list")
|
|
36
|
-
pulumi.set(__self__, "policies", policies)
|
|
37
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
38
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
39
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
40
|
-
|
|
41
|
-
@_builtins.property
|
|
42
|
-
@pulumi.getter
|
|
43
|
-
def id(self) -> _builtins.str:
|
|
44
|
-
"""
|
|
45
|
-
The provider-assigned unique ID for this managed resource.
|
|
46
|
-
"""
|
|
47
|
-
return pulumi.get(self, "id")
|
|
48
|
-
|
|
49
|
-
@_builtins.property
|
|
50
|
-
@pulumi.getter
|
|
51
|
-
def policies(self) -> Sequence['outputs.GetRecipientFederationPoliciesPolicyResult']:
|
|
52
|
-
return pulumi.get(self, "policies")
|
|
53
|
-
|
|
54
|
-
@_builtins.property
|
|
55
|
-
@pulumi.getter(name="workspaceId")
|
|
56
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
57
|
-
return pulumi.get(self, "workspace_id")
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
class AwaitableGetRecipientFederationPoliciesResult(GetRecipientFederationPoliciesResult):
|
|
61
|
-
# pylint: disable=using-constant-test
|
|
62
|
-
def __await__(self):
|
|
63
|
-
if False:
|
|
64
|
-
yield self
|
|
65
|
-
return GetRecipientFederationPoliciesResult(
|
|
66
|
-
id=self.id,
|
|
67
|
-
policies=self.policies,
|
|
68
|
-
workspace_id=self.workspace_id)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
def get_recipient_federation_policies(workspace_id: Optional[_builtins.str] = None,
|
|
72
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRecipientFederationPoliciesResult:
|
|
73
|
-
"""
|
|
74
|
-
Use this data source to access information about an existing resource.
|
|
75
|
-
|
|
76
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
77
|
-
"""
|
|
78
|
-
__args__ = dict()
|
|
79
|
-
__args__['workspaceId'] = workspace_id
|
|
80
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
81
|
-
__ret__ = pulumi.runtime.invoke('databricks:index/getRecipientFederationPolicies:getRecipientFederationPolicies', __args__, opts=opts, typ=GetRecipientFederationPoliciesResult).value
|
|
82
|
-
|
|
83
|
-
return AwaitableGetRecipientFederationPoliciesResult(
|
|
84
|
-
id=pulumi.get(__ret__, 'id'),
|
|
85
|
-
policies=pulumi.get(__ret__, 'policies'),
|
|
86
|
-
workspace_id=pulumi.get(__ret__, 'workspace_id'))
|
|
87
|
-
def get_recipient_federation_policies_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
88
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecipientFederationPoliciesResult]:
|
|
89
|
-
"""
|
|
90
|
-
Use this data source to access information about an existing resource.
|
|
91
|
-
|
|
92
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
93
|
-
"""
|
|
94
|
-
__args__ = dict()
|
|
95
|
-
__args__['workspaceId'] = workspace_id
|
|
96
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
97
|
-
__ret__ = pulumi.runtime.invoke_output('databricks:index/getRecipientFederationPolicies:getRecipientFederationPolicies', __args__, opts=opts, typ=GetRecipientFederationPoliciesResult)
|
|
98
|
-
return __ret__.apply(lambda __response__: GetRecipientFederationPoliciesResult(
|
|
99
|
-
id=pulumi.get(__response__, 'id'),
|
|
100
|
-
policies=pulumi.get(__response__, 'policies'),
|
|
101
|
-
workspace_id=pulumi.get(__response__, 'workspace_id')))
|
|
@@ -1,182 +0,0 @@
|
|
|
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__ = [
|
|
20
|
-
'GetRecipientFederationPolicyResult',
|
|
21
|
-
'AwaitableGetRecipientFederationPolicyResult',
|
|
22
|
-
'get_recipient_federation_policy',
|
|
23
|
-
'get_recipient_federation_policy_output',
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
@pulumi.output_type
|
|
27
|
-
class GetRecipientFederationPolicyResult:
|
|
28
|
-
"""
|
|
29
|
-
A collection of values returned by getRecipientFederationPolicy.
|
|
30
|
-
"""
|
|
31
|
-
def __init__(__self__, comment=None, create_time=None, id=None, name=None, oidc_policy=None, update_time=None, workspace_id=None):
|
|
32
|
-
if comment and not isinstance(comment, str):
|
|
33
|
-
raise TypeError("Expected argument 'comment' to be a str")
|
|
34
|
-
pulumi.set(__self__, "comment", comment)
|
|
35
|
-
if create_time and not isinstance(create_time, str):
|
|
36
|
-
raise TypeError("Expected argument 'create_time' to be a str")
|
|
37
|
-
pulumi.set(__self__, "create_time", create_time)
|
|
38
|
-
if id and not isinstance(id, str):
|
|
39
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
40
|
-
pulumi.set(__self__, "id", id)
|
|
41
|
-
if name and not isinstance(name, str):
|
|
42
|
-
raise TypeError("Expected argument 'name' to be a str")
|
|
43
|
-
pulumi.set(__self__, "name", name)
|
|
44
|
-
if oidc_policy and not isinstance(oidc_policy, dict):
|
|
45
|
-
raise TypeError("Expected argument 'oidc_policy' to be a dict")
|
|
46
|
-
pulumi.set(__self__, "oidc_policy", oidc_policy)
|
|
47
|
-
if update_time and not isinstance(update_time, str):
|
|
48
|
-
raise TypeError("Expected argument 'update_time' to be a str")
|
|
49
|
-
pulumi.set(__self__, "update_time", update_time)
|
|
50
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
51
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
52
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
53
|
-
|
|
54
|
-
@_builtins.property
|
|
55
|
-
@pulumi.getter
|
|
56
|
-
def comment(self) -> Optional[_builtins.str]:
|
|
57
|
-
"""
|
|
58
|
-
(string) - Description of the policy. This is a user-provided description
|
|
59
|
-
"""
|
|
60
|
-
return pulumi.get(self, "comment")
|
|
61
|
-
|
|
62
|
-
@_builtins.property
|
|
63
|
-
@pulumi.getter(name="createTime")
|
|
64
|
-
def create_time(self) -> _builtins.str:
|
|
65
|
-
"""
|
|
66
|
-
(string) - System-generated timestamp indicating when the policy was created
|
|
67
|
-
"""
|
|
68
|
-
return pulumi.get(self, "create_time")
|
|
69
|
-
|
|
70
|
-
@_builtins.property
|
|
71
|
-
@pulumi.getter
|
|
72
|
-
def id(self) -> _builtins.str:
|
|
73
|
-
"""
|
|
74
|
-
(string) - Unique, immutable system-generated identifier for the federation policy
|
|
75
|
-
"""
|
|
76
|
-
return pulumi.get(self, "id")
|
|
77
|
-
|
|
78
|
-
@_builtins.property
|
|
79
|
-
@pulumi.getter
|
|
80
|
-
def name(self) -> Optional[_builtins.str]:
|
|
81
|
-
"""
|
|
82
|
-
(string) - Name of the federation policy. A recipient can have multiple policies with different names.
|
|
83
|
-
The name must contain only lowercase alphanumeric characters, numbers, and hyphens
|
|
84
|
-
"""
|
|
85
|
-
return pulumi.get(self, "name")
|
|
86
|
-
|
|
87
|
-
@_builtins.property
|
|
88
|
-
@pulumi.getter(name="oidcPolicy")
|
|
89
|
-
def oidc_policy(self) -> Optional['outputs.GetRecipientFederationPolicyOidcPolicyResult']:
|
|
90
|
-
"""
|
|
91
|
-
(OidcFederationPolicy) - Specifies the policy to use for validating OIDC claims in the federated tokens
|
|
92
|
-
"""
|
|
93
|
-
return pulumi.get(self, "oidc_policy")
|
|
94
|
-
|
|
95
|
-
@_builtins.property
|
|
96
|
-
@pulumi.getter(name="updateTime")
|
|
97
|
-
def update_time(self) -> _builtins.str:
|
|
98
|
-
"""
|
|
99
|
-
(string) - System-generated timestamp indicating when the policy was last updated
|
|
100
|
-
"""
|
|
101
|
-
return pulumi.get(self, "update_time")
|
|
102
|
-
|
|
103
|
-
@_builtins.property
|
|
104
|
-
@pulumi.getter(name="workspaceId")
|
|
105
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
106
|
-
return pulumi.get(self, "workspace_id")
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
class AwaitableGetRecipientFederationPolicyResult(GetRecipientFederationPolicyResult):
|
|
110
|
-
# pylint: disable=using-constant-test
|
|
111
|
-
def __await__(self):
|
|
112
|
-
if False:
|
|
113
|
-
yield self
|
|
114
|
-
return GetRecipientFederationPolicyResult(
|
|
115
|
-
comment=self.comment,
|
|
116
|
-
create_time=self.create_time,
|
|
117
|
-
id=self.id,
|
|
118
|
-
name=self.name,
|
|
119
|
-
oidc_policy=self.oidc_policy,
|
|
120
|
-
update_time=self.update_time,
|
|
121
|
-
workspace_id=self.workspace_id)
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
def get_recipient_federation_policy(comment: Optional[_builtins.str] = None,
|
|
125
|
-
name: Optional[_builtins.str] = None,
|
|
126
|
-
oidc_policy: Optional[Union['GetRecipientFederationPolicyOidcPolicyArgs', 'GetRecipientFederationPolicyOidcPolicyArgsDict']] = None,
|
|
127
|
-
workspace_id: Optional[_builtins.str] = None,
|
|
128
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRecipientFederationPolicyResult:
|
|
129
|
-
"""
|
|
130
|
-
Use this data source to access information about an existing resource.
|
|
131
|
-
|
|
132
|
-
:param _builtins.str comment: (string) - Description of the policy. This is a user-provided description
|
|
133
|
-
:param _builtins.str name: Name of the federation policy. A recipient can have multiple policies with different names.
|
|
134
|
-
The name must contain only lowercase alphanumeric characters, numbers, and hyphens
|
|
135
|
-
:param Union['GetRecipientFederationPolicyOidcPolicyArgs', 'GetRecipientFederationPolicyOidcPolicyArgsDict'] oidc_policy: (OidcFederationPolicy) - Specifies the policy to use for validating OIDC claims in the federated tokens
|
|
136
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
137
|
-
"""
|
|
138
|
-
__args__ = dict()
|
|
139
|
-
__args__['comment'] = comment
|
|
140
|
-
__args__['name'] = name
|
|
141
|
-
__args__['oidcPolicy'] = oidc_policy
|
|
142
|
-
__args__['workspaceId'] = workspace_id
|
|
143
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
144
|
-
__ret__ = pulumi.runtime.invoke('databricks:index/getRecipientFederationPolicy:getRecipientFederationPolicy', __args__, opts=opts, typ=GetRecipientFederationPolicyResult).value
|
|
145
|
-
|
|
146
|
-
return AwaitableGetRecipientFederationPolicyResult(
|
|
147
|
-
comment=pulumi.get(__ret__, 'comment'),
|
|
148
|
-
create_time=pulumi.get(__ret__, 'create_time'),
|
|
149
|
-
id=pulumi.get(__ret__, 'id'),
|
|
150
|
-
name=pulumi.get(__ret__, 'name'),
|
|
151
|
-
oidc_policy=pulumi.get(__ret__, 'oidc_policy'),
|
|
152
|
-
update_time=pulumi.get(__ret__, 'update_time'),
|
|
153
|
-
workspace_id=pulumi.get(__ret__, 'workspace_id'))
|
|
154
|
-
def get_recipient_federation_policy_output(comment: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
155
|
-
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
156
|
-
oidc_policy: Optional[pulumi.Input[Optional[Union['GetRecipientFederationPolicyOidcPolicyArgs', 'GetRecipientFederationPolicyOidcPolicyArgsDict']]]] = None,
|
|
157
|
-
workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
158
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRecipientFederationPolicyResult]:
|
|
159
|
-
"""
|
|
160
|
-
Use this data source to access information about an existing resource.
|
|
161
|
-
|
|
162
|
-
:param _builtins.str comment: (string) - Description of the policy. This is a user-provided description
|
|
163
|
-
:param _builtins.str name: Name of the federation policy. A recipient can have multiple policies with different names.
|
|
164
|
-
The name must contain only lowercase alphanumeric characters, numbers, and hyphens
|
|
165
|
-
:param Union['GetRecipientFederationPolicyOidcPolicyArgs', 'GetRecipientFederationPolicyOidcPolicyArgsDict'] oidc_policy: (OidcFederationPolicy) - Specifies the policy to use for validating OIDC claims in the federated tokens
|
|
166
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
167
|
-
"""
|
|
168
|
-
__args__ = dict()
|
|
169
|
-
__args__['comment'] = comment
|
|
170
|
-
__args__['name'] = name
|
|
171
|
-
__args__['oidcPolicy'] = oidc_policy
|
|
172
|
-
__args__['workspaceId'] = workspace_id
|
|
173
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
174
|
-
__ret__ = pulumi.runtime.invoke_output('databricks:index/getRecipientFederationPolicy:getRecipientFederationPolicy', __args__, opts=opts, typ=GetRecipientFederationPolicyResult)
|
|
175
|
-
return __ret__.apply(lambda __response__: GetRecipientFederationPolicyResult(
|
|
176
|
-
comment=pulumi.get(__response__, 'comment'),
|
|
177
|
-
create_time=pulumi.get(__response__, 'create_time'),
|
|
178
|
-
id=pulumi.get(__response__, 'id'),
|
|
179
|
-
name=pulumi.get(__response__, 'name'),
|
|
180
|
-
oidc_policy=pulumi.get(__response__, 'oidc_policy'),
|
|
181
|
-
update_time=pulumi.get(__response__, 'update_time'),
|
|
182
|
-
workspace_id=pulumi.get(__response__, 'workspace_id')))
|