pyzkiln_core/zutils/fsutils.py
def delete_zfs(fs_name: str):
    """
    Delete a ZFS via ZOAU.

        Parameters:
            zfs_name (str): ZFS to be deleted
        Returns:
            Result of ZOAU datasets.delete() command
            1 = delete failed
            0 = delete successful
        Note:
            This function relies on Z Open Automation Utilities (ZOAU)
        Doc:
            https://www.ibm.com/docs/en/zoau/1.1.1?topic=apis-delete-data-sets
    """
    if dry_run_flag:
        logging.info(f"DRY RUN COMMAND: deleteing {fs_name} via ZOAU")
        return 0
    else:
        return datasets.delete(fs_name)

    Delete a ZFS via ZOAU.

        Parameters:
            zfs_name (str): ZFS to be deleted
        Returns:
            Result of ZOAU datasets.delete() command
            1 = delete failed
            0 = delete successful
        Note:
            This function relies on Z Open Automation Utilities (ZOAU)
        Doc:
            https://www.ibm.com/docs/en/zoau/1.1.1?topic=apis-delete-data-sets
    
Delete a ZFS via ZOAU.
Delete a ZFS via ZOAU .
def delete_zfs(fs_name: str):
    if dry_run_flag:
        logging.info(f"DRY RUN COMMAND: deleteing {fs_name} via ZOAU")
        return 0
    else:
        return datasets.delete(fs_name)
def delete_zfs ( fs_name : str ) : if dry_run_flag : logging . info ( f"DRY RUN COMMAND: deleteing {fs_name} via ZOAU" ) return 0 else : return datasets . delete ( fs_name )
Delete a ZFS via ZOAU.
Delete a ZFS via ZOAU .
"""
    Delete a ZFS via ZOAU.

        Parameters:
            zfs_name (str): ZFS to be deleted
        Returns:
            Result of ZOAU datasets.delete() command
            1 = delete failed
            0 = delete successful
        Note:
            This function relies on Z Open Automation Utilities (ZOAU)
        Doc:
            https://www.ibm.com/docs/en/zoau/1.1.1?topic=apis-delete-data-sets
    """
fs_name
str