model

package
v0.0.89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchCreateOrDeleteRabbitMqTagRequest

type BatchCreateOrDeleteRabbitMqTagRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	Body *BatchCreateOrDeleteTagReq `json:"body,omitempty"`
}

Request Object

func (BatchCreateOrDeleteRabbitMqTagRequest) String

type BatchCreateOrDeleteRabbitMqTagResponse

type BatchCreateOrDeleteRabbitMqTagResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchCreateOrDeleteRabbitMqTagResponse) String

type BatchCreateOrDeleteTagReq

type BatchCreateOrDeleteTagReq struct {

	// 操作标识(仅支持小写): - create(创建) - delete(删除)
	Action *BatchCreateOrDeleteTagReqAction `json:"action,omitempty"`

	// 标签列表。
	Tags *[]TagEntity `json:"tags,omitempty"`
}

func (BatchCreateOrDeleteTagReq) String

func (o BatchCreateOrDeleteTagReq) String() string

type BatchCreateOrDeleteTagReqAction

type BatchCreateOrDeleteTagReqAction struct {
	// contains filtered or unexported fields
}

func (BatchCreateOrDeleteTagReqAction) MarshalJSON

func (c BatchCreateOrDeleteTagReqAction) MarshalJSON() ([]byte, error)

func (*BatchCreateOrDeleteTagReqAction) UnmarshalJSON

func (c *BatchCreateOrDeleteTagReqAction) UnmarshalJSON(b []byte) error

type BatchCreateOrDeleteTagReqActionEnum

type BatchCreateOrDeleteTagReqActionEnum struct {
	CREATE BatchCreateOrDeleteTagReqAction
	DELETE BatchCreateOrDeleteTagReqAction
}

func GetBatchCreateOrDeleteTagReqActionEnum

func GetBatchCreateOrDeleteTagReqActionEnum() BatchCreateOrDeleteTagReqActionEnum

type BatchRestartOrDeleteInstanceReq

type BatchRestartOrDeleteInstanceReq struct {

	// 实例的ID列表。
	Instances *[]string `json:"instances,omitempty"`

	// 对实例的操作:restart、delete
	Action BatchRestartOrDeleteInstanceReqAction `json:"action"`

	// 是否批量删除创建失败的实例。  当参数值为“true”时,删除租户所有创建失败的实例,此时请求参数instances可为空。
	AllFailure *BatchRestartOrDeleteInstanceReqAllFailure `json:"all_failure,omitempty"`
}

func (BatchRestartOrDeleteInstanceReq) String

type BatchRestartOrDeleteInstanceReqAction

type BatchRestartOrDeleteInstanceReqAction struct {
	// contains filtered or unexported fields
}

func (BatchRestartOrDeleteInstanceReqAction) MarshalJSON

func (c BatchRestartOrDeleteInstanceReqAction) MarshalJSON() ([]byte, error)

func (*BatchRestartOrDeleteInstanceReqAction) UnmarshalJSON

func (c *BatchRestartOrDeleteInstanceReqAction) UnmarshalJSON(b []byte) error

type BatchRestartOrDeleteInstanceReqActionEnum

type BatchRestartOrDeleteInstanceReqActionEnum struct {
	RESTART BatchRestartOrDeleteInstanceReqAction
	DELETE  BatchRestartOrDeleteInstanceReqAction
}

func GetBatchRestartOrDeleteInstanceReqActionEnum

func GetBatchRestartOrDeleteInstanceReqActionEnum() BatchRestartOrDeleteInstanceReqActionEnum

type BatchRestartOrDeleteInstanceReqAllFailure

type BatchRestartOrDeleteInstanceReqAllFailure struct {
	// contains filtered or unexported fields
}

func (BatchRestartOrDeleteInstanceReqAllFailure) MarshalJSON

func (*BatchRestartOrDeleteInstanceReqAllFailure) UnmarshalJSON

type BatchRestartOrDeleteInstanceRespResults

type BatchRestartOrDeleteInstanceRespResults struct {

	// 操作结果:   - success: 操作成功   - failed: 操作失败
	Result *string `json:"result,omitempty"`

	// 实例ID。
	Instance *string `json:"instance,omitempty"`
}

func (BatchRestartOrDeleteInstanceRespResults) String

type BatchRestartOrDeleteInstancesRequest

type BatchRestartOrDeleteInstancesRequest struct {
	Body *BatchRestartOrDeleteInstanceReq `json:"body,omitempty"`
}

Request Object

func (BatchRestartOrDeleteInstancesRequest) String

type BatchRestartOrDeleteInstancesResponse

type BatchRestartOrDeleteInstancesResponse struct {

	// 修改实例的结果。
	Results        *[]BatchRestartOrDeleteInstanceRespResults `json:"results,omitempty"`
	HttpStatusCode int                                        `json:"-"`
}

Response Object

func (BatchRestartOrDeleteInstancesResponse) String

type CreateInstanceReq

