1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct SubnetsSubnetPool {
    /// Name of a valid access zone to map IP address pool to the zone.
    #[serde(rename = "access_zone")]
    pub access_zone: Option<String>,
    /// OneFS supports the following NIC aggregation modes.
    #[serde(rename = "aggregation_mode")]
    pub aggregation_mode: Option<String>,
    /// Specifies how IP address allocation is done among pool members.
    #[serde(rename = "alloc_method")]
    pub alloc_method: Option<String>,
    /// A description of the pool.
    #[serde(rename = "description")]
    pub description: Option<String>,
    /// List of interface members in this pool.
    #[serde(rename = "ifaces")]
    pub ifaces: Option<Vec <crate::models::SubnetsSubnetPoolIface>>,
    /// The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
    #[serde(rename = "name")]
    pub name: Option<String>,
    /// List of IP address ranges in this pool.
    #[serde(rename = "ranges")]
    pub ranges: Option<Vec <crate::models::SubnetsSubnetPoolRange>>,
    /// Rebalance policy..
    #[serde(rename = "rebalance_policy")]
    pub rebalance_policy: Option<String>,
    /// Time delay in seconds before a node which has been                 automatically unsuspended becomes usable in SmartConnect                responses for pool zones.
    #[serde(rename = "sc_auto_unsuspend_delay")]
    pub sc_auto_unsuspend_delay: Option<i32>,
    /// SmartConnect client connection balancing policy.
    #[serde(rename = "sc_connect_policy")]
    pub sc_connect_policy: Option<String>,
    /// SmartConnect zone name for the pool.
    #[serde(rename = "sc_dns_zone")]
    pub sc_dns_zone: Option<String>,
    /// List of SmartConnect zone aliases (DNS names) to the pool.
    #[serde(rename = "sc_dns_zone_aliases")]
    pub sc_dns_zone_aliases: Option<Vec<String>>,
    /// SmartConnect IP failover policy.
    #[serde(rename = "sc_failover_policy")]
    pub sc_failover_policy: Option<String>,
    /// Name of SmartConnect service subnet for this pool.
    #[serde(rename = "sc_subnet")]
    pub sc_subnet: Option<String>,
    /// Time to live value for SmartConnect DNS query responses in seconds.
    #[serde(rename = "sc_ttl")]
    pub sc_ttl: Option<i32>,
    /// List of interface members in this pool.
    #[serde(rename = "static_routes")]
    pub static_routes: Option<Vec <crate::models::SubnetsSubnetPoolStaticRoute>>,
}