Versions in this module Expand all Collapse all v0 v0.9.7 Mar 18, 2020 Changes in this version + const DEFAULT_SERVICE_DOMAIN + type Client struct + func NewClient(ak, sk, endPoint string) (*Client, error) + func (c *Client) AttachAutoSnapshotPolicy(aspId string, args *api.AttachASPArgs) error + func (c *Client) AttachCDSVolume(volumeId string, args *api.AttachVolumeArgs) (*api.AttachVolumeResult, error) + func (c *Client) AuthorizeSecurityGroupRule(securityGroupId string, args *api.AuthorizeSecurityGroupArgs) error + func (c *Client) BindSecurityGroup(instanceId string, securityGroupId string) error + func (c *Client) CancelRemoteCopyImage(imageId string) error + func (c *Client) ChangeInstancePass(instanceId string, args *api.ChangeInstancePassArgs) error + func (c *Client) CreateAutoSnapshotPolicy(args *api.CreateASPArgs) (*api.CreateASPResult, error) + func (c *Client) CreateCDSVolume(args *api.CreateCDSVolumeArgs) (*api.CreateCDSVolumeResult, error) + func (c *Client) CreateImage(args *api.CreateImageArgs) (*api.CreateImageResult, error) + func (c *Client) CreateInstance(args *api.CreateInstanceArgs) (*api.CreateInstanceResult, error) + func (c *Client) CreateSecurityGroup(args *api.CreateSecurityGroupArgs) (*api.CreateSecurityGroupResult, error) + func (c *Client) CreateSnapshot(args *api.CreateSnapshotArgs) (*api.CreateSnapshotResult, error) + func (c *Client) DeleteAutoSnapshotPolicy(aspId string) error + func (c *Client) DeleteCDSVolume(volumeId string) error + func (c *Client) DeleteCDSVolumeNew(volumeId string, args *api.DeleteCDSVolumeArgs) error + func (c *Client) DeleteImage(imageId string) error + func (c *Client) DeleteInstance(instanceId string) error + func (c *Client) DeleteInstanceWithRelateResource(instanceId string, args *api.DeleteInstanceWithRelateResourceArgs) error + func (c *Client) DeleteSecurityGroup(securityGroupId string) error + func (c *Client) DeleteSnapshot(snapshotId string) error + func (c *Client) DetachAutoSnapshotPolicy(aspId string, args *api.DetachASPArgs) error + func (c *Client) DetachCDSVolume(volumeId string, args *api.DetachVolumeArgs) error + func (c *Client) GetAutoSnapshotPolicy(aspId string) (*api.GetASPDetailResult, error) + func (c *Client) GetCDSVolumeDetail(volumeId string) (*api.GetVolumeDetailResult, error) + func (c *Client) GetImageDetail(imageId string) (*api.GetImageDetailResult, error) + func (c *Client) GetImageOS(args *api.GetImageOsArgs) (*api.GetImageOsResult, error) + func (c *Client) GetImageSharedUser(imageId string) (*api.GetImageSharedUserResult, error) + func (c *Client) GetInstanceDetail(instanceId string) (*api.GetInstanceDetailResult, error) + func (c *Client) GetInstanceVNC(instanceId string) (*api.GetInstanceVNCResult, error) + func (c *Client) GetSnapshotDetail(snapshotId string) (*api.GetSnapshotDetailResult, error) + func (c *Client) InstanceChangeSubnet(args *api.InstanceChangeSubnetArgs) error + func (c *Client) InstancePurchaseReserved(instanceId string, args *api.PurchaseReservedArgs) error + func (c *Client) ListAutoSnapshotPolicy(args *api.ListASPArgs) (*api.ListASPResult, error) + func (c *Client) ListCDSVolume(queryArgs *api.ListCDSVolumeArgs) (*api.ListCDSVolumeResult, error) + func (c *Client) ListImage(queryArgs *api.ListImageArgs) (*api.ListImageResult, error) + func (c *Client) ListInstances(args *api.ListInstanceArgs) (*api.ListInstanceResult, error) + func (c *Client) ListSecurityGroup(queryArgs *api.ListSecurityGroupArgs) (*api.ListSecurityGroupResult, error) + func (c *Client) ListSnapshot(args *api.ListSnapshotArgs) (*api.ListSnapshotResult, error) + func (c *Client) ListSpec() (*api.ListSpecResult, error) + func (c *Client) ListZone() (*api.ListZoneResult, error) + func (c *Client) ModifyCDSVolume(volumeId string, args *api.ModifyCSDVolumeArgs) error + func (c *Client) ModifyChargeTypeCDSVolume(volumeId string, args *api.ModifyChargeTypeCSDVolumeArgs) error + func (c *Client) ModifyInstanceAttribute(instanceId string, args *api.ModifyInstanceAttributeArgs) error + func (c *Client) ModifyInstanceDesc(instanceId string, args *api.ModifyInstanceDescArgs) error + func (c *Client) PurchaseReservedCDSVolume(volumeId string, args *api.PurchaseReservedCSDVolumeArgs) error + func (c *Client) RebootInstance(instanceId string, forceStop bool) error + func (c *Client) RebuildInstance(instanceId string, args *api.RebuildInstanceArgs) error + func (c *Client) RemoteCopyImage(imageId string, args *api.RemoteCopyImageArgs) error + func (c *Client) RenameCDSVolume(volumeId string, args *api.RenameCSDVolumeArgs) error + func (c *Client) ResizeCDSVolume(volumeId string, args *api.ResizeCSDVolumeArgs) error + func (c *Client) ResizeInstance(instanceId string, args *api.ResizeInstanceArgs) error + func (c *Client) RevokeSecurityGroupRule(securityGroupId string, args *api.RevokeSecurityGroupArgs) error + func (c *Client) RollbackCDSVolume(volumeId string, args *api.RollbackCSDVolumeArgs) error + func (c *Client) ShareImage(imageId string, args *api.SharedUser) error + func (c *Client) StartInstance(instanceId string) error + func (c *Client) StopInstance(instanceId string, forceStop bool) error + func (c *Client) UnBindSecurityGroup(instanceId string, securityGroupId string) error + func (c *Client) UnShareImage(imageId string, args *api.SharedUser) error + func (c *Client) UpdateAutoSnapshotPolicy(args *api.UpdateASPArgs) error