type CreateInstanceReq struct {

	// 实例名称。  由英文字符开头,只能由英文字母、数字、中划线、下划线组成,长度为4~64的字符。
	Name string `json:"name"`

	// 实例的描述信息。  长度不超过1024的字符串。  > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
	Description *string `json:"description,omitempty"`

	// 消息引擎:rabbitmq。
	Engine CreateInstanceReqEngine `json:"engine"`

	// 消息引擎的版本。   - RabbitMQ版本有:3.7.17
	EngineVersion CreateInstanceReqEngineVersion `json:"engine_version"`

	// 消息存储空间,单位GB。   - 单机RabbitMQ实例的存储空间的取值范围100GB~90000GB。   - 集群RabbitMQ实例的存储空间的取值范围为100GB*节点数~90000GB、200GB*节点数~90000GB、300GB*节点数~90000GB。
	StorageSpace int32 `json:"storage_space"`

	// 认证用户名,只能由英文字母、数字、中划线组成,长度为4~64的字符。
	AccessUser string `json:"access_user"`

	// 实例的认证密码。  复杂度要求: - 输入长度为8到32位的字符串。 - 必须包含如下四种字符中的两种组合:   - 小写字母   - 大写字母   - 数字   - 特殊字符包括(`~!@#$%^&*()-_=+\\|[{}]:'\",<.>/?)
	Password string `json:"password"`

	// 租户VPC ID。
	VpcId string `json:"vpc_id"`

	// 租户安全组ID。
	SecurityGroupId string `json:"security_group_id"`

	// 子网ID。
	SubnetId string `json:"subnet_id"`

	// 创建节点到指定且有资源的可用区ID。该参数不能为空数组或者数组的值为空。
	AvailableZones []string `json:"available_zones"`

	// 产品标识。
	ProductId string `json:"product_id"`

	// 维护时间窗开始时间,格式为HH:mm。 - 维护时间窗开始和结束时间必须为指定的时间段。 - 开始时间必须为22:00、02:00、06:00、10:00、14:00和18:00。 - 该参数不能单独为空,若该值为空,则结束时间也为空。系统分配一个默认开始时间02:00。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间,格式为HH:mm。 - 维护时间窗开始和结束时间必须为指定的时间段。 - 结束时间在开始时间基础上加四个小时,即当开始时间为22:00时,结束时间为02:00。 - 该参数不能单独为空,若该值为空,则开始时间也为空,系统分配一个默认结束时间06:00。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// RabbitMQ实例是否开启公网访问功能。 - true:开启 - false:不开启
	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	// RabbitMQ实例绑定的弹性IP地址的ID。 如果开启了公网访问功能(即enable_publicip为true),该字段为必选。
	PublicipId *string `json:"publicip_id,omitempty"`

	// 是否打开SSL加密访问。 - true:打开SSL加密访问。 - false:不打开SSL加密访问。
	SslEnable *bool `json:"ssl_enable,omitempty"`

	// 存储IO规格。  取值范围:   - dms.physical.storage.normal:   - dms.physical.storage.high   - dms.physical.storage.ultra
	StorageSpecCode CreateInstanceReqStorageSpecCode `json:"storage_spec_code"`

	// 企业项目ID。若为企业项目帐号,该参数必填。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 标签列表。
	Tags *[]TagEntity `json:"tags,omitempty"`
}

创建实例请求体。

func (CreateInstanceReq) String

func (o CreateInstanceReq) String() string

type CreateInstanceReqEngine

type CreateInstanceReqEngine struct {
	// contains filtered or unexported fields
}

func (CreateInstanceReqEngine) MarshalJSON

func (c CreateInstanceReqEngine) MarshalJSON() ([]byte, error)

func (*CreateInstanceReqEngine) UnmarshalJSON

func (c *CreateInstanceReqEngine) UnmarshalJSON(b []byte) error

type CreateInstanceReqEngineEnum

type CreateInstanceReqEngineEnum struct {
	RABBITMQ CreateInstanceReqEngine
}

func GetCreateInstanceReqEngineEnum

func GetCreateInstanceReqEngineEnum() CreateInstanceReqEngineEnum

type CreateInstanceReqEngineVersion

type CreateInstanceReqEngineVersion struct {
	// contains filtered or unexported fields
}

func (CreateInstanceReqEngineVersion) MarshalJSON

func (c CreateInstanceReqEngineVersion) MarshalJSON() ([]byte, error)

func (*CreateInstanceReqEngineVersion) UnmarshalJSON

func (c *CreateInstanceReqEngineVersion) UnmarshalJSON(b []byte) error

type CreateInstanceReqEngineVersionEnum

type CreateInstanceReqEngineVersionEnum struct {
	E_3_7_17 CreateInstanceReqEngineVersion
}

func GetCreateInstanceReqEngineVersionEnum

func GetCreateInstanceReqEngineVersionEnum() CreateInstanceReqEngineVersionEnum

type CreateInstanceReqStorageSpecCode

type CreateInstanceReqStorageSpecCode struct {
	// contains filtered or unexported fields
}

func (CreateInstanceReqStorageSpecCode) MarshalJSON

func (c CreateInstanceReqStorageSpecCode) MarshalJSON() ([]byte, error)

func (*CreateInstanceReqStorageSpecCode) UnmarshalJSON

func (c *CreateInstanceReqStorageSpecCode) UnmarshalJSON(b []byte) error

type CreateInstanceReqStorageSpecCodeEnum

type CreateInstanceReqStorageSpecCodeEnum struct {
	DMS_PHYSICAL_STORAGE_NORMAL CreateInstanceReqStorageSpecCode
	DMS_PHYSICAL_STORAGE_HIGH   CreateInstanceReqStorageSpecCode
	DMS_PHYSICAL_STORAGE_ULTRA  CreateInstanceReqStorageSpecCode
}

func GetCreateInstanceReqStorageSpecCodeEnum

func GetCreateInstanceReqStorageSpecCodeEnum() CreateInstanceReqStorageSpecCodeEnum

type CreatePostPaidInstanceRequest

type CreatePostPaidInstanceRequest struct {
	Body *CreateInstanceReq `json:"body,omitempty"`
}

Request Object

func (CreatePostPaidInstanceRequest) String

type CreatePostPaidInstanceResponse

type CreatePostPaidInstanceResponse struct {

	// 实例ID。
	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePostPaidInstanceResponse) String

type DeleteBackgroundTaskRequest

type DeleteBackgroundTaskRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 任务ID。
	TaskId string `json:"task_id"`
}

Request Object

func (DeleteBackgroundTaskRequest) String

type DeleteBackgroundTaskResponse

type DeleteBackgroundTaskResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteBackgroundTaskResponse) String

type DeleteInstanceRequest

type DeleteInstanceRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteInstanceRequest) String

func (o DeleteInstanceRequest) String() string

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type ListAvailableZonesRequest

type ListAvailableZonesRequest struct {
}

Request Object

func (ListAvailableZonesRequest) String

func (o ListAvailableZonesRequest) String() string

