Databricks SDK for JavaScript
    Preparing search index...
    Index

    Constructors

    Methods

    • Creates an IP access list for the account.

      A list can be an allow list or a block list. See the top of this file for a description of how the server treats allow lists and block lists at runtime.

      When creating or updating an IP access list:

      • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return error 400 with error_code value QUOTA_EXCEEDED.
      • If the new list would block the calling user's current IP, error 400 is returned with error_code value INVALID_STATE.

      It can take a few minutes for the changes to take effect.

      Parameters

      Returns Promise<CreateAccountIpAccessListResponse>

    • Creates a new network connectivity endpoint that enables private connectivity between your network resources and services.

      After creation, the endpoint is initially in the PENDING state. The endpoint service automatically reviews and approves the endpoint within a few minutes. Use the GET method to retrieve the latest endpoint state.

      An endpoint can be used only after it reaches the APPROVED state.

      Parameters

      Returns Promise<Endpoint>

    • Creates an IP access list for this workspace.

      A list can be an allow list or a block list. See the top of this file for a description of how the server treats allow lists and block lists at runtime.

      When creating or updating an IP access list:

      • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return error 400 with error_code value QUOTA_EXCEEDED.
      • If the new list would block the calling user's current IP, error 400 is returned with error_code value INVALID_STATE.

      It can take a few minutes for the changes to take effect. Note: Your new IP access list has no effect until you enable the feature. See :method:workspaceconf/setStatus

      Parameters

      Returns Promise<CreateIpAccessListResponse>

    • Deletes a network endpoint. This will remove the endpoint configuration from . Depending on the endpoint type and use case, you may also need to delete corresponding network resources in your cloud provider account.

      Parameters

      Returns Promise<void>

    • Replaces an IP access list, specified by its ID.

      A list can include allow lists and block lists. See the top of this file for a description of how the server treats allow lists and block lists at run time. When replacing an IP access list:

      • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return error 400 with error_code value QUOTA_EXCEEDED.
      • If the resulting list would block the calling user's current IP, error 400 is returned with error_code value INVALID_STATE. It can take a few minutes for the changes to take effect.

      Parameters

      Returns Promise<ReplaceAccountIpAccessListResponse>

    • Replaces an IP access list, specified by its ID.

      A list can include allow lists and block lists. See the top of this file for a description of how the server treats allow lists and block lists at run time. When replacing an IP access list:

      • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return error 400 with error_code value QUOTA_EXCEEDED.
      • If the resulting list would block the calling user's current IP, error 400 is returned with error_code value INVALID_STATE. It can take a few minutes for the changes to take effect. Note that your resulting IP access list has no effect until you enable the feature. See :method:workspaceconf/setStatus.

      Parameters

      Returns Promise<ReplaceIpAccessListResponse>

    • Updates an existing IP access list, specified by its ID.

      A list can include allow lists and block lists. See the top of this file for a description of how the server treats allow lists and block lists at run time.

      When updating an IP access list:

      • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return error 400 with error_code value QUOTA_EXCEEDED.
      • If the updated list would block the calling user's current IP, error 400 is returned with error_code value INVALID_STATE.

      It can take a few minutes for the changes to take effect.

      Parameters

      Returns Promise<UpdateAccountIpAccessListResponse>

    • Updates an existing IP access list, specified by its ID.

      A list can include allow lists and block lists. See the top of this file for a description of how the server treats allow lists and block lists at run time.

      When updating an IP access list:

      • For all allow lists and block lists combined, the API supports a maximum of 1000 IP/CIDR values, where one CIDR counts as a single value. Attempts to exceed that number return error 400 with error_code value QUOTA_EXCEEDED.
      • If the updated list would block the calling user's current IP, error 400 is returned with error_code value INVALID_STATE.

      It can take a few minutes for the changes to take effect. Note that your resulting IP access list has no effect until you enable the feature. See :method:workspaceconf/setStatus.

      Parameters

      Returns Promise<UpdateIpAccessListResponse>

    • Updates an existing private access settings object, which specifies how your workspace is accessed over AWS PrivateLink. To use AWS PrivateLink, a workspace must have a private access settings object referenced by ID in the workspace's private_access_settings_id property. This operation completely overwrites your existing private access settings object attached to your workspaces. All workspaces attached to the private access settings are affected by any change. If public_access_enabled, private_access_level, or allowed_vpc_endpoint_ids are updated, effects of these changes might take several minutes to propagate to the workspace API. You can share one private access settings object with multiple workspaces in a single account. However, private access settings are specific to AWS regions, so only workspaces in the same AWS region can use a given private access settings object. Before configuring PrivateLink, read the article about PrivateLink.

      Parameters

      Returns Promise<PrivateAccessSettings>