Public IP
Public IP addresses are used to communicate over the Internet. Examples of these include AWS Elastic IPs and OpenStack Floating IPs. This class inherits from TopLevelResource and has direct access to the resource’s database object.
Attribute |
Description |
---|---|
resource_id |
The primary resource identifier that takes the form of a prefix followed by numbers and letters |
organization_service_id |
The ID of the parent organization service (cloud) |
region_name |
The region that the public IP resides in |
public_ip |
The publicly accessible IP address |
private_ip |
The private IP that this public IP will pass through to |
domain |
The domain associated with this public IP |
network_interface_resource_id |
The resource ID of the network interface the IP is associated to |
allocation_id |
The provider allocation ID of the public IP |
association_id |
The provider association ID |
allocation_type |
Denotes an ephemeral vs persistent IP address |
IP Address Operations (Elastic/Floating/Public IPs)
allocation_id
delete(user_resource_id=None)
get_attached_instance()
get_attached_network_interface()
static get_db_class()
get_domain()
static get_provider_id_field()
get_resource_name()
static get_resource_name_field()
static get_resource_type()
get_supported_actions()
handle_resource_created(user_resource_id=None, project_resource_id=None)
handle_resource_destroyed(user_resource_id=None)
handle_resource_modified(resource, *args, **kwargs)
ip_address
is_ephemeral
public_ip
top_level_resource = True