type ListAvailableZonesRespAvailableZones

type ListAvailableZonesRespAvailableZones struct {

	// 是否售罄。
	SoldOut *bool `json:"soldOut,omitempty"`

	// 可用区ID。
	Id *string `json:"id,omitempty"`

	// 可用区编码。
	Code *string `json:"code,omitempty"`

	// 可用区名称。
	Name *string `json:"name,omitempty"`

	// 可用区端口号。
	Port *string `json:"port,omitempty"`

	// 分区上是否还有可用资源。
	ResourceAvailability *string `json:"resource_availability,omitempty"`

	// 是否为默认可用区。
	DefaultAz *bool `json:"default_az,omitempty"`

	// 剩余时间。
	RemainTime *int64 `json:"remain_time,omitempty"`

	// 是否支持IPv6。
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`
}

func (ListAvailableZonesRespAvailableZones) String

type ListAvailableZonesResponse

type ListAvailableZonesResponse struct {

	// 区域ID。
	RegionId *string `json:"region_id,omitempty"`

	// 可用区数组。
	AvailableZones *[]ListAvailableZonesRespAvailableZones `json:"available_zones,omitempty"`
	HttpStatusCode int                                     `json:"-"`
}

Response Object

func (ListAvailableZonesResponse) String

type ListBackgroundTasksRequest

type ListBackgroundTasksRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 开启查询的任务编号。
	Start *int32 `json:"start,omitempty"`

	// 查询的任务个数。
	Limit *int32 `json:"limit,omitempty"`

	// 查询任务的最小时间,格式为 YYYYMMDDHHmmss。
	BeginTime *string `json:"begin_time,omitempty"`

	// 查询任务的最大时间,格式为 YYYYMMDDHHmmss。
	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListBackgroundTasksRequest) String

type ListBackgroundTasksRespTasks

type ListBackgroundTasksRespTasks struct {

	// 任务ID。
	Id *string `json:"id,omitempty"`

	// 任务名称。
	Name *string `json:"name,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	// 任务参数。
	Params *string `json:"params,omitempty"`

	// 任务状态。
	Status *string `json:"status,omitempty"`

	// 启动时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 结束时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

func (ListBackgroundTasksRespTasks) String

type ListBackgroundTasksResponse

type ListBackgroundTasksResponse struct {

	// 任务数量。
	TaskCount *string `json:"task_count,omitempty"`

	// 任务列表。
	Tasks          *[]ListBackgroundTasksRespTasks `json:"tasks,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (ListBackgroundTasksResponse) String

type ListEngineIosEntity added in v0.0.76

type ListEngineIosEntity struct {

	// 磁盘IO编码。
	IoSpec *string `json:"io_spec,omitempty"`

	// 磁盘类型。
	Type *string `json:"type,omitempty"`

	// 可用区。
	AvailableZones *[]string `json:"available_zones,omitempty"`

	// 不可用区。
	UnavailableZones *[]string `json:"unavailable_zones,omitempty"`
}

支持的磁盘IO类型信息。

func (ListEngineIosEntity) String added in v0.0.76

func (o ListEngineIosEntity) String() string

type ListEngineProductsEntity added in v0.0.76

type ListEngineProductsEntity struct {

	// 产品类型。当前产品类型有单机和集群。
	Type *string `json:"type,omitempty"`

	// 产品ID。
	ProductId *string `json:"product_id,omitempty"`

	// 底层资源类型。
	EcsFlavorId *string `json:"ecs_flavor_id,omitempty"`

	// 账单计费类型。
	BillingCode *string `json:"billing_code,omitempty"`

	// CPU架构。
	ArchTypes *[]string `json:"arch_types,omitempty"`

	// 计费模式。   - monthly:包年/包月类型。   - hourly:按需类型。
	ChargingMode *[]string `json:"charging_mode,omitempty"`

	// 支持的磁盘IO类型列表。
	Ios *[]ListEngineIosEntity `json:"ios,omitempty"`

	// 当前规格实例支持的功能特性列表。
	SupportFeatures *[]interface{} `json:"support_features,omitempty"`

	Properties *ListEnginePropertiesEntity `json:"properties,omitempty"`
}

产品规格的详细信息。

func (ListEngineProductsEntity) String added in v0.0.76

func (o ListEngineProductsEntity) String() string

type ListEngineProductsRequest added in v0.0.76

type ListEngineProductsRequest struct {

	// 消息引擎的类型。
	Engine ListEngineProductsRequestEngine `json:"engine"`

	// 产品ID。
	ProductId *string `json:"product_id,omitempty"`
}

Request Object

func (ListEngineProductsRequest) String added in v0.0.76

func (o ListEngineProductsRequest) String() string

type ListEngineProductsRequestEngine added in v0.0.76

type ListEngineProductsRequestEngine struct {
	// contains filtered or unexported fields
}

func (ListEngineProductsRequestEngine) MarshalJSON added in v0.0.76

func (c ListEngineProductsRequestEngine) MarshalJSON() ([]byte, error)

func (*ListEngineProductsRequestEngine) UnmarshalJSON added in v0.0.76

func (c *ListEngineProductsRequestEngine) UnmarshalJSON(b []byte) error

type ListEngineProductsRequestEngineEnum added in v0.0.76

type ListEngineProductsRequestEngineEnum struct {
	RABBITMQ ListEngineProductsRequestEngine
}

func GetListEngineProductsRequestEngineEnum added in v0.0.76

func GetListEngineProductsRequestEngineEnum() ListEngineProductsRequestEngineEnum

type ListEngineProductsResponse added in v0.0.76

type ListEngineProductsResponse struct {

	// 分布式消息服务的产品类型。
	Engine *string `json:"engine,omitempty"`

	// 支持的产品版本类型。
	Versions *[]string `json:"versions,omitempty"`

	// 产品规格的详细信息。
	Products       *[]ListEngineProductsEntity `json:"products,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (ListEngineProductsResponse) String added in v0.0.76

type ListEnginePropertiesEntity added in v0.0.76

type ListEnginePropertiesEntity struct {

	// 每个Broker的最大分区数。
	MaxPartitionPerBroker *string `json:"max_partition_per_broker,omitempty"`

	// Broker的最大个数。
	MaxBroker *string `json:"max_broker,omitempty"`

	// 每个节点的最大存储。单位为GB。
	MaxStoragePerNode *string `json:"max_storage_per_node,omitempty"`

	// 每个Broker的最大消费者数。
	MaxConsumerPerBroker *string `json:"max_consumer_per_broker,omitempty"`

	// Broker的最小个数。
	MinBroker *string `json:"min_broker,omitempty"`

	// 每个Broker的最大带宽。
	MaxBandwidthPerBroker *string `json:"max_bandwidth_per_broker,omitempty"`

	// 每个节点的最小存储。单位为GB。
	MinStoragePerNode *string `json:"min_storage_per_node,omitempty"`

	// 每个Broker的最大TPS。
	MaxTpsPerBroker *string `json:"max_tps_per_broker,omitempty"`
}

当前规格实例的属性。

func (ListEnginePropertiesEntity) String added in v0.0.76

type ListInstancesDetailsRequest

type ListInstancesDetailsRequest struct {

	// 引擎类型:rabbitmq,参数缺失查询所有实例。
	Engine *string `json:"engine,omitempty"`

	// 实例名称。
	Name *string `json:"name,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例状态。
	Status *ListInstancesDetailsRequestStatus `json:"status,omitempty"`

	// 是否返回创建失败的实例数。  当参数值为“true”时,返回创建失败的实例数。参数值为“false”或者其他值,不返回创建失败的实例数。
	IncludeFailure *ListInstancesDetailsRequestIncludeFailure `json:"include_failure,omitempty"`

	// 是否按照实例名称进行精确匹配查询。  默认为“false”,表示模糊匹配实例名称查询。若参数值为“true”表示按照实例名称进行精确匹配查询。
	ExactMatchName *ListInstancesDetailsRequestExactMatchName `json:"exact_match_name,omitempty"`

	// 企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ListInstancesDetailsRequest) String

type ListInstancesDetailsRequestExactMatchName

type ListInstancesDetailsRequestExactMatchName struct {
	// contains filtered or unexported fields
}

func (ListInstancesDetailsRequestExactMatchName) MarshalJSON

func (*ListInstancesDetailsRequestExactMatchName) UnmarshalJSON

type ListInstancesDetailsRequestIncludeFailure

type ListInstancesDetailsRequestIncludeFailure struct {
	// contains filtered or unexported fields
}

func (ListInstancesDetailsRequestIncludeFailure) MarshalJSON

func (*ListInstancesDetailsRequestIncludeFailure) UnmarshalJSON

type ListInstancesDetailsRequestStatus

type ListInstancesDetailsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListInstancesDetailsRequestStatus) MarshalJSON

func (c ListInstancesDetailsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListInstancesDetailsRequestStatus) UnmarshalJSON

func (c *ListInstancesDetailsRequestStatus) UnmarshalJSON(b []byte) error

type ListInstancesDetailsResponse

type ListInstancesDetailsResponse struct {

	// 实例列表。
	Instances *[]ShowInstanceResp `json:"instances,omitempty"`

	// 实例个数。
	InstanceNum    *int32 `json:"instance_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListInstancesDetailsResponse) String

type ListPluginsRequest

type ListPluginsRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListPluginsRequest) String

func (o ListPluginsRequest) String() string

type ListPluginsResponse

type ListPluginsResponse struct {

	// 插件信息列表。
	Plugins        *[]PluginEntity `json:"plugins,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListPluginsResponse) String

func (o ListPluginsResponse) String() string

type ListProductsRequest

type ListProductsRequest struct {

	// 消息引擎的类型。当前只支持rabbitmq。
	Engine *string `json:"engine,omitempty"`
}

Request Object

func (ListProductsRequest) String

func (o ListProductsRequest) String() string

type ListProductsRespDetail

type ListProductsRespDetail struct {

	// 消息存储空间。
	Storage *string `json:"storage,omitempty"`

	// 产品ID。
	ProductId *string `json:"product_id,omitempty"`

	// 规格ID。
	SpecCode *string `json:"spec_code,omitempty"`

	// IO信息。
	Io *[]ListProductsRespIo `json:"io,omitempty"`

	// 资源售罄的可用区列表。
	UnavailableZones *[]string `json:"unavailable_zones,omitempty"`

	// 有可用资源的可用区列表。
	AvailableZones *[]string `json:"available_zones,omitempty"`

	// 该产品规格对应的虚拟机规格。
	EcsFlavorId *string `json:"ecs_flavor_id,omitempty"`

	// 实例规格架构类型。当前仅支持X86。
	ArchType *string `json:"arch_type,omitempty"`
}

func (ListProductsRespDetail) String

func (o ListProductsRespDetail) String() string

type ListProductsRespHourly

type ListProductsRespHourly struct {

	// 消息引擎的名称,该字段显示为rabbitmq。
	Name *string `json:"name,omitempty"`

	// 消息引擎的版本,当前仅支持3.7.17。
	Version *string `json:"version,omitempty"`

	// 产品规格列表。
	Values *[]ListProductsRespValues `json:"values,omitempty"`
}

func (ListProductsRespHourly) String

func (o ListProductsRespHourly) String() string

type ListProductsRespIo

type ListProductsRespIo struct {

	// IO类型。
	IoType *string `json:"io_type,omitempty"`

	// IO规格。
	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	// IO未售罄的可用区列表。
	AvailableZones *[]string `json:"available_zones,omitempty"`

	// IO已售罄的不可用区列表。
	UnavailableZones *[]string `json:"unavailable_zones,omitempty"`

	// 磁盘类型。
	VolumeType *string `json:"volume_type,omitempty"`
}

func (ListProductsRespIo) String

func (o ListProductsRespIo) String() string

type ListProductsRespValues

type ListProductsRespValues struct {

	// 规格详情。
	Detail *[]ListProductsRespDetail `json:"detail,omitempty"`

	// 实例类型。
	Name *string `json:"name,omitempty"`

	// 资源售罄的可用区列表。
	UnavailableZones *[]string `json:"unavailable_zones,omitempty"`

	// 有可用资源的可用区列表。
	AvailableZones *[]string `json:"available_zones,omitempty"`
}

func (ListProductsRespValues) String

func (o ListProductsRespValues) String() string

type ListProductsResponse

type ListProductsResponse struct {

	// 表示按需付费的产品列表。
	Hourly *[]ListProductsRespHourly `json:"Hourly,omitempty"`

	// 表示包年包月的产品列表。当前暂不支持通过API创建包年包月的rabbitmq实例。
	Monthly        *[]ListProductsRespHourly `json:"Monthly,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListProductsResponse) String

func (o ListProductsResponse) String() string

type MaintainWindowsEntity added in v0.0.48

type MaintainWindowsEntity struct {

	// 是否为默认时间段。
	Default *bool `json:"default,omitempty"`

	// 维护时间窗结束时间。
	End *string `json:"end,omitempty"`

	// 维护时间窗开始时间。
	Begin *string `json:"begin,omitempty"`

	// 序号。
	Seq *int32 `json:"seq,omitempty"`
}

func (MaintainWindowsEntity) String added in v0.0.48

func (o MaintainWindowsEntity) String() string

type PluginEntity added in v0.0.66

type PluginEntity struct {

	// 是否运行。
	Running *bool `json:"running,omitempty"`

	// 是否启用。
	Enable *bool `json:"enable,omitempty"`

	// 插件名称。
	Name *string `json:"name,omitempty"`

	// 插件版本。
	Version *string `json:"version,omitempty"`
}

插件信息。

func (PluginEntity) String added in v0.0.66

func (o PluginEntity) String() string

type ResetPasswordReq

type ResetPasswordReq struct {

	// 8-32个字符。 至少包含以下字符中的3种: - 大写字母 - 小写字母 - 数字 - 特殊字符`~!@#$%^&*()-_=+\\\\|[{}];:\\'\\\",<.>/?  和空格,并且不能以-开头。
	NewPassword *string `json:"new_password,omitempty"`
}

func (ResetPasswordReq) String

func (o ResetPasswordReq) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	Body *ResetPasswordReq `json:"body,omitempty"`
}

Request Object

func (ResetPasswordRequest) String

func (o ResetPasswordRequest) String() string

type ResetPasswordResponse

type ResetPasswordResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ResetPasswordResponse) String

func (o ResetPasswordResponse) String() string

type ResizeInstanceReq

type ResizeInstanceReq struct {

	// 规格变更后的规格ID。
	NewSpecCode ResizeInstanceReqNewSpecCode `json:"new_spec_code"`

	// 规格变更后的消息存储空间,单位:GB。
	NewStorageSpace int32 `json:"new_storage_space"`
}

func (ResizeInstanceReq) String

func (o ResizeInstanceReq) String() string

type ResizeInstanceReqNewSpecCode

type ResizeInstanceReqNewSpecCode struct {
	// contains filtered or unexported fields
}

func (ResizeInstanceReqNewSpecCode) MarshalJSON

func (c ResizeInstanceReqNewSpecCode) MarshalJSON() ([]byte, error)

func (*ResizeInstanceReqNewSpecCode) UnmarshalJSON

func (c *ResizeInstanceReqNewSpecCode) UnmarshalJSON(b []byte) error

type ResizeInstanceReqNewSpecCodeEnum

type ResizeInstanceReqNewSpecCodeEnum struct {
	DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_3 ResizeInstanceReqNewSpecCode
	DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_5 ResizeInstanceReqNewSpecCode
	DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_7 ResizeInstanceReqNewSpecCode
}

func GetResizeInstanceReqNewSpecCodeEnum

func GetResizeInstanceReqNewSpecCodeEnum() ResizeInstanceReqNewSpecCodeEnum

type ResizeInstanceRequest

type ResizeInstanceRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	Body *ResizeInstanceReq `json:"body,omitempty"`
}

Request Object

func (ResizeInstanceRequest) String

func (o ResizeInstanceRequest) String() string

type ResizeInstanceResponse

type ResizeInstanceResponse struct {

	// 规格变更任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ResizeInstanceResponse) String

func (o ResizeInstanceResponse) String() string

type ShowBackgroundTaskRequest

type ShowBackgroundTaskRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 任务ID。
	TaskId string `json:"task_id"`
}

Request Object

func (ShowBackgroundTaskRequest) String

func (o ShowBackgroundTaskRequest) String() string

type ShowBackgroundTaskResponse

type ShowBackgroundTaskResponse struct {

	// 任务数量。
	TaskCount *string `json:"task_count,omitempty"`

	// 任务列表。
	Tasks          *[]ListBackgroundTasksRespTasks `json:"tasks,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (ShowBackgroundTaskResponse) String

type ShowInstanceExtendProductInfoRequest

type ShowInstanceExtendProductInfoRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	// 产品的类型。   - advanced:专享版   - platinum:铂金版   - dec:专属云版   - exp:体验版
	Type ShowInstanceExtendProductInfoRequestType `json:"type"`

	// 消息引擎的类型。支持的类型为rabbitmq。
	Engine string `json:"engine"`
}

Request Object

func (ShowInstanceExtendProductInfoRequest) String

type ShowInstanceExtendProductInfoRequestType

type ShowInstanceExtendProductInfoRequestType struct {
	// contains filtered or unexported fields
}

func (ShowInstanceExtendProductInfoRequestType) MarshalJSON

func (*ShowInstanceExtendProductInfoRequestType) UnmarshalJSON

func (c *ShowInstanceExtendProductInfoRequestType) UnmarshalJSON(b []byte) error

type ShowInstanceExtendProductInfoResponse

type ShowInstanceExtendProductInfoResponse struct {

	// 表示按需付费的产品列表。
	Hourly *[]ListProductsRespHourly `json:"hourly,omitempty"`

	// 表示包年包月的产品列表。当前暂不支持通过API创建包年包月的Rabbitmq实例。
	Monthly        *[]ListProductsRespHourly `json:"monthly,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ShowInstanceExtendProductInfoResponse) String

type ShowInstanceRequest

type ShowInstanceRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowInstanceRequest) String

func (o ShowInstanceRequest) String() string

type ShowInstanceResp added in v0.0.66

type ShowInstanceResp struct {

	// 实例名称。
	Name *string `json:"name,omitempty"`

	// 消息引擎。
	Engine *string `json:"engine,omitempty"`

	// 消息引擎版本。
	EngineVersion *string `json:"engine_version,omitempty"`

	// 实例规格。   - RabbitMQ实例单机返回vm规格。   - RabbitMQ实例集群返回vm规格和节点数。
	Specification *string `json:"specification,omitempty"`

	// 消息存储空间,单位:GB。
	StorageSpace *int32 `json:"storage_space,omitempty"`

	// 已使用的消息存储空间,单位:GB。
	UsedStorageSpace *int32 `json:"used_storage_space,omitempty"`

	// 实例连接IP地址。
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 实例连接端口。
	Port *int32 `json:"port,omitempty"`

	// 实例的状态。
	Status *string `json:"status,omitempty"`

	// 实例描述。
	Description *string `json:"description,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源规格标识。   - dms.instance.rabbitmq.single.c3.2u4g:RabbitMQ单机,vm规格2u4g   - dms.instance.rabbitmq.single.c3.4u8g:RabbitMQ单机,vm规格4u8g   - dms.instance.rabbitmq.single.c3.8u16g:RabbitMQ单机,vm规格8u16g   - dms.instance.rabbitmq.single.c3.16u32g:RabbitMQ单机,vm规格16u32g   - dms.instance.rabbitmq.cluster.c3.4u8g.3:RabbitMQ集群,vm规格4u8g,3个节点   - dms.instance.rabbitmq.cluster.c3.4u8g.5:RabbitMQ集群,vm规格4u8g,5个节点   - dms.instance.rabbitmq.cluster.c3.4u8g.7:RabbitMQ集群,vm规格4u8g,7个节点   - dms.instance.rabbitmq.cluster.c3.8u16g.3:RabbitMQ集群,vm规格8u16g,3个节点   - dms.instance.rabbitmq.cluster.c3.8u16g.5:RabbitMQ集群,vm规格8u16g,5个节点   - dms.instance.rabbitmq.cluster.c3.8u16g.7:RabbitMQ集群,vm规格8u16g,7个节点   - dms.instance.rabbitmq.cluster.c3.16u32g.3:RabbitMQ集群,vm规格16u32g,3个节点   - dms.instance.rabbitmq.cluster.c3.16u32g.5:RabbitMQ集群,vm规格16u32g,5个节点   - dms.instance.rabbitmq.cluster.c3.16u32g.7:RabbitMQ集群,vm规格16u32g,7个节点
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 付费模式,1表示按需计费,0表示包年/包月计费。
	ChargingMode *int32 `json:"charging_mode,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// VPC的名称。
	VpcName *string `json:"vpc_name,omitempty"`

	// 完成创建时间。格式为时间戳,指从格林威治时间 1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
	CreatedAt *string `json:"created_at,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 订单ID,只有在包周期计费时才会有order_id值,其他计费方式order_id值为空。
	OrderId *string `json:"order_id,omitempty"`

	// 维护时间窗开始时间,格式为HH:mm:ss。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间,格式为HH:mm:ss。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// RabbitMQ实例是否开启公网访问功能。   - true:开启   - false:未开启
	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	// RabbitMQ实例绑定的弹性IP地址。  如果未开启公网访问功能,该字段值为null。
	PublicipAddress *string `json:"publicip_address,omitempty"`

	// RabbitMQ实例绑定的弹性IP地址的ID。  如果未开启公网访问功能,该字段值为null。
	PublicipId *string `json:"publicip_id,omitempty"`

	// RabbitMQ实例的管理地址。
	ManagementConnectAddress *string `json:"management_connect_address,omitempty"`

	// 是否开启安全认证。   - true:开启   - false:未开启
	SslEnable *bool `json:"ssl_enable,omitempty"`

	// 企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例扩容时用于区分老实例与新实例。 - true:新创建的实例,允许磁盘动态扩容不需要重启。 - false:老实例
	IsLogicalVolume *bool `json:"is_logical_volume,omitempty"`

	// 实例扩容磁盘次数,如果超过20次则无法扩容磁盘。
	ExtendTimes *int32 `json:"extend_times,omitempty"`

	// 实例类型:集群,cluster。
	Type *ShowInstanceRespType `json:"type,omitempty"`

	// 产品标识。
	ProductId *string `json:"product_id,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 租户安全组名称。
	SecurityGroupName *string `json:"security_group_name,omitempty"`

	// 子网ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 实例节点所在的可用区,返回“可用区ID”。
	AvailableZones *[]string `json:"available_zones,omitempty"`

	// 总共消息存储空间,单位:GB。
	TotalStorageSpace *int32 `json:"total_storage_space,omitempty"`

	// 存储资源ID。
	StorageResourceId *string `json:"storage_resource_id,omitempty"`

	// IO规格。
	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	// 是否开启ipv6。
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	// IPv6的连接地址。
	Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"`

	// 标签列表。
	Tags *[]TagEntity `json:"tags,omitempty"`
}

func (ShowInstanceResp) String added in v0.0.66

func (o ShowInstanceResp) String() string

type ShowInstanceRespType added in v0.0.66

type ShowInstanceRespType struct {
	// contains filtered or unexported fields
}

func (ShowInstanceRespType) MarshalJSON added in v0.0.66

func (c ShowInstanceRespType) MarshalJSON() ([]byte, error)

func (*ShowInstanceRespType) UnmarshalJSON added in v0.0.66

func (c *ShowInstanceRespType) UnmarshalJSON(b []byte) error

type ShowInstanceRespTypeEnum added in v0.0.66

type ShowInstanceRespTypeEnum struct {
	SINGLE  ShowInstanceRespType
	CLUSTER ShowInstanceRespType
}

func GetShowInstanceRespTypeEnum added in v0.0.66

func GetShowInstanceRespTypeEnum() ShowInstanceRespTypeEnum

type ShowInstanceResponse

type ShowInstanceResponse struct {

	// 实例名称。
	Name *string `json:"name,omitempty"`

	// 消息引擎。
	Engine *string `json:"engine,omitempty"`

	// 消息引擎版本。
	EngineVersion *string `json:"engine_version,omitempty"`

	// 实例规格。   - RabbitMQ实例单机返回vm规格。   - RabbitMQ实例集群返回vm规格和节点数。
	Specification *string `json:"specification,omitempty"`

	// 消息存储空间,单位:GB。
	StorageSpace *int32 `json:"storage_space,omitempty"`

	// 已使用的消息存储空间,单位:GB。
	UsedStorageSpace *int32 `json:"used_storage_space,omitempty"`

	// 实例连接IP地址。
	ConnectAddress *string `json:"connect_address,omitempty"`

	// 实例连接端口。
	Port *int32 `json:"port,omitempty"`

	// 实例的状态。
	Status *string `json:"status,omitempty"`

	// 实例描述。
	Description *string `json:"description,omitempty"`

	// 实例ID。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源规格标识。   - dms.instance.rabbitmq.single.c3.2u4g:RabbitMQ单机,vm规格2u4g   - dms.instance.rabbitmq.single.c3.4u8g:RabbitMQ单机,vm规格4u8g   - dms.instance.rabbitmq.single.c3.8u16g:RabbitMQ单机,vm规格8u16g   - dms.instance.rabbitmq.single.c3.16u32g:RabbitMQ单机,vm规格16u32g   - dms.instance.rabbitmq.cluster.c3.4u8g.3:RabbitMQ集群,vm规格4u8g,3个节点   - dms.instance.rabbitmq.cluster.c3.4u8g.5:RabbitMQ集群,vm规格4u8g,5个节点   - dms.instance.rabbitmq.cluster.c3.4u8g.7:RabbitMQ集群,vm规格4u8g,7个节点   - dms.instance.rabbitmq.cluster.c3.8u16g.3:RabbitMQ集群,vm规格8u16g,3个节点   - dms.instance.rabbitmq.cluster.c3.8u16g.5:RabbitMQ集群,vm规格8u16g,5个节点   - dms.instance.rabbitmq.cluster.c3.8u16g.7:RabbitMQ集群,vm规格8u16g,7个节点   - dms.instance.rabbitmq.cluster.c3.16u32g.3:RabbitMQ集群,vm规格16u32g,3个节点   - dms.instance.rabbitmq.cluster.c3.16u32g.5:RabbitMQ集群,vm规格16u32g,5个节点   - dms.instance.rabbitmq.cluster.c3.16u32g.7:RabbitMQ集群,vm规格16u32g,7个节点
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 付费模式,1表示按需计费,0表示包年/包月计费。
	ChargingMode *int32 `json:"charging_mode,omitempty"`

	// VPC ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// VPC的名称。
	VpcName *string `json:"vpc_name,omitempty"`

	// 完成创建时间。格式为时间戳,指从格林威治时间 1970年01月01日00时00分00秒起至指定时间的偏差总毫秒数。
	CreatedAt *string `json:"created_at,omitempty"`

	// 用户ID。
	UserId *string `json:"user_id,omitempty"`

	// 用户名。
	UserName *string `json:"user_name,omitempty"`

	// 订单ID,只有在包周期计费时才会有order_id值,其他计费方式order_id值为空。
	OrderId *string `json:"order_id,omitempty"`

	// 维护时间窗开始时间,格式为HH:mm:ss。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间,格式为HH:mm:ss。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// RabbitMQ实例是否开启公网访问功能。   - true:开启   - false:未开启
	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	// RabbitMQ实例绑定的弹性IP地址。  如果未开启公网访问功能,该字段值为null。
	PublicipAddress *string `json:"publicip_address,omitempty"`

	// RabbitMQ实例绑定的弹性IP地址的ID。  如果未开启公网访问功能,该字段值为null。
	PublicipId *string `json:"publicip_id,omitempty"`

	// RabbitMQ实例的管理地址。
	ManagementConnectAddress *string `json:"management_connect_address,omitempty"`

	// 是否开启安全认证。   - true:开启   - false:未开启
	SslEnable *bool `json:"ssl_enable,omitempty"`

	// 企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例扩容时用于区分老实例与新实例。 - true:新创建的实例,允许磁盘动态扩容不需要重启。 - false:老实例
	IsLogicalVolume *bool `json:"is_logical_volume,omitempty"`

	// 实例扩容磁盘次数,如果超过20次则无法扩容磁盘。
	ExtendTimes *int32 `json:"extend_times,omitempty"`

	// 实例类型:集群,cluster。
	Type *ShowInstanceResponseType `json:"type,omitempty"`

	// 产品标识。
	ProductId *string `json:"product_id,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 租户安全组名称。
	SecurityGroupName *string `json:"security_group_name,omitempty"`

	// 子网ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 实例节点所在的可用区,返回“可用区ID”。
	AvailableZones *[]string `json:"available_zones,omitempty"`

	// 总共消息存储空间,单位:GB。
	TotalStorageSpace *int32 `json:"total_storage_space,omitempty"`

	// 存储资源ID。
	StorageResourceId *string `json:"storage_resource_id,omitempty"`

	// IO规格。
	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	// 是否开启ipv6。
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	// IPv6的连接地址。
	Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"`

	// 标签列表。
	Tags           *[]TagEntity `json:"tags,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowInstanceResponse) String

func (o ShowInstanceResponse) String() string

type ShowInstanceResponseType

type ShowInstanceResponseType struct {
	// contains filtered or unexported fields
}

func (ShowInstanceResponseType) MarshalJSON

func (c ShowInstanceResponseType) MarshalJSON() ([]byte, error)

func (*ShowInstanceResponseType) UnmarshalJSON

func (c *ShowInstanceResponseType) UnmarshalJSON(b []byte) error

type ShowInstanceResponseTypeEnum

type ShowInstanceResponseTypeEnum struct {
	SINGLE  ShowInstanceResponseType
	CLUSTER ShowInstanceResponseType
}

func GetShowInstanceResponseTypeEnum

func GetShowInstanceResponseTypeEnum() ShowInstanceResponseTypeEnum

type ShowMaintainWindowsRequest

type ShowMaintainWindowsRequest struct {
}

Request Object

func (ShowMaintainWindowsRequest) String

type ShowMaintainWindowsResponse

type ShowMaintainWindowsResponse struct {

	// 支持的维护时间窗列表。
	MaintainWindows *[]MaintainWindowsEntity `json:"maintain_windows,omitempty"`
	HttpStatusCode  int                      `json:"-"`
}

Response Object

func (ShowMaintainWindowsResponse) String

type ShowRabbitMqProjectTagsRequest

type ShowRabbitMqProjectTagsRequest struct {
}

Request Object

func (ShowRabbitMqProjectTagsRequest) String

type ShowRabbitMqProjectTagsResponse

type ShowRabbitMqProjectTagsResponse struct {

	// 标签列表
	Tags           *[]TagMultyValueEntity `json:"tags,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowRabbitMqProjectTagsResponse) String

type ShowRabbitMqTagsRequest

type ShowRabbitMqTagsRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowRabbitMqTagsRequest) String

