/
cloud_account_extended.go
71 lines (50 loc) · 2.67 KB
/
cloud_account_extended.go
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
64
65
66
67
68
69
70
71
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type CloudAccountExtended struct {
// (S3 only) The user id of the S3 account
AccountId string `json:"account_id,omitempty"`
// The username required to authenticate against the cloud service
AccountUsername string `json:"account_username,omitempty"`
// The guid of the cluster where this account was created
BirthClusterId string `json:"birth_cluster_id,omitempty"`
// Whether this account is explicitly enabled or disabled by a user
Enabled bool `json:"enabled,omitempty"`
// A valid authentication key for connecting to the cloud
Key string `json:"key,omitempty"`
// A unique name for this account
Name string `json:"name,omitempty"`
// The id or name of a proxy to be used by this account
Proxy string `json:"proxy,omitempty"`
// (Not recommended) Indicates whether to skip validation that the cloud account is still accessible
SkipAccountCheck bool `json:"skip_account_check,omitempty"`
// Indicates whether to skip SSL certificate validation when connecting to the cloud
SkipSslValidation bool `json:"skip_ssl_validation,omitempty"`
// (S3 only) An appropriate region for the S3 account. For example, faster access times may be gained by referencing a nearby region
StorageRegion string `json:"storage_region,omitempty"`
// (S3 only) The name of the bucket into which generated metrics reports are placed by the cloud service provider
TelemetryBucket string `json:"telemetry_bucket,omitempty"`
// A valid URI pointing to the location of the cloud storage
Uri string `json:"uri,omitempty"`
// The machine generated name of the account bucket to store data
Bucket string `json:"bucket,omitempty"`
// A globally unique name for this account
Id string `json:"id,omitempty"`
// The machine generated name of the account bucket to store metadata
MetadataBucket string `json:"metadata_bucket,omitempty"`
// Name of the pool referencing this account. Empty if none.
Pool string `json:"pool,omitempty"`
// Indicates whether this account is in a good state (\"OK\"), disabled (\"disabled\") or inaccessible via the network (\"unreachable\")
State string `json:"state,omitempty"`
// Gives further information to describe the state of this account
StateDetails string `json:"state_details,omitempty"`
// 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
Type_ string `json:"type,omitempty"`
}