def get_pns_credentials(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil)
      response = get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_pns_credentials(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil)
      response = get_pns_credentials_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Lists the PNS Credentials associated with a notification hub .

 @param resource_group_name [String] The name of the resource group.
 @param namespace_name [String] The namespace name.
 @param notification_hub_name [String] The notification hub name.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [PnsCredentialsResource] operation results.