pub struct AlterResourceGroupRequest
pub name: String,
pub tier_attributes: HashMap<String, HashMap<String, String>>,
pub ranking: String,
pub adjoining_resource_group: String,
pub options: HashMap<String, String>,
The request payload for the /alter/resourcegroup endpoint.
Alter an existing resource group
Fields
name: StringName of the group to be altered. Must be an existing resource group name or an empty string when used in conjunction with is_default_group.
tier_attributes: HashMap<String, HashMap<String, String>>Optional map containing tier names and their respective attribute group limits. The only valid attribute limit that can be set is max_memory (in bytes) for the VRAM and RAM tiers.
For instance, to set max VRAM capacity to 1GB per rank per GPU and max RAM capacity to 10GB per rank, use: ‘VRAM’:‘max_memory’:‘1000000000’, ‘RAM’:‘max_memory’:‘10000000000’
ranking: StringIf the resource group ranking is to be updated, this indicates the relative ranking among existing resource groups where this resource group will be placed.
adjoining_resource_group: StringIf ranking is before or after, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank.
options: HashMap<String, String>Optional parameters.
Trait Implementations
impl Clone for AlterResourceGroupRequest
fn clone(&self) -> AlterResourceGroupRequest
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Debug for AlterResourceGroupRequest
impl Default for AlterResourceGroupRequest
impl<‘de> Deserialize<‘de> for AlterResourceGroupRequest
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
fn avro_schema(&self) -> &‘static str
fn use_compression() -> bool
KineticaOptions::use_snappy enabled. Read more