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.
Files changed (159) hide show
  1. pulumi_databricks/__init__.py +129 -46
  2. pulumi_databricks/_inputs.py +13377 -13798
  3. pulumi_databricks/account_federation_policy.py +473 -0
  4. pulumi_databricks/account_network_policy.py +12 -4
  5. pulumi_databricks/account_setting_v2.py +759 -0
  6. pulumi_databricks/alert_v2.py +223 -90
  7. pulumi_databricks/app.py +111 -4
  8. pulumi_databricks/apps_settings_custom_template.py +531 -0
  9. pulumi_databricks/budget_policy.py +28 -5
  10. pulumi_databricks/catalog.py +322 -2
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/config/__init__.pyi +2 -0
  13. pulumi_databricks/config/vars.py +4 -0
  14. pulumi_databricks/connection.py +0 -34
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +492 -0
  17. pulumi_databricks/database_database_catalog.py +8 -4
  18. pulumi_databricks/database_instance.py +354 -73
  19. pulumi_databricks/database_synced_database_table.py +52 -4
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +409 -0
  22. pulumi_databricks/external_metadata.py +15 -11
  23. pulumi_databricks/feature_engineering_feature.py +480 -0
  24. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  25. pulumi_databricks/get_account_federation_policies.py +127 -0
  26. pulumi_databricks/get_account_federation_policy.py +214 -0
  27. pulumi_databricks/get_account_network_policies.py +4 -0
  28. pulumi_databricks/get_account_network_policy.py +17 -18
  29. pulumi_databricks/get_account_setting_v2.py +331 -0
  30. pulumi_databricks/get_alert_v2.py +78 -70
  31. pulumi_databricks/get_alerts_v2.py +31 -12
  32. pulumi_databricks/get_app.py +21 -9
  33. pulumi_databricks/get_apps.py +22 -10
  34. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  35. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  36. pulumi_databricks/get_aws_bucket_policy.py +6 -6
  37. pulumi_databricks/get_budget_policies.py +70 -6
  38. pulumi_databricks/get_budget_policy.py +35 -30
  39. pulumi_databricks/get_catalog.py +21 -4
  40. pulumi_databricks/get_catalogs.py +23 -4
  41. pulumi_databricks/get_cluster.py +21 -4
  42. pulumi_databricks/get_cluster_policy.py +23 -4
  43. pulumi_databricks/get_clusters.py +21 -4
  44. pulumi_databricks/get_current_metastore.py +21 -4
  45. pulumi_databricks/get_dashboards.py +24 -4
  46. pulumi_databricks/get_data_quality_monitor.py +210 -0
  47. pulumi_databricks/get_data_quality_monitors.py +143 -0
  48. pulumi_databricks/get_data_quality_refresh.py +270 -0
  49. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  50. pulumi_databricks/get_database_database_catalog.py +6 -20
  51. pulumi_databricks/get_database_database_catalogs.py +46 -8
  52. pulumi_databricks/get_database_instance.py +122 -75
  53. pulumi_databricks/get_database_instances.py +31 -6
  54. pulumi_databricks/get_database_synced_database_table.py +7 -28
  55. pulumi_databricks/get_database_synced_database_tables.py +43 -5
  56. pulumi_databricks/get_directory.py +20 -1
  57. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  58. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  59. pulumi_databricks/get_external_location.py +21 -4
  60. pulumi_databricks/get_external_locations.py +23 -4
  61. pulumi_databricks/get_external_metadata.py +12 -50
  62. pulumi_databricks/get_external_metadatas.py +55 -6
  63. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  64. pulumi_databricks/get_feature_engineering_features.py +103 -0
  65. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  66. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  67. pulumi_databricks/get_functions.py +16 -1
  68. pulumi_databricks/get_instance_profiles.py +21 -4
  69. pulumi_databricks/get_jobs.py +23 -4
  70. pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
  71. pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
  72. pulumi_databricks/get_metastore.py +2 -2
  73. pulumi_databricks/get_mlflow_experiment.py +18 -1
  74. pulumi_databricks/get_mlflow_model.py +18 -1
  75. pulumi_databricks/get_mlflow_models.py +23 -4
  76. pulumi_databricks/get_node_type.py +42 -5
  77. pulumi_databricks/get_notification_destinations.py +17 -1
  78. pulumi_databricks/get_online_store.py +7 -17
  79. pulumi_databricks/get_online_stores.py +29 -8
  80. pulumi_databricks/get_pipelines.py +23 -4
  81. pulumi_databricks/get_policy_info.py +28 -99
  82. pulumi_databricks/get_policy_infos.py +92 -5
  83. pulumi_databricks/get_quality_monitor_v2.py +4 -0
  84. pulumi_databricks/get_quality_monitors_v2.py +22 -3
  85. pulumi_databricks/get_registered_model.py +19 -4
  86. pulumi_databricks/get_registered_model_versions.py +19 -4
  87. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  88. pulumi_databricks/get_schema.py +18 -1
  89. pulumi_databricks/get_schemas.py +23 -4
  90. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  91. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  92. pulumi_databricks/get_serving_endpoints.py +19 -4
  93. pulumi_databricks/get_share.py +117 -18
  94. pulumi_databricks/get_shares.py +22 -3
  95. pulumi_databricks/get_spark_version.py +20 -1
  96. pulumi_databricks/get_sql_warehouse.py +16 -1
  97. pulumi_databricks/get_sql_warehouses.py +20 -1
  98. pulumi_databricks/get_storage_credential.py +18 -1
  99. pulumi_databricks/get_storage_credentials.py +23 -4
  100. pulumi_databricks/get_table.py +18 -1
  101. pulumi_databricks/get_tables.py +20 -1
  102. pulumi_databricks/get_tag_policies.py +139 -0
  103. pulumi_databricks/get_tag_policy.py +175 -0
  104. pulumi_databricks/get_views.py +20 -1
  105. pulumi_databricks/get_volume.py +18 -1
  106. pulumi_databricks/get_volumes.py +20 -1
  107. pulumi_databricks/get_workspace_network_option.py +8 -16
  108. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  109. pulumi_databricks/get_zones.py +20 -1
  110. pulumi_databricks/git_credential.py +54 -7
  111. pulumi_databricks/grant.py +2 -2
  112. pulumi_databricks/group.py +21 -21
  113. pulumi_databricks/job.py +47 -0
  114. pulumi_databricks/library.py +165 -0
  115. pulumi_databricks/materialized_features_feature_tag.py +8 -4
  116. pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
  117. pulumi_databricks/mws_permission_assignment.py +16 -16
  118. pulumi_databricks/mws_storage_configurations.py +6 -6
  119. pulumi_databricks/mws_workspaces.py +76 -29
  120. pulumi_databricks/online_store.py +8 -4
  121. pulumi_databricks/outputs.py +26397 -22382
  122. pulumi_databricks/permission_assignment.py +266 -24
  123. pulumi_databricks/pipeline.py +37 -3
  124. pulumi_databricks/policy_info.py +43 -39
  125. pulumi_databricks/provider.py +15 -0
  126. pulumi_databricks/pulumi-plugin.json +1 -1
  127. pulumi_databricks/quality_monitor.py +47 -0
  128. pulumi_databricks/quality_monitor_v2.py +8 -4
  129. pulumi_databricks/registered_model.py +301 -29
  130. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  131. pulumi_databricks/service_principal_federation_policy.py +469 -0
  132. pulumi_databricks/share.py +71 -84
  133. pulumi_databricks/sql_endpoint.py +47 -0
  134. pulumi_databricks/sql_table.py +35 -7
  135. pulumi_databricks/storage_credential.py +59 -6
  136. pulumi_databricks/tag_policy.py +357 -0
  137. pulumi_databricks/user.py +21 -21
  138. pulumi_databricks/workspace_binding.py +0 -48
  139. pulumi_databricks/workspace_network_option.py +8 -4
  140. pulumi_databricks/workspace_setting_v2.py +759 -0
  141. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  142. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  143. pulumi_databricks/clean_room_asset.py +0 -891
  144. pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
  145. pulumi_databricks/clean_rooms_clean_room.py +0 -518
  146. pulumi_databricks/get_clean_room_asset.py +0 -399
  147. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
  148. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
  149. pulumi_databricks/get_clean_room_assets.py +0 -104
  150. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
  151. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
  152. pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
  153. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
  154. pulumi_databricks/get_recipient_federation_policies.py +0 -82
  155. pulumi_databricks/get_recipient_federation_policy.py +0 -165
  156. pulumi_databricks/recipient_federation_policy.py +0 -346
  157. pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
  158. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  159. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,220 @@
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
+ 'GetServicePrincipalFederationPolicyResult',
20
+ 'AwaitableGetServicePrincipalFederationPolicyResult',
21
+ 'get_service_principal_federation_policy',
22
+ 'get_service_principal_federation_policy_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetServicePrincipalFederationPolicyResult:
27
+ """
28
+ A collection of values returned by getServicePrincipalFederationPolicy.
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.GetServicePrincipalFederationPolicyOidcPolicyResult':
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 AwaitableGetServicePrincipalFederationPolicyResult(GetServicePrincipalFederationPolicyResult):
138
+ # pylint: disable=using-constant-test
139
+ def __await__(self):
140
+ if False:
141
+ yield self
142
+ return GetServicePrincipalFederationPolicyResult(
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_service_principal_federation_policy(policy_id: Optional[_builtins.str] = None,
155
+ service_principal_id: Optional[_builtins.int] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicePrincipalFederationPolicyResult:
157
+ """
158
+ [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
159
+
160
+ This data source can be used to get a single service principal federation policy.
161
+
162
+ > **Note** This data source can only be used with an account-level provider!
163
+
164
+ ## Example Usage
165
+
166
+ Referring to a service principal federation policy by id:
167
+
168
+
169
+ :param _builtins.str policy_id: The ID of the federation policy. Output only
170
+ :param _builtins.int service_principal_id: The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
171
+ """
172
+ __args__ = dict()
173
+ __args__['policyId'] = policy_id
174
+ __args__['servicePrincipalId'] = service_principal_id
175
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
176
+ __ret__ = pulumi.runtime.invoke('databricks:index/getServicePrincipalFederationPolicy:getServicePrincipalFederationPolicy', __args__, opts=opts, typ=GetServicePrincipalFederationPolicyResult).value
177
+
178
+ return AwaitableGetServicePrincipalFederationPolicyResult(
179
+ create_time=pulumi.get(__ret__, 'create_time'),
180
+ description=pulumi.get(__ret__, 'description'),
181
+ id=pulumi.get(__ret__, 'id'),
182
+ name=pulumi.get(__ret__, 'name'),
183
+ oidc_policy=pulumi.get(__ret__, 'oidc_policy'),
184
+ policy_id=pulumi.get(__ret__, 'policy_id'),
185
+ service_principal_id=pulumi.get(__ret__, 'service_principal_id'),
186
+ uid=pulumi.get(__ret__, 'uid'),
187
+ update_time=pulumi.get(__ret__, 'update_time'))
188
+ def get_service_principal_federation_policy_output(policy_id: Optional[pulumi.Input[_builtins.str]] = None,
189
+ service_principal_id: Optional[pulumi.Input[_builtins.int]] = None,
190
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicePrincipalFederationPolicyResult]:
191
+ """
192
+ [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types)
193
+
194
+ This data source can be used to get a single service principal federation policy.
195
+
196
+ > **Note** This data source can only be used with an account-level provider!
197
+
198
+ ## Example Usage
199
+
200
+ Referring to a service principal federation policy by id:
201
+
202
+
203
+ :param _builtins.str policy_id: The ID of the federation policy. Output only
204
+ :param _builtins.int service_principal_id: The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies
205
+ """
206
+ __args__ = dict()
207
+ __args__['policyId'] = policy_id
208
+ __args__['servicePrincipalId'] = service_principal_id
209
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
210
+ __ret__ = pulumi.runtime.invoke_output('databricks:index/getServicePrincipalFederationPolicy:getServicePrincipalFederationPolicy', __args__, opts=opts, typ=GetServicePrincipalFederationPolicyResult)
211
+ return __ret__.apply(lambda __response__: GetServicePrincipalFederationPolicyResult(
212
+ create_time=pulumi.get(__response__, 'create_time'),
213
+ description=pulumi.get(__response__, 'description'),
214
+ id=pulumi.get(__response__, 'id'),
215
+ name=pulumi.get(__response__, 'name'),
216
+ oidc_policy=pulumi.get(__response__, 'oidc_policy'),
217
+ policy_id=pulumi.get(__response__, 'policy_id'),
218
+ service_principal_id=pulumi.get(__response__, 'service_principal_id'),
219
+ uid=pulumi.get(__response__, 'uid'),
220
+ update_time=pulumi.get(__response__, 'update_time')))
@@ -28,13 +28,16 @@ class GetServingEndpointsResult:
28
28
  """
29
29
  A collection of values returned by getServingEndpoints.
30
30
  """
31
- def __init__(__self__, endpoints=None, id=None):
31
+ def __init__(__self__, endpoints=None, id=None, provider_config=None):
32
32
  if endpoints and not isinstance(endpoints, list):
33
33
  raise TypeError("Expected argument 'endpoints' to be a list")
34
34
  pulumi.set(__self__, "endpoints", endpoints)
35
35
  if id and not isinstance(id, str):
36
36
  raise TypeError("Expected argument 'id' to be a str")
37
37
  pulumi.set(__self__, "id", id)
38
+ if provider_config and not isinstance(provider_config, dict):
39
+ raise TypeError("Expected argument 'provider_config' to be a dict")
40
+ pulumi.set(__self__, "provider_config", provider_config)
38
41
 
39
42
  @_builtins.property
40
43
  @pulumi.getter
@@ -52,6 +55,11 @@ class GetServingEndpointsResult:
52
55
  """
53
56
  return pulumi.get(self, "id")
54
57
 
58
+ @_builtins.property
59
+ @pulumi.getter(name="providerConfig")
60
+ def provider_config(self) -> Optional['outputs.GetServingEndpointsProviderConfigResult']:
61
+ return pulumi.get(self, "provider_config")
62
+
55
63
 
56
64
  class AwaitableGetServingEndpointsResult(GetServingEndpointsResult):
57
65
  # pylint: disable=using-constant-test
@@ -60,10 +68,12 @@ class AwaitableGetServingEndpointsResult(GetServingEndpointsResult):
60
68
  yield self
61
69
  return GetServingEndpointsResult(
62
70
  endpoints=self.endpoints,
63
- id=self.id)
71
+ id=self.id,
72
+ provider_config=self.provider_config)
64
73
 
