package
0.0.0-20240909034204-207f58c0b9a3
Repository: https://github.com/chnsz/golangsdk.git
Documentation: pkg.go.dev
# Functions
BindEip is the method that used to bind EIP to desktop.
Create is a method to create a desktop using given parameters.
Delete is a method to remove an existing desktop using given parameters, if the user does not have any desktop under it, the user can delete it together with the desktop.
DoAction is a method that used to operate the power state of the desktop.
ExpandVolumes is a method to batch expand the desktop volumes size.
ExtractEips is a method to extract the list of EIP information.
Get is a method to obtain the desktop detail by its ID.
GetNetwork is the method that used to query desktop network infomation.
ListEips is the method that used to query the EIPs in which bound desktop and unbound desktop.
NewVolumes is a method to add some new volumes to the desktop.
Rebuild is the method that used to modify desktop using given parameters.
UnbindEip is the method that used to unbind EIP from desktop.
UpdateNetwork is the method that used to modify desktop network infomation using given parameters.
UpdateProduct is a method to create a desktop using given parameters.
# Structs
ActionOpts is the structure required by the DoAction method operate the power state of the desktop.
ActionResp is the structure that represents the response of the DoAction method.
AddressInfo is an object to specified the IP address details of desktop.
BindEipOpts is the structure that used to bind EIP to desktop.
CreateOpts is the structure required by the Create method to create a new desktop.
RequestResp is the structure that represents the API response of Create method request.
DeleteOpts is the structure required by the Delete method to delete an existing desktop.
Desktop is the structure that represents the desktop detail.
DesktopConfig is an object to specified the basic configuration of desktop.
DesktopUpdateConfig is an object to specified the update configuration of desktop.
EipPage is a single page maximum result representing a query by offset page.
EipResp is the structure that represents the bind information between EIP and desktop.
ExpandVolumeConfig is an object to specified the volume configuration.
ExpandVolumesResp is the structure that represents the API response of ExpandVolumes method request.
FailedOperationList is the structure that represents the desktops list of the operation failed.
FlavorInfo is an object to specified the flavor details of desktop.
FlavorLinkInfo is an object to specified the shortcut link information.
GetResp is the structure that represents the API response of Get method request.
Job is an object to specified the operation detail of desktop.
ListEipOpts is the structure that used to query the bound desktop and unbound EIPs.
NetworkInfos is the structure that represents the desktop network details.
NetworkResp is the structure that represents the queried desktop network detail.
NewVolumeConfig is an object to specified the volume configuration.
NewVolumeOpts is the structure required by the NewVolumes method to add some volumes to the desktop.
NewVolumesResp is the structure that represents the API response of NewVolumes method request.
Nic is an object to specified the NIC information corresponding to the desktop.
PortObject is an object to specified the private IP detail of desktop.
ProductInfo is an object to specified the product details.
ProductUpdateOpts is the structure required by the UpdateProduct method to change the desktop product.
PublicIpInfo is an object to specified the elastic IP detail of desktop.
RebuildOpts is the structure that used to modify desktop image and os.
RebuildResp is the structure that represents the response of the Rebuild method.
RequestResp is the structure that represents the API response of desktop methods request.
SecurityGroup is an object to specified the security group to which the desktop belongs.
SubnetInfo is an object to specified the subnet detail of desktop.
UnbindEipOpt is the structure that used to unbind EIP from desktop.
UpdateNetworkOpts is the structure that used to modify desktop network.
UpdateNetworkResp is the structure that represents the response of the update network infomation method.
UpdateResp is the structure that represents the API response of UpdateProduct method request.
Volume is an object to specified the disk configuration of root volume or data volume.
VolumeExpandOpts is the structure required by the ExpandVolumes method to batch expand volumes size.
VolumeResp is an object to specified the volume details of root volume or data volume.
VpcInfo is an object to specified the VPC detail of desktop.