def create_host_template(resource_root, name, cluster_name):
    '\n  Create a host template.\n  @param resource_root: The root Resource object.\n  @param name: Host template name\n  @param cluster_name: Cluster name\n  @return: An ApiHostTemplate object for the created host template.\n  @since: API v3\n  '
    apitemplate = ApiHostTemplate(resource_root, name, [])
    return call(resource_root.post, (HOST_TEMPLATES_PATH % (cluster_name,)), ApiHostTemplate, True, data=[apitemplate], api_version=3)[0]
Create a host template.
@param resource_root: The root Resource object.
@param name: Host template name
@param cluster_name: Cluster name
@return: An ApiHostTemplate object for the created host template.
@since: API v3
def create_host_template(resource_root, name, cluster_name):
    '\n  Create a host template.\n  @param resource_root: The root Resource object.\n  @param name: Host template name\n  @param cluster_name: Cluster name\n  @return: An ApiHostTemplate object for the created host template.\n  @since: API v3\n  '
    apitemplate = ApiHostTemplate(resource_root, name, [])
    return call(resource_root.post, (HOST_TEMPLATES_PATH % (cluster_name,)), ApiHostTemplate, True, data=[apitemplate], api_version=3)[0]