Versions in this module Expand all Collapse all v1 v1.2.0 Sep 26, 2025 Changes in this version + const EndpointNameMongodb + const UrlPordMongodb + const UrlTestMongodb + var EndPointMongodbProd = ctyunsdk.Endpoint + var EndpointMongodbTest = ctyunsdk.Endpoint + type Apis struct + MongodbBindEipApi *MongodbBindEipApi + MongodbBoundEipListApi *MongodbBoundEipListApi + MongodbCreateApi *MongodbCreateApi + MongodbDestroyApi *MongodbDestroyApi + MongodbGetListApi *MongodbGetListApi + MongodbQueryDetailApi *MongodbQueryDetailApi + MongodbRefundApi *MongodbRefundApi + MongodbUnbindEipApi *MongodbUnbindEipApi + MongodbUpdateInstanceNameApi *MongodbUpdateInstanceNameApi + MongodbUpdatePortApi *MongodbUpdatePortApi + MongodbUpdateSecurityGroupApi *MongodbUpdateSecurityGroupApi + MongodbUpgradeApi *MongodbUpgradeApi + TeledbGetAvailabilityZone *TeledbGetAvailabilityZone + func NewApis(client *ctyunsdk.CtyunClient) *Apis + type AvailabilityZoneInfo struct + AvailabilityZoneCount int32 + AvailabilityZoneName string + NodeType *string + type AvailabilityZoneInfoRequest struct + AvailabilityZoneCount int32 + AvailabilityZoneName string + NodeType string + type AzInfo struct + AzId string + AzName string + ResId int64 + Role string + type DetailRespReturnObj struct + Backup *DetailRespReturnObjBackupInfo + CreateTime int64 + DiskRate float64 + DiskSize int32 + DiskType string + EnableSSL int32 + Host string + MachineSpec string + NodeInfoVOS []DetailRespReturnObjVOSInfo + Port string + ProdInstId string + ProdInstName string + ProdRunningStatus int32 + ProdType int32 + TenantId int64 + type DetailRespReturnObjBackupInfo struct + Size string + UsePercent string + Used string + type DetailRespReturnObjVOSInfo struct + Alive int32 + AllowBeMaster bool + AzDisplayName string + AzId *string + CpuCount int32 + DiskSize *string + ElasticIp string + Host string + Memory string + Node string + OuterElasticIpId string + ProdInstId string + ProdInstSetName *string + RealIp *string + ResId int + Role string + Type *string + UsedSpace *string + VpcIpv6 string + type MongodbBindEipApi struct + func NewMongodbBindEipApi(client *ctyunsdk.CtyunClient) *MongodbBindEipApi + func (this *MongodbBindEipApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *MongodbBindEipResponse, err error) + type MongodbBindEipRequest struct + Eip string + EipID string + HostIp string + InstID string + type MongodbBindEipRequestHeader struct + ProjectID *string + type MongodbBindEipResponse struct + Error string + Message string + StatusCode int32 + type MongodbBoundEipListApi struct + func NewMongodbBoundEipListApi(client *ctyunsdk.CtyunClient) *MongodbBoundEipListApi + func (this *MongodbBoundEipListApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (bindResponse *MongodbBoundEipListResponse, err error) + type MongodbBoundEipListRequest struct + EipID *string + InstID *string + RegionID string + type MongodbBoundEipListRequestHeader struct + ProjectID *string + type MongodbBoundEipListResponse struct + Error string + Message string + ReturnObj *MongodbBoundEipListResponseReturnObj + StatusCode int32 + type MongodbBoundEipListResponseReturnObj struct + Data []MongodbBoundEipListResponseReturnObjData + type MongodbBoundEipListResponseReturnObjData struct + BandWidth int32 + BindStatus int32 + Eip string + EipID string + Status string + type MongodbCreateApi struct + func NewMongodbCreateApi(client *ctyunsdk.CtyunClient) *MongodbCreateApi + func (this *MongodbCreateApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *MongodbCreateRequest, ...) (*MongodbCreateResponse, ctyunsdk.CtyunRequestError) + type MongodbCreateRequest struct + AutoRenewStatus int32 + AvailabilityZone []string + BackupStorageType *string + BillMode string + Count int32 + HostType string + MysqlNodeInfoList []MongodbNodeInfoListRequest + Name string + Password string + Period int32 + ProdId int64 + ProdPerformanceSpecs []string + ProdSpecName *string + ProdVersion *string + RegionId string + SecurityGroupId string + SubnetId string + VpcId string + type MongodbCreateRequestHeader struct + ProjectID *string + type MongodbCreateResponse struct + Error *string + Message *string + ReturnObj *returnObj + StatusCode int32 + type MongodbDestroyApi struct + func NewMongodbDestroyApi(client *ctyunsdk.CtyunClient) *MongodbDestroyApi + func (this *MongodbDestroyApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (destroyResp *MongodbDestroyResponse, err error) + type MongodbDestroyRequest struct + InstId string + type MongodbDestroyRequestHeader struct + ProjectID string + type MongodbDestroyResponse struct + Error *string + Message string + ReturnObj *MongodbDestroyResponseReturnObj + StatusCode int32 + type MongodbDestroyResponseReturnObj struct + Data *MongodbDestroyResponseReturnObjData + type MongodbDestroyResponseReturnObjData struct + ErrorMessage string + NewOrderId string + NewOrderNo string + Submitted bool + TotalPrice float64 + type MongodbGetListApi struct + func NewMongodbGetListApi(client *ctyunsdk.CtyunClient) *MongodbGetListApi + func (this *MongodbGetListApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (*MongodbGetListResponse, error) + type MongodbGetListHeaders struct + ProjectID *string + RegionID string + type MongodbGetListRequest struct + LabelIds *string + PageNow int32 + PageSize int32 + ProdInstName *string + ResDbEngine *string + type MongodbGetListResponse struct + Error *string + Message *string + ReturnObj *MongodbGetListResponseReturnObj + StatusCode int32 + type MongodbGetListResponseReturnDetailList struct + BillMode int32 + CreateTime int64 + Destroyed bool + DestroyedTime string + DiskSize int32 + DiskType string + DiskUsed *string + ExpireTime int64 + InnodbBufferPoolSize string + InnodbThreadConcurrency int64 + LogStatus bool + MachineSpec string + MaintainTime string + NetName string + OrderId int64 + OuterId string + ParameterConfigsvrGroupUsed *string + ParameterGroupUsed string + ProdBillTime int32 + ProdBillType int32 + ProdDbEngine string + ProdId string + ProdInstFlag string + ProdInstId string + ProdInstName string + ProdInstSetName string + ProdOrderStatus int32 + ProdRunningStatus int32 + ProdType int32 + ProjectId string + ProjectName string + ReadPort *int32 + Released bool + RestoreTime string + SecurityGroup string + SecurityGroupId string + SubNetID string + Subnet string + TenantId int64 + TplCode string + TplName string + UsedSpace *string + UserId int64 + VersionNum *string + VpcId string + type MongodbGetListResponseReturnObj struct + EndRow int32 + FirstPage int32 + HasNextPage bool + HasPreviousPage bool + IsFirstPage bool + IsLastPage bool + LastPage int32 + List []MongodbGetListResponseReturnDetailList + NavigatePages int32 + NextPage int32 + PageNum int32 + PageSize int32 + Pages int32 + PrePage int32 + Size int32 + StartRow int32 + Total int32 + type MongodbNodeInfoListRequest struct + AvailabilityZoneInfo []AvailabilityZoneInfoRequest + Disks int32 + InstSpec string + NodeType string + ProdPerformanceSpec string + StorageSpace int32 + StorageType string + type MongodbQueryDetailApi struct + func NewMongodbQueryDetailApi(client *ctyunsdk.CtyunClient) *MongodbQueryDetailApi + func (this *MongodbQueryDetailApi) Do(ctx context.Context, credentials ctyunsdk.Credential, ...) (detailResp *MongodbQueryDetailResponse, err error) + type MongodbQueryDetailRequest struct + ProdInstId string + type MongodbQueryDetailRequestHeaders struct + ProjectID *string + RegionID string + type MongodbQueryDetailResponse struct + Error string + Message *string + ReturnObj *DetailRespReturnObj + StatusCode int32 + type MongodbRefundApi struct + func NewMongodbRefundApi(client *ctyunsdk.CtyunClient) *MongodbRefundApi + func (this *MongodbRefundApi) Do(ctx context.Context, credential ctyunsdk.Credential, req *MongodbRefundRequest, ...) (refundResp *MongodbRefundResponse, err error) + type MongodbRefundRequest struct + InstId string + type MongodbRefundRequestHeader struct + ProjectID string + type MongodbRefundResponse struct + Error *string + Message string + ReturnObj *MongodbRefundResponseReturnObj + StatusCode int32 + type MongodbRefundResponseReturnObj struct + Data *MongodbRefundResponseReturnObjData + type MongodbRefundResponseReturnObjData struct + ErrorMessage string + NewOrderId string + NewOrderNo string + Submitted bool + TotalPrice float64 + type MongodbUnbindEipApi struct + func NewMongodbUnbindEipApi(client *ctyunsdk.CtyunClient) *MongodbUnbindEipApi + func (this *MongodbUnbindEipApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (unbindResponse *MongodbUnbindEipResponse, err error) + type MongodbUnbindEipRequest struct + Eip string + EipID string + InstID string + type MongodbUnbindEipRequestHeader struct + ProjectID *string + type MongodbUnbindEipResponse struct + Error string + Message string + StatusCode int32 + type MongodbUpdateInstanceNameApi struct + func NewMongodbUpdateInstanceNameApi(client *ctyunsdk.CtyunClient) *MongodbUpdateInstanceNameApi + func (this *MongodbUpdateInstanceNameApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (updatedNameResp *MongodbUpdateInstanceNameResponse, err error) + type MongodbUpdateInstanceNameRequest struct + ProdInstId string + ProdInstName string + type MongodbUpdateInstanceNameRequestHeader struct + ProjectID *string + RegionID string + type MongodbUpdateInstanceNameResponse struct + Error string + Message *string + StatusCode int32 + type MongodbUpdatePortApi struct + func NewMongodbUpdatePortApi(client *ctyunsdk.CtyunClient) *MongodbUpdatePortApi + func (this *MongodbUpdatePortApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (updatedResponse *MongodbUpdatePortResponse, err error) + type MongodbUpdatePortRequest struct + NewPort string + ProdInstId string + type MongodbUpdatePortRequestHeader struct + ProjectID *string + RegionID string + type MongodbUpdatePortResponse struct + Error string + Message string + StatusCode int32 + type MongodbUpdateSecurityGroupApi struct + func NewMongodbUpdateSecurityGroupApi(client *ctyunsdk.CtyunClient) *MongodbUpdateSecurityGroupApi + func (this *MongodbUpdateSecurityGroupApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (updateResp *MongodbUpdateSecurityGroupResponse, err error) + type MongodbUpdateSecurityGroupRequest struct + InstanceId string + NewSecurityGroupId string + SecurityGroupId string + type MongodbUpdateSecurityGroupRequestHeader struct + ProjectID *string + type MongodbUpdateSecurityGroupResponse struct + Error string + Message string + StatusCode int32 + type MongodbUpgradeApi struct + func NewMongodbUpgradeApi(client *ctyunsdk.CtyunClient) *MongodbUpgradeApi + func (this *MongodbUpgradeApi) Do(ctx context.Context, credential ctyunsdk.Credential, ...) (upgradeResp *MongodbUpgradeResponse, err error) + type MongodbUpgradeRequest struct + AzList []AvailabilityZoneInfo + DiskVolume *int32 + InstId string + IsUpgradeBackup *bool + NodeType *string + ProdId *int64 + ProdPerformanceSpec *string + type MongodbUpgradeRequestHeader struct + ProjectID *string + type MongodbUpgradeResponse struct + Error string + Message string + ReturnObj *MongodbUpgradeResponseReturnObj + StatusCode int32 + type MongodbUpgradeResponseReturnObj struct + NewOrderId 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