def generate_table_shared_access_signature(self, table_name, permission=None,<EOL>expiry=None, start=None, id=None,<EOL>ip=None, protocol=None,<EOL>start_pk=None, start_rk=None,<EOL>end_pk=None, end_rk=None):
_validate_not_none('<STR_LIT>', table_name)<EOL>_validate_not_none('<STR_LIT>', self.account_name)<EOL>_validate_not_none('<STR_LIT>', self.account_key)<EOL>sas = TableSharedAccessSignature(self.account_name, self.account_key)<EOL>return sas.generate_table(<EOL>table_name,<EOL>permission=permission,<EOL>expiry=expiry,<EOL>start=start,<EOL>id=id,<EOL>ip=ip,<EOL>protocol=protocol,<EOL>start_pk=start_pk,<EOL>start_rk=start_rk,<EOL>end_pk=end_pk,<EOL>end_rk=end_rk,<EOL>)<EOL>
Generates a shared access signature for the table.
Use the returned signature with the sas_token parameter of TableService.

:param str table_name:
    The name of the table to create a SAS token for.
:param TablePermissions permission:
    The permissions associated with the shared access signature. The 
    user is restricted to operations allowed by the permissions. 
    Required unless an id is given referencing a stored access policy 
    which contains this field. This field must be omitted if it has been 
    specified in an associated stored access policy.
:param expiry:
    The time at which the shared access signature becomes invalid. 
    Required unless an id is given referencing a stored access policy 
    which contains this field. This field must be omitted if it has 
    been specified in an associated stored access policy. Azure will always 
    convert values to UTC. If a date is passed in without timezone info, it 
    is assumed to be UTC.
:type expiry: datetime or str
:param start:
    The time at which the shared access signature becomes valid. If 
    omitted, start time for this call is assumed to be the time when the 
    storage service receives the request. Azure will always convert values 
    to UTC. If a date is passed in without timezone info, it is assumed to 
    be UTC.
:type start: datetime or str
:param str id:
    A unique value up to 64 characters in length that correlates to a 
    stored access policy. To create a stored access policy, use :func:`~set_table_acl`.
:param str ip:
    Specifies an IP address or a range of IP addresses from which to accept requests.
    If the IP address from which the request originates does not match the IP address
    or address range specified on the SAS token, the request is not authenticated.
    For example, specifying sip='168.1.5.65' or sip='168.1.5.60-168.1.5.70' on the SAS
    restricts the request to those IP addresses.
:param str protocol:
    Specifies the protocol permitted for a request made. The default value
    is https,http. See :class:`~azure.storage.common.models.Protocol` for possible values.
:param str start_pk:
    The minimum partition key accessible with this shared access 
    signature. startpk must accompany startrk. Key values are inclusive. 
    If omitted, there is no lower bound on the table entities that can 
    be accessed.
:param str start_rk:
    The minimum row key accessible with this shared access signature. 
    startpk must accompany startrk. Key values are inclusive. If 
    omitted, there is no lower bound on the table entities that can be 
    accessed.
:param str end_pk:
    The maximum partition key accessible with this shared access 
    signature. endpk must accompany endrk. Key values are inclusive. If 
    omitted, there is no upper bound on the table entities that can be 
    accessed.
:param str end_rk:
    The maximum row key accessible with this shared access signature. 
    endpk must accompany endrk. Key values are inclusive. If omitted, 
    there is no upper bound on the table entities that can be accessed.
:return: A Shared Access Signature (sas) token.
:rtype: str