Documentation ¶
Index ¶
- type AddServerGroupMemberRequest
- type AddServerGroupMemberRequestBody
- type AddServerGroupMemberResponse
- type AssociateServerVirtualIpOption
- type AssociateServerVirtualIpRequest
- type AssociateServerVirtualIpRequestBody
- type AssociateServerVirtualIpResponse
- type AttachServerVolumeOption
- type AttachServerVolumeRequest
- type AttachServerVolumeRequestBody
- type AttachServerVolumeResponse
- type BatchAddServerNicOption
- type BatchAddServerNicsRequest
- type BatchAddServerNicsRequestBody
- type BatchAddServerNicsResponse
- type BatchAttachSharableVolumesOption
- type BatchAttachSharableVolumesRequest
- type BatchAttachSharableVolumesRequestBody
- type BatchAttachSharableVolumesResponse
- type BatchCreateServerTagsRequest
- type BatchCreateServerTagsRequestBody
- type BatchCreateServerTagsRequestBodyAction
- type BatchCreateServerTagsRequestBodyActionEnum
- type BatchCreateServerTagsResponse
- type BatchDeleteServerNicOption
- type BatchDeleteServerNicsRequest
- type BatchDeleteServerNicsRequestBody
- type BatchDeleteServerNicsResponse
- type BatchDeleteServerTagsRequest
- type BatchDeleteServerTagsRequestBody
- type BatchDeleteServerTagsRequestBodyAction
- type BatchDeleteServerTagsRequestBodyActionEnum
- type BatchDeleteServerTagsResponse
- type BatchRebootServersRequest
- type BatchRebootServersRequestBody
- type BatchRebootServersResponse
- type BatchRebootSeversOption
- type BatchRebootSeversOptionType
- type BatchRebootSeversOptionTypeEnum
- type BatchResetServersPasswordRequest
- type BatchResetServersPasswordRequestBody
- type BatchResetServersPasswordResponse
- type BatchStartServersOption
- type BatchStartServersRequest
- type BatchStartServersRequestBody
- type BatchStartServersResponse
- type BatchStopServersOption
- type BatchStopServersOptionType
- type BatchStopServersOptionTypeEnum
- type BatchStopServersRequest
- type BatchStopServersRequestBody
- type BatchStopServersResponse
- type BatchUpdateServersNameRequest
- type BatchUpdateServersNameRequestBody
- type BatchUpdateServersNameResponse
- type BlockDeviceAttachableQuantity
- type ChangeServerOsWithCloudInitOption
- type ChangeServerOsWithCloudInitRequest
- type ChangeServerOsWithCloudInitRequestBody
- type ChangeServerOsWithCloudInitResponse
- type ChangeServerOsWithoutCloudInitOption
- type ChangeServerOsWithoutCloudInitRequest
- type ChangeServerOsWithoutCloudInitRequestBody
- type ChangeServerOsWithoutCloudInitResponse
- type ChangeSeversOsMetadata
- type CpuOptions
- type CreatePostPaidServersRequest
- type CreatePostPaidServersRequestBody
- type CreatePostPaidServersResponse
- type CreateServerGroupOption
- type CreateServerGroupOptionPolicies
- type CreateServerGroupOptionPoliciesEnum
- type CreateServerGroupRequest
- type CreateServerGroupRequestBody
- type CreateServerGroupResponse
- type CreateServerGroupResult
- type CreateServersRequest
- type CreateServersRequestBody
- type CreateServersResponse
- type DeleteServerGroupMemberRequest
- type DeleteServerGroupMemberRequestBody
- type DeleteServerGroupMemberResponse
- type DeleteServerGroupRequest
- type DeleteServerGroupResponse
- type DeleteServerMetadataRequest
- type DeleteServerMetadataResponse
- type DeleteServerPasswordRequest
- type DeleteServerPasswordResponse
- type DeleteServersRequest
- type DeleteServersRequestBody
- type DeleteServersResponse
- type DetachServerVolumeRequest
- type DetachServerVolumeRequestDeleteFlag
- type DetachServerVolumeRequestDeleteFlagEnum
- type DetachServerVolumeResponse
- type DisassociateServerVirtualIpOption
- type DisassociateServerVirtualIpOptionIpAddress
- type DisassociateServerVirtualIpOptionIpAddressEnum
- type DisassociateServerVirtualIpOptionSubnetId
- type DisassociateServerVirtualIpOptionSubnetIdEnum
- type DisassociateServerVirtualIpRequest
- type DisassociateServerVirtualIpRequestBody
- type DisassociateServerVirtualIpResponse
- type Flavor
- type FlavorExtraSpec
- type FlavorLink
- type GetServerRemoteConsoleOption
- type GetServerRemoteConsoleOptionProtocol
- type GetServerRemoteConsoleOptionProtocolEnum
- type GetServerRemoteConsoleOptionType
- type GetServerRemoteConsoleOptionTypeEnum
- type Hypervisor
- type InterfaceAttachableQuantity
- type InterfaceAttachment
- type Ipv6Bandwidth
- type JobEntities
- type Link
- type ListFlavorsRequest
- type ListFlavorsResponse
- type ListResizeFlavorsRequest
- type ListResizeFlavorsRequestSortDir
- type ListResizeFlavorsRequestSortDirEnum
- type ListResizeFlavorsRequestSortKey
- type ListResizeFlavorsRequestSortKeyEnum
- type ListResizeFlavorsResponse
- type ListResizeFlavorsResult
- type ListServerBlockDevicesRequest
- type ListServerBlockDevicesResponse
- type ListServerGroupsPageInfoResult
- type ListServerGroupsRequest
- type ListServerGroupsResponse
- type ListServerGroupsResult
- type ListServerInterfacesRequest
- type ListServerInterfacesResponse
- type ListServerTagsRequest
- type ListServerTagsResponse
- type ListServersDetailsRequest
- type ListServersDetailsResponse
- type MigrateServerOption
- type MigrateServerRequest
- type MigrateServerRequestBody
- type MigrateServerResponse
- type NovaAddSecurityGroupOption
- type NovaAssociateSecurityGroupRequest
- type NovaAssociateSecurityGroupRequestBody
- type NovaAssociateSecurityGroupResponse
- type NovaAvailabilityZone
- type NovaAvailabilityZoneState
- type NovaCreateKeypairOption
- type NovaCreateKeypairOptionType
- type NovaCreateKeypairOptionTypeEnum
- type NovaCreateKeypairRequest
- type NovaCreateKeypairRequestBody
- type NovaCreateKeypairResponse
- type NovaCreateServersOption
- type NovaCreateServersOptionOSDCFdiskConfig
- type NovaCreateServersOptionOSDCFdiskConfigEnum
- type NovaCreateServersRequest
- type NovaCreateServersRequestBody
- type NovaCreateServersResponse
- type NovaCreateServersResult
- type NovaCreateServersResultOSDCFdiskConfig
- type NovaCreateServersResultOSDCFdiskConfigEnum
- type NovaCreateServersSchedulerHint
- type NovaDeleteKeypairRequest
- type NovaDeleteKeypairResponse
- type NovaDeleteServerRequest
- type NovaDeleteServerResponse
- type NovaDisassociateSecurityGroupRequest
- type NovaDisassociateSecurityGroupRequestBody
- type NovaDisassociateSecurityGroupResponse
- type NovaKeypair
- type NovaKeypairDetail
- type NovaLink
- type NovaLinkRel
- type NovaLinkRelEnum
- type NovaListAvailabilityZonesRequest
- type NovaListAvailabilityZonesResponse
- type NovaListKeypairsRequest
- type NovaListKeypairsResponse
- type NovaListKeypairsResult
- type NovaListServerSecurityGroupsRequest
- type NovaListServerSecurityGroupsResponse
- type NovaListServersDetailsRequest
- type NovaListServersDetailsRequestSortKey
- type NovaListServersDetailsRequestSortKeyEnum
- type NovaListServersDetailsRequestStatus
- type NovaListServersDetailsRequestStatusEnum
- type NovaListServersDetailsResponse
- type NovaNetwork
- type NovaRemoveSecurityGroupOption
- type NovaSecurityGroup
- type NovaSecurityGroupCommonGroup
- type NovaSecurityGroupCommonIpRange
- type NovaSecurityGroupCommonRule
- type NovaServer
- type NovaServerBlockDeviceMapping
- type NovaServerBlockDeviceMappingDestinationType
- type NovaServerBlockDeviceMappingDestinationTypeEnum
- type NovaServerBlockDeviceMappingSourceType
- type NovaServerBlockDeviceMappingSourceTypeEnum
- type NovaServerFault
- type NovaServerFlavor
- type NovaServerHostStatus
- type NovaServerHostStatusEnum
- type NovaServerImage
- type NovaServerNetwork
- type NovaServerOSDCFdiskConfig
- type NovaServerOSDCFdiskConfigEnum
- type NovaServerOSEXTSTStaskState
- type NovaServerOSEXTSTStaskStateEnum
- type NovaServerOSEXTSTSvmState
- type NovaServerOSEXTSTSvmStateEnum
- type NovaServerSchedulerHints
- type NovaServerSchedulerHintsTenancy
- type NovaServerSchedulerHintsTenancyEnum
- type NovaServerSecurityGroup
- type NovaServerStatus
- type NovaServerStatusEnum
- type NovaServerVolume
- type NovaShowKeypairRequest
- type NovaShowKeypairResponse
- type NovaShowServerRequest
- type NovaShowServerResponse
- type NovaSimpleKeypair
- type PageLink
- type PostPaidServer
- type PostPaidServerDataVolume
- type PostPaidServerDataVolumeClusterType
- type PostPaidServerDataVolumeClusterTypeEnum
- type PostPaidServerDataVolumeExtendParam
- type PostPaidServerDataVolumeMetadata
- type PostPaidServerDataVolumeVolumetype
- type PostPaidServerDataVolumeVolumetypeEnum
- type PostPaidServerEip
- type PostPaidServerEipBandwidth
- type PostPaidServerEipBandwidthSharetype
- type PostPaidServerEipBandwidthSharetypeEnum
- type PostPaidServerEipExtendParam
- type PostPaidServerEipExtendParamChargingMode
- type PostPaidServerEipExtendParamChargingModeEnum
- type PostPaidServerExtendParam
- type PostPaidServerExtendParamInterruptionPolicy
- type PostPaidServerExtendParamInterruptionPolicyEnum
- type PostPaidServerIpv6Bandwidth
- type PostPaidServerNic
- type PostPaidServerPublicip
- type PostPaidServerRootVolume
- type PostPaidServerRootVolumeClusterType
- type PostPaidServerRootVolumeClusterTypeEnum
- type PostPaidServerRootVolumeExtendParam
- type PostPaidServerRootVolumeVolumetype
- type PostPaidServerRootVolumeVolumetypeEnum
- type PostPaidServerSchedulerHints
- type PostPaidServerSecurityGroup
- type PostPaidServerTag
- type PrePaidServer
- type PrePaidServerDataVolume
- type PrePaidServerDataVolumeClusterType
- type PrePaidServerDataVolumeClusterTypeEnum
- type PrePaidServerDataVolumeExtendParam
- type PrePaidServerDataVolumeMetadata
- type PrePaidServerDataVolumeVolumetype
- type PrePaidServerDataVolumeVolumetypeEnum
- type PrePaidServerEip
- type PrePaidServerEipBandwidth
- type PrePaidServerEipBandwidthSharetype
- type PrePaidServerEipBandwidthSharetypeEnum
- type PrePaidServerEipExtendParam
- type PrePaidServerEipExtendParamChargingMode
- type PrePaidServerEipExtendParamChargingModeEnum
- type PrePaidServerExtendParam
- type PrePaidServerExtendParamChargingMode
- type PrePaidServerExtendParamChargingModeEnum
- type PrePaidServerExtendParamInterruptionPolicy
- type PrePaidServerExtendParamInterruptionPolicyEnum
- type PrePaidServerExtendParamIsAutoPay
- type PrePaidServerExtendParamIsAutoPayEnum
- type PrePaidServerExtendParamIsAutoRenew
- type PrePaidServerExtendParamIsAutoRenewEnum
- type PrePaidServerExtendParamPeriodType
- type PrePaidServerExtendParamPeriodTypeEnum
- type PrePaidServerIpv6Bandwidth
- type PrePaidServerNic
- type PrePaidServerPublicip
- type PrePaidServerRootVolume
- type PrePaidServerRootVolumeClusterType
- type PrePaidServerRootVolumeClusterTypeEnum
- type PrePaidServerRootVolumeExtendParam
- type PrePaidServerRootVolumeVolumetype
- type PrePaidServerRootVolumeVolumetypeEnum
- type PrePaidServerSchedulerHints
- type PrePaidServerSchedulerHintsTenancy
- type PrePaidServerSchedulerHintsTenancyEnum
- type PrePaidServerSecurityGroup
- type PrePaidServerTag
- type ProjectFlavorLimit
- type ProjectTag
- type RegisterServerAutoRecoveryRequest
- type RegisterServerAutoRecoveryRequestBody
- type RegisterServerAutoRecoveryResponse
- type ReinstallServerWithCloudInitOption
- type ReinstallServerWithCloudInitRequest
- type ReinstallServerWithCloudInitRequestBody
- type ReinstallServerWithCloudInitResponse
- type ReinstallServerWithoutCloudInitOption
- type ReinstallServerWithoutCloudInitRequest
- type ReinstallServerWithoutCloudInitRequestBody
- type ReinstallServerWithoutCloudInitResponse
- type ReinstallSeverMetadata
- type ResetServerPasswordOption
- type ResetServerPasswordRequest
- type ResetServerPasswordRequestBody
- type ResetServerPasswordResponse
- type ResizePostPaidServerOption
- type ResizePostPaidServerRequest
- type ResizePostPaidServerRequestBody
- type ResizePostPaidServerResponse
- type ResizePrePaidServerOption
- type ResizeServerExtendParam
- type ResizeServerRequest
- type ResizeServerRequestBody
- type ResizeServerResponse
- type ServerAddress
- type ServerAddressOSEXTIPStype
- type ServerAddressOSEXTIPStypeEnum
- type ServerAttachableQuantity
- type ServerBlockDevice
- type ServerDetail
- type ServerExtendVolumeAttachment
- type ServerFault
- type ServerFlavor
- type ServerGroupMember
- type ServerId
- type ServerImage
- type ServerInterfaceFixedIp
- type ServerLimits
- type ServerNicSecurityGroup
- type ServerRemoteConsole
- type ServerSchedulerHints
- type ServerSecurityGroup
- type ServerSystemTag
- type ServerTag
- type ShowJobRequest
- type ShowJobResponse
- type ShowJobResponseStatus
- type ShowJobResponseStatusEnum
- type ShowResetPasswordFlagRequest
- type ShowResetPasswordFlagResponse
- type ShowServerAutoRecoveryRequest
- type ShowServerAutoRecoveryResponse
- type ShowServerBlockDeviceRequest
- type ShowServerBlockDeviceResponse
- type ShowServerGroupRequest
- type ShowServerGroupResponse
- type ShowServerGroupResult
- type ShowServerLimitsRequest
- type ShowServerLimitsResponse
- type ShowServerPasswordRequest
- type ShowServerPasswordResponse
- type ShowServerRemoteConsoleRequest
- type ShowServerRemoteConsoleRequestBody
- type ShowServerRemoteConsoleResponse
- type ShowServerRequest
- type ShowServerResponse
- type ShowServerTagsRequest
- type ShowServerTagsResponse
- type SimpleFlavor
- type SubJob
- type SubJobEntities
- type SubJobStatus
- type SubJobStatusEnum
- type UpdateServerAddress
- type UpdateServerAutoTerminateTimeRequest
- type UpdateServerAutoTerminateTimeRequestBody
- type UpdateServerAutoTerminateTimeResponse
- type UpdateServerMetadataRequest
- type UpdateServerMetadataRequestBody
- type UpdateServerMetadataResponse
- type UpdateServerOption
- type UpdateServerRequest
- type UpdateServerRequestBody
- type UpdateServerResponse
- type UpdateServerResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddServerGroupMemberRequest ¶
type AddServerGroupMemberRequest struct { ServerGroupId string `json:"server_group_id"` Body *AddServerGroupMemberRequestBody `json:"body,omitempty"` }
Request Object
func (AddServerGroupMemberRequest) String ¶
func (o AddServerGroupMemberRequest) String() string
type AddServerGroupMemberRequestBody ¶
type AddServerGroupMemberRequestBody struct {
AddMember *ServerGroupMember `json:"add_member"`
}
This is a auto create Body Object
func (AddServerGroupMemberRequestBody) String ¶
func (o AddServerGroupMemberRequestBody) String() string
type AddServerGroupMemberResponse ¶
type AddServerGroupMemberResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (AddServerGroupMemberResponse) String ¶
func (o AddServerGroupMemberResponse) String() string
type AssociateServerVirtualIpOption ¶
type AssociateServerVirtualIpOption struct { SubnetId string `json:"subnet_id"` IpAddress string `json:"ip_address"` ReverseBinding *bool `json:"reverse_binding,omitempty"` }
func (AssociateServerVirtualIpOption) String ¶
func (o AssociateServerVirtualIpOption) String() string
type AssociateServerVirtualIpRequest ¶
type AssociateServerVirtualIpRequest struct { NicId string `json:"nic_id"` Body *AssociateServerVirtualIpRequestBody `json:"body,omitempty"` }
Request Object
func (AssociateServerVirtualIpRequest) String ¶
func (o AssociateServerVirtualIpRequest) String() string
type AssociateServerVirtualIpRequestBody ¶
type AssociateServerVirtualIpRequestBody struct {
Nic *AssociateServerVirtualIpOption `json:"nic"`
}
This is a auto create Body Object
func (AssociateServerVirtualIpRequestBody) String ¶
func (o AssociateServerVirtualIpRequestBody) String() string
type AssociateServerVirtualIpResponse ¶
type AssociateServerVirtualIpResponse struct { PortId *string `json:"port_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AssociateServerVirtualIpResponse) String ¶
func (o AssociateServerVirtualIpResponse) String() string
type AttachServerVolumeOption ¶
type AttachServerVolumeOption struct { Device *string `json:"device,omitempty"` VolumeId string `json:"volumeId"` }
func (AttachServerVolumeOption) String ¶
func (o AttachServerVolumeOption) String() string
type AttachServerVolumeRequest ¶
type AttachServerVolumeRequest struct { ServerId string `json:"server_id"` Body *AttachServerVolumeRequestBody `json:"body,omitempty"` }
Request Object
func (AttachServerVolumeRequest) String ¶
func (o AttachServerVolumeRequest) String() string
type AttachServerVolumeRequestBody ¶
type AttachServerVolumeRequestBody struct {
VolumeAttachment *AttachServerVolumeOption `json:"volumeAttachment"`
}
This is a auto create Body Object
func (AttachServerVolumeRequestBody) String ¶
func (o AttachServerVolumeRequestBody) String() string
type AttachServerVolumeResponse ¶
type AttachServerVolumeResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AttachServerVolumeResponse) String ¶
func (o AttachServerVolumeResponse) String() string
type BatchAddServerNicOption ¶
type BatchAddServerNicOption struct { SubnetId string `json:"subnet_id"` SecurityGroups *[]ServerNicSecurityGroup `json:"security_groups,omitempty"` IpAddress *string `json:"ip_address,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` Ipv6Bandwidth *Ipv6Bandwidth `json:"ipv6_bandwidth,omitempty"` }
func (BatchAddServerNicOption) String ¶
func (o BatchAddServerNicOption) String() string
type BatchAddServerNicsRequest ¶
type BatchAddServerNicsRequest struct { ServerId string `json:"server_id"` Body *BatchAddServerNicsRequestBody `json:"body,omitempty"` }
Request Object
func (BatchAddServerNicsRequest) String ¶
func (o BatchAddServerNicsRequest) String() string
type BatchAddServerNicsRequestBody ¶
type BatchAddServerNicsRequestBody struct {
Nics []BatchAddServerNicOption `json:"nics"`
}
This is a auto create Body Object
func (BatchAddServerNicsRequestBody) String ¶
func (o BatchAddServerNicsRequestBody) String() string
type BatchAddServerNicsResponse ¶
type BatchAddServerNicsResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchAddServerNicsResponse) String ¶
func (o BatchAddServerNicsResponse) String() string
type BatchAttachSharableVolumesOption ¶
type BatchAttachSharableVolumesOption struct { ServerId string `json:"server_id"` Device *string `json:"device,omitempty"` }
func (BatchAttachSharableVolumesOption) String ¶
func (o BatchAttachSharableVolumesOption) String() string
type BatchAttachSharableVolumesRequest ¶
type BatchAttachSharableVolumesRequest struct { VolumeId string `json:"volume_id"` Body *BatchAttachSharableVolumesRequestBody `json:"body,omitempty"` }
Request Object
func (BatchAttachSharableVolumesRequest) String ¶
func (o BatchAttachSharableVolumesRequest) String() string
type BatchAttachSharableVolumesRequestBody ¶
type BatchAttachSharableVolumesRequestBody struct {
Serverinfo []BatchAttachSharableVolumesOption `json:"serverinfo"`
}
This is a auto create Body Object
func (BatchAttachSharableVolumesRequestBody) String ¶
func (o BatchAttachSharableVolumesRequestBody) String() string
type BatchAttachSharableVolumesResponse ¶
type BatchAttachSharableVolumesResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchAttachSharableVolumesResponse) String ¶
func (o BatchAttachSharableVolumesResponse) String() string
type BatchCreateServerTagsRequest ¶
type BatchCreateServerTagsRequest struct { ServerId string `json:"server_id"` Body *BatchCreateServerTagsRequestBody `json:"body,omitempty"` }
Request Object
func (BatchCreateServerTagsRequest) String ¶
func (o BatchCreateServerTagsRequest) String() string
type BatchCreateServerTagsRequestBody ¶
type BatchCreateServerTagsRequestBody struct { Action BatchCreateServerTagsRequestBodyAction `json:"action"` Tags []ServerTag `json:"tags"` }
This is a auto create Body Object
func (BatchCreateServerTagsRequestBody) String ¶
func (o BatchCreateServerTagsRequestBody) String() string
type BatchCreateServerTagsRequestBodyAction ¶
type BatchCreateServerTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (BatchCreateServerTagsRequestBodyAction) MarshalJSON ¶
func (c BatchCreateServerTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*BatchCreateServerTagsRequestBodyAction) UnmarshalJSON ¶
func (c *BatchCreateServerTagsRequestBodyAction) UnmarshalJSON(b []byte) error
type BatchCreateServerTagsRequestBodyActionEnum ¶
type BatchCreateServerTagsRequestBodyActionEnum struct {
CREATE BatchCreateServerTagsRequestBodyAction
}
func GetBatchCreateServerTagsRequestBodyActionEnum ¶
func GetBatchCreateServerTagsRequestBodyActionEnum() BatchCreateServerTagsRequestBodyActionEnum
type BatchCreateServerTagsResponse ¶
type BatchCreateServerTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateServerTagsResponse) String ¶
func (o BatchCreateServerTagsResponse) String() string
type BatchDeleteServerNicOption ¶
type BatchDeleteServerNicOption struct {
Id string `json:"id"`
}
func (BatchDeleteServerNicOption) String ¶
func (o BatchDeleteServerNicOption) String() string
type BatchDeleteServerNicsRequest ¶
type BatchDeleteServerNicsRequest struct { ServerId string `json:"server_id"` Body *BatchDeleteServerNicsRequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteServerNicsRequest) String ¶
func (o BatchDeleteServerNicsRequest) String() string
type BatchDeleteServerNicsRequestBody ¶
type BatchDeleteServerNicsRequestBody struct {
Nics []BatchDeleteServerNicOption `json:"nics"`
}
This is a auto create Body Object
func (BatchDeleteServerNicsRequestBody) String ¶
func (o BatchDeleteServerNicsRequestBody) String() string
type BatchDeleteServerNicsResponse ¶
type BatchDeleteServerNicsResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteServerNicsResponse) String ¶
func (o BatchDeleteServerNicsResponse) String() string
type BatchDeleteServerTagsRequest ¶
type BatchDeleteServerTagsRequest struct { ServerId string `json:"server_id"` Body *BatchDeleteServerTagsRequestBody `json:"body,omitempty"` }
Request Object
func (BatchDeleteServerTagsRequest) String ¶
func (o BatchDeleteServerTagsRequest) String() string
type BatchDeleteServerTagsRequestBody ¶
type BatchDeleteServerTagsRequestBody struct { Action BatchDeleteServerTagsRequestBodyAction `json:"action"` Tags []ServerTag `json:"tags"` }
This is a auto create Body Object
func (BatchDeleteServerTagsRequestBody) String ¶
func (o BatchDeleteServerTagsRequestBody) String() string
type BatchDeleteServerTagsRequestBodyAction ¶
type BatchDeleteServerTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (BatchDeleteServerTagsRequestBodyAction) MarshalJSON ¶
func (c BatchDeleteServerTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*BatchDeleteServerTagsRequestBodyAction) UnmarshalJSON ¶
func (c *BatchDeleteServerTagsRequestBodyAction) UnmarshalJSON(b []byte) error
type BatchDeleteServerTagsRequestBodyActionEnum ¶
type BatchDeleteServerTagsRequestBodyActionEnum struct {
DELETE BatchDeleteServerTagsRequestBodyAction
}
func GetBatchDeleteServerTagsRequestBodyActionEnum ¶
func GetBatchDeleteServerTagsRequestBodyActionEnum() BatchDeleteServerTagsRequestBodyActionEnum
type BatchDeleteServerTagsResponse ¶
type BatchDeleteServerTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchDeleteServerTagsResponse) String ¶
func (o BatchDeleteServerTagsResponse) String() string
type BatchRebootServersRequest ¶
type BatchRebootServersRequest struct {
Body *BatchRebootServersRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchRebootServersRequest) String ¶
func (o BatchRebootServersRequest) String() string
type BatchRebootServersRequestBody ¶
type BatchRebootServersRequestBody struct {
Reboot *BatchRebootSeversOption `json:"reboot"`
}
This is a auto create Body Object
func (BatchRebootServersRequestBody) String ¶
func (o BatchRebootServersRequestBody) String() string
type BatchRebootServersResponse ¶
type BatchRebootServersResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchRebootServersResponse) String ¶
func (o BatchRebootServersResponse) String() string
type BatchRebootSeversOption ¶
type BatchRebootSeversOption struct { Servers []ServerId `json:"servers"` Type BatchRebootSeversOptionType `json:"type"` }
func (BatchRebootSeversOption) String ¶
func (o BatchRebootSeversOption) String() string
type BatchRebootSeversOptionType ¶
type BatchRebootSeversOptionType struct {
// contains filtered or unexported fields
}
func (BatchRebootSeversOptionType) MarshalJSON ¶
func (c BatchRebootSeversOptionType) MarshalJSON() ([]byte, error)
func (*BatchRebootSeversOptionType) UnmarshalJSON ¶
func (c *BatchRebootSeversOptionType) UnmarshalJSON(b []byte) error
type BatchRebootSeversOptionTypeEnum ¶
type BatchRebootSeversOptionTypeEnum struct { SOFT BatchRebootSeversOptionType HARD BatchRebootSeversOptionType }
func GetBatchRebootSeversOptionTypeEnum ¶
func GetBatchRebootSeversOptionTypeEnum() BatchRebootSeversOptionTypeEnum
type BatchResetServersPasswordRequest ¶
type BatchResetServersPasswordRequest struct {
Body *BatchResetServersPasswordRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchResetServersPasswordRequest) String ¶
func (o BatchResetServersPasswordRequest) String() string
type BatchResetServersPasswordRequestBody ¶
type BatchResetServersPasswordRequestBody struct { NewPassword string `json:"new_password"` DryRun *bool `json:"dry_run,omitempty"` Servers []ServerId `json:"servers"` }
This is a auto create Body Object
func (BatchResetServersPasswordRequestBody) String ¶
func (o BatchResetServersPasswordRequestBody) String() string
type BatchResetServersPasswordResponse ¶
type BatchResetServersPasswordResponse struct { Response *[]ServerId `json:"response,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchResetServersPasswordResponse) String ¶
func (o BatchResetServersPasswordResponse) String() string
type BatchStartServersOption ¶
type BatchStartServersOption struct {
Servers []ServerId `json:"servers"`
}
func (BatchStartServersOption) String ¶
func (o BatchStartServersOption) String() string
type BatchStartServersRequest ¶
type BatchStartServersRequest struct {
Body *BatchStartServersRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchStartServersRequest) String ¶
func (o BatchStartServersRequest) String() string
type BatchStartServersRequestBody ¶
type BatchStartServersRequestBody struct {
OsStart *BatchStartServersOption `json:"os-start"`
}
This is a auto create Body Object
func (BatchStartServersRequestBody) String ¶
func (o BatchStartServersRequestBody) String() string
type BatchStartServersResponse ¶
type BatchStartServersResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchStartServersResponse) String ¶
func (o BatchStartServersResponse) String() string
type BatchStopServersOption ¶
type BatchStopServersOption struct { Servers []ServerId `json:"servers"` Type *BatchStopServersOptionType `json:"type,omitempty"` }
func (BatchStopServersOption) String ¶
func (o BatchStopServersOption) String() string
type BatchStopServersOptionType ¶
type BatchStopServersOptionType struct {
// contains filtered or unexported fields
}
func (BatchStopServersOptionType) MarshalJSON ¶
func (c BatchStopServersOptionType) MarshalJSON() ([]byte, error)
func (*BatchStopServersOptionType) UnmarshalJSON ¶
func (c *BatchStopServersOptionType) UnmarshalJSON(b []byte) error
type BatchStopServersOptionTypeEnum ¶
type BatchStopServersOptionTypeEnum struct { SOFT BatchStopServersOptionType HARD BatchStopServersOptionType }
func GetBatchStopServersOptionTypeEnum ¶
func GetBatchStopServersOptionTypeEnum() BatchStopServersOptionTypeEnum
type BatchStopServersRequest ¶
type BatchStopServersRequest struct {
Body *BatchStopServersRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchStopServersRequest) String ¶
func (o BatchStopServersRequest) String() string
type BatchStopServersRequestBody ¶
type BatchStopServersRequestBody struct {
OsStop *BatchStopServersOption `json:"os-stop"`
}
This is a auto create Body Object
func (BatchStopServersRequestBody) String ¶
func (o BatchStopServersRequestBody) String() string
type BatchStopServersResponse ¶
type BatchStopServersResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchStopServersResponse) String ¶
func (o BatchStopServersResponse) String() string
type BatchUpdateServersNameRequest ¶
type BatchUpdateServersNameRequest struct {
Body *BatchUpdateServersNameRequestBody `json:"body,omitempty"`
}
Request Object
func (BatchUpdateServersNameRequest) String ¶
func (o BatchUpdateServersNameRequest) String() string
type BatchUpdateServersNameRequestBody ¶
type BatchUpdateServersNameRequestBody struct { Name string `json:"name"` DryRun *bool `json:"dry_run,omitempty"` Servers []ServerId `json:"servers"` }
This is a auto create Body Object
func (BatchUpdateServersNameRequestBody) String ¶
func (o BatchUpdateServersNameRequestBody) String() string
type BatchUpdateServersNameResponse ¶
type BatchUpdateServersNameResponse struct { Response *[]ServerId `json:"response,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchUpdateServersNameResponse) String ¶
func (o BatchUpdateServersNameResponse) String() string
type BlockDeviceAttachableQuantity ¶
type BlockDeviceAttachableQuantity struct { FreeScsi *int32 `json:"free_scsi,omitempty"` FreeBlk *int32 `json:"free_blk,omitempty"` FreeDisk *int32 `json:"free_disk,omitempty"` }
云服务器可挂载磁盘数量。
func (BlockDeviceAttachableQuantity) String ¶
func (o BlockDeviceAttachableQuantity) String() string
type ChangeServerOsWithCloudInitOption ¶
type ChangeServerOsWithCloudInitOption struct { Adminpass *string `json:"adminpass,omitempty"` Keyname *string `json:"keyname,omitempty"` Userid *string `json:"userid,omitempty"` Imageid string `json:"imageid"` Metadata *ChangeSeversOsMetadata `json:"metadata,omitempty"` Mode *string `json:"mode,omitempty"` }
重装操作系统body体。
func (ChangeServerOsWithCloudInitOption) String ¶
func (o ChangeServerOsWithCloudInitOption) String() string
type ChangeServerOsWithCloudInitRequest ¶
type ChangeServerOsWithCloudInitRequest struct { ServerId string `json:"server_id"` Body *ChangeServerOsWithCloudInitRequestBody `json:"body,omitempty"` }
Request Object
func (ChangeServerOsWithCloudInitRequest) String ¶
func (o ChangeServerOsWithCloudInitRequest) String() string
type ChangeServerOsWithCloudInitRequestBody ¶
type ChangeServerOsWithCloudInitRequestBody struct {
OsChange *ChangeServerOsWithCloudInitOption `json:"os-change"`
}
This is a auto create Body Object
func (ChangeServerOsWithCloudInitRequestBody) String ¶
func (o ChangeServerOsWithCloudInitRequestBody) String() string
type ChangeServerOsWithCloudInitResponse ¶
type ChangeServerOsWithCloudInitResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeServerOsWithCloudInitResponse) String ¶
func (o ChangeServerOsWithCloudInitResponse) String() string
type ChangeServerOsWithoutCloudInitOption ¶
type ChangeServerOsWithoutCloudInitOption struct { Adminpass *string `json:"adminpass,omitempty"` Keyname *string `json:"keyname,omitempty"` Userid *string `json:"userid,omitempty"` Imageid string `json:"imageid"` Mode *string `json:"mode,omitempty"` }
重装操作系统body体。
func (ChangeServerOsWithoutCloudInitOption) String ¶
func (o ChangeServerOsWithoutCloudInitOption) String() string
type ChangeServerOsWithoutCloudInitRequest ¶
type ChangeServerOsWithoutCloudInitRequest struct { ServerId string `json:"server_id"` Body *ChangeServerOsWithoutCloudInitRequestBody `json:"body,omitempty"` }
Request Object
func (ChangeServerOsWithoutCloudInitRequest) String ¶
func (o ChangeServerOsWithoutCloudInitRequest) String() string
type ChangeServerOsWithoutCloudInitRequestBody ¶
type ChangeServerOsWithoutCloudInitRequestBody struct {
OsChange *ChangeServerOsWithoutCloudInitOption `json:"os-change"`
}
This is a auto create Body Object
func (ChangeServerOsWithoutCloudInitRequestBody) String ¶
func (o ChangeServerOsWithoutCloudInitRequestBody) String() string
type ChangeServerOsWithoutCloudInitResponse ¶
type ChangeServerOsWithoutCloudInitResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeServerOsWithoutCloudInitResponse) String ¶
func (o ChangeServerOsWithoutCloudInitResponse) String() string
type ChangeSeversOsMetadata ¶
type ChangeSeversOsMetadata struct {
UserData *string `json:"user_data,omitempty"`
}
func (ChangeSeversOsMetadata) String ¶
func (o ChangeSeversOsMetadata) String() string
type CpuOptions ¶
type CpuOptions struct {
HwcpuThreads *int32 `json:"hw:cpu_threads,omitempty"`
}
自定义CPU选项。
func (CpuOptions) String ¶
func (o CpuOptions) String() string
type CreatePostPaidServersRequest ¶
type CreatePostPaidServersRequest struct {
Body *CreatePostPaidServersRequestBody `json:"body,omitempty"`
}
Request Object
func (CreatePostPaidServersRequest) String ¶
func (o CreatePostPaidServersRequest) String() string
type CreatePostPaidServersRequestBody ¶
type CreatePostPaidServersRequestBody struct { DryRun *bool `json:"dry_run,omitempty"` Server *PostPaidServer `json:"server"` }
This is a auto create Body Object
func (CreatePostPaidServersRequestBody) String ¶
func (o CreatePostPaidServersRequestBody) String() string
type CreatePostPaidServersResponse ¶
type CreatePostPaidServersResponse struct { JobId *string `json:"job_id,omitempty"` ServerIds *[]string `json:"serverIds,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePostPaidServersResponse) String ¶
func (o CreatePostPaidServersResponse) String() string
type CreateServerGroupOption ¶
type CreateServerGroupOption struct { Name string `json:"name"` Policies []CreateServerGroupOptionPolicies `json:"policies"` }
func (CreateServerGroupOption) String ¶
func (o CreateServerGroupOption) String() string
type CreateServerGroupOptionPolicies ¶
type CreateServerGroupOptionPolicies struct {
// contains filtered or unexported fields
}
func (CreateServerGroupOptionPolicies) MarshalJSON ¶
func (c CreateServerGroupOptionPolicies) MarshalJSON() ([]byte, error)
func (*CreateServerGroupOptionPolicies) UnmarshalJSON ¶
func (c *CreateServerGroupOptionPolicies) UnmarshalJSON(b []byte) error
type CreateServerGroupOptionPoliciesEnum ¶
type CreateServerGroupOptionPoliciesEnum struct {
ANTI_AFFINITY CreateServerGroupOptionPolicies
}
func GetCreateServerGroupOptionPoliciesEnum ¶
func GetCreateServerGroupOptionPoliciesEnum() CreateServerGroupOptionPoliciesEnum
type CreateServerGroupRequest ¶
type CreateServerGroupRequest struct {
Body *CreateServerGroupRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateServerGroupRequest) String ¶
func (o CreateServerGroupRequest) String() string
type CreateServerGroupRequestBody ¶
type CreateServerGroupRequestBody struct {
ServerGroup *CreateServerGroupOption `json:"server_group"`
}
This is a auto create Body Object
func (CreateServerGroupRequestBody) String ¶
func (o CreateServerGroupRequestBody) String() string
type CreateServerGroupResponse ¶
type CreateServerGroupResponse struct { ServerGroup *CreateServerGroupResult `json:"server_group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateServerGroupResponse) String ¶
func (o CreateServerGroupResponse) String() string
type CreateServerGroupResult ¶
type CreateServerGroupResult struct { Id string `json:"id"` Members []string `json:"members"` Metadata map[string]string `json:"metadata"` Name string `json:"name"` Policies []string `json:"policies"` }
func (CreateServerGroupResult) String ¶
func (o CreateServerGroupResult) String() string
type CreateServersRequest ¶
type CreateServersRequest struct {
Body *CreateServersRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateServersRequest) String ¶
func (o CreateServersRequest) String() string
type CreateServersRequestBody ¶
type CreateServersRequestBody struct { DryRun *bool `json:"dry_run,omitempty"` Server *PrePaidServer `json:"server"` }
This is a auto create Body Object
func (CreateServersRequestBody) String ¶
func (o CreateServersRequestBody) String() string
type CreateServersResponse ¶
type CreateServersResponse struct { JobId *string `json:"job_id,omitempty"` OrderId *string `json:"order_id,omitempty"` ServerIds *[]string `json:"serverIds,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateServersResponse) String ¶
func (o CreateServersResponse) String() string
type DeleteServerGroupMemberRequest ¶
type DeleteServerGroupMemberRequest struct { ServerGroupId string `json:"server_group_id"` Body *DeleteServerGroupMemberRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteServerGroupMemberRequest) String ¶
func (o DeleteServerGroupMemberRequest) String() string
type DeleteServerGroupMemberRequestBody ¶
type DeleteServerGroupMemberRequestBody struct {
RemoveMember *ServerGroupMember `json:"remove_member"`
}
This is a auto create Body Object
func (DeleteServerGroupMemberRequestBody) String ¶
func (o DeleteServerGroupMemberRequestBody) String() string
type DeleteServerGroupMemberResponse ¶
type DeleteServerGroupMemberResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteServerGroupMemberResponse) String ¶
func (o DeleteServerGroupMemberResponse) String() string
type DeleteServerGroupRequest ¶
type DeleteServerGroupRequest struct {
ServerGroupId string `json:"server_group_id"`
}
Request Object
func (DeleteServerGroupRequest) String ¶
func (o DeleteServerGroupRequest) String() string
type DeleteServerGroupResponse ¶
type DeleteServerGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteServerGroupResponse) String ¶
func (o DeleteServerGroupResponse) String() string
type DeleteServerMetadataRequest ¶
type DeleteServerMetadataRequest struct { Key string `json:"key"` ServerId string `json:"server_id"` }
Request Object
func (DeleteServerMetadataRequest) String ¶
func (o DeleteServerMetadataRequest) String() string
type DeleteServerMetadataResponse ¶
type DeleteServerMetadataResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteServerMetadataResponse) String ¶
func (o DeleteServerMetadataResponse) String() string
type DeleteServerPasswordRequest ¶
type DeleteServerPasswordRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (DeleteServerPasswordRequest) String ¶
func (o DeleteServerPasswordRequest) String() string
type DeleteServerPasswordResponse ¶
type DeleteServerPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteServerPasswordResponse) String ¶
func (o DeleteServerPasswordResponse) String() string
type DeleteServersRequest ¶
type DeleteServersRequest struct {
Body *DeleteServersRequestBody `json:"body,omitempty"`
}
Request Object
func (DeleteServersRequest) String ¶
func (o DeleteServersRequest) String() string
type DeleteServersRequestBody ¶
type DeleteServersRequestBody struct { DeletePublicip *bool `json:"delete_publicip,omitempty"` DeleteVolume *bool `json:"delete_volume,omitempty"` Servers []ServerId `json:"servers"` }
This is a auto create Body Object
func (DeleteServersRequestBody) String ¶
func (o DeleteServersRequestBody) String() string
type DeleteServersResponse ¶
type DeleteServersResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteServersResponse) String ¶
func (o DeleteServersResponse) String() string
type DetachServerVolumeRequest ¶
type DetachServerVolumeRequest struct { ServerId string `json:"server_id"` VolumeId string `json:"volume_id"` DeleteFlag *DetachServerVolumeRequestDeleteFlag `json:"delete_flag,omitempty"` }
Request Object
func (DetachServerVolumeRequest) String ¶
func (o DetachServerVolumeRequest) String() string
type DetachServerVolumeRequestDeleteFlag ¶
type DetachServerVolumeRequestDeleteFlag struct {
// contains filtered or unexported fields
}
func (DetachServerVolumeRequestDeleteFlag) MarshalJSON ¶
func (c DetachServerVolumeRequestDeleteFlag) MarshalJSON() ([]byte, error)
func (*DetachServerVolumeRequestDeleteFlag) UnmarshalJSON ¶
func (c *DetachServerVolumeRequestDeleteFlag) UnmarshalJSON(b []byte) error
type DetachServerVolumeRequestDeleteFlagEnum ¶
type DetachServerVolumeRequestDeleteFlagEnum struct { E_0 DetachServerVolumeRequestDeleteFlag E_1 DetachServerVolumeRequestDeleteFlag }
func GetDetachServerVolumeRequestDeleteFlagEnum ¶
func GetDetachServerVolumeRequestDeleteFlagEnum() DetachServerVolumeRequestDeleteFlagEnum
type DetachServerVolumeResponse ¶
type DetachServerVolumeResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DetachServerVolumeResponse) String ¶
func (o DetachServerVolumeResponse) String() string
type DisassociateServerVirtualIpOption ¶
type DisassociateServerVirtualIpOption struct { SubnetId DisassociateServerVirtualIpOptionSubnetId `json:"subnet_id"` IpAddress DisassociateServerVirtualIpOptionIpAddress `json:"ip_address"` ReverseBinding *bool `json:"reverse_binding,omitempty"` }
func (DisassociateServerVirtualIpOption) String ¶
func (o DisassociateServerVirtualIpOption) String() string
type DisassociateServerVirtualIpOptionIpAddress ¶
type DisassociateServerVirtualIpOptionIpAddress struct {
// contains filtered or unexported fields
}
func (DisassociateServerVirtualIpOptionIpAddress) MarshalJSON ¶
func (c DisassociateServerVirtualIpOptionIpAddress) MarshalJSON() ([]byte, error)
func (*DisassociateServerVirtualIpOptionIpAddress) UnmarshalJSON ¶
func (c *DisassociateServerVirtualIpOptionIpAddress) UnmarshalJSON(b []byte) error
type DisassociateServerVirtualIpOptionIpAddressEnum ¶
type DisassociateServerVirtualIpOptionIpAddressEnum struct {
EMPTY DisassociateServerVirtualIpOptionIpAddress
}
func GetDisassociateServerVirtualIpOptionIpAddressEnum ¶
func GetDisassociateServerVirtualIpOptionIpAddressEnum() DisassociateServerVirtualIpOptionIpAddressEnum
type DisassociateServerVirtualIpOptionSubnetId ¶
type DisassociateServerVirtualIpOptionSubnetId struct {
// contains filtered or unexported fields
}
func (DisassociateServerVirtualIpOptionSubnetId) MarshalJSON ¶
func (c DisassociateServerVirtualIpOptionSubnetId) MarshalJSON() ([]byte, error)
func (*DisassociateServerVirtualIpOptionSubnetId) UnmarshalJSON ¶
func (c *DisassociateServerVirtualIpOptionSubnetId) UnmarshalJSON(b []byte) error
type DisassociateServerVirtualIpOptionSubnetIdEnum ¶
type DisassociateServerVirtualIpOptionSubnetIdEnum struct {
EMPTY DisassociateServerVirtualIpOptionSubnetId
}
func GetDisassociateServerVirtualIpOptionSubnetIdEnum ¶
func GetDisassociateServerVirtualIpOptionSubnetIdEnum() DisassociateServerVirtualIpOptionSubnetIdEnum
type DisassociateServerVirtualIpRequest ¶
type DisassociateServerVirtualIpRequest struct { NicId string `json:"nic_id"` Body *DisassociateServerVirtualIpRequestBody `json:"body,omitempty"` }
Request Object
func (DisassociateServerVirtualIpRequest) String ¶
func (o DisassociateServerVirtualIpRequest) String() string
type DisassociateServerVirtualIpRequestBody ¶
type DisassociateServerVirtualIpRequestBody struct {
Nic *DisassociateServerVirtualIpOption `json:"nic"`
}
This is a auto create Body Object
func (DisassociateServerVirtualIpRequestBody) String ¶
func (o DisassociateServerVirtualIpRequestBody) String() string
type DisassociateServerVirtualIpResponse ¶
type DisassociateServerVirtualIpResponse struct { PortId *string `json:"port_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DisassociateServerVirtualIpResponse) String ¶
func (o DisassociateServerVirtualIpResponse) String() string
type Flavor ¶
type Flavor struct { Id string `json:"id"` Name string `json:"name"` Vcpus string `json:"vcpus"` Ram int32 `json:"ram"` Disk string `json:"disk"` Swap string `json:"swap"` OSFLVEXTDATAephemeral int32 `json:"OS-FLV-EXT-DATA:ephemeral"` OSFLVDISABLEDdisabled bool `json:"OS-FLV-DISABLED:disabled"` RxtxFactor float32 `json:"rxtx_factor"` RxtxQuota string `json:"rxtx_quota"` RxtxCap string `json:"rxtx_cap"` OsFlavorAccessisPublic bool `json:"os-flavor-access:is_public"` Links []FlavorLink `json:"links"` OsExtraSpecs *FlavorExtraSpec `json:"os_extra_specs"` AttachableQuantity *ServerAttachableQuantity `json:"attachableQuantity,omitempty"` }
云服务器规格。
type FlavorExtraSpec ¶
type FlavorExtraSpec struct { Ecsperformancetype *string `json:"ecs:performancetype,omitempty"` HwnumaNodes *string `json:"hw:numa_nodes,omitempty"` ResourceType *string `json:"resource_type,omitempty"` HpetSupport *string `json:"hpet_support,omitempty"` InstanceVnictype *string `json:"instance_vnic:type,omitempty"` InstanceVnicinstanceBandwidth *string `json:"instance_vnic:instance_bandwidth,omitempty"` InstanceVnicmaxCount *string `json:"instance_vnic:max_count,omitempty"` QuotalocalDisk *string `json:"quota:local_disk,omitempty"` QuotanvmeSsd *string `json:"quota:nvme_ssd,omitempty"` ExtraSpeciopersistentGrant *string `json:"extra_spec:io:persistent_grant,omitempty"` Ecsgeneration *string `json:"ecs:generation,omitempty"` EcsvirtualizationEnvTypes *string `json:"ecs:virtualization_env_types,omitempty"` PciPassthroughenableGpu *string `json:"pci_passthrough:enable_gpu,omitempty"` PciPassthroughgpuSpecs *string `json:"pci_passthrough:gpu_specs,omitempty"` PciPassthroughalias *string `json:"pci_passthrough:alias,omitempty"` Condoperationstatus *string `json:"cond:operation:status,omitempty"` Condoperationaz *string `json:"cond:operation:az,omitempty"` QuotamaxRate *string `json:"quota:max_rate,omitempty"` QuotaminRate *string `json:"quota:min_rate,omitempty"` QuotamaxPps *string `json:"quota:max_pps,omitempty"` Condoperationcharge *string `json:"cond:operation:charge,omitempty"` Condoperationchargestop *string `json:"cond:operation:charge:stop,omitempty"` Condspotoperationaz *string `json:"cond:spot:operation:az,omitempty"` Condoperationroles *string `json:"cond:operation:roles,omitempty"` Condspotoperationstatus *string `json:"cond:spot:operation:status,omitempty"` Condnetwork *string `json:"cond:network,omitempty"` Condstorage *string `json:"cond:storage,omitempty"` CondcomputeliveResizable *string `json:"cond:compute:live_resizable,omitempty"` Condcompute *string `json:"cond:compute,omitempty"` Infogpuname *string `json:"info:gpu:name,omitempty"` Infocpuname *string `json:"info:cpu:name,omitempty"` Quotagpu *string `json:"quota:gpu,omitempty"` EcsinstanceArchitecture *string `json:"ecs:instance_architecture,omitempty"` }
云服务器规格的扩展字段。
func (FlavorExtraSpec) String ¶
func (o FlavorExtraSpec) String() string
type FlavorLink ¶
type FlavorLink struct { Href string `json:"href"` Rel string `json:"rel"` Type string `json:"type"` }
规格相关快捷链接地址。
func (FlavorLink) String ¶
func (o FlavorLink) String() string
type GetServerRemoteConsoleOption ¶
type GetServerRemoteConsoleOption struct { Protocol GetServerRemoteConsoleOptionProtocol `json:"protocol"` Type GetServerRemoteConsoleOptionType `json:"type"` }
func (GetServerRemoteConsoleOption) String ¶
func (o GetServerRemoteConsoleOption) String() string
type GetServerRemoteConsoleOptionProtocol ¶
type GetServerRemoteConsoleOptionProtocol struct {
// contains filtered or unexported fields
}
func (GetServerRemoteConsoleOptionProtocol) MarshalJSON ¶
func (c GetServerRemoteConsoleOptionProtocol) MarshalJSON() ([]byte, error)
func (*GetServerRemoteConsoleOptionProtocol) UnmarshalJSON ¶
func (c *GetServerRemoteConsoleOptionProtocol) UnmarshalJSON(b []byte) error
type GetServerRemoteConsoleOptionProtocolEnum ¶
type GetServerRemoteConsoleOptionProtocolEnum struct {
VNC GetServerRemoteConsoleOptionProtocol
}
func GetGetServerRemoteConsoleOptionProtocolEnum ¶
func GetGetServerRemoteConsoleOptionProtocolEnum() GetServerRemoteConsoleOptionProtocolEnum
type GetServerRemoteConsoleOptionType ¶
type GetServerRemoteConsoleOptionType struct {
// contains filtered or unexported fields
}
func (GetServerRemoteConsoleOptionType) MarshalJSON ¶
func (c GetServerRemoteConsoleOptionType) MarshalJSON() ([]byte, error)
func (*GetServerRemoteConsoleOptionType) UnmarshalJSON ¶
func (c *GetServerRemoteConsoleOptionType) UnmarshalJSON(b []byte) error
type GetServerRemoteConsoleOptionTypeEnum ¶
type GetServerRemoteConsoleOptionTypeEnum struct {
NOVNC GetServerRemoteConsoleOptionType
}
func GetGetServerRemoteConsoleOptionTypeEnum ¶
func GetGetServerRemoteConsoleOptionTypeEnum() GetServerRemoteConsoleOptionTypeEnum
type Hypervisor ¶
type Hypervisor struct { HypervisorType *string `json:"hypervisor_type,omitempty"` CsdHypervisor *string `json:"csd_hypervisor,omitempty"` }
hypervisor信息。
func (Hypervisor) String ¶
func (o Hypervisor) String() string
type InterfaceAttachableQuantity ¶
type InterfaceAttachableQuantity struct {
FreeNic *int32 `json:"free_nic,omitempty"`
}
func (InterfaceAttachableQuantity) String ¶
func (o InterfaceAttachableQuantity) String() string
type InterfaceAttachment ¶
type InterfaceAttachment struct { FixedIps *[]ServerInterfaceFixedIp `json:"fixed_ips,omitempty"` MacAddr *string `json:"mac_addr,omitempty"` NetId *string `json:"net_id,omitempty"` PortId *string `json:"port_id,omitempty"` PortState *string `json:"port_state,omitempty"` DeleteOnTermination *bool `json:"delete_on_termination,omitempty"` DriverMode *string `json:"driver_mode,omitempty"` MinRate *int32 `json:"min_rate,omitempty"` MultiqueueNum *int32 `json:"multiqueue_num,omitempty"` PciAddress *string `json:"pci_address,omitempty"` }
func (InterfaceAttachment) String ¶
func (o InterfaceAttachment) String() string
type Ipv6Bandwidth ¶
type Ipv6Bandwidth struct {
Id *string `json:"id,omitempty"`
}
func (Ipv6Bandwidth) String ¶
func (o Ipv6Bandwidth) String() string
type JobEntities ¶
type JobEntities struct { SubJobs *[]SubJob `json:"sub_jobs,omitempty"` SubJobsTotal *int32 `json:"sub_jobs_total,omitempty"` }
func (JobEntities) String ¶
func (o JobEntities) String() string
type ListFlavorsRequest ¶
type ListFlavorsRequest struct {
AvailabilityZone *string `json:"availability_zone,omitempty"`
}
Request Object
func (ListFlavorsRequest) String ¶
func (o ListFlavorsRequest) String() string
type ListFlavorsResponse ¶
type ListFlavorsResponse struct { Flavors *[]Flavor `json:"flavors,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFlavorsResponse) String ¶
func (o ListFlavorsResponse) String() string
type ListResizeFlavorsRequest ¶
type ListResizeFlavorsRequest struct { InstanceUuid *string `json:"instance_uuid,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` SortDir *ListResizeFlavorsRequestSortDir `json:"sort_dir,omitempty"` SortKey *ListResizeFlavorsRequestSortKey `json:"sort_key,omitempty"` SourceFlavorId *string `json:"source_flavor_id,omitempty"` SourceFlavorName *string `json:"source_flavor_name,omitempty"` }
Request Object
func (ListResizeFlavorsRequest) String ¶
func (o ListResizeFlavorsRequest) String() string
type ListResizeFlavorsRequestSortDir ¶
type ListResizeFlavorsRequestSortDir struct {
// contains filtered or unexported fields
}
func (ListResizeFlavorsRequestSortDir) MarshalJSON ¶
func (c ListResizeFlavorsRequestSortDir) MarshalJSON() ([]byte, error)
func (*ListResizeFlavorsRequestSortDir) UnmarshalJSON ¶
func (c *ListResizeFlavorsRequestSortDir) UnmarshalJSON(b []byte) error
type ListResizeFlavorsRequestSortDirEnum ¶
type ListResizeFlavorsRequestSortDirEnum struct { ASC ListResizeFlavorsRequestSortDir DESC ListResizeFlavorsRequestSortDir }
func GetListResizeFlavorsRequestSortDirEnum ¶
func GetListResizeFlavorsRequestSortDirEnum() ListResizeFlavorsRequestSortDirEnum
type ListResizeFlavorsRequestSortKey ¶
type ListResizeFlavorsRequestSortKey struct {
// contains filtered or unexported fields
}
func (ListResizeFlavorsRequestSortKey) MarshalJSON ¶
func (c ListResizeFlavorsRequestSortKey) MarshalJSON() ([]byte, error)
func (*ListResizeFlavorsRequestSortKey) UnmarshalJSON ¶
func (c *ListResizeFlavorsRequestSortKey) UnmarshalJSON(b []byte) error
type ListResizeFlavorsRequestSortKeyEnum ¶
type ListResizeFlavorsRequestSortKeyEnum struct { FLAVORID ListResizeFlavorsRequestSortKey SORT_KEY ListResizeFlavorsRequestSortKey NAME ListResizeFlavorsRequestSortKey MEMORY_MB ListResizeFlavorsRequestSortKey VCPUS ListResizeFlavorsRequestSortKey ROOT_GB ListResizeFlavorsRequestSortKey }
func GetListResizeFlavorsRequestSortKeyEnum ¶
func GetListResizeFlavorsRequestSortKeyEnum() ListResizeFlavorsRequestSortKeyEnum
type ListResizeFlavorsResponse ¶
type ListResizeFlavorsResponse struct { Flavors *[]ListResizeFlavorsResult `json:"flavors,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListResizeFlavorsResponse) String ¶
func (o ListResizeFlavorsResponse) String() string
type ListResizeFlavorsResult ¶
type ListResizeFlavorsResult struct { Id string `json:"id"` Name string `json:"name"` Vcpus string `json:"vcpus"` Ram int32 `json:"ram"` Disk string `json:"disk"` Swap string `json:"swap"` OSFLVEXTDATAephemeral int32 `json:"OS-FLV-EXT-DATA:ephemeral"` OSFLVDISABLEDdisabled bool `json:"OS-FLV-DISABLED:disabled"` RxtxFactor float32 `json:"rxtx_factor"` RxtxQuota string `json:"rxtx_quota"` RxtxCap string `json:"rxtx_cap"` OsFlavorAccessisPublic bool `json:"os-flavor-access:is_public"` Links []FlavorLink `json:"links"` ExtraSpecs *FlavorExtraSpec `json:"extra_specs"` InstanceQuota *interface{} `json:"instance_quota"` }
云服务器规格。
func (ListResizeFlavorsResult) String ¶
func (o ListResizeFlavorsResult) String() string
type ListServerBlockDevicesRequest ¶
type ListServerBlockDevicesRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (ListServerBlockDevicesRequest) String ¶
func (o ListServerBlockDevicesRequest) String() string
type ListServerBlockDevicesResponse ¶
type ListServerBlockDevicesResponse struct { AttachableQuantity *BlockDeviceAttachableQuantity `json:"attachableQuantity,omitempty"` VolumeAttachments *[]ServerBlockDevice `json:"volumeAttachments,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListServerBlockDevicesResponse) String ¶
func (o ListServerBlockDevicesResponse) String() string
type ListServerGroupsPageInfoResult ¶
type ListServerGroupsPageInfoResult struct {
NextMarker *string `json:"next_marker,omitempty"`
}
func (ListServerGroupsPageInfoResult) String ¶
func (o ListServerGroupsPageInfoResult) String() string
type ListServerGroupsRequest ¶
type ListServerGroupsRequest struct { Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListServerGroupsRequest) String ¶
func (o ListServerGroupsRequest) String() string
type ListServerGroupsResponse ¶
type ListServerGroupsResponse struct { ServerGroups *[]ListServerGroupsResult `json:"server_groups,omitempty"` PageInfo *ListServerGroupsPageInfoResult `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListServerGroupsResponse) String ¶
func (o ListServerGroupsResponse) String() string
type ListServerGroupsResult ¶
type ListServerGroupsResult struct { Id string `json:"id"` Members []string `json:"members"` Metadata map[string]string `json:"metadata"` Name string `json:"name"` Policies []string `json:"policies"` }
func (ListServerGroupsResult) String ¶
func (o ListServerGroupsResult) String() string
type ListServerInterfacesRequest ¶
type ListServerInterfacesRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (ListServerInterfacesRequest) String ¶
func (o ListServerInterfacesRequest) String() string
type ListServerInterfacesResponse ¶
type ListServerInterfacesResponse struct { AttachableQuantity *InterfaceAttachableQuantity `json:"attachableQuantity,omitempty"` InterfaceAttachments *[]InterfaceAttachment `json:"interfaceAttachments,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListServerInterfacesResponse) String ¶
func (o ListServerInterfacesResponse) String() string
type ListServerTagsRequest ¶
type ListServerTagsRequest struct { }
Request Object
func (ListServerTagsRequest) String ¶
func (o ListServerTagsRequest) String() string
type ListServerTagsResponse ¶
type ListServerTagsResponse struct { Tags *[]ProjectTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListServerTagsResponse) String ¶
func (o ListServerTagsResponse) String() string
type ListServersDetailsRequest ¶
type ListServersDetailsRequest struct { EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` Flavor *string `json:"flavor,omitempty"` Ip *string `json:"ip,omitempty"` Limit *int32 `json:"limit,omitempty"` Name *string `json:"name,omitempty"` NotTags *string `json:"not-tags,omitempty"` Offset *int32 `json:"offset,omitempty"` ReservationId *string `json:"reservation_id,omitempty"` Status *string `json:"status,omitempty"` Tags *string `json:"tags,omitempty"` }
Request Object
func (ListServersDetailsRequest) String ¶
func (o ListServersDetailsRequest) String() string
type ListServersDetailsResponse ¶
type ListServersDetailsResponse struct { Count *int32 `json:"count,omitempty"` Servers *[]ServerDetail `json:"servers,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListServersDetailsResponse) String ¶
func (o ListServersDetailsResponse) String() string
type MigrateServerOption ¶
type MigrateServerOption struct {
DedicatedHostId *string `json:"dedicated_host_id,omitempty"`
}
冷迁移云服务器请求结构
func (MigrateServerOption) String ¶
func (o MigrateServerOption) String() string
type MigrateServerRequest ¶
type MigrateServerRequest struct { ServerId string `json:"server_id"` Body *MigrateServerRequestBody `json:"body,omitempty"` }
Request Object
func (MigrateServerRequest) String ¶
func (o MigrateServerRequest) String() string
type MigrateServerRequestBody ¶
type MigrateServerRequestBody struct {
Migrate *MigrateServerOption `json:"migrate"`
}
This is a auto create Body Object
func (MigrateServerRequestBody) String ¶
func (o MigrateServerRequestBody) String() string
type MigrateServerResponse ¶
type MigrateServerResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (MigrateServerResponse) String ¶
func (o MigrateServerResponse) String() string
type NovaAddSecurityGroupOption ¶
type NovaAddSecurityGroupOption struct {
Name string `json:"name"`
}
func (NovaAddSecurityGroupOption) String ¶
func (o NovaAddSecurityGroupOption) String() string
type NovaAssociateSecurityGroupRequest ¶
type NovaAssociateSecurityGroupRequest struct { ServerId string `json:"server_id"` Body *NovaAssociateSecurityGroupRequestBody `json:"body,omitempty"` }
Request Object
func (NovaAssociateSecurityGroupRequest) String ¶
func (o NovaAssociateSecurityGroupRequest) String() string
type NovaAssociateSecurityGroupRequestBody ¶
type NovaAssociateSecurityGroupRequestBody struct {
AddSecurityGroup *NovaAddSecurityGroupOption `json:"addSecurityGroup"`
}
This is a auto create Body Object
func (NovaAssociateSecurityGroupRequestBody) String ¶
func (o NovaAssociateSecurityGroupRequestBody) String() string
type NovaAssociateSecurityGroupResponse ¶
type NovaAssociateSecurityGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (NovaAssociateSecurityGroupResponse) String ¶
func (o NovaAssociateSecurityGroupResponse) String() string
type NovaAvailabilityZone ¶
type NovaAvailabilityZone struct { Hosts []string `json:"hosts"` ZoneName string `json:"zoneName"` ZoneState *NovaAvailabilityZoneState `json:"zoneState"` }
可用域信息
func (NovaAvailabilityZone) String ¶
func (o NovaAvailabilityZone) String() string
type NovaAvailabilityZoneState ¶
type NovaAvailabilityZoneState struct {
Available bool `json:"available"`
}
可用域的状态
func (NovaAvailabilityZoneState) String ¶
func (o NovaAvailabilityZoneState) String() string
type NovaCreateKeypairOption ¶
type NovaCreateKeypairOption struct { PublicKey *string `json:"public_key,omitempty"` Type *NovaCreateKeypairOptionType `json:"type,omitempty"` Name string `json:"name"` UserId *string `json:"user_id,omitempty"` }
func (NovaCreateKeypairOption) String ¶
func (o NovaCreateKeypairOption) String() string
type NovaCreateKeypairOptionType ¶
type NovaCreateKeypairOptionType struct {
// contains filtered or unexported fields
}
func (NovaCreateKeypairOptionType) MarshalJSON ¶
func (c NovaCreateKeypairOptionType) MarshalJSON() ([]byte, error)
func (*NovaCreateKeypairOptionType) UnmarshalJSON ¶
func (c *NovaCreateKeypairOptionType) UnmarshalJSON(b []byte) error
type NovaCreateKeypairOptionTypeEnum ¶
type NovaCreateKeypairOptionTypeEnum struct { SSH NovaCreateKeypairOptionType X509 NovaCreateKeypairOptionType }
func GetNovaCreateKeypairOptionTypeEnum ¶
func GetNovaCreateKeypairOptionTypeEnum() NovaCreateKeypairOptionTypeEnum
type NovaCreateKeypairRequest ¶
type NovaCreateKeypairRequest struct { OpenStackAPIVersion *string `json:"OpenStack-API-Version,omitempty"` Body *NovaCreateKeypairRequestBody `json:"body,omitempty"` }
Request Object
func (NovaCreateKeypairRequest) String ¶
func (o NovaCreateKeypairRequest) String() string
type NovaCreateKeypairRequestBody ¶
type NovaCreateKeypairRequestBody struct {
Keypair *NovaCreateKeypairOption `json:"keypair"`
}
This is a auto create Body Object
func (NovaCreateKeypairRequestBody) String ¶
func (o NovaCreateKeypairRequestBody) String() string
type NovaCreateKeypairResponse ¶
type NovaCreateKeypairResponse struct { Keypair *NovaKeypair `json:"keypair,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaCreateKeypairResponse) String ¶
func (o NovaCreateKeypairResponse) String() string
type NovaCreateServersOption ¶
type NovaCreateServersOption struct { AutoTerminateTime *string `json:"auto_terminate_time,omitempty"` ImageRef *string `json:"imageRef,omitempty"` FlavorRef string `json:"flavorRef"` Name string `json:"name"` Metadata map[string]string `json:"metadata,omitempty"` AdminPass *string `json:"adminPass,omitempty"` BlockDeviceMappingV2 *[]NovaServerBlockDeviceMapping `json:"block_device_mapping_v2,omitempty"` ConfigDrive *string `json:"config_drive,omitempty"` SecurityGroups *[]NovaServerSecurityGroup `json:"security_groups,omitempty"` Networks []NovaServerNetwork `json:"networks"` KeyName *string `json:"key_name,omitempty"` UserData *string `json:"user_data,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` ReturnReservationId *bool `json:"return_reservation_id,omitempty"` MinCount *int32 `json:"min_count,omitempty"` MaxCount *int32 `json:"max_count,omitempty"` OSDCFdiskConfig *NovaCreateServersOptionOSDCFdiskConfig `json:"OS-DCF:diskConfig,omitempty"` Description *string `json:"description,omitempty"` }
弹性云服务器信息
func (NovaCreateServersOption) String ¶
func (o NovaCreateServersOption) String() string
type NovaCreateServersOptionOSDCFdiskConfig ¶
type NovaCreateServersOptionOSDCFdiskConfig struct {
// contains filtered or unexported fields
}
func (NovaCreateServersOptionOSDCFdiskConfig) MarshalJSON ¶
func (c NovaCreateServersOptionOSDCFdiskConfig) MarshalJSON() ([]byte, error)
func (*NovaCreateServersOptionOSDCFdiskConfig) UnmarshalJSON ¶
func (c *NovaCreateServersOptionOSDCFdiskConfig) UnmarshalJSON(b []byte) error
type NovaCreateServersOptionOSDCFdiskConfigEnum ¶
type NovaCreateServersOptionOSDCFdiskConfigEnum struct { AUTO NovaCreateServersOptionOSDCFdiskConfig MANUAL NovaCreateServersOptionOSDCFdiskConfig }
func GetNovaCreateServersOptionOSDCFdiskConfigEnum ¶
func GetNovaCreateServersOptionOSDCFdiskConfigEnum() NovaCreateServersOptionOSDCFdiskConfigEnum
type NovaCreateServersRequest ¶
type NovaCreateServersRequest struct { OpenStackAPIVersion *string `json:"OpenStack-API-Version,omitempty"` Body *NovaCreateServersRequestBody `json:"body,omitempty"` }
Request Object
func (NovaCreateServersRequest) String ¶
func (o NovaCreateServersRequest) String() string
type NovaCreateServersRequestBody ¶
type NovaCreateServersRequestBody struct { Server *NovaCreateServersOption `json:"server"` OsschedulerHints *NovaCreateServersSchedulerHint `json:"os:scheduler_hints,omitempty"` }
This is a auto create Body Object
func (NovaCreateServersRequestBody) String ¶
func (o NovaCreateServersRequestBody) String() string
type NovaCreateServersResponse ¶
type NovaCreateServersResponse struct { Server *NovaCreateServersResult `json:"server,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaCreateServersResponse) String ¶
func (o NovaCreateServersResponse) String() string
type NovaCreateServersResult ¶
type NovaCreateServersResult struct { Id string `json:"id"` Links []NovaLink `json:"links"` SecurityGroups []NovaServerSecurityGroup `json:"security_groups"` OSDCFdiskConfig NovaCreateServersResultOSDCFdiskConfig `json:"OS-DCF:diskConfig"` ReservationId *string `json:"reservation_id,omitempty"` AdminPass string `json:"adminPass"` }
func (NovaCreateServersResult) String ¶
func (o NovaCreateServersResult) String() string
type NovaCreateServersResultOSDCFdiskConfig ¶
type NovaCreateServersResultOSDCFdiskConfig struct {
// contains filtered or unexported fields
}
func (NovaCreateServersResultOSDCFdiskConfig) MarshalJSON ¶
func (c NovaCreateServersResultOSDCFdiskConfig) MarshalJSON() ([]byte, error)
func (*NovaCreateServersResultOSDCFdiskConfig) UnmarshalJSON ¶
func (c *NovaCreateServersResultOSDCFdiskConfig) UnmarshalJSON(b []byte) error
type NovaCreateServersResultOSDCFdiskConfigEnum ¶
type NovaCreateServersResultOSDCFdiskConfigEnum struct { MANUAL NovaCreateServersResultOSDCFdiskConfig AUTO NovaCreateServersResultOSDCFdiskConfig }
func GetNovaCreateServersResultOSDCFdiskConfigEnum ¶
func GetNovaCreateServersResultOSDCFdiskConfigEnum() NovaCreateServersResultOSDCFdiskConfigEnum
type NovaCreateServersSchedulerHint ¶
type NovaCreateServersSchedulerHint struct { Group *string `json:"group,omitempty"` DifferentHost *[]string `json:"different_host,omitempty"` SameHost *[]string `json:"same_host,omitempty"` Cidr *string `json:"cidr,omitempty"` BuildNearHostIp *string `json:"build_near_host_ip,omitempty"` Tenancy *string `json:"tenancy,omitempty"` DedicatedHostId *string `json:"dedicated_host_id,omitempty"` }
弹性云服务器调度信息。 裸金属服务器场景不支持。
func (NovaCreateServersSchedulerHint) String ¶
func (o NovaCreateServersSchedulerHint) String() string
type NovaDeleteKeypairRequest ¶
type NovaDeleteKeypairRequest struct {
KeypairName string `json:"keypair_name"`
}
Request Object
func (NovaDeleteKeypairRequest) String ¶
func (o NovaDeleteKeypairRequest) String() string
type NovaDeleteKeypairResponse ¶
type NovaDeleteKeypairResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (NovaDeleteKeypairResponse) String ¶
func (o NovaDeleteKeypairResponse) String() string
type NovaDeleteServerRequest ¶
type NovaDeleteServerRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (NovaDeleteServerRequest) String ¶
func (o NovaDeleteServerRequest) String() string
type NovaDeleteServerResponse ¶
type NovaDeleteServerResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (NovaDeleteServerResponse) String ¶
func (o NovaDeleteServerResponse) String() string
type NovaDisassociateSecurityGroupRequest ¶
type NovaDisassociateSecurityGroupRequest struct { ServerId string `json:"server_id"` Body *NovaDisassociateSecurityGroupRequestBody `json:"body,omitempty"` }
Request Object
func (NovaDisassociateSecurityGroupRequest) String ¶
func (o NovaDisassociateSecurityGroupRequest) String() string
type NovaDisassociateSecurityGroupRequestBody ¶
type NovaDisassociateSecurityGroupRequestBody struct {
RemoveSecurityGroup *NovaRemoveSecurityGroupOption `json:"removeSecurityGroup"`
}
This is a auto create Body Object
func (NovaDisassociateSecurityGroupRequestBody) String ¶
func (o NovaDisassociateSecurityGroupRequestBody) String() string
type NovaDisassociateSecurityGroupResponse ¶
type NovaDisassociateSecurityGroupResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (NovaDisassociateSecurityGroupResponse) String ¶
func (o NovaDisassociateSecurityGroupResponse) String() string
type NovaKeypair ¶
type NovaKeypair struct { Fingerprint string `json:"fingerprint"` Name string `json:"name"` PublicKey string `json:"public_key"` PrivateKey string `json:"private_key"` UserId string `json:"user_id"` Type *string `json:"type,omitempty"` }
func (NovaKeypair) String ¶
func (o NovaKeypair) String() string
type NovaKeypairDetail ¶
type NovaKeypairDetail struct { PublicKey string `json:"public_key"` Name string `json:"name"` Fingerprint string `json:"fingerprint"` CreatedAt *sdktime.SdkTime `json:"created_at"` Deleted bool `json:"deleted"` DeletedAt *sdktime.SdkTime `json:"deleted_at"` Id int32 `json:"id"` UpdatedAt *sdktime.SdkTime `json:"updated_at"` UserId string `json:"user_id"` Type *string `json:"type,omitempty"` }
func (NovaKeypairDetail) String ¶
func (o NovaKeypairDetail) String() string
type NovaLink ¶
type NovaLink struct { Href string `json:"href"` Rel NovaLinkRel `json:"rel"` }
type NovaLinkRel ¶
type NovaLinkRel struct {
// contains filtered or unexported fields
}
func (NovaLinkRel) MarshalJSON ¶
func (c NovaLinkRel) MarshalJSON() ([]byte, error)
func (*NovaLinkRel) UnmarshalJSON ¶
func (c *NovaLinkRel) UnmarshalJSON(b []byte) error
type NovaLinkRelEnum ¶
type NovaLinkRelEnum struct { SELF NovaLinkRel BOOKMARK NovaLinkRel ALTERNATE NovaLinkRel DESCRIBEDBY NovaLinkRel }
func GetNovaLinkRelEnum ¶
func GetNovaLinkRelEnum() NovaLinkRelEnum
type NovaListAvailabilityZonesRequest ¶
type NovaListAvailabilityZonesRequest struct { }
Request Object
func (NovaListAvailabilityZonesRequest) String ¶
func (o NovaListAvailabilityZonesRequest) String() string
type NovaListAvailabilityZonesResponse ¶
type NovaListAvailabilityZonesResponse struct { AvailabilityZoneInfo *[]NovaAvailabilityZone `json:"availabilityZoneInfo,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaListAvailabilityZonesResponse) String ¶
func (o NovaListAvailabilityZonesResponse) String() string
type NovaListKeypairsRequest ¶
type NovaListKeypairsRequest struct { Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` OpenStackAPIVersion *string `json:"OpenStack-API-Version,omitempty"` }
Request Object
func (NovaListKeypairsRequest) String ¶
func (o NovaListKeypairsRequest) String() string
type NovaListKeypairsResponse ¶
type NovaListKeypairsResponse struct { Keypairs *[]NovaListKeypairsResult `json:"keypairs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaListKeypairsResponse) String ¶
func (o NovaListKeypairsResponse) String() string
type NovaListKeypairsResult ¶
type NovaListKeypairsResult struct {
Keypair *NovaSimpleKeypair `json:"keypair"`
}
func (NovaListKeypairsResult) String ¶
func (o NovaListKeypairsResult) String() string
type NovaListServerSecurityGroupsRequest ¶
type NovaListServerSecurityGroupsRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (NovaListServerSecurityGroupsRequest) String ¶
func (o NovaListServerSecurityGroupsRequest) String() string
type NovaListServerSecurityGroupsResponse ¶
type NovaListServerSecurityGroupsResponse struct { SecurityGroups *[]NovaSecurityGroup `json:"security_groups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaListServerSecurityGroupsResponse) String ¶
func (o NovaListServerSecurityGroupsResponse) String() string
type NovaListServersDetailsRequest ¶
type NovaListServersDetailsRequest struct { ChangesSince *string `json:"changes-since,omitempty"` Flavor *string `json:"flavor,omitempty"` Image *string `json:"image,omitempty"` Ip *string `json:"ip,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` Name *string `json:"name,omitempty"` NotTags *string `json:"not-tags,omitempty"` ReservationId *string `json:"reservation_id,omitempty"` SortKey *NovaListServersDetailsRequestSortKey `json:"sort_key,omitempty"` Status *NovaListServersDetailsRequestStatus `json:"status,omitempty"` Tags *string `json:"tags,omitempty"` OpenStackAPIVersion *string `json:"OpenStack-API-Version,omitempty"` }
Request Object
func (NovaListServersDetailsRequest) String ¶
func (o NovaListServersDetailsRequest) String() string
type NovaListServersDetailsRequestSortKey ¶
type NovaListServersDetailsRequestSortKey struct {
// contains filtered or unexported fields
}
func (NovaListServersDetailsRequestSortKey) MarshalJSON ¶
func (c NovaListServersDetailsRequestSortKey) MarshalJSON() ([]byte, error)
func (*NovaListServersDetailsRequestSortKey) UnmarshalJSON ¶
func (c *NovaListServersDetailsRequestSortKey) UnmarshalJSON(b []byte) error
type NovaListServersDetailsRequestSortKeyEnum ¶
type NovaListServersDetailsRequestSortKeyEnum struct { CREATED_AT NovaListServersDetailsRequestSortKey AVAILABILITY_ZONE NovaListServersDetailsRequestSortKey DISPLAY_NAME NovaListServersDetailsRequestSortKey HOST NovaListServersDetailsRequestSortKey INSTANCE_TYPE_ID NovaListServersDetailsRequestSortKey KEY_NAME NovaListServersDetailsRequestSortKey PROJECT_ID NovaListServersDetailsRequestSortKey USER_ID NovaListServersDetailsRequestSortKey UPDATED_AT NovaListServersDetailsRequestSortKey UUID NovaListServersDetailsRequestSortKey VM_STATE NovaListServersDetailsRequestSortKey }
func GetNovaListServersDetailsRequestSortKeyEnum ¶
func GetNovaListServersDetailsRequestSortKeyEnum() NovaListServersDetailsRequestSortKeyEnum
type NovaListServersDetailsRequestStatus ¶
type NovaListServersDetailsRequestStatus struct {
// contains filtered or unexported fields
}
func (NovaListServersDetailsRequestStatus) MarshalJSON ¶
func (c NovaListServersDetailsRequestStatus) MarshalJSON() ([]byte, error)
func (*NovaListServersDetailsRequestStatus) UnmarshalJSON ¶
func (c *NovaListServersDetailsRequestStatus) UnmarshalJSON(b []byte) error
type NovaListServersDetailsRequestStatusEnum ¶
type NovaListServersDetailsRequestStatusEnum struct { ACTIVE NovaListServersDetailsRequestStatus BUILD NovaListServersDetailsRequestStatus DELETED NovaListServersDetailsRequestStatus ERROR NovaListServersDetailsRequestStatus HARD_REBOOT NovaListServersDetailsRequestStatus MIGRATING NovaListServersDetailsRequestStatus REBOOT NovaListServersDetailsRequestStatus RESIZE NovaListServersDetailsRequestStatus REVERT_RESIZE NovaListServersDetailsRequestStatus SHELVED NovaListServersDetailsRequestStatus SHELVED_OFFLOADED NovaListServersDetailsRequestStatus SHUTOFF NovaListServersDetailsRequestStatus UNKNOWN NovaListServersDetailsRequestStatus VERIFY_RESIZE NovaListServersDetailsRequestStatus }
func GetNovaListServersDetailsRequestStatusEnum ¶
func GetNovaListServersDetailsRequestStatusEnum() NovaListServersDetailsRequestStatusEnum
type NovaListServersDetailsResponse ¶
type NovaListServersDetailsResponse struct { Servers *[]NovaServer `json:"servers,omitempty"` ServersLinks *[]PageLink `json:"servers_links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaListServersDetailsResponse) String ¶
func (o NovaListServersDetailsResponse) String() string
type NovaNetwork ¶
type NovaNetwork struct { Addr string `json:"addr"` Version int32 `json:"version"` OSEXTIPSMACmacAddr string `json:"OS-EXT-IPS-MAC:mac_addr"` OSEXTIPStype string `json:"OS-EXT-IPS:type"` }
func (NovaNetwork) String ¶
func (o NovaNetwork) String() string
type NovaRemoveSecurityGroupOption ¶
type NovaRemoveSecurityGroupOption struct {
Name string `json:"name"`
}
func (NovaRemoveSecurityGroupOption) String ¶
func (o NovaRemoveSecurityGroupOption) String() string
type NovaSecurityGroup ¶
type NovaSecurityGroup struct { Description string `json:"description"` Id string `json:"id"` Name string `json:"name"` TenantId string `json:"tenant_id"` Rules []NovaSecurityGroupCommonRule `json:"rules"` }
func (NovaSecurityGroup) String ¶
func (o NovaSecurityGroup) String() string
type NovaSecurityGroupCommonGroup ¶
type NovaSecurityGroupCommonGroup struct { Name *string `json:"name,omitempty"` TenantId *string `json:"tenant_id,omitempty"` }
func (NovaSecurityGroupCommonGroup) String ¶
func (o NovaSecurityGroupCommonGroup) String() string
type NovaSecurityGroupCommonIpRange ¶
type NovaSecurityGroupCommonIpRange struct {
Cidr *string `json:"cidr,omitempty"`
}
func (NovaSecurityGroupCommonIpRange) String ¶
func (o NovaSecurityGroupCommonIpRange) String() string
type NovaSecurityGroupCommonRule ¶
type NovaSecurityGroupCommonRule struct { FromPort int32 `json:"from_port"` Group *NovaSecurityGroupCommonGroup `json:"group"` Id string `json:"id"` IpProtocol string `json:"ip_protocol"` IpRange *NovaSecurityGroupCommonIpRange `json:"ip_range"` ParentGroupId string `json:"parent_group_id"` ToPort int32 `json:"to_port"` }
func (NovaSecurityGroupCommonRule) String ¶
func (o NovaSecurityGroupCommonRule) String() string
type NovaServer ¶
type NovaServer struct { Name string `json:"name"` Id string `json:"id"` Status NovaServerStatus `json:"status"` Created string `json:"created"` Updated string `json:"updated"` Flavor *NovaServerFlavor `json:"flavor"` Image *NovaServerImage `json:"image"` TenantId string `json:"tenant_id"` KeyName string `json:"key_name"` UserId string `json:"user_id"` Metadata map[string]string `json:"metadata"` HostId string `json:"hostId"` Addresses map[string][]NovaNetwork `json:"addresses"` SecurityGroups []NovaServerSecurityGroup `json:"security_groups"` Links []NovaLink `json:"links"` OSDCFdiskConfig NovaServerOSDCFdiskConfig `json:"OS-DCF:diskConfig"` OSEXTAZavailabilityZone string `json:"OS-EXT-AZ:availability_zone"` OSEXTSRVATTRhost string `json:"OS-EXT-SRV-ATTR:host"` OSEXTSRVATTRhypervisorHostname string `json:"OS-EXT-SRV-ATTR:hypervisor_hostname"` OSEXTSRVATTRinstanceName string `json:"OS-EXT-SRV-ATTR:instance_name"` OSEXTSTSpowerState int32 `json:"OS-EXT-STS:power_state"` OSEXTSTStaskState NovaServerOSEXTSTStaskState `json:"OS-EXT-STS:task_state"` OSEXTSTSvmState NovaServerOSEXTSTSvmState `json:"OS-EXT-STS:vm_state"` OSSRVUSGlaunchedAt string `json:"OS-SRV-USG:launched_at"` OSSRVUSGterminatedAt string `json:"OS-SRV-USG:terminated_at"` OsExtendedVolumesvolumesAttached []NovaServerVolume `json:"os-extended-volumes:volumes_attached"` Fault *NovaServerFault `json:"fault,omitempty"` Description *string `json:"description,omitempty"` HostStatus NovaServerHostStatus `json:"host_status"` OSEXTSRVATTRhostname *string `json:"OS-EXT-SRV-ATTR:hostname,omitempty"` OSEXTSRVATTRreservationId *string `json:"OS-EXT-SRV-ATTR:reservation_id,omitempty"` OSEXTSRVATTRlaunchIndex *int32 `json:"OS-EXT-SRV-ATTR:launch_index,omitempty"` OSEXTSRVATTRkernelId *string `json:"OS-EXT-SRV-ATTR:kernel_id,omitempty"` OSEXTSRVATTRramdiskId *string `json:"OS-EXT-SRV-ATTR:ramdisk_id,omitempty"` OSEXTSRVATTRrootDeviceName *string `json:"OS-EXT-SRV-ATTR:root_device_name,omitempty"` OSEXTSRVATTRuserData *string `json:"OS-EXT-SRV-ATTR:user_data,omitempty"` Tags []string `json:"tags"` Locked *bool `json:"locked,omitempty"` AccessIPv4 string `json:"accessIPv4"` AccessIPv6 string `json:"accessIPv6"` ConfigDrive string `json:"config_drive"` Progress int32 `json:"progress"` OsschedulerHints *NovaServerSchedulerHints `json:"os:scheduler_hints,omitempty"` }
func (NovaServer) String ¶
func (o NovaServer) String() string
type NovaServerBlockDeviceMapping ¶
type NovaServerBlockDeviceMapping struct { SourceType NovaServerBlockDeviceMappingSourceType `json:"source_type"` DestinationType *NovaServerBlockDeviceMappingDestinationType `json:"destination_type,omitempty"` GuestFormat *string `json:"guest_format,omitempty"` DeviceName *string `json:"device_name,omitempty"` DeleteOnTermination *bool `json:"delete_on_termination,omitempty"` BootIndex *string `json:"boot_index,omitempty"` Uuid *string `json:"uuid,omitempty"` VolumeSize *int32 `json:"volume_size,omitempty"` VolumeType *string `json:"volume_type,omitempty"` }
扩展属性,指定弹性云服务器存储设备的v2接口。是存储资源的新版本接口,指定卷场景不能批创弹性云服务器。 裸金属服务器场景不支持。
func (NovaServerBlockDeviceMapping) String ¶
func (o NovaServerBlockDeviceMapping) String() string
type NovaServerBlockDeviceMappingDestinationType ¶
type NovaServerBlockDeviceMappingDestinationType struct {
// contains filtered or unexported fields
}
func (NovaServerBlockDeviceMappingDestinationType) MarshalJSON ¶
func (c NovaServerBlockDeviceMappingDestinationType) MarshalJSON() ([]byte, error)
func (*NovaServerBlockDeviceMappingDestinationType) UnmarshalJSON ¶
func (c *NovaServerBlockDeviceMappingDestinationType) UnmarshalJSON(b []byte) error
type NovaServerBlockDeviceMappingDestinationTypeEnum ¶
type NovaServerBlockDeviceMappingDestinationTypeEnum struct {
VOLUME NovaServerBlockDeviceMappingDestinationType
}
func GetNovaServerBlockDeviceMappingDestinationTypeEnum ¶
func GetNovaServerBlockDeviceMappingDestinationTypeEnum() NovaServerBlockDeviceMappingDestinationTypeEnum
type NovaServerBlockDeviceMappingSourceType ¶
type NovaServerBlockDeviceMappingSourceType struct {
// contains filtered or unexported fields
}
func (NovaServerBlockDeviceMappingSourceType) MarshalJSON ¶
func (c NovaServerBlockDeviceMappingSourceType) MarshalJSON() ([]byte, error)
func (*NovaServerBlockDeviceMappingSourceType) UnmarshalJSON ¶
func (c *NovaServerBlockDeviceMappingSourceType) UnmarshalJSON(b []byte) error
type NovaServerBlockDeviceMappingSourceTypeEnum ¶
type NovaServerBlockDeviceMappingSourceTypeEnum struct { BLANK NovaServerBlockDeviceMappingSourceType SNAPSHOT NovaServerBlockDeviceMappingSourceType VOLUME NovaServerBlockDeviceMappingSourceType IMAGE NovaServerBlockDeviceMappingSourceType }
func GetNovaServerBlockDeviceMappingSourceTypeEnum ¶
func GetNovaServerBlockDeviceMappingSourceTypeEnum() NovaServerBlockDeviceMappingSourceTypeEnum
type NovaServerFault ¶
type NovaServerFault struct { Code *int32 `json:"code,omitempty"` Created *string `json:"created,omitempty"` Message *string `json:"message,omitempty"` Details *string `json:"details,omitempty"` }
func (NovaServerFault) String ¶
func (o NovaServerFault) String() string
type NovaServerFlavor ¶
type NovaServerFlavor struct { Id *string `json:"id,omitempty"` Links *[]NovaLink `json:"links,omitempty"` Vcpus *int32 `json:"vcpus,omitempty"` Ram *int32 `json:"ram,omitempty"` Disk *int32 `json:"disk,omitempty"` Ephemeral *int32 `json:"ephemeral,omitempty"` Swap *int32 `json:"swap,omitempty"` OriginalName *string `json:"original_name,omitempty"` ExtraSpecs map[string]string `json:"extra_specs,omitempty"` }
func (NovaServerFlavor) String ¶
func (o NovaServerFlavor) String() string
type NovaServerHostStatus ¶
type NovaServerHostStatus struct {
// contains filtered or unexported fields
}
func (NovaServerHostStatus) MarshalJSON ¶
func (c NovaServerHostStatus) MarshalJSON() ([]byte, error)
func (*NovaServerHostStatus) UnmarshalJSON ¶
func (c *NovaServerHostStatus) UnmarshalJSON(b []byte) error
type NovaServerHostStatusEnum ¶
type NovaServerHostStatusEnum struct { UP NovaServerHostStatus UNKNOWN NovaServerHostStatus DOWN NovaServerHostStatus MAINTENANCE NovaServerHostStatus }
func GetNovaServerHostStatusEnum ¶
func GetNovaServerHostStatusEnum() NovaServerHostStatusEnum
type NovaServerImage ¶
func (NovaServerImage) String ¶
func (o NovaServerImage) String() string
type NovaServerNetwork ¶
type NovaServerNetwork struct { Port *string `json:"port,omitempty"` Uuid *string `json:"uuid,omitempty"` FixedIp *string `json:"fixed_ip,omitempty"` }
func (NovaServerNetwork) String ¶
func (o NovaServerNetwork) String() string
type NovaServerOSDCFdiskConfig ¶
type NovaServerOSDCFdiskConfig struct {
// contains filtered or unexported fields
}
func (NovaServerOSDCFdiskConfig) MarshalJSON ¶
func (c NovaServerOSDCFdiskConfig) MarshalJSON() ([]byte, error)
func (*NovaServerOSDCFdiskConfig) UnmarshalJSON ¶
func (c *NovaServerOSDCFdiskConfig) UnmarshalJSON(b []byte) error
type NovaServerOSDCFdiskConfigEnum ¶
type NovaServerOSDCFdiskConfigEnum struct { AUTO NovaServerOSDCFdiskConfig MANUAL NovaServerOSDCFdiskConfig }
func GetNovaServerOSDCFdiskConfigEnum ¶
func GetNovaServerOSDCFdiskConfigEnum() NovaServerOSDCFdiskConfigEnum
type NovaServerOSEXTSTStaskState ¶
type NovaServerOSEXTSTStaskState struct {
// contains filtered or unexported fields
}
func (NovaServerOSEXTSTStaskState) MarshalJSON ¶
func (c NovaServerOSEXTSTStaskState) MarshalJSON() ([]byte, error)
func (*NovaServerOSEXTSTStaskState) UnmarshalJSON ¶
func (c *NovaServerOSEXTSTStaskState) UnmarshalJSON(b []byte) error
type NovaServerOSEXTSTStaskStateEnum ¶
type NovaServerOSEXTSTStaskStateEnum struct { SHOUTOFF NovaServerOSEXTSTStaskState RESIZE NovaServerOSEXTSTStaskState REBUILD NovaServerOSEXTSTStaskState VERIFY_RESIZE NovaServerOSEXTSTStaskState REVERT_RESIZE NovaServerOSEXTSTStaskState PAUSED NovaServerOSEXTSTStaskState MIGRATING NovaServerOSEXTSTStaskState SUSPENDED NovaServerOSEXTSTStaskState RESCUE NovaServerOSEXTSTStaskState ERROR NovaServerOSEXTSTStaskState DELETED NovaServerOSEXTSTStaskState SOFT_DELETED NovaServerOSEXTSTStaskState SHELVED NovaServerOSEXTSTStaskState SHELVED_OFFLOADED NovaServerOSEXTSTStaskState }
func GetNovaServerOSEXTSTStaskStateEnum ¶
func GetNovaServerOSEXTSTStaskStateEnum() NovaServerOSEXTSTStaskStateEnum
type NovaServerOSEXTSTSvmState ¶
type NovaServerOSEXTSTSvmState struct {
// contains filtered or unexported fields
}
func (NovaServerOSEXTSTSvmState) MarshalJSON ¶
func (c NovaServerOSEXTSTSvmState) MarshalJSON() ([]byte, error)
func (*NovaServerOSEXTSTSvmState) UnmarshalJSON ¶
func (c *NovaServerOSEXTSTSvmState) UnmarshalJSON(b []byte) error
type NovaServerOSEXTSTSvmStateEnum ¶
type NovaServerOSEXTSTSvmStateEnum struct { ACTIVE NovaServerOSEXTSTSvmState BUILDING NovaServerOSEXTSTSvmState STOPPED NovaServerOSEXTSTSvmState RESIZED NovaServerOSEXTSTSvmState PAUSED NovaServerOSEXTSTSvmState SUSPENDED NovaServerOSEXTSTSvmState RESCUED NovaServerOSEXTSTSvmState ERROR NovaServerOSEXTSTSvmState DELETED NovaServerOSEXTSTSvmState SOFT_DELETED NovaServerOSEXTSTSvmState SHELVED NovaServerOSEXTSTSvmState SHELVED_OFFLOADED NovaServerOSEXTSTSvmState }
func GetNovaServerOSEXTSTSvmStateEnum ¶
func GetNovaServerOSEXTSTSvmStateEnum() NovaServerOSEXTSTSvmStateEnum
type NovaServerSchedulerHints ¶
type NovaServerSchedulerHints struct { Tenancy *[]NovaServerSchedulerHintsTenancy `json:"tenancy,omitempty"` DedicatedHostId *[]string `json:"dedicated_host_id,omitempty"` }
func (NovaServerSchedulerHints) String ¶
func (o NovaServerSchedulerHints) String() string
type NovaServerSchedulerHintsTenancy ¶
type NovaServerSchedulerHintsTenancy struct {
// contains filtered or unexported fields
}
func (NovaServerSchedulerHintsTenancy) MarshalJSON ¶
func (c NovaServerSchedulerHintsTenancy) MarshalJSON() ([]byte, error)
func (*NovaServerSchedulerHintsTenancy) UnmarshalJSON ¶
func (c *NovaServerSchedulerHintsTenancy) UnmarshalJSON(b []byte) error
type NovaServerSchedulerHintsTenancyEnum ¶
type NovaServerSchedulerHintsTenancyEnum struct { SHARED NovaServerSchedulerHintsTenancy DEDICATED NovaServerSchedulerHintsTenancy }
func GetNovaServerSchedulerHintsTenancyEnum ¶
func GetNovaServerSchedulerHintsTenancyEnum() NovaServerSchedulerHintsTenancyEnum
type NovaServerSecurityGroup ¶
type NovaServerSecurityGroup struct {
Name *string `json:"name,omitempty"`
}
func (NovaServerSecurityGroup) String ¶
func (o NovaServerSecurityGroup) String() string
type NovaServerStatus ¶
type NovaServerStatus struct {
// contains filtered or unexported fields
}
func (NovaServerStatus) MarshalJSON ¶
func (c NovaServerStatus) MarshalJSON() ([]byte, error)
func (*NovaServerStatus) UnmarshalJSON ¶
func (c *NovaServerStatus) UnmarshalJSON(b []byte) error
type NovaServerStatusEnum ¶
type NovaServerStatusEnum struct { ACTIVE NovaServerStatus BUILD NovaServerStatus DELETED NovaServerStatus ERROR NovaServerStatus HARD_REBOOT NovaServerStatus MIGRATING NovaServerStatus REBOOT NovaServerStatus RESIZE NovaServerStatus REVERT_RESIZE NovaServerStatus SHELVED NovaServerStatus SHELVED_OFFLOADED NovaServerStatus SHUTOFF NovaServerStatus UNKNOWN NovaServerStatus VERIFY_RESIZE NovaServerStatus }
func GetNovaServerStatusEnum ¶
func GetNovaServerStatusEnum() NovaServerStatusEnum
type NovaServerVolume ¶
type NovaServerVolume struct { Id string `json:"id"` DeleteOnTermination *bool `json:"delete_on_termination,omitempty"` }
func (NovaServerVolume) String ¶
func (o NovaServerVolume) String() string
type NovaShowKeypairRequest ¶
type NovaShowKeypairRequest struct { KeypairName string `json:"keypair_name"` OpenStackAPIVersion *string `json:"OpenStack-API-Version,omitempty"` }
Request Object
func (NovaShowKeypairRequest) String ¶
func (o NovaShowKeypairRequest) String() string
type NovaShowKeypairResponse ¶
type NovaShowKeypairResponse struct { Keypair *NovaKeypairDetail `json:"keypair,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaShowKeypairResponse) String ¶
func (o NovaShowKeypairResponse) String() string
type NovaShowServerRequest ¶
type NovaShowServerRequest struct { ServerId string `json:"server_id"` OpenStackAPIVersion *string `json:"OpenStack-API-Version,omitempty"` }
Request Object
func (NovaShowServerRequest) String ¶
func (o NovaShowServerRequest) String() string
type NovaShowServerResponse ¶
type NovaShowServerResponse struct { Server *NovaServer `json:"server,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (NovaShowServerResponse) String ¶
func (o NovaShowServerResponse) String() string
type NovaSimpleKeypair ¶
type NovaSimpleKeypair struct { Fingerprint string `json:"fingerprint"` Name string `json:"name"` PublicKey string `json:"public_key"` Type *string `json:"type,omitempty"` }
func (NovaSimpleKeypair) String ¶
func (o NovaSimpleKeypair) String() string
type PostPaidServer ¶
type PostPaidServer struct { AutoTerminateTime *string `json:"auto_terminate_time,omitempty"` AdminPass *string `json:"adminPass,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` Count *int32 `json:"count,omitempty"` DataVolumes *[]PostPaidServerDataVolume `json:"data_volumes,omitempty"` Extendparam *PostPaidServerExtendParam `json:"extendparam,omitempty"` FlavorRef string `json:"flavorRef"` ImageRef string `json:"imageRef"` IsAutoRename *bool `json:"isAutoRename,omitempty"` KeyName *string `json:"key_name,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` Name string `json:"name"` Nics []PostPaidServerNic `json:"nics"` OsschedulerHints *PostPaidServerSchedulerHints `json:"os:scheduler_hints,omitempty"` Publicip *PostPaidServerPublicip `json:"publicip,omitempty"` RootVolume *PostPaidServerRootVolume `json:"root_volume"` SecurityGroups *[]PostPaidServerSecurityGroup `json:"security_groups,omitempty"` ServerTags *[]PostPaidServerTag `json:"server_tags,omitempty"` Tags *[]string `json:"tags,omitempty"` UserData *string `json:"user_data,omitempty"` Vpcid string `json:"vpcid"` Description *string `json:"description,omitempty"` }
创建弹性云服务器(按需)接口Body体。
func (PostPaidServer) String ¶
func (o PostPaidServer) String() string
type PostPaidServerDataVolume ¶
type PostPaidServerDataVolume struct { Volumetype PostPaidServerDataVolumeVolumetype `json:"volumetype"` Size int32 `json:"size"` Multiattach *bool `json:"multiattach,omitempty"` Hwpassthrough *bool `json:"hw:passthrough,omitempty"` Extendparam *PostPaidServerDataVolumeExtendParam `json:"extendparam,omitempty"` ClusterType *PostPaidServerDataVolumeClusterType `json:"cluster_type,omitempty"` ClusterId *string `json:"cluster_id,omitempty"` Metadata *PostPaidServerDataVolumeMetadata `json:"metadata,omitempty"` DataImageId *string `json:"data_image_id,omitempty"` }
云服务器对应数据盘相关配置。
func (PostPaidServerDataVolume) String ¶
func (o PostPaidServerDataVolume) String() string
type PostPaidServerDataVolumeClusterType ¶
type PostPaidServerDataVolumeClusterType struct {
// contains filtered or unexported fields
}
func (PostPaidServerDataVolumeClusterType) MarshalJSON ¶
func (c PostPaidServerDataVolumeClusterType) MarshalJSON() ([]byte, error)
func (*PostPaidServerDataVolumeClusterType) UnmarshalJSON ¶
func (c *PostPaidServerDataVolumeClusterType) UnmarshalJSON(b []byte) error
type PostPaidServerDataVolumeClusterTypeEnum ¶
type PostPaidServerDataVolumeClusterTypeEnum struct {
DSS PostPaidServerDataVolumeClusterType
}
func GetPostPaidServerDataVolumeClusterTypeEnum ¶
func GetPostPaidServerDataVolumeClusterTypeEnum() PostPaidServerDataVolumeClusterTypeEnum
type PostPaidServerDataVolumeExtendParam ¶
type PostPaidServerDataVolumeExtendParam struct { ResourceSpecCode *string `json:"resourceSpecCode,omitempty"` ResourceType *string `json:"resourceType,omitempty"` SnapshotId *string `json:"snapshotId,omitempty"` }
创建磁盘的extendparam字段
func (PostPaidServerDataVolumeExtendParam) String ¶
func (o PostPaidServerDataVolumeExtendParam) String() string
type PostPaidServerDataVolumeMetadata ¶
type PostPaidServerDataVolumeMetadata struct { SystemEncrypted *string `json:"__system__encrypted,omitempty"` SystemCmkid *string `json:"__system__cmkid,omitempty"` }
> 说明: > > 如果是从镜像创建云硬盘,则不支持传入“__system__encrypted”和“__system__cmkid”字段,创建出来的云硬盘与镜像的加密属性一致。
func (PostPaidServerDataVolumeMetadata) String ¶
func (o PostPaidServerDataVolumeMetadata) String() string
type PostPaidServerDataVolumeVolumetype ¶
type PostPaidServerDataVolumeVolumetype struct {
// contains filtered or unexported fields
}
func (PostPaidServerDataVolumeVolumetype) MarshalJSON ¶
func (c PostPaidServerDataVolumeVolumetype) MarshalJSON() ([]byte, error)
func (*PostPaidServerDataVolumeVolumetype) UnmarshalJSON ¶
func (c *PostPaidServerDataVolumeVolumetype) UnmarshalJSON(b []byte) error
type PostPaidServerDataVolumeVolumetypeEnum ¶
type PostPaidServerDataVolumeVolumetypeEnum struct { SATA PostPaidServerDataVolumeVolumetype SAS PostPaidServerDataVolumeVolumetype SSD PostPaidServerDataVolumeVolumetype GPSSD PostPaidServerDataVolumeVolumetype CO_P1 PostPaidServerDataVolumeVolumetype UH_L1 PostPaidServerDataVolumeVolumetype }
func GetPostPaidServerDataVolumeVolumetypeEnum ¶
func GetPostPaidServerDataVolumeVolumetypeEnum() PostPaidServerDataVolumeVolumetypeEnum
type PostPaidServerEip ¶
type PostPaidServerEip struct { Iptype string `json:"iptype"` Bandwidth *PostPaidServerEipBandwidth `json:"bandwidth"` Extendparam *PostPaidServerEipExtendParam `json:"extendparam,omitempty"` }
func (PostPaidServerEip) String ¶
func (o PostPaidServerEip) String() string
type PostPaidServerEipBandwidth ¶
type PostPaidServerEipBandwidth struct { Size *int32 `json:"size,omitempty"` Chargemode *string `json:"chargemode,omitempty"` Id *string `json:"id,omitempty"` }
func (PostPaidServerEipBandwidth) String ¶
func (o PostPaidServerEipBandwidth) String() string
type PostPaidServerEipBandwidthSharetype ¶
type PostPaidServerEipBandwidthSharetype struct {
// contains filtered or unexported fields
}
func (PostPaidServerEipBandwidthSharetype) MarshalJSON ¶
func (c PostPaidServerEipBandwidthSharetype) MarshalJSON() ([]byte, error)
func (*PostPaidServerEipBandwidthSharetype) UnmarshalJSON ¶
func (c *PostPaidServerEipBandwidthSharetype) UnmarshalJSON(b []byte) error
type PostPaidServerEipBandwidthSharetypeEnum ¶
type PostPaidServerEipBandwidthSharetypeEnum struct {}
func GetPostPaidServerEipBandwidthSharetypeEnum ¶
func GetPostPaidServerEipBandwidthSharetypeEnum() PostPaidServerEipBandwidthSharetypeEnum
type PostPaidServerEipExtendParam ¶
type PostPaidServerEipExtendParam struct {
ChargingMode *PostPaidServerEipExtendParamChargingMode `json:"chargingMode,omitempty"`
}
func (PostPaidServerEipExtendParam) String ¶
func (o PostPaidServerEipExtendParam) String() string
type PostPaidServerEipExtendParamChargingMode ¶
type PostPaidServerEipExtendParamChargingMode struct {
// contains filtered or unexported fields
}
func (PostPaidServerEipExtendParamChargingMode) MarshalJSON ¶
func (c PostPaidServerEipExtendParamChargingMode) MarshalJSON() ([]byte, error)
func (*PostPaidServerEipExtendParamChargingMode) UnmarshalJSON ¶
func (c *PostPaidServerEipExtendParamChargingMode) UnmarshalJSON(b []byte) error
type PostPaidServerEipExtendParamChargingModeEnum ¶
type PostPaidServerEipExtendParamChargingModeEnum struct { PRE_PAID PostPaidServerEipExtendParamChargingMode POST_PAID PostPaidServerEipExtendParamChargingMode }
func GetPostPaidServerEipExtendParamChargingModeEnum ¶
func GetPostPaidServerEipExtendParamChargingModeEnum() PostPaidServerEipExtendParamChargingModeEnum
type PostPaidServerExtendParam ¶
type PostPaidServerExtendParam struct { ChargingMode *int32 `json:"chargingMode,omitempty"` RegionID *string `json:"regionID,omitempty"` SupportAutoRecovery *bool `json:"support_auto_recovery,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` MarketType *string `json:"marketType,omitempty"` SpotPrice *string `json:"spotPrice,omitempty"` DiskPrior *string `json:"diskPrior,omitempty"` SpotDurationHours *int32 `json:"spot_duration_hours,omitempty"` InterruptionPolicy *PostPaidServerExtendParamInterruptionPolicy `json:"interruption_policy,omitempty"` SpotDurationCount *int32 `json:"spot_duration_count,omitempty"` CbCsbsBackup *string `json:"CB_CSBS_BACKUP,omitempty"` }
func (PostPaidServerExtendParam) String ¶
func (o PostPaidServerExtendParam) String() string
type PostPaidServerExtendParamInterruptionPolicy ¶
type PostPaidServerExtendParamInterruptionPolicy struct {
// contains filtered or unexported fields
}
func (PostPaidServerExtendParamInterruptionPolicy) MarshalJSON ¶
func (c PostPaidServerExtendParamInterruptionPolicy) MarshalJSON() ([]byte, error)
func (*PostPaidServerExtendParamInterruptionPolicy) UnmarshalJSON ¶
func (c *PostPaidServerExtendParamInterruptionPolicy) UnmarshalJSON(b []byte) error
type PostPaidServerExtendParamInterruptionPolicyEnum ¶
type PostPaidServerExtendParamInterruptionPolicyEnum struct {
IMMEDIATE PostPaidServerExtendParamInterruptionPolicy
}
func GetPostPaidServerExtendParamInterruptionPolicyEnum ¶
func GetPostPaidServerExtendParamInterruptionPolicyEnum() PostPaidServerExtendParamInterruptionPolicyEnum
type PostPaidServerIpv6Bandwidth ¶
type PostPaidServerIpv6Bandwidth struct {
Id *string `json:"id,omitempty"`
}
IPV6共享带宽。
func (PostPaidServerIpv6Bandwidth) String ¶
func (o PostPaidServerIpv6Bandwidth) String() string
type PostPaidServerNic ¶
type PostPaidServerNic struct { SubnetId string `json:"subnet_id"` IpAddress *string `json:"ip_address,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` Ipv6Bandwidth *PostPaidServerIpv6Bandwidth `json:"ipv6_bandwidth,omitempty"` }
待创建云服务器的网卡信息。
func (PostPaidServerNic) String ¶
func (o PostPaidServerNic) String() string
type PostPaidServerPublicip ¶
type PostPaidServerPublicip struct { Id *string `json:"id,omitempty"` Eip *PostPaidServerEip `json:"eip,omitempty"` }
func (PostPaidServerPublicip) String ¶
func (o PostPaidServerPublicip) String() string
type PostPaidServerRootVolume ¶
type PostPaidServerRootVolume struct { Volumetype PostPaidServerRootVolumeVolumetype `json:"volumetype"` Size *int32 `json:"size,omitempty"` Hwpassthrough *bool `json:"hw:passthrough,omitempty"` ClusterType *PostPaidServerRootVolumeClusterType `json:"cluster_type,omitempty"` ClusterId *string `json:"cluster_id,omitempty"` Extendparam *PostPaidServerRootVolumeExtendParam `json:"extendparam,omitempty"` }
func (PostPaidServerRootVolume) String ¶
func (o PostPaidServerRootVolume) String() string
type PostPaidServerRootVolumeClusterType ¶
type PostPaidServerRootVolumeClusterType struct {
// contains filtered or unexported fields
}
func (PostPaidServerRootVolumeClusterType) MarshalJSON ¶
func (c PostPaidServerRootVolumeClusterType) MarshalJSON() ([]byte, error)
func (*PostPaidServerRootVolumeClusterType) UnmarshalJSON ¶
func (c *PostPaidServerRootVolumeClusterType) UnmarshalJSON(b []byte) error
type PostPaidServerRootVolumeClusterTypeEnum ¶
type PostPaidServerRootVolumeClusterTypeEnum struct {
DSS PostPaidServerRootVolumeClusterType
}
func GetPostPaidServerRootVolumeClusterTypeEnum ¶
func GetPostPaidServerRootVolumeClusterTypeEnum() PostPaidServerRootVolumeClusterTypeEnum
type PostPaidServerRootVolumeExtendParam ¶
type PostPaidServerRootVolumeExtendParam struct { ResourceSpecCode *string `json:"resourceSpecCode,omitempty"` ResourceType *string `json:"resourceType,omitempty"` SnapshotId *string `json:"snapshotId,omitempty"` }
func (PostPaidServerRootVolumeExtendParam) String ¶
func (o PostPaidServerRootVolumeExtendParam) String() string
type PostPaidServerRootVolumeVolumetype ¶
type PostPaidServerRootVolumeVolumetype struct {
// contains filtered or unexported fields
}
func (PostPaidServerRootVolumeVolumetype) MarshalJSON ¶
func (c PostPaidServerRootVolumeVolumetype) MarshalJSON() ([]byte, error)
func (*PostPaidServerRootVolumeVolumetype) UnmarshalJSON ¶
func (c *PostPaidServerRootVolumeVolumetype) UnmarshalJSON(b []byte) error
type PostPaidServerRootVolumeVolumetypeEnum ¶
type PostPaidServerRootVolumeVolumetypeEnum struct { SATA PostPaidServerRootVolumeVolumetype SAS PostPaidServerRootVolumeVolumetype SSD PostPaidServerRootVolumeVolumetype GPSSD PostPaidServerRootVolumeVolumetype CO_P1 PostPaidServerRootVolumeVolumetype UH_L1 PostPaidServerRootVolumeVolumetype }
func GetPostPaidServerRootVolumeVolumetypeEnum ¶
func GetPostPaidServerRootVolumeVolumetypeEnum() PostPaidServerRootVolumeVolumetypeEnum
type PostPaidServerSchedulerHints ¶
type PostPaidServerSchedulerHints struct { Group *string `json:"group,omitempty"` DedicatedHostId *string `json:"dedicated_host_id,omitempty"` Tenancy *string `json:"tenancy,omitempty"` }
func (PostPaidServerSchedulerHints) String ¶
func (o PostPaidServerSchedulerHints) String() string
type PostPaidServerSecurityGroup ¶
type PostPaidServerSecurityGroup struct {
Id *string `json:"id,omitempty"`
}
func (PostPaidServerSecurityGroup) String ¶
func (o PostPaidServerSecurityGroup) String() string
type PostPaidServerTag ¶
弹性云服务器的标签。
func (PostPaidServerTag) String ¶
func (o PostPaidServerTag) String() string
type PrePaidServer ¶
type PrePaidServer struct { AutoTerminateTime *string `json:"auto_terminate_time,omitempty"` ImageRef string `json:"imageRef"` FlavorRef string `json:"flavorRef"` Name string `json:"name"` UserData *string `json:"user_data,omitempty"` AdminPass *string `json:"adminPass,omitempty"` KeyName *string `json:"key_name,omitempty"` Vpcid string `json:"vpcid"` Nics []PrePaidServerNic `json:"nics"` Publicip *PrePaidServerPublicip `json:"publicip,omitempty"` Count *int32 `json:"count,omitempty"` IsAutoRename *bool `json:"isAutoRename,omitempty"` RootVolume *PrePaidServerRootVolume `json:"root_volume"` DataVolumes *[]PrePaidServerDataVolume `json:"data_volumes,omitempty"` SecurityGroups *[]PrePaidServerSecurityGroup `json:"security_groups,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` Extendparam *PrePaidServerExtendParam `json:"extendparam,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` OsschedulerHints *PrePaidServerSchedulerHints `json:"os:scheduler_hints,omitempty"` Tags *[]string `json:"tags,omitempty"` ServerTags *[]PrePaidServerTag `json:"server_tags,omitempty"` Description *string `json:"description,omitempty"` }
创建弹性云服务器(包周期)接口Body体。
func (PrePaidServer) String ¶
func (o PrePaidServer) String() string
type PrePaidServerDataVolume ¶
type PrePaidServerDataVolume struct { Volumetype PrePaidServerDataVolumeVolumetype `json:"volumetype"` Size int32 `json:"size"` Multiattach *bool `json:"multiattach,omitempty"` Hwpassthrough *bool `json:"hw:passthrough,omitempty"` Extendparam *PrePaidServerDataVolumeExtendParam `json:"extendparam,omitempty"` ClusterType *PrePaidServerDataVolumeClusterType `json:"cluster_type,omitempty"` ClusterId *string `json:"cluster_id,omitempty"` Metadata *PrePaidServerDataVolumeMetadata `json:"metadata,omitempty"` DataImageId *string `json:"data_image_id,omitempty"` }
云服务器对应数据盘相关配置。
func (PrePaidServerDataVolume) String ¶
func (o PrePaidServerDataVolume) String() string
type PrePaidServerDataVolumeClusterType ¶
type PrePaidServerDataVolumeClusterType struct {
// contains filtered or unexported fields
}
func (PrePaidServerDataVolumeClusterType) MarshalJSON ¶
func (c PrePaidServerDataVolumeClusterType) MarshalJSON() ([]byte, error)
func (*PrePaidServerDataVolumeClusterType) UnmarshalJSON ¶
func (c *PrePaidServerDataVolumeClusterType) UnmarshalJSON(b []byte) error
type PrePaidServerDataVolumeClusterTypeEnum ¶
type PrePaidServerDataVolumeClusterTypeEnum struct {
DSS PrePaidServerDataVolumeClusterType
}
func GetPrePaidServerDataVolumeClusterTypeEnum ¶
func GetPrePaidServerDataVolumeClusterTypeEnum() PrePaidServerDataVolumeClusterTypeEnum
type PrePaidServerDataVolumeExtendParam ¶
type PrePaidServerDataVolumeExtendParam struct { ResourceSpecCode *string `json:"resourceSpecCode,omitempty"` ResourceType *string `json:"resourceType,omitempty"` SnapshotId *string `json:"snapshotId,omitempty"` }
创建磁盘的extendparam字段
func (PrePaidServerDataVolumeExtendParam) String ¶
func (o PrePaidServerDataVolumeExtendParam) String() string
type PrePaidServerDataVolumeMetadata ¶
type PrePaidServerDataVolumeMetadata struct { SystemEncrypted *string `json:"__system__encrypted,omitempty"` SystemCmkid *string `json:"__system__cmkid,omitempty"` }
> 说明: > > 如果是从镜像创建云硬盘,则不支持传入“__system__encrypted”和“__system__cmkid”字段,创建出来的云硬盘与镜像的加密属性一致。
func (PrePaidServerDataVolumeMetadata) String ¶
func (o PrePaidServerDataVolumeMetadata) String() string
type PrePaidServerDataVolumeVolumetype ¶
type PrePaidServerDataVolumeVolumetype struct {
// contains filtered or unexported fields
}
func (PrePaidServerDataVolumeVolumetype) MarshalJSON ¶
func (c PrePaidServerDataVolumeVolumetype) MarshalJSON() ([]byte, error)
func (*PrePaidServerDataVolumeVolumetype) UnmarshalJSON ¶
func (c *PrePaidServerDataVolumeVolumetype) UnmarshalJSON(b []byte) error
type PrePaidServerDataVolumeVolumetypeEnum ¶
type PrePaidServerDataVolumeVolumetypeEnum struct { SATA PrePaidServerDataVolumeVolumetype SAS PrePaidServerDataVolumeVolumetype SSD PrePaidServerDataVolumeVolumetype GPSSD PrePaidServerDataVolumeVolumetype CO_P1 PrePaidServerDataVolumeVolumetype UH_L1 PrePaidServerDataVolumeVolumetype }
func GetPrePaidServerDataVolumeVolumetypeEnum ¶
func GetPrePaidServerDataVolumeVolumetypeEnum() PrePaidServerDataVolumeVolumetypeEnum
type PrePaidServerEip ¶
type PrePaidServerEip struct { Iptype string `json:"iptype"` Bandwidth *PrePaidServerEipBandwidth `json:"bandwidth"` Extendparam *PrePaidServerEipExtendParam `json:"extendparam,omitempty"` }
func (PrePaidServerEip) String ¶
func (o PrePaidServerEip) String() string
type PrePaidServerEipBandwidth ¶
type PrePaidServerEipBandwidth struct { Size *int32 `json:"size,omitempty"` Chargemode *string `json:"chargemode,omitempty"` Id *string `json:"id,omitempty"` }
func (PrePaidServerEipBandwidth) String ¶
func (o PrePaidServerEipBandwidth) String() string
type PrePaidServerEipBandwidthSharetype ¶
type PrePaidServerEipBandwidthSharetype struct {
// contains filtered or unexported fields
}
func (PrePaidServerEipBandwidthSharetype) MarshalJSON ¶
func (c PrePaidServerEipBandwidthSharetype) MarshalJSON() ([]byte, error)
func (*PrePaidServerEipBandwidthSharetype) UnmarshalJSON ¶
func (c *PrePaidServerEipBandwidthSharetype) UnmarshalJSON(b []byte) error
type PrePaidServerEipBandwidthSharetypeEnum ¶
type PrePaidServerEipBandwidthSharetypeEnum struct {}
func GetPrePaidServerEipBandwidthSharetypeEnum ¶
func GetPrePaidServerEipBandwidthSharetypeEnum() PrePaidServerEipBandwidthSharetypeEnum
type PrePaidServerEipExtendParam ¶
type PrePaidServerEipExtendParam struct {
ChargingMode *PrePaidServerEipExtendParamChargingMode `json:"chargingMode,omitempty"`
}
func (PrePaidServerEipExtendParam) String ¶
func (o PrePaidServerEipExtendParam) String() string
type PrePaidServerEipExtendParamChargingMode ¶
type PrePaidServerEipExtendParamChargingMode struct {
// contains filtered or unexported fields
}
func (PrePaidServerEipExtendParamChargingMode) MarshalJSON ¶
func (c PrePaidServerEipExtendParamChargingMode) MarshalJSON() ([]byte, error)
func (*PrePaidServerEipExtendParamChargingMode) UnmarshalJSON ¶
func (c *PrePaidServerEipExtendParamChargingMode) UnmarshalJSON(b []byte) error
type PrePaidServerEipExtendParamChargingModeEnum ¶
type PrePaidServerEipExtendParamChargingModeEnum struct { PRE_PAID PrePaidServerEipExtendParamChargingMode POST_PAID PrePaidServerEipExtendParamChargingMode }
func GetPrePaidServerEipExtendParamChargingModeEnum ¶
func GetPrePaidServerEipExtendParamChargingModeEnum() PrePaidServerEipExtendParamChargingModeEnum
type PrePaidServerExtendParam ¶
type PrePaidServerExtendParam struct { ChargingMode *PrePaidServerExtendParamChargingMode `json:"chargingMode,omitempty"` RegionID *string `json:"regionID,omitempty"` PeriodType *PrePaidServerExtendParamPeriodType `json:"periodType,omitempty"` PeriodNum *int32 `json:"periodNum,omitempty"` IsAutoRenew *PrePaidServerExtendParamIsAutoRenew `json:"isAutoRenew,omitempty"` IsAutoPay *PrePaidServerExtendParamIsAutoPay `json:"isAutoPay,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` SupportAutoRecovery *bool `json:"support_auto_recovery,omitempty"` MarketType *string `json:"marketType,omitempty"` SpotPrice *string `json:"spotPrice,omitempty"` DiskPrior *string `json:"diskPrior,omitempty"` SpotDurationHours *int32 `json:"spot_duration_hours,omitempty"` InterruptionPolicy *PrePaidServerExtendParamInterruptionPolicy `json:"interruption_policy,omitempty"` SpotDurationCount *int32 `json:"spot_duration_count,omitempty"` }
func (PrePaidServerExtendParam) String ¶
func (o PrePaidServerExtendParam) String() string
type PrePaidServerExtendParamChargingMode ¶
type PrePaidServerExtendParamChargingMode struct {
// contains filtered or unexported fields
}
func (PrePaidServerExtendParamChargingMode) MarshalJSON ¶
func (c PrePaidServerExtendParamChargingMode) MarshalJSON() ([]byte, error)
func (*PrePaidServerExtendParamChargingMode) UnmarshalJSON ¶
func (c *PrePaidServerExtendParamChargingMode) UnmarshalJSON(b []byte) error
type PrePaidServerExtendParamChargingModeEnum ¶
type PrePaidServerExtendParamChargingModeEnum struct { PRE_PAID PrePaidServerExtendParamChargingMode POST_PAID PrePaidServerExtendParamChargingMode }
func GetPrePaidServerExtendParamChargingModeEnum ¶
func GetPrePaidServerExtendParamChargingModeEnum() PrePaidServerExtendParamChargingModeEnum
type PrePaidServerExtendParamInterruptionPolicy ¶
type PrePaidServerExtendParamInterruptionPolicy struct {
// contains filtered or unexported fields
}
func (PrePaidServerExtendParamInterruptionPolicy) MarshalJSON ¶
func (c PrePaidServerExtendParamInterruptionPolicy) MarshalJSON() ([]byte, error)
func (*PrePaidServerExtendParamInterruptionPolicy) UnmarshalJSON ¶
func (c *PrePaidServerExtendParamInterruptionPolicy) UnmarshalJSON(b []byte) error
type PrePaidServerExtendParamInterruptionPolicyEnum ¶
type PrePaidServerExtendParamInterruptionPolicyEnum struct {
IMMEDIATE PrePaidServerExtendParamInterruptionPolicy
}
func GetPrePaidServerExtendParamInterruptionPolicyEnum ¶
func GetPrePaidServerExtendParamInterruptionPolicyEnum() PrePaidServerExtendParamInterruptionPolicyEnum
type PrePaidServerExtendParamIsAutoPay ¶
type PrePaidServerExtendParamIsAutoPay struct {
// contains filtered or unexported fields
}
func (PrePaidServerExtendParamIsAutoPay) MarshalJSON ¶
func (c PrePaidServerExtendParamIsAutoPay) MarshalJSON() ([]byte, error)
func (*PrePaidServerExtendParamIsAutoPay) UnmarshalJSON ¶
func (c *PrePaidServerExtendParamIsAutoPay) UnmarshalJSON(b []byte) error
type PrePaidServerExtendParamIsAutoPayEnum ¶
type PrePaidServerExtendParamIsAutoPayEnum struct { TRUE PrePaidServerExtendParamIsAutoPay FALSE PrePaidServerExtendParamIsAutoPay }
func GetPrePaidServerExtendParamIsAutoPayEnum ¶
func GetPrePaidServerExtendParamIsAutoPayEnum() PrePaidServerExtendParamIsAutoPayEnum
type PrePaidServerExtendParamIsAutoRenew ¶
type PrePaidServerExtendParamIsAutoRenew struct {
// contains filtered or unexported fields
}
func (PrePaidServerExtendParamIsAutoRenew) MarshalJSON ¶
func (c PrePaidServerExtendParamIsAutoRenew) MarshalJSON() ([]byte, error)
func (*PrePaidServerExtendParamIsAutoRenew) UnmarshalJSON ¶
func (c *PrePaidServerExtendParamIsAutoRenew) UnmarshalJSON(b []byte) error
type PrePaidServerExtendParamIsAutoRenewEnum ¶
type PrePaidServerExtendParamIsAutoRenewEnum struct { TRUE PrePaidServerExtendParamIsAutoRenew FALSE PrePaidServerExtendParamIsAutoRenew }
func GetPrePaidServerExtendParamIsAutoRenewEnum ¶
func GetPrePaidServerExtendParamIsAutoRenewEnum() PrePaidServerExtendParamIsAutoRenewEnum
type PrePaidServerExtendParamPeriodType ¶
type PrePaidServerExtendParamPeriodType struct {
// contains filtered or unexported fields
}
func (PrePaidServerExtendParamPeriodType) MarshalJSON ¶
func (c PrePaidServerExtendParamPeriodType) MarshalJSON() ([]byte, error)
func (*PrePaidServerExtendParamPeriodType) UnmarshalJSON ¶
func (c *PrePaidServerExtendParamPeriodType) UnmarshalJSON(b []byte) error
type PrePaidServerExtendParamPeriodTypeEnum ¶
type PrePaidServerExtendParamPeriodTypeEnum struct { MONTH PrePaidServerExtendParamPeriodType YEAR PrePaidServerExtendParamPeriodType }
func GetPrePaidServerExtendParamPeriodTypeEnum ¶
func GetPrePaidServerExtendParamPeriodTypeEnum() PrePaidServerExtendParamPeriodTypeEnum
type PrePaidServerIpv6Bandwidth ¶
type PrePaidServerIpv6Bandwidth struct {
Id *string `json:"id,omitempty"`
}
IPV6共享带宽。
func (PrePaidServerIpv6Bandwidth) String ¶
func (o PrePaidServerIpv6Bandwidth) String() string
type PrePaidServerNic ¶
type PrePaidServerNic struct { SubnetId string `json:"subnet_id"` IpAddress *string `json:"ip_address,omitempty"` Ipv6Enable *bool `json:"ipv6_enable,omitempty"` Ipv6Bandwidth *PrePaidServerIpv6Bandwidth `json:"ipv6_bandwidth,omitempty"` }
待创建云服务器的网卡信息。
func (PrePaidServerNic) String ¶
func (o PrePaidServerNic) String() string
type PrePaidServerPublicip ¶
type PrePaidServerPublicip struct { Id *string `json:"id,omitempty"` Eip *PrePaidServerEip `json:"eip,omitempty"` DeleteOnTermination *bool `json:"delete_on_termination,omitempty"` }
func (PrePaidServerPublicip) String ¶
func (o PrePaidServerPublicip) String() string
type PrePaidServerRootVolume ¶
type PrePaidServerRootVolume struct { Volumetype PrePaidServerRootVolumeVolumetype `json:"volumetype"` Size *int32 `json:"size,omitempty"` Extendparam *PrePaidServerRootVolumeExtendParam `json:"extendparam,omitempty"` ClusterType *PrePaidServerRootVolumeClusterType `json:"cluster_type,omitempty"` ClusterId *string `json:"cluster_id,omitempty"` Hwpassthrough *bool `json:"hw:passthrough,omitempty"` }
func (PrePaidServerRootVolume) String ¶
func (o PrePaidServerRootVolume) String() string
type PrePaidServerRootVolumeClusterType ¶
type PrePaidServerRootVolumeClusterType struct {
// contains filtered or unexported fields
}
func (PrePaidServerRootVolumeClusterType) MarshalJSON ¶
func (c PrePaidServerRootVolumeClusterType) MarshalJSON() ([]byte, error)
func (*PrePaidServerRootVolumeClusterType) UnmarshalJSON ¶
func (c *PrePaidServerRootVolumeClusterType) UnmarshalJSON(b []byte) error
type PrePaidServerRootVolumeClusterTypeEnum ¶
type PrePaidServerRootVolumeClusterTypeEnum struct {
DSS PrePaidServerRootVolumeClusterType
}
func GetPrePaidServerRootVolumeClusterTypeEnum ¶
func GetPrePaidServerRootVolumeClusterTypeEnum() PrePaidServerRootVolumeClusterTypeEnum
type PrePaidServerRootVolumeExtendParam ¶
type PrePaidServerRootVolumeExtendParam struct { ResourceSpecCode *string `json:"resourceSpecCode,omitempty"` ResourceType *string `json:"resourceType,omitempty"` SnapshotId *string `json:"snapshotId,omitempty"` }
func (PrePaidServerRootVolumeExtendParam) String ¶
func (o PrePaidServerRootVolumeExtendParam) String() string
type PrePaidServerRootVolumeVolumetype ¶
type PrePaidServerRootVolumeVolumetype struct {
// contains filtered or unexported fields
}
func (PrePaidServerRootVolumeVolumetype) MarshalJSON ¶
func (c PrePaidServerRootVolumeVolumetype) MarshalJSON() ([]byte, error)
func (*PrePaidServerRootVolumeVolumetype) UnmarshalJSON ¶
func (c *PrePaidServerRootVolumeVolumetype) UnmarshalJSON(b []byte) error
type PrePaidServerRootVolumeVolumetypeEnum ¶
type PrePaidServerRootVolumeVolumetypeEnum struct { SATA PrePaidServerRootVolumeVolumetype SAS PrePaidServerRootVolumeVolumetype SSD PrePaidServerRootVolumeVolumetype GPSSD PrePaidServerRootVolumeVolumetype CO_P1 PrePaidServerRootVolumeVolumetype UH_L1 PrePaidServerRootVolumeVolumetype }
func GetPrePaidServerRootVolumeVolumetypeEnum ¶
func GetPrePaidServerRootVolumeVolumetypeEnum() PrePaidServerRootVolumeVolumetypeEnum
type PrePaidServerSchedulerHints ¶
type PrePaidServerSchedulerHints struct { Group *string `json:"group,omitempty"` Tenancy *PrePaidServerSchedulerHintsTenancy `json:"tenancy,omitempty"` DedicatedHostId *string `json:"dedicated_host_id,omitempty"` }
func (PrePaidServerSchedulerHints) String ¶
func (o PrePaidServerSchedulerHints) String() string
type PrePaidServerSchedulerHintsTenancy ¶
type PrePaidServerSchedulerHintsTenancy struct {
// contains filtered or unexported fields
}
func (PrePaidServerSchedulerHintsTenancy) MarshalJSON ¶
func (c PrePaidServerSchedulerHintsTenancy) MarshalJSON() ([]byte, error)
func (*PrePaidServerSchedulerHintsTenancy) UnmarshalJSON ¶
func (c *PrePaidServerSchedulerHintsTenancy) UnmarshalJSON(b []byte) error
type PrePaidServerSchedulerHintsTenancyEnum ¶
type PrePaidServerSchedulerHintsTenancyEnum struct { SHARED PrePaidServerSchedulerHintsTenancy DEDICATED PrePaidServerSchedulerHintsTenancy }
func GetPrePaidServerSchedulerHintsTenancyEnum ¶
func GetPrePaidServerSchedulerHintsTenancyEnum() PrePaidServerSchedulerHintsTenancyEnum
type PrePaidServerSecurityGroup ¶
type PrePaidServerSecurityGroup struct {
Id *string `json:"id,omitempty"`
}
func (PrePaidServerSecurityGroup) String ¶
func (o PrePaidServerSecurityGroup) String() string
type PrePaidServerTag ¶
弹性云服务器的标签。
func (PrePaidServerTag) String ¶
func (o PrePaidServerTag) String() string
type ProjectFlavorLimit ¶
type ProjectFlavorLimit struct { }
func (ProjectFlavorLimit) String ¶
func (o ProjectFlavorLimit) String() string
type RegisterServerAutoRecoveryRequest ¶
type RegisterServerAutoRecoveryRequest struct { ServerId string `json:"server_id"` Body *RegisterServerAutoRecoveryRequestBody `json:"body,omitempty"` }
Request Object
func (RegisterServerAutoRecoveryRequest) String ¶
func (o RegisterServerAutoRecoveryRequest) String() string
type RegisterServerAutoRecoveryRequestBody ¶
type RegisterServerAutoRecoveryRequestBody struct {
SupportAutoRecovery string `json:"support_auto_recovery"`
}
This is a auto create Body Object
func (RegisterServerAutoRecoveryRequestBody) String ¶
func (o RegisterServerAutoRecoveryRequestBody) String() string
type RegisterServerAutoRecoveryResponse ¶
type RegisterServerAutoRecoveryResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RegisterServerAutoRecoveryResponse) String ¶
func (o RegisterServerAutoRecoveryResponse) String() string
type ReinstallServerWithCloudInitOption ¶
type ReinstallServerWithCloudInitOption struct { Adminpass *string `json:"adminpass,omitempty"` Keyname *string `json:"keyname,omitempty"` Userid *string `json:"userid,omitempty"` Metadata *ReinstallSeverMetadata `json:"metadata,omitempty"` Mode *string `json:"mode,omitempty"` }
重装操作系统body。
func (ReinstallServerWithCloudInitOption) String ¶
func (o ReinstallServerWithCloudInitOption) String() string
type ReinstallServerWithCloudInitRequest ¶
type ReinstallServerWithCloudInitRequest struct { ServerId string `json:"server_id"` Body *ReinstallServerWithCloudInitRequestBody `json:"body,omitempty"` }
Request Object
func (ReinstallServerWithCloudInitRequest) String ¶
func (o ReinstallServerWithCloudInitRequest) String() string
type ReinstallServerWithCloudInitRequestBody ¶
type ReinstallServerWithCloudInitRequestBody struct {
OsReinstall *ReinstallServerWithCloudInitOption `json:"os-reinstall"`
}
This is a auto create Body Object
func (ReinstallServerWithCloudInitRequestBody) String ¶
func (o ReinstallServerWithCloudInitRequestBody) String() string
type ReinstallServerWithCloudInitResponse ¶
type ReinstallServerWithCloudInitResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ReinstallServerWithCloudInitResponse) String ¶
func (o ReinstallServerWithCloudInitResponse) String() string
type ReinstallServerWithoutCloudInitOption ¶
type ReinstallServerWithoutCloudInitOption struct { Adminpass *string `json:"adminpass,omitempty"` Keyname *string `json:"keyname,omitempty"` Userid *string `json:"userid,omitempty"` Mode *string `json:"mode,omitempty"` }
重装操作系统body。
func (ReinstallServerWithoutCloudInitOption) String ¶
func (o ReinstallServerWithoutCloudInitOption) String() string
type ReinstallServerWithoutCloudInitRequest ¶
type ReinstallServerWithoutCloudInitRequest struct { ServerId string `json:"server_id"` Body *ReinstallServerWithoutCloudInitRequestBody `json:"body,omitempty"` }
Request Object
func (ReinstallServerWithoutCloudInitRequest) String ¶
func (o ReinstallServerWithoutCloudInitRequest) String() string
type ReinstallServerWithoutCloudInitRequestBody ¶
type ReinstallServerWithoutCloudInitRequestBody struct {
OsReinstall *ReinstallServerWithoutCloudInitOption `json:"os-reinstall"`
}
This is a auto create Body Object
func (ReinstallServerWithoutCloudInitRequestBody) String ¶
func (o ReinstallServerWithoutCloudInitRequestBody) String() string
type ReinstallServerWithoutCloudInitResponse ¶
type ReinstallServerWithoutCloudInitResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ReinstallServerWithoutCloudInitResponse) String ¶
func (o ReinstallServerWithoutCloudInitResponse) String() string
type ReinstallSeverMetadata ¶
type ReinstallSeverMetadata struct {
UserData *string `json:"user_data,omitempty"`
}
func (ReinstallSeverMetadata) String ¶
func (o ReinstallSeverMetadata) String() string
type ResetServerPasswordOption ¶
type ResetServerPasswordOption struct { NewPassword string `json:"new_password"` IsCheckPassword *bool `json:"is_check_password,omitempty"` }
func (ResetServerPasswordOption) String ¶
func (o ResetServerPasswordOption) String() string
type ResetServerPasswordRequest ¶
type ResetServerPasswordRequest struct { ServerId string `json:"server_id"` Body *ResetServerPasswordRequestBody `json:"body,omitempty"` }
Request Object
func (ResetServerPasswordRequest) String ¶
func (o ResetServerPasswordRequest) String() string
type ResetServerPasswordRequestBody ¶
type ResetServerPasswordRequestBody struct {
ResetPassword *ResetServerPasswordOption `json:"reset-password"`
}
This is a auto create Body Object
func (ResetServerPasswordRequestBody) String ¶
func (o ResetServerPasswordRequestBody) String() string
type ResetServerPasswordResponse ¶
type ResetServerPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResetServerPasswordResponse) String ¶
func (o ResetServerPasswordResponse) String() string
type ResizePostPaidServerOption ¶
type ResizePostPaidServerOption struct { FlavorRef string `json:"flavorRef"` Mode *string `json:"mode,omitempty"` }
func (ResizePostPaidServerOption) String ¶
func (o ResizePostPaidServerOption) String() string
type ResizePostPaidServerRequest ¶
type ResizePostPaidServerRequest struct { ServerId string `json:"server_id"` Body *ResizePostPaidServerRequestBody `json:"body,omitempty"` }
Request Object
func (ResizePostPaidServerRequest) String ¶
func (o ResizePostPaidServerRequest) String() string
type ResizePostPaidServerRequestBody ¶
type ResizePostPaidServerRequestBody struct {
Resize *ResizePostPaidServerOption `json:"resize"`
}
This is a auto create Body Object
func (ResizePostPaidServerRequestBody) String ¶
func (o ResizePostPaidServerRequestBody) String() string
type ResizePostPaidServerResponse ¶
type ResizePostPaidServerResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResizePostPaidServerResponse) String ¶
func (o ResizePostPaidServerResponse) String() string
type ResizePrePaidServerOption ¶
type ResizePrePaidServerOption struct { FlavorRef string `json:"flavorRef"` DedicatedHostId *string `json:"dedicated_host_id,omitempty"` Extendparam *ResizeServerExtendParam `json:"extendparam,omitempty"` Mode *string `json:"mode,omitempty"` }
func (ResizePrePaidServerOption) String ¶
func (o ResizePrePaidServerOption) String() string
type ResizeServerExtendParam ¶
type ResizeServerExtendParam struct {
IsAutoPay *string `json:"isAutoPay,omitempty"`
}
func (ResizeServerExtendParam) String ¶
func (o ResizeServerExtendParam) String() string
type ResizeServerRequest ¶
type ResizeServerRequest struct { ServerId string `json:"server_id"` Body *ResizeServerRequestBody `json:"body,omitempty"` }
Request Object
func (ResizeServerRequest) String ¶
func (o ResizeServerRequest) String() string
type ResizeServerRequestBody ¶
type ResizeServerRequestBody struct {
Resize *ResizePrePaidServerOption `json:"resize"`
}
This is a auto create Body Object
func (ResizeServerRequestBody) String ¶
func (o ResizeServerRequestBody) String() string
type ResizeServerResponse ¶
type ResizeServerResponse struct { OrderId *string `json:"order_id,omitempty"` JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResizeServerResponse) String ¶
func (o ResizeServerResponse) String() string
type ServerAddress ¶
type ServerAddress struct { Version string `json:"version"` Addr string `json:"addr"` OSEXTIPStype *ServerAddressOSEXTIPStype `json:"OS-EXT-IPS:type,omitempty"` OSEXTIPSMACmacAddr *string `json:"OS-EXT-IPS-MAC:mac_addr,omitempty"` OSEXTIPSportId *string `json:"OS-EXT-IPS:port_id,omitempty"` }
弹性云服务器的网络属性。
func (ServerAddress) String ¶
func (o ServerAddress) String() string
type ServerAddressOSEXTIPStype ¶
type ServerAddressOSEXTIPStype struct {
// contains filtered or unexported fields
}
func (ServerAddressOSEXTIPStype) MarshalJSON ¶
func (c ServerAddressOSEXTIPStype) MarshalJSON() ([]byte, error)
func (*ServerAddressOSEXTIPStype) UnmarshalJSON ¶
func (c *ServerAddressOSEXTIPStype) UnmarshalJSON(b []byte) error
type ServerAddressOSEXTIPStypeEnum ¶
type ServerAddressOSEXTIPStypeEnum struct { FIXED ServerAddressOSEXTIPStype FLOATING ServerAddressOSEXTIPStype }
func GetServerAddressOSEXTIPStypeEnum ¶
func GetServerAddressOSEXTIPStypeEnum() ServerAddressOSEXTIPStypeEnum
type ServerAttachableQuantity ¶
type ServerAttachableQuantity struct { FreeScsi int32 `json:"free_scsi"` FreeBlk int32 `json:"free_blk"` FreeDisk int32 `json:"free_disk"` FreeNic int32 `json:"free_nic"` }
云服务器可挂载网卡和卷数。
func (ServerAttachableQuantity) String ¶
func (o ServerAttachableQuantity) String() string
type ServerBlockDevice ¶
type ServerBlockDevice struct { BootIndex *int32 `json:"bootIndex,omitempty"` PciAddress *string `json:"pciAddress,omitempty"` VolumeId *string `json:"volumeId,omitempty"` Device *string `json:"device,omitempty"` ServerId *string `json:"serverId,omitempty"` Id *string `json:"id,omitempty"` Size *int32 `json:"size,omitempty"` Bus *string `json:"bus,omitempty"` }
查询云服务器指定磁盘挂载信息响应信息
func (ServerBlockDevice) String ¶
func (o ServerBlockDevice) String() string
type ServerDetail ¶
type ServerDetail struct { Status string `json:"status"` Updated string `json:"updated"` AutoTerminateTime string `json:"auto_terminate_time"` HostId string `json:"hostId"` OSEXTSRVATTRhost string `json:"OS-EXT-SRV-ATTR:host"` Addresses map[string][]ServerAddress `json:"addresses"` KeyName string `json:"key_name"` Image *ServerImage `json:"image"` OSEXTSTStaskState string `json:"OS-EXT-STS:task_state"` OSEXTSTSvmState string `json:"OS-EXT-STS:vm_state"` OSEXTSRVATTRinstanceName string `json:"OS-EXT-SRV-ATTR:instance_name"` OSEXTSRVATTRhypervisorHostname string `json:"OS-EXT-SRV-ATTR:hypervisor_hostname"` Flavor *ServerFlavor `json:"flavor"` Id string `json:"id"` SecurityGroups []ServerSecurityGroup `json:"security_groups"` OSEXTAZavailabilityZone string `json:"OS-EXT-AZ:availability_zone"` UserId string `json:"user_id"` Name string `json:"name"` Created string `json:"created"` TenantId string `json:"tenant_id"` OSDCFdiskConfig *string `json:"OS-DCF:diskConfig,omitempty"` AccessIPv4 string `json:"accessIPv4"` AccessIPv6 string `json:"accessIPv6"` Fault *ServerFault `json:"fault,omitempty"` Progress *int32 `json:"progress,omitempty"` OSEXTSTSpowerState int32 `json:"OS-EXT-STS:power_state"` ConfigDrive string `json:"config_drive"` Metadata map[string]string `json:"metadata"` OSSRVUSGlaunchedAt string `json:"OS-SRV-USG:launched_at"` OSSRVUSGterminatedAt string `json:"OS-SRV-USG:terminated_at"` OsExtendedVolumesvolumesAttached []ServerExtendVolumeAttachment `json:"os-extended-volumes:volumes_attached"` Description *string `json:"description,omitempty"` HostStatus string `json:"host_status"` OSEXTSRVATTRhostname string `json:"OS-EXT-SRV-ATTR:hostname"` OSEXTSRVATTRreservationId *string `json:"OS-EXT-SRV-ATTR:reservation_id,omitempty"` OSEXTSRVATTRlaunchIndex int32 `json:"OS-EXT-SRV-ATTR:launch_index"` OSEXTSRVATTRkernelId string `json:"OS-EXT-SRV-ATTR:kernel_id"` OSEXTSRVATTRramdiskId string `json:"OS-EXT-SRV-ATTR:ramdisk_id"` OSEXTSRVATTRrootDeviceName string `json:"OS-EXT-SRV-ATTR:root_device_name"` OSEXTSRVATTRuserData *string `json:"OS-EXT-SRV-ATTR:user_data,omitempty"` Locked bool `json:"locked"` Tags *[]string `json:"tags,omitempty"` OsschedulerHints *ServerSchedulerHints `json:"os:scheduler_hints,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` SysTags *[]ServerSystemTag `json:"sys_tags,omitempty"` CpuOptions *CpuOptions `json:"cpu_options,omitempty"` Hypervisor *Hypervisor `json:"hypervisor,omitempty"` }
云服务器详情。
func (ServerDetail) String ¶
func (o ServerDetail) String() string
type ServerExtendVolumeAttachment ¶
type ServerExtendVolumeAttachment struct { Id string `json:"id"` DeleteOnTermination string `json:"delete_on_termination"` BootIndex *string `json:"bootIndex,omitempty"` Device string `json:"device"` }
挂载到弹性云服务器上的磁盘。
func (ServerExtendVolumeAttachment) String ¶
func (o ServerExtendVolumeAttachment) String() string
type ServerFault ¶
type ServerFault struct { Code *int32 `json:"code,omitempty"` Created *string `json:"created,omitempty"` Message *string `json:"message,omitempty"` Details *string `json:"details,omitempty"` }
弹性云服务器故障信息。
func (ServerFault) String ¶
func (o ServerFault) String() string
type ServerFlavor ¶
type ServerFlavor struct { Id string `json:"id"` Name string `json:"name"` Disk string `json:"disk"` Vcpus string `json:"vcpus"` Ram string `json:"ram"` }
弹性云服务器规格信息。
func (ServerFlavor) String ¶
func (o ServerFlavor) String() string
type ServerGroupMember ¶
type ServerGroupMember struct {
InstanceUuid string `json:"instance_uuid"`
}
云服务器组添加、删除成员列表
func (ServerGroupMember) String ¶
func (o ServerGroupMember) String() string
type ServerImage ¶
type ServerImage struct {
Id string `json:"id"`
}
弹性云服务器镜像信息。
func (ServerImage) String ¶
func (o ServerImage) String() string
type ServerInterfaceFixedIp ¶
type ServerInterfaceFixedIp struct { IpAddress *string `json:"ip_address,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` }
func (ServerInterfaceFixedIp) String ¶
func (o ServerInterfaceFixedIp) String() string
type ServerLimits ¶
type ServerLimits struct { MaxImageMeta int32 `json:"maxImageMeta"` MaxPersonality int32 `json:"maxPersonality"` MaxPersonalitySize int32 `json:"maxPersonalitySize"` MaxSecurityGroupRules int32 `json:"maxSecurityGroupRules"` MaxSecurityGroups int32 `json:"maxSecurityGroups"` MaxServerGroupMembers int32 `json:"maxServerGroupMembers"` MaxServerGroups int32 `json:"maxServerGroups"` MaxServerMeta int32 `json:"maxServerMeta"` MaxTotalCores int32 `json:"maxTotalCores"` MaxTotalFloatingIps int32 `json:"maxTotalFloatingIps"` MaxTotalInstances int32 `json:"maxTotalInstances"` MaxTotalKeypairs int32 `json:"maxTotalKeypairs"` MaxTotalRAMSize int32 `json:"maxTotalRAMSize"` TotalCoresUsed int32 `json:"totalCoresUsed"` TotalFloatingIpsUsed int32 `json:"totalFloatingIpsUsed"` TotalInstancesUsed int32 `json:"totalInstancesUsed"` TotalRAMUsed int32 `json:"totalRAMUsed"` TotalSecurityGroupsUsed int32 `json:"totalSecurityGroupsUsed"` TotalServerGroupsUsed int32 `json:"totalServerGroupsUsed"` MaxTotalSpotInstances *int32 `json:"maxTotalSpotInstances,omitempty"` MaxTotalSpotCores *int32 `json:"maxTotalSpotCores,omitempty"` MaxTotalSpotRAMSize *int32 `json:"maxTotalSpotRAMSize,omitempty"` TotalSpotInstancesUsed *int32 `json:"totalSpotInstancesUsed,omitempty"` TotalSpotCoresUsed *int32 `json:"totalSpotCoresUsed,omitempty"` TotalSpotRAMUsed *int32 `json:"totalSpotRAMUsed,omitempty"` LimitByFlavor *[]ProjectFlavorLimit `json:"limit_by_flavor,omitempty"` }
func (ServerLimits) String ¶
func (o ServerLimits) String() string
type ServerNicSecurityGroup ¶
type ServerNicSecurityGroup struct {
Id string `json:"id"`
}
func (ServerNicSecurityGroup) String ¶
func (o ServerNicSecurityGroup) String() string
type ServerRemoteConsole ¶
type ServerRemoteConsole struct { Protocol string `json:"protocol"` Type string `json:"type"` Url string `json:"url"` }
func (ServerRemoteConsole) String ¶
func (o ServerRemoteConsole) String() string
type ServerSchedulerHints ¶
type ServerSchedulerHints struct { Group *[]string `json:"group,omitempty"` Tenancy *[]string `json:"tenancy,omitempty"` DedicatedHostId *[]string `json:"dedicated_host_id,omitempty"` }
弹性云服务器调度信息。
func (ServerSchedulerHints) String ¶
func (o ServerSchedulerHints) String() string
type ServerSecurityGroup ¶
弹性云服务器所属安全组列表。
func (ServerSecurityGroup) String ¶
func (o ServerSecurityGroup) String() string
type ServerSystemTag ¶
type ServerSystemTag struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
弹性云服务器系统标签。
func (ServerSystemTag) String ¶
func (o ServerSystemTag) String() string
type ShowJobRequest ¶
type ShowJobRequest struct {
JobId string `json:"job_id"`
}
Request Object
func (ShowJobRequest) String ¶
func (o ShowJobRequest) String() string
type ShowJobResponse ¶
type ShowJobResponse struct { BeginTime *string `json:"begin_time,omitempty"` Code *string `json:"code,omitempty"` EndTime *string `json:"end_time,omitempty"` Entities *JobEntities `json:"entities,omitempty"` ErrorCode *string `json:"error_code,omitempty"` FailReason *string `json:"fail_reason,omitempty"` JobId *string `json:"job_id,omitempty"` JobType *string `json:"job_type,omitempty"` Message *string `json:"message,omitempty"` Status *ShowJobResponseStatus `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowJobResponse) String ¶
func (o ShowJobResponse) String() string
type ShowJobResponseStatus ¶
type ShowJobResponseStatus struct {
// contains filtered or unexported fields
}
func (ShowJobResponseStatus) MarshalJSON ¶
func (c ShowJobResponseStatus) MarshalJSON() ([]byte, error)
func (*ShowJobResponseStatus) UnmarshalJSON ¶
func (c *ShowJobResponseStatus) UnmarshalJSON(b []byte) error
type ShowJobResponseStatusEnum ¶
type ShowJobResponseStatusEnum struct { SUCCESS ShowJobResponseStatus RUNNING ShowJobResponseStatus FAIL ShowJobResponseStatus INIT ShowJobResponseStatus }
func GetShowJobResponseStatusEnum ¶
func GetShowJobResponseStatusEnum() ShowJobResponseStatusEnum
type ShowResetPasswordFlagRequest ¶
type ShowResetPasswordFlagRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (ShowResetPasswordFlagRequest) String ¶
func (o ShowResetPasswordFlagRequest) String() string
type ShowResetPasswordFlagResponse ¶
type ShowResetPasswordFlagResponse struct { ResetpwdFlag *string `json:"resetpwd_flag,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowResetPasswordFlagResponse) String ¶
func (o ShowResetPasswordFlagResponse) String() string
type ShowServerAutoRecoveryRequest ¶
type ShowServerAutoRecoveryRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (ShowServerAutoRecoveryRequest) String ¶
func (o ShowServerAutoRecoveryRequest) String() string
type ShowServerAutoRecoveryResponse ¶
type ShowServerAutoRecoveryResponse struct { SupportAutoRecovery *string `json:"support_auto_recovery,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerAutoRecoveryResponse) String ¶
func (o ShowServerAutoRecoveryResponse) String() string
type ShowServerBlockDeviceRequest ¶
type ShowServerBlockDeviceRequest struct { ServerId string `json:"server_id"` VolumeId string `json:"volume_id"` }
Request Object
func (ShowServerBlockDeviceRequest) String ¶
func (o ShowServerBlockDeviceRequest) String() string
type ShowServerBlockDeviceResponse ¶
type ShowServerBlockDeviceResponse struct { VolumeAttachment *ServerBlockDevice `json:"volumeAttachment,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerBlockDeviceResponse) String ¶
func (o ShowServerBlockDeviceResponse) String() string
type ShowServerGroupRequest ¶
type ShowServerGroupRequest struct {
ServerGroupId string `json:"server_group_id"`
}
Request Object
func (ShowServerGroupRequest) String ¶
func (o ShowServerGroupRequest) String() string
type ShowServerGroupResponse ¶
type ShowServerGroupResponse struct { ServerGroup *ShowServerGroupResult `json:"server_group,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerGroupResponse) String ¶
func (o ShowServerGroupResponse) String() string
type ShowServerGroupResult ¶
type ShowServerGroupResult struct { Id string `json:"id"` Members []string `json:"members"` Metadata map[string]string `json:"metadata"` Name string `json:"name"` Policies []string `json:"policies"` }
func (ShowServerGroupResult) String ¶
func (o ShowServerGroupResult) String() string
type ShowServerLimitsRequest ¶
type ShowServerLimitsRequest struct { }
Request Object
func (ShowServerLimitsRequest) String ¶
func (o ShowServerLimitsRequest) String() string
type ShowServerLimitsResponse ¶
type ShowServerLimitsResponse struct { Absolute *ServerLimits `json:"absolute,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerLimitsResponse) String ¶
func (o ShowServerLimitsResponse) String() string
type ShowServerPasswordRequest ¶
type ShowServerPasswordRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (ShowServerPasswordRequest) String ¶
func (o ShowServerPasswordRequest) String() string
type ShowServerPasswordResponse ¶
type ShowServerPasswordResponse struct { Password *string `json:"password,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerPasswordResponse) String ¶
func (o ShowServerPasswordResponse) String() string
type ShowServerRemoteConsoleRequest ¶
type ShowServerRemoteConsoleRequest struct { ServerId string `json:"server_id"` Body *ShowServerRemoteConsoleRequestBody `json:"body,omitempty"` }
Request Object
func (ShowServerRemoteConsoleRequest) String ¶
func (o ShowServerRemoteConsoleRequest) String() string
type ShowServerRemoteConsoleRequestBody ¶
type ShowServerRemoteConsoleRequestBody struct {
RemoteConsole *GetServerRemoteConsoleOption `json:"remote_console"`
}
This is a auto create Body Object
func (ShowServerRemoteConsoleRequestBody) String ¶
func (o ShowServerRemoteConsoleRequestBody) String() string
type ShowServerRemoteConsoleResponse ¶
type ShowServerRemoteConsoleResponse struct { RemoteConsole *ServerRemoteConsole `json:"remote_console,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerRemoteConsoleResponse) String ¶
func (o ShowServerRemoteConsoleResponse) String() string
type ShowServerRequest ¶
type ShowServerRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (ShowServerRequest) String ¶
func (o ShowServerRequest) String() string
type ShowServerResponse ¶
type ShowServerResponse struct { Server *ServerDetail `json:"server,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerResponse) String ¶
func (o ShowServerResponse) String() string
type ShowServerTagsRequest ¶
type ShowServerTagsRequest struct {
ServerId string `json:"server_id"`
}
Request Object
func (ShowServerTagsRequest) String ¶
func (o ShowServerTagsRequest) String() string
type ShowServerTagsResponse ¶
type ShowServerTagsResponse struct { Tags *[]ServerTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowServerTagsResponse) String ¶
func (o ShowServerTagsResponse) String() string
type SubJob ¶
type SubJob struct { Status *SubJobStatus `json:"status,omitempty"` Entities *SubJobEntities `json:"entities,omitempty"` JobId *string `json:"job_id,omitempty"` JobType *string `json:"job_type,omitempty"` BeginTime *string `json:"begin_time,omitempty"` EndTime *string `json:"end_time,omitempty"` ErrorCode *string `json:"error_code,omitempty"` FailReason *string `json:"fail_reason,omitempty"` }
type SubJobEntities ¶
type SubJobEntities struct { ServerId *string `json:"server_id,omitempty"` NicId *string `json:"nic_id,omitempty"` ErrorcodeMessage *string `json:"errorcode_message,omitempty"` }
func (SubJobEntities) String ¶
func (o SubJobEntities) String() string
type SubJobStatus ¶
type SubJobStatus struct {
// contains filtered or unexported fields
}
func (SubJobStatus) MarshalJSON ¶
func (c SubJobStatus) MarshalJSON() ([]byte, error)
func (*SubJobStatus) UnmarshalJSON ¶
func (c *SubJobStatus) UnmarshalJSON(b []byte) error
type SubJobStatusEnum ¶
type SubJobStatusEnum struct { SUCCESS SubJobStatus RUNNING SubJobStatus FAIL SubJobStatus INIT SubJobStatus }
func GetSubJobStatusEnum ¶
func GetSubJobStatusEnum() SubJobStatusEnum
type UpdateServerAddress ¶
弹性云服务器的网络属性。
func (UpdateServerAddress) String ¶
func (o UpdateServerAddress) String() string
type UpdateServerAutoTerminateTimeRequest ¶
type UpdateServerAutoTerminateTimeRequest struct { ServerId string `json:"server_id"` Body *UpdateServerAutoTerminateTimeRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateServerAutoTerminateTimeRequest) String ¶
func (o UpdateServerAutoTerminateTimeRequest) String() string
type UpdateServerAutoTerminateTimeRequestBody ¶
type UpdateServerAutoTerminateTimeRequestBody struct {
AutoTerminateTime string `json:"auto_terminate_time"`
}
This is a auto create Body Object
func (UpdateServerAutoTerminateTimeRequestBody) String ¶
func (o UpdateServerAutoTerminateTimeRequestBody) String() string
type UpdateServerAutoTerminateTimeResponse ¶
type UpdateServerAutoTerminateTimeResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateServerAutoTerminateTimeResponse) String ¶
func (o UpdateServerAutoTerminateTimeResponse) String() string
type UpdateServerMetadataRequest ¶
type UpdateServerMetadataRequest struct { ServerId string `json:"server_id"` Body *UpdateServerMetadataRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateServerMetadataRequest) String ¶
func (o UpdateServerMetadataRequest) String() string
type UpdateServerMetadataRequestBody ¶
This is a auto create Body Object
func (UpdateServerMetadataRequestBody) String ¶
func (o UpdateServerMetadataRequestBody) String() string
type UpdateServerMetadataResponse ¶
type UpdateServerMetadataResponse struct { Metadata map[string]string `json:"metadata,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateServerMetadataResponse) String ¶
func (o UpdateServerMetadataResponse) String() string
type UpdateServerOption ¶
type UpdateServerOption struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` Hostname *string `json:"hostname,omitempty"` }
更新云服务器Body体。
func (UpdateServerOption) String ¶
func (o UpdateServerOption) String() string
type UpdateServerRequest ¶
type UpdateServerRequest struct { ServerId string `json:"server_id"` Body *UpdateServerRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateServerRequest) String ¶
func (o UpdateServerRequest) String() string
type UpdateServerRequestBody ¶
type UpdateServerRequestBody struct {
Server *UpdateServerOption `json:"server"`
}
This is a auto create Body Object
func (UpdateServerRequestBody) String ¶
func (o UpdateServerRequestBody) String() string
type UpdateServerResponse ¶
type UpdateServerResponse struct { Server *UpdateServerResult `json:"server,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateServerResponse) String ¶
func (o UpdateServerResponse) String() string
type UpdateServerResult ¶
type UpdateServerResult struct { TenantId string `json:"tenant_id"` Image string `json:"image"` AccessIPv4 string `json:"accessIPv4"` AccessIPv6 string `json:"accessIPv6"` Metadata map[string]string `json:"metadata"` Addresses map[string][]UpdateServerAddress `json:"addresses"` Created string `json:"created"` HostId string `json:"hostId"` Flavor *SimpleFlavor `json:"flavor"` OSDCFdiskConfig *string `json:"OS-DCF:diskConfig,omitempty"` UserId string `json:"user_id"` Name string `json:"name"` Progress int32 `json:"progress"` Links []Link `json:"links"` Id string `json:"id"` Updated string `json:"updated"` Locked *bool `json:"locked,omitempty"` Description *string `json:"description,omitempty"` Tags []string `json:"tags"` Status string `json:"status"` OSEXTSRVATTRhostname string `json:"OS-EXT-SRV-ATTR:hostname"` }
云服务器详情。
func (UpdateServerResult) String ¶
func (o UpdateServerResult) String() string
Source Files ¶
- model_add_server_group_member_request.go
- model_add_server_group_member_request_body.go
- model_add_server_group_member_response.go
- model_associate_server_virtual_ip_option.go
- model_associate_server_virtual_ip_request.go
- model_associate_server_virtual_ip_request_body.go
- model_associate_server_virtual_ip_response.go
- model_attach_server_volume_option.go
- model_attach_server_volume_request.go
- model_attach_server_volume_request_body.go
- model_attach_server_volume_response.go
- model_batch_add_server_nic_option.go
- model_batch_add_server_nics_request.go
- model_batch_add_server_nics_request_body.go
- model_batch_add_server_nics_response.go
- model_batch_attach_sharable_volumes_option.go
- model_batch_attach_sharable_volumes_request.go
- model_batch_attach_sharable_volumes_request_body.go
- model_batch_attach_sharable_volumes_response.go
- model_batch_create_server_tags_request.go
- model_batch_create_server_tags_request_body.go
- model_batch_create_server_tags_response.go
- model_batch_delete_server_nic_option.go
- model_batch_delete_server_nics_request.go
- model_batch_delete_server_nics_request_body.go
- model_batch_delete_server_nics_response.go
- model_batch_delete_server_tags_request.go
- model_batch_delete_server_tags_request_body.go
- model_batch_delete_server_tags_response.go
- model_batch_reboot_servers_request.go
- model_batch_reboot_servers_request_body.go
- model_batch_reboot_servers_response.go
- model_batch_reboot_severs_option.go
- model_batch_reset_servers_password_request.go
- model_batch_reset_servers_password_request_body.go
- model_batch_reset_servers_password_response.go
- model_batch_start_servers_option.go
- model_batch_start_servers_request.go
- model_batch_start_servers_request_body.go
- model_batch_start_servers_response.go
- model_batch_stop_servers_option.go
- model_batch_stop_servers_request.go
- model_batch_stop_servers_request_body.go
- model_batch_stop_servers_response.go
- model_batch_update_servers_name_request.go
- model_batch_update_servers_name_request_body.go
- model_batch_update_servers_name_response.go
- model_block_device_attachable_quantity.go
- model_change_server_os_with_cloud_init_option.go
- model_change_server_os_with_cloud_init_request.go
- model_change_server_os_with_cloud_init_request_body.go
- model_change_server_os_with_cloud_init_response.go
- model_change_server_os_without_cloud_init_option.go
- model_change_server_os_without_cloud_init_request.go
- model_change_server_os_without_cloud_init_request_body.go
- model_change_server_os_without_cloud_init_response.go
- model_change_severs_os_metadata.go
- model_cpu_options.go
- model_create_post_paid_servers_request.go
- model_create_post_paid_servers_request_body.go
- model_create_post_paid_servers_response.go
- model_create_server_group_option.go
- model_create_server_group_request.go
- model_create_server_group_request_body.go
- model_create_server_group_response.go
- model_create_server_group_result.go
- model_create_servers_request.go
- model_create_servers_request_body.go
- model_create_servers_response.go
- model_delete_server_group_member_request.go
- model_delete_server_group_member_request_body.go
- model_delete_server_group_member_response.go
- model_delete_server_group_request.go
- model_delete_server_group_response.go
- model_delete_server_metadata_request.go
- model_delete_server_metadata_response.go
- model_delete_server_password_request.go
- model_delete_server_password_response.go
- model_delete_servers_request.go
- model_delete_servers_request_body.go
- model_delete_servers_response.go
- model_detach_server_volume_request.go
- model_detach_server_volume_response.go
- model_disassociate_server_virtual_ip_option.go
- model_disassociate_server_virtual_ip_request.go
- model_disassociate_server_virtual_ip_request_body.go
- model_disassociate_server_virtual_ip_response.go
- model_flavor.go
- model_flavor_extra_spec.go
- model_flavor_link.go
- model_get_server_remote_console_option.go
- model_hypervisor.go
- model_interface_attachable_quantity.go
- model_interface_attachment.go
- model_ipv6_bandwidth.go
- model_job_entities.go
- model_link.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_list_resize_flavors_request.go
- model_list_resize_flavors_response.go
- model_list_resize_flavors_result.go
- model_list_server_block_devices_request.go
- model_list_server_block_devices_response.go
- model_list_server_groups_page_info_result.go
- model_list_server_groups_request.go
- model_list_server_groups_response.go
- model_list_server_groups_result.go
- model_list_server_interfaces_request.go
- model_list_server_interfaces_response.go
- model_list_server_tags_request.go
- model_list_server_tags_response.go
- model_list_servers_details_request.go
- model_list_servers_details_response.go
- model_migrate_server_option.go
- model_migrate_server_request.go
- model_migrate_server_request_body.go
- model_migrate_server_response.go
- model_nova_add_security_group_option.go
- model_nova_associate_security_group_request.go
- model_nova_associate_security_group_request_body.go
- model_nova_associate_security_group_response.go
- model_nova_availability_zone.go
- model_nova_availability_zone_state.go
- model_nova_create_keypair_option.go
- model_nova_create_keypair_request.go
- model_nova_create_keypair_request_body.go
- model_nova_create_keypair_response.go
- model_nova_create_servers_option.go
- model_nova_create_servers_request.go
- model_nova_create_servers_request_body.go
- model_nova_create_servers_response.go
- model_nova_create_servers_result.go
- model_nova_create_servers_scheduler_hint.go
- model_nova_delete_keypair_request.go
- model_nova_delete_keypair_response.go
- model_nova_delete_server_request.go
- model_nova_delete_server_response.go
- model_nova_disassociate_security_group_request.go
- model_nova_disassociate_security_group_request_body.go
- model_nova_disassociate_security_group_response.go
- model_nova_keypair.go
- model_nova_keypair_detail.go
- model_nova_link.go
- model_nova_list_availability_zones_request.go
- model_nova_list_availability_zones_response.go
- model_nova_list_keypairs_request.go
- model_nova_list_keypairs_response.go
- model_nova_list_keypairs_result.go
- model_nova_list_server_security_groups_request.go
- model_nova_list_server_security_groups_response.go
- model_nova_list_servers_details_request.go
- model_nova_list_servers_details_response.go
- model_nova_network.go
- model_nova_remove_security_group_option.go
- model_nova_security_group.go
- model_nova_security_group_common_group.go
- model_nova_security_group_common_ip_range.go
- model_nova_security_group_common_rule.go
- model_nova_server.go
- model_nova_server_block_device_mapping.go
- model_nova_server_fault.go
- model_nova_server_flavor.go
- model_nova_server_image.go
- model_nova_server_network.go
- model_nova_server_scheduler_hints.go
- model_nova_server_security_group.go
- model_nova_server_volume.go
- model_nova_show_keypair_request.go
- model_nova_show_keypair_response.go
- model_nova_show_server_request.go
- model_nova_show_server_response.go
- model_nova_simple_keypair.go
- model_page_link.go
- model_post_paid_server.go
- model_post_paid_server_data_volume.go
- model_post_paid_server_data_volume_extend_param.go
- model_post_paid_server_data_volume_metadata.go
- model_post_paid_server_eip.go
- model_post_paid_server_eip_bandwidth.go
- model_post_paid_server_eip_extend_param.go
- model_post_paid_server_extend_param.go
- model_post_paid_server_ipv6_bandwidth.go
- model_post_paid_server_nic.go
- model_post_paid_server_publicip.go
- model_post_paid_server_root_volume.go
- model_post_paid_server_root_volume_extend_param.go
- model_post_paid_server_scheduler_hints.go
- model_post_paid_server_security_group.go
- model_post_paid_server_tag.go
- model_pre_paid_server.go
- model_pre_paid_server_data_volume.go
- model_pre_paid_server_data_volume_extend_param.go
- model_pre_paid_server_data_volume_metadata.go
- model_pre_paid_server_eip.go
- model_pre_paid_server_eip_bandwidth.go
- model_pre_paid_server_eip_extend_param.go
- model_pre_paid_server_extend_param.go
- model_pre_paid_server_ipv6_bandwidth.go
- model_pre_paid_server_nic.go
- model_pre_paid_server_publicip.go
- model_pre_paid_server_root_volume.go
- model_pre_paid_server_root_volume_extend_param.go
- model_pre_paid_server_scheduler_hints.go
- model_pre_paid_server_security_group.go
- model_pre_paid_server_tag.go
- model_project_flavor_limit.go
- model_project_tag.go
- model_register_server_auto_recovery_request.go
- model_register_server_auto_recovery_request_body.go
- model_register_server_auto_recovery_response.go
- model_reinstall_server_with_cloud_init_option.go
- model_reinstall_server_with_cloud_init_request.go
- model_reinstall_server_with_cloud_init_request_body.go
- model_reinstall_server_with_cloud_init_response.go
- model_reinstall_server_without_cloud_init_option.go
- model_reinstall_server_without_cloud_init_request.go
- model_reinstall_server_without_cloud_init_request_body.go
- model_reinstall_server_without_cloud_init_response.go
- model_reinstall_sever_metadata.go
- model_reset_server_password_option.go
- model_reset_server_password_request.go
- model_reset_server_password_request_body.go
- model_reset_server_password_response.go
- model_resize_post_paid_server_option.go
- model_resize_post_paid_server_request.go
- model_resize_post_paid_server_request_body.go
- model_resize_post_paid_server_response.go
- model_resize_pre_paid_server_option.go
- model_resize_server_extend_param.go
- model_resize_server_request.go
- model_resize_server_request_body.go
- model_resize_server_response.go
- model_server_address.go
- model_server_attachable_quantity.go
- model_server_block_device.go
- model_server_detail.go
- model_server_extend_volume_attachment.go
- model_server_fault.go
- model_server_flavor.go
- model_server_group_member.go
- model_server_id.go
- model_server_image.go
- model_server_interface_fixed_ip.go
- model_server_limits.go
- model_server_nic_security_group.go
- model_server_remote_console.go
- model_server_scheduler_hints.go
- model_server_security_group.go
- model_server_system_tag.go
- model_server_tag.go
- model_show_job_request.go
- model_show_job_response.go
- model_show_reset_password_flag_request.go
- model_show_reset_password_flag_response.go
- model_show_server_auto_recovery_request.go
- model_show_server_auto_recovery_response.go
- model_show_server_block_device_request.go
- model_show_server_block_device_response.go
- model_show_server_group_request.go
- model_show_server_group_response.go
- model_show_server_group_result.go
- model_show_server_limits_request.go
- model_show_server_limits_response.go
- model_show_server_password_request.go
- model_show_server_password_response.go
- model_show_server_remote_console_request.go
- model_show_server_remote_console_request_body.go
- model_show_server_remote_console_response.go
- model_show_server_request.go
- model_show_server_response.go
- model_show_server_tags_request.go
- model_show_server_tags_response.go
- model_simple_flavor.go
- model_sub_job.go
- model_sub_job_entities.go
- model_update_server_address.go
- model_update_server_auto_terminate_time_request.go
- model_update_server_auto_terminate_time_request_body.go
- model_update_server_auto_terminate_time_response.go
- model_update_server_metadata_request.go
- model_update_server_metadata_request_body.go
- model_update_server_metadata_response.go
- model_update_server_option.go
- model_update_server_request.go
- model_update_server_request_body.go
- model_update_server_response.go
- model_update_server_result.go