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
str

The name of the resource group in which the Databricks is located.

Default value: None
workspace_name
str

The Databricks workspace name.

Default value: None
resource_id
str

The Azure resource ID for the compute resource being attached.

Default value: None
access_token
Required
str

The access token for the resource being attached.

resource_group
Required
str

The name of the resource group in which the Databricks is located.

workspace_name
Required
str

The Databricks workspace name.

resource_id
Required
str

The Azure resource ID for the compute resource being attached.

access_token
Required
str

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