client.databases.get_whitelist_ips

A method of the Databases endpoint.

get_whitelist_ips(id: int, whitelisted_ip_id: int) Response

View details about a whitelisted IP

API URL: GET /databases/{id}/whitelist-ips/{whitelisted_ip_id}

import civis
client = civis.APIClient()
response = client.databases.get_whitelist_ips(...)
Parameters:
idint

The ID of the database this rule is applied to.

whitelisted_ip_idint

The ID of this whitelisted IP address.

Returns:
civis.Response
  • idint

    The ID of this whitelisted IP address.

  • remote_host_idint

    The ID of the database this rule is applied to.

  • security_group_idstr

    The ID of the security group this rule is applied to.

  • subnet_maskstr

    The subnet mask that is allowed by this rule.

  • authorized_bystr

    The user who authorized this rule.

  • is_activebool

    True if the rule is applied, false if it has been revoked.

  • created_atstr (time)

    The time this rule was created.

  • updated_atstr (time)

    The time this rule was last updated.