code: def associate_azure_publisher(self, publisher_name, azure_publisher_id):
          
          route_values = {}
          if publisher_name is not None:
              route_values['publisherName'] = self._serialize.url('publisher_name', publisher_name, 'str')
          query_parameters = {}
          if azure_publisher_id is not None:
              query_parameters['azurePublisherId'] = self._serialize.query('azure_publisher_id', azure_publisher_id, 'str')
          response = self._send(http_method='PUT',
                                location_id='efd202a6-9d87-4ebc-9229-d2b8ae2fdb6d',
                                version='5.0-preview.1',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('AzurePublisher', response)
docs: AssociateAzurePublisher.
          [Preview API]
          :param str publisher_name:
          :param str azure_publisher_id:
          :rtype: :class:`<AzurePublisher> <azure.devops.v5_0.gallery.models.AzurePublisher>`