Skip to content

Commit

Permalink
Merge pull request #92 from ukfast/multi-az
Browse files Browse the repository at this point in the history
add availability zone to CreateVolumeRequest
  • Loading branch information
Overglazed authored Jul 30, 2021
2 parents 14a9a1a + 1501a65 commit ed7de41
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/service/ecloud/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,11 @@ type PatchFirewallPolicyRequest struct {

// CreateVolumeRequest represents a request to create a volume
type CreateVolumeRequest struct {
Name string `json:"name,omitempty"`
VPCID string `json:"vpc_id"`
Capacity int `json:"capacity"`
IOPS int `json:"iops,omitempty"`
Name string `json:"name,omitempty"`
VPCID string `json:"vpc_id"`
Capacity int `json:"capacity"`
IOPS int `json:"iops,omitempty"`
AvailabilityZoneID string `json:"availability_zone_id"`
}

// PatchVolumeRequest represents a request to patch a volume
Expand Down

0 comments on commit ed7de41

Please sign in to comment.