pulumi-databricks 1.77.0a1762276204__py3-none-any.whl → 1.78.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/_inputs.py +117 -120
- pulumi_databricks/account_federation_policy.py +24 -0
- pulumi_databricks/account_network_policy.py +50 -0
- pulumi_databricks/alert_v2.py +72 -0
- pulumi_databricks/app.py +64 -0
- pulumi_databricks/apps_settings_custom_template.py +66 -0
- pulumi_databricks/catalog.py +7 -7
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/database_synced_database_table.py +212 -0
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/file.py +2 -2
- 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_cluster.py +54 -0
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/instance_profile.py +0 -182
- 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 +85 -51
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/outputs.py +99 -76
- pulumi_databricks/permission_assignment.py +49 -0
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +7 -7
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +28 -0
- pulumi_databricks/sql_table.py +7 -7
- pulumi_databricks/volume.py +7 -7
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/METADATA +1 -1
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/RECORD +48 -48
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1762276204.dist-info → pulumi_databricks-1.78.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/_inputs.py
CHANGED
|
@@ -1081,6 +1081,8 @@ __all__ = [
|
|
|
1081
1081
|
'MwsWorkspacesGkeConfigArgsDict',
|
|
1082
1082
|
'MwsWorkspacesTokenArgs',
|
|
1083
1083
|
'MwsWorkspacesTokenArgsDict',
|
|
1084
|
+
'NotebookProviderConfigArgs',
|
|
1085
|
+
'NotebookProviderConfigArgsDict',
|
|
1084
1086
|
'NotificationDestinationConfigArgs',
|
|
1085
1087
|
'NotificationDestinationConfigArgsDict',
|
|
1086
1088
|
'NotificationDestinationConfigEmailArgs',
|
|
@@ -1115,6 +1117,8 @@ __all__ = [
|
|
|
1115
1117
|
'OnlineTableStatusTriggeredUpdateStatusArgsDict',
|
|
1116
1118
|
'OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs',
|
|
1117
1119
|
'OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgsDict',
|
|
1120
|
+
'PermissionAssignmentProviderConfigArgs',
|
|
1121
|
+
'PermissionAssignmentProviderConfigArgsDict',
|
|
1118
1122
|
'PermissionsAccessControlArgs',
|
|
1119
1123
|
'PermissionsAccessControlArgsDict',
|
|
1120
1124
|
'PipelineClusterArgs',
|
|
@@ -2135,6 +2139,8 @@ __all__ = [
|
|
|
2135
2139
|
'GetMwsNetworkConnectivityConfigEgressConfigTargetRulesAzurePrivateEndpointRuleArgsDict',
|
|
2136
2140
|
'GetNodeTypeProviderConfigArgs',
|
|
2137
2141
|
'GetNodeTypeProviderConfigArgsDict',
|
|
2142
|
+
'GetNotebookProviderConfigArgs',
|
|
2143
|
+
'GetNotebookProviderConfigArgsDict',
|
|
2138
2144
|
'GetNotificationDestinationsProviderConfigArgs',
|
|
2139
2145
|
'GetNotificationDestinationsProviderConfigArgsDict',
|
|
2140
2146
|
'GetPipelinesProviderConfigArgs',
|
|
@@ -7991,26 +7997,9 @@ if not MYPY:
|
|
|
7991
7997
|
"""
|
|
7992
7998
|
basic_auth: NotRequired[pulumi.Input['ClusterDockerImageBasicAuthArgsDict']]
|
|
7993
7999
|
"""
|
|
7994
|
-
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch.
|
|
8000
|
+
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. For better security, these credentials should be stored in the secret scope and referred using secret path syntax: `{{secrets/scope/key}}`, otherwise other users of the workspace may access them via UI/API.
|
|
7995
8001
|
|
|
7996
8002
|
Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case:
|
|
7997
|
-
|
|
7998
|
-
```python
|
|
7999
|
-
import pulumi
|
|
8000
|
-
import pulumi_databricks as databricks
|
|
8001
|
-
import pulumi_docker as docker
|
|
8002
|
-
|
|
8003
|
-
this = docker.index.RegistryImage("this",
|
|
8004
|
-
build=[{}],
|
|
8005
|
-
name=f{this_azurerm_container_registry.login_server}/sample:latest)
|
|
8006
|
-
this_cluster = databricks.Cluster("this", docker_image={
|
|
8007
|
-
"url": this["name"],
|
|
8008
|
-
"basic_auth": {
|
|
8009
|
-
"username": this_azurerm_container_registry["adminUsername"],
|
|
8010
|
-
"password": this_azurerm_container_registry["adminPassword"],
|
|
8011
|
-
},
|
|
8012
|
-
})
|
|
8013
|
-
```
|
|
8014
8003
|
"""
|
|
8015
8004
|
elif False:
|
|
8016
8005
|
ClusterDockerImageArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -8022,26 +8011,9 @@ class ClusterDockerImageArgs:
|
|
|
8022
8011
|
basic_auth: Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']] = None):
|
|
8023
8012
|
"""
|
|
8024
8013
|
:param pulumi.Input[_builtins.str] url: URL for the Docker image
|
|
8025
|
-
:param pulumi.Input['ClusterDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch.
|
|
8014
|
+
:param pulumi.Input['ClusterDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. For better security, these credentials should be stored in the secret scope and referred using secret path syntax: `{{secrets/scope/key}}`, otherwise other users of the workspace may access them via UI/API.
|
|
8026
8015
|
|
|
8027
8016
|
Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case:
|
|
8028
|
-
|
|
8029
|
-
```python
|
|
8030
|
-
import pulumi
|
|
8031
|
-
import pulumi_databricks as databricks
|
|
8032
|
-
import pulumi_docker as docker
|
|
8033
|
-
|
|
8034
|
-
this = docker.index.RegistryImage("this",
|
|
8035
|
-
build=[{}],
|
|
8036
|
-
name=f{this_azurerm_container_registry.login_server}/sample:latest)
|
|
8037
|
-
this_cluster = databricks.Cluster("this", docker_image={
|
|
8038
|
-
"url": this["name"],
|
|
8039
|
-
"basic_auth": {
|
|
8040
|
-
"username": this_azurerm_container_registry["adminUsername"],
|
|
8041
|
-
"password": this_azurerm_container_registry["adminPassword"],
|
|
8042
|
-
},
|
|
8043
|
-
})
|
|
8044
|
-
```
|
|
8045
8017
|
"""
|
|
8046
8018
|
pulumi.set(__self__, "url", url)
|
|
8047
8019
|
if basic_auth is not None:
|
|
@@ -8063,26 +8035,9 @@ class ClusterDockerImageArgs:
|
|
|
8063
8035
|
@pulumi.getter(name="basicAuth")
|
|
8064
8036
|
def basic_auth(self) -> Optional[pulumi.Input['ClusterDockerImageBasicAuthArgs']]:
|
|
8065
8037
|
"""
|
|
8066
|
-
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch.
|
|
8038
|
+
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. For better security, these credentials should be stored in the secret scope and referred using secret path syntax: `{{secrets/scope/key}}`, otherwise other users of the workspace may access them via UI/API.
|
|
8067
8039
|
|
|
8068
8040
|
Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case:
|
|
8069
|
-
|
|
8070
|
-
```python
|
|
8071
|
-
import pulumi
|
|
8072
|
-
import pulumi_databricks as databricks
|
|
8073
|
-
import pulumi_docker as docker
|
|
8074
|
-
|
|
8075
|
-
this = docker.index.RegistryImage("this",
|
|
8076
|
-
build=[{}],
|
|
8077
|
-
name=f{this_azurerm_container_registry.login_server}/sample:latest)
|
|
8078
|
-
this_cluster = databricks.Cluster("this", docker_image={
|
|
8079
|
-
"url": this["name"],
|
|
8080
|
-
"basic_auth": {
|
|
8081
|
-
"username": this_azurerm_container_registry["adminUsername"],
|
|
8082
|
-
"password": this_azurerm_container_registry["adminPassword"],
|
|
8083
|
-
},
|
|
8084
|
-
})
|
|
8085
|
-
```
|
|
8086
8041
|
"""
|
|
8087
8042
|
return pulumi.get(self, "basic_auth")
|
|
8088
8043
|
|
|
@@ -13999,26 +13954,9 @@ if not MYPY:
|
|
|
13999
13954
|
"""
|
|
14000
13955
|
basic_auth: NotRequired[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgsDict']]
|
|
14001
13956
|
"""
|
|
14002
|
-
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch.
|
|
13957
|
+
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. For better security, these credentials should be stored in the secret scope and referred using secret path syntax: `{{secrets/scope/key}}`, otherwise other users of the workspace may access them via UI/API.
|
|
14003
13958
|
|
|
14004
13959
|
Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case:
|
|
14005
|
-
|
|
14006
|
-
```python
|
|
14007
|
-
import pulumi
|
|
14008
|
-
import pulumi_databricks as databricks
|
|
14009
|
-
import pulumi_docker as docker
|
|
14010
|
-
|
|
14011
|
-
this = docker.index.RegistryImage("this",
|
|
14012
|
-
build=[{}],
|
|
14013
|
-
name=f{this_azurerm_container_registry.login_server}/sample:latest)
|
|
14014
|
-
this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{
|
|
14015
|
-
"url": this["name"],
|
|
14016
|
-
"basic_auth": {
|
|
14017
|
-
"username": this_azurerm_container_registry["adminUsername"],
|
|
14018
|
-
"password": this_azurerm_container_registry["adminPassword"],
|
|
14019
|
-
},
|
|
14020
|
-
}])
|
|
14021
|
-
```
|
|
14022
13960
|
"""
|
|
14023
13961
|
elif False:
|
|
14024
13962
|
InstancePoolPreloadedDockerImageArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -14030,26 +13968,9 @@ class InstancePoolPreloadedDockerImageArgs:
|
|
|
14030
13968
|
basic_auth: Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']] = None):
|
|
14031
13969
|
"""
|
|
14032
13970
|
:param pulumi.Input[_builtins.str] url: URL for the Docker image
|
|
14033
|
-
:param pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch.
|
|
13971
|
+
:param pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs'] basic_auth: `basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. For better security, these credentials should be stored in the secret scope and referred using secret path syntax: `{{secrets/scope/key}}`, otherwise other users of the workspace may access them via UI/API.
|
|
14034
13972
|
|
|
14035
13973
|
Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case:
|
|
14036
|
-
|
|
14037
|
-
```python
|
|
14038
|
-
import pulumi
|
|
14039
|
-
import pulumi_databricks as databricks
|
|
14040
|
-
import pulumi_docker as docker
|
|
14041
|
-
|
|
14042
|
-
this = docker.index.RegistryImage("this",
|
|
14043
|
-
build=[{}],
|
|
14044
|
-
name=f{this_azurerm_container_registry.login_server}/sample:latest)
|
|
14045
|
-
this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{
|
|
14046
|
-
"url": this["name"],
|
|
14047
|
-
"basic_auth": {
|
|
14048
|
-
"username": this_azurerm_container_registry["adminUsername"],
|
|
14049
|
-
"password": this_azurerm_container_registry["adminPassword"],
|
|
14050
|
-
},
|
|
14051
|
-
}])
|
|
14052
|
-
```
|
|
14053
13974
|
"""
|
|
14054
13975
|
pulumi.set(__self__, "url", url)
|
|
14055
13976
|
if basic_auth is not None:
|
|
@@ -14071,26 +13992,9 @@ class InstancePoolPreloadedDockerImageArgs:
|
|
|
14071
13992
|
@pulumi.getter(name="basicAuth")
|
|
14072
13993
|
def basic_auth(self) -> Optional[pulumi.Input['InstancePoolPreloadedDockerImageBasicAuthArgs']]:
|
|
14073
13994
|
"""
|
|
14074
|
-
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch.
|
|
13995
|
+
`basic_auth.username` and `basic_auth.password` for Docker repository. Docker registry credentials are encrypted when they are stored in Databricks internal storage and when they are passed to a registry upon fetching Docker images at cluster launch. For better security, these credentials should be stored in the secret scope and referred using secret path syntax: `{{secrets/scope/key}}`, otherwise other users of the workspace may access them via UI/API.
|
|
14075
13996
|
|
|
14076
13997
|
Example usage with azurerm_container_registry and docker_registry_image, that you can adapt to your specific use-case:
|
|
14077
|
-
|
|
14078
|
-
```python
|
|
14079
|
-
import pulumi
|
|
14080
|
-
import pulumi_databricks as databricks
|
|
14081
|
-
import pulumi_docker as docker
|
|
14082
|
-
|
|
14083
|
-
this = docker.index.RegistryImage("this",
|
|
14084
|
-
build=[{}],
|
|
14085
|
-
name=f{this_azurerm_container_registry.login_server}/sample:latest)
|
|
14086
|
-
this_instance_pool = databricks.InstancePool("this", preloaded_docker_images=[{
|
|
14087
|
-
"url": this["name"],
|
|
14088
|
-
"basic_auth": {
|
|
14089
|
-
"username": this_azurerm_container_registry["adminUsername"],
|
|
14090
|
-
"password": this_azurerm_container_registry["adminPassword"],
|
|
14091
|
-
},
|
|
14092
|
-
}])
|
|
14093
|
-
```
|
|
14094
13998
|
"""
|
|
14095
13999
|
return pulumi.get(self, "basic_auth")
|
|
14096
14000
|
|
|
@@ -38433,13 +38337,13 @@ class MwsNetworksGcpNetworkInfoArgs:
|
|
|
38433
38337
|
pulumi.set(__self__, "subnet_region", subnet_region)
|
|
38434
38338
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
38435
38339
|
if pod_ip_range_name is not None:
|
|
38436
|
-
warnings.warn("""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.
|
|
38437
|
-
pulumi.log.warn("""pod_ip_range_name is 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.
|
|
38340
|
+
warnings.warn("""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.97.0/docs/guides/gcp-workspace#creating-a-vpc""", DeprecationWarning)
|
|
38341
|
+
pulumi.log.warn("""pod_ip_range_name is 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.97.0/docs/guides/gcp-workspace#creating-a-vpc""")
|
|
38438
38342
|
if pod_ip_range_name is not None:
|
|
38439
38343
|
pulumi.set(__self__, "pod_ip_range_name", pod_ip_range_name)
|
|
38440
38344
|
if service_ip_range_name is not None:
|
|
38441
|
-
warnings.warn("""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.
|
|
38442
|
-
pulumi.log.warn("""service_ip_range_name is 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.
|
|
38345
|
+
warnings.warn("""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.97.0/docs/guides/gcp-workspace#creating-a-vpc""", DeprecationWarning)
|
|
38346
|
+
pulumi.log.warn("""service_ip_range_name is 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.97.0/docs/guides/gcp-workspace#creating-a-vpc""")
|
|
38443
38347
|
if service_ip_range_name is not None:
|
|
38444
38348
|
pulumi.set(__self__, "service_ip_range_name", service_ip_range_name)
|
|
38445
38349
|
|
|
@@ -38493,7 +38397,7 @@ class MwsNetworksGcpNetworkInfoArgs:
|
|
|
38493
38397
|
|
|
38494
38398
|
@_builtins.property
|
|
38495
38399
|
@pulumi.getter(name="podIpRangeName")
|
|
38496
|
-
@_utilities.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.
|
|
38400
|
+
@_utilities.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.97.0/docs/guides/gcp-workspace#creating-a-vpc""")
|
|
38497
38401
|
def pod_ip_range_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
38498
38402
|
return pulumi.get(self, "pod_ip_range_name")
|
|
38499
38403
|
|
|
@@ -38503,7 +38407,7 @@ class MwsNetworksGcpNetworkInfoArgs:
|
|
|
38503
38407
|
|
|
38504
38408
|
@_builtins.property
|
|
38505
38409
|
@pulumi.getter(name="serviceIpRangeName")
|
|
38506
|
-
@_utilities.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.
|
|
38410
|
+
@_utilities.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.97.0/docs/guides/gcp-workspace#creating-a-vpc""")
|
|
38507
38411
|
def service_ip_range_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
38508
38412
|
return pulumi.get(self, "service_ip_range_name")
|
|
38509
38413
|
|
|
@@ -38779,13 +38683,13 @@ class MwsWorkspacesGcpManagedNetworkConfigArgs:
|
|
|
38779
38683
|
gke_cluster_service_ip_range: Optional[pulumi.Input[_builtins.str]] = None):
|
|
38780
38684
|
pulumi.set(__self__, "subnet_cidr", subnet_cidr)
|
|
38781
38685
|
if gke_cluster_pod_ip_range is not None:
|
|
38782
|
-
warnings.warn("""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.
|
|
38783
|
-
pulumi.log.warn("""gke_cluster_pod_ip_range is 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.
|
|
38686
|
+
warnings.warn("""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.97.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
|
|
38687
|
+
pulumi.log.warn("""gke_cluster_pod_ip_range is 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.97.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
38784
38688
|
if gke_cluster_pod_ip_range is not None:
|
|
38785
38689
|
pulumi.set(__self__, "gke_cluster_pod_ip_range", gke_cluster_pod_ip_range)
|
|
38786
38690
|
if gke_cluster_service_ip_range is not None:
|
|
38787
|
-
warnings.warn("""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.
|
|
38788
|
-
pulumi.log.warn("""gke_cluster_service_ip_range is 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.
|
|
38691
|
+
warnings.warn("""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.97.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""", DeprecationWarning)
|
|
38692
|
+
pulumi.log.warn("""gke_cluster_service_ip_range is 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.97.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
38789
38693
|
if gke_cluster_service_ip_range is not None:
|
|
38790
38694
|
pulumi.set(__self__, "gke_cluster_service_ip_range", gke_cluster_service_ip_range)
|
|
38791
38695
|
|
|
@@ -38800,7 +38704,7 @@ class MwsWorkspacesGcpManagedNetworkConfigArgs:
|
|
|
38800
38704
|
|
|
38801
38705
|
@_builtins.property
|
|
38802
38706
|
@pulumi.getter(name="gkeClusterPodIpRange")
|
|
38803
|
-
@_utilities.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.
|
|
38707
|
+
@_utilities.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.97.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
38804
38708
|
def gke_cluster_pod_ip_range(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
38805
38709
|
return pulumi.get(self, "gke_cluster_pod_ip_range")
|
|
38806
38710
|
|
|
@@ -38810,7 +38714,7 @@ class MwsWorkspacesGcpManagedNetworkConfigArgs:
|
|
|
38810
38714
|
|
|
38811
38715
|
@_builtins.property
|
|
38812
38716
|
@pulumi.getter(name="gkeClusterServiceIpRange")
|
|
38813
|
-
@_utilities.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.
|
|
38717
|
+
@_utilities.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.97.0/docs/guides/gcp-workspace#creating-a-databricks-workspace""")
|
|
38814
38718
|
def gke_cluster_service_ip_range(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
38815
38719
|
return pulumi.get(self, "gke_cluster_service_ip_range")
|
|
38816
38720
|
|
|
@@ -38933,6 +38837,37 @@ class MwsWorkspacesTokenArgs:
|
|
|
38933
38837
|
pulumi.set(self, "token_value", value)
|
|
38934
38838
|
|
|
38935
38839
|
|
|
38840
|
+
if not MYPY:
|
|
38841
|
+
class NotebookProviderConfigArgsDict(TypedDict):
|
|
38842
|
+
workspace_id: pulumi.Input[_builtins.str]
|
|
38843
|
+
"""
|
|
38844
|
+
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
38845
|
+
"""
|
|
38846
|
+
elif False:
|
|
38847
|
+
NotebookProviderConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
38848
|
+
|
|
38849
|
+
@pulumi.input_type
|
|
38850
|
+
class NotebookProviderConfigArgs:
|
|
38851
|
+
def __init__(__self__, *,
|
|
38852
|
+
workspace_id: pulumi.Input[_builtins.str]):
|
|
38853
|
+
"""
|
|
38854
|
+
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
38855
|
+
"""
|
|
38856
|
+
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
38857
|
+
|
|
38858
|
+
@_builtins.property
|
|
38859
|
+
@pulumi.getter(name="workspaceId")
|
|
38860
|
+
def workspace_id(self) -> pulumi.Input[_builtins.str]:
|
|
38861
|
+
"""
|
|
38862
|
+
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
38863
|
+
"""
|
|
38864
|
+
return pulumi.get(self, "workspace_id")
|
|
38865
|
+
|
|
38866
|
+
@workspace_id.setter
|
|
38867
|
+
def workspace_id(self, value: pulumi.Input[_builtins.str]):
|
|
38868
|
+
pulumi.set(self, "workspace_id", value)
|
|
38869
|
+
|
|
38870
|
+
|
|
38936
38871
|
if not MYPY:
|
|
38937
38872
|
class NotificationDestinationConfigArgsDict(TypedDict):
|
|
38938
38873
|
email: NotRequired[pulumi.Input['NotificationDestinationConfigEmailArgsDict']]
|
|
@@ -40189,6 +40124,37 @@ class OnlineTableStatusTriggeredUpdateStatusTriggeredUpdateProgressArgs:
|
|
|
40189
40124
|
pulumi.set(self, "total_row_count", value)
|
|
40190
40125
|
|
|
40191
40126
|
|
|
40127
|
+
if not MYPY:
|
|
40128
|
+
class PermissionAssignmentProviderConfigArgsDict(TypedDict):
|
|
40129
|
+
workspace_id: pulumi.Input[_builtins.str]
|
|
40130
|
+
"""
|
|
40131
|
+
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
40132
|
+
"""
|
|
40133
|
+
elif False:
|
|
40134
|
+
PermissionAssignmentProviderConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
40135
|
+
|
|
40136
|
+
@pulumi.input_type
|
|
40137
|
+
class PermissionAssignmentProviderConfigArgs:
|
|
40138
|
+
def __init__(__self__, *,
|
|
40139
|
+
workspace_id: pulumi.Input[_builtins.str]):
|
|
40140
|
+
"""
|
|
40141
|
+
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
40142
|
+
"""
|
|
40143
|
+
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
40144
|
+
|
|
40145
|
+
@_builtins.property
|
|
40146
|
+
@pulumi.getter(name="workspaceId")
|
|
40147
|
+
def workspace_id(self) -> pulumi.Input[_builtins.str]:
|
|
40148
|
+
"""
|
|
40149
|
+
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
40150
|
+
"""
|
|
40151
|
+
return pulumi.get(self, "workspace_id")
|
|
40152
|
+
|
|
40153
|
+
@workspace_id.setter
|
|
40154
|
+
def workspace_id(self, value: pulumi.Input[_builtins.str]):
|
|
40155
|
+
pulumi.set(self, "workspace_id", value)
|
|
40156
|
+
|
|
40157
|
+
|
|
40192
40158
|
if not MYPY:
|
|
40193
40159
|
class PermissionsAccessControlArgsDict(TypedDict):
|
|
40194
40160
|
group_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
@@ -73167,6 +73133,37 @@ class GetNodeTypeProviderConfigArgs:
|
|
|
73167
73133
|
pulumi.set(self, "workspace_id", value)
|
|
73168
73134
|
|
|
73169
73135
|
|
|
73136
|
+
if not MYPY:
|
|
73137
|
+
class GetNotebookProviderConfigArgsDict(TypedDict):
|
|
73138
|
+
workspace_id: _builtins.str
|
|
73139
|
+
"""
|
|
73140
|
+
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
73141
|
+
"""
|
|
73142
|
+
elif False:
|
|
73143
|
+
GetNotebookProviderConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
73144
|
+
|
|
73145
|
+
@pulumi.input_type
|
|
73146
|
+
class GetNotebookProviderConfigArgs:
|
|
73147
|
+
def __init__(__self__, *,
|
|
73148
|
+
workspace_id: _builtins.str):
|
|
73149
|
+
"""
|
|
73150
|
+
:param _builtins.str workspace_id: Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
73151
|
+
"""
|
|
73152
|
+
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
73153
|
+
|
|
73154
|
+
@_builtins.property
|
|
73155
|
+
@pulumi.getter(name="workspaceId")
|
|
73156
|
+
def workspace_id(self) -> _builtins.str:
|
|
73157
|
+
"""
|
|
73158
|
+
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
|
|
73159
|
+
"""
|
|
73160
|
+
return pulumi.get(self, "workspace_id")
|
|
73161
|
+
|
|
73162
|
+
@workspace_id.setter
|
|
73163
|
+
def workspace_id(self, value: _builtins.str):
|
|
73164
|
+
pulumi.set(self, "workspace_id", value)
|
|
73165
|
+
|
|
73166
|
+
|
|
73170
73167
|
if not MYPY:
|
|
73171
73168
|
class GetNotificationDestinationsProviderConfigArgsDict(TypedDict):
|
|
73172
73169
|
workspace_id: _builtins.str
|
|
@@ -252,6 +252,18 @@ class AccountFederationPolicy(pulumi.CustomResource):
|
|
|
252
252
|
|
|
253
253
|
## Example Usage
|
|
254
254
|
|
|
255
|
+
```python
|
|
256
|
+
import pulumi
|
|
257
|
+
import pulumi_databricks as databricks
|
|
258
|
+
|
|
259
|
+
this = databricks.AccountFederationPolicy("this",
|
|
260
|
+
policy_id="my-policy",
|
|
261
|
+
oidc_policy={
|
|
262
|
+
"issuer": "https://myidp.example.com",
|
|
263
|
+
"subject_claim": "sub",
|
|
264
|
+
})
|
|
265
|
+
```
|
|
266
|
+
|
|
255
267
|
## Import
|
|
256
268
|
|
|
257
269
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -297,6 +309,18 @@ class AccountFederationPolicy(pulumi.CustomResource):
|
|
|
297
309
|
|
|
298
310
|
## Example Usage
|
|
299
311
|
|
|
312
|
+
```python
|
|
313
|
+
import pulumi
|
|
314
|
+
import pulumi_databricks as databricks
|
|
315
|
+
|
|
316
|
+
this = databricks.AccountFederationPolicy("this",
|
|
317
|
+
policy_id="my-policy",
|
|
318
|
+
oidc_policy={
|
|
319
|
+
"issuer": "https://myidp.example.com",
|
|
320
|
+
"subject_claim": "sub",
|
|
321
|
+
})
|
|
322
|
+
```
|
|
323
|
+
|
|
300
324
|
## Import
|
|
301
325
|
|
|
302
326
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -157,6 +157,31 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
157
157
|
|
|
158
158
|
## Example Usage
|
|
159
159
|
|
|
160
|
+
```python
|
|
161
|
+
import pulumi
|
|
162
|
+
import pulumi_databricks as databricks
|
|
163
|
+
|
|
164
|
+
example_network_policy = databricks.AccountNetworkPolicy("example_network_policy",
|
|
165
|
+
network_policy_id="example-network-policy",
|
|
166
|
+
egress={
|
|
167
|
+
"network_access": {
|
|
168
|
+
"restriction_mode": "RESTRICTED_ACCESS",
|
|
169
|
+
"allowed_internet_destinations": [{
|
|
170
|
+
"destination": "example.com",
|
|
171
|
+
"internet_destination_type": "DNS_NAME",
|
|
172
|
+
}],
|
|
173
|
+
"allowed_storage_destinations": [{
|
|
174
|
+
"bucket_name": "example-aws-cloud-storage",
|
|
175
|
+
"region": "us-west-1",
|
|
176
|
+
"storage_destination_type": "AWS_S3",
|
|
177
|
+
}],
|
|
178
|
+
"policy_enforcement": {
|
|
179
|
+
"enforcement_mode": "ENFORCED",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
})
|
|
183
|
+
```
|
|
184
|
+
|
|
160
185
|
## Import
|
|
161
186
|
|
|
162
187
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -206,6 +231,31 @@ class AccountNetworkPolicy(pulumi.CustomResource):
|
|
|
206
231
|
|
|
207
232
|
## Example Usage
|
|
208
233
|
|
|
234
|
+
```python
|
|
235
|
+
import pulumi
|
|
236
|
+
import pulumi_databricks as databricks
|
|
237
|
+
|
|
238
|
+
example_network_policy = databricks.AccountNetworkPolicy("example_network_policy",
|
|
239
|
+
network_policy_id="example-network-policy",
|
|
240
|
+
egress={
|
|
241
|
+
"network_access": {
|
|
242
|
+
"restriction_mode": "RESTRICTED_ACCESS",
|
|
243
|
+
"allowed_internet_destinations": [{
|
|
244
|
+
"destination": "example.com",
|
|
245
|
+
"internet_destination_type": "DNS_NAME",
|
|
246
|
+
}],
|
|
247
|
+
"allowed_storage_destinations": [{
|
|
248
|
+
"bucket_name": "example-aws-cloud-storage",
|
|
249
|
+
"region": "us-west-1",
|
|
250
|
+
"storage_destination_type": "AWS_S3",
|
|
251
|
+
}],
|
|
252
|
+
"policy_enforcement": {
|
|
253
|
+
"enforcement_mode": "ENFORCED",
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
})
|
|
257
|
+
```
|
|
258
|
+
|
|
209
259
|
## Import
|
|
210
260
|
|
|
211
261
|
As of Pulumi v1.5, resources can be imported through configuration.
|
pulumi_databricks/alert_v2.py
CHANGED
|
@@ -470,6 +470,42 @@ class AlertV2(pulumi.CustomResource):
|
|
|
470
470
|
### Basic Alert Example
|
|
471
471
|
This example creates a basic alert that monitors a query and sends notifications to a user when the value exceeds a threshold:
|
|
472
472
|
|
|
473
|
+
```python
|
|
474
|
+
import pulumi
|
|
475
|
+
import pulumi_databricks as databricks
|
|
476
|
+
|
|
477
|
+
basic_alert = databricks.AlertV2("basic_alert",
|
|
478
|
+
display_name="High Error Rate Alert",
|
|
479
|
+
query_text="SELECT count(*) as error_count FROM logs WHERE level = 'ERROR' AND timestamp > now() - interval 1 hour",
|
|
480
|
+
warehouse_id="a7066a8ef796be84",
|
|
481
|
+
parent_path="/Users/user@example.com",
|
|
482
|
+
evaluation={
|
|
483
|
+
"source": {
|
|
484
|
+
"name": "error_count",
|
|
485
|
+
"display": "Error Count",
|
|
486
|
+
"aggregation": "COUNT",
|
|
487
|
+
},
|
|
488
|
+
"comparison_operator": "GREATER_THAN",
|
|
489
|
+
"threshold": {
|
|
490
|
+
"value": {
|
|
491
|
+
"double_value": 100,
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
"empty_result_state": "OK",
|
|
495
|
+
"notification": {
|
|
496
|
+
"subscriptions": [{
|
|
497
|
+
"user_email": "user@example.com",
|
|
498
|
+
}],
|
|
499
|
+
"notify_on_ok": True,
|
|
500
|
+
},
|
|
501
|
+
},
|
|
502
|
+
schedule={
|
|
503
|
+
"quartz_cron_schedule": "0 0/15 * * * ?",
|
|
504
|
+
"timezone_id": "America/Los_Angeles",
|
|
505
|
+
"pause_status": "UNPAUSED",
|
|
506
|
+
})
|
|
507
|
+
```
|
|
508
|
+
|
|
473
509
|
## Import
|
|
474
510
|
|
|
475
511
|
As of Pulumi v1.5, resources can be imported through configuration.
|
|
@@ -525,6 +561,42 @@ class AlertV2(pulumi.CustomResource):
|
|
|
525
561
|
### Basic Alert Example
|
|
526
562
|
This example creates a basic alert that monitors a query and sends notifications to a user when the value exceeds a threshold:
|
|
527
563
|
|
|
564
|
+
```python
|
|
565
|
+
import pulumi
|
|
566
|
+
import pulumi_databricks as databricks
|
|
567
|
+
|
|
568
|
+
basic_alert = databricks.AlertV2("basic_alert",
|
|
569
|
+
display_name="High Error Rate Alert",
|
|
570
|
+
query_text="SELECT count(*) as error_count FROM logs WHERE level = 'ERROR' AND timestamp > now() - interval 1 hour",
|
|
571
|
+
warehouse_id="a7066a8ef796be84",
|
|
572
|
+
parent_path="/Users/user@example.com",
|
|
573
|
+
evaluation={
|
|
574
|
+
"source": {
|
|
575
|
+
"name": "error_count",
|
|
576
|
+
"display": "Error Count",
|
|
577
|
+
"aggregation": "COUNT",
|
|
578
|
+
},
|
|
579
|
+
"comparison_operator": "GREATER_THAN",
|
|
580
|
+
"threshold": {
|
|
581
|
+
"value": {
|
|
582
|
+
"double_value": 100,
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
"empty_result_state": "OK",
|
|
586
|
+
"notification": {
|
|
587
|
+
"subscriptions": [{
|
|
588
|
+
"user_email": "user@example.com",
|
|
589
|
+
}],
|
|
590
|
+
"notify_on_ok": True,
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
schedule={
|
|
594
|
+
"quartz_cron_schedule": "0 0/15 * * * ?",
|
|
595
|
+
"timezone_id": "America/Los_Angeles",
|
|
596
|
+
"pause_status": "UNPAUSED",
|
|
597
|
+
})
|
|
598
|
+
```
|
|
599
|
+
|
|
528
600
|
## Import
|
|
529
601
|
|
|
530
602
|
As of Pulumi v1.5, resources can be imported through configuration.
|
pulumi_databricks/app.py
CHANGED
|
@@ -552,6 +552,38 @@ class App(pulumi.CustomResource):
|
|
|
552
552
|
|
|
553
553
|
## Example Usage
|
|
554
554
|
|
|
555
|
+
```python
|
|
556
|
+
import pulumi
|
|
557
|
+
import pulumi_databricks as databricks
|
|
558
|
+
|
|
559
|
+
this = databricks.App("this",
|
|
560
|
+
name="my-custom-app",
|
|
561
|
+
description="My app",
|
|
562
|
+
resources=[
|
|
563
|
+
{
|
|
564
|
+
"name": "sql-warehouse",
|
|
565
|
+
"sql_warehouse": {
|
|
566
|
+
"id": "e9ca293f79a74b5c",
|
|
567
|
+
"permission": "CAN_MANAGE",
|
|
568
|
+
},
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "serving-endpoint",
|
|
572
|
+
"serving_endpoint": {
|
|
573
|
+
"name": "databricks-meta-llama-3-1-70b-instruct",
|
|
574
|
+
"permission": "CAN_MANAGE",
|
|
575
|
+
},
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "job",
|
|
579
|
+
"job": {
|
|
580
|
+
"id": "1234",
|
|
581
|
+
"permission": "CAN_MANAGE",
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
])
|
|
585
|
+
```
|
|
586
|
+
|
|
555
587
|
## Related Resources
|
|
556
588
|
|
|
557
589
|
The following resources are used in the same context:
|
|
@@ -605,6 +637,38 @@ class App(pulumi.CustomResource):
|
|
|
605
637
|
|
|
606
638
|
## Example Usage
|
|
607
639
|
|
|
640
|
+
```python
|
|
641
|
+
import pulumi
|
|
642
|
+
import pulumi_databricks as databricks
|
|
643
|
+
|
|
644
|
+
this = databricks.App("this",
|
|
645
|
+
name="my-custom-app",
|
|
646
|
+
description="My app",
|
|
647
|
+
resources=[
|
|
648
|
+
{
|
|
649
|
+
"name": "sql-warehouse",
|
|
650
|
+
"sql_warehouse": {
|
|
651
|
+
"id": "e9ca293f79a74b5c",
|
|
652
|
+
"permission": "CAN_MANAGE",
|
|
653
|
+
},
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "serving-endpoint",
|
|
657
|
+
"serving_endpoint": {
|
|
658
|
+
"name": "databricks-meta-llama-3-1-70b-instruct",
|
|
659
|
+
"permission": "CAN_MANAGE",
|
|
660
|
+
},
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "job",
|
|
664
|
+
"job": {
|
|
665
|
+
"id": "1234",
|
|
666
|
+
"permission": "CAN_MANAGE",
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
])
|
|
670
|
+
```
|
|
671
|
+
|
|
608
672
|
## Related Resources
|
|
609
673
|
|
|
610
674
|
The following resources are used in the same context:
|