1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct CloudPoolCreateParams {
    /// A list of valid names for the accounts in this pool.  There is currently only one account allowed per pool.
    #[serde(rename = "accounts")]
    pub accounts: Vec<String>,
    /// The guid of the cluster where this pool was created
    #[serde(rename = "birth_cluster_id")]
    pub birth_cluster_id: Option<String>,
    /// A brief description of this pool
    #[serde(rename = "description")]
    pub description: Option<String>,
    /// A unique name for this pool
    #[serde(rename = "name")]
    pub name: String,
    /// A string identifier of the cloud services vendor
    #[serde(rename = "vendor")]
    pub vendor: Option<String>,
    /// The type of cloud protocol required.  E.g., \"isilon\" for EMC Isilon, \"ecs\" for EMC ECS Appliance, \"virtustream\" for Virtustream Storage Cloud, \"azure\" for Microsoft Azure and \"s3\" for Amazon S3
    #[serde(rename = "type")]
    pub _type: String,
}