65
74
 
66
75
  def get_serving_endpoints(endpoints: Optional[Sequence[Union['GetServingEndpointsEndpointArgs', 'GetServingEndpointsEndpointArgsDict']]] = None,
76
+ provider_config: Optional[Union['GetServingEndpointsProviderConfigArgs', 'GetServingEndpointsProviderConfigArgsDict']] = None,
67
77
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServingEndpointsResult:
68
78
  """
69
79
  This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
@@ -108,13 +118,16 @@ def get_serving_endpoints(endpoints: Optional[Sequence[Union['GetServingEndpoint
108
118
  """
109
119
  __args__ = dict()
110
120
  __args__['endpoints'] = endpoints
121
+ __args__['providerConfig'] = provider_config
111
122
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
112
123
  __ret__ = pulumi.runtime.invoke('databricks:index/getServingEndpoints:getServingEndpoints', __args__, opts=opts, typ=GetServingEndpointsResult).value
113
124
 
114
125
  return AwaitableGetServingEndpointsResult(
115
126
  endpoints=pulumi.get(__ret__, 'endpoints'),
116
- id=pulumi.get(__ret__, 'id'))
127
+ id=pulumi.get(__ret__, 'id'),
128
+ provider_config=pulumi.get(__ret__, 'provider_config'))
117
129
  def get_serving_endpoints_output(endpoints: Optional[pulumi.Input[Optional[Sequence[Union['GetServingEndpointsEndpointArgs', 'GetServingEndpointsEndpointArgsDict']]]]] = None,
130
+ provider_config: Optional[pulumi.Input[Optional[Union['GetServingEndpointsProviderConfigArgs', 'GetServingEndpointsProviderConfigArgsDict']]]] = None,
118
131
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServingEndpointsResult]:
119
132
  """
120
133
  This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
@@ -159,8 +172,10 @@ def get_serving_endpoints_output(endpoints: Optional[pulumi.Input[Optional[Seque
159
172
  """
