Create access list.
create_ip_access_list.Rd
Creates an IP access list for this workspace.
Usage
create_ip_access_list(client, label, list_type, ip_addresses = NULL)
ipAccessListsCreate(client, label, list_type, ip_addresses = NULL)
Arguments
- client
Required. Instance of DatabricksClient()
- label
Required. Label for the IP access list.
- list_type
Required. Type of IP access list.
- ip_addresses
This field has no description yet.
Details
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
valueQUOTA_EXCEEDED
.If the new list would block the calling user's current IP, error 400 is returned with
error_code
valueINVALID_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