Skip to content

Commit

Permalink
Add parameters of SCS instance detail
Browse files Browse the repository at this point in the history
  • Loading branch information
DDC-Console committed May 24, 2022
1 parent e66dd9f commit dad5a47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bce/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

// Constants and default values for the package bce
const (
SDK_VERSION = "0.9.118"
SDK_VERSION = "0.9.119"
URI_PREFIX = "/" // now support uri without prefix "v1" so just set root path
DEFAULT_DOMAIN = "baidubce.com"
DEFAULT_PROTOCOL = "http"
Expand Down
9 changes: 9 additions & 0 deletions services/scs/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ type GetInstanceDetailResult struct {
AutoRenew string `json:"autoRenew"`
Tags []model.TagModel `json:"tags"`
ShardNum int `json:"shardNum"`
ReplicationNum int `json:"replicationNum"`
NodeType string `json:"nodeType"`
DiskFlavor int `json:"diskFlavor"`
DiskType string `json:"diskType"`
StoreType int `json:"storeType"`
Eip string `json:"eip"`
PublicDomain string `json:"publicDomain"`
EnableReadOnly int `json:"enableReadOnly"`
ReplicationInfo []Replication `json:"replicationInfo"`
}

type UpdateInstanceNameArgs struct {
Expand Down

0 comments on commit dad5a47

Please sign in to comment.