'Fetches the details for a data center.
:param  ex_href: The href for the data center
you are describing.
:type   ex_href: ``str``
:param  ex_datacenter_id: The ID for the data cente
you are describing.
:type   ex_datacenter_id: ``str``
:return:    Instance of class ``Datacenter``
:rtype:     :class:`Datacenter`'

def ex_describe_datacenter(self, ex_href=None, ex_datacenter_id=None):

    use_full_url = True
    if (ex_href is None):
        if (ex_datacenter_id is None):
            raise ValueError('The    data    center    ID    is    required.')
        else:
            use_full_url = False
            ex_href = 'datacenters/{datacenter_id}'.format(datacenter_id=ex_datacenter_id)
    response = self.connection.request(action=ex_href, method='GET', params={'depth': 3}, with_full_url=use_full_url)
    return self._to_datacenter(response.object)
