Skip to main content

CreateInstancePoolBody

Type Alias CreateInstancePoolBody 

Source
pub type CreateInstancePoolBody = InstancePoolCreateRequestInput;

Aliased Type§

pub struct CreateInstancePoolBody {
    pub subnets: Vec<String>,
    pub autoscaling: Option<AutoscalingPolicyInput>,
    pub name: String,
    pub description: Option<String>,
    pub tags: Option<BTreeMap<String, String>>,
    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: String

Resource 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>§tags: Option<BTreeMap<String, 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.