model

package
v0.0.30-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 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 BatchCreateOrDeleteInstanceTagRequest

type BatchCreateOrDeleteInstanceTagRequest struct {
	ProjectId  string                     `json:"project_id"`
	InstanceId string                     `json:"instance_id"`
	Body       *BatchCreateOrDeleteTagReq `json:"body,omitempty"`
}

Request Object

func (BatchCreateOrDeleteInstanceTagRequest) String

type BatchCreateOrDeleteInstanceTagResponse

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

Response Object

func (BatchCreateOrDeleteInstanceTagResponse) String

type BatchCreateOrDeleteTagReq

type BatchCreateOrDeleteTagReq struct {
	// 操作标识(仅支持小写): - create(创建) - delete(删除)
	Action *BatchCreateOrDeleteTagReqAction `json:"action,omitempty"`
	// 标签列表。
	Tags *[]CreateInstanceReqTags `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 {
	ProjectId string                           `json:"project_id"`
	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。该参数不能为空数组或者数组的值为空,详情请参考[查询可用区信息](https://support.huaweicloud.com/api-rabbitmq/ListAvailableZones.html)查询得到。
	AvailableZones []string `json:"available_zones"`
	// 产品标识。  获取方法,请参考[查询产品规格列表](https://support.huaweicloud.com/api-rabbitmq/ListProducts.html)。
	ProductId string `json:"product_id"`
	// 维护时间窗开始时间,格式为HH:mm。 - 维护时间窗开始和结束时间必须为指定的时间段,可参考[查询维护时间窗时间段](https://support.huaweicloud.com/api-rabbitmq/ShowMaintainWindows.html)获取。 - 开始时间必须为22:00、02:00、06:00、10:00、14:00和18:00。 - 该参数不能单独为空,若该值为空,则结束时间也为空。系统分配一个默认开始时间02:00。
	MaintainBegin *string `json:"maintain_begin,omitempty"`
	// 维护时间窗结束时间,格式为HH:mm。 - 维护时间窗开始和结束时间必须为指定的时间段,可参考[查询维护时间窗时间段](https://support.huaweicloud.com/api-rabbitmq/ShowMaintainWindows.html)获取。 - 结束时间在开始时间基础上加四个小时,即当开始时间为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规格。如何选择磁盘类型请参考[磁盘类型及性能介绍](https://support.huaweicloud.com/productdesc-evs/zh-cn_topic_0044524691.html)。 取值范围:   - 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 *[]CreateInstanceReqTags `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 CreateInstanceReqTags

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

func (CreateInstanceReqTags) String

func (o CreateInstanceReqTags) String() string

type CreatePostPaidInstanceRequest

type CreatePostPaidInstanceRequest struct {
	ProjectId string             `json:"project_id"`
	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 {
	ProjectId  string `json:"project_id"`
	InstanceId string `json:"instance_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 {
	ProjectId  string `json:"project_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"`
	// 是否支持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 {
	ProjectId  string  `json:"project_id"`
	InstanceId string  `json:"instance_id"`
	Start      *int32  `json:"start,omitempty"`
	Limit      *int32  `json:"limit,omitempty"`
	BeginTime  *string `json:"begin_time,omitempty"`
	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 ListInstancesDetailsRequest

type ListInstancesDetailsRequest struct {
	ProjectId           string                                     `json:"project_id"`
	Engine              ListInstancesDetailsRequestEngine          `json:"engine"`
	Name                *string                                    `json:"name,omitempty"`
	InstanceId          *string                                    `json:"instance_id,omitempty"`
	Status              *ListInstancesDetailsRequestStatus         `json:"status,omitempty"`
	IncludeFailure      *ListInstancesDetailsRequestIncludeFailure `json:"include_failure,omitempty"`
	ExactMatchName      *ListInstancesDetailsRequestExactMatchName `json:"exact_match_name,omitempty"`
	EnterpriseProjectId *string                                    `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ListInstancesDetailsRequest) String

type ListInstancesDetailsRequestEngine added in v0.1.91

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

func (ListInstancesDetailsRequestEngine) MarshalJSON added in v0.1.91

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

func (*ListInstancesDetailsRequestEngine) UnmarshalJSON added in v0.1.91

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

type ListInstancesDetailsRequestEngineEnum added in v0.1.91

type ListInstancesDetailsRequestEngineEnum struct {
	RABBITMQ ListInstancesDetailsRequestEngine
}

func GetListInstancesDetailsRequestEngineEnum added in v0.1.91

func GetListInstancesDetailsRequestEngineEnum() ListInstancesDetailsRequestEngineEnum

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 *[]ListInstancesRespInstances `json:"instances,omitempty"`
	// 实例个数。
	InstanceNum    *int32 `json:"instance_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListInstancesDetailsResponse) String

type ListInstancesRespInstances

type ListInstancesRespInstances 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"`
	// 实例的状态。详细状态说明见[实例状态说明](https://support.huaweicloud.com/api-rabbitmq/rabbitmq-api-180514012.html)。
	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 *ListInstancesRespInstancesType `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"`
	// 服务类型。
	ServiceType *string `json:"service_type,omitempty"`
	// 存储类型。
	StorageType *string `json:"storage_type,omitempty"`
	// 是否开启ipv6。
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`
	// IPv6的连接地址。
	Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"`
}

func (ListInstancesRespInstances) String

type ListInstancesRespInstancesType

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

func (ListInstancesRespInstancesType) MarshalJSON

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

func (*ListInstancesRespInstancesType) UnmarshalJSON

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

type ListInstancesRespInstancesTypeEnum

type ListInstancesRespInstancesTypeEnum struct {
	SINGLE  ListInstancesRespInstancesType
	CLUSTER ListInstancesRespInstancesType
}

func GetListInstancesRespInstancesTypeEnum

func GetListInstancesRespInstancesTypeEnum() ListInstancesRespInstancesTypeEnum

type ListPluginsRequest

type ListPluginsRequest struct {
	ProjectId  string `json:"project_id"`
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListPluginsRequest) String

func (o ListPluginsRequest) String() string

type ListPluginsRespPlugins

type ListPluginsRespPlugins struct {
	// 是否运行。
	Running *bool `json:"running,omitempty"`
	// 是否启用。
	Enable *bool `json:"enable,omitempty"`
	// 插件名称。
	Name *string `json:"name,omitempty"`
	// 插件版本。
	Version *string `json:"version,omitempty"`
}

插件信息。

func (ListPluginsRespPlugins) String

func (o ListPluginsRespPlugins) String() string

type ListPluginsResponse

type ListPluginsResponse struct {
	// 插件信息列表。
	Plugins        *[]ListPluginsRespPlugins `json:"plugins,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListPluginsResponse) String

func (o ListPluginsResponse) String() string

type ListProductsRequest

type ListProductsRequest struct {
	Engine ListProductsRequestEngine `json:"engine"`
}

Request Object

func (ListProductsRequest) String

func (o ListProductsRequest) String() string

type ListProductsRequestEngine added in v0.1.49

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

func (ListProductsRequestEngine) MarshalJSON added in v0.1.49

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

func (*ListProductsRequestEngine) UnmarshalJSON added in v0.1.49

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

type ListProductsRequestEngineEnum added in v0.1.49

type ListProductsRequestEngineEnum struct {
	RABBITMQ ListProductsRequestEngine
}

func GetListProductsRequestEngineEnum added in v0.1.49

func GetListProductsRequestEngineEnum() ListProductsRequestEngineEnum

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 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 {
	ProjectId  string            `json:"project_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。 请参考[查询可扩容规格列表](https://support.huaweicloud.com/api-rabbitmq/ResizeInstance.html)接口返回的数据。
	NewSpecCode ResizeInstanceReqNewSpecCode `json:"new_spec_code"`
	// 规格变更后的消息存储空间,单位:GB。 请参考[查询可扩容规格列表](https://support.huaweicloud.com/api-rabbitmq/ResizeInstance.html)接口返回的数据。
	NewStorageSpace ResizeInstanceReqNewStorageSpace `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 ResizeInstanceReqNewStorageSpace

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

func (ResizeInstanceReqNewStorageSpace) MarshalJSON

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

func (*ResizeInstanceReqNewStorageSpace) UnmarshalJSON

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

type ResizeInstanceRequest

type ResizeInstanceRequest struct {
	ProjectId  string             `json:"project_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 {
	ProjectId  string `json:"project_id"`
	InstanceId string `json:"instance_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 {
	ProjectId  string                                     `json:"project_id"`
	InstanceId string                                     `json:"instance_id"`
	Type       ShowInstanceExtendProductInfoRequestType   `json:"type"`
	Engine     ShowInstanceExtendProductInfoRequestEngine `json:"engine"`
}

Request Object

func (ShowInstanceExtendProductInfoRequest) String

type ShowInstanceExtendProductInfoRequestEngine added in v0.1.49

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

func (ShowInstanceExtendProductInfoRequestEngine) MarshalJSON added in v0.1.49

func (*ShowInstanceExtendProductInfoRequestEngine) UnmarshalJSON added in v0.1.49

type ShowInstanceExtendProductInfoRequestEngineEnum added in v0.1.49

type ShowInstanceExtendProductInfoRequestEngineEnum struct {
	RABBITMQ ShowInstanceExtendProductInfoRequestEngine
}

func GetShowInstanceExtendProductInfoRequestEngineEnum added in v0.1.49

func GetShowInstanceExtendProductInfoRequestEngineEnum() ShowInstanceExtendProductInfoRequestEngineEnum

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 {
	ProjectId  string `json:"project_id"`
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowInstanceRequest) String

func (o ShowInstanceRequest) String() string

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"`
	// 实例的状态。详细状态说明见[实例状态说明](https://support.huaweicloud.com/api-rabbitmq/rabbitmq-api-180514012.html)。
	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"`
	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 ShowInstanceTagsRequest

type ShowInstanceTagsRequest struct {
	ProjectId  string `json:"project_id"`
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowInstanceTagsRequest) String

func (o ShowInstanceTagsRequest) String() string

type ShowInstanceTagsResponse

type ShowInstanceTagsResponse struct {
	// 标签列表
	Tags           *[]CreateInstanceReqTags `json:"tags,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ShowInstanceTagsResponse) String

func (o ShowInstanceTagsResponse) String() string

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 ShowProjectTagsRequest

type ShowProjectTagsRequest struct {
	ProjectId string `json:"project_id"`
}

Request Object

func (ShowProjectTagsRequest) String

func (o ShowProjectTagsRequest) String() string

type ShowProjectTagsRespTags

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

func (ShowProjectTagsRespTags) String

func (o ShowProjectTagsRespTags) String() string

type ShowProjectTagsResponse

type ShowProjectTagsResponse struct {
	// 标签列表
	Tags           *[]ShowProjectTagsRespTags `json:"tags,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

Response Object

func (ShowProjectTagsResponse) String

func (o ShowProjectTagsResponse) String() string

type UpdateInstanceReq

type UpdateInstanceReq struct {
	// 实例名称。  由英文字符开头,只能由英文字母、数字、中划线组成,长度为4~64的字符。
	Name *string `json:"name,omitempty"`
	// 实例的描述信息。  长度不超过1024的字符串。 > \\与\"在json报文中属于特殊字符,如果参数值中需要显示\\或者\"字符,请在字符前增加转义字符\\,比如\\\\或者\\\"。
	Description *string `json:"description,omitempty"`
	// 维护时间窗开始时间,格式为HH:mm:ss。   - 维护时间窗开始和结束时间必须为指定的时间段,可参考[查询维护时间窗时间段](https://support.huaweicloud.com/api-rabbitmq/ShowMaintainWindows.html)。   - 开始时间必须为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。   - 维护时间窗开始和结束时间必须为指定的时间段,可参考[查询维护时间窗时间段](https://support.huaweicloud.com/api-rabbitmq/ShowMaintainWindows.html)。   - 结束时间在开始时间基础上加四个小时,即当开始时间为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),该字段为必选。  获取方法:   - 方法1:登录弹性公网IP和带宽的控制台界面,在弹性公网IP的详情页面查的基本信息栏找ID。   - 方法2:通过弹性公网IP的API接口查询,具体操作可参考[查询公网IP ID](https://support.huaweicloud.com/api-eip/eip_api_0003.html)。
	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 {
	ProjectId  string             `json:"project_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 {
	ProjectId  string            `json:"project_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