code: def share_extension(self, publisher_name, extension_name, account_name):
          
          route_values = {}
          if publisher_name is not None:
              route_values['publisherName'] = self._serialize.url('publisher_name', publisher_name, 'str')
          if extension_name is not None:
              route_values['extensionName'] = self._serialize.url('extension_name', extension_name, 'str')
          if account_name is not None:
              route_values['accountName'] = self._serialize.url('account_name', account_name, 'str')
          self._send(http_method='POST',
                     location_id='a1e66d8f-f5de-4d16-8309-91a4e015ee46',
                     version='5.1-preview.1',
                     route_values=route_values)
docs: ShareExtension.
          [Preview API]
          :param str publisher_name:
          :param str extension_name:
          :param str account_name: