All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openstack4j.model.network.ext.Vip Maven / Gradle / Ivy

package org.openstack4j.model.network.ext;

import org.openstack4j.common.Buildable;
import org.openstack4j.model.ModelEntity;
import org.openstack4j.model.network.ext.builder.VipBuilder;

/**
 * a vip of a pool
 * 
 * @author liujunpeng
 */
public interface Vip extends ModelEntity, Buildable {
	/**
	 * 
	 * @return The IP address of the VIP.
	 */
	public String getAddress();

	/**
	 * @return The administrative state of the VIP. A valid value is true (UP)
	 *         or false (DOWN).
	 */
	public boolean isAdminStateUp();

	/**
	 * 
	 * @return connectionLimit.The maximum number of connections allowed for the
	 *         VIP. Default is -1, meaning no limit.
	 */
	public Integer getConnectionLimit();

	/**
	 * @return Human-readable description for the VIP
	 */
	public String getDescription();

	/**
	 * 
	 * 
	 * @return The unique ID for the VIP.
	 */
	public String getId();

	/**
	 *
	 * 
	 * @return Human-readable name for the VIP. Does not have to be unique.
	 */
	public String getName();

	/**
	 * 
	 * @return The ID of the pool with which the VIP is associated.
	 */
	public String getPoolId();

	/**
	 * 
	 * @return The protocol of the VIP address. A valid value is TCP, HTTP, or
	 *         HTTPS.
	 */
	public Protocol getProtocol();

	/**
	 * 
	 * @return The port on which to listen to client traffic that is associated
	 *         with the VIP address. A valid value is from 1 to 65535.
	 */
	public Integer getProtocolPort();

	/**
	 * 
	 * @return SessionPersistence.Session persistence parameters for the VIP.
	 *         Omit the session_persistence parameter to prevent session
	 *         persistence. When no session persistence is used, the
	 *         session_persistence parameter does not appear in the API
	 *         response. To clear session persistence for the VIP, set the
	 *         session_persistence parameter to null in a VIP update request.
	 */
	public SessionPersistence getSessionPersistence();

	/**
	 * 
	 * @return status.The status of the VIP. Indicates whether the VIP is
	 *         operational.
	 */
	public String getStatus();

	/**
	 * 
	 * @return The ID of the subnet on which to allocate the VIP address.
	 */
	public String getSubnetId();

	/**
	 * 
	 * @return The Tenant Id.Owner of the VIP.
	 */
	public String getTenantId();
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy