Documentation
¶
Overview ¶
Package utsdb include resources of ucloud utsdb product
See also
- API: https://docs.ucloud.cn/api/utsdb-api/index
- Product: https://www.ucloud.cn/site/product/utsdb.html
for detail.
Index ¶
- type AccountInfo
- type CheckUInfluxdbAllowanceRequest
- type CheckUInfluxdbAllowanceResponse
- type CreateUInfluxdbDatabaseRPRequest
- type CreateUInfluxdbDatabaseRPResponse
- type CreateUInfluxdbDatabaseRequest
- type CreateUInfluxdbDatabaseResponse
- type CreateUInfluxdbInstanceRequest
- type CreateUInfluxdbInstanceResponse
- type DatabaseInfo
- type DeleteUInfluxdbDatabaseRPRequest
- type DeleteUInfluxdbDatabaseRPResponse
- type DeleteUInfluxdbDatabaseRequest
- type DeleteUInfluxdbDatabaseResponse
- type DeleteUInfluxdbInstanceRequest
- type DeleteUInfluxdbInstanceResponse
- type DescribeUInfluxdbDatabaseRPRequest
- type DescribeUInfluxdbDatabaseRPResponse
- type DescribeUInfluxdbDatabaseRequest
- type DescribeUInfluxdbDatabaseResponse
- type DescribeUInfluxdbInstanceRequest
- type DescribeUInfluxdbInstanceResponse
- type DescribeUInfluxdbPriceRequest
- type DescribeUInfluxdbPriceResponse
- type DescribeUInfluxdbUpgradePriceRequest
- type DescribeUInfluxdbUpgradePriceResponse
- type ModifyUInfluxdbDatabasePolicyRequest
- type ModifyUInfluxdbDatabasePolicyResponse
- type RebootUInfluxdbInstanceRequest
- type RebootUInfluxdbInstanceResponse
- type ResetUInfluxdbInstanceNameRequest
- type ResetUInfluxdbInstanceNameResponse
- type RpData
- type StartUInfluxdbInstanceRequest
- type StartUInfluxdbInstanceResponse
- type StopUInfluxdbInstanceRequest
- type StopUInfluxdbInstanceResponse
- type UInfluxdbDataSet
- type UTSDBClient
- func (c *UTSDBClient) CheckUInfluxdbAllowance(req *CheckUInfluxdbAllowanceRequest) (*CheckUInfluxdbAllowanceResponse, error)
- func (c *UTSDBClient) CreateUInfluxdbDatabase(req *CreateUInfluxdbDatabaseRequest) (*CreateUInfluxdbDatabaseResponse, error)
- func (c *UTSDBClient) CreateUInfluxdbDatabaseRP(req *CreateUInfluxdbDatabaseRPRequest) (*CreateUInfluxdbDatabaseRPResponse, error)
- func (c *UTSDBClient) CreateUInfluxdbInstance(req *CreateUInfluxdbInstanceRequest) (*CreateUInfluxdbInstanceResponse, error)
- func (c *UTSDBClient) DeleteUInfluxdbDatabase(req *DeleteUInfluxdbDatabaseRequest) (*DeleteUInfluxdbDatabaseResponse, error)
- func (c *UTSDBClient) DeleteUInfluxdbDatabaseRP(req *DeleteUInfluxdbDatabaseRPRequest) (*DeleteUInfluxdbDatabaseRPResponse, error)
- func (c *UTSDBClient) DeleteUInfluxdbInstance(req *DeleteUInfluxdbInstanceRequest) (*DeleteUInfluxdbInstanceResponse, error)
- func (c *UTSDBClient) DescribeUInfluxdbDatabase(req *DescribeUInfluxdbDatabaseRequest) (*DescribeUInfluxdbDatabaseResponse, error)
- func (c *UTSDBClient) DescribeUInfluxdbDatabaseRP(req *DescribeUInfluxdbDatabaseRPRequest) (*DescribeUInfluxdbDatabaseRPResponse, error)
- func (c *UTSDBClient) DescribeUInfluxdbInstance(req *DescribeUInfluxdbInstanceRequest) (*DescribeUInfluxdbInstanceResponse, error)
- func (c *UTSDBClient) DescribeUInfluxdbPrice(req *DescribeUInfluxdbPriceRequest) (*DescribeUInfluxdbPriceResponse, error)
- func (c *UTSDBClient) DescribeUInfluxdbUpgradePrice(req *DescribeUInfluxdbUpgradePriceRequest) (*DescribeUInfluxdbUpgradePriceResponse, error)
- func (c *UTSDBClient) ModifyUInfluxdbDatabasePolicy(req *ModifyUInfluxdbDatabasePolicyRequest) (*ModifyUInfluxdbDatabasePolicyResponse, error)
- func (c *UTSDBClient) NewCheckUInfluxdbAllowanceRequest() *CheckUInfluxdbAllowanceRequest
- func (c *UTSDBClient) NewCreateUInfluxdbDatabaseRPRequest() *CreateUInfluxdbDatabaseRPRequest
- func (c *UTSDBClient) NewCreateUInfluxdbDatabaseRequest() *CreateUInfluxdbDatabaseRequest
- func (c *UTSDBClient) NewCreateUInfluxdbInstanceRequest() *CreateUInfluxdbInstanceRequest
- func (c *UTSDBClient) NewDeleteUInfluxdbDatabaseRPRequest() *DeleteUInfluxdbDatabaseRPRequest
- func (c *UTSDBClient) NewDeleteUInfluxdbDatabaseRequest() *DeleteUInfluxdbDatabaseRequest
- func (c *UTSDBClient) NewDeleteUInfluxdbInstanceRequest() *DeleteUInfluxdbInstanceRequest
- func (c *UTSDBClient) NewDescribeUInfluxdbDatabaseRPRequest() *DescribeUInfluxdbDatabaseRPRequest
- func (c *UTSDBClient) NewDescribeUInfluxdbDatabaseRequest() *DescribeUInfluxdbDatabaseRequest
- func (c *UTSDBClient) NewDescribeUInfluxdbInstanceRequest() *DescribeUInfluxdbInstanceRequest
- func (c *UTSDBClient) NewDescribeUInfluxdbPriceRequest() *DescribeUInfluxdbPriceRequest
- func (c *UTSDBClient) NewDescribeUInfluxdbUpgradePriceRequest() *DescribeUInfluxdbUpgradePriceRequest
- func (c *UTSDBClient) NewModifyUInfluxdbDatabasePolicyRequest() *ModifyUInfluxdbDatabasePolicyRequest
- func (c *UTSDBClient) NewRebootUInfluxdbInstanceRequest() *RebootUInfluxdbInstanceRequest
- func (c *UTSDBClient) NewResetUInfluxdbInstanceNameRequest() *ResetUInfluxdbInstanceNameRequest
- func (c *UTSDBClient) NewStartUInfluxdbInstanceRequest() *StartUInfluxdbInstanceRequest
- func (c *UTSDBClient) NewStopUInfluxdbInstanceRequest() *StopUInfluxdbInstanceRequest
- func (c *UTSDBClient) NewUpgradeUInfluxdbInstanceRequest() *UpgradeUInfluxdbInstanceRequest
- func (c *UTSDBClient) RebootUInfluxdbInstance(req *RebootUInfluxdbInstanceRequest) (*RebootUInfluxdbInstanceResponse, error)
- func (c *UTSDBClient) ResetUInfluxdbInstanceName(req *ResetUInfluxdbInstanceNameRequest) (*ResetUInfluxdbInstanceNameResponse, error)
- func (c *UTSDBClient) StartUInfluxdbInstance(req *StartUInfluxdbInstanceRequest) (*StartUInfluxdbInstanceResponse, error)
- func (c *UTSDBClient) StopUInfluxdbInstance(req *StopUInfluxdbInstanceRequest) (*StopUInfluxdbInstanceResponse, error)
- func (c *UTSDBClient) UpgradeUInfluxdbInstance(req *UpgradeUInfluxdbInstanceRequest) (*UpgradeUInfluxdbInstanceResponse, error)
- type UpgradeUInfluxdbInstanceRequest
- type UpgradeUInfluxdbInstanceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountInfo ¶
AccountInfo - UInfluxdb 账户信息
type CheckUInfluxdbAllowanceRequest ¶
type CheckUInfluxdbAllowanceRequest struct { request.CommonBase // 创建实例的数量,[1-10] Count *int `required:"true"` // 核数 单位:个,范围[2C8G, 4C16G, 8C32G, 16C64G, 32C128G] CpuLimit *int `required:"true"` // 内存限制 单位:G 范围 [2C8G, 4C16G, 8C32G, 16C64G, 32C128G] MemoryLimit *int `required:"true"` }
CheckUInfluxdbAllowanceRequest is request schema for CheckUInfluxdbAllowance action
type CheckUInfluxdbAllowanceResponse ¶
type CheckUInfluxdbAllowanceResponse struct { response.CommonBase // 可创建的数量 Count int }
CheckUInfluxdbAllowanceResponse is response schema for CheckUInfluxdbAllowance action
type CreateUInfluxdbDatabaseRPRequest ¶
type CreateUInfluxdbDatabaseRPRequest struct { request.CommonBase // 要创建RP的数据库 DatabaseName *string `required:"true"` // 数据保留策略,以天为单位,比如(1d,2d,3d等,inf为永久保留策略,默认为inf) RetentionPolicy *string `required:"true"` // 保留策略名 RetentionPolicyName *string `required:"true"` // 实例ID UInfluxdbId *string `required:"true"` }
CreateUInfluxdbDatabaseRPRequest is request schema for CreateUInfluxdbDatabaseRP action
type CreateUInfluxdbDatabaseRPResponse ¶
type CreateUInfluxdbDatabaseRPResponse struct { response.CommonBase // 如果执行失败, 失败的错误消息 Message string }
CreateUInfluxdbDatabaseRPResponse is response schema for CreateUInfluxdbDatabaseRP action
type CreateUInfluxdbDatabaseRequest ¶
type CreateUInfluxdbDatabaseRequest struct { request.CommonBase // Influxdb数据库账号 AccoutName *string `required:"false"` // Influxdb创建的数据库的名称 DatabaseName *string `required:"true"` // Influxdb数据库的描述 Description *string `required:"false"` // 数据保留策略,以天为单位,比如(1d,2d,3d等,inf为永久保留策略,默认为inf) RetentionPolicy *string `required:"false"` // 实例ID UInfluxdbId *string `required:"true"` }
CreateUInfluxdbDatabaseRequest is request schema for CreateUInfluxdbDatabase action
type CreateUInfluxdbDatabaseResponse ¶
type CreateUInfluxdbDatabaseResponse struct {
response.CommonBase
}
CreateUInfluxdbDatabaseResponse is response schema for CreateUInfluxdbDatabase action
type CreateUInfluxdbInstanceRequest ¶
type CreateUInfluxdbInstanceRequest struct { request.CommonBase // 默认账户 AccountName *string `required:"true"` // 付费类型,后付费阶段固定为:后付费(PostPaid) ChargeType *string `required:"true"` // 使用的代金券id CouponId *string `required:"false"` // 核数 单位:个,范围[2C8G, 4C16G, 8C32G, 16C64G, 32C128G] CpuLimit *int `required:"true"` // 数据库名称 DatabaseName *string `required:"true"` // 内存限制 单位:G 范围 [2C8G, 4C16G, 8C32G, 16C64G, 32C128G] MemoryLimit *int `required:"true"` // 实例名称,长度(6<=size<=63) Name *string `required:"true"` // 默认账户的密码,需要 base64 编码 Password *string `required:"true"` // 购买时长,默认值1 Quantity *int `required:"true"` // 子网 id SubnetId *string `required:"true"` // 业务组名称 Tag *string `required:"false"` // VPC id VPCId *string `required:"true"` }
CreateUInfluxdbInstanceRequest is request schema for CreateUInfluxdbInstance action
type CreateUInfluxdbInstanceResponse ¶
type CreateUInfluxdbInstanceResponse struct { response.CommonBase // 返回的实例id UInfluxdbId string }
CreateUInfluxdbInstanceResponse is response schema for CreateUInfluxdbInstance action
type DatabaseInfo ¶
type DatabaseInfo struct { // 账户信息 AccountInfo []AccountInfo // 数据库名 DatabaseName string // 数据库描述 Description string // 保留策略 RetentionPolicy string // 数据库状态 State string }
DatabaseInfo -
type DeleteUInfluxdbDatabaseRPRequest ¶
type DeleteUInfluxdbDatabaseRPRequest struct { request.CommonBase // 要删除的RP所在数据库 DatabaseName *string `required:"true"` // 要删除的保留策略 RetentionPolicyName *string `required:"true"` // 实例ID UInfluxdbId *string `required:"true"` }
DeleteUInfluxdbDatabaseRPRequest is request schema for DeleteUInfluxdbDatabaseRP action
type DeleteUInfluxdbDatabaseRPResponse ¶
type DeleteUInfluxdbDatabaseRPResponse struct { response.CommonBase // 如果执行失败, 失败的错误消息 Message string }
DeleteUInfluxdbDatabaseRPResponse is response schema for DeleteUInfluxdbDatabaseRP action
type DeleteUInfluxdbDatabaseRequest ¶
type DeleteUInfluxdbDatabaseRequest struct { request.CommonBase // 数据库名称 DatabaseName *string `required:"true"` // 实例id UInfluxdbId *string `required:"true"` }
DeleteUInfluxdbDatabaseRequest is request schema for DeleteUInfluxdbDatabase action
type DeleteUInfluxdbDatabaseResponse ¶
type DeleteUInfluxdbDatabaseResponse struct {
response.CommonBase
}
DeleteUInfluxdbDatabaseResponse is response schema for DeleteUInfluxdbDatabase action
type DeleteUInfluxdbInstanceRequest ¶
type DeleteUInfluxdbInstanceRequest struct { request.CommonBase // UInfluxdb 实例id UInfluxdbId *string `required:"true"` }
DeleteUInfluxdbInstanceRequest is request schema for DeleteUInfluxdbInstance action
type DeleteUInfluxdbInstanceResponse ¶
type DeleteUInfluxdbInstanceResponse struct {
response.CommonBase
}
DeleteUInfluxdbInstanceResponse is response schema for DeleteUInfluxdbInstance action
type DescribeUInfluxdbDatabaseRPRequest ¶
type DescribeUInfluxdbDatabaseRPRequest struct { request.CommonBase // 数据库名称 DatabaseName *string `required:"true"` // 实例ID UInfluxdbId *string `required:"true"` }
DescribeUInfluxdbDatabaseRPRequest is request schema for DescribeUInfluxdbDatabaseRP action
type DescribeUInfluxdbDatabaseRPResponse ¶
type DescribeUInfluxdbDatabaseRPResponse struct { response.CommonBase // 返回保留策略数组(RpData类型) DataSet []RpData // 如果执行失败, 失败的错误消息 Message string }
DescribeUInfluxdbDatabaseRPResponse is response schema for DescribeUInfluxdbDatabaseRP action
type DescribeUInfluxdbDatabaseRequest ¶
type DescribeUInfluxdbDatabaseRequest struct { request.CommonBase // DatabaseName *string `required:"false"` // Limit *int `required:"false"` // Offset *int `required:"false"` // UInfluxdbId *string `required:"true"` }
DescribeUInfluxdbDatabaseRequest is request schema for DescribeUInfluxdbDatabase action
type DescribeUInfluxdbDatabaseResponse ¶
type DescribeUInfluxdbDatabaseResponse struct { response.CommonBase // DatabaseInfo []DatabaseInfo }
DescribeUInfluxdbDatabaseResponse is response schema for DescribeUInfluxdbDatabase action
type DescribeUInfluxdbInstanceRequest ¶
type DescribeUInfluxdbInstanceRequest struct { request.CommonBase // 分页显示数量,列表操作则指定 Limit *int `required:"false"` // 分页显示起始偏移位置,列表操作则指定 Offset *int `required:"false"` // 指定id的话,会拉取该实例信息,否则拉取该帐号所有信息 UInfluxdbId *string `required:"false"` }
DescribeUInfluxdbInstanceRequest is request schema for DescribeUInfluxdbInstance action
type DescribeUInfluxdbInstanceResponse ¶
type DescribeUInfluxdbInstanceResponse struct { response.CommonBase // UInfluxdb实例信息 DataSet []UInfluxdbDataSet }
DescribeUInfluxdbInstanceResponse is response schema for DescribeUInfluxdbInstance action
type DescribeUInfluxdbPriceRequest ¶
type DescribeUInfluxdbPriceRequest struct { request.CommonBase // 付费类型,后付费。填:PostPaid (后付费) ChargeType *string `required:"false"` // 核数 单位:个,规格[2C8G, 4C16G, 8C32G, 16C64G, 32C128G] CpuLimit *int `required:"true"` // 内存限制 单位:G 规格 [2C8G, 4C16G, 8C32G, 16C64G, 32C128G] MemoryLimit *int `required:"false"` // 付费周期数量 Quantity *int `required:"false"` }
DescribeUInfluxdbPriceRequest is request schema for DescribeUInfluxdbPrice action
type DescribeUInfluxdbPriceResponse ¶
type DescribeUInfluxdbPriceResponse struct { response.CommonBase // 原价 OriginalPrice float64 // 价格 Price float64 }
DescribeUInfluxdbPriceResponse is response schema for DescribeUInfluxdbPrice action
type DescribeUInfluxdbUpgradePriceRequest ¶
type DescribeUInfluxdbUpgradePriceRequest struct { request.CommonBase // 核数 CpuLimit *int `required:"true"` // 容量,单位GB MemoryLimit *int `required:"true"` // UInfluxdb 实例id UInfluxdbId *string `required:"true"` }
DescribeUInfluxdbUpgradePriceRequest is request schema for DescribeUInfluxdbUpgradePrice action
type DescribeUInfluxdbUpgradePriceResponse ¶
type DescribeUInfluxdbUpgradePriceResponse struct { response.CommonBase // 原价 OriginalPrice float64 // 升降级价格 TotalPrice float64 }
DescribeUInfluxdbUpgradePriceResponse is response schema for DescribeUInfluxdbUpgradePrice action
type ModifyUInfluxdbDatabasePolicyRequest ¶
type ModifyUInfluxdbDatabasePolicyRequest struct { request.CommonBase // 数据库名 DatabaseName *string `required:"true"` // 数据库数据保留策略。自定义格式如:10d(即10天),2w(即两周), RetentionPolicy *string `required:"true"` // Influxdb实例id UInfluxdbId *string `required:"true"` }
ModifyUInfluxdbDatabasePolicyRequest is request schema for ModifyUInfluxdbDatabasePolicy action
type ModifyUInfluxdbDatabasePolicyResponse ¶
type ModifyUInfluxdbDatabasePolicyResponse struct {
response.CommonBase
}
ModifyUInfluxdbDatabasePolicyResponse is response schema for ModifyUInfluxdbDatabasePolicy action
type RebootUInfluxdbInstanceRequest ¶
type RebootUInfluxdbInstanceRequest struct { request.CommonBase // UInfluxdb实例id UInfluxdbId *string `required:"true"` }
RebootUInfluxdbInstanceRequest is request schema for RebootUInfluxdbInstance action
type RebootUInfluxdbInstanceResponse ¶
type RebootUInfluxdbInstanceResponse struct {
response.CommonBase
}
RebootUInfluxdbInstanceResponse is response schema for RebootUInfluxdbInstance action
type ResetUInfluxdbInstanceNameRequest ¶
type ResetUInfluxdbInstanceNameRequest struct { request.CommonBase // 实例的新名字, 长度要求为6~63位 NewName *string `required:"true"` // UInfluxdb实例id UInfluxdbId *string `required:"true"` }
ResetUInfluxdbInstanceNameRequest is request schema for ResetUInfluxdbInstanceName action
type ResetUInfluxdbInstanceNameResponse ¶
type ResetUInfluxdbInstanceNameResponse struct {
response.CommonBase
}
ResetUInfluxdbInstanceNameResponse is response schema for ResetUInfluxdbInstanceName action
type StartUInfluxdbInstanceRequest ¶
type StartUInfluxdbInstanceRequest struct { request.CommonBase // UInfluxdb实例id UInfluxdbId *string `required:"true"` }
StartUInfluxdbInstanceRequest is request schema for StartUInfluxdbInstance action
type StartUInfluxdbInstanceResponse ¶
type StartUInfluxdbInstanceResponse struct {
response.CommonBase
}
StartUInfluxdbInstanceResponse is response schema for StartUInfluxdbInstance action
type StopUInfluxdbInstanceRequest ¶
type StopUInfluxdbInstanceRequest struct { request.CommonBase // UInfluxdb实例id UInfluxdbId *string `required:"true"` }
StopUInfluxdbInstanceRequest is request schema for StopUInfluxdbInstance action
type StopUInfluxdbInstanceResponse ¶
type StopUInfluxdbInstanceResponse struct {
response.CommonBase
}
StopUInfluxdbInstanceResponse is response schema for StopUInfluxdbInstance action
type UInfluxdbDataSet ¶
type UInfluxdbDataSet struct { // 账户名 AccountName string // 实例核数 CPULimit int // 付费类型,可选值如下: Year: 按年付费 Month: 按月付费 Dynamic: 按需付费(单位: 小时) Trial: 免费试用 ChargeType string // 创建时间 CreateTime int // 修改时间 ExpiredTime int // 实例内存 MemoryLimit int // 实例名称 Name string // 实例端口 Port int // 实例状态 State string // 子网ID SubnetId string // 业务组信息 Tag string // 实例id UInfluxdbId string // 硬盘使用量 UsedSize int // VPC的ID VPCId string // 实例ip VirtualIP string // UInfluxdb实例所在可用区 Zone string }
UInfluxdbDataSet - UInfluxdb信息的DataSet
type UTSDBClient ¶
UTSDBClient is the client of UTSDB
func NewClient ¶
func NewClient(config *ucloud.Config, credential *auth.Credential) *UTSDBClient
NewClient will return a instance of UTSDBClient
func (*UTSDBClient) CheckUInfluxdbAllowance ¶
func (c *UTSDBClient) CheckUInfluxdbAllowance(req *CheckUInfluxdbAllowanceRequest) (*CheckUInfluxdbAllowanceResponse, error)
API: CheckUInfluxdbAllowance
检查UInfluxdb剩余资源
func (*UTSDBClient) CreateUInfluxdbDatabase ¶
func (c *UTSDBClient) CreateUInfluxdbDatabase(req *CreateUInfluxdbDatabaseRequest) (*CreateUInfluxdbDatabaseResponse, error)
API: CreateUInfluxdbDatabase
创建Influxdb数据库
func (*UTSDBClient) CreateUInfluxdbDatabaseRP ¶
func (c *UTSDBClient) CreateUInfluxdbDatabaseRP(req *CreateUInfluxdbDatabaseRPRequest) (*CreateUInfluxdbDatabaseRPResponse, error)
API: CreateUInfluxdbDatabaseRP
给指定的database创建一个保留策略,最多可以创建10个RP
func (*UTSDBClient) CreateUInfluxdbInstance ¶
func (c *UTSDBClient) CreateUInfluxdbInstance(req *CreateUInfluxdbInstanceRequest) (*CreateUInfluxdbInstanceResponse, error)
API: CreateUInfluxdbInstance
创建UInfluxdb实例
func (*UTSDBClient) DeleteUInfluxdbDatabase ¶
func (c *UTSDBClient) DeleteUInfluxdbDatabase(req *DeleteUInfluxdbDatabaseRequest) (*DeleteUInfluxdbDatabaseResponse, error)
API: DeleteUInfluxdbDatabase
删除Influxdb实例的数据库
func (*UTSDBClient) DeleteUInfluxdbDatabaseRP ¶
func (c *UTSDBClient) DeleteUInfluxdbDatabaseRP(req *DeleteUInfluxdbDatabaseRPRequest) (*DeleteUInfluxdbDatabaseRPResponse, error)
API: DeleteUInfluxdbDatabaseRP
删除指定数据库下面的一个数据保留策略
func (*UTSDBClient) DeleteUInfluxdbInstance ¶
func (c *UTSDBClient) DeleteUInfluxdbInstance(req *DeleteUInfluxdbInstanceRequest) (*DeleteUInfluxdbInstanceResponse, error)
API: DeleteUInfluxdbInstance
删除UInfluxdb实例
func (*UTSDBClient) DescribeUInfluxdbDatabase ¶
func (c *UTSDBClient) DescribeUInfluxdbDatabase(req *DescribeUInfluxdbDatabaseRequest) (*DescribeUInfluxdbDatabaseResponse, error)
API: DescribeUInfluxdbDatabase
描述UInfluxdb数据库
func (*UTSDBClient) DescribeUInfluxdbDatabaseRP ¶
func (c *UTSDBClient) DescribeUInfluxdbDatabaseRP(req *DescribeUInfluxdbDatabaseRPRequest) (*DescribeUInfluxdbDatabaseRPResponse, error)
API: DescribeUInfluxdbDatabaseRP
获取指定数据库下面的所有保留策略
func (*UTSDBClient) DescribeUInfluxdbInstance ¶
func (c *UTSDBClient) DescribeUInfluxdbInstance(req *DescribeUInfluxdbInstanceRequest) (*DescribeUInfluxdbInstanceResponse, error)
API: DescribeUInfluxdbInstance
拉取UInfluxdb实例列表
func (*UTSDBClient) DescribeUInfluxdbPrice ¶
func (c *UTSDBClient) DescribeUInfluxdbPrice(req *DescribeUInfluxdbPriceRequest) (*DescribeUInfluxdbPriceResponse, error)
API: DescribeUInfluxdbPrice
获取UInfluxdb价格
func (*UTSDBClient) DescribeUInfluxdbUpgradePrice ¶
func (c *UTSDBClient) DescribeUInfluxdbUpgradePrice(req *DescribeUInfluxdbUpgradePriceRequest) (*DescribeUInfluxdbUpgradePriceResponse, error)
API: DescribeUInfluxdbUpgradePrice
获取UIfluxdb升降级价格
func (*UTSDBClient) ModifyUInfluxdbDatabasePolicy ¶
func (c *UTSDBClient) ModifyUInfluxdbDatabasePolicy(req *ModifyUInfluxdbDatabasePolicyRequest) (*ModifyUInfluxdbDatabasePolicyResponse, error)
API: ModifyUInfluxdbDatabasePolicy
更改UInfluxdb实例数据库数据保留策略
func (*UTSDBClient) NewCheckUInfluxdbAllowanceRequest ¶
func (c *UTSDBClient) NewCheckUInfluxdbAllowanceRequest() *CheckUInfluxdbAllowanceRequest
NewCheckUInfluxdbAllowanceRequest will create request of CheckUInfluxdbAllowance action.
func (*UTSDBClient) NewCreateUInfluxdbDatabaseRPRequest ¶
func (c *UTSDBClient) NewCreateUInfluxdbDatabaseRPRequest() *CreateUInfluxdbDatabaseRPRequest
NewCreateUInfluxdbDatabaseRPRequest will create request of CreateUInfluxdbDatabaseRP action.
func (*UTSDBClient) NewCreateUInfluxdbDatabaseRequest ¶
func (c *UTSDBClient) NewCreateUInfluxdbDatabaseRequest() *CreateUInfluxdbDatabaseRequest
NewCreateUInfluxdbDatabaseRequest will create request of CreateUInfluxdbDatabase action.
func (*UTSDBClient) NewCreateUInfluxdbInstanceRequest ¶
func (c *UTSDBClient) NewCreateUInfluxdbInstanceRequest() *CreateUInfluxdbInstanceRequest
NewCreateUInfluxdbInstanceRequest will create request of CreateUInfluxdbInstance action.
func (*UTSDBClient) NewDeleteUInfluxdbDatabaseRPRequest ¶
func (c *UTSDBClient) NewDeleteUInfluxdbDatabaseRPRequest() *DeleteUInfluxdbDatabaseRPRequest
NewDeleteUInfluxdbDatabaseRPRequest will create request of DeleteUInfluxdbDatabaseRP action.
func (*UTSDBClient) NewDeleteUInfluxdbDatabaseRequest ¶
func (c *UTSDBClient) NewDeleteUInfluxdbDatabaseRequest() *DeleteUInfluxdbDatabaseRequest
NewDeleteUInfluxdbDatabaseRequest will create request of DeleteUInfluxdbDatabase action.
func (*UTSDBClient) NewDeleteUInfluxdbInstanceRequest ¶
func (c *UTSDBClient) NewDeleteUInfluxdbInstanceRequest() *DeleteUInfluxdbInstanceRequest
NewDeleteUInfluxdbInstanceRequest will create request of DeleteUInfluxdbInstance action.
func (*UTSDBClient) NewDescribeUInfluxdbDatabaseRPRequest ¶
func (c *UTSDBClient) NewDescribeUInfluxdbDatabaseRPRequest() *DescribeUInfluxdbDatabaseRPRequest
NewDescribeUInfluxdbDatabaseRPRequest will create request of DescribeUInfluxdbDatabaseRP action.
func (*UTSDBClient) NewDescribeUInfluxdbDatabaseRequest ¶
func (c *UTSDBClient) NewDescribeUInfluxdbDatabaseRequest() *DescribeUInfluxdbDatabaseRequest
NewDescribeUInfluxdbDatabaseRequest will create request of DescribeUInfluxdbDatabase action.
func (*UTSDBClient) NewDescribeUInfluxdbInstanceRequest ¶
func (c *UTSDBClient) NewDescribeUInfluxdbInstanceRequest() *DescribeUInfluxdbInstanceRequest
NewDescribeUInfluxdbInstanceRequest will create request of DescribeUInfluxdbInstance action.
func (*UTSDBClient) NewDescribeUInfluxdbPriceRequest ¶
func (c *UTSDBClient) NewDescribeUInfluxdbPriceRequest() *DescribeUInfluxdbPriceRequest
NewDescribeUInfluxdbPriceRequest will create request of DescribeUInfluxdbPrice action.
func (*UTSDBClient) NewDescribeUInfluxdbUpgradePriceRequest ¶
func (c *UTSDBClient) NewDescribeUInfluxdbUpgradePriceRequest() *DescribeUInfluxdbUpgradePriceRequest
NewDescribeUInfluxdbUpgradePriceRequest will create request of DescribeUInfluxdbUpgradePrice action.
func (*UTSDBClient) NewModifyUInfluxdbDatabasePolicyRequest ¶
func (c *UTSDBClient) NewModifyUInfluxdbDatabasePolicyRequest() *ModifyUInfluxdbDatabasePolicyRequest
NewModifyUInfluxdbDatabasePolicyRequest will create request of ModifyUInfluxdbDatabasePolicy action.
func (*UTSDBClient) NewRebootUInfluxdbInstanceRequest ¶
func (c *UTSDBClient) NewRebootUInfluxdbInstanceRequest() *RebootUInfluxdbInstanceRequest
NewRebootUInfluxdbInstanceRequest will create request of RebootUInfluxdbInstance action.
func (*UTSDBClient) NewResetUInfluxdbInstanceNameRequest ¶
func (c *UTSDBClient) NewResetUInfluxdbInstanceNameRequest() *ResetUInfluxdbInstanceNameRequest
NewResetUInfluxdbInstanceNameRequest will create request of ResetUInfluxdbInstanceName action.
func (*UTSDBClient) NewStartUInfluxdbInstanceRequest ¶
func (c *UTSDBClient) NewStartUInfluxdbInstanceRequest() *StartUInfluxdbInstanceRequest
NewStartUInfluxdbInstanceRequest will create request of StartUInfluxdbInstance action.
func (*UTSDBClient) NewStopUInfluxdbInstanceRequest ¶
func (c *UTSDBClient) NewStopUInfluxdbInstanceRequest() *StopUInfluxdbInstanceRequest
NewStopUInfluxdbInstanceRequest will create request of StopUInfluxdbInstance action.
func (*UTSDBClient) NewUpgradeUInfluxdbInstanceRequest ¶
func (c *UTSDBClient) NewUpgradeUInfluxdbInstanceRequest() *UpgradeUInfluxdbInstanceRequest
NewUpgradeUInfluxdbInstanceRequest will create request of UpgradeUInfluxdbInstance action.
func (*UTSDBClient) RebootUInfluxdbInstance ¶
func (c *UTSDBClient) RebootUInfluxdbInstance(req *RebootUInfluxdbInstanceRequest) (*RebootUInfluxdbInstanceResponse, error)
API: RebootUInfluxdbInstance
重启UInfluxdb实例
func (*UTSDBClient) ResetUInfluxdbInstanceName ¶
func (c *UTSDBClient) ResetUInfluxdbInstanceName(req *ResetUInfluxdbInstanceNameRequest) (*ResetUInfluxdbInstanceNameResponse, error)
API: ResetUInfluxdbInstanceName
更改UIfluxdb实例名称
func (*UTSDBClient) StartUInfluxdbInstance ¶
func (c *UTSDBClient) StartUInfluxdbInstance(req *StartUInfluxdbInstanceRequest) (*StartUInfluxdbInstanceResponse, error)
API: StartUInfluxdbInstance
启动UInfluxdb实例
func (*UTSDBClient) StopUInfluxdbInstance ¶
func (c *UTSDBClient) StopUInfluxdbInstance(req *StopUInfluxdbInstanceRequest) (*StopUInfluxdbInstanceResponse, error)
API: StopUInfluxdbInstance
关闭UInfluxdb实例
func (*UTSDBClient) UpgradeUInfluxdbInstance ¶
func (c *UTSDBClient) UpgradeUInfluxdbInstance(req *UpgradeUInfluxdbInstanceRequest) (*UpgradeUInfluxdbInstanceResponse, error)
API: UpgradeUInfluxdbInstance
UInfluxdb实例配置升降级
type UpgradeUInfluxdbInstanceRequest ¶
type UpgradeUInfluxdbInstanceRequest struct { request.CommonBase // UInfluxdb 实例 新的核数,单位个 CpuLimit *int `required:"true"` // UInfluxdb 实例 新的内存 MemoryLimit *int `required:"true"` // 实例ID UInfluxdbId *string `required:"true"` }
UpgradeUInfluxdbInstanceRequest is request schema for UpgradeUInfluxdbInstance action
type UpgradeUInfluxdbInstanceResponse ¶
type UpgradeUInfluxdbInstanceResponse struct {
response.CommonBase
}
UpgradeUInfluxdbInstanceResponse is response schema for UpgradeUInfluxdbInstance action