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
/// CloudAccountCreateParams : A cloud account object
#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct CloudAccountCreateParams {
/// (S3 only) The user id of the S3 account
#[serde(rename = "account_id")]
pub account_id: Option<String>,
/// The username required to authenticate against the cloud service
#[serde(rename = "account_username")]
pub account_username: String,
/// The guid of the cluster where this account was created
#[serde(rename = "birth_cluster_id")]
pub birth_cluster_id: Option<String>,
/// Whether this account is explicitly enabled or disabled by a user
#[serde(rename = "enabled")]
pub enabled: Option<bool>,
/// A valid authentication key for connecting to the cloud
#[serde(rename = "key")]
pub key: String,
/// A unique name for this account
#[serde(rename = "name")]
pub name: String,
/// The id or name of a proxy to be used by this account
#[serde(rename = "proxy")]
pub proxy: Option<String>,
/// Indicates whether to skip SSL certificate validation when connecting to the cloud
#[serde(rename = "skip_ssl_validation")]
pub skip_ssl_validation: Option<bool>,
/// (S3 only) An appropriate region for the S3 account. For example, faster access times may be gained by referencing a nearby region
#[serde(rename = "storage_region")]
pub storage_region: Option<String>,
/// (S3 only) The name of the bucket into which generated metrics reports are placed by the cloud service provider
#[serde(rename = "telemetry_bucket")]
pub telemetry_bucket: 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,
/// A valid URI pointing to the location of the cloud storage
#[serde(rename = "uri")]
pub uri: String,
}