/
cloud_account_create_params.go
51 lines (37 loc) · 1.79 KB
/
cloud_account_create_params.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
/*
* 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
// A cloud account object
type CloudAccountCreateParams 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"`
// 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"`
// A unique name for this account
Name string `json:"name"`
// The id or name of a proxy to be used by this account
Proxy string `json:"proxy,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"`
// 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"`
// A valid URI pointing to the location of the cloud storage
Uri string `json:"uri"`
}