pub struct QuotaLimit {
pub region: String,
pub region_limit: Option<QuotaResources>,
pub variables_limit: Option<i64>,
pub hash: Vec<u8>,
}
Expand description
QuotaLimit describes the resource limit in a particular region.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§region: String
Region is the region in which this limit has affect
region_limit: Option<QuotaResources>
RegionLimit is the quota limit that applies to any allocation within a referencing namespace in the region. A value of zero is treated as unlimited and a negative value is treated as fully disallowed. This is useful for once we support GPUs
variables_limit: Option<i64>
VariablesLimit is the maximum total size of all variables Variable.EncryptedData. A value of zero is treated as unlimited and a negative value is treated as fully disallowed.
DEPRECATED: use RegionLimit.Storage.VariablesMB instead. This field will be removed in Nomad 1.12.0.
hash: Vec<u8>
Hash is the hash of the object and is used to make replication efficient.
Implementations§
Source§impl QuotaLimit
impl QuotaLimit
pub fn builder() -> QuotaLimitBuilder
Trait Implementations§
Source§impl Clone for QuotaLimit
impl Clone for QuotaLimit
Source§fn clone(&self) -> QuotaLimit
fn clone(&self) -> QuotaLimit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more