160
173
  __args__ = dict()
161
174
  __args__['endpoints'] = endpoints
175
+ __args__['providerConfig'] = provider_config
162
176
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
163
177
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getServingEndpoints:getServingEndpoints', __args__, opts=opts, typ=GetServingEndpointsResult)
164
178
  return __ret__.apply(lambda __response__: GetServingEndpointsResult(
165
179
  endpoints=pulumi.get(__response__, 'endpoints'),
166
- id=pulumi.get(__response__, 'id')))
180
+ id=pulumi.get(__response__, 'id'),
181
+ provider_config=pulumi.get(__response__, 'provider_config')))
@@ -28,13 +28,19 @@ class GetShareResult:
28
28
  """
29
29
  A collection of values returned by getShare.
30
30
  """
31
- def __init__(__self__, created_at=None, created_by=None, id=None, name=None, objects=None):
31
+ def __init__(__self__, comment=None, created_at=None, created_by=None, effective_owner=None, id=None, name=None, objects=None, owner=None, provider_config=None, storage_location=None, storage_root=None, updated_at=None, updated_by=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)
32
35
  if created_at and not isinstance(created_at, int):
33
36
  raise TypeError("Expected argument 'created_at' to be a int")
34
37
  pulumi.set(__self__, "created_at", created_at)
