Documentation
¶
Index ¶
- Constants
- type BindCluster
- type Client
- func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
- func (c *Client) CreateSubscription(request *CreateSubscriptionRequest) (response *CreateSubscriptionResponse, err error)
- func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (c *Client) DeleteEnvironments(request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
- func (c *Client) DeleteSubscriptions(request *DeleteSubscriptionsRequest) (response *DeleteSubscriptionsResponse, err error)
- func (c *Client) DeleteTopics(request *DeleteTopicsRequest) (response *DeleteTopicsResponse, err error)
- func (c *Client) DescribeBindClusters(request *DescribeBindClustersRequest) (response *DescribeBindClustersResponse, err error)
- func (c *Client) DescribeBindVpcs(request *DescribeBindVpcsRequest) (response *DescribeBindVpcsResponse, err error)
- func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeEnvironmentAttributes(request *DescribeEnvironmentAttributesRequest) (response *DescribeEnvironmentAttributesResponse, err error)
- func (c *Client) DescribeEnvironmentRoles(request *DescribeEnvironmentRolesRequest) (response *DescribeEnvironmentRolesResponse, err error)
- func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeProducers(request *DescribeProducersRequest) (response *DescribeProducersResponse, err error)
- func (c *Client) DescribeSubscriptions(request *DescribeSubscriptionsRequest) (response *DescribeSubscriptionsResponse, err error)
- func (c *Client) DescribeTopics(request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
- func (c *Client) ModifyCluster(request *ModifyClusterRequest) (response *ModifyClusterResponse, err error)
- func (c *Client) ModifyEnvironmentAttributes(request *ModifyEnvironmentAttributesRequest) (response *ModifyEnvironmentAttributesResponse, err error)
- func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
- func (c *Client) ResetMsgSubOffsetByTimestamp(request *ResetMsgSubOffsetByTimestampRequest) (response *ResetMsgSubOffsetByTimestampResponse, err error)
- func (c *Client) SendBatchMessages(request *SendBatchMessagesRequest) (response *SendBatchMessagesResponse, err error)
- func (c *Client) SendMessages(request *SendMessagesRequest) (response *SendMessagesResponse, err error)
- type Cluster
- type Connection
- type Consumer
- type ConsumersSchedule
- type CreateClusterRequest
- type CreateClusterResponse
- type CreateEnvironmentRequest
- type CreateEnvironmentResponse
- type CreateSubscriptionRequest
- type CreateSubscriptionResponse
- type CreateTopicRequest
- type CreateTopicResponse
- type DeleteClusterRequest
- type DeleteClusterResponse
- type DeleteEnvironmentsRequest
- type DeleteEnvironmentsResponse
- type DeleteSubscriptionsRequest
- type DeleteSubscriptionsResponse
- type DeleteTopicsRequest
- type DeleteTopicsResponse
- type DescribeBindClustersRequest
- type DescribeBindClustersResponse
- type DescribeBindVpcsRequest
- type DescribeBindVpcsResponse
- type DescribeClusterDetailRequest
- type DescribeClusterDetailResponse
- type DescribeClustersRequest
- type DescribeClustersResponse
- type DescribeEnvironmentAttributesRequest
- type DescribeEnvironmentAttributesResponse
- type DescribeEnvironmentRolesRequest
- type DescribeEnvironmentRolesResponse
- type DescribeEnvironmentsRequest
- type DescribeEnvironmentsResponse
- type DescribeProducersRequest
- type DescribeProducersResponse
- type DescribeSubscriptionsRequest
- type DescribeSubscriptionsResponse
- type DescribeTopicsRequest
- type DescribeTopicsResponse
- type Environment
- type EnvironmentRole
- type FilterSubscription
- type ModifyClusterRequest
- type ModifyClusterResponse
- type ModifyEnvironmentAttributesRequest
- type ModifyEnvironmentAttributesResponse
- type ModifyTopicRequest
- type ModifyTopicResponse
- type PartitionsTopic
- type Producer
- type ResetMsgSubOffsetByTimestampRequest
- type ResetMsgSubOffsetByTimestampResponse
- type SendBatchMessagesRequest
- type SendBatchMessagesResponse
- type SendMessagesRequest
- type SendMessagesResponse
- type Subscription
- type SubscriptionTopic
- type Tag
- type Topic
- type TopicRecord
- type VpcBindRecord
Constants ¶
const APIVersion = "2020-02-17"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindCluster ¶
type BindCluster struct { // 物理集群的名称 ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
创建用户的集群
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
用于在用户账户下创建消息队列 Tdmq 命名空间
func (*Client) CreateSubscription ¶
func (c *Client) CreateSubscription(request *CreateSubscriptionRequest) (response *CreateSubscriptionResponse, err error)
创建一个主题的订阅关系
func (*Client) CreateTopic ¶
func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
新增指定分区、类型的消息主题
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
删除集群
func (*Client) DeleteEnvironments ¶
func (c *Client) DeleteEnvironments(request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
批量删除租户下的命名空间
func (*Client) DeleteSubscriptions ¶
func (c *Client) DeleteSubscriptions(request *DeleteSubscriptionsRequest) (response *DeleteSubscriptionsResponse, err error)
删除订阅关系
func (*Client) DeleteTopics ¶
func (c *Client) DeleteTopics(request *DeleteTopicsRequest) (response *DeleteTopicsResponse, err error)
批量删除topics
func (*Client) DescribeBindClusters ¶
func (c *Client) DescribeBindClusters(request *DescribeBindClustersRequest) (response *DescribeBindClustersResponse, err error)
获取用户绑定的专享集群列表
func (*Client) DescribeBindVpcs ¶
func (c *Client) DescribeBindVpcs(request *DescribeBindVpcsRequest) (response *DescribeBindVpcsResponse, err error)
获取租户VPC绑定关系
func (*Client) DescribeClusterDetail ¶
func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
获取集群的详细信息
func (*Client) DescribeClusters ¶
func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
获取集群列表
func (*Client) DescribeEnvironmentAttributes ¶
func (c *Client) DescribeEnvironmentAttributes(request *DescribeEnvironmentAttributesRequest) (response *DescribeEnvironmentAttributesResponse, err error)
获取指定命名空间的属性
func (*Client) DescribeEnvironmentRoles ¶
func (c *Client) DescribeEnvironmentRoles(request *DescribeEnvironmentRolesRequest) (response *DescribeEnvironmentRolesResponse, err error)
获取命名空间角色列表
func (*Client) DescribeEnvironments ¶
func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
获取租户下命名空间列表
func (*Client) DescribeProducers ¶
func (c *Client) DescribeProducers(request *DescribeProducersRequest) (response *DescribeProducersResponse, err error)
获取生产者列表,仅显示在线的生产者
func (*Client) DescribeSubscriptions ¶
func (c *Client) DescribeSubscriptions(request *DescribeSubscriptionsRequest) (response *DescribeSubscriptionsResponse, err error)
查询指定环境和主题下的订阅者列表
func (*Client) DescribeTopics ¶
func (c *Client) DescribeTopics(request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
获取环境下主题列表
func (*Client) ModifyCluster ¶
func (c *Client) ModifyCluster(request *ModifyClusterRequest) (response *ModifyClusterResponse, err error)
更新集群信息
func (*Client) ModifyEnvironmentAttributes ¶
func (c *Client) ModifyEnvironmentAttributes(request *ModifyEnvironmentAttributesRequest) (response *ModifyEnvironmentAttributesResponse, err error)
修改指定命名空间的属性值
func (*Client) ModifyTopic ¶
func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
修改主题备注和分区数
func (*Client) ResetMsgSubOffsetByTimestamp ¶
func (c *Client) ResetMsgSubOffsetByTimestamp(request *ResetMsgSubOffsetByTimestampRequest) (response *ResetMsgSubOffsetByTimestampResponse, err error)
根据时间戳进行消息回溯,精确到毫秒
func (*Client) SendBatchMessages ¶
func (c *Client) SendBatchMessages(request *SendBatchMessagesRequest) (response *SendBatchMessagesResponse, err error)
批量发送消息
func (*Client) SendMessages ¶
func (c *Client) SendMessages(request *SendMessagesRequest) (response *SendMessagesResponse, err error)
发送单条消息
type Cluster ¶
type Cluster struct { // 集群Id。 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 集群名称。 ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // 说明信息。 Remark *string `json:"Remark,omitempty" name:"Remark"` // �接入点数量 EndPointNum *int64 `json:"EndPointNum,omitempty" name:"EndPointNum"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 集群是否健康,1表示健康,0表示异常 Healthy *int64 `json:"Healthy,omitempty" name:"Healthy"` // 集群健康信息 // 注意:此字段可能返回 null,表示取不到有效值。 HealthyInfo *string `json:"HealthyInfo,omitempty" name:"HealthyInfo"` // 集群状态,0:创建中,1:正常,2:删除中,3:已删除,5:创建失败,6: 删除失败 Status *int64 `json:"Status,omitempty" name:"Status"` // 最大命名空间数量 MaxNamespaceNum *int64 `json:"MaxNamespaceNum,omitempty" name:"MaxNamespaceNum"` // 最大Topic数量 MaxTopicNum *int64 `json:"MaxTopicNum,omitempty" name:"MaxTopicNum"` // 最大QPS MaxQps *int64 `json:"MaxQps,omitempty" name:"MaxQps"` // 消息保留时间 MessageRetentionTime *int64 `json:"MessageRetentionTime,omitempty" name:"MessageRetentionTime"` // 最大存储容量 MaxStorageCapacity *int64 `json:"MaxStorageCapacity,omitempty" name:"MaxStorageCapacity"` }
type Connection ¶
type Connection struct { // 生产者地址。 // 注意:此字段可能返回 null,表示取不到有效值。 Address *string `json:"Address,omitempty" name:"Address"` // 主题分区。 // 注意:此字段可能返回 null,表示取不到有效值。 Partitions *int64 `json:"Partitions,omitempty" name:"Partitions"` // 生产者版本。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientVersion *string `json:"ClientVersion,omitempty" name:"ClientVersion"` // 生产者名称。 // 注意:此字段可能返回 null,表示取不到有效值。 ProducerName *string `json:"ProducerName,omitempty" name:"ProducerName"` // 生产者ID。 // 注意:此字段可能返回 null,表示取不到有效值。 ProducerId *string `json:"ProducerId,omitempty" name:"ProducerId"` // 消息平均大小(byte)。 // 注意:此字段可能返回 null,表示取不到有效值。 AverageMsgSize *string `json:"AverageMsgSize,omitempty" name:"AverageMsgSize"` // 生成速率(byte/秒)。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgThroughputIn *string `json:"MsgThroughputIn,omitempty" name:"MsgThroughputIn"` }
type Consumer ¶
type Consumer struct { // 消费者开始连接的时间。 // 注意:此字段可能返回 null,表示取不到有效值。 ConnectedSince *string `json:"ConnectedSince,omitempty" name:"ConnectedSince"` // 消费者地址。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerAddr *string `json:"ConsumerAddr,omitempty" name:"ConsumerAddr"` // 消费者名称。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerName *string `json:"ConsumerName,omitempty" name:"ConsumerName"` // 消费者版本。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientVersion *string `json:"ClientVersion,omitempty" name:"ClientVersion"` }
type ConsumersSchedule ¶
type ConsumersSchedule struct { // 当前分区id。 // 注意:此字段可能返回 null,表示取不到有效值。 Partitions *uint64 `json:"Partitions,omitempty" name:"Partitions"` // 消息数量。 // 注意:此字段可能返回 null,表示取不到有效值。 NumberOfEntries *uint64 `json:"NumberOfEntries,omitempty" name:"NumberOfEntries"` // 消息积压数量。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgBacklog *uint64 `json:"MsgBacklog,omitempty" name:"MsgBacklog"` // 消费者每秒分发消息的数量之和。 MsgRateOut *string `json:"MsgRateOut,omitempty" name:"MsgRateOut"` // 消费者每秒消息的byte。 MsgThroughputOut *string `json:"MsgThroughputOut,omitempty" name:"MsgThroughputOut"` // 超时丢弃比例。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgRateExpired *string `json:"MsgRateExpired,omitempty" name:"MsgRateExpired"` }
type CreateClusterRequest ¶
type CreateClusterRequest struct { *tchttp.BaseRequest // 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过16个字符。 ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。 BindClusterId *uint64 `json:"BindClusterId,omitempty" name:"BindClusterId"` // 说明,128个字符以内。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 集群的标签列表 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
func NewCreateClusterRequest ¶
func NewCreateClusterRequest() (request *CreateClusterRequest)
func (*CreateClusterRequest) FromJsonString ¶
func (r *CreateClusterRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterRequest) ToJsonString ¶
func (r *CreateClusterRequest) ToJsonString() string
type CreateClusterResponse ¶
type CreateClusterResponse struct { *tchttp.BaseResponse Response *struct { // 集群ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateClusterResponse ¶
func NewCreateClusterResponse() (response *CreateClusterResponse)
func (*CreateClusterResponse) FromJsonString ¶
func (r *CreateClusterResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateClusterResponse) ToJsonString ¶
func (r *CreateClusterResponse) ToJsonString() string
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称,不支持中字以及除了短线和下划线外的特殊字符且不超过16个字符。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 未消费消息过期时间,单位:秒,最小60,最大1296000,(15天)。 MsgTTL *uint64 `json:"MsgTTL,omitempty" name:"MsgTTL"` // 说明,128个字符以内。 Remark *string `json:"Remark,omitempty" name:"Remark"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewCreateEnvironmentRequest ¶
func NewCreateEnvironmentRequest() (request *CreateEnvironmentRequest)
func (*CreateEnvironmentRequest) FromJsonString ¶
func (r *CreateEnvironmentRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentRequest) ToJsonString ¶
func (r *CreateEnvironmentRequest) ToJsonString() string
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct { *tchttp.BaseResponse Response *struct { // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 未消费消息过期时间,单位:秒。 MsgTTL *uint64 `json:"MsgTTL,omitempty" name:"MsgTTL"` // 说明,128个字符以内。 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 命名空间ID NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateEnvironmentResponse ¶
func NewCreateEnvironmentResponse() (response *CreateEnvironmentResponse)
func (*CreateEnvironmentResponse) FromJsonString ¶
func (r *CreateEnvironmentResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentResponse) ToJsonString ¶
func (r *CreateEnvironmentResponse) ToJsonString() string
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名称。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 订阅者名称,不支持中字以及除了短线和下划线外的特殊字符且不超过150个字符。 SubscriptionName *string `json:"SubscriptionName,omitempty" name:"SubscriptionName"` // 是否幂等创建,若否不允许创建同名的订阅关系。 IsIdempotent *bool `json:"IsIdempotent,omitempty" name:"IsIdempotent"` // 备注,128个字符以内。 Remark *string `json:"Remark,omitempty" name:"Remark"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 是否自动创建死信和重试主题,True 表示创建,False表示不创建,默认自动创建死信和重试主题。 AutoCreatePolicyTopic *bool `json:"AutoCreatePolicyTopic,omitempty" name:"AutoCreatePolicyTopic"` }
func NewCreateSubscriptionRequest ¶
func NewCreateSubscriptionRequest() (request *CreateSubscriptionRequest)
func (*CreateSubscriptionRequest) FromJsonString ¶
func (r *CreateSubscriptionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubscriptionRequest) ToJsonString ¶
func (r *CreateSubscriptionRequest) ToJsonString() string
type CreateSubscriptionResponse ¶
type CreateSubscriptionResponse struct { *tchttp.BaseResponse Response *struct { // 创建结果。 Result *bool `json:"Result,omitempty" name:"Result"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateSubscriptionResponse ¶
func NewCreateSubscriptionResponse() (response *CreateSubscriptionResponse)
func (*CreateSubscriptionResponse) FromJsonString ¶
func (r *CreateSubscriptionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSubscriptionResponse) ToJsonString ¶
func (r *CreateSubscriptionResponse) ToJsonString() string
type CreateTopicRequest ¶
type CreateTopicRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 0:非分区topic,无分区;非0:具体分区topic的分区数,最大不允许超过128。 Partitions *uint64 `json:"Partitions,omitempty" name:"Partitions"` // 0: 普通消息; // 1 :全局顺序消息; // 2 :局部顺序消息; // 3 :重试队列; // 4 :死信队列; // 5 :事务消息。 TopicType *uint64 `json:"TopicType,omitempty" name:"TopicType"` // 备注,128字符以内。 Remark *string `json:"Remark,omitempty" name:"Remark"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewCreateTopicRequest ¶
func NewCreateTopicRequest() (request *CreateTopicRequest)
func (*CreateTopicRequest) FromJsonString ¶
func (r *CreateTopicRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRequest) ToJsonString ¶
func (r *CreateTopicRequest) ToJsonString() string
type CreateTopicResponse ¶
type CreateTopicResponse struct { *tchttp.BaseResponse Response *struct { // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 0:非分区topic,无分区;非0:具体分区topic的分区数。 Partitions *uint64 `json:"Partitions,omitempty" name:"Partitions"` // 备注,128字符以内。 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 0: 普通消息; // 1 :全局顺序消息; // 2 :局部顺序消息; // 3 :重试队列; // 4 :死信队列; // 5 :事务消息。 // 注意:此字段可能返回 null,表示取不到有效值。 TopicType *uint64 `json:"TopicType,omitempty" name:"TopicType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTopicResponse ¶
func NewCreateTopicResponse() (response *CreateTopicResponse)
func (*CreateTopicResponse) FromJsonString ¶
func (r *CreateTopicResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicResponse) ToJsonString ¶
func (r *CreateTopicResponse) ToJsonString() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { *tchttp.BaseRequest // 集群Id,传入需要删除的集群Id。 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDeleteClusterRequest ¶
func NewDeleteClusterRequest() (request *DeleteClusterRequest)
func (*DeleteClusterRequest) FromJsonString ¶
func (r *DeleteClusterRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterRequest) ToJsonString ¶
func (r *DeleteClusterRequest) ToJsonString() string
type DeleteClusterResponse ¶
type DeleteClusterResponse struct { *tchttp.BaseResponse Response *struct { // 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteClusterResponse ¶
func NewDeleteClusterResponse() (response *DeleteClusterResponse)
func (*DeleteClusterResponse) FromJsonString ¶
func (r *DeleteClusterResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteClusterResponse) ToJsonString ¶
func (r *DeleteClusterResponse) ToJsonString() string
type DeleteEnvironmentsRequest ¶
type DeleteEnvironmentsRequest struct { *tchttp.BaseRequest // 环境(命名空间)数组,每次最多删除20个。 EnvironmentIds []*string `json:"EnvironmentIds,omitempty" name:"EnvironmentIds" list` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDeleteEnvironmentsRequest ¶
func NewDeleteEnvironmentsRequest() (request *DeleteEnvironmentsRequest)
func (*DeleteEnvironmentsRequest) FromJsonString ¶
func (r *DeleteEnvironmentsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEnvironmentsRequest) ToJsonString ¶
func (r *DeleteEnvironmentsRequest) ToJsonString() string
type DeleteEnvironmentsResponse ¶
type DeleteEnvironmentsResponse struct { *tchttp.BaseResponse Response *struct { // 成功删除的环境(命名空间)数组。 EnvironmentIds []*string `json:"EnvironmentIds,omitempty" name:"EnvironmentIds" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteEnvironmentsResponse ¶
func NewDeleteEnvironmentsResponse() (response *DeleteEnvironmentsResponse)
func (*DeleteEnvironmentsResponse) FromJsonString ¶
func (r *DeleteEnvironmentsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEnvironmentsResponse) ToJsonString ¶
func (r *DeleteEnvironmentsResponse) ToJsonString() string
type DeleteSubscriptionsRequest ¶
type DeleteSubscriptionsRequest struct { *tchttp.BaseRequest // 订阅关系集合,每次最多删除20个。 SubscriptionTopicSets []*SubscriptionTopic `json:"SubscriptionTopicSets,omitempty" name:"SubscriptionTopicSets" list` // pulsar集群Id。 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
func NewDeleteSubscriptionsRequest ¶
func NewDeleteSubscriptionsRequest() (request *DeleteSubscriptionsRequest)
func (*DeleteSubscriptionsRequest) FromJsonString ¶
func (r *DeleteSubscriptionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSubscriptionsRequest) ToJsonString ¶
func (r *DeleteSubscriptionsRequest) ToJsonString() string
type DeleteSubscriptionsResponse ¶
type DeleteSubscriptionsResponse struct { *tchttp.BaseResponse Response *struct { // 成功删除的订阅关系数组。 SubscriptionTopicSets []*SubscriptionTopic `json:"SubscriptionTopicSets,omitempty" name:"SubscriptionTopicSets" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteSubscriptionsResponse ¶
func NewDeleteSubscriptionsResponse() (response *DeleteSubscriptionsResponse)
func (*DeleteSubscriptionsResponse) FromJsonString ¶
func (r *DeleteSubscriptionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSubscriptionsResponse) ToJsonString ¶
func (r *DeleteSubscriptionsResponse) ToJsonString() string
type DeleteTopicsRequest ¶
type DeleteTopicsRequest struct { *tchttp.BaseRequest // 主题集合,每次最多删除20个。 TopicSets []*TopicRecord `json:"TopicSets,omitempty" name:"TopicSets" list` // pulsar集群Id。 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` }
func NewDeleteTopicsRequest ¶
func NewDeleteTopicsRequest() (request *DeleteTopicsRequest)
func (*DeleteTopicsRequest) FromJsonString ¶
func (r *DeleteTopicsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicsRequest) ToJsonString ¶
func (r *DeleteTopicsRequest) ToJsonString() string
type DeleteTopicsResponse ¶
type DeleteTopicsResponse struct { *tchttp.BaseResponse Response *struct { // 被删除的主题数组。 TopicSets []*TopicRecord `json:"TopicSets,omitempty" name:"TopicSets" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteTopicsResponse ¶
func NewDeleteTopicsResponse() (response *DeleteTopicsResponse)
func (*DeleteTopicsResponse) FromJsonString ¶
func (r *DeleteTopicsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicsResponse) ToJsonString ¶
func (r *DeleteTopicsResponse) ToJsonString() string
type DescribeBindClustersRequest ¶
type DescribeBindClustersRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBindClustersRequest ¶
func NewDescribeBindClustersRequest() (request *DescribeBindClustersRequest)
func (*DescribeBindClustersRequest) FromJsonString ¶
func (r *DescribeBindClustersRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindClustersRequest) ToJsonString ¶
func (r *DescribeBindClustersRequest) ToJsonString() string
type DescribeBindClustersResponse ¶
type DescribeBindClustersResponse struct { *tchttp.BaseResponse Response *struct { // 专享集群的数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 专享集群的列表 ClusterSet []*BindCluster `json:"ClusterSet,omitempty" name:"ClusterSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBindClustersResponse ¶
func NewDescribeBindClustersResponse() (response *DescribeBindClustersResponse)
func (*DescribeBindClustersResponse) FromJsonString ¶
func (r *DescribeBindClustersResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindClustersResponse) ToJsonString ¶
func (r *DescribeBindClustersResponse) ToJsonString() string
type DescribeBindVpcsRequest ¶
type DescribeBindVpcsRequest struct { *tchttp.BaseRequest // 起始下标,不填默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,不填则默认为10,最大值为20。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeBindVpcsRequest ¶
func NewDescribeBindVpcsRequest() (request *DescribeBindVpcsRequest)
func (*DescribeBindVpcsRequest) FromJsonString ¶
func (r *DescribeBindVpcsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindVpcsRequest) ToJsonString ¶
func (r *DescribeBindVpcsRequest) ToJsonString() string
type DescribeBindVpcsResponse ¶
type DescribeBindVpcsResponse struct { *tchttp.BaseResponse Response *struct { // 记录数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Vpc集合。 VpcSets []*VpcBindRecord `json:"VpcSets,omitempty" name:"VpcSets" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeBindVpcsResponse ¶
func NewDescribeBindVpcsResponse() (response *DescribeBindVpcsResponse)
func (*DescribeBindVpcsResponse) FromJsonString ¶
func (r *DescribeBindVpcsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBindVpcsResponse) ToJsonString ¶
func (r *DescribeBindVpcsResponse) ToJsonString() string
type DescribeClusterDetailRequest ¶
type DescribeClusterDetailRequest struct { *tchttp.BaseRequest // 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeClusterDetailRequest ¶
func NewDescribeClusterDetailRequest() (request *DescribeClusterDetailRequest)
func (*DescribeClusterDetailRequest) FromJsonString ¶
func (r *DescribeClusterDetailRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterDetailRequest) ToJsonString ¶
func (r *DescribeClusterDetailRequest) ToJsonString() string
type DescribeClusterDetailResponse ¶
type DescribeClusterDetailResponse struct { *tchttp.BaseResponse Response *struct { // 集群的详细信息 ClusterSet *Cluster `json:"ClusterSet,omitempty" name:"ClusterSet"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeClusterDetailResponse ¶
func NewDescribeClusterDetailResponse() (response *DescribeClusterDetailResponse)
func (*DescribeClusterDetailResponse) FromJsonString ¶
func (r *DescribeClusterDetailResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterDetailResponse) ToJsonString ¶
func (r *DescribeClusterDetailResponse) ToJsonString() string
type DescribeClustersRequest ¶
type DescribeClustersRequest struct { *tchttp.BaseRequest // 起始下标,不填默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,不填则默认为10,最大值为20。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeClustersRequest ¶
func NewDescribeClustersRequest() (request *DescribeClustersRequest)
func (*DescribeClustersRequest) FromJsonString ¶
func (r *DescribeClustersRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClustersRequest) ToJsonString ¶
func (r *DescribeClustersRequest) ToJsonString() string
type DescribeClustersResponse ¶
type DescribeClustersResponse struct { *tchttp.BaseResponse Response *struct { // 集群列表数量 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 集群信息列表 ClusterSet []*Cluster `json:"ClusterSet,omitempty" name:"ClusterSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeClustersResponse ¶
func NewDescribeClustersResponse() (response *DescribeClustersResponse)
func (*DescribeClustersResponse) FromJsonString ¶
func (r *DescribeClustersResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClustersResponse) ToJsonString ¶
func (r *DescribeClustersResponse) ToJsonString() string
type DescribeEnvironmentAttributesRequest ¶
type DescribeEnvironmentAttributesRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeEnvironmentAttributesRequest ¶
func NewDescribeEnvironmentAttributesRequest() (request *DescribeEnvironmentAttributesRequest)
func (*DescribeEnvironmentAttributesRequest) FromJsonString ¶
func (r *DescribeEnvironmentAttributesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentAttributesRequest) ToJsonString ¶
func (r *DescribeEnvironmentAttributesRequest) ToJsonString() string
type DescribeEnvironmentAttributesResponse ¶
type DescribeEnvironmentAttributesResponse struct { *tchttp.BaseResponse Response *struct { // 未消费消息过期时间,单位:秒,最大1296000(15天)。 MsgTTL *uint64 `json:"MsgTTL,omitempty" name:"MsgTTL"` // 消费速率限制,单位:byte/秒,0:不限速。 RateInByte *uint64 `json:"RateInByte,omitempty" name:"RateInByte"` // 消费速率限制,单位:个数/秒,0:不限速。 RateInSize *uint64 `json:"RateInSize,omitempty" name:"RateInSize"` // 已消费消息保存策略,单位:小时,0:消费完马上删除。 RetentionHours *uint64 `json:"RetentionHours,omitempty" name:"RetentionHours"` // 已消费消息保存策略,单位:G,0:消费完马上删除。 RetentionSize *uint64 `json:"RetentionSize,omitempty" name:"RetentionSize"` // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 副本数。 Replicas *uint64 `json:"Replicas,omitempty" name:"Replicas"` // 备注。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeEnvironmentAttributesResponse ¶
func NewDescribeEnvironmentAttributesResponse() (response *DescribeEnvironmentAttributesResponse)
func (*DescribeEnvironmentAttributesResponse) FromJsonString ¶
func (r *DescribeEnvironmentAttributesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentAttributesResponse) ToJsonString ¶
func (r *DescribeEnvironmentAttributesResponse) ToJsonString() string
type DescribeEnvironmentRolesRequest ¶
type DescribeEnvironmentRolesRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 起始下标,不填默认为0。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,不填则默认为10,最大值为20。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 角色名称 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` }
func NewDescribeEnvironmentRolesRequest ¶
func NewDescribeEnvironmentRolesRequest() (request *DescribeEnvironmentRolesRequest)
func (*DescribeEnvironmentRolesRequest) FromJsonString ¶
func (r *DescribeEnvironmentRolesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentRolesRequest) ToJsonString ¶
func (r *DescribeEnvironmentRolesRequest) ToJsonString() string
type DescribeEnvironmentRolesResponse ¶
type DescribeEnvironmentRolesResponse struct { *tchttp.BaseResponse Response *struct { // 记录数。 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 命名空间角色集合。 EnvironmentRoleSets []*EnvironmentRole `json:"EnvironmentRoleSets,omitempty" name:"EnvironmentRoleSets" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeEnvironmentRolesResponse ¶
func NewDescribeEnvironmentRolesResponse() (response *DescribeEnvironmentRolesResponse)
func (*DescribeEnvironmentRolesResponse) FromJsonString ¶
func (r *DescribeEnvironmentRolesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentRolesResponse) ToJsonString ¶
func (r *DescribeEnvironmentRolesResponse) ToJsonString() string
type DescribeEnvironmentsRequest ¶
type DescribeEnvironmentsRequest struct { *tchttp.BaseRequest // 命名空间名称,模糊搜索。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 起始下标,不填默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,不填则默认为10,最大值为20。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeEnvironmentsRequest ¶
func NewDescribeEnvironmentsRequest() (request *DescribeEnvironmentsRequest)
func (*DescribeEnvironmentsRequest) FromJsonString ¶
func (r *DescribeEnvironmentsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsRequest) ToJsonString ¶
func (r *DescribeEnvironmentsRequest) ToJsonString() string
type DescribeEnvironmentsResponse ¶
type DescribeEnvironmentsResponse struct { *tchttp.BaseResponse Response *struct { // 命名空间记录数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 命名空间集合数组。 EnvironmentSet []*Environment `json:"EnvironmentSet,omitempty" name:"EnvironmentSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeEnvironmentsResponse ¶
func NewDescribeEnvironmentsResponse() (response *DescribeEnvironmentsResponse)
func (*DescribeEnvironmentsResponse) FromJsonString ¶
func (r *DescribeEnvironmentsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsResponse) ToJsonString ¶
func (r *DescribeEnvironmentsResponse) ToJsonString() string
type DescribeProducersRequest ¶
type DescribeProducersRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 起始下标,不填默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,不填则默认为10,最大值为20。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 生产者名称,模糊匹配。 ProducerName *string `json:"ProducerName,omitempty" name:"ProducerName"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeProducersRequest ¶
func NewDescribeProducersRequest() (request *DescribeProducersRequest)
func (*DescribeProducersRequest) FromJsonString ¶
func (r *DescribeProducersRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProducersRequest) ToJsonString ¶
func (r *DescribeProducersRequest) ToJsonString() string
type DescribeProducersResponse ¶
type DescribeProducersResponse struct { *tchttp.BaseResponse Response *struct { // 生产者集合数组。 ProducerSets []*Producer `json:"ProducerSets,omitempty" name:"ProducerSets" list` // 记录总数。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProducersResponse ¶
func NewDescribeProducersResponse() (response *DescribeProducersResponse)
func (*DescribeProducersResponse) FromJsonString ¶
func (r *DescribeProducersResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProducersResponse) ToJsonString ¶
func (r *DescribeProducersResponse) ToJsonString() string
type DescribeSubscriptionsRequest ¶
type DescribeSubscriptionsRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名称。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 起始下标,不填默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,不填则默认为10,最大值为20。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 订阅者名称,模糊匹配。 SubscriptionName *string `json:"SubscriptionName,omitempty" name:"SubscriptionName"` // 数据过滤条件。 Filters []*FilterSubscription `json:"Filters,omitempty" name:"Filters" list` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeSubscriptionsRequest ¶
func NewDescribeSubscriptionsRequest() (request *DescribeSubscriptionsRequest)
func (*DescribeSubscriptionsRequest) FromJsonString ¶
func (r *DescribeSubscriptionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscriptionsRequest) ToJsonString ¶
func (r *DescribeSubscriptionsRequest) ToJsonString() string
type DescribeSubscriptionsResponse ¶
type DescribeSubscriptionsResponse struct { *tchttp.BaseResponse Response *struct { // 订阅者集合数组。 SubscriptionSets []*Subscription `json:"SubscriptionSets,omitempty" name:"SubscriptionSets" list` // 数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSubscriptionsResponse ¶
func NewDescribeSubscriptionsResponse() (response *DescribeSubscriptionsResponse)
func (*DescribeSubscriptionsResponse) FromJsonString ¶
func (r *DescribeSubscriptionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubscriptionsResponse) ToJsonString ¶
func (r *DescribeSubscriptionsResponse) ToJsonString() string
type DescribeTopicsRequest ¶
type DescribeTopicsRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名模糊匹配。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 起始下标,不填默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,不填则默认为10,最大值为20。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // topic类型描述: // 0:普通消息; // 1:全局顺序消息; // 2:局部顺序消息; // 3:重试队列; // 4:死信队列; // 5:事务消息。 TopicType *uint64 `json:"TopicType,omitempty" name:"TopicType"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewDescribeTopicsRequest ¶
func NewDescribeTopicsRequest() (request *DescribeTopicsRequest)
func (*DescribeTopicsRequest) FromJsonString ¶
func (r *DescribeTopicsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicsRequest) ToJsonString ¶
func (r *DescribeTopicsRequest) ToJsonString() string
type DescribeTopicsResponse ¶
type DescribeTopicsResponse struct { *tchttp.BaseResponse Response *struct { // 主题集合数组。 TopicSets []*Topic `json:"TopicSets,omitempty" name:"TopicSets" list` // 主题数量。 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTopicsResponse ¶
func NewDescribeTopicsResponse() (response *DescribeTopicsResponse)
func (*DescribeTopicsResponse) FromJsonString ¶
func (r *DescribeTopicsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicsResponse) ToJsonString ¶
func (r *DescribeTopicsResponse) ToJsonString() string
type Environment ¶
type Environment struct { // 命名空间名称 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 说明 Remark *string `json:"Remark,omitempty" name:"Remark"` // 未消费消息过期时间,单位:秒,最大1296000(15天) MsgTTL *int64 `json:"MsgTTL,omitempty" name:"MsgTTL"` // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 最近修改时间 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 命名空间ID NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"` // 命名空间名称 NamespaceName *string `json:"NamespaceName,omitempty" name:"NamespaceName"` }
type EnvironmentRole ¶
type EnvironmentRole struct { // 环境(命名空间)。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 角色名称。 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` // 授权项,最多只能包含produce、consume两项的非空字符串数组。 Permissions []*string `json:"Permissions,omitempty" name:"Permissions" list` // 角色描述。 RoleDescribe *string `json:"RoleDescribe,omitempty" name:"RoleDescribe"` // 创建时间。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 更新时间。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type FilterSubscription ¶
type FilterSubscription struct { // 是否仅展示包含真实消费者的订阅。 ConsumerHasCount *bool `json:"ConsumerHasCount,omitempty" name:"ConsumerHasCount"` // 是否仅展示消息堆积的订阅。 ConsumerHasBacklog *bool `json:"ConsumerHasBacklog,omitempty" name:"ConsumerHasBacklog"` // 是否仅展示存在消息超期丢弃的订阅。 ConsumerHasExpired *bool `json:"ConsumerHasExpired,omitempty" name:"ConsumerHasExpired"` }
type ModifyClusterRequest ¶
type ModifyClusterRequest struct { *tchttp.BaseRequest // Pulsar 集群的ID,需要更新的集群Id。 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 更新后的集群名称。 ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` // 说明信息。 Remark *string `json:"Remark,omitempty" name:"Remark"` }
func NewModifyClusterRequest ¶
func NewModifyClusterRequest() (request *ModifyClusterRequest)
func (*ModifyClusterRequest) FromJsonString ¶
func (r *ModifyClusterRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterRequest) ToJsonString ¶
func (r *ModifyClusterRequest) ToJsonString() string
type ModifyClusterResponse ¶
type ModifyClusterResponse struct { *tchttp.BaseResponse Response *struct { // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyClusterResponse ¶
func NewModifyClusterResponse() (response *ModifyClusterResponse)
func (*ModifyClusterResponse) FromJsonString ¶
func (r *ModifyClusterResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClusterResponse) ToJsonString ¶
func (r *ModifyClusterResponse) ToJsonString() string
type ModifyEnvironmentAttributesRequest ¶
type ModifyEnvironmentAttributesRequest struct { *tchttp.BaseRequest // 命名空间名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 未消费消息过期时间,单位:秒,最大1296000。 MsgTTL *uint64 `json:"MsgTTL,omitempty" name:"MsgTTL"` // 备注,字符串最长不超过128。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 集群ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewModifyEnvironmentAttributesRequest ¶
func NewModifyEnvironmentAttributesRequest() (request *ModifyEnvironmentAttributesRequest)
func (*ModifyEnvironmentAttributesRequest) FromJsonString ¶
func (r *ModifyEnvironmentAttributesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvironmentAttributesRequest) ToJsonString ¶
func (r *ModifyEnvironmentAttributesRequest) ToJsonString() string
type ModifyEnvironmentAttributesResponse ¶
type ModifyEnvironmentAttributesResponse struct { *tchttp.BaseResponse Response *struct { // 命名空间名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 未消费消息过期时间,单位:秒。 MsgTTL *uint64 `json:"MsgTTL,omitempty" name:"MsgTTL"` // 备注,字符串最长不超过128。 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 命名空间ID // 注意:此字段可能返回 null,表示取不到有效值。 NamespaceId *string `json:"NamespaceId,omitempty" name:"NamespaceId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyEnvironmentAttributesResponse ¶
func NewModifyEnvironmentAttributesResponse() (response *ModifyEnvironmentAttributesResponse)
func (*ModifyEnvironmentAttributesResponse) FromJsonString ¶
func (r *ModifyEnvironmentAttributesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvironmentAttributesResponse) ToJsonString ¶
func (r *ModifyEnvironmentAttributesResponse) ToJsonString() string
type ModifyTopicRequest ¶
type ModifyTopicRequest struct { *tchttp.BaseRequest // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过128个分区。 Partitions *uint64 `json:"Partitions,omitempty" name:"Partitions"` // 备注,128字符以内。 Remark *string `json:"Remark,omitempty" name:"Remark"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewModifyTopicRequest ¶
func NewModifyTopicRequest() (request *ModifyTopicRequest)
func (*ModifyTopicRequest) FromJsonString ¶
func (r *ModifyTopicRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicRequest) ToJsonString ¶
func (r *ModifyTopicRequest) ToJsonString() string
type ModifyTopicResponse ¶
type ModifyTopicResponse struct { *tchttp.BaseResponse Response *struct { // 分区数 Partitions *uint64 `json:"Partitions,omitempty" name:"Partitions"` // 备注,128字符以内。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyTopicResponse ¶
func NewModifyTopicResponse() (response *ModifyTopicResponse)
func (*ModifyTopicResponse) FromJsonString ¶
func (r *ModifyTopicResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicResponse) ToJsonString ¶
func (r *ModifyTopicResponse) ToJsonString() string
type PartitionsTopic ¶
type PartitionsTopic struct { // 最后一次间隔内发布消息的平均byte大小。 // 注意:此字段可能返回 null,表示取不到有效值。 AverageMsgSize *string `json:"AverageMsgSize,omitempty" name:"AverageMsgSize"` // 消费者数量。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerCount *string `json:"ConsumerCount,omitempty" name:"ConsumerCount"` // 被记录下来的消息总数。 // 注意:此字段可能返回 null,表示取不到有效值。 LastConfirmedEntry *string `json:"LastConfirmedEntry,omitempty" name:"LastConfirmedEntry"` // 最后一个ledger创建的时间。 // 注意:此字段可能返回 null,表示取不到有效值。 LastLedgerCreatedTimestamp *string `json:"LastLedgerCreatedTimestamp,omitempty" name:"LastLedgerCreatedTimestamp"` // 本地和复制的发布者每秒发布消息的速率。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgRateIn *string `json:"MsgRateIn,omitempty" name:"MsgRateIn"` // 本地和复制的消费者每秒分发消息的数量之和。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgRateOut *string `json:"MsgRateOut,omitempty" name:"MsgRateOut"` // 本地和复制的发布者每秒发布消息的byte。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgThroughputIn *string `json:"MsgThroughputIn,omitempty" name:"MsgThroughputIn"` // 本地和复制的消费者每秒分发消息的byte。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgThroughputOut *string `json:"MsgThroughputOut,omitempty" name:"MsgThroughputOut"` // 被记录下来的消息总数。 // 注意:此字段可能返回 null,表示取不到有效值。 NumberOfEntries *string `json:"NumberOfEntries,omitempty" name:"NumberOfEntries"` // 子分区id。 // 注意:此字段可能返回 null,表示取不到有效值。 Partitions *int64 `json:"Partitions,omitempty" name:"Partitions"` // 生产者数量。 // 注意:此字段可能返回 null,表示取不到有效值。 ProducerCount *string `json:"ProducerCount,omitempty" name:"ProducerCount"` // 以byte计算的所有消息存储总量。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalSize *string `json:"TotalSize,omitempty" name:"TotalSize"` // topic类型描述。 // 注意:此字段可能返回 null,表示取不到有效值。 TopicType *uint64 `json:"TopicType,omitempty" name:"TopicType"` }
type Producer ¶
type Producer struct { // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名称。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 连接数。 // 注意:此字段可能返回 null,表示取不到有效值。 CountConnect *int64 `json:"CountConnect,omitempty" name:"CountConnect"` // 连接集合。 // 注意:此字段可能返回 null,表示取不到有效值。 ConnectionSets []*Connection `json:"ConnectionSets,omitempty" name:"ConnectionSets" list` }
type ResetMsgSubOffsetByTimestampRequest ¶
type ResetMsgSubOffsetByTimestampRequest struct { *tchttp.BaseRequest // 命名空间名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名称。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 订阅者名称。 Subscription *string `json:"Subscription,omitempty" name:"Subscription"` // 时间戳,精确到毫秒。 ToTimestamp *uint64 `json:"ToTimestamp,omitempty" name:"ToTimestamp"` // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` }
func NewResetMsgSubOffsetByTimestampRequest ¶
func NewResetMsgSubOffsetByTimestampRequest() (request *ResetMsgSubOffsetByTimestampRequest)
func (*ResetMsgSubOffsetByTimestampRequest) FromJsonString ¶
func (r *ResetMsgSubOffsetByTimestampRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetMsgSubOffsetByTimestampRequest) ToJsonString ¶
func (r *ResetMsgSubOffsetByTimestampRequest) ToJsonString() string
type ResetMsgSubOffsetByTimestampResponse ¶
type ResetMsgSubOffsetByTimestampResponse struct { *tchttp.BaseResponse Response *struct { // 结果。 // 注意:此字段可能返回 null,表示取不到有效值。 Result *bool `json:"Result,omitempty" name:"Result"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewResetMsgSubOffsetByTimestampResponse ¶
func NewResetMsgSubOffsetByTimestampResponse() (response *ResetMsgSubOffsetByTimestampResponse)
func (*ResetMsgSubOffsetByTimestampResponse) FromJsonString ¶
func (r *ResetMsgSubOffsetByTimestampResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetMsgSubOffsetByTimestampResponse) ToJsonString ¶
func (r *ResetMsgSubOffsetByTimestampResponse) ToJsonString() string
type SendBatchMessagesRequest ¶
type SendBatchMessagesRequest struct { *tchttp.BaseRequest // Topic name Topic *string `json:"Topic,omitempty" name:"Topic"` // 需要发送消息的内容 Payload *string `json:"Payload,omitempty" name:"Payload"` // String 类型的 token,用来校验客户端和服务端之间的连接 StringToken *string `json:"StringToken,omitempty" name:"StringToken"` // producer 的名字,要求全局是唯一的,如果不设置,系统会自动生成 ProducerName *string `json:"ProducerName,omitempty" name:"ProducerName"` // 单位:s。消息发送的超时时间。默认值为:30s SendTimeout *int64 `json:"SendTimeout,omitempty" name:"SendTimeout"` // 内存中允许缓存的生产消息的最大数量,默认值:1000条 MaxPendingMessages *int64 `json:"MaxPendingMessages,omitempty" name:"MaxPendingMessages"` // 每一个batch中消息的最大数量,默认值:1000条/batch BatchingMaxMessages *int64 `json:"BatchingMaxMessages,omitempty" name:"BatchingMaxMessages"` // 每一个batch最大等待的时间,超过这个时间,不管是否达到指定的batch中消息的数量和大小,都会将该batch发送出去,默认:10ms BatchingMaxPublishDelay *int64 `json:"BatchingMaxPublishDelay,omitempty" name:"BatchingMaxPublishDelay"` // 每一个batch中最大允许的消息的大小,默认:128KB BatchingMaxBytes *int64 `json:"BatchingMaxBytes,omitempty" name:"BatchingMaxBytes"` }
func NewSendBatchMessagesRequest ¶
func NewSendBatchMessagesRequest() (request *SendBatchMessagesRequest)
func (*SendBatchMessagesRequest) FromJsonString ¶
func (r *SendBatchMessagesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendBatchMessagesRequest) ToJsonString ¶
func (r *SendBatchMessagesRequest) ToJsonString() string
type SendBatchMessagesResponse ¶
type SendBatchMessagesResponse struct { *tchttp.BaseResponse Response *struct { // 消息的唯一标识 // 注意:此字段可能返回 null,表示取不到有效值。 MessageId *string `json:"MessageId,omitempty" name:"MessageId"` // 错误消息,返回为 "",代表没有错误 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitempty" name:"ErrorMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSendBatchMessagesResponse ¶
func NewSendBatchMessagesResponse() (response *SendBatchMessagesResponse)
func (*SendBatchMessagesResponse) FromJsonString ¶
func (r *SendBatchMessagesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendBatchMessagesResponse) ToJsonString ¶
func (r *SendBatchMessagesResponse) ToJsonString() string
type SendMessagesRequest ¶
type SendMessagesRequest struct { *tchttp.BaseRequest // Token 是用来做鉴权使用的 StringToken *string `json:"StringToken,omitempty" name:"StringToken"` // 消息要发送的topic的名字 Topic *string `json:"Topic,omitempty" name:"Topic"` // 要发送的消息的内容 Payload *string `json:"Payload,omitempty" name:"Payload"` // 设置 producer 的名字,要求全局唯一,用户不配置,系统会随机生成 ProducerName *string `json:"ProducerName,omitempty" name:"ProducerName"` // 设置消息发送的超时时间,默认为30s SendTimeout *int64 `json:"SendTimeout,omitempty" name:"SendTimeout"` // 内存中缓存的最大的生产消息的数量,默认为1000条 MaxPendingMessages *int64 `json:"MaxPendingMessages,omitempty" name:"MaxPendingMessages"` }
func NewSendMessagesRequest ¶
func NewSendMessagesRequest() (request *SendMessagesRequest)
func (*SendMessagesRequest) FromJsonString ¶
func (r *SendMessagesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendMessagesRequest) ToJsonString ¶
func (r *SendMessagesRequest) ToJsonString() string
type SendMessagesResponse ¶
type SendMessagesResponse struct { *tchttp.BaseResponse Response *struct { // 消息的messageID, 是全局唯一的,用来标识消息的元数据信息 // 注意:此字段可能返回 null,表示取不到有效值。 MessageId *string `json:"MessageId,omitempty" name:"MessageId"` // 返回的错误消息,如果返回为 “”,说明没有错误 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitempty" name:"ErrorMsg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSendMessagesResponse ¶
func NewSendMessagesResponse() (response *SendMessagesResponse)
func (*SendMessagesResponse) FromJsonString ¶
func (r *SendMessagesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendMessagesResponse) ToJsonString ¶
func (r *SendMessagesResponse) ToJsonString() string
type Subscription ¶
type Subscription struct { // 主题名称。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 环境(命名空间)名称。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 消费者开始连接的时间。 // 注意:此字段可能返回 null,表示取不到有效值。 ConnectedSince *string `json:"ConnectedSince,omitempty" name:"ConnectedSince"` // 消费者地址。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerAddr *string `json:"ConsumerAddr,omitempty" name:"ConsumerAddr"` // 消费者数量。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerCount *string `json:"ConsumerCount,omitempty" name:"ConsumerCount"` // 消费者名称。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerName *string `json:"ConsumerName,omitempty" name:"ConsumerName"` // 堆积的消息数量。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgBacklog *string `json:"MsgBacklog,omitempty" name:"MsgBacklog"` // 于TTL,此订阅下没有被发送而是被丢弃的比例。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgRateExpired *string `json:"MsgRateExpired,omitempty" name:"MsgRateExpired"` // 消费者每秒分发消息的数量之和。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgRateOut *string `json:"MsgRateOut,omitempty" name:"MsgRateOut"` // 消费者每秒消息的byte。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgThroughputOut *string `json:"MsgThroughputOut,omitempty" name:"MsgThroughputOut"` // 订阅名称。 // 注意:此字段可能返回 null,表示取不到有效值。 SubscriptionName *string `json:"SubscriptionName,omitempty" name:"SubscriptionName"` // 消费者集合。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerSets []*Consumer `json:"ConsumerSets,omitempty" name:"ConsumerSets" list` // 是否在线。 // 注意:此字段可能返回 null,表示取不到有效值。 IsOnline *bool `json:"IsOnline,omitempty" name:"IsOnline"` // 消费进度集合。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumersScheduleSets []*ConsumersSchedule `json:"ConsumersScheduleSets,omitempty" name:"ConsumersScheduleSets" list` // 备注。 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 最近修改时间。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type SubscriptionTopic ¶
type Topic ¶
type Topic struct { // 最后一次间隔内发布消息的平均byte大小。 // 注意:此字段可能返回 null,表示取不到有效值。 AverageMsgSize *string `json:"AverageMsgSize,omitempty" name:"AverageMsgSize"` // 消费者数量。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerCount *string `json:"ConsumerCount,omitempty" name:"ConsumerCount"` // 被记录下来的消息总数。 // 注意:此字段可能返回 null,表示取不到有效值。 LastConfirmedEntry *string `json:"LastConfirmedEntry,omitempty" name:"LastConfirmedEntry"` // 最后一个ledger创建的时间。 // 注意:此字段可能返回 null,表示取不到有效值。 LastLedgerCreatedTimestamp *string `json:"LastLedgerCreatedTimestamp,omitempty" name:"LastLedgerCreatedTimestamp"` // 本地和复制的发布者每秒发布消息的速率。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgRateIn *string `json:"MsgRateIn,omitempty" name:"MsgRateIn"` // 本地和复制的消费者每秒分发消息的数量之和。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgRateOut *string `json:"MsgRateOut,omitempty" name:"MsgRateOut"` // 本地和复制的发布者每秒发布消息的byte。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgThroughputIn *string `json:"MsgThroughputIn,omitempty" name:"MsgThroughputIn"` // 本地和复制的消费者每秒分发消息的byte。 // 注意:此字段可能返回 null,表示取不到有效值。 MsgThroughputOut *string `json:"MsgThroughputOut,omitempty" name:"MsgThroughputOut"` // 被记录下来的消息总数。 // 注意:此字段可能返回 null,表示取不到有效值。 NumberOfEntries *string `json:"NumberOfEntries,omitempty" name:"NumberOfEntries"` // 分区数<=0:topic下无子分区。 // 注意:此字段可能返回 null,表示取不到有效值。 Partitions *int64 `json:"Partitions,omitempty" name:"Partitions"` // 生产者数量。 // 注意:此字段可能返回 null,表示取不到有效值。 ProducerCount *string `json:"ProducerCount,omitempty" name:"ProducerCount"` // 以byte计算的所有消息存储总量。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalSize *string `json:"TotalSize,omitempty" name:"TotalSize"` // 分区topic里面的子分区。 // 注意:此字段可能返回 null,表示取不到有效值。 SubTopicSets []*PartitionsTopic `json:"SubTopicSets,omitempty" name:"SubTopicSets" list` // topic类型描述: // 0:普通消息; // 1:全局顺序消息; // 2:局部顺序消息; // 3:重试队列; // 4:死信队列; // 5:事务消息。 // 注意:此字段可能返回 null,表示取不到有效值。 TopicType *uint64 `json:"TopicType,omitempty" name:"TopicType"` // 环境(命名空间)名称。 // 注意:此字段可能返回 null,表示取不到有效值。 EnvironmentId *string `json:"EnvironmentId,omitempty" name:"EnvironmentId"` // 主题名称。 // 注意:此字段可能返回 null,表示取不到有效值。 TopicName *string `json:"TopicName,omitempty" name:"TopicName"` // 说明,128个字符以内。 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` // 创建时间。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 最近修改时间。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type TopicRecord ¶
type VpcBindRecord ¶
type VpcBindRecord struct { // 租户Vpc Id UniqueVpcId *string `json:"UniqueVpcId,omitempty" name:"UniqueVpcId"` // 租户Vpc子网Id UniqueSubnetId *string `json:"UniqueSubnetId,omitempty" name:"UniqueSubnetId"` // 路由Id RouterId *string `json:"RouterId,omitempty" name:"RouterId"` // Vpc的Id Ip *string `json:"Ip,omitempty" name:"Ip"` // Vpc的Port Port *uint64 `json:"Port,omitempty" name:"Port"` // 说明,128个字符以内 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitempty" name:"Remark"` }