Skip to contents

Creates a new external location entry in the metastore. The caller must be a metastore admin or have the CREATE_EXTERNAL_LOCATION privilege on both the metastore and the associated storage credential.

Usage

create_external_location(
  client,
  name,
  url,
  credential_name,
  access_point = NULL,
  comment = NULL,
  encryption_details = NULL,
  read_only = NULL,
  skip_validation = NULL
)

externalLocationsCreate(
  client,
  name,
  url,
  credential_name,
  access_point = NULL,
  comment = NULL,
  encryption_details = NULL,
  read_only = NULL,
  skip_validation = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. Name of the external location.

url

Required. Path URL of the external location.

credential_name

Required. Name of the storage credential used with this location.

access_point

The AWS access point to use when accesing s3 for this external location.

comment

User-provided free-form text description.

encryption_details

Encryption options that apply to clients connecting to cloud storage.

read_only

Indicates whether the external location is read-only.

skip_validation

Skips validation of the storage credential associated with the external location.