'Fetch information about a public IP resource.
:param id: The complete resource path to the public IP resource.
:type id: ``str`
:return: The public ip object
:rtype: :class:`.AzureIPAddress`'

def ex_get_public_ip(self, id):

    r = self.connection.request(id, params={'api-version': '2015-06-15'})
    return self._to_ip_address(r.object)