35
38
  if created_by and not isinstance(created_by, str):
36
39
  raise TypeError("Expected argument 'created_by' to be a str")
37
40
  pulumi.set(__self__, "created_by", created_by)
41
+ if effective_owner and not isinstance(effective_owner, str):
42
+ raise TypeError("Expected argument 'effective_owner' to be a str")
43
+ pulumi.set(__self__, "effective_owner", effective_owner)
38
44
  if id and not isinstance(id, str):
39
45
  raise TypeError("Expected argument 'id' to be a str")
40
46
  pulumi.set(__self__, "id", id)
@@ -44,6 +50,32 @@ class GetShareResult:
44
50
  if objects and not isinstance(objects, list):
45
51
  raise TypeError("Expected argument 'objects' to be a list")
46
52
  pulumi.set(__self__, "objects", objects)
53
+ if owner and not isinstance(owner, str):
54
+ raise TypeError("Expected argument 'owner' to be a str")
55
+ pulumi.set(__self__, "owner", owner)
56
+ if provider_config and not isinstance(provider_config, dict):
57
+ raise TypeError("Expected argument 'provider_config' to be a dict")
58
+ pulumi.set(__self__, "provider_config", provider_config)
59
+ if storage_location and not isinstance(storage_location, str):
60
+ raise TypeError("Expected argument 'storage_location' to be a str")
61
+ pulumi.set(__self__, "storage_location", storage_location)
62
+ if storage_root and not isinstance(storage_root, str):
63
+ raise TypeError("Expected argument 'storage_root' to be a str")
64
+ pulumi.set(__self__, "storage_root", storage_root)
65
+ if updated_at and not isinstance(updated_at, int):
66
+ raise TypeError("Expected argument 'updated_at' to be a int")
67
+ pulumi.set(__self__, "updated_at", updated_at)
68
+ if updated_by and not isinstance(updated_by, str):
69
+ raise TypeError("Expected argument 'updated_by' to be a str")
70
+ pulumi.set(__self__, "updated_by", updated_by)
71
+
72
+ @_builtins.property
73
+ @pulumi.getter
74
+ def comment(self) -> Optional[_builtins.str]:
75
+ """
76
+ Description about the object.
77
+ """
78
+ return pulumi.get(self, "comment")
47
79
 
