แชร์ผ่าน


account vpc-endpoints command group

Note

This information applies to Databricks CLI versions 0.205 and above. The Databricks CLI is in Public Preview.

Databricks CLI use is subject to the Databricks License and Databricks Privacy Notice, including any Usage Data provisions.

The account vpc-endpoints command group within the Databricks CLI contains commands to manage VPC endpoint configurations for your account. A VPC endpoint configuration represents a VPC endpoint object in AWS used to communicate privately with Databricks over AWS PrivateLink.

databricks account vpc-endpoints create

Create a VPC endpoint configuration, which represents a VPC endpoint object in AWS used to communicate privately with Databricks over AWS PrivateLink. After you create the VPC endpoint configuration, the Databricks endpoint service automatically accepts the VPC endpoint.

databricks account vpc-endpoints create [flags]

Options

--aws-vpc-endpoint-id string

    The ID of the VPC endpoint object in AWS.

--region string

    The region in which this VPC endpoint object exists.

--vpc-endpoint-name string

    The human-readable name of the VPC endpoint configuration.

--json JSON

    The inline JSON string or the @path to the JSON file with the request body

Global flags

Examples

The following example creates a VPC endpoint configuration using command-line flags:

databricks account vpc-endpoints create --vpc-endpoint-name "my-vpc-endpoint" --aws-vpc-endpoint-id "vpce-12345678" --region "us-west-2"

The following example creates a VPC endpoint configuration using JSON:

databricks account vpc-endpoints create --json '{"vpc_endpoint_name": "my-vpc-endpoint", "aws_vpc_endpoint_id": "vpce-12345678", "region": "us-west-2"}'

The following example creates a VPC endpoint configuration using a JSON file:

databricks account vpc-endpoints create --json @vpc-endpoint-config.json

databricks account vpc-endpoints delete

Delete a Databricks VPC endpoint configuration. You cannot delete a VPC endpoint configuration that is associated with any workspace.

databricks account vpc-endpoints delete VPC_ENDPOINT_ID [flags]

Arguments

VPC_ENDPOINT_ID

    Databricks VPC endpoint ID.

Options

Global flags

Examples

The following example deletes a VPC endpoint configuration by ID:

databricks account vpc-endpoints delete vpce-config-abc123

databricks account vpc-endpoints get

Get a VPC endpoint configuration, which represents a VPC endpoint object in AWS used to communicate privately with Databricks over AWS PrivateLink.

databricks account vpc-endpoints get VPC_ENDPOINT_ID [flags]

Arguments

VPC_ENDPOINT_ID

    Databricks VPC endpoint ID.

Options

Global flags

Examples

The following example gets a VPC endpoint configuration by ID:

databricks account vpc-endpoints get vpce-config-abc123

databricks account vpc-endpoints list

List Databricks VPC endpoint configurations for an account.

databricks account vpc-endpoints list [flags]

Options

Global flags

Examples

The following example lists all VPC endpoint configurations:

databricks account vpc-endpoints list

Global flags

--debug

  Whether to enable debug logging.

-h or --help

    Display help for the Databricks CLI or the related command group or the related command.

--log-file string

    A string representing the file to write output logs to. If this flag is not specified then the default is to write output logs to stderr.

--log-format format

    The log format type, text or json. The default value is text.

--log-level string

    A string representing the log format level. If not specified then the log format level is disabled.

-o, --output type

    The command output type, text or json. The default value is text.

-p, --profile string

    The name of the profile in the ~/.databrickscfg file to use to run the command. If this flag is not specified then if it exists, the profile named DEFAULT is used.

--progress-format format

    The format to display progress logs: default, append, inplace, or json

-t, --target string

    If applicable, the bundle target to use