Versions in this module Expand all Collapse all v1 v1.2.0 Sep 26, 2025 v1.1.0 Sep 25, 2025 Changes in this version + const EndpointNameCtdas + const UrlPordCtdas + const UrlTestCtdas + var EndPointCtdasProd = ctyunsdk.Endpoint + var EndpointCtdasTest = ctyunsdk.Endpoint + type Apis struct + TeledbBindEipApi *TeledbBindEipApi + TeledbBoundEipListApi *TeledbBoundEipListApi + TeledbCreateAccessWhiteList *TeledbCreateAccessWhiteList + TeledbCreateApi *TeledbCreateApi + TeledbDeleteAccessWhiteList *TeledbDeleteAccessWhiteList + TeledbDestroyApi *TeledbDestroyApi + TeledbGetAccessWhiteList *TeledbGetAccessWhiteList + TeledbGetAvailabilityZone *TeledbGetAvailabilityZone + TeledbGetListApi *TeledbGetListApi + TeledbMysqlSpecsApi *TeledbMysqlSpecsApi + TeledbQueryDetailApi *TeledbQueryDetailApi + TeledbRefundApi *TeledbRefundApi + TeledbRestartApi *TeledbRestartApi + TeledbStartApi *TeledbStartApi + TeledbStopApi *TeledbStopApi + TeledbUnbindEipApi *TeledbUnbindEipApi + TeledbUpdateAccessWhiteList *TeledbUpdateAccessWhiteList + TeledbUpdateInstanceNameApi *TeledbUpdateInstanceNameApi + TeledbUpdateWritePortApi *TeledbUpdateWritePortApi + TeledbUpgradeApi *TeledbUpgradeApi + func NewApis(client *ctyunsdk.CtyunClient) *Apis + type AvailabilityZoneInfo struct + AvailabilityZoneCount int32 + AvailabilityZoneName string + type AvailabilityZoneInfoRequest struct + AvailabilityZoneCount int32 + AvailabilityZoneName string + NodeType string + type AzInfo struct + AzId string + AzName string + ResId int64 + Role string + type DetailRespReturnObj struct + Alive int32 + AuditLogStatus int32 + AzInfoList []AzInfo + BackupDiskSize int32 + BackupDiskUsedRated int32 + BackupStoreType int32 + BackupUsedDiskSize float32 + CreateTime int64 + DbMysqlVersion string + DiskDataUsed string + DiskDataUsedRated int32 + DiskLogUsed string + DiskLogUsedRated int32 + DiskRated int32 + DiskSize int32 + DiskTotal string + DiskType string + DiskUsed string + EIP string + EIPStatus int32 + ExpireTime int64 + HostSeries string + InstReleaseProtectionStatus int32 + IsMGR int32 + LastManualBackUp int32 + LowerCaseTableNames int32 + MachineSpec string + MysqlPort string + NetName string + NewMysqlVersion string + OrderId int64 + OuterProdInstId string + ParameterGroupUsed string + PauseEnable bool + ProdBillTime int32 + ProdBillType int32 + ProdDbEngine string + ProdId int64 + ProdInstFlag string + ProdInstId int32 + ProdInstName string + ProdInstSetName string + ProdOrderStatus int32 + ProdRunningStatus int32 + ProdType int32 + ProjectId string + ProjectName string + ReadPort string + RenewalEnable bool + Resources string + SSlStatus int32 + SecurityGroup string + SecurityGroupId string + SecurityGroupStatus int32 + Subnet string + SubnetId string + TenantId string + Timezone string + TplCode string + TplName string + UserId int32 + Usezos int32 + Vip string + Vip6 string + VpcId string + WritePort string + type HostInst struct + HostDefaultNum int32 + HostType string + HostTypeName string + ProdPerformanceSpeces []string + type InstSpecInfo struct + AzList []string + CpuType string + Generation string + MaxRate string + MinRate string + ProdPerformanceSpec string + SpecId string + SpecName string + type MysqlNodeInfoListRequest struct + AvailabilityZoneInfo []AvailabilityZoneInfoRequest + BackupStorageSpace int32 + BackupStorageType string + Disks int32 + InstSpec string + NodeType string + ProdPerformanceSpec string + StorageSpace int32 + StorageType string + type ProdHostConfig struct + HostInsts []HostInst + type TagVO struct + Key *string + LabelId *string + Value *string + type TeledbBindEipApi struct + func NewTeledbBindEipApi(client *ctyunsdk.CtyunClient) *TeledbBindEipApi + func (this *TeledbBindEipApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbBindEipRequest, ...) (bindResponse *TeledbBindEipResponse, err error) + type TeledbBindEipRequest struct + Eip string + EipID string + InstID string + type TeledbBindEipRequestHeader struct + ProjectID *string + type TeledbBindEipResponse struct + Error string + Message string + StatusCode int32 + type TeledbBoundEipListApi struct + func NewTeledbBoundEipListApi(client *ctyunsdk.CtyunClient) *TeledbBoundEipListApi + func (this *TeledbBoundEipListApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *TeledbBoundEipListResponse, err error) + type TeledbBoundEipListRequest struct + EipID *string + InstID *string + RegionID string + type TeledbBoundEipListRequestHeader struct + ProjectID *string + type TeledbBoundEipListResponse struct + Error string + Message string + ReturnObj *TeledbBoundEipListResponseReturnObj + StatusCode int32 + type TeledbBoundEipListResponseReturnObj struct + Data []TeledbBoundEipListResponseReturnObjData + type TeledbBoundEipListResponseReturnObjData struct + BandWidth int32 + BindStatus int32 + Eip string + EipID string + Status string + type TeledbCreateAccessWhiteList struct + func NewTeledbCreateAccessWhiteList(client *ctyunsdk.CtyunClient) *TeledbCreateAccessWhiteList + func (this *TeledbCreateAccessWhiteList) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *TeledbCreateAccessWhiteListResponse, err error) + type TeledbCreateAccessWhiteListRequest struct + GroupName string + GroupWhiteList []string + OuterProdInstID string + type TeledbCreateAccessWhiteListRequestHeader struct + InstID *string + ProjectID *string + RegionID string + type TeledbCreateAccessWhiteListResponse struct + Error string + Message string + StatusCode int32 + type TeledbCreateApi struct + func NewTeledbCreateApi(client *ctyunsdk.CtyunClient) *TeledbCreateApi + func (this *TeledbCreateApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbCreateRequest, ...) (*TeledbCreateResponse, ctyunsdk.CtyunRequestError) + type TeledbCreateRequest struct + AutoRenewStatus int32 + AvailabilityZone []string + BillMode string + Count int32 + CpuType string + HostType string + MysqlNodeInfoList []MysqlNodeInfoListRequest + Name string + OsType string + Password string + Period int32 + ProdId int64 + ProdPerformanceSpeces []string + ProdSpecName string + ProdVersion string + RegionId string + SecurityGroupId string + SubnetId string + VpcId string + type TeledbCreateRequestHeader struct + ProjectID *string + type TeledbCreateResponse struct + Error *string + Message *string + ReturnObj *returnObj + StatusCode int32 + type TeledbDeleteAccessWhiteList struct + func NewTeledbDeleteAccessWhiteList(client *ctyunsdk.CtyunClient) *TeledbDeleteAccessWhiteList + func (this *TeledbDeleteAccessWhiteList) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *TeledbDeleteAccessWhiteListResponse, err error) + type TeledbDeleteAccessWhiteListRequest struct + GroupName string + OuterProdInstID string + type TeledbDeleteAccessWhiteListRequestHeader struct + InstID *string + ProjectID *string + RegionID string + type TeledbDeleteAccessWhiteListResponse struct + Error string + Message string + StatusCode int32 + type TeledbDestroyApi struct + func NewTeledbDestroyApi(client *ctyunsdk.CtyunClient) *TeledbDestroyApi + func (this *TeledbDestroyApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbDestroyRequest, ...) (destroyResp *TeledbDestroyResponse, err error) + type TeledbDestroyRequest struct + InstId string + type TeledbDestroyRequestHeader struct + ProjectID string + type TeledbDestroyResponse struct + Error *string + Message string + ReturnObj *TeledbDestroyResponseReturnObj + StatusCode int32 + type TeledbDestroyResponseReturnObj struct + Data *TeledbDestroyResponseReturnObjData + type TeledbDestroyResponseReturnObjData struct + ErrorMessage string + NewOrderId string + NewOrderNo string + Submitted bool + TotalPrice float64 + type TeledbGetAccessWhiteList struct + func NewTeledbGetAccessWhiteList(client *ctyunsdk.CtyunClient) *TeledbGetAccessWhiteList + func (this *TeledbGetAccessWhiteList) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *TeledbGetAccessWhiteListResponse, err error) + type TeledbGetAccessWhiteListRequest struct + OuterProdInstID string + type TeledbGetAccessWhiteListRequestHeader struct + InstID *string + ProjectID *string + RegionID string + type TeledbGetAccessWhiteListResponse struct + Error string + Message string + ReturnObj []TeledbGetAccessWhiteListResponseReturnObj + StatusCode int32 + type TeledbGetAccessWhiteListResponseReturnObj struct + AccessMachineType string + CreateTime int64 + GroupName string + GroupWhiteListCount int32 + ID int64 + OuterProdInstID string + UpdateTime int64 + WhiteList []string + type TeledbGetAvailabilityZone struct + func NewTeledbGetAvailabilityZone(client *ctyunsdk.CtyunClient) *TeledbGetAvailabilityZone + func (this *TeledbGetAvailabilityZone) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *TeledbGetAvailabilityZoneResponse, err error) + type TeledbGetAvailabilityZoneRequest struct + RegionId string + type TeledbGetAvailabilityZoneRequestHeader struct + ProjectID *string + type TeledbGetAvailabilityZoneResponse struct + Error string + Message string + ReturnObj TeledbGetAvailabilityZoneResponseReturnObj + StatusCode int32 + type TeledbGetAvailabilityZoneResponseReturnObj struct + Data []TeledbGetAvailabilityZoneResponseReturnObjData + type TeledbGetAvailabilityZoneResponseReturnObjData struct + AvailabilityZoneId string + AvailabilityZoneName string + DisplayName string + type TeledbGetListApi struct + func NewTeledbGetListApi(client *ctyunsdk.CtyunClient) *TeledbGetListApi + func (this *TeledbGetListApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbGetListRequest, ...) (*TeledbGetListResponse, error) + type TeledbGetListHeaders struct + ProjectID *string + RegionID string + type TeledbGetListRequest struct + PageNow int32 + PageSize int32 + ProdInstName *string + ResDbEngine *string + TagVOList []TagVO + Vip *string + type TeledbGetListResponse struct + Error *string + Message *string + ReturnObj *TeledbGetListResponseReturnObj + StatusCode int32 + type TeledbGetListResponseReturnDetailList struct + Alive int32 + AuditLogStatus int32 + BackupDiskUsedRated int32 + CanOperate int32 + CreateTime int64 + DbMysqlVersion string + DiskSize int32 + DiskType string + ExpireTime int64 + InstReleaseProtectionStatus int32 + IsMGR int32 + LastManualBackUp int64 + MachineSpec string + NetName string + NewMysqlVersion string + OrderId int64 + OuterProdInstId string + ParameterGroupUsed string + PauseEnable bool + ProdBillTime int32 + ProdBillType int32 + ProdDbEngine string + ProdId int64 + ProdInstFlag string + ProdInstId int64 + ProdInstName string + ProdInstSetName string + ProdOrderStatus int32 + ProdRunningStatus int32 + ProdType int32 + ProjectId string + ProjectName string + ReadPort string + RenewalEnable bool + Resources string + SecurityGroup string + Subnet string + TenantId string + TplCode string + TplName string + UserId int64 + Usezos int32 + Vip string + Vip6 string + VpcId string + WritePort string + type TeledbGetListResponseReturnObj struct + EndRow int32 + FirstPage int32 + HasNextPage bool + HasPreviousPage bool + IsFirstPage bool + IsLastPage bool + List []TeledbGetListResponseReturnDetailList + NavigatePageNums []int32 + NavigatePages int32 + PageNum int32 + PageSize int32 + Pages int32 + PrePage int32 + Size int32 + StartRow int32 + Total int32 + type TeledbMysqlSpecsApi struct + func NewTeledbMysqlSpecsApi(client *ctyunsdk.CtyunClient) *TeledbMysqlSpecsApi + func (this *TeledbMysqlSpecsApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (specsResponse *TeledbMysqlSpecsResponse, err error) + type TeledbMysqlSpecsRequest struct + InstanceType string + ProdCode string + ProdType string + RegionID string + type TeledbMysqlSpecsRequestHeader struct + ProjectID *string + type TeledbMysqlSpecsResponse struct + Error string + Message string + ReturnObj *TeledbMysqlSpecsResponseReturnObj + StatusCode int32 + type TeledbMysqlSpecsResponseReturnObj struct + Data []TeledbMysqlSpecsResponseReturnObjData + type TeledbMysqlSpecsResponseReturnObjData struct + HostSpec string + InstSpecInfoList []InstSpecInfo + InstanceDesc string + LvsSpec string + ProdCode string + ProdHostConfig ProdHostConfig + ProdId int64 + ProdSpecDesc string + ProdSpecName string + ProdVersion string + type TeledbQueryDetailApi struct + func NewTeledbQueryDetailApi(client *ctyunsdk.CtyunClient) *TeledbQueryDetailApi + func (this *TeledbQueryDetailApi) Do(ctx context.Context, credentials ctyunsdk.Credential, ...) (detailResp *TeledbQueryDetailResponse, err error) + type TeledbQueryDetailRequest struct + OuterProdInstId string + type TeledbQueryDetailRequestHeaders struct + InstID string + ProjectID *string + RegionID string + type TeledbQueryDetailResponse struct + Error string + Message string + ReturnObj *DetailRespReturnObj + StatusCode int32 + type TeledbRefundApi struct + func NewTeledbRefundApi(client *ctyunsdk.CtyunClient) *TeledbRefundApi + func (this *TeledbRefundApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbRefundRequest, ...) (refundResp *TeledbRefundResponse, err error) + type TeledbRefundRequest struct + InstId string + type TeledbRefundRequestHeader struct + ProjectID string + type TeledbRefundResponse struct + Error *string + Message string + ReturnObj *TeledbRefundResponseReturnObj + StatusCode int32 + type TeledbRefundResponseReturnObj struct + Data *TeledbRefundResponseReturnObjData + type TeledbRefundResponseReturnObjData struct + ErrorMessage string + NewOrderId string + NewOrderNo string + Submitted bool + TotalPrice float64 + type TeledbRestartApi struct + func NewTeledbRestartApi(client *ctyunsdk.CtyunClient) *TeledbRestartApi + func (this *TeledbRestartApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbRestartRequest, ...) (teledbRestartResp *TeledbRestartResponse, err error) + type TeledbRestartRequest struct + OuterProdInstId string + type TeledbRestartRequestHeader struct + InstID string + ProjectID string + RegionID string + type TeledbRestartResponse struct + Error string + Message string + StatusCode int + type TeledbStartApi struct + func NewTeledbStartApi(client *ctyunsdk.CtyunClient) *TeledbStartApi + func (this *TeledbStartApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbStartRequest, ...) (teledbStartResp *TeledbStartResponse, err error) + type TeledbStartRequest struct + OuterProdInstId string + type TeledbStartRequestHeader struct + InstID string + ProjectID string + RegionID string + type TeledbStartResponse struct + Error string + Message string + StatusCode int + type TeledbStopApi struct + func NewTeledbStopApi(client *ctyunsdk.CtyunClient) *TeledbStopApi + func (this *TeledbStopApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbStopRequest, ...) (teledbStopResp *TeledbStopResponse, err error) + type TeledbStopRequest struct + OuterProdInstId string + type TeledbStopRequestHeader struct + InstID string + ProjectID string + RegionID string + type TeledbStopResponse struct + Error string + Message string + StatusCode int + type TeledbUnbindEipApi struct + func NewTeledbUnbindEipApi(client *ctyunsdk.CtyunClient) *TeledbUnbindEipApi + func (this *TeledbUnbindEipApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (unbindResponse *TeledbUnbindEipResponse, err error) + type TeledbUnbindEipRequest struct + Eip string + EipID string + InstID string + type TeledbUnbindEipRequestHeader struct + ProjectID *string + type TeledbUnbindEipResponse struct + Error string + Message string + StatusCode int32 + type TeledbUpdateAccessWhiteList struct + func NewTeledbUpdateAccessWhiteList(client *ctyunsdk.CtyunClient) *TeledbUpdateAccessWhiteList + func (this *TeledbUpdateAccessWhiteList) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *TeledbUpdateAccessWhiteListResponse, err error) + type TeledbUpdateAccessWhiteListRequest struct + GroupName string + GroupWhiteList []string + OuterProdInstID string + type TeledbUpdateAccessWhiteListRequestHeader struct + InstID *string + ProjectID *string + RegionID string + type TeledbUpdateAccessWhiteListResponse struct + Error string + Message string + StatusCode int32 + type TeledbUpdateInstanceNameApi struct + func NewTeledbUpdateInstanceNameApi(client *ctyunsdk.CtyunClient) *TeledbUpdateInstanceNameApi + func (this *TeledbUpdateInstanceNameApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (updatedNameResp *TeledbUpdateInstanceNameResponse, err error) + type TeledbUpdateInstanceNameRequest struct + InstanceDescription string + OuterProdInstID string + type TeledbUpdateInstanceNameRequestHeader struct + InstID string + ProjectID *string + RegionID string + type TeledbUpdateInstanceNameResponse struct + Error string + Message string + StatusCode int32 + type TeledbUpdateSecurityGroupApi struct + func NewTeledbUpdateSecurityGroupApi(client *ctyunsdk.CtyunClient) *TeledbUpdateSecurityGroupApi + func (this *TeledbUpdateSecurityGroupApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (updateResp *TeledbUpdateSecurityGroupResponse, err error) + type TeledbUpdateSecurityGroupRequest struct + type TeledbUpdateSecurityGroupRequestHeader struct + type TeledbUpdateSecurityGroupResponse struct + type TeledbUpdateWritePortApi struct + func NewTeledbUpdateWritePortApi(client *ctyunsdk.CtyunClient) *TeledbUpdateWritePortApi + func (this *TeledbUpdateWritePortApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (updatedResponse *TeledbUpdateWritePortResponse, err error) + type TeledbUpdateWritePortRequest struct + OuterProdInstId string + WritePort string + type TeledbUpdateWritePortRequestHeader struct + InstID string + ProjectID string + RegionID string + type TeledbUpdateWritePortResponse struct + Error string + Message string + StatusCode int32 + type TeledbUpgradeApi struct + func NewTeledbUpgradeApi(client *ctyunsdk.CtyunClient) *TeledbUpgradeApi + func (this *TeledbUpgradeApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *TeledbUpgradeRequest, ...) (upgradeResp *TeledbUpgradeResponse, err error) + type TeledbUpgradeRequest struct + AzList []AvailabilityZoneInfo + DiskVolume *int32 + InstId string + NodeType *string + ProdId *int64 + ProdPerformanceSpec *string + type TeledbUpgradeRequestHeader struct + ProjectID *string + type TeledbUpgradeResponse struct + Error string + Message string + ReturnObj *TeledbUpgradeResponseReturnObj + StatusCode int32 + type TeledbUpgradeResponseReturnObj struct + NewOrderId string v0 v0.0.2-test Sep 26, 2025 v0.0.1-test Sep 25, 2025