I'm trying to access RoleInstance endpoint information of the Azure RoleInstance using Azure Python SDK. However RoleInstance does not have any attributes to find endpoint info. 

Attributes for RoleInstance are as follows:

```
['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'fqdn', 'instance_error_code', 'instance_fault_domain', 'instance_name', 'instance_size', 'instance_state_details', 'instance_status', 'instance_upgrade_domain', 'ip_address', 'power_state', 'role_name']

```

I have a sample code that looks like following:

```
deployment = self.sms.get_deployment_by_slot(hosted_service.service_name, 'production')

for instance in deployment.role_instance_list:
    print('Instance name: ' + instance.instance_name)
    print('Instance status: ' + instance.instance_status)
    print('Instance size: ' + instance.instance_size)
    print('Instance role name: ' + instance.role_name)
    print('Instance ip address: ' + instance.ip_address)
    print('')

```

How can I extract endpoint information from 'instance'?