pub struct CreateInstancePoolRequest {Show 20 fields
pub application_consistent_snapshot_enabled: Option<bool>,
pub anti_affinity_groups: Option<Vec<AntiAffinityGroupRef>>,
pub description: Option<String>,
pub public_ip_assignment: Option<PublicIpAssignment>,
pub labels: Option<HashMap<String, String>>,
pub security_groups: Option<Vec<SecurityGroupRef>>,
pub elastic_ips: Option<Vec<ElasticIpRef>>,
pub name: String,
pub instance_type: Box<InstanceTypeRef>,
pub min_available: Option<u64>,
pub private_networks: Option<Vec<PrivateNetworkRef>>,
pub template: Box<TemplateRef>,
pub size: u64,
pub ssh_key: Option<Box<SshKeyRef>>,
pub instance_prefix: Option<String>,
pub user_data: Option<String>,
pub deploy_target: Option<Box<DeployTargetRef>>,
pub ipv6_enabled: Option<bool>,
pub disk_size: u64,
pub ssh_keys: Option<Vec<SshKeyRef>>,
}Fields§
§application_consistent_snapshot_enabled: Option<bool>Enable application consistent snapshots
anti_affinity_groups: Option<Vec<AntiAffinityGroupRef>>Instance Pool Anti-affinity Groups
description: Option<String>Instance Pool description
public_ip_assignment: Option<PublicIpAssignment>Determines public IP assignment of the Instances. Type none is final and can’t be changed later on.
labels: Option<HashMap<String, String>>§security_groups: Option<Vec<SecurityGroupRef>>Instance Pool Security Groups
elastic_ips: Option<Vec<ElasticIpRef>>Instances Elastic IPs
name: StringInstance Pool name
instance_type: Box<InstanceTypeRef>§min_available: Option<u64>Minimum number of running Instances
private_networks: Option<Vec<PrivateNetworkRef>>Instance Pool Private Networks
template: Box<TemplateRef>§size: u64Number of Instances
ssh_key: Option<Box<SshKeyRef>>§instance_prefix: Option<String>Prefix to apply to Instances names (default: pool)
user_data: Option<String>Instances Cloud-init user-data
deploy_target: Option<Box<DeployTargetRef>>§ipv6_enabled: Option<bool>Enable IPv6. DEPRECATED: use public-ip-assignments.
disk_size: u64Instances disk size in GiB
ssh_keys: Option<Vec<SshKeyRef>>Instances SSH Keys
Implementations§
Source§impl CreateInstancePoolRequest
impl CreateInstancePoolRequest
pub fn new( name: String, instance_type: InstanceTypeRef, template: TemplateRef, size: u64, disk_size: u64, ) -> CreateInstancePoolRequest
Trait Implementations§
Source§impl Clone for CreateInstancePoolRequest
impl Clone for CreateInstancePoolRequest
Source§impl Debug for CreateInstancePoolRequest
impl Debug for CreateInstancePoolRequest
Source§impl Default for CreateInstancePoolRequest
impl Default for CreateInstancePoolRequest
Source§impl<'de> Deserialize<'de> for CreateInstancePoolRequest
impl<'de> Deserialize<'de> for CreateInstancePoolRequest
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
impl StructuralPartialEq for CreateInstancePoolRequest
Auto Trait Implementations§
impl Freeze for CreateInstancePoolRequest
impl RefUnwindSafe for CreateInstancePoolRequest
impl Send for CreateInstancePoolRequest
impl Sync for CreateInstancePoolRequest
impl Unpin for CreateInstancePoolRequest
impl UnsafeUnpin for CreateInstancePoolRequest
impl UnwindSafe for CreateInstancePoolRequest
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