Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update generated apis #383

Merged
merged 1 commit into from
Apr 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions api/instance/v1/instance_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1847,12 +1847,18 @@ func (s *API) ListServerActions(req *ListServerActionsRequest, opts ...scw.Reque

type ServerActionRequest struct {
Zone scw.Zone `json:"-"`

// ServerID: UUID of the server
ServerID string `json:"-"`
// Action:
// Action: the action to perform on the server
//
// Default value: poweron
Action ServerAction `json:"action"`
// Name: the name of the backup you want to create
//
// The name of the backup you want to create.
// This field should only be specified when performing a backup action.
//
Name *string `json:"name,omitempty"`
}

// ServerAction: perform action
Expand Down