func (o ShowRabbitMqTagsRequest) String() string

type ShowRabbitMqTagsResponse

type ShowRabbitMqTagsResponse struct {

	// 标签列表
	Tags           *[]TagEntity `json:"tags,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowRabbitMqTagsResponse) String

func (o ShowRabbitMqTagsResponse) String() string

type TagEntity added in v0.0.66

type TagEntity struct {

	// 键。最大长度36个unicode字符。  key不能为空,不能为空字符串。  不能包含下列字符:非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。
	Key *string `json:"key,omitempty"`

	// 值。每个值最大长度43个unicode字符。  value不能为空,可以空字符串。  不能包含下列字符:非打印字符ASCII(0-31), “=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。
	Value *string `json:"value,omitempty"`
}

func (TagEntity) String added in v0.0.66

func (o TagEntity) String() string

type TagMultyValueEntity added in v0.0.66

type TagMultyValueEntity struct {

	// 键。最大长度36个unicode字符。  key不能为空,不能为空字符串。  不能包含下列字符:非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。
	Key *string `json:"key,omitempty"`

	// 值。每个值最大长度43个unicode字符。  value不能为空,可以空字符串。  不能包含下列字符:非打印字符ASCII(0-31), “=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。
	Values *[]string `json:"values,omitempty"`
}

func (TagMultyValueEntity) String added in v0.0.66

func (o TagMultyValueEntity) String() string

type UpdateInstanceReq

type UpdateInstanceReq struct {

	// 实例名称。  由英文字符开头,只能由英文字母、数字、中划线组成,长度为4~64的字符。
	Name *string `json:"name,omitempty"`

	// 实例的描述信息。  长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
	Description *string `json:"description,omitempty"`

	// 维护时间窗开始时间,格式为HH:mm:ss。   - 维护时间窗开始和结束时间必须为指定的时间段。   - 开始时间必须为22:00:00、02:00:00、06:00:00、10:00:00、14:00:00和18:00:00。   - 该参数不能单独为空,若该值为空,则结束时间也为空。系统分配一个默认开始时间02:00:00。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间,格式为HH:mm:ss。   - 维护时间窗开始和结束时间必须为指定的时间段。   - 结束时间在开始时间基础上加四个小时,即当开始时间为22:00:00时,结束时间为02:00:00。   - 该参数不能单独为空,若该值为空,则开始时间也为空。系统分配一个默认结束时间06:00:00。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 安全组ID。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// RabbitMQ实例是否开启公网访问功能。   - true:开启   - false:不开启
	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	// RabbitMQ实例绑定的弹性IP地址的id。  如果开启了公网访问功能(即enable_publicip为true),该字段为必选。  获取方法:登录弹性公网IP和带宽的控制台界面,在弹性公网IP的详情页面查的基本信息栏找ID。
	PublicipId *string `json:"publicip_id,omitempty"`

	// 企业项目。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (UpdateInstanceReq) String

func (o UpdateInstanceReq) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	Body *UpdateInstanceReq `json:"body,omitempty"`
}

Request Object

func (UpdateInstanceRequest) String

func (o UpdateInstanceRequest) String() string

type UpdateInstanceResponse

type UpdateInstanceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateInstanceResponse) String

func (o UpdateInstanceResponse) String() string

type UpdatePluginsReq

type UpdatePluginsReq struct {

	// 是否开启改插件。
	Enable *bool `json:"enable,omitempty"`

	// 插件列表,多个插件中间用“,”隔开。
	Plugins *string `json:"plugins,omitempty"`
}

func (UpdatePluginsReq) String

func (o UpdatePluginsReq) String() string

type UpdatePluginsRequest

type UpdatePluginsRequest struct {

	// 实例ID。
	InstanceId string `json:"instance_id"`

	Body *UpdatePluginsReq `json:"body,omitempty"`
}

Request Object

func (UpdatePluginsRequest) String

func (o UpdatePluginsRequest) String() string

type UpdatePluginsResponse

type UpdatePluginsResponse struct {

	// 后台任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdatePluginsResponse) String

func (o UpdatePluginsResponse) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL