'List public IP resources.
:param resource_group: List public IPs in a specific resource group.
:type resource_group: ``str``
:return: List of public ip objects
:rtype: ``list`` of :class:`.AzureIPAddress`'

def ex_list_public_ips(self, resource_group):

    action = ('/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/publicIPAddresses' % (self.subscription_id, resource_group))
    r = self.connection.request(action, params={'api-version': '2015-06-15'})
    return [self._to_ip_address(net) for net in r.object['value']]
