github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/cloudtable/v2/clusters/results.go (about)

     1  package clusters
     2  
     3  type RequestResp struct {
     4  	// Cluster ID.
     5  	ClusterId string `json:"cluster_id"`
     6  }
     7  
     8  type Cluster struct {
     9  	// Cluster datastore.
    10  	Datastore Datastore `json:"datastore"`
    11  	// The current status list of the cluster:
    12  	//   CREATING
    13  	//   GROWING
    14  	Actions []string `json:"actions"`
    15  	// Whether the openTSDB is enabled.
    16  	OpenTSDBEnabled bool `json:"enable_openTSDB"`
    17  	// Whether the Lemon is enabled.
    18  	LemonEnabled bool `json:"enable_lemon"`
    19  	// The name of the CloudTable cluster.
    20  	Name string `json:"cluster_name"`
    21  	// The number of RegionServers.
    22  	CUNum string `json:"cu_num"`
    23  	// The number of TSD nodes.
    24  	TSDNum string `json:"tsd_num"`
    25  	// The number of Lemon nodes.
    26  	LemonNum string `json:"lemon_num"`
    27  	// Cluster bottom storage type:
    28  	//   OBS
    29  	//   HDFS
    30  	StorageType string `json:"storage_type"`
    31  	// Cluster storage quota.
    32  	StorageQuota string `json:"storage_quota"`
    33  	// Storage space currently in use.
    34  	StorageUsed string `json:"used_storage_size"`
    35  	// Whether the IAM auth is enabled.
    36  	IAMAuthEnabled bool `json:"auth_mode"`
    37  	// The time when the disk was updated.
    38  	UpdatedAt string `json:"updated"`
    39  	// The time when the disk was created.
    40  	CreateAt string `json:"created"`
    41  	// Cluster ID.
    42  	ID string `json:"cluster_id"`
    43  	// Cluster status.
    44  	//   100 Creating
    45  	//   200 Running
    46  	//   300 Abnormal
    47  	//   303 Creation failed
    48  	//   400 Deleted
    49  	//   800 Frezon
    50  	Status string `json:"status"`
    51  	// Intranet OpenTSDB connection access address.
    52  	OpenTSDBLink string `json:"openTSDB_link"`
    53  	// OpenTSDB public network endpoint address.
    54  	TSDPublicEndpoint string `json:"tsd_public_endpoint"`
    55  	// Intranet Lemon connection access address.
    56  	LemonLink string `json:"lemon_link"`
    57  	// Intranet ZooKeeper connection access address.
    58  	ZookeeperLink string `json:"zookeeper_link"`
    59  	// HBase connection access address on the public network.
    60  	HbasePublicEndpoint string `json:"hbase_public_endpoint"`
    61  	// Whether the cluster is frozen.
    62  	//   false
    63  	//   true
    64  	IsFrozen string `json:"is_frozen"`
    65  	// The VPC where the cluster is located.
    66  	VpcId string `json:"vpc_id"`
    67  	// The ID of the network where the CloudTable cluster is located.
    68  	SubnetId string `json:"subnet_id"`
    69  	// The ID of the security group to which the CloudTable belongs.
    70  	SecurityGroupId string `json:"security_group_id"`
    71  	// The ID of the availability zone where the cluster is located.
    72  	AvailabilityZone string `json:"availability_zone"`
    73  }