com.huawei.openstack4j.openstack.storage.block.domain.VolumeBackendPool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openstack4j Show documentation
Show all versions of openstack4j Show documentation
Huawei Cloud Open API SDK for Java
/*******************************************************************************
* Copyright 2016 ContainX and OpenStack4j
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*******************************************************************************/
package com.huawei.openstack4j.openstack.storage.block.domain;
import com.huawei.openstack4j.model.ModelEntity;
/**
* Represents a back-end storage pool of Cinder Volume.
*
* @author chenguofeng
*/
public interface VolumeBackendPool extends ModelEntity {
/**
* @return the name of the back end in this format: host@backend#POOL
*/
String getName();
/**
* @return the capabilities for the storage back end
*/
Capabilities getCapabilities();
interface Capabilities {
/**
* @return the pool name
*/
String getPoolname();
/**
* @return the goodness function
*/
String getGoodnessfunction();
/**
* @return the total number of volumes
*/
Integer getTotalvolumes();
/**
* @return the multi attach info
*/
Boolean getMultiattach();
/**
* @return the provisioned capacity in GB
*/
Long getProvisionedcapacitygb();
/**
* @return the timestamp of creation
*/
String getTimestamp();
/**
* @return the allocated capacity in GB
*/
Integer getAllocatedcapacitygb();
/**
* @return the support of thin provisioning
*/
Boolean getThinprovisioningsupport();
/**
* @return the location info
*/
String getLocationinfo();
/**
* @return the support of thick provisioning
*/
Boolean getThickprovisioningsupport();
/**
* @return the ratio of Max over subscription
*/
Long getMaxoversubscription_ratio();
/**
* @return the vendor name
*/
String getvendorname();
/**
* @return the filter function
*/
String getFilterfunction();
/**
* @return the quality of service (QoS) support
*/
Boolean getQosSupport();
/**
* @return the name of the share back end
*/
String getVolumeBackendName();
/**
* @return the driver version
*/
String getDriverVersion();
/**
* @return the total capacity for the back end, in GBs, or 'unkown'
*/
Long getTotalCapacityGb();
/**
* @return the amount of free capacity for the back end, in GBs, or 'unknown'
*/
Long getFreeCapacityGb();
/**
* @return the percentage of the total capacity that is reserved for the internal use by the back end
*/
Integer getReservedPercentage();
/**
* @return the storage protocol for the back end
*/
String getStorageProtocol();
}
}