48
80
  @_builtins.property
49
81
  @pulumi.getter(name="createdAt")
@@ -61,6 +93,11 @@ class GetShareResult:
61
93
  """
62
94
  return pulumi.get(self, "created_by")
63
95
 
96
+ @_builtins.property
97
+ @pulumi.getter(name="effectiveOwner")
98
+ def effective_owner(self) -> _builtins.str:
99
+ return pulumi.get(self, "effective_owner")
100
+
64
101
  @_builtins.property
65
102
  @pulumi.getter
66
103
  def id(self) -> _builtins.str:
@@ -71,7 +108,7 @@ class GetShareResult:
71
108
 
72
109
  @_builtins.property
73
110
  @pulumi.getter
74
- def name(self) -> _builtins.str:
111
+ def name(self) -> Optional[_builtins.str]:
75
112
  """
76
113
  Full name of the object being shared.
77
114
  """
@@ -79,12 +116,42 @@ class GetShareResult:
79
116
 
80
117
  @_builtins.property
81
118
  @pulumi.getter
82
- def objects(self) -> Sequence['outputs.GetShareObjectResult']:
119
+ def objects(self) -> Optional[Sequence['outputs.GetShareObjectResult']]:
83
120
  """
84
121
  arrays containing details of each object in the share.
85
122
  """
86
123
  return pulumi.get(self, "objects")
87
124
 
125
+ @_builtins.property
126
+ @pulumi.getter
127
+ def owner(self) -> Optional[_builtins.str]:
128
+ return pulumi.get(self, "owner")
129
+
130
+ @_builtins.property
131
+ @pulumi.getter(name="providerConfig")
132
+ def provider_config(self) -> Optional['outputs.GetShareProviderConfigResult']:
133
+ return pulumi.get(self, "provider_config")
134
+
135
+ @_builtins.property
136
+ @pulumi.getter(name="storageLocation")
137
+ def storage_location(self) -> _builtins.str:
138
+ return pulumi.get(self, "storage_location")
139
+
140
+ @_builtins.property
141
+ @pulumi.getter(name="storageRoot")
142
+ def storage_root(self) -> Optional[_builtins.str]:
143
+ return pulumi.get(self, "storage_root")
144
+
145
+ @_builtins.property
146
+ @pulumi.getter(name="updatedAt")
147
+ def updated_at(self) -> _builtins.int:
148
+ return pulumi.get(self, "updated_at")
149
+
150
+ @_builtins.property
151
+ @pulumi.getter(name="updatedBy")
152
+ def updated_by(self) -> _builtins.str:
153
+ return pulumi.get(self, "updated_by")
154
+
88
155
 
89
156
  class AwaitableGetShareResult(GetShareResult):
90
157
  # pylint: disable=using-constant-test
@@ -92,17 +159,27 @@ class AwaitableGetShareResult(GetShareResult):
92
159
  if False:
93
160
  yield self
94
161
  return GetShareResult(
162
+ comment=self.comment,
95
163
  created_at=self.created_at,
96
164
  created_by=self.created_by,
165
+ effective_owner=self.effective_owner,
97
166
  id=self.id,
98
167
  name=self.name,
99
- objects=self.objects)
168
+ objects=self.objects,
169
+ owner=self.owner,
170
+ provider_config=self.provider_config,
171
+ storage_location=self.storage_location,
172
+ storage_root=self.storage_root,
173
+ updated_at=self.updated_at,
174
+ updated_by=self.updated_by)
100
175
 
101
176
 
102
- def get_share(created_at: Optional[_builtins.int] = None,
103
- created_by: Optional[_builtins.str] = None,
177
+ def get_share(comment: Optional[_builtins.str] = None,
104
178
  name: Optional[_builtins.str] = None,
105
179
  objects: Optional[Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']]] = None,
180
+ owner: Optional[_builtins.str] = None,
181
+ provider_config: Optional[Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict']] = None,
182
+ storage_root: Optional[_builtins.str] = None,
106
183
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetShareResult:
107
184
  """
