Skip to content

Commit

Permalink
Merge pull request #54 from YINChengfeng/master
Browse files Browse the repository at this point in the history
cce and bcc add keypairId parameter
  • Loading branch information
gola authored Jul 10, 2020
2 parents e868ddc + 731aab7 commit b1ea6df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/bcc/api/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ type CreateInstanceArgs struct {
CdsAutoRenew bool `json:"cdsAutoRenew"`
RelationTag bool `json:"relationTag,omitempty"`
Tags []model.TagModel `json:"tags,omitempty"`
KeypairId string `json:"keypairId,omitempty"`
DeployId string `json:"deployId,omitempty"`
ClientToken string `json:"-"`
}
Expand Down
1 change: 1 addition & 0 deletions services/cce/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const (

type BccConfig struct {
Name string `json:"name,omitempty"`
KeypairId string `json:"keypairId,omitempty"`
ProductType ProductType `json:"productType"`
LogicalZone string `json:"logicalZone,omitempty"`
InstanceType InstanceType `json:"instanceType"`
Expand Down

0 comments on commit b1ea6df

Please sign in to comment.