def METHOD_NAME(account_name: Optional[str] = None,
              resource_group_name: Optional[str] = None,
              share_name: Optional[str] = None,
              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetShareResult:
    """
    Get a share
    Azure REST API version: 2021-08-01.
    :param str account_name: The name of the share account.
    :param str resource_group_name: The resource group name.
    :param str share_name: The name of the share to retrieve.
    """
    __args__ = dict()
    __args__['accountName'] = account_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['shareName'] = share_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:datashare:getShare', __args__, opts=opts, typ=GetShareResult).value
    return AwaitableGetShareResult(
        created_at=pulumi.get(__ret__, 'created_at'),
        description=pulumi.get(__ret__, 'description'),
        id=pulumi.get(__ret__, 'id'),
        name=pulumi.get(__ret__, 'name'),
        provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
        share_kind=pulumi.get(__ret__, 'share_kind'),
        system_data=pulumi.get(__ret__, 'system_data'),
        terms=pulumi.get(__ret__, 'terms'),
        type=pulumi.get(__ret__, 'type'),
        user_email=pulumi.get(__ret__, 'user_email'),
        user_name=pulumi.get(__ret__, 'user_name'))