pub struct InstancePoolCreateRequestInput {
pub subnets: Vec<String>,
pub autoscaling: Option<AutoscalingPolicyInput>,
pub name: String,
pub description: Option<String>,
pub tags: Option<TagsInput>,
pub template: InstancePoolTemplateRequestInput,
pub desired_count: Option<i64>,
pub min_count: Option<i64>,
pub max_count: Option<i64>,
}Fields§
§subnets: Vec<String>Subnet UUIDs or CRNs in the same VPC.
autoscaling: Option<AutoscalingPolicyInput>§name: StringResource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).
description: Option<String>Labels on the pool resource, for IAM conditions (basalt:RequestTag/<key> here, basalt:ResourceTag/<key> on later operations) and cost attribution. They are not propagated to the instances the pool launches; template.tags is that set. A pool field, sent beside template. Replica tags are only reachable through template.tags.
template: InstancePoolTemplateRequestInput§desired_count: Option<i64>§min_count: Option<i64>§max_count: Option<i64>A value of 0 means the pool holds no members until max_count is raised.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for InstancePoolCreateRequestInput
impl<'de> Deserialize<'de> for InstancePoolCreateRequestInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InstancePoolCreateRequestInput
impl RefUnwindSafe for InstancePoolCreateRequestInput
impl Send for InstancePoolCreateRequestInput
impl Sync for InstancePoolCreateRequestInput
impl Unpin for InstancePoolCreateRequestInput
impl UnsafeUnpin for InstancePoolCreateRequestInput
impl UnwindSafe for InstancePoolCreateRequestInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more