Replace access list.
replace_ip_access_list.Rd
Replaces an IP access list, specified by its ID.
Usage
replace_ip_access_list(
client,
ip_access_list_id,
label,
list_type,
enabled,
ip_addresses = NULL
)
ipAccessListsReplace(
client,
ip_access_list_id,
label,
list_type,
enabled,
ip_addresses = NULL
)
Arguments
- client
Required. Instance of DatabricksClient()
- ip_access_list_id
Required. The ID for the corresponding IP access list.
- label
Required. Label for the IP access list.
- list_type
Required. Type of IP access list.
- enabled
Required. Specifies whether this IP access list is enabled.
- ip_addresses
This field has no description yet.
Details
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.