def METHOD_NAME():
    module_args = proxmox_auth_argument_spec()
    pools_args = dict(
        poolid=dict(type="str", aliases=["name"], required=True),
        comment=dict(type="str"),
        state=dict(default="present", choices=["present", "absent"]),
    )
    module_args.update(pools_args)
    module = AnsibleModule(
        argument_spec=module_args,
        required_together=[("api_token_id", "api_token_secret")],
        required_one_of=[("api_password", "api_token_id")],
        supports_check_mode=True
    )
    poolid = module.params["poolid"]
    comment = module.params["comment"]
    state = module.params["state"]
    proxmox = ProxmoxPoolAnsible(module)
    if state == "present":
        proxmox.create_pool(poolid, comment)
        module.exit_json(changed=True, poolid=poolid, msg="Pool {0} successfully created".format(poolid))
    else:
        proxmox.delete_pool(poolid)
        module.exit_json(changed=True, poolid=poolid, msg="Pool {0} successfully deleted".format(poolid))