108
185
  Retrieves details about a Share that were created by Pulumi or manually.
@@ -130,29 +207,41 @@ def get_share(created_at: Optional[_builtins.int] = None,
130
207
  * Grants to manage Delta Sharing permissions.
131
208
 
132
209
 
133
- :param _builtins.int created_at: Time when the share was created.
134
- :param _builtins.str created_by: The principal that created the share.
210
+ :param _builtins.str comment: Description about the object.
135
211
  :param _builtins.str name: The name of the share
136
212
  :param Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']] objects: arrays containing details of each object in the share.
213
+ :param Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
137
214
  """
138
215
  __args__ = dict()
139
- __args__['createdAt'] = created_at
140
- __args__['createdBy'] = created_by
216
+ __args__['comment'] = comment
141
217
  __args__['name'] = name
142
218
  __args__['objects'] = objects
219
+ __args__['owner'] = owner
220
+ __args__['providerConfig'] = provider_config
221
+ __args__['storageRoot'] = storage_root
143
222
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
144
223
  __ret__ = pulumi.runtime.invoke('databricks:index/getShare:getShare', __args__, opts=opts, typ=GetShareResult).value
145
224
 
146
225
  return AwaitableGetShareResult(
226
+ comment=pulumi.get(__ret__, 'comment'),
147
227
  created_at=pulumi.get(__ret__, 'created_at'),
148
228
  created_by=pulumi.get(__ret__, 'created_by'),
229
+ effective_owner=pulumi.get(__ret__, 'effective_owner'),
149
230
  id=pulumi.get(__ret__, 'id'),
150
231
  name=pulumi.get(__ret__, 'name'),
151
- objects=pulumi.get(__ret__, 'objects'))
152
- def get_share_output(created_at: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
153
- created_by: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
232
+ objects=pulumi.get(__ret__, 'objects'),
233
+ owner=pulumi.get(__ret__, 'owner'),
234
+ provider_config=pulumi.get(__ret__, 'provider_config'),
235
+ storage_location=pulumi.get(__ret__, 'storage_location'),
236
+ storage_root=pulumi.get(__ret__, 'storage_root'),
237
+ updated_at=pulumi.get(__ret__, 'updated_at'),
238
+ updated_by=pulumi.get(__ret__, 'updated_by'))
239
+ def get_share_output(comment: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
154
240
  name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
155
241
  objects: Optional[pulumi.Input[Optional[Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']]]]] = None,
242
+ owner: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
243
+ provider_config: Optional[pulumi.Input[Optional[Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict']]]] = None,
244
+ storage_root: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
156
245
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetShareResult]:
157
246
  """
158
247
  Retrieves details about a Share that were created by Pulumi or manually.
@@ -180,21 +269,31 @@ def get_share_output(created_at: Optional[pulumi.Input[Optional[_builtins.int]]]
180
269
  * Grants to manage Delta Sharing permissions.
181
270
 
182
271
 
183
- :param _builtins.int created_at: Time when the share was created.
184
- :param _builtins.str created_by: The principal that created the share.
272
+ :param _builtins.str comment: Description about the object.
185
273
  :param _builtins.str name: The name of the share
186
274
  :param Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']] objects: arrays containing details of each object in the share.
275
+ :param Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
187
276
  """
188
277
  __args__ = dict()
189
- __args__['createdAt'] = created_at
190
- __args__['createdBy'] = created_by
278
+ __args__['comment'] = comment
191
279
  __args__['name'] = name
192
280
  __args__['objects'] = objects
281
+ __args__['owner'] = owner
282
+ __args__['providerConfig'] = provider_config
283
+ __args__['storageRoot'] = storage_root
193
284
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
194
285
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getShare:getShare', __args__, opts=opts, typ=GetShareResult)
195
286
  return __ret__.apply(lambda __response__: GetShareResult(
287
+ comment=pulumi.get(__response__, 'comment'),
196
288
  created_at=pulumi.get(__response__, 'created_at'),
197
289
  created_by=pulumi.get(__response__, 'created_by'),
290
+ effective_owner=pulumi.get(__response__, 'effective_owner'),
198
291
  id=pulumi.get(__response__, 'id'),
199
292
  name=pulumi.get(__response__, 'name'),
200
- objects=pulumi.get(__response__, 'objects')))
293
+ objects=pulumi.get(__response__, 'objects'),
294
+ owner=pulumi.get(__response__, 'owner'),
295
+ provider_config=pulumi.get(__response__, 'provider_config'),
296
+ storage_location=pulumi.get(__response__, 'storage_location'),
297
+ storage_root=pulumi.get(__response__, 'storage_root'),
298
+ updated_at=pulumi.get(__response__, 'updated_at'),
299
+ updated_by=pulumi.get(__response__, 'updated_by')))
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = [
18
20
  'GetSharesResult',
@@ -26,10 +28,13 @@ class GetSharesResult:
26
28
  """
27
29
  A collection of values returned by getShares.
28
30
  """
29
- def __init__(__self__, id=None, shares=None):
31
+ def __init__(__self__, id=None, provider_config=None, shares=None):
30
32
  if id and not isinstance(id, str):
31
33
  raise TypeError("Expected argument 'id' to be a str")
32
34
  pulumi.set(__self__, "id", id)
35
+ if provider_config and not isinstance(provider_config, dict):
36
+ raise TypeError("Expected argument 'provider_config' to be a dict")
37
+ pulumi.set(__self__, "provider_config", provider_config)
33
38
  if shares and not isinstance(shares, list):
34
39
  raise TypeError("Expected argument 'shares' to be a list")
35
40
  pulumi.set(__self__, "shares", shares)
@@ -42,6 +47,11 @@ class GetSharesResult:
42
47
  """
43
48
  return pulumi.get(self, "id")
44
49
 
50
+ @_builtins.property
51
+ @pulumi.getter(name="providerConfig")
52
+ def provider_config(self) -> Optional['outputs.GetSharesProviderConfigResult']:
53
+ return pulumi.get(self, "provider_config")
54
+
45
55
  @_builtins.property
46
56
  @pulumi.getter
47
57
  def shares(self) -> Sequence[_builtins.str]:
@@ -58,10 +68,12 @@ class AwaitableGetSharesResult(GetSharesResult):
58
68
  yield self
59
69
  return GetSharesResult(
60
70
  id=self.id,
71
+ provider_config=self.provider_config,
61
72
  shares=self.shares)
62
73
 
63
74
 
64
- def get_shares(shares: Optional[Sequence[_builtins.str]] = None,
75
+ def get_shares(provider_config: Optional[Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict']] = None,
76
+ shares: Optional[Sequence[_builtins.str]] = None,
65
77
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSharesResult:
66
78
  """
67
79
  Retrieves a list of Share name, that were created by Pulumi or manually.
@@ -89,17 +101,21 @@ def get_shares(shares: Optional[Sequence[_builtins.str]] = None,
89
101
  * Grants to manage Delta Sharing permissions.
90
102
 
91
103
 
104
+ :param Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
92
105
  :param Sequence[_builtins.str] shares: list of Share names.
93
106
  """
94
107
  __args__ = dict()
108
+ __args__['providerConfig'] = provider_config
95
109
  __args__['shares'] = shares
96
110
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
97
111
  __ret__ = pulumi.runtime.invoke('databricks:index/getShares:getShares', __args__, opts=opts, typ=GetSharesResult).value
98
112
 
99
113
  return AwaitableGetSharesResult(
100
114
  id=pulumi.get(__ret__, 'id'),
115
+ provider_config=pulumi.get(__ret__, 'provider_config'),
101
116
  shares=pulumi.get(__ret__, 'shares'))
102
- def get_shares_output(shares: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
117
+ def get_shares_output(provider_config: Optional[pulumi.Input[Optional[Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict']]]] = None,
118
+ shares: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
103
119
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSharesResult]:
104
120
  """
105
121
  Retrieves a list of Share name, that were created by Pulumi or manually.
@@ -127,12 +143,15 @@ def get_shares_output(shares: Optional[pulumi.Input[Optional[Sequence[_builtins.
127
143
  * Grants to manage Delta Sharing permissions.
128
144
 
129
145
 
146
+ :param Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
130
147
  :param Sequence[_builtins.str] shares: list of Share names.
131
148
  """
132
149
  __args__ = dict()
150
+ __args__['providerConfig'] = provider_config
133
151
  __args__['shares'] = shares
134
152
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
135
153
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getShares:getShares', __args__, opts=opts, typ=GetSharesResult)
136
154
  return __ret__.apply(lambda __response__: GetSharesResult(
137
155
  id=pulumi.get(__response__, 'id'),
156
+ provider_config=pulumi.get(__response__, 'provider_config'),
138
157
  shares=pulumi.get(__response__, 'shares')))