pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
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
|
+
'GetAccountFederationPolicyResult',
|
|
20
|
+
'AwaitableGetAccountFederationPolicyResult',
|
|
21
|
+
'get_account_federation_policy',
|
|
22
|
+
'get_account_federation_policy_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAccountFederationPolicyResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getAccountFederationPolicy.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, create_time=None, description=None, id=None, name=None, oidc_policy=None, policy_id=None, service_principal_id=None, uid=None, update_time=None):
|
|
31
|
+
if create_time and not isinstance(create_time, str):
|
|
32
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
|
33
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
34
|
+
if description and not isinstance(description, str):
|
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
36
|
+
pulumi.set(__self__, "description", description)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if name and not isinstance(name, str):
|
|
41
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "name", name)
|
|
43
|
+
if oidc_policy and not isinstance(oidc_policy, dict):
|
|
44
|
+
raise TypeError("Expected argument 'oidc_policy' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "oidc_policy", oidc_policy)
|
|
46
|
+
if policy_id and not isinstance(policy_id, str):
|
|
47
|
+
raise TypeError("Expected argument 'policy_id' to be a str")
|
|
48
|
+
pulumi.set(__self__, "policy_id", policy_id)
|
|
49
|
+
if service_principal_id and not isinstance(service_principal_id, int):
|
|
50
|
+
raise TypeError("Expected argument 'service_principal_id' to be a int")
|
|
51
|
+
pulumi.set(__self__, "service_principal_id", service_principal_id)
|
|
52
|
+
if uid and not isinstance(uid, str):
|
|
53
|
+
raise TypeError("Expected argument 'uid' to be a str")
|
|
54
|
+
pulumi.set(__self__, "uid", uid)
|
|
55
|
+
if update_time and not isinstance(update_time, str):
|
|
56
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
|
57
|
+
pulumi.set(__self__, "update_time", update_time)
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter(name="createTime")
|
|
61
|
+
def create_time(self) -> _builtins.str:
|
|
62
|
+
"""
|
|
63
|
+
(string) - Creation time of the federation policy
|
|
64
|
+
"""
|
|
65
|
+
return pulumi.get(self, "create_time")
|
|
66
|
+
|
|
67
|
+
@_builtins.property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def description(self) -> _builtins.str:
|
|
70
|
+
"""
|
|
71
|
+
(string) - Description of the federation policy
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "description")
|
|
74
|
+
|
|
75
|
+
@_builtins.property
|
|
76
|
+
@pulumi.getter
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
78
|
+
"""
|
|
79
|
+
The provider-assigned unique ID for this managed resource.
|
|
80
|
+
"""
|
|
81
|
+
return pulumi.get(self, "id")
|
|
82
|
+
|
|
83
|
+
@_builtins.property
|
|
84
|
+
@pulumi.getter
|
|
85
|
+
def name(self) -> _builtins.str:
|
|
86
|
+
"""
|
|
87
|
+
(string) - Resource name for the federation policy. Example values include
|
|
88
|
+
`accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
89
|
+
`accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
90
|
+
for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
91
|
+
specified in create or update requests. If specified in a request, must match the value in the
|
|
92
|
+
request URL
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "name")
|
|
95
|
+
|
|
96
|
+
@_builtins.property
|
|
97
|
+
@pulumi.getter(name="oidcPolicy")
|
|
98
|
+
def oidc_policy(self) -> 'outputs.GetAccountFederationPolicyOidcPolicyResult':
|
|
99
|
+
"""
|
|
100
|
+
(OidcFederationPolicy)
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "oidc_policy")
|
|
103
|
+
|
|
104
|
+
@_builtins.property
|
|
105
|
+
@pulumi.getter(name="policyId")
|
|
106
|
+
def policy_id(self) -> _builtins.str:
|
|
107
|
+
"""
|
|
108
|
+
(string) - The ID of the federation policy. Output only
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "policy_id")
|
|
111
|
+
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter(name="servicePrincipalId")
|
|
114
|
+
def service_principal_id(self) -> _builtins.int:
|
|
115
|
+
"""
|
|
116
|
+
(integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "service_principal_id")
|
|
119
|
+
|
|
120
|
+
@_builtins.property
|
|
121
|
+
@pulumi.getter
|
|
122
|
+
def uid(self) -> _builtins.str:
|
|
123
|
+
"""
|
|
124
|
+
(string) - Unique, immutable id of the federation policy
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "uid")
|
|
127
|
+
|
|
128
|
+
@_builtins.property
|
|
129
|
+
@pulumi.getter(name="updateTime")
|
|
130
|
+
def update_time(self) -> _builtins.str:
|
|
131
|
+
"""
|
|
132
|
+
(string) - Last update time of the federation policy
|
|
133
|
+
"""
|
|
134
|
+
return pulumi.get(self, "update_time")
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class AwaitableGetAccountFederationPolicyResult(GetAccountFederationPolicyResult):
|
|
138
|
+
# pylint: disable=using-constant-test
|
|
139
|
+
def __await__(self):
|
|
140
|
+
if False:
|
|
141
|
+
yield self
|
|
142
|
+
return GetAccountFederationPolicyResult(
|
|
143
|
+
create_time=self.create_time,
|
|
144
|
+
description=self.description,
|
|
145
|
+
id=self.id,
|
|
146
|
+
name=self.name,
|
|
147
|
+
oidc_policy=self.oidc_policy,
|
|
148
|
+
policy_id=self.policy_id,
|
|
149
|
+
service_principal_id=self.service_principal_id,
|
|
150
|
+
uid=self.uid,
|
|
151
|
+
update_time=self.update_time)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
def get_account_federation_policy(policy_id: Optional[_builtins.str] = None,
|
|
155
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountFederationPolicyResult:
|
|
156
|
+
"""
|
|
157
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
158
|
+
|
|
159
|
+
This data source can be used to get a single account federation policy.
|
|
160
|
+
|
|
161
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
162
|
+
|
|
163
|
+
## Example Usage
|
|
164
|
+
|
|
165
|
+
Referring to an account federation policy by id:
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:param _builtins.str policy_id: The ID of the federation policy. Output only
|
|
169
|
+
"""
|
|
170
|
+
__args__ = dict()
|
|
171
|
+
__args__['policyId'] = policy_id
|
|
172
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
173
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getAccountFederationPolicy:getAccountFederationPolicy', __args__, opts=opts, typ=GetAccountFederationPolicyResult).value
|
|
174
|
+
|
|
175
|
+
return AwaitableGetAccountFederationPolicyResult(
|
|
176
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
|
177
|
+
description=pulumi.get(__ret__, 'description'),
|
|
178
|
+
id=pulumi.get(__ret__, 'id'),
|
|
179
|
+
name=pulumi.get(__ret__, 'name'),
|
|
180
|
+
oidc_policy=pulumi.get(__ret__, 'oidc_policy'),
|
|
181
|
+
policy_id=pulumi.get(__ret__, 'policy_id'),
|
|
182
|
+
service_principal_id=pulumi.get(__ret__, 'service_principal_id'),
|
|
183
|
+
uid=pulumi.get(__ret__, 'uid'),
|
|
184
|
+
update_time=pulumi.get(__ret__, 'update_time'))
|
|
185
|
+
def get_account_federation_policy_output(policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
186
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountFederationPolicyResult]:
|
|
187
|
+
"""
|
|
188
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
189
|
+
|
|
190
|
+
This data source can be used to get a single account federation policy.
|
|
191
|
+
|
|
192
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
193
|
+
|
|
194
|
+
## Example Usage
|
|
195
|
+
|
|
196
|
+
Referring to an account federation policy by id:
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
:param _builtins.str policy_id: The ID of the federation policy. Output only
|
|
200
|
+
"""
|
|
201
|
+
__args__ = dict()
|
|
202
|
+
__args__['policyId'] = policy_id
|
|
203
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
204
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAccountFederationPolicy:getAccountFederationPolicy', __args__, opts=opts, typ=GetAccountFederationPolicyResult)
|
|
205
|
+
return __ret__.apply(lambda __response__: GetAccountFederationPolicyResult(
|
|
206
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
207
|
+
description=pulumi.get(__response__, 'description'),
|
|
208
|
+
id=pulumi.get(__response__, 'id'),
|
|
209
|
+
name=pulumi.get(__response__, 'name'),
|
|
210
|
+
oidc_policy=pulumi.get(__response__, 'oidc_policy'),
|
|
211
|
+
policy_id=pulumi.get(__response__, 'policy_id'),
|
|
212
|
+
service_principal_id=pulumi.get(__response__, 'service_principal_id'),
|
|
213
|
+
uid=pulumi.get(__response__, 'uid'),
|
|
214
|
+
update_time=pulumi.get(__response__, 'update_time')))
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -36,15 +35,15 @@ class GetAccountNetworkPoliciesResult:
|
|
|
36
35
|
raise TypeError("Expected argument 'items' to be a list")
|
|
37
36
|
pulumi.set(__self__, "items", items)
|
|
38
37
|
|
|
39
|
-
@property
|
|
38
|
+
@_builtins.property
|
|
40
39
|
@pulumi.getter
|
|
41
|
-
def id(self) ->
|
|
40
|
+
def id(self) -> _builtins.str:
|
|
42
41
|
"""
|
|
43
42
|
The provider-assigned unique ID for this managed resource.
|
|
44
43
|
"""
|
|
45
44
|
return pulumi.get(self, "id")
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter
|
|
49
48
|
def items(self) -> Sequence['outputs.GetAccountNetworkPoliciesItemResult']:
|
|
50
49
|
return pulumi.get(self, "items")
|
|
@@ -62,7 +61,22 @@ class AwaitableGetAccountNetworkPoliciesResult(GetAccountNetworkPoliciesResult):
|
|
|
62
61
|
|
|
63
62
|
def get_account_network_policies(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountNetworkPoliciesResult:
|
|
64
63
|
"""
|
|
65
|
-
|
|
64
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
65
|
+
|
|
66
|
+
This data source can be used to fetch the list of network policies.
|
|
67
|
+
|
|
68
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
69
|
+
|
|
70
|
+
## Example Usage
|
|
71
|
+
|
|
72
|
+
Getting a list of all network policies:
|
|
73
|
+
|
|
74
|
+
```python
|
|
75
|
+
import pulumi
|
|
76
|
+
import pulumi_databricks as databricks
|
|
77
|
+
|
|
78
|
+
all = databricks.get_account_network_policies()
|
|
79
|
+
```
|
|
66
80
|
"""
|
|
67
81
|
__args__ = dict()
|
|
68
82
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -73,7 +87,22 @@ def get_account_network_policies(opts: Optional[pulumi.InvokeOptions] = None) ->
|
|
|
73
87
|
items=pulumi.get(__ret__, 'items'))
|
|
74
88
|
def get_account_network_policies_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountNetworkPoliciesResult]:
|
|
75
89
|
"""
|
|
76
|
-
|
|
90
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
91
|
+
|
|
92
|
+
This data source can be used to fetch the list of network policies.
|
|
93
|
+
|
|
94
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
95
|
+
|
|
96
|
+
## Example Usage
|
|
97
|
+
|
|
98
|
+
Getting a list of all network policies:
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
import pulumi
|
|
102
|
+
import pulumi_databricks as databricks
|
|
103
|
+
|
|
104
|
+
all = databricks.get_account_network_policies()
|
|
105
|
+
```
|
|
77
106
|
"""
|
|
78
107
|
__args__ = dict()
|
|
79
108
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -15,7 +14,6 @@ else:
|
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
17
16
|
from . import outputs
|
|
18
|
-
from ._inputs import *
|
|
19
17
|
|
|
20
18
|
__all__ = [
|
|
21
19
|
'GetAccountNetworkPolicyResult',
|
|
@@ -43,33 +41,33 @@ class GetAccountNetworkPolicyResult:
|
|
|
43
41
|
raise TypeError("Expected argument 'network_policy_id' to be a str")
|
|
44
42
|
pulumi.set(__self__, "network_policy_id", network_policy_id)
|
|
45
43
|
|
|
46
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
47
45
|
@pulumi.getter(name="accountId")
|
|
48
|
-
def account_id(self) ->
|
|
46
|
+
def account_id(self) -> _builtins.str:
|
|
49
47
|
"""
|
|
50
48
|
(string) - The associated account ID for this Network Policy object
|
|
51
49
|
"""
|
|
52
50
|
return pulumi.get(self, "account_id")
|
|
53
51
|
|
|
54
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
55
53
|
@pulumi.getter
|
|
56
|
-
def egress(self) ->
|
|
54
|
+
def egress(self) -> 'outputs.GetAccountNetworkPolicyEgressResult':
|
|
57
55
|
"""
|
|
58
56
|
(NetworkPolicyEgress) - The network policies applying for egress traffic
|
|
59
57
|
"""
|
|
60
58
|
return pulumi.get(self, "egress")
|
|
61
59
|
|
|
62
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
63
61
|
@pulumi.getter
|
|
64
|
-
def id(self) ->
|
|
62
|
+
def id(self) -> _builtins.str:
|
|
65
63
|
"""
|
|
66
64
|
The provider-assigned unique ID for this managed resource.
|
|
67
65
|
"""
|
|
68
66
|
return pulumi.get(self, "id")
|
|
69
67
|
|
|
70
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
71
69
|
@pulumi.getter(name="networkPolicyId")
|
|
72
|
-
def network_policy_id(self) ->
|
|
70
|
+
def network_policy_id(self) -> _builtins.str:
|
|
73
71
|
"""
|
|
74
72
|
(string) - The unique identifier for the network policy
|
|
75
73
|
"""
|
|
@@ -88,20 +86,23 @@ class AwaitableGetAccountNetworkPolicyResult(GetAccountNetworkPolicyResult):
|
|
|
88
86
|
network_policy_id=self.network_policy_id)
|
|
89
87
|
|
|
90
88
|
|
|
91
|
-
def get_account_network_policy(
|
|
92
|
-
egress: Optional[Union['GetAccountNetworkPolicyEgressArgs', 'GetAccountNetworkPolicyEgressArgsDict']] = None,
|
|
93
|
-
network_policy_id: Optional[builtins.str] = None,
|
|
89
|
+
def get_account_network_policy(network_policy_id: Optional[_builtins.str] = None,
|
|
94
90
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountNetworkPolicyResult:
|
|
95
91
|
"""
|
|
96
|
-
|
|
92
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
97
93
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
94
|
+
This data source can be used to get a single network policy.
|
|
95
|
+
|
|
96
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
97
|
+
|
|
98
|
+
## Example Usage
|
|
99
|
+
|
|
100
|
+
Referring to a network policy by id:
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param _builtins.str network_policy_id: The unique identifier for the network policy
|
|
101
104
|
"""
|
|
102
105
|
__args__ = dict()
|
|
103
|
-
__args__['accountId'] = account_id
|
|
104
|
-
__args__['egress'] = egress
|
|
105
106
|
__args__['networkPolicyId'] = network_policy_id
|
|
106
107
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
107
108
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAccountNetworkPolicy:getAccountNetworkPolicy', __args__, opts=opts, typ=GetAccountNetworkPolicyResult).value
|
|
@@ -111,20 +112,23 @@ def get_account_network_policy(account_id: Optional[builtins.str] = None,
|
|
|
111
112
|
egress=pulumi.get(__ret__, 'egress'),
|
|
112
113
|
id=pulumi.get(__ret__, 'id'),
|
|
113
114
|
network_policy_id=pulumi.get(__ret__, 'network_policy_id'))
|
|
114
|
-
def get_account_network_policy_output(
|
|
115
|
-
egress: Optional[pulumi.Input[Optional[Union['GetAccountNetworkPolicyEgressArgs', 'GetAccountNetworkPolicyEgressArgsDict']]]] = None,
|
|
116
|
-
network_policy_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
115
|
+
def get_account_network_policy_output(network_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
116
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountNetworkPolicyResult]:
|
|
118
117
|
"""
|
|
119
|
-
|
|
118
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
119
|
+
|
|
120
|
+
This data source can be used to get a single network policy.
|
|
121
|
+
|
|
122
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
123
|
+
|
|
124
|
+
## Example Usage
|
|
125
|
+
|
|
126
|
+
Referring to a network policy by id:
|
|
127
|
+
|
|
120
128
|
|
|
121
|
-
:param
|
|
122
|
-
:param Union['GetAccountNetworkPolicyEgressArgs', 'GetAccountNetworkPolicyEgressArgsDict'] egress: (NetworkPolicyEgress) - The network policies applying for egress traffic
|
|
123
|
-
:param builtins.str network_policy_id: The unique identifier for the network policy
|
|
129
|
+
:param _builtins.str network_policy_id: The unique identifier for the network policy
|
|
124
130
|
"""
|
|
125
131
|
__args__ = dict()
|
|
126
|
-
__args__['accountId'] = account_id
|
|
127
|
-
__args__['egress'] = egress
|
|
128
132
|
__args__['networkPolicyId'] = network_policy_id
|
|
129
133
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
130
134
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAccountNetworkPolicy:getAccountNetworkPolicy', __args__, opts=opts, typ=GetAccountNetworkPolicyResult)
|