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
55
56
57
58
59
60
61
62
63
#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct CloudAccountExtended {
/// (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: Option<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: Option<String>,
/// A unique name for this account
#[serde(rename = "name")]
pub name: Option<String>,
/// The id or name of a proxy to be used by this account
#[serde(rename = "proxy")]
pub proxy: Option<String>,
/// (Not recommended) Indicates whether to skip validation that the cloud account is still accessible
#[serde(rename = "skip_account_check")]
pub skip_account_check: Option<bool>,
/// 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>,
/// A valid URI pointing to the location of the cloud storage
#[serde(rename = "uri")]
pub uri: Option<String>,
/// The machine generated name of the account bucket to store data
#[serde(rename = "bucket")]
pub bucket: Option<String>,
/// A globally unique name for this account
#[serde(rename = "id")]
pub id: Option<String>,
/// The machine generated name of the account bucket to store metadata
#[serde(rename = "metadata_bucket")]
pub metadata_bucket: Option<String>,
/// Name of the pool referencing this account. Empty if none.
#[serde(rename = "pool")]
pub pool: Option<String>,
/// Indicates whether this account is in a good state (\"OK\"), disabled (\"disabled\") or inaccessible via the network (\"unreachable\")
#[serde(rename = "state")]
pub state: Option<String>,
/// Gives further information to describe the state of this account
#[serde(rename = "state_details")]
pub state_details: 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: Option<String>,
}