code: def get_extension_license_data(self, extension_id):
          
          route_values = {}
          if extension_id is not None:
              route_values['extensionId'] = self._serialize.url('extension_id', extension_id, 'str')
          response = self._send(http_method='GET',
                                location_id='004a420a-7bef-4b7f-8a50-22975d2067cc',
                                version='5.0-preview.1',
                                route_values=route_values)
          return self._deserialize('ExtensionLicenseData', response)
docs: GetExtensionLicenseData.
          [Preview API]
          :param str extension_id:
          :rtype: :class:`<ExtensionLicenseData> <azure.devops.v5_0.licensing.models.ExtensionLicenseData>`