@pulumi/databricks 1.66.0-alpha.1744695542 → 1.66.0

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.
package/types/output.d.ts CHANGED
@@ -838,6 +838,12 @@ export interface DefaultNamespaceSettingNamespace {
838
838
  export interface DisableLegacyAccessSettingDisableLegacyAccess {
839
839
  value: boolean;
840
840
  }
841
+ export interface DisableLegacyDbfsSettingDisableLegacyDbfs {
842
+ /**
843
+ * The boolean value for the setting.
844
+ */
845
+ value: boolean;
846
+ }
841
847
  export interface EnhancedSecurityMonitoringWorkspaceSettingEnhancedSecurityMonitoringWorkspace {
842
848
  isEnabled: boolean;
843
849
  }
@@ -882,6 +888,9 @@ export interface GetAppApp {
882
888
  * The effective budget policy ID.
883
889
  */
884
890
  effectiveBudgetPolicyId: string;
891
+ /**
892
+ * A list of effective api scopes granted to the user access token.
893
+ */
885
894
  effectiveUserApiScopes: string[];
886
895
  /**
887
896
  * Id of the job to grant permission on.
@@ -1109,6 +1118,9 @@ export interface GetAppsApp {
1109
1118
  * The effective budget policy ID.
1110
1119
  */
1111
1120
  effectiveBudgetPolicyId: string;
1121
+ /**
1122
+ * A list of effective api scopes granted to the user access token.
1123
+ */
1112
1124
  effectiveUserApiScopes: string[];
1113
1125
  /**
1114
1126
  * Id of the job to grant permission on.
@@ -1303,6 +1315,7 @@ export interface GetAppsAppResourceSqlWarehouse {
1303
1315
  permission: string;
1304
1316
  }
1305
1317
  export interface GetBudgetPoliciesBudgetPolicy {
1318
+ bindingWorkspaceIds?: number[];
1306
1319
  customTags?: outputs.GetBudgetPoliciesBudgetPolicyCustomTag[];
1307
1320
  policyId: string;
1308
1321
  /**
@@ -2514,6 +2527,7 @@ export interface GetJobJobSettingsSettingsEnvironment {
2514
2527
  export interface GetJobJobSettingsSettingsEnvironmentSpec {
2515
2528
  client: string;
2516
2529
  dependencies?: string[];
2530
+ jarDependencies?: string[];
2517
2531
  }
2518
2532
  export interface GetJobJobSettingsSettingsGitSource {
2519
2533
  branch?: string;
@@ -4900,6 +4914,7 @@ export interface JobEnvironmentSpec {
4900
4914
  * List of pip dependencies, as supported by the version of pip in this environment. Each dependency is a pip requirement file line. See [API docs](https://docs.databricks.com/api/workspace/jobs/create#environments-spec-dependencies) for more information.
4901
4915
  */
4902
4916
  dependencies?: string[];
4917
+ jarDependencies?: string[];
4903
4918
  }
4904
4919
  export interface JobGitSource {
4905
4920
  /**
@@ -5532,6 +5547,7 @@ export interface JobSparkSubmitTask {
5532
5547
  export interface JobTask {
5533
5548
  cleanRoomsNotebookTask?: outputs.JobTaskCleanRoomsNotebookTask;
5534
5549
  conditionTask?: outputs.JobTaskConditionTask;
5550
+ dashboardTask?: outputs.JobTaskDashboardTask;
5535
5551
  dbtTask?: outputs.JobTaskDbtTask;
5536
5552
  /**
5537
5553
  * block specifying dependency(-ies) for a given task.
@@ -5589,6 +5605,7 @@ export interface JobTask {
5589
5605
  */
5590
5606
  notificationSettings?: outputs.JobTaskNotificationSettings;
5591
5607
  pipelineTask?: outputs.JobTaskPipelineTask;
5608
+ powerBiTask?: outputs.JobTaskPowerBiTask;
5592
5609
  pythonWheelTask?: outputs.JobTaskPythonWheelTask;
5593
5610
  /**
5594
5611
  * (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
@@ -5655,6 +5672,29 @@ export interface JobTaskConditionTask {
5655
5672
  */
5656
5673
  right: string;
5657
5674
  }
5675
+ export interface JobTaskDashboardTask {
5676
+ /**
5677
+ * (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
5678
+ */
5679
+ dashboardId?: string;
5680
+ subscription?: outputs.JobTaskDashboardTaskSubscription;
5681
+ warehouseId?: string;
5682
+ }
5683
+ export interface JobTaskDashboardTaskSubscription {
5684
+ /**
5685
+ * string specifying a custom subject of email sent.
5686
+ */
5687
+ customSubject?: string;
5688
+ paused?: boolean;
5689
+ subscribers?: outputs.JobTaskDashboardTaskSubscriptionSubscriber[];
5690
+ }
5691
+ export interface JobTaskDashboardTaskSubscriptionSubscriber {
5692
+ destinationId?: string;
5693
+ /**
5694
+ * The email of an active workspace user. Non-admin users can only set this field to their own email.
5695
+ */
5696
+ userName?: string;
5697
+ }
5658
5698
  export interface JobTaskDbtTask {
5659
5699
  /**
5660
5700
  * The name of the catalog to use inside Unity Catalog.
@@ -5743,6 +5783,7 @@ export interface JobTaskForEachTask {
5743
5783
  export interface JobTaskForEachTaskTask {
5744
5784
  cleanRoomsNotebookTask?: outputs.JobTaskForEachTaskTaskCleanRoomsNotebookTask;
5745
5785
  conditionTask?: outputs.JobTaskForEachTaskTaskConditionTask;
5786
+ dashboardTask?: outputs.JobTaskForEachTaskTaskDashboardTask;
5746
5787
  dbtTask?: outputs.JobTaskForEachTaskTaskDbtTask;
5747
5788
  /**
5748
5789
  * block specifying dependency(-ies) for a given task.
@@ -5799,6 +5840,7 @@ export interface JobTaskForEachTaskTask {
5799
5840
  */
5800
5841
  notificationSettings?: outputs.JobTaskForEachTaskTaskNotificationSettings;
5801
5842
  pipelineTask?: outputs.JobTaskForEachTaskTaskPipelineTask;
5843
+ powerBiTask?: outputs.JobTaskForEachTaskTaskPowerBiTask;
5802
5844
  pythonWheelTask?: outputs.JobTaskForEachTaskTaskPythonWheelTask;
5803
5845
  /**
5804
5846
  * (Bool) An optional policy to specify whether to retry a job when it times out. The default behavior is to not retry on timeout.
@@ -5865,6 +5907,29 @@ export interface JobTaskForEachTaskTaskConditionTask {
5865
5907
  */
5866
5908
  right: string;
5867
5909
  }
5910
+ export interface JobTaskForEachTaskTaskDashboardTask {
5911
+ /**
5912
+ * (String) identifier of the Databricks SQL Dashboard databricks_sql_dashboard.
5913
+ */
5914
+ dashboardId?: string;
5915
+ subscription?: outputs.JobTaskForEachTaskTaskDashboardTaskSubscription;
5916
+ warehouseId?: string;
5917
+ }
5918
+ export interface JobTaskForEachTaskTaskDashboardTaskSubscription {
5919
+ /**
5920
+ * string specifying a custom subject of email sent.
5921
+ */
5922
+ customSubject?: string;
5923
+ paused?: boolean;
5924
+ subscribers?: outputs.JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber[];
5925
+ }
5926
+ export interface JobTaskForEachTaskTaskDashboardTaskSubscriptionSubscriber {
5927
+ destinationId?: string;
5928
+ /**
5929
+ * The email of an active workspace user. Non-admin users can only set this field to their own email.
5930
+ */
5931
+ userName?: string;
5932
+ }
5868
5933
  export interface JobTaskForEachTaskTaskDbtTask {
5869
5934
  /**
5870
5935
  * The name of the catalog to use inside Unity Catalog.
@@ -6233,6 +6298,35 @@ export interface JobTaskForEachTaskTaskPipelineTask {
6233
6298
  */
6234
6299
  pipelineId: string;
6235
6300
  }
6301
+ export interface JobTaskForEachTaskTaskPowerBiTask {
6302
+ connectionResourceName?: string;
6303
+ powerBiModel?: outputs.JobTaskForEachTaskTaskPowerBiTaskPowerBiModel;
6304
+ refreshAfterUpdate?: boolean;
6305
+ tables?: outputs.JobTaskForEachTaskTaskPowerBiTaskTable[];
6306
+ warehouseId?: string;
6307
+ }
6308
+ export interface JobTaskForEachTaskTaskPowerBiTaskPowerBiModel {
6309
+ authenticationMethod?: string;
6310
+ modelName?: string;
6311
+ overwriteExisting?: boolean;
6312
+ storageMode?: string;
6313
+ workspaceName?: string;
6314
+ }
6315
+ export interface JobTaskForEachTaskTaskPowerBiTaskTable {
6316
+ /**
6317
+ * The name of the catalog to use inside Unity Catalog.
6318
+ */
6319
+ catalog?: string;
6320
+ /**
6321
+ * An optional name for the job. The default value is Untitled.
6322
+ */
6323
+ name?: string;
6324
+ /**
6325
+ * The name of the schema dbt should run in. Defaults to `default`.
6326
+ */
6327
+ schema?: string;
6328
+ storageMode?: string;
6329
+ }
6236
6330
  export interface JobTaskForEachTaskTaskPythonWheelTask {
6237
6331
  /**
6238
6332
  * Python function as entry point for the task
@@ -6802,6 +6896,35 @@ export interface JobTaskPipelineTask {
6802
6896
  */
6803
6897
  pipelineId: string;
6804
6898
  }
6899
+ export interface JobTaskPowerBiTask {
6900
+ connectionResourceName?: string;
6901
+ powerBiModel?: outputs.JobTaskPowerBiTaskPowerBiModel;
6902
+ refreshAfterUpdate?: boolean;
6903
+ tables?: outputs.JobTaskPowerBiTaskTable[];
6904
+ warehouseId?: string;
6905
+ }
6906
+ export interface JobTaskPowerBiTaskPowerBiModel {
6907
+ authenticationMethod?: string;
6908
+ modelName?: string;
6909
+ overwriteExisting?: boolean;
6910
+ storageMode?: string;
6911
+ workspaceName?: string;
6912
+ }
6913
+ export interface JobTaskPowerBiTaskTable {
6914
+ /**
6915
+ * The name of the catalog to use inside Unity Catalog.
6916
+ */
6917
+ catalog?: string;
6918
+ /**
6919
+ * An optional name for the job. The default value is Untitled.
6920
+ */
6921
+ name?: string;
6922
+ /**
6923
+ * The name of the schema dbt should run in. Defaults to `default`.
6924
+ */
6925
+ schema?: string;
6926
+ storageMode?: string;
6927
+ }
6805
6928
  export interface JobTaskPythonWheelTask {
6806
6929
  /**
6807
6930
  * Python function as entry point for the task
@@ -7371,6 +7494,9 @@ export interface MlflowWebhookJobSpec {
7371
7494
  workspaceUrl?: string;
7372
7495
  }
7373
7496
  export interface ModelServingAiGateway {
7497
+ /**
7498
+ * block with configuration for traffic fallback which auto fallbacks to other served entities if the request to a served entity fails with certain error codes, to increase availability.
7499
+ */
7374
7500
  fallbackConfig?: outputs.ModelServingAiGatewayFallbackConfig;
7375
7501
  /**
7376
7502
  * Block with configuration for AI Guardrails to prevent unwanted data and unsafe data in requests and responses. Consists of the following attributes:
@@ -7390,6 +7516,9 @@ export interface ModelServingAiGateway {
7390
7516
  usageTrackingConfig?: outputs.ModelServingAiGatewayUsageTrackingConfig;
7391
7517
  }
7392
7518
  export interface ModelServingAiGatewayFallbackConfig {
7519
+ /**
7520
+ * Whether to enable traffic fallback. When a served entity in the serving endpoint returns specific error codes (e.g. 500), the request will automatically be round-robin attempted with other served entities in the same endpoint, following the order of served entity list, until a successful response is returned.
7521
+ */
7393
7522
  enabled: boolean;
7394
7523
  }
7395
7524
  export interface ModelServingAiGatewayGuardrails {
@@ -7588,6 +7717,9 @@ export interface ModelServingConfigServedEntityExternalModel {
7588
7717
  * Cohere Config
7589
7718
  */
7590
7719
  cohereConfig?: outputs.ModelServingConfigServedEntityExternalModelCohereConfig;
7720
+ /**
7721
+ * Custom Provider Config. Only required if the provider is 'custom'.
7722
+ */
7591
7723
  customProviderConfig?: outputs.ModelServingConfigServedEntityExternalModelCustomProviderConfig;
7592
7724
  /**
7593
7725
  * Databricks Model Serving Config
@@ -7677,20 +7809,35 @@ export interface ModelServingConfigServedEntityExternalModelCohereConfig {
7677
7809
  cohereApiKeyPlaintext?: string;
7678
7810
  }
7679
7811
  export interface ModelServingConfigServedEntityExternalModelCustomProviderConfig {
7812
+ /**
7813
+ * API key authentication for the custom provider API. Conflicts with `bearerTokenAuth`.
7814
+ */
7680
7815
  apiKeyAuth?: outputs.ModelServingConfigServedEntityExternalModelCustomProviderConfigApiKeyAuth;
7816
+ /**
7817
+ * bearer token authentication for the custom provider API. Conflicts with `apiKeyAuth`.
7818
+ */
7681
7819
  bearerTokenAuth?: outputs.ModelServingConfigServedEntityExternalModelCustomProviderConfigBearerTokenAuth;
7820
+ /**
7821
+ * URL of the custom provider API.
7822
+ */
7682
7823
  customProviderUrl: string;
7683
7824
  }
7684
7825
  export interface ModelServingConfigServedEntityExternalModelCustomProviderConfigApiKeyAuth {
7685
7826
  key: string;
7827
+ value?: string;
7686
7828
  /**
7687
- * The value field for a tag.
7829
+ * The API Key provided as a plaintext string.
7688
7830
  */
7689
- value?: string;
7690
7831
  valuePlaintext?: string;
7691
7832
  }
7692
7833
  export interface ModelServingConfigServedEntityExternalModelCustomProviderConfigBearerTokenAuth {
7834
+ /**
7835
+ * The Databricks secret key reference for a token.
7836
+ */
7693
7837
  token?: string;
7838
+ /**
7839
+ * The token provided as a plaintext string.
7840
+ */
7694
7841
  tokenPlaintext?: string;
7695
7842
  }
7696
7843
  export interface ModelServingConfigServedEntityExternalModelDatabricksModelServingConfig {
@@ -7990,13 +8137,13 @@ export interface MwsNetworksGcpNetworkInfo {
7990
8137
  /**
7991
8138
  * The name of the secondary IP range for pods. A Databricks-managed GKE cluster uses this IP range for its pods. This secondary IP range can only be used by one workspace.
7992
8139
  *
7993
- * @deprecated gcp_network_info.pod_ip_range_name is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.72.0/docs/guides/gcp-workspace#creating-a-vpc
8140
+ * @deprecated gcp_network_info.pod_ip_range_name is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.73.0/docs/guides/gcp-workspace#creating-a-vpc
7994
8141
  */
7995
8142
  podIpRangeName?: string;
7996
8143
  /**
7997
8144
  * The name of the secondary IP range for services. A Databricks-managed GKE cluster uses this IP range for its services. This secondary IP range can only be used by one workspace.
7998
8145
  *
7999
- * @deprecated gcp_network_info.service_ip_range_name is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.72.0/docs/guides/gcp-workspace#creating-a-vpc
8146
+ * @deprecated gcp_network_info.service_ip_range_name is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.73.0/docs/guides/gcp-workspace#creating-a-vpc
8000
8147
  */
8001
8148
  serviceIpRangeName?: string;
8002
8149
  /**
@@ -8038,6 +8185,10 @@ export interface MwsVpcEndpointGcpVpcEndpointInfo {
8038
8185
  */
8039
8186
  serviceAttachmentId: string;
8040
8187
  }
8188
+ export interface MwsWorkspacesAzureWorkspaceInfo {
8189
+ resourceGroup?: string;
8190
+ subscriptionId?: string;
8191
+ }
8041
8192
  export interface MwsWorkspacesCloudResourceContainer {
8042
8193
  /**
8043
8194
  * A block that consists of the following field:
@@ -8057,13 +8208,16 @@ export interface MwsWorkspacesExternalCustomerInfo {
8057
8208
  }
8058
8209
  export interface MwsWorkspacesGcpManagedNetworkConfig {
8059
8210
  /**
8060
- * @deprecated gcp_managed_network_config.gke_cluster_pod_ip_range is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.72.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
8211
+ * @deprecated gcp_managed_network_config.gke_cluster_pod_ip_range is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.73.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
8061
8212
  */
8062
8213
  gkeClusterPodIpRange?: string;
8063
8214
  /**
8064
- * @deprecated gcp_managed_network_config.gke_cluster_service_ip_range is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.72.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
8215
+ * @deprecated gcp_managed_network_config.gke_cluster_service_ip_range is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.73.0/docs/guides/gcp-workspace#creating-a-databricks-workspace
8065
8216
  */
8066
8217
  gkeClusterServiceIpRange?: string;
8218
+ /**
8219
+ * The IP range from which to allocate GKE cluster nodes. No bigger than `/9` and no smaller than `/29`.
8220
+ */
8067
8221
  subnetCidr: string;
8068
8222
  }
8069
8223
  export interface MwsWorkspacesGkeConfig {