Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 Changes in this version + type CreateCloudServerResponse struct + Job Job + Order Order + Server Server + func CreateServer(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (createResult CreateCloudServerResponse, err error) type CreateResult + func (r CreateResult) ExtractServer() (Server, error) type JobExecResult + func (r JobExecResult) ExtractServer() (Server, error) + type Server struct + IDs []string type ServerExtendParam + EnterpriseProjectID string v1.0.12 Apr 7, 2019 Changes in this version + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (jobId, orderId string, err error) + type BandWidth struct + ChargeMode string + Id string + ShareType string + Size int + type CreateOpts struct + AdminPass string + AvailabilityZone string + Count int + DataVolumes []DataVolume + ExtendParam *ServerExtendParam + FlavorRef string + ImageRef string + IsAutoRename *bool + KeyName string + MetaData *MetaData + Name string + Nics []Nic + PublicIp *PublicIp + RootVolume RootVolume + SchedulerHints *SchedulerHints + SecurityGroups []SecurityGroup + ServerTags []ServerTags + Tags []string + UserData []byte + VpcId string + func (opts CreateOpts) ToServerCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToServerCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func (r CreateResult) ExtractJob() (Job, error) + func (r CreateResult) ExtractJobResult() (JobResult, error) + func (r CreateResult) ExtractOrder() (Order, error) + type DataVolume struct + Extendparam *VolumeExtendParam + MultiAttach *bool + PassThrough *bool + Size int + VolumeType string + type Eip struct + BandWidth *BandWidth + ExtendParam *EipExtendParam + IpType string + type EipExtendParam struct + ChargingMode string + type Job struct + Id string + type JobEntity struct + SubJobs []SubJob + SubJobsTotal int + type JobExecResult struct + func (r JobExecResult) ExtractJob() (Job, error) + func (r JobExecResult) ExtractJobResult() (JobResult, error) + func (r JobExecResult) ExtractOrder() (Order, error) + type JobResult struct + BeginTime string + EndTime string + Entities JobEntity + ErrorCode string + FailReason string + Id string + Status string + Type string + func GetJobResult(client *gophercloud.ServiceClient, id string) (JobResult, error) + type MetaData struct + OpSvcUserId string + type Nic struct + IpAddress string + SubnetId string + type Order struct + Id string + type PublicIp struct + Eip *Eip + Id string + type RootVolume struct + ExtendParam *VolumeExtendParam + Size int + VolumeType string + type SchedulerHints struct + Group string + type SecurityGroup struct + ID string + type ServerExtendParam struct + ChargingMode string + IsAutoPay string + IsAutoRenew string + PeriodNum int + PeriodType string + RegionID string + SupportAutoRecovery string + type ServerTags struct + Key string + Value string + type SubJob struct + BeginTime string + EndTime string + Entities *SubJobEntity + ErrorCode string + FailReason string + Id string + Status string + Type string + type SubJobEntity struct + NicId string + ServerId string + type VolumeExtendParam struct + SnapshotId string