DatabricksAttachConfiguration Class
Represents configuration parameters for attaching DatabricksCompute targets.
Use the attach_configuration method of the DatabricksCompute class to specify attach parameters.
Initialize the configuration object.
- Inheritance
-
DatabricksAttachConfiguration
Constructor
DatabricksAttachConfiguration(resource_group=None, workspace_name=None, resource_id=None, access_token='')
Parameters
Name | Description |
---|---|
resource_group
|
The name of the resource group in which the Databricks is located. Default value: None
|
workspace_name
|
The Databricks workspace name. Default value: None
|
resource_id
|
The Azure resource ID for the compute resource being attached. Default value: None
|
access_token
Required
|
The access token for the resource being attached. |
resource_group
Required
|
The name of the resource group in which the Databricks is located. |
workspace_name
Required
|
The Databricks workspace name. |
resource_id
Required
|
The Azure resource ID for the compute resource being attached. |
access_token
Required
|
The access token for the resource being attached. |
Methods
validate_configuration |
Check that the specified configuration values are valid. Raises a ComputeTargetException if validation fails. |
validate_configuration
Check that the specified configuration values are valid.
Raises a ComputeTargetException if validation fails.
validate_configuration()
Exceptions
Type | Description |
---|---|