Documentation
¶
Index ¶
- Constants
- type AcknowledgeMessageRequest
- type AcknowledgeMessageRequestParams
- type AcknowledgeMessageResponse
- type AcknowledgeMessageResponseParams
- type BindCluster
- type CertificateInfo
- type ClearCmqQueueRequest
- type ClearCmqQueueRequestParams
- type ClearCmqQueueResponse
- type ClearCmqQueueResponseParams
- type ClearCmqSubscriptionFilterTagsRequest
- type ClearCmqSubscriptionFilterTagsRequestParams
- type ClearCmqSubscriptionFilterTagsResponse
- type ClearCmqSubscriptionFilterTagsResponseParams
- type Client
- func (c *Client) AcknowledgeMessage(request *AcknowledgeMessageRequest) (response *AcknowledgeMessageResponse, err error)
- func (c *Client) AcknowledgeMessageWithContext(ctx context.Context, request *AcknowledgeMessageRequest) (response *AcknowledgeMessageResponse, err error)
- func (c *Client) ClearCmqQueue(request *ClearCmqQueueRequest) (response *ClearCmqQueueResponse, err error)
- func (c *Client) ClearCmqQueueWithContext(ctx context.Context, request *ClearCmqQueueRequest) (response *ClearCmqQueueResponse, err error)
- func (c *Client) ClearCmqSubscriptionFilterTags(request *ClearCmqSubscriptionFilterTagsRequest) (response *ClearCmqSubscriptionFilterTagsResponse, err error)
- func (c *Client) ClearCmqSubscriptionFilterTagsWithContext(ctx context.Context, request *ClearCmqSubscriptionFilterTagsRequest) (response *ClearCmqSubscriptionFilterTagsResponse, err error)
- func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)
- func (c *Client) CreateCmqQueue(request *CreateCmqQueueRequest) (response *CreateCmqQueueResponse, err error)
- func (c *Client) CreateCmqQueueWithContext(ctx context.Context, request *CreateCmqQueueRequest) (response *CreateCmqQueueResponse, err error)
- func (c *Client) CreateCmqSubscribe(request *CreateCmqSubscribeRequest) (response *CreateCmqSubscribeResponse, err error)
- func (c *Client) CreateCmqSubscribeWithContext(ctx context.Context, request *CreateCmqSubscribeRequest) (response *CreateCmqSubscribeResponse, err error)
- func (c *Client) CreateCmqTopic(request *CreateCmqTopicRequest) (response *CreateCmqTopicResponse, err error)
- func (c *Client) CreateCmqTopicWithContext(ctx context.Context, request *CreateCmqTopicRequest) (response *CreateCmqTopicResponse, err error)
- func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
- func (c *Client) CreateEnvironmentRole(request *CreateEnvironmentRoleRequest) (response *CreateEnvironmentRoleResponse, err error)
- func (c *Client) CreateEnvironmentRoleWithContext(ctx context.Context, request *CreateEnvironmentRoleRequest) (response *CreateEnvironmentRoleResponse, err error)
- func (c *Client) CreateEnvironmentWithContext(ctx context.Context, request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
- func (c *Client) CreateProCluster(request *CreateProClusterRequest) (response *CreateProClusterResponse, err error)
- func (c *Client) CreateProClusterWithContext(ctx context.Context, request *CreateProClusterRequest) (response *CreateProClusterResponse, err error)
- func (c *Client) CreateRabbitMQBinding(request *CreateRabbitMQBindingRequest) (response *CreateRabbitMQBindingResponse, err error)
- func (c *Client) CreateRabbitMQBindingWithContext(ctx context.Context, request *CreateRabbitMQBindingRequest) (response *CreateRabbitMQBindingResponse, err error)
- func (c *Client) CreateRabbitMQUser(request *CreateRabbitMQUserRequest) (response *CreateRabbitMQUserResponse, err error)
- func (c *Client) CreateRabbitMQUserWithContext(ctx context.Context, request *CreateRabbitMQUserRequest) (response *CreateRabbitMQUserResponse, err error)
- func (c *Client) CreateRabbitMQVipInstance(request *CreateRabbitMQVipInstanceRequest) (response *CreateRabbitMQVipInstanceResponse, err error)
- func (c *Client) CreateRabbitMQVipInstanceWithContext(ctx context.Context, request *CreateRabbitMQVipInstanceRequest) (response *CreateRabbitMQVipInstanceResponse, err error)
- func (c *Client) CreateRabbitMQVirtualHost(request *CreateRabbitMQVirtualHostRequest) (response *CreateRabbitMQVirtualHostResponse, err error)
- func (c *Client) CreateRabbitMQVirtualHostWithContext(ctx context.Context, request *CreateRabbitMQVirtualHostRequest) (response *CreateRabbitMQVirtualHostResponse, err error)
- func (c *Client) CreateRocketMQCluster(request *CreateRocketMQClusterRequest) (response *CreateRocketMQClusterResponse, err error)
- func (c *Client) CreateRocketMQClusterWithContext(ctx context.Context, request *CreateRocketMQClusterRequest) (response *CreateRocketMQClusterResponse, err error)
- func (c *Client) CreateRocketMQEnvironmentRole(request *CreateRocketMQEnvironmentRoleRequest) (response *CreateRocketMQEnvironmentRoleResponse, err error)
- func (c *Client) CreateRocketMQEnvironmentRoleWithContext(ctx context.Context, request *CreateRocketMQEnvironmentRoleRequest) (response *CreateRocketMQEnvironmentRoleResponse, err error)
- func (c *Client) CreateRocketMQGroup(request *CreateRocketMQGroupRequest) (response *CreateRocketMQGroupResponse, err error)
- func (c *Client) CreateRocketMQGroupWithContext(ctx context.Context, request *CreateRocketMQGroupRequest) (response *CreateRocketMQGroupResponse, err error)
- func (c *Client) CreateRocketMQNamespace(request *CreateRocketMQNamespaceRequest) (response *CreateRocketMQNamespaceResponse, err error)
- func (c *Client) CreateRocketMQNamespaceWithContext(ctx context.Context, request *CreateRocketMQNamespaceRequest) (response *CreateRocketMQNamespaceResponse, err error)
- func (c *Client) CreateRocketMQRole(request *CreateRocketMQRoleRequest) (response *CreateRocketMQRoleResponse, err error)
- func (c *Client) CreateRocketMQRoleWithContext(ctx context.Context, request *CreateRocketMQRoleRequest) (response *CreateRocketMQRoleResponse, err error)
- func (c *Client) CreateRocketMQTopic(request *CreateRocketMQTopicRequest) (response *CreateRocketMQTopicResponse, err error)
- func (c *Client) CreateRocketMQTopicWithContext(ctx context.Context, request *CreateRocketMQTopicRequest) (response *CreateRocketMQTopicResponse, err error)
- func (c *Client) CreateRocketMQVipInstance(request *CreateRocketMQVipInstanceRequest) (response *CreateRocketMQVipInstanceResponse, err error)
- func (c *Client) CreateRocketMQVipInstanceWithContext(ctx context.Context, request *CreateRocketMQVipInstanceRequest) (response *CreateRocketMQVipInstanceResponse, err error)
- func (c *Client) CreateRole(request *CreateRoleRequest) (response *CreateRoleResponse, err error)
- func (c *Client) CreateRoleWithContext(ctx context.Context, request *CreateRoleRequest) (response *CreateRoleResponse, err error)
- func (c *Client) CreateSubscription(request *CreateSubscriptionRequest) (response *CreateSubscriptionResponse, err error)
- func (c *Client) CreateSubscriptionWithContext(ctx context.Context, request *CreateSubscriptionRequest) (response *CreateSubscriptionResponse, err error)
- func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
- func (c *Client) DeleteCmqQueue(request *DeleteCmqQueueRequest) (response *DeleteCmqQueueResponse, err error)
- func (c *Client) DeleteCmqQueueWithContext(ctx context.Context, request *DeleteCmqQueueRequest) (response *DeleteCmqQueueResponse, err error)
- func (c *Client) DeleteCmqSubscribe(request *DeleteCmqSubscribeRequest) (response *DeleteCmqSubscribeResponse, err error)
- func (c *Client) DeleteCmqSubscribeWithContext(ctx context.Context, request *DeleteCmqSubscribeRequest) (response *DeleteCmqSubscribeResponse, err error)
- func (c *Client) DeleteCmqTopic(request *DeleteCmqTopicRequest) (response *DeleteCmqTopicResponse, err error)
- func (c *Client) DeleteCmqTopicWithContext(ctx context.Context, request *DeleteCmqTopicRequest) (response *DeleteCmqTopicResponse, err error)
- func (c *Client) DeleteEnvironmentRoles(request *DeleteEnvironmentRolesRequest) (response *DeleteEnvironmentRolesResponse, err error)
- func (c *Client) DeleteEnvironmentRolesWithContext(ctx context.Context, request *DeleteEnvironmentRolesRequest) (response *DeleteEnvironmentRolesResponse, err error)
- func (c *Client) DeleteEnvironments(request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
- func (c *Client) DeleteEnvironmentsWithContext(ctx context.Context, request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
- func (c *Client) DeleteProCluster(request *DeleteProClusterRequest) (response *DeleteProClusterResponse, err error)
- func (c *Client) DeleteProClusterWithContext(ctx context.Context, request *DeleteProClusterRequest) (response *DeleteProClusterResponse, err error)
- func (c *Client) DeleteRabbitMQBinding(request *DeleteRabbitMQBindingRequest) (response *DeleteRabbitMQBindingResponse, err error)
- func (c *Client) DeleteRabbitMQBindingWithContext(ctx context.Context, request *DeleteRabbitMQBindingRequest) (response *DeleteRabbitMQBindingResponse, err error)
- func (c *Client) DeleteRabbitMQPermission(request *DeleteRabbitMQPermissionRequest) (response *DeleteRabbitMQPermissionResponse, err error)
- func (c *Client) DeleteRabbitMQPermissionWithContext(ctx context.Context, request *DeleteRabbitMQPermissionRequest) (response *DeleteRabbitMQPermissionResponse, err error)
- func (c *Client) DeleteRabbitMQUser(request *DeleteRabbitMQUserRequest) (response *DeleteRabbitMQUserResponse, err error)
- func (c *Client) DeleteRabbitMQUserWithContext(ctx context.Context, request *DeleteRabbitMQUserRequest) (response *DeleteRabbitMQUserResponse, err error)
- func (c *Client) DeleteRabbitMQVipInstance(request *DeleteRabbitMQVipInstanceRequest) (response *DeleteRabbitMQVipInstanceResponse, err error)
- func (c *Client) DeleteRabbitMQVipInstanceWithContext(ctx context.Context, request *DeleteRabbitMQVipInstanceRequest) (response *DeleteRabbitMQVipInstanceResponse, err error)
- func (c *Client) DeleteRabbitMQVirtualHost(request *DeleteRabbitMQVirtualHostRequest) (response *DeleteRabbitMQVirtualHostResponse, err error)
- func (c *Client) DeleteRabbitMQVirtualHostWithContext(ctx context.Context, request *DeleteRabbitMQVirtualHostRequest) (response *DeleteRabbitMQVirtualHostResponse, err error)
- func (c *Client) DeleteRocketMQCluster(request *DeleteRocketMQClusterRequest) (response *DeleteRocketMQClusterResponse, err error)
- func (c *Client) DeleteRocketMQClusterWithContext(ctx context.Context, request *DeleteRocketMQClusterRequest) (response *DeleteRocketMQClusterResponse, err error)
- func (c *Client) DeleteRocketMQEnvironmentRoles(request *DeleteRocketMQEnvironmentRolesRequest) (response *DeleteRocketMQEnvironmentRolesResponse, err error)
- func (c *Client) DeleteRocketMQEnvironmentRolesWithContext(ctx context.Context, request *DeleteRocketMQEnvironmentRolesRequest) (response *DeleteRocketMQEnvironmentRolesResponse, err error)
- func (c *Client) DeleteRocketMQGroup(request *DeleteRocketMQGroupRequest) (response *DeleteRocketMQGroupResponse, err error)
- func (c *Client) DeleteRocketMQGroupWithContext(ctx context.Context, request *DeleteRocketMQGroupRequest) (response *DeleteRocketMQGroupResponse, err error)
- func (c *Client) DeleteRocketMQNamespace(request *DeleteRocketMQNamespaceRequest) (response *DeleteRocketMQNamespaceResponse, err error)
- func (c *Client) DeleteRocketMQNamespaceWithContext(ctx context.Context, request *DeleteRocketMQNamespaceRequest) (response *DeleteRocketMQNamespaceResponse, err error)
- func (c *Client) DeleteRocketMQRoles(request *DeleteRocketMQRolesRequest) (response *DeleteRocketMQRolesResponse, err error)
- func (c *Client) DeleteRocketMQRolesWithContext(ctx context.Context, request *DeleteRocketMQRolesRequest) (response *DeleteRocketMQRolesResponse, err error)
- func (c *Client) DeleteRocketMQTopic(request *DeleteRocketMQTopicRequest) (response *DeleteRocketMQTopicResponse, err error)
- func (c *Client) DeleteRocketMQTopicWithContext(ctx context.Context, request *DeleteRocketMQTopicRequest) (response *DeleteRocketMQTopicResponse, err error)
- func (c *Client) DeleteRocketMQVipInstance(request *DeleteRocketMQVipInstanceRequest) (response *DeleteRocketMQVipInstanceResponse, err error)
- func (c *Client) DeleteRocketMQVipInstanceWithContext(ctx context.Context, request *DeleteRocketMQVipInstanceRequest) (response *DeleteRocketMQVipInstanceResponse, err error)
- func (c *Client) DeleteRoles(request *DeleteRolesRequest) (response *DeleteRolesResponse, err error)
- func (c *Client) DeleteRolesWithContext(ctx context.Context, request *DeleteRolesRequest) (response *DeleteRolesResponse, err error)
- func (c *Client) DeleteSubscriptions(request *DeleteSubscriptionsRequest) (response *DeleteSubscriptionsResponse, err error)
- func (c *Client) DeleteSubscriptionsWithContext(ctx context.Context, request *DeleteSubscriptionsRequest) (response *DeleteSubscriptionsResponse, err error)
- func (c *Client) DeleteTopics(request *DeleteTopicsRequest) (response *DeleteTopicsResponse, err error)
- func (c *Client) DeleteTopicsWithContext(ctx context.Context, request *DeleteTopicsRequest) (response *DeleteTopicsResponse, err error)
- func (c *Client) DescribeBindClusters(request *DescribeBindClustersRequest) (response *DescribeBindClustersResponse, err error)
- func (c *Client) DescribeBindClustersWithContext(ctx context.Context, request *DescribeBindClustersRequest) (response *DescribeBindClustersResponse, err error)
- func (c *Client) DescribeBindVpcs(request *DescribeBindVpcsRequest) (response *DescribeBindVpcsResponse, err error)
- func (c *Client) DescribeBindVpcsWithContext(ctx context.Context, request *DescribeBindVpcsRequest) (response *DescribeBindVpcsResponse, err error)
- func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (c *Client) DescribeClusterDetailWithContext(ctx context.Context, request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
- func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
- func (c *Client) DescribeCmqQueueDetail(request *DescribeCmqQueueDetailRequest) (response *DescribeCmqQueueDetailResponse, err error)
- func (c *Client) DescribeCmqQueueDetailWithContext(ctx context.Context, request *DescribeCmqQueueDetailRequest) (response *DescribeCmqQueueDetailResponse, err error)
- func (c *Client) DescribeCmqQueues(request *DescribeCmqQueuesRequest) (response *DescribeCmqQueuesResponse, err error)
- func (c *Client) DescribeCmqQueuesWithContext(ctx context.Context, request *DescribeCmqQueuesRequest) (response *DescribeCmqQueuesResponse, err error)
- func (c *Client) DescribeCmqSubscriptionDetail(request *DescribeCmqSubscriptionDetailRequest) (response *DescribeCmqSubscriptionDetailResponse, err error)
- func (c *Client) DescribeCmqSubscriptionDetailWithContext(ctx context.Context, request *DescribeCmqSubscriptionDetailRequest) (response *DescribeCmqSubscriptionDetailResponse, err error)
- func (c *Client) DescribeCmqTopicDetail(request *DescribeCmqTopicDetailRequest) (response *DescribeCmqTopicDetailResponse, err error)
- func (c *Client) DescribeCmqTopicDetailWithContext(ctx context.Context, request *DescribeCmqTopicDetailRequest) (response *DescribeCmqTopicDetailResponse, err error)
- func (c *Client) DescribeCmqTopics(request *DescribeCmqTopicsRequest) (response *DescribeCmqTopicsResponse, err error)
- func (c *Client) DescribeCmqTopicsWithContext(ctx context.Context, request *DescribeCmqTopicsRequest) (response *DescribeCmqTopicsResponse, err error)
- func (c *Client) DescribeEnvironmentAttributes(request *DescribeEnvironmentAttributesRequest) (response *DescribeEnvironmentAttributesResponse, err error)
- func (c *Client) DescribeEnvironmentAttributesWithContext(ctx context.Context, request *DescribeEnvironmentAttributesRequest) (response *DescribeEnvironmentAttributesResponse, err error)
- func (c *Client) DescribeEnvironmentRoles(request *DescribeEnvironmentRolesRequest) (response *DescribeEnvironmentRolesResponse, err error)
- func (c *Client) DescribeEnvironmentRolesWithContext(ctx context.Context, request *DescribeEnvironmentRolesRequest) (response *DescribeEnvironmentRolesResponse, err error)
- func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeMqMsgTrace(request *DescribeMqMsgTraceRequest) (response *DescribeMqMsgTraceResponse, err error)
- func (c *Client) DescribeMqMsgTraceWithContext(ctx context.Context, request *DescribeMqMsgTraceRequest) (response *DescribeMqMsgTraceResponse, err error)
- func (c *Client) DescribeMsg(request *DescribeMsgRequest) (response *DescribeMsgResponse, err error)
- func (c *Client) DescribeMsgTrace(request *DescribeMsgTraceRequest) (response *DescribeMsgTraceResponse, err error)
- func (c *Client) DescribeMsgTraceWithContext(ctx context.Context, request *DescribeMsgTraceRequest) (response *DescribeMsgTraceResponse, err error)
- func (c *Client) DescribeMsgWithContext(ctx context.Context, request *DescribeMsgRequest) (response *DescribeMsgResponse, err error)
- func (c *Client) DescribePublisherSummary(request *DescribePublisherSummaryRequest) (response *DescribePublisherSummaryResponse, err error)
- func (c *Client) DescribePublisherSummaryWithContext(ctx context.Context, request *DescribePublisherSummaryRequest) (response *DescribePublisherSummaryResponse, err error)
- func (c *Client) DescribePublishers(request *DescribePublishersRequest) (response *DescribePublishersResponse, err error)
- func (c *Client) DescribePublishersWithContext(ctx context.Context, request *DescribePublishersRequest) (response *DescribePublishersResponse, err error)
- func (c *Client) DescribePulsarProInstanceDetail(request *DescribePulsarProInstanceDetailRequest) (response *DescribePulsarProInstanceDetailResponse, err error)
- func (c *Client) DescribePulsarProInstanceDetailWithContext(ctx context.Context, request *DescribePulsarProInstanceDetailRequest) (response *DescribePulsarProInstanceDetailResponse, err error)
- func (c *Client) DescribePulsarProInstances(request *DescribePulsarProInstancesRequest) (response *DescribePulsarProInstancesResponse, err error)
- func (c *Client) DescribePulsarProInstancesWithContext(ctx context.Context, request *DescribePulsarProInstancesRequest) (response *DescribePulsarProInstancesResponse, err error)
- func (c *Client) DescribeRabbitMQBindings(request *DescribeRabbitMQBindingsRequest) (response *DescribeRabbitMQBindingsResponse, err error)
- func (c *Client) DescribeRabbitMQBindingsWithContext(ctx context.Context, request *DescribeRabbitMQBindingsRequest) (response *DescribeRabbitMQBindingsResponse, err error)
- func (c *Client) DescribeRabbitMQExchanges(request *DescribeRabbitMQExchangesRequest) (response *DescribeRabbitMQExchangesResponse, err error)
- func (c *Client) DescribeRabbitMQExchangesWithContext(ctx context.Context, request *DescribeRabbitMQExchangesRequest) (response *DescribeRabbitMQExchangesResponse, err error)
- func (c *Client) DescribeRabbitMQNodeList(request *DescribeRabbitMQNodeListRequest) (response *DescribeRabbitMQNodeListResponse, err error)
- func (c *Client) DescribeRabbitMQNodeListWithContext(ctx context.Context, request *DescribeRabbitMQNodeListRequest) (response *DescribeRabbitMQNodeListResponse, err error)
- func (c *Client) DescribeRabbitMQPermission(request *DescribeRabbitMQPermissionRequest) (response *DescribeRabbitMQPermissionResponse, err error)
- func (c *Client) DescribeRabbitMQPermissionWithContext(ctx context.Context, request *DescribeRabbitMQPermissionRequest) (response *DescribeRabbitMQPermissionResponse, err error)
- func (c *Client) DescribeRabbitMQQueueDetail(request *DescribeRabbitMQQueueDetailRequest) (response *DescribeRabbitMQQueueDetailResponse, err error)
- func (c *Client) DescribeRabbitMQQueueDetailWithContext(ctx context.Context, request *DescribeRabbitMQQueueDetailRequest) (response *DescribeRabbitMQQueueDetailResponse, err error)
- func (c *Client) DescribeRabbitMQQueues(request *DescribeRabbitMQQueuesRequest) (response *DescribeRabbitMQQueuesResponse, err error)
- func (c *Client) DescribeRabbitMQQueuesWithContext(ctx context.Context, request *DescribeRabbitMQQueuesRequest) (response *DescribeRabbitMQQueuesResponse, err error)
- func (c *Client) DescribeRabbitMQUser(request *DescribeRabbitMQUserRequest) (response *DescribeRabbitMQUserResponse, err error)
- func (c *Client) DescribeRabbitMQUserWithContext(ctx context.Context, request *DescribeRabbitMQUserRequest) (response *DescribeRabbitMQUserResponse, err error)
- func (c *Client) DescribeRabbitMQVipInstance(request *DescribeRabbitMQVipInstanceRequest) (response *DescribeRabbitMQVipInstanceResponse, err error)
- func (c *Client) DescribeRabbitMQVipInstanceWithContext(ctx context.Context, request *DescribeRabbitMQVipInstanceRequest) (response *DescribeRabbitMQVipInstanceResponse, err error)
- func (c *Client) DescribeRabbitMQVipInstances(request *DescribeRabbitMQVipInstancesRequest) (response *DescribeRabbitMQVipInstancesResponse, err error)
- func (c *Client) DescribeRabbitMQVipInstancesWithContext(ctx context.Context, request *DescribeRabbitMQVipInstancesRequest) (response *DescribeRabbitMQVipInstancesResponse, err error)
- func (c *Client) DescribeRabbitMQVirtualHost(request *DescribeRabbitMQVirtualHostRequest) (response *DescribeRabbitMQVirtualHostResponse, err error)
- func (c *Client) DescribeRabbitMQVirtualHostWithContext(ctx context.Context, request *DescribeRabbitMQVirtualHostRequest) (response *DescribeRabbitMQVirtualHostResponse, err error)
- func (c *Client) DescribeRocketMQCluster(request *DescribeRocketMQClusterRequest) (response *DescribeRocketMQClusterResponse, err error)
- func (c *Client) DescribeRocketMQClusterWithContext(ctx context.Context, request *DescribeRocketMQClusterRequest) (response *DescribeRocketMQClusterResponse, err error)
- func (c *Client) DescribeRocketMQClusters(request *DescribeRocketMQClustersRequest) (response *DescribeRocketMQClustersResponse, err error)
- func (c *Client) DescribeRocketMQClustersWithContext(ctx context.Context, request *DescribeRocketMQClustersRequest) (response *DescribeRocketMQClustersResponse, err error)
- func (c *Client) DescribeRocketMQEnvironmentRoles(request *DescribeRocketMQEnvironmentRolesRequest) (response *DescribeRocketMQEnvironmentRolesResponse, err error)
- func (c *Client) DescribeRocketMQEnvironmentRolesWithContext(ctx context.Context, request *DescribeRocketMQEnvironmentRolesRequest) (response *DescribeRocketMQEnvironmentRolesResponse, err error)
- func (c *Client) DescribeRocketMQGroups(request *DescribeRocketMQGroupsRequest) (response *DescribeRocketMQGroupsResponse, err error)
- func (c *Client) DescribeRocketMQGroupsWithContext(ctx context.Context, request *DescribeRocketMQGroupsRequest) (response *DescribeRocketMQGroupsResponse, err error)
- func (c *Client) DescribeRocketMQMsg(request *DescribeRocketMQMsgRequest) (response *DescribeRocketMQMsgResponse, err error)
- func (c *Client) DescribeRocketMQMsgTrace(request *DescribeRocketMQMsgTraceRequest) (response *DescribeRocketMQMsgTraceResponse, err error)
- func (c *Client) DescribeRocketMQMsgTraceWithContext(ctx context.Context, request *DescribeRocketMQMsgTraceRequest) (response *DescribeRocketMQMsgTraceResponse, err error)
- func (c *Client) DescribeRocketMQMsgWithContext(ctx context.Context, request *DescribeRocketMQMsgRequest) (response *DescribeRocketMQMsgResponse, err error)
- func (c *Client) DescribeRocketMQNamespaces(request *DescribeRocketMQNamespacesRequest) (response *DescribeRocketMQNamespacesResponse, err error)
- func (c *Client) DescribeRocketMQNamespacesWithContext(ctx context.Context, request *DescribeRocketMQNamespacesRequest) (response *DescribeRocketMQNamespacesResponse, err error)
- func (c *Client) DescribeRocketMQProducers(request *DescribeRocketMQProducersRequest) (response *DescribeRocketMQProducersResponse, err error)
- func (c *Client) DescribeRocketMQProducersWithContext(ctx context.Context, request *DescribeRocketMQProducersRequest) (response *DescribeRocketMQProducersResponse, err error)
- func (c *Client) DescribeRocketMQPublicAccessMonitorData(request *DescribeRocketMQPublicAccessMonitorDataRequest) (response *DescribeRocketMQPublicAccessMonitorDataResponse, err error)
- func (c *Client) DescribeRocketMQPublicAccessMonitorDataWithContext(ctx context.Context, request *DescribeRocketMQPublicAccessMonitorDataRequest) (response *DescribeRocketMQPublicAccessMonitorDataResponse, err error)
- func (c *Client) DescribeRocketMQPublicAccessPoint(request *DescribeRocketMQPublicAccessPointRequest) (response *DescribeRocketMQPublicAccessPointResponse, err error)
- func (c *Client) DescribeRocketMQPublicAccessPointWithContext(ctx context.Context, request *DescribeRocketMQPublicAccessPointRequest) (response *DescribeRocketMQPublicAccessPointResponse, err error)
- func (c *Client) DescribeRocketMQRoles(request *DescribeRocketMQRolesRequest) (response *DescribeRocketMQRolesResponse, err error)
- func (c *Client) DescribeRocketMQRolesWithContext(ctx context.Context, request *DescribeRocketMQRolesRequest) (response *DescribeRocketMQRolesResponse, err error)
- func (c *Client) DescribeRocketMQTopUsages(request *DescribeRocketMQTopUsagesRequest) (response *DescribeRocketMQTopUsagesResponse, err error)
- func (c *Client) DescribeRocketMQTopUsagesWithContext(ctx context.Context, request *DescribeRocketMQTopUsagesRequest) (response *DescribeRocketMQTopUsagesResponse, err error)
- func (c *Client) DescribeRocketMQTopic(request *DescribeRocketMQTopicRequest) (response *DescribeRocketMQTopicResponse, err error)
- func (c *Client) DescribeRocketMQTopicMsgs(request *DescribeRocketMQTopicMsgsRequest) (response *DescribeRocketMQTopicMsgsResponse, err error)
- func (c *Client) DescribeRocketMQTopicMsgsWithContext(ctx context.Context, request *DescribeRocketMQTopicMsgsRequest) (response *DescribeRocketMQTopicMsgsResponse, err error)
- func (c *Client) DescribeRocketMQTopicStats(request *DescribeRocketMQTopicStatsRequest) (response *DescribeRocketMQTopicStatsResponse, err error)
- func (c *Client) DescribeRocketMQTopicStatsWithContext(ctx context.Context, request *DescribeRocketMQTopicStatsRequest) (response *DescribeRocketMQTopicStatsResponse, err error)
- func (c *Client) DescribeRocketMQTopicWithContext(ctx context.Context, request *DescribeRocketMQTopicRequest) (response *DescribeRocketMQTopicResponse, err error)
- func (c *Client) DescribeRocketMQTopics(request *DescribeRocketMQTopicsRequest) (response *DescribeRocketMQTopicsResponse, err error)
- func (c *Client) DescribeRocketMQTopicsByGroup(request *DescribeRocketMQTopicsByGroupRequest) (response *DescribeRocketMQTopicsByGroupResponse, err error)
- func (c *Client) DescribeRocketMQTopicsByGroupWithContext(ctx context.Context, request *DescribeRocketMQTopicsByGroupRequest) (response *DescribeRocketMQTopicsByGroupResponse, err error)
- func (c *Client) DescribeRocketMQTopicsWithContext(ctx context.Context, request *DescribeRocketMQTopicsRequest) (response *DescribeRocketMQTopicsResponse, err error)
- func (c *Client) DescribeRocketMQVipInstanceDetail(request *DescribeRocketMQVipInstanceDetailRequest) (response *DescribeRocketMQVipInstanceDetailResponse, err error)
- func (c *Client) DescribeRocketMQVipInstanceDetailWithContext(ctx context.Context, request *DescribeRocketMQVipInstanceDetailRequest) (response *DescribeRocketMQVipInstanceDetailResponse, err error)
- func (c *Client) DescribeRocketMQVipInstances(request *DescribeRocketMQVipInstancesRequest) (response *DescribeRocketMQVipInstancesResponse, err error)
- func (c *Client) DescribeRocketMQVipInstancesWithContext(ctx context.Context, request *DescribeRocketMQVipInstancesRequest) (response *DescribeRocketMQVipInstancesResponse, err error)
- func (c *Client) DescribeRoles(request *DescribeRolesRequest) (response *DescribeRolesResponse, err error)
- func (c *Client) DescribeRolesWithContext(ctx context.Context, request *DescribeRolesRequest) (response *DescribeRolesResponse, err error)
- func (c *Client) DescribeSubscriptions(request *DescribeSubscriptionsRequest) (response *DescribeSubscriptionsResponse, err error)
- func (c *Client) DescribeSubscriptionsWithContext(ctx context.Context, request *DescribeSubscriptionsRequest) (response *DescribeSubscriptionsResponse, err error)
- func (c *Client) DescribeTopicMsgs(request *DescribeTopicMsgsRequest) (response *DescribeTopicMsgsResponse, err error)
- func (c *Client) DescribeTopicMsgsWithContext(ctx context.Context, request *DescribeTopicMsgsRequest) (response *DescribeTopicMsgsResponse, err error)
- func (c *Client) DescribeTopics(request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
- func (c *Client) DescribeTopicsWithContext(ctx context.Context, request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
- func (c *Client) ExportRocketMQMessageDetail(request *ExportRocketMQMessageDetailRequest) (response *ExportRocketMQMessageDetailResponse, err error)
- func (c *Client) ExportRocketMQMessageDetailWithContext(ctx context.Context, request *ExportRocketMQMessageDetailRequest) (response *ExportRocketMQMessageDetailResponse, err error)
- func (c *Client) ModifyCluster(request *ModifyClusterRequest) (response *ModifyClusterResponse, err error)
- func (c *Client) ModifyClusterWithContext(ctx context.Context, request *ModifyClusterRequest) (response *ModifyClusterResponse, err error)
- func (c *Client) ModifyCmqQueueAttribute(request *ModifyCmqQueueAttributeRequest) (response *ModifyCmqQueueAttributeResponse, err error)
- func (c *Client) ModifyCmqQueueAttributeWithContext(ctx context.Context, request *ModifyCmqQueueAttributeRequest) (response *ModifyCmqQueueAttributeResponse, err error)
- func (c *Client) ModifyCmqSubscriptionAttribute(request *ModifyCmqSubscriptionAttributeRequest) (response *ModifyCmqSubscriptionAttributeResponse, err error)
- func (c *Client) ModifyCmqSubscriptionAttributeWithContext(ctx context.Context, request *ModifyCmqSubscriptionAttributeRequest) (response *ModifyCmqSubscriptionAttributeResponse, err error)
- func (c *Client) ModifyCmqTopicAttribute(request *ModifyCmqTopicAttributeRequest) (response *ModifyCmqTopicAttributeResponse, err error)
- func (c *Client) ModifyCmqTopicAttributeWithContext(ctx context.Context, request *ModifyCmqTopicAttributeRequest) (response *ModifyCmqTopicAttributeResponse, err error)
- func (c *Client) ModifyEnvironmentAttributes(request *ModifyEnvironmentAttributesRequest) (response *ModifyEnvironmentAttributesResponse, err error)
- func (c *Client) ModifyEnvironmentAttributesWithContext(ctx context.Context, request *ModifyEnvironmentAttributesRequest) (response *ModifyEnvironmentAttributesResponse, err error)
- func (c *Client) ModifyEnvironmentRole(request *ModifyEnvironmentRoleRequest) (response *ModifyEnvironmentRoleResponse, err error)
- func (c *Client) ModifyEnvironmentRoleWithContext(ctx context.Context, request *ModifyEnvironmentRoleRequest) (response *ModifyEnvironmentRoleResponse, err error)
- func (c *Client) ModifyPublicNetworkSecurityPolicy(request *ModifyPublicNetworkSecurityPolicyRequest) (response *ModifyPublicNetworkSecurityPolicyResponse, err error)
- func (c *Client) ModifyPublicNetworkSecurityPolicyWithContext(ctx context.Context, request *ModifyPublicNetworkSecurityPolicyRequest) (response *ModifyPublicNetworkSecurityPolicyResponse, err error)
- func (c *Client) ModifyRabbitMQPermission(request *ModifyRabbitMQPermissionRequest) (response *ModifyRabbitMQPermissionResponse, err error)
- func (c *Client) ModifyRabbitMQPermissionWithContext(ctx context.Context, request *ModifyRabbitMQPermissionRequest) (response *ModifyRabbitMQPermissionResponse, err error)
- func (c *Client) ModifyRabbitMQUser(request *ModifyRabbitMQUserRequest) (response *ModifyRabbitMQUserResponse, err error)
- func (c *Client) ModifyRabbitMQUserWithContext(ctx context.Context, request *ModifyRabbitMQUserRequest) (response *ModifyRabbitMQUserResponse, err error)
- func (c *Client) ModifyRabbitMQVirtualHost(request *ModifyRabbitMQVirtualHostRequest) (response *ModifyRabbitMQVirtualHostResponse, err error)
- func (c *Client) ModifyRabbitMQVirtualHostWithContext(ctx context.Context, request *ModifyRabbitMQVirtualHostRequest) (response *ModifyRabbitMQVirtualHostResponse, err error)
- func (c *Client) ModifyRocketMQCluster(request *ModifyRocketMQClusterRequest) (response *ModifyRocketMQClusterResponse, err error)
- func (c *Client) ModifyRocketMQClusterWithContext(ctx context.Context, request *ModifyRocketMQClusterRequest) (response *ModifyRocketMQClusterResponse, err error)
- func (c *Client) ModifyRocketMQEnvironmentRole(request *ModifyRocketMQEnvironmentRoleRequest) (response *ModifyRocketMQEnvironmentRoleResponse, err error)
- func (c *Client) ModifyRocketMQEnvironmentRoleWithContext(ctx context.Context, request *ModifyRocketMQEnvironmentRoleRequest) (response *ModifyRocketMQEnvironmentRoleResponse, err error)
- func (c *Client) ModifyRocketMQGroup(request *ModifyRocketMQGroupRequest) (response *ModifyRocketMQGroupResponse, err error)
- func (c *Client) ModifyRocketMQGroupWithContext(ctx context.Context, request *ModifyRocketMQGroupRequest) (response *ModifyRocketMQGroupResponse, err error)
- func (c *Client) ModifyRocketMQInstance(request *ModifyRocketMQInstanceRequest) (response *ModifyRocketMQInstanceResponse, err error)
- func (c *Client) ModifyRocketMQInstanceSpec(request *ModifyRocketMQInstanceSpecRequest) (response *ModifyRocketMQInstanceSpecResponse, err error)
- func (c *Client) ModifyRocketMQInstanceSpecWithContext(ctx context.Context, request *ModifyRocketMQInstanceSpecRequest) (response *ModifyRocketMQInstanceSpecResponse, err error)
- func (c *Client) ModifyRocketMQInstanceWithContext(ctx context.Context, request *ModifyRocketMQInstanceRequest) (response *ModifyRocketMQInstanceResponse, err error)
- func (c *Client) ModifyRocketMQNamespace(request *ModifyRocketMQNamespaceRequest) (response *ModifyRocketMQNamespaceResponse, err error)
- func (c *Client) ModifyRocketMQNamespaceWithContext(ctx context.Context, request *ModifyRocketMQNamespaceRequest) (response *ModifyRocketMQNamespaceResponse, err error)
- func (c *Client) ModifyRocketMQRole(request *ModifyRocketMQRoleRequest) (response *ModifyRocketMQRoleResponse, err error)
- func (c *Client) ModifyRocketMQRoleWithContext(ctx context.Context, request *ModifyRocketMQRoleRequest) (response *ModifyRocketMQRoleResponse, err error)
- func (c *Client) ModifyRocketMQTopic(request *ModifyRocketMQTopicRequest) (response *ModifyRocketMQTopicResponse, err error)
- func (c *Client) ModifyRocketMQTopicWithContext(ctx context.Context, request *ModifyRocketMQTopicRequest) (response *ModifyRocketMQTopicResponse, err error)
- func (c *Client) ModifyRole(request *ModifyRoleRequest) (response *ModifyRoleResponse, err error)
- func (c *Client) ModifyRoleWithContext(ctx context.Context, request *ModifyRoleRequest) (response *ModifyRoleResponse, err error)
- func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
- func (c *Client) ModifyTopicWithContext(ctx context.Context, request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
- func (c *Client) PublishCmqMsg(request *PublishCmqMsgRequest) (response *PublishCmqMsgResponse, err error)
- func (c *Client) PublishCmqMsgWithContext(ctx context.Context, request *PublishCmqMsgRequest) (response *PublishCmqMsgResponse, err error)
- func (c *Client) ReceiveMessage(request *ReceiveMessageRequest) (response *ReceiveMessageResponse, err error)
- func (c *Client) ReceiveMessageWithContext(ctx context.Context, request *ReceiveMessageRequest) (response *ReceiveMessageResponse, err error)
- func (c *Client) ResetMsgSubOffsetByTimestamp(request *ResetMsgSubOffsetByTimestampRequest) (response *ResetMsgSubOffsetByTimestampResponse, err error)
- func (c *Client) ResetMsgSubOffsetByTimestampWithContext(ctx context.Context, request *ResetMsgSubOffsetByTimestampRequest) (response *ResetMsgSubOffsetByTimestampResponse, err error)
- func (c *Client) ResetRocketMQConsumerOffSet(request *ResetRocketMQConsumerOffSetRequest) (response *ResetRocketMQConsumerOffSetResponse, err error)
- func (c *Client) ResetRocketMQConsumerOffSetWithContext(ctx context.Context, request *ResetRocketMQConsumerOffSetRequest) (response *ResetRocketMQConsumerOffSetResponse, err error)
- func (c *Client) RetryRocketMQDlqMessage(request *RetryRocketMQDlqMessageRequest) (response *RetryRocketMQDlqMessageResponse, err error)
- func (c *Client) RetryRocketMQDlqMessageWithContext(ctx context.Context, request *RetryRocketMQDlqMessageRequest) (response *RetryRocketMQDlqMessageResponse, err error)
- func (c *Client) RewindCmqQueue(request *RewindCmqQueueRequest) (response *RewindCmqQueueResponse, err error)
- func (c *Client) RewindCmqQueueWithContext(ctx context.Context, request *RewindCmqQueueRequest) (response *RewindCmqQueueResponse, err error)
- func (c *Client) SendBatchMessages(request *SendBatchMessagesRequest) (response *SendBatchMessagesResponse, err error)
- func (c *Client) SendBatchMessagesWithContext(ctx context.Context, request *SendBatchMessagesRequest) (response *SendBatchMessagesResponse, err error)
- func (c *Client) SendCmqMsg(request *SendCmqMsgRequest) (response *SendCmqMsgResponse, err error)
- func (c *Client) SendCmqMsgWithContext(ctx context.Context, request *SendCmqMsgRequest) (response *SendCmqMsgResponse, err error)
- func (c *Client) SendMessages(request *SendMessagesRequest) (response *SendMessagesResponse, err error)
- func (c *Client) SendMessagesWithContext(ctx context.Context, request *SendMessagesRequest) (response *SendMessagesResponse, err error)
- func (c *Client) SendMsg(request *SendMsgRequest) (response *SendMsgResponse, err error)
- func (c *Client) SendMsgWithContext(ctx context.Context, request *SendMsgRequest) (response *SendMsgResponse, err error)
- func (c *Client) SendRocketMQMessage(request *SendRocketMQMessageRequest) (response *SendRocketMQMessageResponse, err error)
- func (c *Client) SendRocketMQMessageWithContext(ctx context.Context, request *SendRocketMQMessageRequest) (response *SendRocketMQMessageResponse, err error)
- func (c *Client) SetRocketMQPublicAccessPoint(request *SetRocketMQPublicAccessPointRequest) (response *SetRocketMQPublicAccessPointResponse, err error)
- func (c *Client) SetRocketMQPublicAccessPointWithContext(ctx context.Context, request *SetRocketMQPublicAccessPointRequest) (response *SetRocketMQPublicAccessPointResponse, err error)
- func (c *Client) UnbindCmqDeadLetter(request *UnbindCmqDeadLetterRequest) (response *UnbindCmqDeadLetterResponse, err error)
- func (c *Client) UnbindCmqDeadLetterWithContext(ctx context.Context, request *UnbindCmqDeadLetterRequest) (response *UnbindCmqDeadLetterResponse, err error)
- type ClientSubscriptionInfo
- type Cluster
- type CmqDeadLetterPolicy
- type CmqDeadLetterSource
- type CmqQueue
- type CmqSubscription
- type CmqTopic
- type CmqTransactionPolicy
- type Consumer
- type ConsumerLog
- type ConsumerLogs
- type ConsumersSchedule
- type CreateClusterRequest
- type CreateClusterRequestParams
- type CreateClusterResponse
- type CreateClusterResponseParams
- type CreateCmqQueueRequest
- type CreateCmqQueueRequestParams
- type CreateCmqQueueResponse
- type CreateCmqQueueResponseParams
- type CreateCmqSubscribeRequest
- type CreateCmqSubscribeRequestParams
- type CreateCmqSubscribeResponse
- type CreateCmqSubscribeResponseParams
- type CreateCmqTopicRequest
- type CreateCmqTopicRequestParams
- type CreateCmqTopicResponse
- type CreateCmqTopicResponseParams
- type CreateEnvironmentRequest
- type CreateEnvironmentRequestParams
- type CreateEnvironmentResponse
- type CreateEnvironmentResponseParams
- type CreateEnvironmentRoleRequest
- type CreateEnvironmentRoleRequestParams
- type CreateEnvironmentRoleResponse
- type CreateEnvironmentRoleResponseParams
- type CreateProClusterRequest
- type CreateProClusterRequestParams
- type CreateProClusterResponse
- type CreateProClusterResponseParams
- type CreateRabbitMQBindingRequest
- type CreateRabbitMQBindingRequestParams
- type CreateRabbitMQBindingResponse
- type CreateRabbitMQBindingResponseParams
- type CreateRabbitMQUserRequest
- type CreateRabbitMQUserRequestParams
- type CreateRabbitMQUserResponse
- type CreateRabbitMQUserResponseParams
- type CreateRabbitMQVipInstanceRequest
- type CreateRabbitMQVipInstanceRequestParams
- type CreateRabbitMQVipInstanceResponse
- type CreateRabbitMQVipInstanceResponseParams
- type CreateRabbitMQVirtualHostRequest
- type CreateRabbitMQVirtualHostRequestParams
- type CreateRabbitMQVirtualHostResponse
- type CreateRabbitMQVirtualHostResponseParams
- type CreateRocketMQClusterRequest
- type CreateRocketMQClusterRequestParams
- type CreateRocketMQClusterResponse
- type CreateRocketMQClusterResponseParams
- type CreateRocketMQEnvironmentRoleRequest
- type CreateRocketMQEnvironmentRoleRequestParams
- type CreateRocketMQEnvironmentRoleResponse
- type CreateRocketMQEnvironmentRoleResponseParams
- type CreateRocketMQGroupRequest
- type CreateRocketMQGroupRequestParams
- type CreateRocketMQGroupResponse
- type CreateRocketMQGroupResponseParams
- type CreateRocketMQNamespaceRequest
- type CreateRocketMQNamespaceRequestParams
- type CreateRocketMQNamespaceResponse
- type CreateRocketMQNamespaceResponseParams
- type CreateRocketMQRoleRequest
- type CreateRocketMQRoleRequestParams
- type CreateRocketMQRoleResponse
- type CreateRocketMQRoleResponseParams
- type CreateRocketMQTopicRequest
- type CreateRocketMQTopicRequestParams
- type CreateRocketMQTopicResponse
- type CreateRocketMQTopicResponseParams
- type CreateRocketMQVipInstanceRequest
- type CreateRocketMQVipInstanceRequestParams
- type CreateRocketMQVipInstanceResponse
- type CreateRocketMQVipInstanceResponseParams
- type CreateRoleRequest
- type CreateRoleRequestParams
- type CreateRoleResponse
- type CreateRoleResponseParams
- type CreateSubscriptionRequest
- type CreateSubscriptionRequestParams
- type CreateSubscriptionResponse
- type CreateSubscriptionResponseParams
- type CreateTopicRequest
- type CreateTopicRequestParams
- type CreateTopicResponse
- type CreateTopicResponseParams
- type DeleteClusterRequest
- type DeleteClusterRequestParams
- type DeleteClusterResponse
- type DeleteClusterResponseParams
- type DeleteCmqQueueRequest
- type DeleteCmqQueueRequestParams
- type DeleteCmqQueueResponse
- type DeleteCmqQueueResponseParams
- type DeleteCmqSubscribeRequest
- type DeleteCmqSubscribeRequestParams
- type DeleteCmqSubscribeResponse
- type DeleteCmqSubscribeResponseParams
- type DeleteCmqTopicRequest
- type DeleteCmqTopicRequestParams
- type DeleteCmqTopicResponse
- type DeleteCmqTopicResponseParams
- type DeleteEnvironmentRolesRequest
- type DeleteEnvironmentRolesRequestParams
- type DeleteEnvironmentRolesResponse
- type DeleteEnvironmentRolesResponseParams
- type DeleteEnvironmentsRequest
- type DeleteEnvironmentsRequestParams
- type DeleteEnvironmentsResponse
- type DeleteEnvironmentsResponseParams
- type DeleteProClusterRequest
- type DeleteProClusterRequestParams
- type DeleteProClusterResponse
- type DeleteProClusterResponseParams
- type DeleteRabbitMQBindingRequest
- type DeleteRabbitMQBindingRequestParams
- type DeleteRabbitMQBindingResponse
- type DeleteRabbitMQBindingResponseParams
- type DeleteRabbitMQPermissionRequest
- type DeleteRabbitMQPermissionRequestParams
- type DeleteRabbitMQPermissionResponse
- type DeleteRabbitMQPermissionResponseParams
- type DeleteRabbitMQUserRequest
- type DeleteRabbitMQUserRequestParams
- type DeleteRabbitMQUserResponse
- type DeleteRabbitMQUserResponseParams
- type DeleteRabbitMQVipInstanceRequest
- type DeleteRabbitMQVipInstanceRequestParams
- type DeleteRabbitMQVipInstanceResponse
- type DeleteRabbitMQVipInstanceResponseParams
- type DeleteRabbitMQVirtualHostRequest
- type DeleteRabbitMQVirtualHostRequestParams
- type DeleteRabbitMQVirtualHostResponse
- type DeleteRabbitMQVirtualHostResponseParams
- type DeleteRocketMQClusterRequest
- type DeleteRocketMQClusterRequestParams
- type DeleteRocketMQClusterResponse
- type DeleteRocketMQClusterResponseParams
- type DeleteRocketMQEnvironmentRolesRequest
- type DeleteRocketMQEnvironmentRolesRequestParams
- type DeleteRocketMQEnvironmentRolesResponse
- type DeleteRocketMQEnvironmentRolesResponseParams
- type DeleteRocketMQGroupRequest
- type DeleteRocketMQGroupRequestParams
- type DeleteRocketMQGroupResponse
- type DeleteRocketMQGroupResponseParams
- type DeleteRocketMQNamespaceRequest
- type DeleteRocketMQNamespaceRequestParams
- type DeleteRocketMQNamespaceResponse
- type DeleteRocketMQNamespaceResponseParams
- type DeleteRocketMQRolesRequest
- type DeleteRocketMQRolesRequestParams
- type DeleteRocketMQRolesResponse
- type DeleteRocketMQRolesResponseParams
- type DeleteRocketMQTopicRequest
- type DeleteRocketMQTopicRequestParams
- type DeleteRocketMQTopicResponse
- type DeleteRocketMQTopicResponseParams
- type DeleteRocketMQVipInstanceRequest
- type DeleteRocketMQVipInstanceRequestParams
- type DeleteRocketMQVipInstanceResponse
- type DeleteRocketMQVipInstanceResponseParams
- type DeleteRolesRequest
- type DeleteRolesRequestParams
- type DeleteRolesResponse
- type DeleteRolesResponseParams
- type DeleteSubscriptionsRequest
- type DeleteSubscriptionsRequestParams
- type DeleteSubscriptionsResponse
- type DeleteSubscriptionsResponseParams
- type DeleteTopicsRequest
- type DeleteTopicsRequestParams
- type DeleteTopicsResponse
- type DeleteTopicsResponseParams
- type DescribeBindClustersRequest
- type DescribeBindClustersRequestParams
- type DescribeBindClustersResponse
- type DescribeBindClustersResponseParams
- type DescribeBindVpcsRequest
- type DescribeBindVpcsRequestParams
- type DescribeBindVpcsResponse
- type DescribeBindVpcsResponseParams
- type DescribeClusterDetailRequest
- type DescribeClusterDetailRequestParams
- type DescribeClusterDetailResponse
- type DescribeClusterDetailResponseParams
- type DescribeClustersRequest
- type DescribeClustersRequestParams
- type DescribeClustersResponse
- type DescribeClustersResponseParams
- type DescribeCmqQueueDetailRequest
- type DescribeCmqQueueDetailRequestParams
- type DescribeCmqQueueDetailResponse
- type DescribeCmqQueueDetailResponseParams
- type DescribeCmqQueuesRequest
- type DescribeCmqQueuesRequestParams
- type DescribeCmqQueuesResponse
- type DescribeCmqQueuesResponseParams
- type DescribeCmqSubscriptionDetailRequest
- type DescribeCmqSubscriptionDetailRequestParams
- type DescribeCmqSubscriptionDetailResponse
- type DescribeCmqSubscriptionDetailResponseParams
- type DescribeCmqTopicDetailRequest
- type DescribeCmqTopicDetailRequestParams
- type DescribeCmqTopicDetailResponse
- type DescribeCmqTopicDetailResponseParams
- type DescribeCmqTopicsRequest
- type DescribeCmqTopicsRequestParams
- type DescribeCmqTopicsResponse
- type DescribeCmqTopicsResponseParams
- type DescribeEnvironmentAttributesRequest
- type DescribeEnvironmentAttributesRequestParams
- type DescribeEnvironmentAttributesResponse
- type DescribeEnvironmentAttributesResponseParams
- type DescribeEnvironmentRolesRequest
- type DescribeEnvironmentRolesRequestParams
- type DescribeEnvironmentRolesResponse
- type DescribeEnvironmentRolesResponseParams
- type DescribeEnvironmentsRequest
- type DescribeEnvironmentsRequestParams
- type DescribeEnvironmentsResponse
- type DescribeEnvironmentsResponseParams
- type DescribeMqMsgTraceRequest
- type DescribeMqMsgTraceRequestParams
- type DescribeMqMsgTraceResponse
- type DescribeMqMsgTraceResponseParams
- type DescribeMsgRequest
- type DescribeMsgRequestParams
- type DescribeMsgResponse
- type DescribeMsgResponseParams
- type DescribeMsgTraceRequest
- type DescribeMsgTraceRequestParams
- type DescribeMsgTraceResponse
- type DescribeMsgTraceResponseParams
- type DescribePublisherSummaryRequest
- type DescribePublisherSummaryRequestParams
- type DescribePublisherSummaryResponse
- type DescribePublisherSummaryResponseParams
- type DescribePublishersRequest
- type DescribePublishersRequestParams
- type DescribePublishersResponse
- type DescribePublishersResponseParams
- type DescribePulsarProInstanceDetailRequest
- type DescribePulsarProInstanceDetailRequestParams
- type DescribePulsarProInstanceDetailResponse
- type DescribePulsarProInstanceDetailResponseParams
- type DescribePulsarProInstancesRequest
- type DescribePulsarProInstancesRequestParams
- type DescribePulsarProInstancesResponse
- type DescribePulsarProInstancesResponseParams
- type DescribeRabbitMQBindingsRequest
- type DescribeRabbitMQBindingsRequestParams
- type DescribeRabbitMQBindingsResponse
- type DescribeRabbitMQBindingsResponseParams
- type DescribeRabbitMQExchangesRequest
- type DescribeRabbitMQExchangesRequestParams
- type DescribeRabbitMQExchangesResponse
- type DescribeRabbitMQExchangesResponseParams
- type DescribeRabbitMQNodeListRequest
- type DescribeRabbitMQNodeListRequestParams
- type DescribeRabbitMQNodeListResponse
- type DescribeRabbitMQNodeListResponseParams
- type DescribeRabbitMQPermissionRequest
- type DescribeRabbitMQPermissionRequestParams
- type DescribeRabbitMQPermissionResponse
- type DescribeRabbitMQPermissionResponseParams
- type DescribeRabbitMQQueueDetailRequest
- type DescribeRabbitMQQueueDetailRequestParams
- type DescribeRabbitMQQueueDetailResponse
- type DescribeRabbitMQQueueDetailResponseParams
- type DescribeRabbitMQQueuesRequest
- type DescribeRabbitMQQueuesRequestParams
- type DescribeRabbitMQQueuesResponse
- type DescribeRabbitMQQueuesResponseParams
- type DescribeRabbitMQUserRequest
- type DescribeRabbitMQUserRequestParams
- type DescribeRabbitMQUserResponse
- type DescribeRabbitMQUserResponseParams
- type DescribeRabbitMQVipInstanceRequest
- type DescribeRabbitMQVipInstanceRequestParams
- type DescribeRabbitMQVipInstanceResponse
- type DescribeRabbitMQVipInstanceResponseParams
- type DescribeRabbitMQVipInstancesRequest
- type DescribeRabbitMQVipInstancesRequestParams
- type DescribeRabbitMQVipInstancesResponse
- type DescribeRabbitMQVipInstancesResponseParams
- type DescribeRabbitMQVirtualHostRequest
- type DescribeRabbitMQVirtualHostRequestParams
- type DescribeRabbitMQVirtualHostResponse
- type DescribeRabbitMQVirtualHostResponseParams
- type DescribeRocketMQClusterRequest
- type DescribeRocketMQClusterRequestParams
- type DescribeRocketMQClusterResponse
- type DescribeRocketMQClusterResponseParams
- type DescribeRocketMQClustersRequest
- type DescribeRocketMQClustersRequestParams
- type DescribeRocketMQClustersResponse
- type DescribeRocketMQClustersResponseParams
- type DescribeRocketMQEnvironmentRolesRequest
- type DescribeRocketMQEnvironmentRolesRequestParams
- type DescribeRocketMQEnvironmentRolesResponse
- type DescribeRocketMQEnvironmentRolesResponseParams
- type DescribeRocketMQGroupsRequest
- type DescribeRocketMQGroupsRequestParams
- type DescribeRocketMQGroupsResponse
- type DescribeRocketMQGroupsResponseParams
- type DescribeRocketMQMsgRequest
- type DescribeRocketMQMsgRequestParams
- type DescribeRocketMQMsgResponse
- type DescribeRocketMQMsgResponseParams
- type DescribeRocketMQMsgTraceRequest
- type DescribeRocketMQMsgTraceRequestParams
- type DescribeRocketMQMsgTraceResponse
- type DescribeRocketMQMsgTraceResponseParams
- type DescribeRocketMQNamespacesRequest
- type DescribeRocketMQNamespacesRequestParams
- type DescribeRocketMQNamespacesResponse
- type DescribeRocketMQNamespacesResponseParams
- type DescribeRocketMQProducersRequest
- type DescribeRocketMQProducersRequestParams
- type DescribeRocketMQProducersResponse
- type DescribeRocketMQProducersResponseParams
- type DescribeRocketMQPublicAccessMonitorDataRequest
- type DescribeRocketMQPublicAccessMonitorDataRequestParams
- type DescribeRocketMQPublicAccessMonitorDataResponse
- type DescribeRocketMQPublicAccessMonitorDataResponseParams
- type DescribeRocketMQPublicAccessPointRequest
- type DescribeRocketMQPublicAccessPointRequestParams
- type DescribeRocketMQPublicAccessPointResponse
- type DescribeRocketMQPublicAccessPointResponseParams
- type DescribeRocketMQRolesRequest
- type DescribeRocketMQRolesRequestParams
- type DescribeRocketMQRolesResponse
- type DescribeRocketMQRolesResponseParams
- type DescribeRocketMQTopUsagesRequest
- type DescribeRocketMQTopUsagesRequestParams
- type DescribeRocketMQTopUsagesResponse
- type DescribeRocketMQTopUsagesResponseParams
- type DescribeRocketMQTopicMsgsRequest
- type DescribeRocketMQTopicMsgsRequestParams
- type DescribeRocketMQTopicMsgsResponse
- type DescribeRocketMQTopicMsgsResponseParams
- type DescribeRocketMQTopicRequest
- type DescribeRocketMQTopicRequestParams
- type DescribeRocketMQTopicResponse
- type DescribeRocketMQTopicResponseParams
- type DescribeRocketMQTopicStatsRequest
- type DescribeRocketMQTopicStatsRequestParams
- type DescribeRocketMQTopicStatsResponse
- type DescribeRocketMQTopicStatsResponseParams
- type DescribeRocketMQTopicsByGroupRequest
- type DescribeRocketMQTopicsByGroupRequestParams
- type DescribeRocketMQTopicsByGroupResponse
- type DescribeRocketMQTopicsByGroupResponseParams
- type DescribeRocketMQTopicsRequest
- type DescribeRocketMQTopicsRequestParams
- type DescribeRocketMQTopicsResponse
- type DescribeRocketMQTopicsResponseParams
- type DescribeRocketMQVipInstanceDetailRequest
- type DescribeRocketMQVipInstanceDetailRequestParams
- type DescribeRocketMQVipInstanceDetailResponse
- type DescribeRocketMQVipInstanceDetailResponseParams
- type DescribeRocketMQVipInstancesRequest
- type DescribeRocketMQVipInstancesRequestParams
- type DescribeRocketMQVipInstancesResponse
- type DescribeRocketMQVipInstancesResponseParams
- type DescribeRolesRequest
- type DescribeRolesRequestParams
- type DescribeRolesResponse
- type DescribeRolesResponseParams
- type DescribeSubscriptionsRequest
- type DescribeSubscriptionsRequestParams
- type DescribeSubscriptionsResponse
- type DescribeSubscriptionsResponseParams
- type DescribeTopicMsgsRequest
- type DescribeTopicMsgsRequestParams
- type DescribeTopicMsgsResponse
- type DescribeTopicMsgsResponseParams
- type DescribeTopicsRequest
- type DescribeTopicsRequestParams
- type DescribeTopicsResponse
- type DescribeTopicsResponseParams
- type DetailedRolePerm
- type DimensionInstance
- type DimensionOpt
- type Environment
- type EnvironmentRole
- type EnvironmentRoleSet
- type ExchangeQuota
- type ExportRocketMQMessageDetailRequest
- type ExportRocketMQMessageDetailRequestParams
- type ExportRocketMQMessageDetailResponse
- type ExportRocketMQMessageDetailResponseParams
- type Filter
- type FilterSubscription
- type InstanceNodeDistribution
- type ModifyClusterRequest
- type ModifyClusterRequestParams
- type ModifyClusterResponse
- type ModifyClusterResponseParams
- type ModifyCmqQueueAttributeRequest
- type ModifyCmqQueueAttributeRequestParams
- type ModifyCmqQueueAttributeResponse
- type ModifyCmqQueueAttributeResponseParams
- type ModifyCmqSubscriptionAttributeRequest
- type ModifyCmqSubscriptionAttributeRequestParams
- type ModifyCmqSubscriptionAttributeResponse
- type ModifyCmqSubscriptionAttributeResponseParams
- type ModifyCmqTopicAttributeRequest
- type ModifyCmqTopicAttributeRequestParams
- type ModifyCmqTopicAttributeResponse
- type ModifyCmqTopicAttributeResponseParams
- type ModifyEnvironmentAttributesRequest
- type ModifyEnvironmentAttributesRequestParams
- type ModifyEnvironmentAttributesResponse
- type ModifyEnvironmentAttributesResponseParams
- type ModifyEnvironmentRoleRequest
- type ModifyEnvironmentRoleRequestParams
- type ModifyEnvironmentRoleResponse
- type ModifyEnvironmentRoleResponseParams
- type ModifyPublicNetworkSecurityPolicyRequest
- type ModifyPublicNetworkSecurityPolicyRequestParams
- type ModifyPublicNetworkSecurityPolicyResponse
- type ModifyPublicNetworkSecurityPolicyResponseParams
- type ModifyRabbitMQPermissionRequest
- type ModifyRabbitMQPermissionRequestParams
- type ModifyRabbitMQPermissionResponse
- type ModifyRabbitMQPermissionResponseParams
- type ModifyRabbitMQUserRequest
- type ModifyRabbitMQUserRequestParams
- type ModifyRabbitMQUserResponse
- type ModifyRabbitMQUserResponseParams
- type ModifyRabbitMQVirtualHostRequest
- type ModifyRabbitMQVirtualHostRequestParams
- type ModifyRabbitMQVirtualHostResponse
- type ModifyRabbitMQVirtualHostResponseParams
- type ModifyRocketMQClusterRequest
- type ModifyRocketMQClusterRequestParams
- type ModifyRocketMQClusterResponse
- type ModifyRocketMQClusterResponseParams
- type ModifyRocketMQEnvironmentRoleRequest
- type ModifyRocketMQEnvironmentRoleRequestParams
- type ModifyRocketMQEnvironmentRoleResponse
- type ModifyRocketMQEnvironmentRoleResponseParams
- type ModifyRocketMQGroupRequest
- type ModifyRocketMQGroupRequestParams
- type ModifyRocketMQGroupResponse
- type ModifyRocketMQGroupResponseParams
- type ModifyRocketMQInstanceRequest
- type ModifyRocketMQInstanceRequestParams
- type ModifyRocketMQInstanceResponse
- type ModifyRocketMQInstanceResponseParams
- type ModifyRocketMQInstanceSpecRequest
- type ModifyRocketMQInstanceSpecRequestParams
- type ModifyRocketMQInstanceSpecResponse
- type ModifyRocketMQInstanceSpecResponseParams
- type ModifyRocketMQNamespaceRequest
- type ModifyRocketMQNamespaceRequestParams
- type ModifyRocketMQNamespaceResponse
- type ModifyRocketMQNamespaceResponseParams
- type ModifyRocketMQRoleRequest
- type ModifyRocketMQRoleRequestParams
- type ModifyRocketMQRoleResponse
- type ModifyRocketMQRoleResponseParams
- type ModifyRocketMQTopicRequest
- type ModifyRocketMQTopicRequestParams
- type ModifyRocketMQTopicResponse
- type ModifyRocketMQTopicResponseParams
- type ModifyRoleRequest
- type ModifyRoleRequestParams
- type ModifyRoleResponse
- type ModifyRoleResponseParams
- type ModifyTopicRequest
- type ModifyTopicRequestParams
- type ModifyTopicResponse
- type ModifyTopicResponseParams
- type MsgLog
- type PartitionsTopic
- type ProducerInfo
- type ProducerLog
- type PrometheusEndpointInfo
- type PublicAccessRule
- type PublishCmqMsgRequest
- type PublishCmqMsgRequestParams
- type PublishCmqMsgResponse
- type PublishCmqMsgResponseParams
- type Publisher
- type PulsarNetworkAccessPointInfo
- type PulsarProClusterInfo
- type PulsarProClusterSpecInfo
- type PulsarProInstance
- type QueueQuota
- type RabbitMQBindingListInfo
- type RabbitMQClusterAccessInfo
- type RabbitMQClusterInfo
- type RabbitMQClusterSpecInfo
- type RabbitMQClusterWhiteListInfo
- type RabbitMQExchangeListInfo
- type RabbitMQPermission
- type RabbitMQPrivateNode
- type RabbitMQQueueListConsumerDetailInfo
- type RabbitMQQueueListInfo
- type RabbitMQUser
- type RabbitMQUserQuota
- type RabbitMQVipInstance
- type RabbitMQVirtualHostInfo
- type RabbitMQVirtualHostStatistics
- type ReceiveMessageRequest
- type ReceiveMessageRequestParams
- type ReceiveMessageResponse
- type ReceiveMessageResponseParams
- type ResetMsgSubOffsetByTimestampRequest
- type ResetMsgSubOffsetByTimestampRequestParams
- type ResetMsgSubOffsetByTimestampResponse
- type ResetMsgSubOffsetByTimestampResponseParams
- type ResetRocketMQConsumerOffSetRequest
- type ResetRocketMQConsumerOffSetRequestParams
- type ResetRocketMQConsumerOffSetResponse
- type ResetRocketMQConsumerOffSetResponseParams
- type RetentionPolicy
- type RetryRocketMQDlqMessageRequest
- type RetryRocketMQDlqMessageRequestParams
- type RetryRocketMQDlqMessageResponse
- type RetryRocketMQDlqMessageResponseParams
- type RewindCmqQueueRequest
- type RewindCmqQueueRequestParams
- type RewindCmqQueueResponse
- type RewindCmqQueueResponseParams
- type RocketMQClusterConfig
- type RocketMQClusterDetail
- type RocketMQClusterInfo
- type RocketMQClusterRecentStats
- type RocketMQDataPoint
- type RocketMQGroup
- type RocketMQInstanceConfig
- type RocketMQMessageTrack
- type RocketMQMsgLog
- type RocketMQNamespace
- type RocketMQSubscription
- type RocketMQTopic
- type RocketMQTopicDistribution
- type RocketMQVipInstance
- type Role
- type SecurityPolicy
- type SendBatchMessagesRequest
- type SendBatchMessagesRequestParams
- type SendBatchMessagesResponse
- type SendBatchMessagesResponseParams
- type SendCmqMsgRequest
- type SendCmqMsgRequestParams
- type SendCmqMsgResponse
- type SendCmqMsgResponseParams
- type SendMessagesRequest
- type SendMessagesRequestParams
- type SendMessagesResponse
- type SendMessagesResponseParams
- type SendMsgRequest
- type SendMsgRequestParams
- type SendMsgResponse
- type SendMsgResponseParams
- type SendRocketMQMessageRequest
- type SendRocketMQMessageRequestParams
- type SendRocketMQMessageResponse
- type SendRocketMQMessageResponseParams
- type ServerLog
- type SetRocketMQPublicAccessPointRequest
- type SetRocketMQPublicAccessPointRequestParams
- type SetRocketMQPublicAccessPointResponse
- type SetRocketMQPublicAccessPointResponseParams
- type Sort
- type Subscription
- type SubscriptionTopic
- type Tag
- type TagFilter
- type Topic
- type TopicRecord
- type TopicStats
- type TraceResult
- type UnbindCmqDeadLetterRequest
- type UnbindCmqDeadLetterRequestParams
- type UnbindCmqDeadLetterResponse
- type UnbindCmqDeadLetterResponseParams
- type VirtualHostQuota
- type VpcBindRecord
- type VpcConfig
- type VpcEndpointInfo
- type VpcInfo
Constants ¶
const ( // CAM authentication failed. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // An exception occurred while calling the transaction service. FAILEDOPERATION_CALLTRADE = "FailedOperation.CallTrade" // Third-Party cloud service exception. try again later. FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" // CMQ backend error. FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" // Failed to create the cluster. FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" // Failed to create the environment. FAILEDOPERATION_CREATEENVIRONMENT = "FailedOperation.CreateEnvironment" // Failed to create the environment role. FAILEDOPERATION_CREATEENVIRONMENTROLE = "FailedOperation.CreateEnvironmentRole" // Failed to create the namespace. FAILEDOPERATION_CREATENAMESPACE = "FailedOperation.CreateNamespace" // Region not supported for sdk creation. FAILEDOPERATION_CREATEPROCLUSTERREGIONNOTEXIST = "FailedOperation.CreateProClusterRegionNotExist" // An error occurred while creating the producer. FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" // An error occurred while creating the TDMQ client. FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" // Failed to create the role. FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" // Key creation failed. FAILEDOPERATION_CREATESECRETKEY = "FailedOperation.CreateSecretKey" // Failed to create the subscription. FAILEDOPERATION_CREATESUBSCRIPTION = "FailedOperation.CreateSubscription" // Failed to create the topic. FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" // Failed to delete the cluster. FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" // Cluster deletion protection is enabled. failed to delete the cluster. FAILEDOPERATION_DELETECLUSTERPROTECTION = "FailedOperation.DeleteClusterProtection" // Failed to delete the environment role. FAILEDOPERATION_DELETEENVIRONMENTROLES = "FailedOperation.DeleteEnvironmentRoles" // Failed to delete the environment. FAILEDOPERATION_DELETEENVIRONMENTS = "FailedOperation.DeleteEnvironments" // Failed to delete the namespace. FAILEDOPERATION_DELETENAMESPACE = "FailedOperation.DeleteNamespace" // Failed to delete the role. FAILEDOPERATION_DELETEROLES = "FailedOperation.DeleteRoles" // Failed to delete the subscription. FAILEDOPERATION_DELETESUBSCRIPTIONS = "FailedOperation.DeleteSubscriptions" // Failed to delete the topic. FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" // Failed to query the subscription data. FAILEDOPERATION_DESCRIBESUBSCRIPTION = "FailedOperation.DescribeSubscription" // Parameters are abnormal. ordering failed. FAILEDOPERATION_GENERATEDEALSANDPAYERROR = "FailedOperation.GenerateDealsAndPayError" // Failed to get the environment attributes. FAILEDOPERATION_GETENVIRONMENTATTRIBUTESFAILED = "FailedOperation.GetEnvironmentAttributesFailed" // Failed to get the number of topic partitions. FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" // The instance has enabled deletion protection. if needed, disable deletion protection to delete. FAILEDOPERATION_INSTANCECANNOTDELETE = "FailedOperation.InstanceCanNotDelete" // This instance is not ready. Please try again later. FAILEDOPERATION_INSTANCENOTREADY = "FailedOperation.InstanceNotReady" // Existing public network modification is not allowed. FAILEDOPERATION_INVALIDEXISTPUBLICACCESSPOINTERROR = "FailedOperation.InvalidExistPublicAccessPointError" // Invalid parameters. FAILEDOPERATION_INVALIDWHITELISTERROR = "FailedOperation.InvalidWhiteListError" // Settings not supported for this parameter in the current cluster. FAILEDOPERATION_ISOLATECONSUMERENABLE = "FailedOperation.IsolateConsumerEnable" // The message size exceeds the upper limit of 1 MB. FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" // The uploaded `msgID` is incorrect. FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" // Failed to modify the cluster. FAILEDOPERATION_MODIFYCLUSTER = "FailedOperation.ModifyCluster" // You must clear the associated namespace before proceeding. FAILEDOPERATION_NAMESPACEINUSE = "FailedOperation.NamespaceInUse" // Resource not found. FAILEDOPERATION_ONLINEREFUNDRESOURCENOTEXIT = "FailedOperation.OnlineRefundResourceNotExit" // Task in progress. please try again later. FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" // Product information not found. FAILEDOPERATION_PRODUCTNOTEXIST = "FailedOperation.ProductNotExist" // An error occurred while receiving the message. FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" // Message receiving timed out. Please try again. FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" // Cross-Region replication validation failed. FAILEDOPERATION_REPLICATIONDESTCHECKFAILEDERROR = "FailedOperation.ReplicationDestCheckFailedError" // Cross-Region replication verification failed. FAILEDOPERATION_REPLICATIONSOURCECHECKFAILEDERROR = "FailedOperation.ReplicationSourceCheckFailedError" // Failed to configure message rewind. FAILEDOPERATION_RESETMSGSUBOFFSETBYTIMESTAMPFAILED = "FailedOperation.ResetMsgSubOffsetByTimestampFailed" // You must clear the associated role data before proceeding. FAILEDOPERATION_ROLEINUSE = "FailedOperation.RoleInUse" // Save key failed. FAILEDOPERATION_SAVESECRETKEY = "FailedOperation.SaveSecretKey" // Message sending timed out. FAILEDOPERATION_SENDMESSAGETIMEOUTERROR = "FailedOperation.SendMessageTimeoutError" // Failed to send message. FAILEDOPERATION_SENDMSG = "FailedOperation.SendMsg" // Failed to send the message. FAILEDOPERATION_SENDMSGFAILED = "FailedOperation.SendMsgFailed" // Failed to set the message retention policy. FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" // Failed to configure the message TTL. FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" // You must clear the associated topic data before proceeding. FAILEDOPERATION_TOPICINUSE = "FailedOperation.TopicInUse" // Please use a partition topic. FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" // Failed to update the environment. FAILEDOPERATION_UPDATEENVIRONMENT = "FailedOperation.UpdateEnvironment" // Failed to update the environment role. FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" // Failed to update the role. FAILEDOPERATION_UPDATEROLE = "FailedOperation.UpdateRole" // Failed to update the topic. FAILEDOPERATION_UPDATETOPIC = "FailedOperation.UpdateTopic" // You must clear the associated VPC routing data before proceeding. FAILEDOPERATION_VPCINUSE = "FailedOperation.VpcInUse" // Internal error. INTERNALERROR = "InternalError" // The broker service is exceptional. INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" // Operation failed. INTERNALERROR_FAILEDOPERATION = "InternalError.FailedOperation" // Failed to get attributes. INTERNALERROR_GETATTRIBUTESFAILED = "InternalError.GetAttributesFailed" // Internal error. INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" // You can try again. INTERNALERROR_RETRY = "InternalError.Retry" // System error. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Incorrect parameter. INVALIDPARAMETER = "InvalidParameter" // Invalid management API address INVALIDPARAMETER_INVALIDADMINURL = "InvalidParameter.InvalidAdminUrl" // Incorrect partition count. INVALIDPARAMETER_PARTITION = "InvalidParameter.Partition" // The uploaded tenant name is incorrect. INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" // The correct token was not obtained. INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" // Invalid vpc information or subnet info. INVALIDPARAMETER_VPC = "InvalidParameter.Vpc" // The parameter value is incorrect. INVALIDPARAMETERVALUE = "InvalidParameterValue" // AckTime parameter error. INVALIDPARAMETERVALUE_ACKTIME = "InvalidParameterValue.AckTime" // At least one parameter needs to be provided. INVALIDPARAMETERVALUE_ATLEASTONE = "InvalidParameterValue.AtLeastOne" // The cluster name already exists. INVALIDPARAMETERVALUE_CLUSTERNAMEDUPLICATION = "InvalidParameterValue.ClusterNameDuplication" // The parameter value is out of the value range. INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" // A required parameter is missing. INVALIDPARAMETERVALUE_NEEDMOREPARAMS = "InvalidParameterValue.NeedMoreParams" // The message TTL value is invalid. INVALIDPARAMETERVALUE_TTL = "InvalidParameterValue.TTL" // The uploaded topic name is incorrect. INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // The number of clusters under the instance exceeds the limit. LIMITEXCEEDED_CLUSTERS = "LimitExceeded.Clusters" // The number of environments under the instance exceeds the limit. LIMITEXCEEDED_ENVIRONMENTS = "LimitExceeded.Environments" // Message trace query time period is too long. LIMITEXCEEDED_MSGTIME = "LimitExceeded.MsgTime" // The number of namespaces under the instance exceeds the limit. LIMITEXCEEDED_NAMESPACES = "LimitExceeded.Namespaces" // The remaining quota has been exceeded. Please enter a valid value. LIMITEXCEEDED_RETENTIONSIZE = "LimitExceeded.RetentionSize" // The message retention period limit has been exceeded. Please enter a valid value. LIMITEXCEEDED_RETENTIONTIME = "LimitExceeded.RetentionTime" // The number of subscribers under the instance exceeds the limit. LIMITEXCEEDED_SUBSCRIPTIONS = "LimitExceeded.Subscriptions" // The number of topics under the instance exceeds the limit. LIMITEXCEEDED_TOPICS = "LimitExceeded.Topics" // Missing parameter. MISSINGPARAMETER = "MissingParameter" // A required parameter is missing. MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" // Tag information is missing. MISSINGPARAMETER_TAG = "MissingParameter.Tag" // Messages in the subscribed topic are being consumed. OPERATIONDENIED_CONSUMERRUNNING = "OperationDenied.ConsumerRunning" // Operations on the default environment are not allowed. OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" // The resource is in use. RESOURCEINUSE = "ResourceInUse" // The cluster already exists. RESOURCEINUSE_CLUSTER = "ResourceInUse.Cluster" // The environment role already exists. RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" // A namespace with the same name already exists. RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace" // The queue already exists. RESOURCEINUSE_QUEUE = "ResourceInUse.Queue" // The role already exists. RESOURCEINUSE_ROLE = "ResourceInUse.Role" // A subscription with the same name already exists. RESOURCEINUSE_SUBSCRIPTION = "ResourceInUse.Subscription" // A topic with the same name already exists. RESOURCEINUSE_TOPIC = "ResourceInUse.Topic" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The service cluster does not exist. RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" // The cluster does not exist. RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" // The environment does not exist. RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" // The environment role does not exist. RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole" // The instance doesn’t exist. RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" // Specified message not found. RESOURCENOTFOUND_MSG = "ResourceNotFound.Msg" // Message production log does not exist. RESOURCENOTFOUND_MSGPRODUCELOG = "ResourceNotFound.MsgProduceLog" // The namespace does not exist. RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" // Namespace does not exist. RESOURCENOTFOUND_NAMSPACE = "ResourceNotFound.Namspace" // The role does not exist. RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role" // The subscription does not exist. RESOURCENOTFOUND_SUBSCRIPTION = "ResourceNotFound.Subscription" // The topic does not exist. RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // Assignment exception. RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" // You must top up before proceeding. RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired" // The system is being upgraded. RESOURCEUNAVAILABLE_SYSTEMUPGRADE = "ResourceUnavailable.SystemUpgrade" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Policy parameter error. UNKNOWNPARAMETER_POLICY = "UnknownParameter.Policy" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // The instance does not support configuration downgrade. UNSUPPORTEDOPERATION_INSTANCEDOWNGRADE = "UnsupportedOperation.InstanceDowngrade" // Unack operation is not supported in the current cluster. UNSUPPORTEDOPERATION_TOPICUNACK = "UnsupportedOperation.TopicUnack" )
const APIVersion = "2020-02-17"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcknowledgeMessageRequest ¶
type AcknowledgeMessageRequest struct {
*tchttp.BaseRequest
// Unique ID used to identify the message, which can be obtained from the returned value of `receiveMessage`.
MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`
// Topic name, which can be obtained from the returned value of `receiveMessage` and is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
AckTopic *string `json:"AckTopic,omitnil,omitempty" name:"AckTopic"`
// Subscriber name, which can be obtained from the returned value of `receiveMessage`. Make sure that it is the same as the subscriber name identified in `receiveMessage`; otherwise, the received message cannot be correctly acknowledged.
SubName *string `json:"SubName,omitnil,omitempty" name:"SubName"`
}
func NewAcknowledgeMessageRequest ¶
func NewAcknowledgeMessageRequest() (request *AcknowledgeMessageRequest)
func (*AcknowledgeMessageRequest) FromJsonString ¶
func (r *AcknowledgeMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AcknowledgeMessageRequest) ToJsonString ¶
func (r *AcknowledgeMessageRequest) ToJsonString() string
type AcknowledgeMessageRequestParams ¶
type AcknowledgeMessageRequestParams struct {
// Unique ID used to identify the message, which can be obtained from the returned value of `receiveMessage`.
MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`
// Topic name, which can be obtained from the returned value of `receiveMessage` and is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
AckTopic *string `json:"AckTopic,omitnil,omitempty" name:"AckTopic"`
// Subscriber name, which can be obtained from the returned value of `receiveMessage`. Make sure that it is the same as the subscriber name identified in `receiveMessage`; otherwise, the received message cannot be correctly acknowledged.
SubName *string `json:"SubName,omitnil,omitempty" name:"SubName"`
}
Predefined struct for user
type AcknowledgeMessageResponse ¶
type AcknowledgeMessageResponse struct {
*tchttp.BaseResponse
Response *AcknowledgeMessageResponseParams `json:"Response"`
}
func NewAcknowledgeMessageResponse ¶
func NewAcknowledgeMessageResponse() (response *AcknowledgeMessageResponse)
func (*AcknowledgeMessageResponse) FromJsonString ¶
func (r *AcknowledgeMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AcknowledgeMessageResponse) ToJsonString ¶
func (r *AcknowledgeMessageResponse) ToJsonString() string
type AcknowledgeMessageResponseParams ¶
type AcknowledgeMessageResponseParams struct {
// If "", it indicates that there is no error return. otherwise return specific error information.
ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type BindCluster ¶
type BindCluster struct {
// Name of a physical cluster.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
}
type CertificateInfo ¶
type CertificateInfo struct {
// Specifies the id in SSL certificate management.
CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"`
// Certificate expiration time.
ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// Specifies the domain name bound to the certificate.
DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"`
// Certificate status: 0 indicates issued.
// Expiring soon.
// Not activated.
// 3. indicates expired.
// Indicates the unavailability.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
// Certificate type: 0: root certificate, 1: server certificate.
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// TencentCloud: SSL certificate. Default: TDMQ official Default certificate.
Origin *string `json:"Origin,omitnil,omitempty" name:"Origin"`
// Certificate addition/update time.
ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
}
type ClearCmqQueueRequest ¶
type ClearCmqQueueRequest struct {
*tchttp.BaseRequest
// Queue name, unique under the same account in a single region. queue name is a string of no more than 64 characters, beginning with a letter, the rest may contain letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
func NewClearCmqQueueRequest ¶
func NewClearCmqQueueRequest() (request *ClearCmqQueueRequest)
func (*ClearCmqQueueRequest) FromJsonString ¶
func (r *ClearCmqQueueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ClearCmqQueueRequest) ToJsonString ¶
func (r *ClearCmqQueueRequest) ToJsonString() string
type ClearCmqQueueRequestParams ¶
type ClearCmqQueueRequestParams struct {
// Queue name, unique under the same account in a single region. queue name is a string of no more than 64 characters, beginning with a letter, the rest may contain letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
Predefined struct for user
type ClearCmqQueueResponse ¶
type ClearCmqQueueResponse struct {
*tchttp.BaseResponse
Response *ClearCmqQueueResponseParams `json:"Response"`
}
func NewClearCmqQueueResponse ¶
func NewClearCmqQueueResponse() (response *ClearCmqQueueResponse)
func (*ClearCmqQueueResponse) FromJsonString ¶
func (r *ClearCmqQueueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ClearCmqQueueResponse) ToJsonString ¶
func (r *ClearCmqQueueResponse) ToJsonString() string
type ClearCmqQueueResponseParams ¶
type ClearCmqQueueResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ClearCmqSubscriptionFilterTagsRequest ¶
type ClearCmqSubscriptionFilterTagsRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, which must be unique under the same account and same topic in a single region. the name is a string of no more than 64 characters, beginning with a letter, and the remaining part may contain letters, numbers, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
}
func NewClearCmqSubscriptionFilterTagsRequest ¶
func NewClearCmqSubscriptionFilterTagsRequest() (request *ClearCmqSubscriptionFilterTagsRequest)
func (*ClearCmqSubscriptionFilterTagsRequest) FromJsonString ¶
func (r *ClearCmqSubscriptionFilterTagsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ClearCmqSubscriptionFilterTagsRequest) ToJsonString ¶
func (r *ClearCmqSubscriptionFilterTagsRequest) ToJsonString() string
type ClearCmqSubscriptionFilterTagsRequestParams ¶
type ClearCmqSubscriptionFilterTagsRequestParams struct {
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, which must be unique under the same account and same topic in a single region. the name is a string of no more than 64 characters, beginning with a letter, and the remaining part may contain letters, numbers, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
}
Predefined struct for user
type ClearCmqSubscriptionFilterTagsResponse ¶
type ClearCmqSubscriptionFilterTagsResponse struct {
*tchttp.BaseResponse
Response *ClearCmqSubscriptionFilterTagsResponseParams `json:"Response"`
}
func NewClearCmqSubscriptionFilterTagsResponse ¶
func NewClearCmqSubscriptionFilterTagsResponse() (response *ClearCmqSubscriptionFilterTagsResponse)
func (*ClearCmqSubscriptionFilterTagsResponse) FromJsonString ¶
func (r *ClearCmqSubscriptionFilterTagsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ClearCmqSubscriptionFilterTagsResponse) ToJsonString ¶
func (r *ClearCmqSubscriptionFilterTagsResponse) ToJsonString() string
type ClearCmqSubscriptionFilterTagsResponseParams ¶
type ClearCmqSubscriptionFilterTagsResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AcknowledgeMessage ¶
func (c *Client) AcknowledgeMessage(request *AcknowledgeMessageRequest) (response *AcknowledgeMessageResponse, err error)
AcknowledgeMessage This API is used to acknowledge the message in the specified topic by the provided `MessageID`.
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) AcknowledgeMessageWithContext ¶
func (c *Client) AcknowledgeMessageWithContext(ctx context.Context, request *AcknowledgeMessageRequest) (response *AcknowledgeMessageResponse, err error)
AcknowledgeMessage This API is used to acknowledge the message in the specified topic by the provided `MessageID`.
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) ClearCmqQueue ¶
func (c *Client) ClearCmqQueue(request *ClearCmqQueueRequest) (response *ClearCmqQueueResponse, err error)
ClearCmqQueue This API is used to clear the messages in the CMQ message queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ClearCmqQueueWithContext ¶
func (c *Client) ClearCmqQueueWithContext(ctx context.Context, request *ClearCmqQueueRequest) (response *ClearCmqQueueResponse, err error)
ClearCmqQueue This API is used to clear the messages in the CMQ message queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ClearCmqSubscriptionFilterTags ¶
func (c *Client) ClearCmqSubscriptionFilterTags(request *ClearCmqSubscriptionFilterTagsRequest) (response *ClearCmqSubscriptionFilterTagsResponse, err error)
ClearCmqSubscriptionFilterTags This API is used to clear the message tags of a subscriber.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ClearCmqSubscriptionFilterTagsWithContext ¶
func (c *Client) ClearCmqSubscriptionFilterTagsWithContext(ctx context.Context, request *ClearCmqSubscriptionFilterTagsRequest) (response *ClearCmqSubscriptionFilterTagsResponse, err error)
ClearCmqSubscriptionFilterTags This API is used to clear the message tags of a subscriber.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster This API is used to create a cluster.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" LIMITEXCEEDED_CLUSTERS = "LimitExceeded.Clusters" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_CLUSTER = "ResourceInUse.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateClusterWithContext ¶
func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error)
CreateCluster This API is used to create a cluster.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" INTERNALERROR = "InternalError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" LIMITEXCEEDED_CLUSTERS = "LimitExceeded.Clusters" MISSINGPARAMETER = "MissingParameter" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_CLUSTER = "ResourceInUse.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateCmqQueue ¶
func (c *Client) CreateCmqQueue(request *CreateCmqQueueRequest) (response *CreateCmqQueueResponse, err error)
CreateCmqQueue This API is used to create a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_QUEUE = "ResourceInUse.Queue" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCmqQueueWithContext ¶
func (c *Client) CreateCmqQueueWithContext(ctx context.Context, request *CreateCmqQueueRequest) (response *CreateCmqQueueResponse, err error)
CreateCmqQueue This API is used to create a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_QUEUE = "ResourceInUse.Queue" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCmqSubscribe ¶
func (c *Client) CreateCmqSubscribe(request *CreateCmqSubscribeRequest) (response *CreateCmqSubscribeResponse, err error)
CreateCmqSubscribe This API is used to create a CMQ subscription.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATESUBSCRIPTION = "FailedOperation.CreateSubscription" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_SUBSCRIPTION = "ResourceInUse.Subscription" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateCmqSubscribeWithContext ¶
func (c *Client) CreateCmqSubscribeWithContext(ctx context.Context, request *CreateCmqSubscribeRequest) (response *CreateCmqSubscribeResponse, err error)
CreateCmqSubscribe This API is used to create a CMQ subscription.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATESUBSCRIPTION = "FailedOperation.CreateSubscription" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_SUBSCRIPTION = "ResourceInUse.Subscription" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateCmqTopic ¶
func (c *Client) CreateCmqTopic(request *CreateCmqTopicRequest) (response *CreateCmqTopicResponse, err error)
CreateCmqTopic This API is used to create a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" LIMITEXCEEDED_TOPICS = "LimitExceeded.Topics" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_TOPIC = "ResourceInUse.Topic" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateCmqTopicWithContext ¶
func (c *Client) CreateCmqTopicWithContext(ctx context.Context, request *CreateCmqTopicRequest) (response *CreateCmqTopicResponse, err error)
CreateCmqTopic This API is used to create a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" LIMITEXCEEDED_TOPICS = "LimitExceeded.Topics" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_TOPIC = "ResourceInUse.Topic" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
CreateEnvironment This API is used to create a TDMQ namespace.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATEENVIRONMENT = "FailedOperation.CreateEnvironment" FAILEDOPERATION_CREATENAMESPACE = "FailedOperation.CreateNamespace" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_REPLICATIONDESTCHECKFAILEDERROR = "FailedOperation.ReplicationDestCheckFailedError" FAILEDOPERATION_REPLICATIONSOURCECHECKFAILEDERROR = "FailedOperation.ReplicationSourceCheckFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" INVALIDPARAMETERVALUE_TTL = "InvalidParameterValue.TTL" LIMITEXCEEDED_ENVIRONMENTS = "LimitExceeded.Environments" LIMITEXCEEDED_NAMESPACES = "LimitExceeded.Namespaces" LIMITEXCEEDED_RETENTIONSIZE = "LimitExceeded.RetentionSize" LIMITEXCEEDED_RETENTIONTIME = "LimitExceeded.RetentionTime" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) CreateEnvironmentRole ¶
func (c *Client) CreateEnvironmentRole(request *CreateEnvironmentRoleRequest) (response *CreateEnvironmentRoleResponse, err error)
CreateEnvironmentRole This API is used to create an environment role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATEENVIRONMENTROLE = "FailedOperation.CreateEnvironmentRole" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) CreateEnvironmentRoleWithContext ¶
func (c *Client) CreateEnvironmentRoleWithContext(ctx context.Context, request *CreateEnvironmentRoleRequest) (response *CreateEnvironmentRoleResponse, err error)
CreateEnvironmentRole This API is used to create an environment role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATEENVIRONMENTROLE = "FailedOperation.CreateEnvironmentRole" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) CreateEnvironmentWithContext ¶
func (c *Client) CreateEnvironmentWithContext(ctx context.Context, request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
CreateEnvironment This API is used to create a TDMQ namespace.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATEENVIRONMENT = "FailedOperation.CreateEnvironment" FAILEDOPERATION_CREATENAMESPACE = "FailedOperation.CreateNamespace" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_REPLICATIONDESTCHECKFAILEDERROR = "FailedOperation.ReplicationDestCheckFailedError" FAILEDOPERATION_REPLICATIONSOURCECHECKFAILEDERROR = "FailedOperation.ReplicationSourceCheckFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" INVALIDPARAMETERVALUE_TTL = "InvalidParameterValue.TTL" LIMITEXCEEDED_ENVIRONMENTS = "LimitExceeded.Environments" LIMITEXCEEDED_NAMESPACES = "LimitExceeded.Namespaces" LIMITEXCEEDED_RETENTIONSIZE = "LimitExceeded.RetentionSize" LIMITEXCEEDED_RETENTIONTIME = "LimitExceeded.RetentionTime" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_NAMESPACE = "ResourceInUse.Namespace" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) CreateProCluster ¶
func (c *Client) CreateProCluster(request *CreateProClusterRequest) (response *CreateProClusterResponse, err error)
CreateProCluster This api is used to create a professional cluster with prepayment via api calls.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATEPROCLUSTERREGIONNOTEXIST = "FailedOperation.CreateProClusterRegionNotExist" FAILEDOPERATION_GENERATEDEALSANDPAYERROR = "FailedOperation.GenerateDealsAndPayError" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_PRODUCTNOTEXIST = "FailedOperation.ProductNotExist" INVALIDPARAMETER_VPC = "InvalidParameter.Vpc" MISSINGPARAMETER_TAG = "MissingParameter.Tag"
func (*Client) CreateProClusterWithContext ¶
func (c *Client) CreateProClusterWithContext(ctx context.Context, request *CreateProClusterRequest) (response *CreateProClusterResponse, err error)
CreateProCluster This api is used to create a professional cluster with prepayment via api calls.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATEPROCLUSTERREGIONNOTEXIST = "FailedOperation.CreateProClusterRegionNotExist" FAILEDOPERATION_GENERATEDEALSANDPAYERROR = "FailedOperation.GenerateDealsAndPayError" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_PRODUCTNOTEXIST = "FailedOperation.ProductNotExist" INVALIDPARAMETER_VPC = "InvalidParameter.Vpc" MISSINGPARAMETER_TAG = "MissingParameter.Tag"
func (*Client) CreateRabbitMQBinding ¶
func (c *Client) CreateRabbitMQBinding(request *CreateRabbitMQBindingRequest) (response *CreateRabbitMQBindingResponse, err error)
CreateRabbitMQBinding This API is used to create a TDMQ for RabbitMQ routing relationship.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRabbitMQBindingWithContext ¶
func (c *Client) CreateRabbitMQBindingWithContext(ctx context.Context, request *CreateRabbitMQBindingRequest) (response *CreateRabbitMQBindingResponse, err error)
CreateRabbitMQBinding This API is used to create a TDMQ for RabbitMQ routing relationship.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRabbitMQUser ¶
func (c *Client) CreateRabbitMQUser(request *CreateRabbitMQUserRequest) (response *CreateRabbitMQUserResponse, err error)
CreateRabbitMQUser This API is used to create a TDMQ for RabbitMQ user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRabbitMQUserWithContext ¶
func (c *Client) CreateRabbitMQUserWithContext(ctx context.Context, request *CreateRabbitMQUserRequest) (response *CreateRabbitMQUserResponse, err error)
CreateRabbitMQUser This API is used to create a TDMQ for RabbitMQ user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRabbitMQVipInstance ¶
func (c *Client) CreateRabbitMQVipInstance(request *CreateRabbitMQVipInstanceRequest) (response *CreateRabbitMQVipInstanceResponse, err error)
CreateRabbitMQVipInstance This API is used to create a RabbitMQ managed instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRabbitMQVipInstanceWithContext ¶
func (c *Client) CreateRabbitMQVipInstanceWithContext(ctx context.Context, request *CreateRabbitMQVipInstanceRequest) (response *CreateRabbitMQVipInstanceResponse, err error)
CreateRabbitMQVipInstance This API is used to create a RabbitMQ managed instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRabbitMQVirtualHost ¶
func (c *Client) CreateRabbitMQVirtualHost(request *CreateRabbitMQVirtualHostRequest) (response *CreateRabbitMQVirtualHostResponse, err error)
CreateRabbitMQVirtualHost This API is used to create a TDMQ for RabbitMQ vhost.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRabbitMQVirtualHostWithContext ¶
func (c *Client) CreateRabbitMQVirtualHostWithContext(ctx context.Context, request *CreateRabbitMQVirtualHostRequest) (response *CreateRabbitMQVirtualHostResponse, err error)
CreateRabbitMQVirtualHost This API is used to create a TDMQ for RabbitMQ vhost.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) CreateRocketMQCluster ¶
func (c *Client) CreateRocketMQCluster(request *CreateRocketMQClusterRequest) (response *CreateRocketMQClusterResponse, err error)
CreateRocketMQCluster This API is used to create a RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_CLUSTERS = "LimitExceeded.Clusters" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQClusterWithContext ¶
func (c *Client) CreateRocketMQClusterWithContext(ctx context.Context, request *CreateRocketMQClusterRequest) (response *CreateRocketMQClusterResponse, err error)
CreateRocketMQCluster This API is used to create a RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLUSTER = "FailedOperation.CreateCluster" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_CLUSTERS = "LimitExceeded.Clusters" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_CREATEFAILED = "ResourceUnavailable.CreateFailed" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQEnvironmentRole ¶
func (c *Client) CreateRocketMQEnvironmentRole(request *CreateRocketMQEnvironmentRoleRequest) (response *CreateRocketMQEnvironmentRoleResponse, err error)
CreateRocketMQEnvironmentRole Creates environment role authorization
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEENVIRONMENTROLE = "FailedOperation.CreateEnvironmentRole" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) CreateRocketMQEnvironmentRoleWithContext ¶
func (c *Client) CreateRocketMQEnvironmentRoleWithContext(ctx context.Context, request *CreateRocketMQEnvironmentRoleRequest) (response *CreateRocketMQEnvironmentRoleResponse, err error)
CreateRocketMQEnvironmentRole Creates environment role authorization
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEENVIRONMENTROLE = "FailedOperation.CreateEnvironmentRole" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) CreateRocketMQGroup ¶
func (c *Client) CreateRocketMQGroup(request *CreateRocketMQGroupRequest) (response *CreateRocketMQGroupResponse, err error)
CreateRocketMQGroup This API is used to create a RocketMQ consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) CreateRocketMQGroupWithContext ¶
func (c *Client) CreateRocketMQGroupWithContext(ctx context.Context, request *CreateRocketMQGroupRequest) (response *CreateRocketMQGroupResponse, err error)
CreateRocketMQGroup This API is used to create a RocketMQ consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) CreateRocketMQNamespace ¶
func (c *Client) CreateRocketMQNamespace(request *CreateRocketMQNamespaceRequest) (response *CreateRocketMQNamespaceResponse, err error)
CreateRocketMQNamespace This API is used to create a RocketMQ namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCENOTREADY = "FailedOperation.InstanceNotReady" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQNamespaceWithContext ¶
func (c *Client) CreateRocketMQNamespaceWithContext(ctx context.Context, request *CreateRocketMQNamespaceRequest) (response *CreateRocketMQNamespaceResponse, err error)
CreateRocketMQNamespace This API is used to create a RocketMQ namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCENOTREADY = "FailedOperation.InstanceNotReady" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQRole ¶
func (c *Client) CreateRocketMQRole(request *CreateRocketMQRoleRequest) (response *CreateRocketMQRoleResponse, err error)
CreateRocketMQRole This API is used to create a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" FAILEDOPERATION_CREATESECRETKEY = "FailedOperation.CreateSecretKey" FAILEDOPERATION_SAVESECRETKEY = "FailedOperation.SaveSecretKey" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_ROLE = "ResourceInUse.Role" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQRoleWithContext ¶
func (c *Client) CreateRocketMQRoleWithContext(ctx context.Context, request *CreateRocketMQRoleRequest) (response *CreateRocketMQRoleResponse, err error)
CreateRocketMQRole This API is used to create a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" FAILEDOPERATION_CREATESECRETKEY = "FailedOperation.CreateSecretKey" FAILEDOPERATION_SAVESECRETKEY = "FailedOperation.SaveSecretKey" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_ROLE = "ResourceInUse.Role" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQTopic ¶
func (c *Client) CreateRocketMQTopic(request *CreateRocketMQTopicRequest) (response *CreateRocketMQTopicResponse, err error)
CreateRocketMQTopic This API is used to create a RocketMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARTITION = "InvalidParameter.Partition" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQTopicWithContext ¶
func (c *Client) CreateRocketMQTopicWithContext(ctx context.Context, request *CreateRocketMQTopicRequest) (response *CreateRocketMQTopicResponse, err error)
CreateRocketMQTopic This API is used to create a RocketMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARTITION = "InvalidParameter.Partition" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRocketMQVipInstance ¶
func (c *Client) CreateRocketMQVipInstance(request *CreateRocketMQVipInstanceRequest) (response *CreateRocketMQVipInstanceResponse, err error)
CreateRocketMQVipInstance This API is used to create a RocketMQ Exclusive Edition instance.
error code that may be returned:
FAILEDOPERATION_CALLTRADE = "FailedOperation.CallTrade"
func (*Client) CreateRocketMQVipInstanceWithContext ¶
func (c *Client) CreateRocketMQVipInstanceWithContext(ctx context.Context, request *CreateRocketMQVipInstanceRequest) (response *CreateRocketMQVipInstanceResponse, err error)
CreateRocketMQVipInstance This API is used to create a RocketMQ Exclusive Edition instance.
error code that may be returned:
FAILEDOPERATION_CALLTRADE = "FailedOperation.CallTrade"
func (*Client) CreateRole ¶
func (c *Client) CreateRole(request *CreateRoleRequest) (response *CreateRoleResponse, err error)
CreateRole This API is used to create a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" FAILEDOPERATION_CREATESECRETKEY = "FailedOperation.CreateSecretKey" FAILEDOPERATION_SAVESECRETKEY = "FailedOperation.SaveSecretKey" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ROLE = "ResourceInUse.Role" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateRoleWithContext ¶
func (c *Client) CreateRoleWithContext(ctx context.Context, request *CreateRoleRequest) (response *CreateRoleResponse, err error)
CreateRole This API is used to create a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATEROLE = "FailedOperation.CreateRole" FAILEDOPERATION_CREATESECRETKEY = "FailedOperation.CreateSecretKey" FAILEDOPERATION_SAVESECRETKEY = "FailedOperation.SaveSecretKey" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ROLE = "ResourceInUse.Role" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateSubscription ¶
func (c *Client) CreateSubscription(request *CreateSubscriptionRequest) (response *CreateSubscriptionResponse, err error)
CreateSubscription This API is used to create a subscription to a topic.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATESUBSCRIPTION = "FailedOperation.CreateSubscription" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_REPLICATIONDESTCHECKFAILEDERROR = "FailedOperation.ReplicationDestCheckFailedError" FAILEDOPERATION_REPLICATIONSOURCECHECKFAILEDERROR = "FailedOperation.ReplicationSourceCheckFailedError" INTERNALERROR_RETRY = "InternalError.Retry" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" LIMITEXCEEDED_SUBSCRIPTIONS = "LimitExceeded.Subscriptions" LIMITEXCEEDED_TOPICS = "LimitExceeded.Topics" RESOURCEINUSE_SUBSCRIPTION = "ResourceInUse.Subscription" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateSubscriptionWithContext ¶
func (c *Client) CreateSubscriptionWithContext(ctx context.Context, request *CreateSubscriptionRequest) (response *CreateSubscriptionResponse, err error)
CreateSubscription This API is used to create a subscription to a topic.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATESUBSCRIPTION = "FailedOperation.CreateSubscription" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_REPLICATIONDESTCHECKFAILEDERROR = "FailedOperation.ReplicationDestCheckFailedError" FAILEDOPERATION_REPLICATIONSOURCECHECKFAILEDERROR = "FailedOperation.ReplicationSourceCheckFailedError" INTERNALERROR_RETRY = "InternalError.Retry" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" LIMITEXCEEDED_SUBSCRIPTIONS = "LimitExceeded.Subscriptions" LIMITEXCEEDED_TOPICS = "LimitExceeded.Topics" RESOURCEINUSE_SUBSCRIPTION = "ResourceInUse.Subscription" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) CreateTopic ¶
func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to add a message topic in the specified partition and type.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" FAILEDOPERATION_ISOLATECONSUMERENABLE = "FailedOperation.IsolateConsumerEnable" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_REPLICATIONDESTCHECKFAILEDERROR = "FailedOperation.ReplicationDestCheckFailedError" FAILEDOPERATION_REPLICATIONSOURCECHECKFAILEDERROR = "FailedOperation.ReplicationSourceCheckFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACKTIME = "InvalidParameterValue.AckTime" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" LIMITEXCEEDED_TOPICS = "LimitExceeded.Topics" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_TOPIC = "ResourceInUse.Topic" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired" UNKNOWNPARAMETER_POLICY = "UnknownParameter.Policy" UNSUPPORTEDOPERATION_TOPICUNACK = "UnsupportedOperation.TopicUnack"
func (*Client) CreateTopicWithContext ¶
func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to add a message topic in the specified partition and type.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_CREATETOPIC = "FailedOperation.CreateTopic" FAILEDOPERATION_ISOLATECONSUMERENABLE = "FailedOperation.IsolateConsumerEnable" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_REPLICATIONDESTCHECKFAILEDERROR = "FailedOperation.ReplicationDestCheckFailedError" FAILEDOPERATION_REPLICATIONSOURCECHECKFAILEDERROR = "FailedOperation.ReplicationSourceCheckFailedError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACKTIME = "InvalidParameterValue.AckTime" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" LIMITEXCEEDED_TOPICS = "LimitExceeded.Topics" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_TOPIC = "ResourceInUse.Topic" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired" UNKNOWNPARAMETER_POLICY = "UnknownParameter.Policy" UNSUPPORTEDOPERATION_TOPICUNACK = "UnsupportedOperation.TopicUnack"
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
DeleteCluster This API is used to delete a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" FAILEDOPERATION_NAMESPACEINUSE = "FailedOperation.NamespaceInUse" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_ROLEINUSE = "FailedOperation.RoleInUse" FAILEDOPERATION_VPCINUSE = "FailedOperation.VpcInUse" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteClusterWithContext ¶
func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error)
DeleteCluster This API is used to delete a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" FAILEDOPERATION_NAMESPACEINUSE = "FailedOperation.NamespaceInUse" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_ROLEINUSE = "FailedOperation.RoleInUse" FAILEDOPERATION_VPCINUSE = "FailedOperation.VpcInUse" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteCmqQueue ¶
func (c *Client) DeleteCmqQueue(request *DeleteCmqQueueRequest) (response *DeleteCmqQueueResponse, err error)
DeleteCmqQueue This API is used to delete a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteCmqQueueWithContext ¶
func (c *Client) DeleteCmqQueueWithContext(ctx context.Context, request *DeleteCmqQueueRequest) (response *DeleteCmqQueueResponse, err error)
DeleteCmqQueue This API is used to delete a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteCmqSubscribe ¶
func (c *Client) DeleteCmqSubscribe(request *DeleteCmqSubscribeRequest) (response *DeleteCmqSubscribeResponse, err error)
DeleteCmqSubscribe This API is used to delete a CMQ subscription.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETESUBSCRIPTIONS = "FailedOperation.DeleteSubscriptions" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteCmqSubscribeWithContext ¶
func (c *Client) DeleteCmqSubscribeWithContext(ctx context.Context, request *DeleteCmqSubscribeRequest) (response *DeleteCmqSubscribeResponse, err error)
DeleteCmqSubscribe This API is used to delete a CMQ subscription.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETESUBSCRIPTIONS = "FailedOperation.DeleteSubscriptions" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteCmqTopic ¶
func (c *Client) DeleteCmqTopic(request *DeleteCmqTopicRequest) (response *DeleteCmqTopicResponse, err error)
DeleteCmqTopic This API is used to delete a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteCmqTopicWithContext ¶
func (c *Client) DeleteCmqTopicWithContext(ctx context.Context, request *DeleteCmqTopicRequest) (response *DeleteCmqTopicResponse, err error)
DeleteCmqTopic This API is used to delete a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteEnvironmentRoles ¶
func (c *Client) DeleteEnvironmentRoles(request *DeleteEnvironmentRolesRequest) (response *DeleteEnvironmentRolesResponse, err error)
DeleteEnvironmentRoles This API is used to delete an environment role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEENVIRONMENTROLES = "FailedOperation.DeleteEnvironmentRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole"
func (*Client) DeleteEnvironmentRolesWithContext ¶
func (c *Client) DeleteEnvironmentRolesWithContext(ctx context.Context, request *DeleteEnvironmentRolesRequest) (response *DeleteEnvironmentRolesResponse, err error)
DeleteEnvironmentRoles This API is used to delete an environment role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEENVIRONMENTROLES = "FailedOperation.DeleteEnvironmentRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole"
func (*Client) DeleteEnvironments ¶
func (c *Client) DeleteEnvironments(request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
DeleteEnvironments This API is used to batch delete namespaces under a tenant.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_DELETEENVIRONMENTS = "FailedOperation.DeleteEnvironments" FAILEDOPERATION_DELETENAMESPACE = "FailedOperation.DeleteNamespace" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_ROLEINUSE = "FailedOperation.RoleInUse" FAILEDOPERATION_TOPICINUSE = "FailedOperation.TopicInUse" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment"
func (*Client) DeleteEnvironmentsWithContext ¶
func (c *Client) DeleteEnvironmentsWithContext(ctx context.Context, request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
DeleteEnvironments This API is used to batch delete namespaces under a tenant.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_DELETEENVIRONMENTS = "FailedOperation.DeleteEnvironments" FAILEDOPERATION_DELETENAMESPACE = "FailedOperation.DeleteNamespace" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_ROLEINUSE = "FailedOperation.RoleInUse" FAILEDOPERATION_TOPICINUSE = "FailedOperation.TopicInUse" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment"
func (*Client) DeleteProCluster ¶
func (c *Client) DeleteProCluster(request *DeleteProClusterRequest) (response *DeleteProClusterResponse, err error)
DeleteProCluster This API is used to delete a professional cluster with prepayment via API calls.
error code that may be returned:
FAILEDOPERATION_DELETECLUSTERPROTECTION = "FailedOperation.DeleteClusterProtection" FAILEDOPERATION_INSTANCECANNOTDELETE = "FailedOperation.InstanceCanNotDelete" FAILEDOPERATION_ONLINEREFUNDRESOURCENOTEXIT = "FailedOperation.OnlineRefundResourceNotExit" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteProClusterWithContext ¶
func (c *Client) DeleteProClusterWithContext(ctx context.Context, request *DeleteProClusterRequest) (response *DeleteProClusterResponse, err error)
DeleteProCluster This API is used to delete a professional cluster with prepayment via API calls.
error code that may be returned:
FAILEDOPERATION_DELETECLUSTERPROTECTION = "FailedOperation.DeleteClusterProtection" FAILEDOPERATION_INSTANCECANNOTDELETE = "FailedOperation.InstanceCanNotDelete" FAILEDOPERATION_ONLINEREFUNDRESOURCENOTEXIT = "FailedOperation.OnlineRefundResourceNotExit" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteRabbitMQBinding ¶
func (c *Client) DeleteRabbitMQBinding(request *DeleteRabbitMQBindingRequest) (response *DeleteRabbitMQBindingResponse, err error)
DeleteRabbitMQBinding This API is used to unbind RabbitMQ routing relationships.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteRabbitMQBindingWithContext ¶
func (c *Client) DeleteRabbitMQBindingWithContext(ctx context.Context, request *DeleteRabbitMQBindingRequest) (response *DeleteRabbitMQBindingResponse, err error)
DeleteRabbitMQBinding This API is used to unbind RabbitMQ routing relationships.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteRabbitMQPermission ¶
func (c *Client) DeleteRabbitMQPermission(request *DeleteRabbitMQPermissionRequest) (response *DeleteRabbitMQPermissionResponse, err error)
DeleteRabbitMQPermission This API is used to delete RabbitMQ permissions.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteRabbitMQPermissionWithContext ¶
func (c *Client) DeleteRabbitMQPermissionWithContext(ctx context.Context, request *DeleteRabbitMQPermissionRequest) (response *DeleteRabbitMQPermissionResponse, err error)
DeleteRabbitMQPermission This API is used to delete RabbitMQ permissions.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteRabbitMQUser ¶
func (c *Client) DeleteRabbitMQUser(request *DeleteRabbitMQUserRequest) (response *DeleteRabbitMQUserResponse, err error)
DeleteRabbitMQUser This API is used to delete a TDMQ for RabbitMQ user.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRabbitMQUserWithContext ¶
func (c *Client) DeleteRabbitMQUserWithContext(ctx context.Context, request *DeleteRabbitMQUserRequest) (response *DeleteRabbitMQUserResponse, err error)
DeleteRabbitMQUser This API is used to delete a TDMQ for RabbitMQ user.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRabbitMQVipInstance ¶
func (c *Client) DeleteRabbitMQVipInstance(request *DeleteRabbitMQVipInstanceRequest) (response *DeleteRabbitMQVipInstanceResponse, err error)
DeleteRabbitMQVipInstance This API is used to delete a RabbitMQ managed instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRabbitMQVipInstanceWithContext ¶
func (c *Client) DeleteRabbitMQVipInstanceWithContext(ctx context.Context, request *DeleteRabbitMQVipInstanceRequest) (response *DeleteRabbitMQVipInstanceResponse, err error)
DeleteRabbitMQVipInstance This API is used to delete a RabbitMQ managed instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRabbitMQVirtualHost ¶
func (c *Client) DeleteRabbitMQVirtualHost(request *DeleteRabbitMQVirtualHostRequest) (response *DeleteRabbitMQVirtualHostResponse, err error)
DeleteRabbitMQVirtualHost This API is used to delete a TDMQ for RabbitMQ vhost.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRabbitMQVirtualHostWithContext ¶
func (c *Client) DeleteRabbitMQVirtualHostWithContext(ctx context.Context, request *DeleteRabbitMQVirtualHostRequest) (response *DeleteRabbitMQVirtualHostResponse, err error)
DeleteRabbitMQVirtualHost This API is used to delete a TDMQ for RabbitMQ vhost.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRocketMQCluster ¶
func (c *Client) DeleteRocketMQCluster(request *DeleteRocketMQClusterRequest) (response *DeleteRocketMQClusterResponse, err error)
DeleteRocketMQCluster This API is used to delete a RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteRocketMQClusterWithContext ¶
func (c *Client) DeleteRocketMQClusterWithContext(ctx context.Context, request *DeleteRocketMQClusterRequest) (response *DeleteRocketMQClusterResponse, err error)
DeleteRocketMQCluster This API is used to delete a RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETECLUSTER = "FailedOperation.DeleteCluster" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteRocketMQEnvironmentRoles ¶
func (c *Client) DeleteRocketMQEnvironmentRoles(request *DeleteRocketMQEnvironmentRolesRequest) (response *DeleteRocketMQEnvironmentRolesResponse, err error)
DeleteRocketMQEnvironmentRoles Deletes environment role authorization
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEENVIRONMENTROLES = "FailedOperation.DeleteEnvironmentRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole"
func (*Client) DeleteRocketMQEnvironmentRolesWithContext ¶
func (c *Client) DeleteRocketMQEnvironmentRolesWithContext(ctx context.Context, request *DeleteRocketMQEnvironmentRolesRequest) (response *DeleteRocketMQEnvironmentRolesResponse, err error)
DeleteRocketMQEnvironmentRoles Deletes environment role authorization
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEENVIRONMENTROLES = "FailedOperation.DeleteEnvironmentRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole"
func (*Client) DeleteRocketMQGroup ¶
func (c *Client) DeleteRocketMQGroup(request *DeleteRocketMQGroupRequest) (response *DeleteRocketMQGroupResponse, err error)
DeleteRocketMQGroup This API is used to delete a RocketMQ consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteRocketMQGroupWithContext ¶
func (c *Client) DeleteRocketMQGroupWithContext(ctx context.Context, request *DeleteRocketMQGroupRequest) (response *DeleteRocketMQGroupResponse, err error)
DeleteRocketMQGroup This API is used to delete a RocketMQ consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DeleteRocketMQNamespace ¶
func (c *Client) DeleteRocketMQNamespace(request *DeleteRocketMQNamespaceRequest) (response *DeleteRocketMQNamespaceResponse, err error)
DeleteRocketMQNamespace This API is used to delete a RocketMQ namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ROLEINUSE = "FailedOperation.RoleInUse" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRocketMQNamespaceWithContext ¶
func (c *Client) DeleteRocketMQNamespaceWithContext(ctx context.Context, request *DeleteRocketMQNamespaceRequest) (response *DeleteRocketMQNamespaceResponse, err error)
DeleteRocketMQNamespace This API is used to delete a RocketMQ namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ROLEINUSE = "FailedOperation.RoleInUse" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRocketMQRoles ¶
func (c *Client) DeleteRocketMQRoles(request *DeleteRocketMQRolesRequest) (response *DeleteRocketMQRolesResponse, err error)
DeleteRocketMQRoles Deletes roles. Batch deletion is supported.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEROLES = "FailedOperation.DeleteRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DeleteRocketMQRolesWithContext ¶
func (c *Client) DeleteRocketMQRolesWithContext(ctx context.Context, request *DeleteRocketMQRolesRequest) (response *DeleteRocketMQRolesResponse, err error)
DeleteRocketMQRoles Deletes roles. Batch deletion is supported.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEROLES = "FailedOperation.DeleteRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DeleteRocketMQTopic ¶
func (c *Client) DeleteRocketMQTopic(request *DeleteRocketMQTopicRequest) (response *DeleteRocketMQTopicResponse, err error)
DeleteRocketMQTopic This API is used to delete a RocketMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRocketMQTopicWithContext ¶
func (c *Client) DeleteRocketMQTopicWithContext(ctx context.Context, request *DeleteRocketMQTopicRequest) (response *DeleteRocketMQTopicResponse, err error)
DeleteRocketMQTopic This API is used to delete a RocketMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRocketMQVipInstance ¶
func (c *Client) DeleteRocketMQVipInstance(request *DeleteRocketMQVipInstanceRequest) (response *DeleteRocketMQVipInstanceResponse, err error)
DeleteRocketMQVipInstance This API is used to delete a RocketMQ Exclusive Edition instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance"
func (*Client) DeleteRocketMQVipInstanceWithContext ¶
func (c *Client) DeleteRocketMQVipInstanceWithContext(ctx context.Context, request *DeleteRocketMQVipInstanceRequest) (response *DeleteRocketMQVipInstanceResponse, err error)
DeleteRocketMQVipInstance This API is used to delete a RocketMQ Exclusive Edition instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance"
func (*Client) DeleteRoles ¶
func (c *Client) DeleteRoles(request *DeleteRolesRequest) (response *DeleteRolesResponse, err error)
DeleteRoles This API is used to delete one or multiple roles.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEROLES = "FailedOperation.DeleteRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DeleteRolesWithContext ¶
func (c *Client) DeleteRolesWithContext(ctx context.Context, request *DeleteRolesRequest) (response *DeleteRolesResponse, err error)
DeleteRoles This API is used to delete one or multiple roles.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEROLES = "FailedOperation.DeleteRoles" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCEINUSE_ENVIRONMENTROLE = "ResourceInUse.EnvironmentRole" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DeleteSubscriptions ¶
func (c *Client) DeleteSubscriptions(request *DeleteSubscriptionsRequest) (response *DeleteSubscriptionsResponse, err error)
DeleteSubscriptions This API is used to delete a subscription.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETESUBSCRIPTIONS = "FailedOperation.DeleteSubscriptions" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_CONSUMERRUNNING = "OperationDenied.ConsumerRunning" RESOURCEINUSE_SUBSCRIPTION = "ResourceInUse.Subscription" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_SUBSCRIPTION = "ResourceNotFound.Subscription" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DeleteSubscriptionsWithContext ¶
func (c *Client) DeleteSubscriptionsWithContext(ctx context.Context, request *DeleteSubscriptionsRequest) (response *DeleteSubscriptionsResponse, err error)
DeleteSubscriptions This API is used to delete a subscription.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETESUBSCRIPTIONS = "FailedOperation.DeleteSubscriptions" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_CONSUMERRUNNING = "OperationDenied.ConsumerRunning" RESOURCEINUSE_SUBSCRIPTION = "ResourceInUse.Subscription" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_SUBSCRIPTION = "ResourceNotFound.Subscription" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DeleteTopics ¶
func (c *Client) DeleteTopics(request *DeleteTopicsRequest) (response *DeleteTopicsResponse, err error)
DeleteTopics This API is used to batch delete topics.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DeleteTopicsWithContext ¶
func (c *Client) DeleteTopicsWithContext(ctx context.Context, request *DeleteTopicsRequest) (response *DeleteTopicsResponse, err error)
DeleteTopics This API is used to batch delete topics.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_DELETETOPICS = "FailedOperation.DeleteTopics" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeBindClusters ¶
func (c *Client) DescribeBindClusters(request *DescribeBindClustersRequest) (response *DescribeBindClustersResponse, err error)
DescribeBindClusters This API is used to get the list of dedicated clusters bound to a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_SYSTEMUPGRADE = "ResourceUnavailable.SystemUpgrade" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBindClustersWithContext ¶
func (c *Client) DescribeBindClustersWithContext(ctx context.Context, request *DescribeBindClustersRequest) (response *DescribeBindClustersResponse, err error)
DescribeBindClusters This API is used to get the list of dedicated clusters bound to a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_SYSTEMUPGRADE = "ResourceUnavailable.SystemUpgrade" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeBindVpcs ¶
func (c *Client) DescribeBindVpcs(request *DescribeBindVpcsRequest) (response *DescribeBindVpcsResponse, err error)
DescribeBindVpcs This API is used to get the tenant-VPC binding relationship.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" INVALIDPARAMETERVALUE_NEEDMOREPARAMS = "InvalidParameterValue.NeedMoreParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeBindVpcsWithContext ¶
func (c *Client) DescribeBindVpcsWithContext(ctx context.Context, request *DescribeBindVpcsRequest) (response *DescribeBindVpcsResponse, err error)
DescribeBindVpcs This API is used to get the tenant-VPC binding relationship.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" INVALIDPARAMETERVALUE_NEEDMOREPARAMS = "InvalidParameterValue.NeedMoreParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeClusterDetail ¶
func (c *Client) DescribeClusterDetail(request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
DescribeClusterDetail This API is used to get the details of a cluster.
error code that may be returned:
RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeClusterDetailWithContext ¶
func (c *Client) DescribeClusterDetailWithContext(ctx context.Context, request *DescribeClusterDetailRequest) (response *DescribeClusterDetailResponse, err error)
DescribeClusterDetail This API is used to get the details of a cluster.
error code that may be returned:
RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeClusters ¶
func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters This API is used to get the list of clusters.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeClustersWithContext ¶
func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error)
DescribeClusters This API is used to get the list of clusters.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeCmqQueueDetail ¶
func (c *Client) DescribeCmqQueueDetail(request *DescribeCmqQueueDetailRequest) (response *DescribeCmqQueueDetailResponse, err error)
DescribeCmqQueueDetail This API is used to query the details of a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeCmqQueueDetailWithContext ¶
func (c *Client) DescribeCmqQueueDetailWithContext(ctx context.Context, request *DescribeCmqQueueDetailRequest) (response *DescribeCmqQueueDetailResponse, err error)
DescribeCmqQueueDetail This API is used to query the details of a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeCmqQueues ¶
func (c *Client) DescribeCmqQueues(request *DescribeCmqQueuesRequest) (response *DescribeCmqQueuesResponse, err error)
DescribeCmqQueues This API is used to query all CMQ queues.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeCmqQueuesWithContext ¶
func (c *Client) DescribeCmqQueuesWithContext(ctx context.Context, request *DescribeCmqQueuesRequest) (response *DescribeCmqQueuesResponse, err error)
DescribeCmqQueues This API is used to query all CMQ queues.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeCmqSubscriptionDetail ¶
func (c *Client) DescribeCmqSubscriptionDetail(request *DescribeCmqSubscriptionDetailRequest) (response *DescribeCmqSubscriptionDetailResponse, err error)
DescribeCmqSubscriptionDetail This API is used to query the CMQ subscription details.
error code that may be returned:
FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeCmqSubscriptionDetailWithContext ¶
func (c *Client) DescribeCmqSubscriptionDetailWithContext(ctx context.Context, request *DescribeCmqSubscriptionDetailRequest) (response *DescribeCmqSubscriptionDetailResponse, err error)
DescribeCmqSubscriptionDetail This API is used to query the CMQ subscription details.
error code that may be returned:
FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeCmqTopicDetail ¶
func (c *Client) DescribeCmqTopicDetail(request *DescribeCmqTopicDetailRequest) (response *DescribeCmqTopicDetailResponse, err error)
DescribeCmqTopicDetail This API is used to query the details of a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeCmqTopicDetailWithContext ¶
func (c *Client) DescribeCmqTopicDetailWithContext(ctx context.Context, request *DescribeCmqTopicDetailRequest) (response *DescribeCmqTopicDetailResponse, err error)
DescribeCmqTopicDetail This API is used to query the details of a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeCmqTopics ¶
func (c *Client) DescribeCmqTopics(request *DescribeCmqTopicsRequest) (response *DescribeCmqTopicsResponse, err error)
DescribeCmqTopics This API is used to enumerate all CMQ topics.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError"
func (*Client) DescribeCmqTopicsWithContext ¶
func (c *Client) DescribeCmqTopicsWithContext(ctx context.Context, request *DescribeCmqTopicsRequest) (response *DescribeCmqTopicsResponse, err error)
DescribeCmqTopics This API is used to enumerate all CMQ topics.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError"
func (*Client) DescribeEnvironmentAttributes ¶
func (c *Client) DescribeEnvironmentAttributes(request *DescribeEnvironmentAttributesRequest) (response *DescribeEnvironmentAttributesResponse, err error)
DescribeEnvironmentAttributes This API is used to get the attributes of the specified namespace.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_GETENVIRONMENTATTRIBUTESFAILED = "FailedOperation.GetEnvironmentAttributesFailed" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" INTERNALERROR_GETATTRIBUTESFAILED = "InternalError.GetAttributesFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment"
func (*Client) DescribeEnvironmentAttributesWithContext ¶
func (c *Client) DescribeEnvironmentAttributesWithContext(ctx context.Context, request *DescribeEnvironmentAttributesRequest) (response *DescribeEnvironmentAttributesResponse, err error)
DescribeEnvironmentAttributes This API is used to get the attributes of the specified namespace.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_GETENVIRONMENTATTRIBUTESFAILED = "FailedOperation.GetEnvironmentAttributesFailed" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" INTERNALERROR_GETATTRIBUTESFAILED = "InternalError.GetAttributesFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment"
func (*Client) DescribeEnvironmentRoles ¶
func (c *Client) DescribeEnvironmentRoles(request *DescribeEnvironmentRolesRequest) (response *DescribeEnvironmentRolesResponse, err error)
DescribeEnvironmentRoles This API is used to get the list of namespace roles.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DescribeEnvironmentRolesWithContext ¶
func (c *Client) DescribeEnvironmentRolesWithContext(ctx context.Context, request *DescribeEnvironmentRolesRequest) (response *DescribeEnvironmentRolesResponse, err error)
DescribeEnvironmentRoles This API is used to get the list of namespace roles.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DescribeEnvironments ¶
func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments This API is used to get the list of namespaces under a tenant.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeEnvironmentsWithContext ¶
func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments This API is used to get the list of namespaces under a tenant.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeMqMsgTrace ¶
func (c *Client) DescribeMqMsgTrace(request *DescribeMqMsgTraceRequest) (response *DescribeMqMsgTraceResponse, err error)
DescribeMqMsgTrace Queries message trajectory
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeMqMsgTraceWithContext ¶
func (c *Client) DescribeMqMsgTraceWithContext(ctx context.Context, request *DescribeMqMsgTraceRequest) (response *DescribeMqMsgTraceResponse, err error)
DescribeMqMsgTrace Queries message trajectory
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeMsg ¶
func (c *Client) DescribeMsg(request *DescribeMsgRequest) (response *DescribeMsgResponse, err error)
DescribeMsg This API is used to get message details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_MSG = "ResourceNotFound.Msg" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeMsgTrace ¶
func (c *Client) DescribeMsgTrace(request *DescribeMsgTraceRequest) (response *DescribeMsgTraceResponse, err error)
DescribeMsgTrace Queries message trajectory
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_MSGPRODUCELOG = "ResourceNotFound.MsgProduceLog"
func (*Client) DescribeMsgTraceWithContext ¶
func (c *Client) DescribeMsgTraceWithContext(ctx context.Context, request *DescribeMsgTraceRequest) (response *DescribeMsgTraceResponse, err error)
DescribeMsgTrace Queries message trajectory
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_MSGPRODUCELOG = "ResourceNotFound.MsgProduceLog"
func (*Client) DescribeMsgWithContext ¶
func (c *Client) DescribeMsgWithContext(ctx context.Context, request *DescribeMsgRequest) (response *DescribeMsgResponse, err error)
DescribeMsg This API is used to get message details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_MSG = "ResourceNotFound.Msg" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribePublisherSummary ¶
func (c *Client) DescribePublisherSummary(request *DescribePublisherSummaryRequest) (response *DescribePublisherSummaryResponse, err error)
DescribePublisherSummary This API is used to obtain message production overview information.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribePublisherSummaryWithContext ¶
func (c *Client) DescribePublisherSummaryWithContext(ctx context.Context, request *DescribePublisherSummaryRequest) (response *DescribePublisherSummaryResponse, err error)
DescribePublisherSummary This API is used to obtain message production overview information.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribePublishers ¶
func (c *Client) DescribePublishers(request *DescribePublishersRequest) (response *DescribePublishersResponse, err error)
DescribePublishers This API is used to obtain the list of producer information.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribePublishersWithContext ¶
func (c *Client) DescribePublishersWithContext(ctx context.Context, request *DescribePublishersRequest) (response *DescribePublishersResponse, err error)
DescribePublishers This API is used to obtain the list of producer information.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribePulsarProInstanceDetail ¶
func (c *Client) DescribePulsarProInstanceDetail(request *DescribePulsarProInstanceDetailRequest) (response *DescribePulsarProInstanceDetailResponse, err error)
DescribePulsarProInstanceDetail This API is used to obtain the information of a TDMQ for Pulsar pro cluster instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribePulsarProInstanceDetailWithContext ¶
func (c *Client) DescribePulsarProInstanceDetailWithContext(ctx context.Context, request *DescribePulsarProInstanceDetailRequest) (response *DescribePulsarProInstanceDetailResponse, err error)
DescribePulsarProInstanceDetail This API is used to obtain the information of a TDMQ for Pulsar pro cluster instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribePulsarProInstances ¶
func (c *Client) DescribePulsarProInstances(request *DescribePulsarProInstancesRequest) (response *DescribePulsarProInstancesResponse, err error)
DescribePulsarProInstances This API is used to query the list of the purchased TDMQ for Pulsar pro instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater"
func (*Client) DescribePulsarProInstancesWithContext ¶
func (c *Client) DescribePulsarProInstancesWithContext(ctx context.Context, request *DescribePulsarProInstancesRequest) (response *DescribePulsarProInstancesResponse, err error)
DescribePulsarProInstances This API is used to query the list of the purchased TDMQ for Pulsar pro instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater"
func (*Client) DescribeRabbitMQBindings ¶
func (c *Client) DescribeRabbitMQBindings(request *DescribeRabbitMQBindingsRequest) (response *DescribeRabbitMQBindingsResponse, err error)
DescribeRabbitMQBindings This API is used to query the list of RabbitMQ route relations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQBindingsWithContext ¶
func (c *Client) DescribeRabbitMQBindingsWithContext(ctx context.Context, request *DescribeRabbitMQBindingsRequest) (response *DescribeRabbitMQBindingsResponse, err error)
DescribeRabbitMQBindings This API is used to query the list of RabbitMQ route relations.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQExchanges ¶
func (c *Client) DescribeRabbitMQExchanges(request *DescribeRabbitMQExchangesRequest) (response *DescribeRabbitMQExchangesResponse, err error)
DescribeRabbitMQExchanges This API is used to query the list of TDMQ for RabbitMQ exchanges.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQExchangesWithContext ¶
func (c *Client) DescribeRabbitMQExchangesWithContext(ctx context.Context, request *DescribeRabbitMQExchangesRequest) (response *DescribeRabbitMQExchangesResponse, err error)
DescribeRabbitMQExchanges This API is used to query the list of TDMQ for RabbitMQ exchanges.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQNodeList ¶
func (c *Client) DescribeRabbitMQNodeList(request *DescribeRabbitMQNodeListRequest) (response *DescribeRabbitMQNodeListResponse, err error)
DescribeRabbitMQNodeList This API is used to query the RabbitMQ managed node list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRabbitMQNodeListWithContext ¶
func (c *Client) DescribeRabbitMQNodeListWithContext(ctx context.Context, request *DescribeRabbitMQNodeListRequest) (response *DescribeRabbitMQNodeListResponse, err error)
DescribeRabbitMQNodeList This API is used to query the RabbitMQ managed node list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRabbitMQPermission ¶
func (c *Client) DescribeRabbitMQPermission(request *DescribeRabbitMQPermissionRequest) (response *DescribeRabbitMQPermissionResponse, err error)
DescribeRabbitMQPermission This API is used to query the list of TDMQ for RabbitMQ permissions.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQPermissionWithContext ¶
func (c *Client) DescribeRabbitMQPermissionWithContext(ctx context.Context, request *DescribeRabbitMQPermissionRequest) (response *DescribeRabbitMQPermissionResponse, err error)
DescribeRabbitMQPermission This API is used to query the list of TDMQ for RabbitMQ permissions.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQQueueDetail ¶
func (c *Client) DescribeRabbitMQQueueDetail(request *DescribeRabbitMQQueueDetailRequest) (response *DescribeRabbitMQQueueDetailResponse, err error)
DescribeRabbitMQQueueDetail This API is used to query the details of RabbitMQ queues.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQQueueDetailWithContext ¶
func (c *Client) DescribeRabbitMQQueueDetailWithContext(ctx context.Context, request *DescribeRabbitMQQueueDetailRequest) (response *DescribeRabbitMQQueueDetailResponse, err error)
DescribeRabbitMQQueueDetail This API is used to query the details of RabbitMQ queues.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeRabbitMQQueues ¶
func (c *Client) DescribeRabbitMQQueues(request *DescribeRabbitMQQueuesRequest) (response *DescribeRabbitMQQueuesResponse, err error)
DescribeRabbitMQQueues This API is used to query the list of TDMQ for RabbitMQ queues.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRabbitMQQueuesWithContext ¶
func (c *Client) DescribeRabbitMQQueuesWithContext(ctx context.Context, request *DescribeRabbitMQQueuesRequest) (response *DescribeRabbitMQQueuesResponse, err error)
DescribeRabbitMQQueues This API is used to query the list of TDMQ for RabbitMQ queues.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRabbitMQUser ¶
func (c *Client) DescribeRabbitMQUser(request *DescribeRabbitMQUserRequest) (response *DescribeRabbitMQUserResponse, err error)
DescribeRabbitMQUser This API is used to query the list of TDMQ for RabbitMQ users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRabbitMQUserWithContext ¶
func (c *Client) DescribeRabbitMQUserWithContext(ctx context.Context, request *DescribeRabbitMQUserRequest) (response *DescribeRabbitMQUserResponse, err error)
DescribeRabbitMQUser This API is used to query the list of TDMQ for RabbitMQ users.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRabbitMQVipInstance ¶
func (c *Client) DescribeRabbitMQVipInstance(request *DescribeRabbitMQVipInstanceRequest) (response *DescribeRabbitMQVipInstanceResponse, err error)
DescribeRabbitMQVipInstance This API is used to obtain information about one RabbitMQ managed instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRabbitMQVipInstanceWithContext ¶
func (c *Client) DescribeRabbitMQVipInstanceWithContext(ctx context.Context, request *DescribeRabbitMQVipInstanceRequest) (response *DescribeRabbitMQVipInstanceResponse, err error)
DescribeRabbitMQVipInstance This API is used to obtain information about one RabbitMQ managed instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRabbitMQVipInstances ¶
func (c *Client) DescribeRabbitMQVipInstances(request *DescribeRabbitMQVipInstancesRequest) (response *DescribeRabbitMQVipInstancesResponse, err error)
DescribeRabbitMQVipInstances This API is used to query the RabbitMQ managed instance list of user purchases.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRabbitMQVipInstancesWithContext ¶
func (c *Client) DescribeRabbitMQVipInstancesWithContext(ctx context.Context, request *DescribeRabbitMQVipInstancesRequest) (response *DescribeRabbitMQVipInstancesResponse, err error)
DescribeRabbitMQVipInstances This API is used to query the RabbitMQ managed instance list of user purchases.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRabbitMQVirtualHost ¶
func (c *Client) DescribeRabbitMQVirtualHost(request *DescribeRabbitMQVirtualHostRequest) (response *DescribeRabbitMQVirtualHostResponse, err error)
DescribeRabbitMQVirtualHost This API is used to query the list of TDMQ for RabbitMQ vhosts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRabbitMQVirtualHostWithContext ¶
func (c *Client) DescribeRabbitMQVirtualHostWithContext(ctx context.Context, request *DescribeRabbitMQVirtualHostRequest) (response *DescribeRabbitMQVirtualHostResponse, err error)
DescribeRabbitMQVirtualHost This API is used to query the list of TDMQ for RabbitMQ vhosts.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRocketMQCluster ¶
func (c *Client) DescribeRocketMQCluster(request *DescribeRocketMQClusterRequest) (response *DescribeRocketMQClusterResponse, err error)
DescribeRocketMQCluster This API is used to get the information of a specific RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQClusterWithContext ¶
func (c *Client) DescribeRocketMQClusterWithContext(ctx context.Context, request *DescribeRocketMQClusterRequest) (response *DescribeRocketMQClusterResponse, err error)
DescribeRocketMQCluster This API is used to get the information of a specific RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQClusters ¶
func (c *Client) DescribeRocketMQClusters(request *DescribeRocketMQClustersRequest) (response *DescribeRocketMQClustersResponse, err error)
DescribeRocketMQClusters This API is used to get the list of RocketMQ clusters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRocketMQClustersWithContext ¶
func (c *Client) DescribeRocketMQClustersWithContext(ctx context.Context, request *DescribeRocketMQClustersRequest) (response *DescribeRocketMQClustersResponse, err error)
DescribeRocketMQClusters This API is used to get the list of RocketMQ clusters.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRocketMQEnvironmentRoles ¶
func (c *Client) DescribeRocketMQEnvironmentRoles(request *DescribeRocketMQEnvironmentRolesRequest) (response *DescribeRocketMQEnvironmentRolesResponse, err error)
DescribeRocketMQEnvironmentRoles Obtains the namespace role list
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DescribeRocketMQEnvironmentRolesWithContext ¶
func (c *Client) DescribeRocketMQEnvironmentRolesWithContext(ctx context.Context, request *DescribeRocketMQEnvironmentRolesRequest) (response *DescribeRocketMQEnvironmentRolesResponse, err error)
DescribeRocketMQEnvironmentRoles Obtains the namespace role list
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role"
func (*Client) DescribeRocketMQGroups ¶
func (c *Client) DescribeRocketMQGroups(request *DescribeRocketMQGroupsRequest) (response *DescribeRocketMQGroupsResponse, err error)
DescribeRocketMQGroups This API is used to get the list of RocketMQ consumer groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQGroupsWithContext ¶
func (c *Client) DescribeRocketMQGroupsWithContext(ctx context.Context, request *DescribeRocketMQGroupsRequest) (response *DescribeRocketMQGroupsResponse, err error)
DescribeRocketMQGroups This API is used to get the list of RocketMQ consumer groups.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQMsg ¶
func (c *Client) DescribeRocketMQMsg(request *DescribeRocketMQMsgRequest) (response *DescribeRocketMQMsgResponse, err error)
DescribeRocketMQMsg This API is used to query the TDMQ for RocketMQ message details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQMsgTrace ¶
func (c *Client) DescribeRocketMQMsgTrace(request *DescribeRocketMQMsgTraceRequest) (response *DescribeRocketMQMsgTraceResponse, err error)
DescribeRocketMQMsgTrace Queries message trajectory
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQMsgTraceWithContext ¶
func (c *Client) DescribeRocketMQMsgTraceWithContext(ctx context.Context, request *DescribeRocketMQMsgTraceRequest) (response *DescribeRocketMQMsgTraceResponse, err error)
DescribeRocketMQMsgTrace Queries message trajectory
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQMsgWithContext ¶
func (c *Client) DescribeRocketMQMsgWithContext(ctx context.Context, request *DescribeRocketMQMsgRequest) (response *DescribeRocketMQMsgResponse, err error)
DescribeRocketMQMsg This API is used to query the TDMQ for RocketMQ message details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQNamespaces ¶
func (c *Client) DescribeRocketMQNamespaces(request *DescribeRocketMQNamespacesRequest) (response *DescribeRocketMQNamespacesResponse, err error)
DescribeRocketMQNamespaces This API is used to get the list of RocketMQ namespaces.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQNamespacesWithContext ¶
func (c *Client) DescribeRocketMQNamespacesWithContext(ctx context.Context, request *DescribeRocketMQNamespacesRequest) (response *DescribeRocketMQNamespacesResponse, err error)
DescribeRocketMQNamespaces This API is used to get the list of RocketMQ namespaces.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQProducers ¶
func (c *Client) DescribeRocketMQProducers(request *DescribeRocketMQProducersRequest) (response *DescribeRocketMQProducersResponse, err error)
DescribeRocketMQProducers This API is used to query the producer client list under a specified topic in RocketMQ.
error code that may be returned:
RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCENOTFOUND_NAMSPACE = "ResourceNotFound.Namspace"
func (*Client) DescribeRocketMQProducersWithContext ¶
func (c *Client) DescribeRocketMQProducersWithContext(ctx context.Context, request *DescribeRocketMQProducersRequest) (response *DescribeRocketMQProducersResponse, err error)
DescribeRocketMQProducers This API is used to query the producer client list under a specified topic in RocketMQ.
error code that may be returned:
RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCENOTFOUND_NAMSPACE = "ResourceNotFound.Namspace"
func (*Client) DescribeRocketMQPublicAccessMonitorData ¶
func (c *Client) DescribeRocketMQPublicAccessMonitorData(request *DescribeRocketMQPublicAccessMonitorDataRequest) (response *DescribeRocketMQPublicAccessMonitorDataResponse, err error)
DescribeRocketMQPublicAccessMonitorData This API is used to pull public network metric monitoring data from TCOP. Currently, only inbound bandwidth and outbound bandwidth metrics from client to LB are supported.
error code that may be returned:
RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCENOTFOUND_NAMSPACE = "ResourceNotFound.Namspace"
func (*Client) DescribeRocketMQPublicAccessMonitorDataWithContext ¶
func (c *Client) DescribeRocketMQPublicAccessMonitorDataWithContext(ctx context.Context, request *DescribeRocketMQPublicAccessMonitorDataRequest) (response *DescribeRocketMQPublicAccessMonitorDataResponse, err error)
DescribeRocketMQPublicAccessMonitorData This API is used to pull public network metric monitoring data from TCOP. Currently, only inbound bandwidth and outbound bandwidth metrics from client to LB are supported.
error code that may be returned:
RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCENOTFOUND_NAMSPACE = "ResourceNotFound.Namspace"
func (*Client) DescribeRocketMQPublicAccessPoint ¶
func (c *Client) DescribeRocketMQPublicAccessPoint(request *DescribeRocketMQPublicAccessPointRequest) (response *DescribeRocketMQPublicAccessPointResponse, err error)
DescribeRocketMQPublicAccessPoint This API is used to query the public network access information of RocketMQ instances.
error code that may be returned:
RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCENOTFOUND_NAMSPACE = "ResourceNotFound.Namspace"
func (*Client) DescribeRocketMQPublicAccessPointWithContext ¶
func (c *Client) DescribeRocketMQPublicAccessPointWithContext(ctx context.Context, request *DescribeRocketMQPublicAccessPointRequest) (response *DescribeRocketMQPublicAccessPointResponse, err error)
DescribeRocketMQPublicAccessPoint This API is used to query the public network access information of RocketMQ instances.
error code that may be returned:
RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCENOTFOUND_NAMSPACE = "ResourceNotFound.Namspace"
func (*Client) DescribeRocketMQRoles ¶
func (c *Client) DescribeRocketMQRoles(request *DescribeRocketMQRolesRequest) (response *DescribeRocketMQRolesResponse, err error)
DescribeRocketMQRoles Obtains the list of roles
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQRolesWithContext ¶
func (c *Client) DescribeRocketMQRolesWithContext(ctx context.Context, request *DescribeRocketMQRolesRequest) (response *DescribeRocketMQRolesResponse, err error)
DescribeRocketMQRoles Obtains the list of roles
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopUsages ¶
func (c *Client) DescribeRocketMQTopUsages(request *DescribeRocketMQTopUsagesRequest) (response *DescribeRocketMQTopUsagesResponse, err error)
DescribeRocketMQTopUsages Used to obtain the RocketMQ metric sorting list, such as sorting topics under a cluster instance by the most occupied storage space.
error code that may be returned:
RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopUsagesWithContext ¶
func (c *Client) DescribeRocketMQTopUsagesWithContext(ctx context.Context, request *DescribeRocketMQTopUsagesRequest) (response *DescribeRocketMQTopUsagesResponse, err error)
DescribeRocketMQTopUsages Used to obtain the RocketMQ metric sorting list, such as sorting topics under a cluster instance by the most occupied storage space.
error code that may be returned:
RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopic ¶
func (c *Client) DescribeRocketMQTopic(request *DescribeRocketMQTopicRequest) (response *DescribeRocketMQTopicResponse, err error)
DescribeRocketMQTopic This API is used to obtain RocketMQ topic details.
error code that may be returned:
RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeRocketMQTopicMsgs ¶
func (c *Client) DescribeRocketMQTopicMsgs(request *DescribeRocketMQTopicMsgsRequest) (response *DescribeRocketMQTopicMsgsResponse, err error)
DescribeRocketMQTopicMsgs Query RocketMQ messages.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopicMsgsWithContext ¶
func (c *Client) DescribeRocketMQTopicMsgsWithContext(ctx context.Context, request *DescribeRocketMQTopicMsgsRequest) (response *DescribeRocketMQTopicMsgsResponse, err error)
DescribeRocketMQTopicMsgs Query RocketMQ messages.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopicStats ¶
func (c *Client) DescribeRocketMQTopicStats(request *DescribeRocketMQTopicStatsRequest) (response *DescribeRocketMQTopicStatsResponse, err error)
DescribeRocketMQTopicStats This API is used to obtain the topic production details list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopicStatsWithContext ¶
func (c *Client) DescribeRocketMQTopicStatsWithContext(ctx context.Context, request *DescribeRocketMQTopicStatsRequest) (response *DescribeRocketMQTopicStatsResponse, err error)
DescribeRocketMQTopicStats This API is used to obtain the topic production details list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopicWithContext ¶
func (c *Client) DescribeRocketMQTopicWithContext(ctx context.Context, request *DescribeRocketMQTopicRequest) (response *DescribeRocketMQTopicResponse, err error)
DescribeRocketMQTopic This API is used to obtain RocketMQ topic details.
error code that may be returned:
RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeRocketMQTopics ¶
func (c *Client) DescribeRocketMQTopics(request *DescribeRocketMQTopicsRequest) (response *DescribeRocketMQTopicsResponse, err error)
DescribeRocketMQTopics This API is used to get the list of RocketMQ topics.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQTopicsByGroup ¶
func (c *Client) DescribeRocketMQTopicsByGroup(request *DescribeRocketMQTopicsByGroupRequest) (response *DescribeRocketMQTopicsByGroupResponse, err error)
DescribeRocketMQTopicsByGroup Obtains the list of topics subscribed under a specified consumer group
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopicsByGroupWithContext ¶
func (c *Client) DescribeRocketMQTopicsByGroupWithContext(ctx context.Context, request *DescribeRocketMQTopicsByGroupRequest) (response *DescribeRocketMQTopicsByGroupResponse, err error)
DescribeRocketMQTopicsByGroup Obtains the list of topics subscribed under a specified consumer group
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRocketMQTopicsWithContext ¶
func (c *Client) DescribeRocketMQTopicsWithContext(ctx context.Context, request *DescribeRocketMQTopicsRequest) (response *DescribeRocketMQTopicsResponse, err error)
DescribeRocketMQTopics This API is used to get the list of RocketMQ topics.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQVipInstanceDetail ¶
func (c *Client) DescribeRocketMQVipInstanceDetail(request *DescribeRocketMQVipInstanceDetailRequest) (response *DescribeRocketMQVipInstanceDetailResponse, err error)
DescribeRocketMQVipInstanceDetail This API is used to get the information of a specific TDMQ for RocketMQ exclusive cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQVipInstanceDetailWithContext ¶
func (c *Client) DescribeRocketMQVipInstanceDetailWithContext(ctx context.Context, request *DescribeRocketMQVipInstanceDetailRequest) (response *DescribeRocketMQVipInstanceDetailResponse, err error)
DescribeRocketMQVipInstanceDetail This API is used to get the information of a specific TDMQ for RocketMQ exclusive cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQVipInstances ¶
func (c *Client) DescribeRocketMQVipInstances(request *DescribeRocketMQVipInstancesRequest) (response *DescribeRocketMQVipInstancesResponse, err error)
DescribeRocketMQVipInstances This API is used to query the list of the purchased TDMQ for RocketMQ exclusive instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRocketMQVipInstancesWithContext ¶
func (c *Client) DescribeRocketMQVipInstancesWithContext(ctx context.Context, request *DescribeRocketMQVipInstancesRequest) (response *DescribeRocketMQVipInstancesResponse, err error)
DescribeRocketMQVipInstances This API is used to query the list of the purchased TDMQ for RocketMQ exclusive instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ILLEGALMESSAGE = "InternalError.IllegalMessage" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeRoles ¶
func (c *Client) DescribeRoles(request *DescribeRolesRequest) (response *DescribeRolesResponse, err error)
DescribeRoles This API is used to get the list of roles.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeRolesWithContext ¶
func (c *Client) DescribeRolesWithContext(ctx context.Context, request *DescribeRolesRequest) (response *DescribeRolesResponse, err error)
DescribeRoles This API is used to get the list of roles.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) DescribeSubscriptions ¶
func (c *Client) DescribeSubscriptions(request *DescribeSubscriptionsRequest) (response *DescribeSubscriptionsResponse, err error)
DescribeSubscriptions This API is used to query the list of subscribers under the specified environment and topic.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBESUBSCRIPTION = "FailedOperation.DescribeSubscription" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeSubscriptionsWithContext ¶
func (c *Client) DescribeSubscriptionsWithContext(ctx context.Context, request *DescribeSubscriptionsRequest) (response *DescribeSubscriptionsResponse, err error)
DescribeSubscriptions This API is used to query the list of subscribers under the specified environment and topic.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DESCRIBESUBSCRIPTION = "FailedOperation.DescribeSubscription" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeTopicMsgs ¶
func (c *Client) DescribeTopicMsgs(request *DescribeTopicMsgsRequest) (response *DescribeTopicMsgsResponse, err error)
DescribeTopicMsgs This API is used to query messages.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" LIMITEXCEEDED_MSGTIME = "LimitExceeded.MsgTime" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeTopicMsgsWithContext ¶
func (c *Client) DescribeTopicMsgsWithContext(ctx context.Context, request *DescribeTopicMsgsRequest) (response *DescribeTopicMsgsResponse, err error)
DescribeTopicMsgs This API is used to query messages.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" LIMITEXCEEDED_MSGTIME = "LimitExceeded.MsgTime" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) DescribeTopics ¶
func (c *Client) DescribeTopics(request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
DescribeTopics This API is used to get the list of topics under an environment.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDADMINURL = "InvalidParameter.InvalidAdminUrl" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment"
func (*Client) DescribeTopicsWithContext ¶
func (c *Client) DescribeTopicsWithContext(ctx context.Context, request *DescribeTopicsRequest) (response *DescribeTopicsResponse, err error)
DescribeTopics This API is used to get the list of topics under an environment.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDADMINURL = "InvalidParameter.InvalidAdminUrl" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment"
func (*Client) ExportRocketMQMessageDetail ¶
func (c *Client) ExportRocketMQMessageDetail(request *ExportRocketMQMessageDetailRequest) (response *ExportRocketMQMessageDetailResponse, err error)
ExportRocketMQMessageDetail Export the RocketMQ message details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_FAILEDOPERATION = "InternalError.FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) ExportRocketMQMessageDetailWithContext ¶
func (c *Client) ExportRocketMQMessageDetailWithContext(ctx context.Context, request *ExportRocketMQMessageDetailRequest) (response *ExportRocketMQMessageDetailResponse, err error)
ExportRocketMQMessageDetail Export the RocketMQ message details.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_FAILEDOPERATION = "InternalError.FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) ModifyCluster ¶
func (c *Client) ModifyCluster(request *ModifyClusterRequest) (response *ModifyClusterResponse, err error)
ModifyCluster This API is used to update a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_MODIFYCLUSTER = "FailedOperation.ModifyCluster" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INVALIDPARAMETERVALUE_CLUSTERNAMEDUPLICATION = "InvalidParameterValue.ClusterNameDuplication" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyClusterWithContext ¶
func (c *Client) ModifyClusterWithContext(ctx context.Context, request *ModifyClusterRequest) (response *ModifyClusterResponse, err error)
ModifyCluster This API is used to update a cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_MODIFYCLUSTER = "FailedOperation.ModifyCluster" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INVALIDPARAMETERVALUE_CLUSTERNAMEDUPLICATION = "InvalidParameterValue.ClusterNameDuplication" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyCmqQueueAttribute ¶
func (c *Client) ModifyCmqQueueAttribute(request *ModifyCmqQueueAttributeRequest) (response *ModifyCmqQueueAttributeResponse, err error)
ModifyCmqQueueAttribute This API is used to modify the attributes of a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyCmqQueueAttributeWithContext ¶
func (c *Client) ModifyCmqQueueAttributeWithContext(ctx context.Context, request *ModifyCmqQueueAttributeRequest) (response *ModifyCmqQueueAttributeResponse, err error)
ModifyCmqQueueAttribute This API is used to modify the attributes of a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyCmqSubscriptionAttribute ¶
func (c *Client) ModifyCmqSubscriptionAttribute(request *ModifyCmqSubscriptionAttributeRequest) (response *ModifyCmqSubscriptionAttributeResponse, err error)
ModifyCmqSubscriptionAttribute This API is used to modify the attributes of a CMQ subscription.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyCmqSubscriptionAttributeWithContext ¶
func (c *Client) ModifyCmqSubscriptionAttributeWithContext(ctx context.Context, request *ModifyCmqSubscriptionAttributeRequest) (response *ModifyCmqSubscriptionAttributeResponse, err error)
ModifyCmqSubscriptionAttribute This API is used to modify the attributes of a CMQ subscription.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyCmqTopicAttribute ¶
func (c *Client) ModifyCmqTopicAttribute(request *ModifyCmqTopicAttributeRequest) (response *ModifyCmqTopicAttributeResponse, err error)
ModifyCmqTopicAttribute This API is used to modify the attributes of a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) ModifyCmqTopicAttributeWithContext ¶
func (c *Client) ModifyCmqTopicAttributeWithContext(ctx context.Context, request *ModifyCmqTopicAttributeRequest) (response *ModifyCmqTopicAttributeResponse, err error)
ModifyCmqTopicAttribute This API is used to modify the attributes of a CMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) ModifyEnvironmentAttributes ¶
func (c *Client) ModifyEnvironmentAttributes(request *ModifyEnvironmentAttributesRequest) (response *ModifyEnvironmentAttributesResponse, err error)
ModifyEnvironmentAttributes This API is used to modify the attributes of the specified namespace.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" FAILEDOPERATION_UPDATEENVIRONMENT = "FailedOperation.UpdateEnvironment" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" INVALIDPARAMETERVALUE_TTL = "InvalidParameterValue.TTL" LIMITEXCEEDED_RETENTIONSIZE = "LimitExceeded.RetentionSize" LIMITEXCEEDED_RETENTIONTIME = "LimitExceeded.RetentionTime" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyEnvironmentAttributesWithContext ¶
func (c *Client) ModifyEnvironmentAttributesWithContext(ctx context.Context, request *ModifyEnvironmentAttributesRequest) (response *ModifyEnvironmentAttributesResponse, err error)
ModifyEnvironmentAttributes This API is used to modify the attributes of the specified namespace.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SETRETENTIONPOLICY = "FailedOperation.SetRetentionPolicy" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" FAILEDOPERATION_UPDATEENVIRONMENT = "FailedOperation.UpdateEnvironment" INTERNALERROR_BROKERSERVICE = "InternalError.BrokerService" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" INVALIDPARAMETERVALUE_TTL = "InvalidParameterValue.TTL" LIMITEXCEEDED_RETENTIONSIZE = "LimitExceeded.RetentionSize" LIMITEXCEEDED_RETENTIONTIME = "LimitExceeded.RetentionTime" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" OPERATIONDENIED_DEFAULTENVIRONMENT = "OperationDenied.DefaultEnvironment" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENT = "ResourceNotFound.Environment" RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyEnvironmentRole ¶
func (c *Client) ModifyEnvironmentRole(request *ModifyEnvironmentRoleRequest) (response *ModifyEnvironmentRoleResponse, err error)
ModifyEnvironmentRole This API is used to modify an environment role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyEnvironmentRoleWithContext ¶
func (c *Client) ModifyEnvironmentRoleWithContext(ctx context.Context, request *ModifyEnvironmentRoleRequest) (response *ModifyEnvironmentRoleResponse, err error)
ModifyEnvironmentRole This API is used to modify an environment role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyPublicNetworkSecurityPolicy ¶
func (c *Client) ModifyPublicNetworkSecurityPolicy(request *ModifyPublicNetworkSecurityPolicyRequest) (response *ModifyPublicNetworkSecurityPolicyResponse, err error)
ModifyPublicNetworkSecurityPolicy This API is used to modify the public network security policy for pulsar Pro Edition.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_INVALIDEXISTPUBLICACCESSPOINTERROR = "FailedOperation.InvalidExistPublicAccessPointError" FAILEDOPERATION_INVALIDWHITELISTERROR = "FailedOperation.InvalidWhiteListError" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INTERNALERROR = "InternalError"
func (*Client) ModifyPublicNetworkSecurityPolicyWithContext ¶
func (c *Client) ModifyPublicNetworkSecurityPolicyWithContext(ctx context.Context, request *ModifyPublicNetworkSecurityPolicyRequest) (response *ModifyPublicNetworkSecurityPolicyResponse, err error)
ModifyPublicNetworkSecurityPolicy This API is used to modify the public network security policy for pulsar Pro Edition.
error code that may be returned:
FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_INVALIDEXISTPUBLICACCESSPOINTERROR = "FailedOperation.InvalidExistPublicAccessPointError" FAILEDOPERATION_INVALIDWHITELISTERROR = "FailedOperation.InvalidWhiteListError" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" INTERNALERROR = "InternalError"
func (*Client) ModifyRabbitMQPermission ¶
func (c *Client) ModifyRabbitMQPermission(request *ModifyRabbitMQPermissionRequest) (response *ModifyRabbitMQPermissionResponse, err error)
ModifyRabbitMQPermission This API is used to modify RabbitMQ permissions.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRabbitMQPermissionWithContext ¶
func (c *Client) ModifyRabbitMQPermissionWithContext(ctx context.Context, request *ModifyRabbitMQPermissionRequest) (response *ModifyRabbitMQPermissionResponse, err error)
ModifyRabbitMQPermission This API is used to modify RabbitMQ permissions.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRabbitMQUser ¶
func (c *Client) ModifyRabbitMQUser(request *ModifyRabbitMQUserRequest) (response *ModifyRabbitMQUserResponse, err error)
ModifyRabbitMQUser This API is used to modify a TDMQ for RabbitMQ user.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRabbitMQUserWithContext ¶
func (c *Client) ModifyRabbitMQUserWithContext(ctx context.Context, request *ModifyRabbitMQUserRequest) (response *ModifyRabbitMQUserResponse, err error)
ModifyRabbitMQUser This API is used to modify a TDMQ for RabbitMQ user.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRabbitMQVirtualHost ¶
func (c *Client) ModifyRabbitMQVirtualHost(request *ModifyRabbitMQVirtualHostRequest) (response *ModifyRabbitMQVirtualHostResponse, err error)
ModifyRabbitMQVirtualHost This API is used to modify a TDMQ for RabbitMQ vhost.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRabbitMQVirtualHostWithContext ¶
func (c *Client) ModifyRabbitMQVirtualHostWithContext(ctx context.Context, request *ModifyRabbitMQVirtualHostRequest) (response *ModifyRabbitMQVirtualHostResponse, err error)
ModifyRabbitMQVirtualHost This API is used to modify a TDMQ for RabbitMQ vhost.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRocketMQCluster ¶
func (c *Client) ModifyRocketMQCluster(request *ModifyRocketMQClusterRequest) (response *ModifyRocketMQClusterResponse, err error)
ModifyRocketMQCluster This API is used to update a RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyRocketMQClusterWithContext ¶
func (c *Client) ModifyRocketMQClusterWithContext(ctx context.Context, request *ModifyRocketMQClusterRequest) (response *ModifyRocketMQClusterResponse, err error)
ModifyRocketMQCluster This API is used to update a RocketMQ cluster.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyRocketMQEnvironmentRole ¶
func (c *Client) ModifyRocketMQEnvironmentRole(request *ModifyRocketMQEnvironmentRoleRequest) (response *ModifyRocketMQEnvironmentRoleResponse, err error)
ModifyRocketMQEnvironmentRole Modifies environment role authorization
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole"
func (*Client) ModifyRocketMQEnvironmentRoleWithContext ¶
func (c *Client) ModifyRocketMQEnvironmentRoleWithContext(ctx context.Context, request *ModifyRocketMQEnvironmentRoleRequest) (response *ModifyRocketMQEnvironmentRoleResponse, err error)
ModifyRocketMQEnvironmentRole Modifies environment role authorization
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_UPDATEENVIRONMENTROLE = "FailedOperation.UpdateEnvironmentRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ENVIRONMENTROLE = "ResourceNotFound.EnvironmentRole"
func (*Client) ModifyRocketMQGroup ¶
func (c *Client) ModifyRocketMQGroup(request *ModifyRocketMQGroupRequest) (response *ModifyRocketMQGroupResponse, err error)
ModifyRocketMQGroup This API is used to update a RocketMQ consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRocketMQGroupWithContext ¶
func (c *Client) ModifyRocketMQGroupWithContext(ctx context.Context, request *ModifyRocketMQGroupRequest) (response *ModifyRocketMQGroupResponse, err error)
ModifyRocketMQGroup This API is used to update a RocketMQ consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRocketMQInstance ¶
func (c *Client) ModifyRocketMQInstance(request *ModifyRocketMQInstanceRequest) (response *ModifyRocketMQInstanceResponse, err error)
ModifyRocketMQInstance Modify the RocketMQ dedicated instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyRocketMQInstanceSpec ¶
func (c *Client) ModifyRocketMQInstanceSpec(request *ModifyRocketMQInstanceSpecRequest) (response *ModifyRocketMQInstanceSpecResponse, err error)
ModifyRocketMQInstanceSpec This API is used to modify the configurations of a TDMQ for RocketMQ exclusive instance, including the upgrade of the instance specification, node count, and storage, and the downgrade of the instance specification. After you call this API to place the order and make payments, the configuration modification will be in progress. You can query whether the modification has been completed through the `DescribeRocketMQVipInstances` API`.
error code that may be returned:
FAILEDOPERATION_CALLTRADE = "FailedOperation.CallTrade" FAILEDOPERATION_INSTANCENOTREADY = "FailedOperation.InstanceNotReady" INVALIDPARAMETERVALUE_ATLEASTONE = "InvalidParameterValue.AtLeastOne" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" UNSUPPORTEDOPERATION_INSTANCEDOWNGRADE = "UnsupportedOperation.InstanceDowngrade"
func (*Client) ModifyRocketMQInstanceSpecWithContext ¶
func (c *Client) ModifyRocketMQInstanceSpecWithContext(ctx context.Context, request *ModifyRocketMQInstanceSpecRequest) (response *ModifyRocketMQInstanceSpecResponse, err error)
ModifyRocketMQInstanceSpec This API is used to modify the configurations of a TDMQ for RocketMQ exclusive instance, including the upgrade of the instance specification, node count, and storage, and the downgrade of the instance specification. After you call this API to place the order and make payments, the configuration modification will be in progress. You can query whether the modification has been completed through the `DescribeRocketMQVipInstances` API`.
error code that may be returned:
FAILEDOPERATION_CALLTRADE = "FailedOperation.CallTrade" FAILEDOPERATION_INSTANCENOTREADY = "FailedOperation.InstanceNotReady" INVALIDPARAMETERVALUE_ATLEASTONE = "InvalidParameterValue.AtLeastOne" RESOURCENOTFOUND_INSTANCE = "ResourceNotFound.Instance" UNSUPPORTEDOPERATION_INSTANCEDOWNGRADE = "UnsupportedOperation.InstanceDowngrade"
func (*Client) ModifyRocketMQInstanceWithContext ¶
func (c *Client) ModifyRocketMQInstanceWithContext(ctx context.Context, request *ModifyRocketMQInstanceRequest) (response *ModifyRocketMQInstanceResponse, err error)
ModifyRocketMQInstance Modify the RocketMQ dedicated instance.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyRocketMQNamespace ¶
func (c *Client) ModifyRocketMQNamespace(request *ModifyRocketMQNamespaceRequest) (response *ModifyRocketMQNamespaceResponse, err error)
ModifyRocketMQNamespace This API is used to update a RocketMQ namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyRocketMQNamespaceWithContext ¶
func (c *Client) ModifyRocketMQNamespaceWithContext(ctx context.Context, request *ModifyRocketMQNamespaceRequest) (response *ModifyRocketMQNamespaceResponse, err error)
ModifyRocketMQNamespace This API is used to update a RocketMQ namespace.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_SETTTL = "FailedOperation.SetTTL" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyRocketMQRole ¶
func (c *Client) ModifyRocketMQRole(request *ModifyRocketMQRoleRequest) (response *ModifyRocketMQRoleResponse, err error)
ModifyRocketMQRole Modifies roles
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UPDATEROLE = "FailedOperation.UpdateRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyRocketMQRoleWithContext ¶
func (c *Client) ModifyRocketMQRoleWithContext(ctx context.Context, request *ModifyRocketMQRoleRequest) (response *ModifyRocketMQRoleResponse, err error)
ModifyRocketMQRole Modifies roles
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UPDATEROLE = "FailedOperation.UpdateRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyRocketMQTopic ¶
func (c *Client) ModifyRocketMQTopic(request *ModifyRocketMQTopicRequest) (response *ModifyRocketMQTopicResponse, err error)
ModifyRocketMQTopic This API is used to update a RocketMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARTITION = "InvalidParameter.Partition" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRocketMQTopicWithContext ¶
func (c *Client) ModifyRocketMQTopicWithContext(ctx context.Context, request *ModifyRocketMQTopicRequest) (response *ModifyRocketMQTopicResponse, err error)
ModifyRocketMQTopic This API is used to update a RocketMQ topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_PARTITION = "InvalidParameter.Partition" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRole ¶
func (c *Client) ModifyRole(request *ModifyRoleRequest) (response *ModifyRoleResponse, err error)
ModifyRole This API is used to modify a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UPDATEROLE = "FailedOperation.UpdateRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyRoleWithContext ¶
func (c *Client) ModifyRoleWithContext(ctx context.Context, request *ModifyRoleRequest) (response *ModifyRoleResponse, err error)
ModifyRole This API is used to modify a role.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UPDATEROLE = "FailedOperation.UpdateRole" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_ROLE = "ResourceNotFound.Role" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ModifyTopic ¶
func (c *Client) ModifyTopic(request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
ModifyTopic This API is used to modify the topic remarks and number of partitions.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_UPDATETOPIC = "FailedOperation.UpdateTopic" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) ModifyTopicWithContext ¶
func (c *Client) ModifyTopicWithContext(ctx context.Context, request *ModifyTopicRequest) (response *ModifyTopicResponse, err error)
ModifyTopic This API is used to modify the topic remarks and number of partitions.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_UPDATETOPIC = "FailedOperation.UpdateTopic" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic"
func (*Client) PublishCmqMsg ¶
func (c *Client) PublishCmqMsg(request *PublishCmqMsgRequest) (response *PublishCmqMsgResponse, err error)
PublishCmqMsg This API is used to send a CMQ topic message.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) PublishCmqMsgWithContext ¶
func (c *Client) PublishCmqMsgWithContext(ctx context.Context, request *PublishCmqMsgRequest) (response *PublishCmqMsgResponse, err error)
PublishCmqMsg This API is used to send a CMQ topic message.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ReceiveMessage ¶
func (c *Client) ReceiveMessage(request *ReceiveMessageRequest) (response *ReceiveMessageResponse, err error)
ReceiveMessage This API is used to receive messages sent to a specified Partitioned Topic. It supports only Partitioned Topic type. When there are no messages in the Partitioned Topic but the API is still called, it throws a ReceiveTimeout exception.
This API is used to batch receive policies.
This API is used to provide the following three parameters:.
MaxNumMessages: The maximum number of messages returned by the Receive API each time when using BatchReceive.
MaxNumBytes: the maximum size of messages returned by the Receive API in a single BatchReceive operation, in bytes.
Timeout: The maximum timeout period for each Receive API call when using BatchReceive is how long, in MS.
This API is used to disable the BatchReceive feature if none of the three parameters are specified. If any one of the three parameters has a value greater than 0, BatchReceive is enabled. BatchReceive completes when reaching the threshold specified in any one of the three parameters.
Note: MaxNumMessages and MaxNumBytes are subject to the size of ReceiveQueueSize for each receipt of messages. If ReceiveQueueSize is set to 5 and MaxNumMessages is set to 10, then BatchReceive will receive at most 5 messages at once rather than 10.
This API is used to return multiple messages at one time.
This API is used to Split multiple messages with the special character '###', allowing the business side to use Split tools in different languages to separate messages after receiving them.
Multiple MessageIDs use the special character '###' to separate with each other. After receiving the message, the business side can leverage the Split tool provided by different languages to separate different messages. (Used for filling in the necessary MessageID field information when calling the AcknowledgeMessage API.).
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_SENDMESSAGETIMEOUTERROR = "FailedOperation.SendMessageTimeoutError" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) ReceiveMessageWithContext ¶
func (c *Client) ReceiveMessageWithContext(ctx context.Context, request *ReceiveMessageRequest) (response *ReceiveMessageResponse, err error)
ReceiveMessage This API is used to receive messages sent to a specified Partitioned Topic. It supports only Partitioned Topic type. When there are no messages in the Partitioned Topic but the API is still called, it throws a ReceiveTimeout exception.
This API is used to batch receive policies.
This API is used to provide the following three parameters:.
MaxNumMessages: The maximum number of messages returned by the Receive API each time when using BatchReceive.
MaxNumBytes: the maximum size of messages returned by the Receive API in a single BatchReceive operation, in bytes.
Timeout: The maximum timeout period for each Receive API call when using BatchReceive is how long, in MS.
This API is used to disable the BatchReceive feature if none of the three parameters are specified. If any one of the three parameters has a value greater than 0, BatchReceive is enabled. BatchReceive completes when reaching the threshold specified in any one of the three parameters.
Note: MaxNumMessages and MaxNumBytes are subject to the size of ReceiveQueueSize for each receipt of messages. If ReceiveQueueSize is set to 5 and MaxNumMessages is set to 10, then BatchReceive will receive at most 5 messages at once rather than 10.
This API is used to return multiple messages at one time.
This API is used to Split multiple messages with the special character '###', allowing the business side to use Split tools in different languages to separate messages after receiving them.
Multiple MessageIDs use the special character '###' to separate with each other. After receiving the message, the business side can leverage the Split tool provided by different languages to separate different messages. (Used for filling in the necessary MessageID field information when calling the AcknowledgeMessage API.).
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_SENDMESSAGETIMEOUTERROR = "FailedOperation.SendMessageTimeoutError" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) ResetMsgSubOffsetByTimestamp ¶
func (c *Client) ResetMsgSubOffsetByTimestamp(request *ResetMsgSubOffsetByTimestampRequest) (response *ResetMsgSubOffsetByTimestampResponse, err error)
ResetMsgSubOffsetByTimestamp This API is used to rewind a message by timestamp, accurate down to the millisecond.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESETMSGSUBOFFSETBYTIMESTAMPFAILED = "FailedOperation.ResetMsgSubOffsetByTimestampFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_SUBSCRIPTION = "ResourceNotFound.Subscription" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ResetMsgSubOffsetByTimestampWithContext ¶
func (c *Client) ResetMsgSubOffsetByTimestampWithContext(ctx context.Context, request *ResetMsgSubOffsetByTimestampRequest) (response *ResetMsgSubOffsetByTimestampResponse, err error)
ResetMsgSubOffsetByTimestamp This API is used to rewind a message by timestamp, accurate down to the millisecond.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESETMSGSUBOFFSETBYTIMESTAMPFAILED = "FailedOperation.ResetMsgSubOffsetByTimestampFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_BROKERCLUSTER = "ResourceNotFound.BrokerCluster" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_SUBSCRIPTION = "ResourceNotFound.Subscription" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) ResetRocketMQConsumerOffSet ¶
func (c *Client) ResetRocketMQConsumerOffSet(request *ResetRocketMQConsumerOffSetRequest) (response *ResetRocketMQConsumerOffSetResponse, err error)
ResetRocketMQConsumerOffSet This API is used to reset the consumption offset of a specified consumer group to a specified timestamp.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ResetRocketMQConsumerOffSetWithContext ¶
func (c *Client) ResetRocketMQConsumerOffSetWithContext(ctx context.Context, request *ResetRocketMQConsumerOffSetRequest) (response *ResetRocketMQConsumerOffSetResponse, err error)
ResetRocketMQConsumerOffSet This API is used to reset the consumption offset of a specified consumer group to a specified timestamp.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) RetryRocketMQDlqMessage ¶
func (c *Client) RetryRocketMQDlqMessage(request *RetryRocketMQDlqMessageRequest) (response *RetryRocketMQDlqMessageResponse, err error)
RetryRocketMQDlqMessage Resend the RocketMQ dead letter messages.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) RetryRocketMQDlqMessageWithContext ¶
func (c *Client) RetryRocketMQDlqMessageWithContext(ctx context.Context, request *RetryRocketMQDlqMessageRequest) (response *RetryRocketMQDlqMessageResponse, err error)
RetryRocketMQDlqMessage Resend the RocketMQ dead letter messages.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster"
func (*Client) RewindCmqQueue ¶
func (c *Client) RewindCmqQueue(request *RewindCmqQueueRequest) (response *RewindCmqQueueResponse, err error)
RewindCmqQueue This API is used to rewind a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) RewindCmqQueueWithContext ¶
func (c *Client) RewindCmqQueueWithContext(ctx context.Context, request *RewindCmqQueueRequest) (response *RewindCmqQueueResponse, err error)
RewindCmqQueue This API is used to rewind a CMQ queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) SendBatchMessages ¶
func (c *Client) SendBatchMessages(request *SendBatchMessagesRequest) (response *SendBatchMessagesResponse, err error)
SendBatchMessages This API is used to batch send messages.
Note: the batch message sending API in TDMQ is to package messages into a batch on the service side of TDMQ-HTTP and then send the batch as a TCP request inside the service. Therefore, when using this API, you should still follow the logic of sending a single message: each message is an independent HTTP request, and multiple HTTP requests are aggregated into one batch inside the TDMQ-HTTP service and then sent to the server; that is, batch sending messages is the same as sending a single message in terms of usage, and batch aggregation is completed inside the TDMQ-HTTP service.
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_SENDMESSAGETIMEOUTERROR = "FailedOperation.SendMessageTimeoutError" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) SendBatchMessagesWithContext ¶
func (c *Client) SendBatchMessagesWithContext(ctx context.Context, request *SendBatchMessagesRequest) (response *SendBatchMessagesResponse, err error)
SendBatchMessages This API is used to batch send messages.
Note: the batch message sending API in TDMQ is to package messages into a batch on the service side of TDMQ-HTTP and then send the batch as a TCP request inside the service. Therefore, when using this API, you should still follow the logic of sending a single message: each message is an independent HTTP request, and multiple HTTP requests are aggregated into one batch inside the TDMQ-HTTP service and then sent to the server; that is, batch sending messages is the same as sending a single message in terms of usage, and batch aggregation is completed inside the TDMQ-HTTP service.
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_SENDMESSAGETIMEOUTERROR = "FailedOperation.SendMessageTimeoutError" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) SendCmqMsg ¶
func (c *Client) SendCmqMsg(request *SendCmqMsgRequest) (response *SendCmqMsgResponse, err error)
SendCmqMsg This API is used to send a CMQ message.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) SendCmqMsgWithContext ¶
func (c *Client) SendCmqMsgWithContext(ctx context.Context, request *SendCmqMsgRequest) (response *SendCmqMsgResponse, err error)
SendCmqMsg This API is used to send a CMQ message.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) SendMessages ¶
func (c *Client) SendMessages(request *SendMessagesRequest) (response *SendMessagesResponse, err error)
SendMessages This API is used to send a single message.
The message cannot be sent to a persistent topic.
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_SENDMESSAGETIMEOUTERROR = "FailedOperation.SendMessageTimeoutError" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) SendMessagesWithContext ¶
func (c *Client) SendMessagesWithContext(ctx context.Context, request *SendMessagesRequest) (response *SendMessagesResponse, err error)
SendMessages This API is used to send a single message.
The message cannot be sent to a persistent topic.
error code that may be returned:
FAILEDOPERATION_CREATEPRODUCERERROR = "FailedOperation.CreateProducerError" FAILEDOPERATION_CREATEPULSARCLIENTERROR = "FailedOperation.CreatePulsarClientError" FAILEDOPERATION_MAXMESSAGESIZEERROR = "FailedOperation.MaxMessageSizeError" FAILEDOPERATION_MESSAGEIDERROR = "FailedOperation.MessageIDError" FAILEDOPERATION_RECEIVEERROR = "FailedOperation.ReceiveError" FAILEDOPERATION_RECEIVETIMEOUT = "FailedOperation.ReceiveTimeout" FAILEDOPERATION_SENDMESSAGETIMEOUTERROR = "FailedOperation.SendMessageTimeoutError" FAILEDOPERATION_TOPICTYPEERROR = "FailedOperation.TopicTypeError" INVALIDPARAMETER_TENANTNOTFOUND = "InvalidParameter.TenantNotFound" INVALIDPARAMETER_TOKENNOTFOUND = "InvalidParameter.TokenNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
func (*Client) SendMsg ¶
func (c *Client) SendMsg(request *SendMsgRequest) (response *SendMsgResponse, err error)
SendMsg This API is used to test message sending. It cannot be used in the production environment.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_SENDMSG = "FailedOperation.SendMsg" FAILEDOPERATION_SENDMSGFAILED = "FailedOperation.SendMsgFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) SendMsgWithContext ¶
func (c *Client) SendMsgWithContext(ctx context.Context, request *SendMsgRequest) (response *SendMsgResponse, err error)
SendMsg This API is used to test message sending. It cannot be used in the production environment.
error code that may be returned:
AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLOUDSERVICE = "FailedOperation.CloudService" FAILEDOPERATION_GETTOPICPARTITIONSFAILED = "FailedOperation.GetTopicPartitionsFailed" FAILEDOPERATION_OPERATELATER = "FailedOperation.OperateLater" FAILEDOPERATION_SENDMSG = "FailedOperation.SendMsg" FAILEDOPERATION_SENDMSGFAILED = "FailedOperation.SendMsgFailed" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE_INVALIDPARAMS = "InvalidParameterValue.InvalidParams" MISSINGPARAMETER_NEEDMOREPARAMS = "MissingParameter.NeedMoreParams" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) SendRocketMQMessage ¶
func (c *Client) SendRocketMQMessage(request *SendRocketMQMessageRequest) (response *SendRocketMQMessageResponse, err error)
SendRocketMQMessage This API is used to send messages through RocketMQ. It is only used for sending a small number of test messages from the console and does not provide SLA. Cloud API is subject to traffic throttling. In real business scenarios, use the RocketMQ SDK to send messages.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) SendRocketMQMessageWithContext ¶
func (c *Client) SendRocketMQMessageWithContext(ctx context.Context, request *SendRocketMQMessageRequest) (response *SendRocketMQMessageResponse, err error)
SendRocketMQMessage This API is used to send messages through RocketMQ. It is only used for sending a small number of test messages from the console and does not provide SLA. Cloud API is subject to traffic throttling. In real business scenarios, use the RocketMQ SDK to send messages.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND_CLUSTER = "ResourceNotFound.Cluster" RESOURCENOTFOUND_TOPIC = "ResourceNotFound.Topic" RESOURCEUNAVAILABLE_FUNDREQUIRED = "ResourceUnavailable.FundRequired"
func (*Client) SetRocketMQPublicAccessPoint ¶
func (c *Client) SetRocketMQPublicAccessPoint(request *SetRocketMQPublicAccessPointRequest) (response *SetRocketMQPublicAccessPointResponse, err error)
SetRocketMQPublicAccessPoint This API is used to enable/disable public network access, and set the security access policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SetRocketMQPublicAccessPointWithContext ¶
func (c *Client) SetRocketMQPublicAccessPointWithContext(ctx context.Context, request *SetRocketMQPublicAccessPointRequest) (response *SetRocketMQPublicAccessPointResponse, err error)
SetRocketMQPublicAccessPoint This API is used to enable/disable public network access, and set the security access policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UnbindCmqDeadLetter ¶
func (c *Client) UnbindCmqDeadLetter(request *UnbindCmqDeadLetterRequest) (response *UnbindCmqDeadLetterResponse, err error)
UnbindCmqDeadLetter This API is used to unbind a CMQ dead letter queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) UnbindCmqDeadLetterWithContext ¶
func (c *Client) UnbindCmqDeadLetterWithContext(ctx context.Context, request *UnbindCmqDeadLetterRequest) (response *UnbindCmqDeadLetterResponse, err error)
UnbindCmqDeadLetter This API is used to unbind a CMQ dead letter queue.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
type ClientSubscriptionInfo ¶
type ClientSubscriptionInfo struct {
// Client ID
ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`
// Client IP.
// Note: This field may return null, indicating that no valid values can be obtained.
ClientAddr *string `json:"ClientAddr,omitnil,omitempty" name:"ClientAddr"`
// Subscribed topic.
// Note: This field may return null, indicating that no valid values can be obtained.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Subscription expression.
// Note: This field may return null, indicating that no valid values can be obtained.
SubString *string `json:"SubString,omitnil,omitempty" name:"SubString"`
// Subscription method.
// Note: This field may return null, indicating that no valid values can be obtained.
ExpressionType *string `json:"ExpressionType,omitnil,omitempty" name:"ExpressionType"`
}
type Cluster ¶
type Cluster struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Cluster name.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Remarks.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// �Number of access points
EndPointNum *int64 `json:"EndPointNum,omitnil,omitempty" name:"EndPointNum"`
// Creation time
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Whether the cluster is healthy. 1: healthy; 0: exceptional
Healthy *int64 `json:"Healthy,omitnil,omitempty" name:"Healthy"`
// Cluster health information
// Note: this field may return null, indicating that no valid values can be obtained.
HealthyInfo *string `json:"HealthyInfo,omitnil,omitempty" name:"HealthyInfo"`
// Cluster status. 0: creating; 1: normal; 2: terminating; 3: deleted; 4. isolated; 5. creation failed; 6: deletion failed
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Maximum number of namespaces
MaxNamespaceNum *int64 `json:"MaxNamespaceNum,omitnil,omitempty" name:"MaxNamespaceNum"`
// Maximum number of topics
MaxTopicNum *int64 `json:"MaxTopicNum,omitnil,omitempty" name:"MaxTopicNum"`
// Maximum QPS
MaxQps *int64 `json:"MaxQps,omitnil,omitempty" name:"MaxQps"`
// Maximum message retention period in seconds
MessageRetentionTime *int64 `json:"MessageRetentionTime,omitnil,omitempty" name:"MessageRetentionTime"`
// Maximum storage capacity
MaxStorageCapacity *int64 `json:"MaxStorageCapacity,omitnil,omitempty" name:"MaxStorageCapacity"`
// Cluster version
// Note: this field may return null, indicating that no valid values can be obtained.
Version *string `json:"Version,omitnil,omitempty" name:"Version"`
// Public network access point
// Note: this field may return null, indicating that no valid values can be obtained.
PublicEndPoint *string `json:"PublicEndPoint,omitnil,omitempty" name:"PublicEndPoint"`
// VPC access point
// Note: this field may return null, indicating that no valid values can be obtained.
VpcEndPoint *string `json:"VpcEndPoint,omitnil,omitempty" name:"VpcEndPoint"`
// Number of namespaces
// Note: this field may return null, indicating that no valid values can be obtained.
NamespaceNum *int64 `json:"NamespaceNum,omitnil,omitempty" name:"NamespaceNum"`
// Limit of used storage in MB
// Note: this field may return null, indicating that no valid values can be obtained.
UsedStorageBudget *int64 `json:"UsedStorageBudget,omitnil,omitempty" name:"UsedStorageBudget"`
// Maximum message production rate in messages
// Note: this field may return null, indicating that no valid values can be obtained.
MaxPublishRateInMessages *int64 `json:"MaxPublishRateInMessages,omitnil,omitempty" name:"MaxPublishRateInMessages"`
// Maximum message push rate in messages
// Note: this field may return null, indicating that no valid values can be obtained.
MaxDispatchRateInMessages *int64 `json:"MaxDispatchRateInMessages,omitnil,omitempty" name:"MaxDispatchRateInMessages"`
// Maximum message production rate in bytes
// Note: this field may return null, indicating that no valid values can be obtained.
MaxPublishRateInBytes *int64 `json:"MaxPublishRateInBytes,omitnil,omitempty" name:"MaxPublishRateInBytes"`
// Maximum message push rate in bytes
// Note: this field may return null, indicating that no valid values can be obtained.
MaxDispatchRateInBytes *int64 `json:"MaxDispatchRateInBytes,omitnil,omitempty" name:"MaxDispatchRateInBytes"`
// Number of created topics
// Note: this field may return null, indicating that no valid values can be obtained.
TopicNum *int64 `json:"TopicNum,omitnil,omitempty" name:"TopicNum"`
// Maximum message delay in seconds
// Note: this field may return null, indicating that no valid values can be obtained.
MaxMessageDelayInSeconds *int64 `json:"MaxMessageDelayInSeconds,omitnil,omitempty" name:"MaxMessageDelayInSeconds"`
// Whether to enable public network access. If this parameter is left empty, the feature will be enabled by default
// Note: this field may return null, indicating that no valid values can be obtained.
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
// Tag
// Note: this field may return null, indicating that no valid values can be obtained.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Billing mode:
// `0`: Pay-as-you-go
// `1`: Monthly subscription
// Note: This field may return `null`, indicating that no valid values can be obtained.
PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Project ID.
// Note: This field may return null, indicating that no valid values can be obtained.
ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
// Project name
// Note: This field may return null, indicating that no valid values can be obtained.
ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`
// Specifies whether the pro edition instance can be upgraded.
UpgradeProInstance *bool `json:"UpgradeProInstance,omitnil,omitempty" name:"UpgradeProInstance"`
}
type CmqDeadLetterPolicy ¶
type CmqDeadLetterPolicy struct {
// Dead letter queue.
DeadLetterQueue *string `json:"DeadLetterQueue,omitnil,omitempty" name:"DeadLetterQueue"`
// Dead letter queue policy. 0: maximum number of receipt. 1: maximum unconsumed time.
Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"`
// Maximum unconsumed expiration time. Required if policy is 1. Range: 300-43,200 seconds, must be less than the maximum message retention time MsgRetentionSeconds.
MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"`
// Maximum number of receipt. required when Policy is 0. value range: 1 to 1000.
MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"`
}
type CmqDeadLetterSource ¶
type CmqDeadLetterSource struct {
// Message queue ID.
// Note: this field may return null, indicating that no valid values can be obtained.
QueueId *string `json:"QueueId,omitnil,omitempty" name:"QueueId"`
// Message queue name.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
type CmqQueue ¶
type CmqQueue struct {
// Message queue ID.
QueueId *string `json:"QueueId,omitnil,omitempty" name:"QueueId"`
// Message queue name.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Limit on the number of messages produced per second. The size of consumed messages is 1.1 times this value.
Qps *uint64 `json:"Qps,omitnil,omitempty" name:"Qps"`
// Bandwidth limit.
Bps *uint64 `json:"Bps,omitnil,omitempty" name:"Bps"`
// Specifies the maximum retention time for in-flight messages, which must be less than the message retention period.
MaxDelaySeconds *uint64 `json:"MaxDelaySeconds,omitnil,omitempty" name:"MaxDelaySeconds"`
// Maximum number of heaped messages. The value range is 1,000,000–10,000,000 during the beta test and can be 1,000,000–1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"`
// Long polling waiting time for message receipt. Value range 0-30 seconds, default value 0.
PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"`
// Message retention period. The value range is 60-1,296,000 seconds (1 min-15 days), with a default value of 345,600 seconds (4 days).
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Message visibility timeout period. The value range is 1-43,200 seconds (within 12 hours), with a default value of 30.
VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"`
// Maximum message length. Range: 1,024-1,048,576 bytes (i.e., 1K-1,024K). Default value is 65,536.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// Maximum message backtracking time for backtracking queues, range 0-43,200 seconds. 0 means message backtracking is not enabled.
RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"`
// Creation time of queues. Returns a Unix timestamp, accurate to milliseconds.
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// The last time the queue attribute was modified. Returns a Unix timestamp, accurate to milliseconds.
LastModifyTime *uint64 `json:"LastModifyTime,omitnil,omitempty" name:"LastModifyTime"`
// Total number of active messages (not being consumed) in queue, an approximate value.
ActiveMsgNum *uint64 `json:"ActiveMsgNum,omitnil,omitempty" name:"ActiveMsgNum"`
// Total number of inactive messages (being consumed) in queue, an approximate value.
InactiveMsgNum *uint64 `json:"InactiveMsgNum,omitnil,omitempty" name:"InactiveMsgNum"`
// Number of delayed messages.
// Note: this field may return null, indicating that no valid values can be obtained.
DelayMsgNum *uint64 `json:"DelayMsgNum,omitnil,omitempty" name:"DelayMsgNum"`
// Number of retained messages which have been deleted by the `DelMsg` API but are still within their rewind time range.
// Note: this field may return null, indicating that no valid values can be obtained.
RewindMsgNum *uint64 `json:"RewindMsgNum,omitnil,omitempty" name:"RewindMsgNum"`
// Minimum unconsumed time of message in seconds.
// Note: this field may return null, indicating that no valid values can be obtained.
MinMsgTime *uint64 `json:"MinMsgTime,omitnil,omitempty" name:"MinMsgTime"`
// Transaction message queue. true: transaction message type; false: other message types.
// Note: this field may return null, indicating that no valid values can be obtained.
Transaction *bool `json:"Transaction,omitnil,omitempty" name:"Transaction"`
// Dead letter queue.
// Note: this field may return null, indicating that no valid values can be obtained.
DeadLetterSource []*CmqDeadLetterSource `json:"DeadLetterSource,omitnil,omitempty" name:"DeadLetterSource"`
// Dead letter queue policy.
// Note: this field may return null, indicating that no valid values can be obtained.
DeadLetterPolicy *CmqDeadLetterPolicy `json:"DeadLetterPolicy,omitnil,omitempty" name:"DeadLetterPolicy"`
// Transaction message policy.
// Note: this field may return null, indicating that no valid values can be obtained.
TransactionPolicy *CmqTransactionPolicy `json:"TransactionPolicy,omitnil,omitempty" name:"TransactionPolicy"`
// Creator `Uin`.
// Note: this field may return null, indicating that no valid values can be obtained.
CreateUin *uint64 `json:"CreateUin,omitnil,omitempty" name:"CreateUin"`
// Associated tag.
// Note: this field may return null, indicating that no valid values can be obtained.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Message trace. true: enabled; false: not enabled
// Note: this field may return null, indicating that no valid values can be obtained.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Tenant ID
TenantId *string `json:"TenantId,omitnil,omitempty" name:"TenantId"`
// Specifies the namespace name.
NamespaceName *string `json:"NamespaceName,omitnil,omitempty" name:"NamespaceName"`
// Cluster status. 0: Creating, 1: Normal, 2: Deleting, 3: Deleted, 4: Isolating, 5: Creation failed, 6: Deletion failed
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Maximum Number of Unacknowledged Messages
MaxUnackedMsgNum *int64 `json:"MaxUnackedMsgNum,omitnil,omitempty" name:"MaxUnackedMsgNum"`
// Maximum Message Backlog Size (bytes)
MaxMsgBacklogSize *int64 `json:"MaxMsgBacklogSize,omitnil,omitempty" name:"MaxMsgBacklogSize"`
// Queue retrospective storage space. Value range: 1024 MB to 10240 MB. 0 indicates disabled.
RetentionSizeInMB *uint64 `json:"RetentionSizeInMB,omitnil,omitempty" name:"RetentionSizeInMB"`
}
type CmqSubscription ¶
type CmqSubscription struct {
// Subscription name, which must be unique under the same account and same topic in a single region. the name is a string of no more than 64 characters, beginning with a letter, and the remaining part may contain letters, numbers, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Subscription ID. The subscription ID is used when monitoring data is pulled.
SubscriptionId *string `json:"SubscriptionId,omitnil,omitempty" name:"SubscriptionId"`
// Subscription owner `APPID`.
// Note: this field may return null, indicating that no valid values can be obtained.
TopicOwner *uint64 `json:"TopicOwner,omitnil,omitempty" name:"TopicOwner"`
// The number of messages waiting for shipping for this subscription.
MsgCount *uint64 `json:"MsgCount,omitnil,omitempty" name:"MsgCount"`
// The last time the subscription attribute was modified. Returns a Unix timestamp, accurate to milliseconds.
LastModifyTime *uint64 `json:"LastModifyTime,omitnil,omitempty" name:"LastModifyTime"`
// The time when the subscription was created. Returns a Unix timestamp, accurate to milliseconds.
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Filtering policy for subscribing to and receiving messages.
// Note: this field may return null, indicating that no valid values can be obtained.
BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"`
// The endpoint that receives notifications is differentiated by protocol: For HTTP, the endpoint must start with http://, and the host can be a domain name or IP; for queue, fill in queueName.
Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"`
// Describes the filtering policy selected by users when creating subscriptions.
// filterType = 1 indicates Tag filtering when users use filterTag.
// filterType = 2 indicates user use bindingKey for filtering.
FilterTags []*string `json:"FilterTags,omitnil,omitempty" name:"FilterTags"`
// The subscription protocol, currently supports two protocols: HTTP and queue. When the HTTP protocol is used, users need to set up their own web server to accept messages. When the queue protocol is used, messages will automatically be pushed to CMQ queues, and users can pull messages concurrently.
Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// Specifies the CMQ push server retry policy when an error occurs while pushing messages to an endpoint. valid values:.
// BACKOFF_RETRY, backoff retry. retry at regular intervals, discard the message after a certain number of retries, and continue to push the next message.
// (2) EXPONENTIAL_DECAY_RETRY, EXPONENTIAL DECAY RETRY. the interval between retries increases exponentially, for example starting at 1s, followed by 2s, 4s, 8s... since the Topic message period is one day, RETRY for at most one day then discard the message. default value is EXPONENTIAL_DECAY_RETRY.
NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"`
// The format of the push content. Values: (1) JSON; (2) SIMPLIFIED, i.e., raw format. If protocol is queue, the value must be SIMPLIFIED. If protocol is HTTP, both values are acceptable, with the default being JSON.
NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"`
// Topic Name of the Subscription
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
type CmqTopic ¶
type CmqTopic struct {
// Topic ID.
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Maximum lifetime of messages in a topic. After the time specified by this parameter has elapsed since sending to this topic, the message will be deleted whether or not it has been successfully pushed to the user. Measured in seconds and fixed at one day (86,400 seconds). This attribute cannot be modified.
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Maximum message length. value range: 1024-1048576 bytes (1-1024 kb). default value: 1048576.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// Number of messages published per second.
Qps *uint64 `json:"Qps,omitnil,omitempty" name:"Qps"`
// Describes the filtering policy selected by users when creating subscriptions.
// FilterType = 1 means when users use Tag filtering with FilterTag.
// FilterType = 2 indicates user use BindingKey for filtering.
FilterType *uint64 `json:"FilterType,omitnil,omitempty" name:"FilterType"`
// Topic creation time. Returns a Unix timestamp, accurate to milliseconds.
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// The last time the topic attribute was modified. Returns a Unix timestamp, accurate to milliseconds.
LastModifyTime *uint64 `json:"LastModifyTime,omitnil,omitempty" name:"LastModifyTime"`
// Number of messages in the current topic (message backlog).
MsgCount *uint64 `json:"MsgCount,omitnil,omitempty" name:"MsgCount"`
// Creator `Uin`. The `resource` field for CAM authentication is composed of this field.
// Note: this field may return null, indicating that no valid values can be obtained.
CreateUin *uint64 `json:"CreateUin,omitnil,omitempty" name:"CreateUin"`
// Associated tag.
// Note: this field may return null, indicating that no valid values can be obtained.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Message trace. true: enabled; false: not enabled
// Note: this field may return null, indicating that no valid values can be obtained.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Tenant ID
TenantId *string `json:"TenantId,omitnil,omitempty" name:"TenantId"`
// Specifies the namespace name.
NamespaceName *string `json:"NamespaceName,omitnil,omitempty" name:"NamespaceName"`
// Cluster status. 0: Creating, 1: Normal, 2: Deleting, 3: Deleted, 4: Isolating, 5: Creation failed, 6: Deletion failed
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// 0: Pulsar, 1: RocketMQ
BrokerType *int64 `json:"BrokerType,omitnil,omitempty" name:"BrokerType"`
// Number of Subscriptions
SubscriptionCount *int64 `json:"SubscriptionCount,omitnil,omitempty" name:"SubscriptionCount"`
}
type CmqTransactionPolicy ¶
type Consumer ¶
type Consumer struct {
// The time when the consumer started connecting.
// Note: This field may return null, indicating that no valid values can be obtained.
ConnectedSince *string `json:"ConnectedSince,omitnil,omitempty" name:"ConnectedSince"`
// Consumer address.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerAddr *string `json:"ConsumerAddr,omitnil,omitempty" name:"ConsumerAddr"`
// Consumer name.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerName *string `json:"ConsumerName,omitnil,omitempty" name:"ConsumerName"`
// Consumer version.
// Note: This field may return null, indicating that no valid values can be obtained.
ClientVersion *string `json:"ClientVersion,omitnil,omitempty" name:"ClientVersion"`
// Serial number of the topic partition connected to the consumer.
// Note: This field may return null, indicating that no valid values can be obtained.
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
}
type ConsumerLog ¶
type ConsumerLog struct {
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Consumption group.
ConsumerGroup *string `json:"ConsumerGroup,omitnil,omitempty" name:"ConsumerGroup"`
// Consumer name.
ConsumerName *string `json:"ConsumerName,omitnil,omitempty" name:"ConsumerName"`
// Consumption time.
ConsumeTime *string `json:"ConsumeTime,omitnil,omitempty" name:"ConsumeTime"`
// Consumer client address.
ConsumerAddr *string `json:"ConsumerAddr,omitnil,omitempty" name:"ConsumerAddr"`
// Consumption time (milliseconds).
ConsumeUseTime *uint64 `json:"ConsumeUseTime,omitnil,omitempty" name:"ConsumeUseTime"`
// Consumption status.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}
type ConsumerLogs ¶
type ConsumerLogs struct {
// Record count.
// Note: This field may return null, indicating that no valid values can be obtained.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Consumption log.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerLogSets []*ConsumerLog `json:"ConsumerLogSets,omitnil,omitempty" name:"ConsumerLogSets"`
}
type ConsumersSchedule ¶
type ConsumersSchedule struct {
// ID of the current partition.
// Note: This field may return null, indicating that no valid values can be obtained.
Partitions *int64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// The number of messages.
// Note: This field may return null, indicating that no valid values can be obtained.
NumberOfEntries *uint64 `json:"NumberOfEntries,omitnil,omitempty" name:"NumberOfEntries"`
// The number of heaped messages.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgBacklog *uint64 `json:"MsgBacklog,omitnil,omitempty" name:"MsgBacklog"`
// The total number of messages delivered by the consumer per second.
MsgRateOut *string `json:"MsgRateOut,omitnil,omitempty" name:"MsgRateOut"`
// The size (in bytes) of messages consumed by the consumer per second.
MsgThroughputOut *string `json:"MsgThroughputOut,omitnil,omitempty" name:"MsgThroughputOut"`
// Percentage of messages discarded due to timeout.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgRateExpired *string `json:"MsgRateExpired,omitnil,omitempty" name:"MsgRateExpired"`
}
type CreateClusterRequest ¶
type CreateClusterRequest struct {
*tchttp.BaseRequest
// Specifies the cluster name, which does not support chinese characters and special characters other than hyphens and underscores, with a length of no more than 64 characters.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// ID of your dedicated physical cluster. If it is not passed in, cluster resources will be created in a public cluster by default.
BindClusterId *uint64 `json:"BindClusterId,omitnil,omitempty" name:"BindClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Cluster tag list (deprecated).
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Whether to enable public network access. If this parameter is left empty, the feature will be enabled by default
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
func NewCreateClusterRequest ¶
func NewCreateClusterRequest() (request *CreateClusterRequest)
func (*CreateClusterRequest) FromJsonString ¶
func (r *CreateClusterRequest) FromJsonString(s string) error
FromJsonString 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 CreateClusterRequestParams ¶
type CreateClusterRequestParams struct {
// Specifies the cluster name, which does not support chinese characters and special characters other than hyphens and underscores, with a length of no more than 64 characters.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// ID of your dedicated physical cluster. If it is not passed in, cluster resources will be created in a public cluster by default.
BindClusterId *uint64 `json:"BindClusterId,omitnil,omitempty" name:"BindClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Cluster tag list (deprecated).
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Whether to enable public network access. If this parameter is left empty, the feature will be enabled by default
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
Predefined struct for user
type CreateClusterResponse ¶
type CreateClusterResponse struct {
*tchttp.BaseResponse
Response *CreateClusterResponseParams `json:"Response"`
}
func NewCreateClusterResponse ¶
func NewCreateClusterResponse() (response *CreateClusterResponse)
func (*CreateClusterResponse) FromJsonString ¶
func (r *CreateClusterResponse) FromJsonString(s string) error
FromJsonString 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 CreateClusterResponseParams ¶
type CreateClusterResponseParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateCmqQueueRequest ¶
type CreateCmqQueueRequest struct {
*tchttp.BaseRequest
// Queue name, which is unique under the same account in a single region. It is a string of up to 64 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Maximum number of heaped messages. The value range is 1,000,000–10,000,000 during the beta test and can be 1,000,000–1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"`
// Long polling wait time for message reception. Value range: 0–30 seconds. Default value: 0.
PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"`
// Message visibility timeout period. Value range: 1–43200 seconds (i.e., 12 hours). Default value: 30.
VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"`
// Maximum message length. value range: 1024-1048576 Byte (1-1024K). default value: 1048576.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"`
// 1: transaction queue; 0: general queue
Transaction *uint64 `json:"Transaction,omitnil,omitempty" name:"Transaction"`
// First lookback interval
FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"`
// Maximum number of lookbacks
MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"`
// Dead letter queue name
DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"`
// Dead letter policy. 0: message has been consumed multiple times but not deleted; 1: `Time-To-Live` has elapsed
Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"`
// Maximum receipt times. Value range: 1–1000
MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"`
// Maximum period in seconds before an unconsumed message expires, which is required if `policy` is 1. Value range: 300–43200. This value should be smaller than `msgRetentionSeconds` (maximum message retention period)
MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"`
// Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Tag array.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RetentionSizeInMB *uint64 `json:"RetentionSizeInMB,omitnil,omitempty" name:"RetentionSizeInMB"`
}
func NewCreateCmqQueueRequest ¶
func NewCreateCmqQueueRequest() (request *CreateCmqQueueRequest)
func (*CreateCmqQueueRequest) FromJsonString ¶
func (r *CreateCmqQueueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCmqQueueRequest) ToJsonString ¶
func (r *CreateCmqQueueRequest) ToJsonString() string
type CreateCmqQueueRequestParams ¶
type CreateCmqQueueRequestParams struct {
// Queue name, which is unique under the same account in a single region. It is a string of up to 64 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Maximum number of heaped messages. The value range is 1,000,000–10,000,000 during the beta test and can be 1,000,000–1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"`
// Long polling wait time for message reception. Value range: 0–30 seconds. Default value: 0.
PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"`
// Message visibility timeout period. Value range: 1–43200 seconds (i.e., 12 hours). Default value: 30.
VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"`
// Maximum message length. value range: 1024-1048576 Byte (1-1024K). default value: 1048576.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"`
// 1: transaction queue; 0: general queue
Transaction *uint64 `json:"Transaction,omitnil,omitempty" name:"Transaction"`
// First lookback interval
FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"`
// Maximum number of lookbacks
MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"`
// Dead letter queue name
DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"`
// Dead letter policy. 0: message has been consumed multiple times but not deleted; 1: `Time-To-Live` has elapsed
Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"`
// Maximum receipt times. Value range: 1–1000
MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"`
// Maximum period in seconds before an unconsumed message expires, which is required if `policy` is 1. Value range: 300–43200. This value should be smaller than `msgRetentionSeconds` (maximum message retention period)
MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"`
// Whether to enable message trace. true: yes; false: no. If this field is not configured, the feature will not be enabled
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Tag array.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RetentionSizeInMB *uint64 `json:"RetentionSizeInMB,omitnil,omitempty" name:"RetentionSizeInMB"`
}
Predefined struct for user
type CreateCmqQueueResponse ¶
type CreateCmqQueueResponse struct {
*tchttp.BaseResponse
Response *CreateCmqQueueResponseParams `json:"Response"`
}
func NewCreateCmqQueueResponse ¶
func NewCreateCmqQueueResponse() (response *CreateCmqQueueResponse)
func (*CreateCmqQueueResponse) FromJsonString ¶
func (r *CreateCmqQueueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCmqQueueResponse) ToJsonString ¶
func (r *CreateCmqQueueResponse) ToJsonString() string
type CreateCmqQueueResponseParams ¶
type CreateCmqQueueResponseParams struct {
// `queueId` of a successfully created queue
QueueId *string `json:"QueueId,omitnil,omitempty" name:"QueueId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateCmqSubscribeRequest ¶
type CreateCmqSubscribeRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, uniquely identifies under the same topic of the same account in a single region. subscription name is a string of no more than 64 characters, beginning with a letter, the remaining part can contain letters, digits, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Subscription protocol. Currently, two protocols are supported: HTTP and queue. To use the HTTP protocol, you need to build your own web server to receive messages. With the queue protocol, messages are automatically pushed to a CMQ queue and you can pull them concurrently.
Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// `Endpoint` for notification receipt, which is distinguished by `Protocol`. For `http`, `Endpoint` must begin with `http://` and `host` can be a domain name or IP. For `Queue`, enter `QueueName`. Note that currently the push service cannot push messages to a VPC; therefore, if a VPC domain name or address is entered for `Endpoint`, pushed messages will not be received. Currently, messages can be pushed only to the public network and classic network.
Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"`
// CMQ push server retry policy in case an error occurs while pushing a message to `Endpoint`. Valid values: 1. BACKOFF_RETRY: backoff retry, which is to retry at a fixed interval, discard the message after a certain number of retries, and continue to push the next message; 2. EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"`
// Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not configured, no matter whether `MsgTag` is configured, the subscription will receive all messages published to the topic; 2. If the array of `FilterTag` values has a value, only when at least one of the values in the array also exists in the array of `MsgTag` values (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the array of `FilterTag` values has a value, but `MsgTag` is not configured, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
FilterTag []*string `json:"FilterTag,omitnil,omitempty" name:"FilterTag"`
// The number of `BindingKey` cannot exceed 5, and the length of each `BindingKey` cannot exceed 64 bytes. This field indicates the filtering policy for subscribing to and receiving messages. Each `BindingKey` includes up to 15 dots (namely up to 16 segments).
BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"`
// Push content format. Valid values: 1. JSON; 2. SIMPLIFIED, i.e., the raw format. If `Protocol` is `queue`, this value must be `SIMPLIFIED`. If `Protocol` is `http`, both options are acceptable, and the default value is `JSON`.
NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"`
}
func NewCreateCmqSubscribeRequest ¶
func NewCreateCmqSubscribeRequest() (request *CreateCmqSubscribeRequest)
func (*CreateCmqSubscribeRequest) FromJsonString ¶
func (r *CreateCmqSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCmqSubscribeRequest) ToJsonString ¶
func (r *CreateCmqSubscribeRequest) ToJsonString() string
type CreateCmqSubscribeRequestParams ¶
type CreateCmqSubscribeRequestParams struct {
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, uniquely identifies under the same topic of the same account in a single region. subscription name is a string of no more than 64 characters, beginning with a letter, the remaining part can contain letters, digits, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Subscription protocol. Currently, two protocols are supported: HTTP and queue. To use the HTTP protocol, you need to build your own web server to receive messages. With the queue protocol, messages are automatically pushed to a CMQ queue and you can pull them concurrently.
Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// `Endpoint` for notification receipt, which is distinguished by `Protocol`. For `http`, `Endpoint` must begin with `http://` and `host` can be a domain name or IP. For `Queue`, enter `QueueName`. Note that currently the push service cannot push messages to a VPC; therefore, if a VPC domain name or address is entered for `Endpoint`, pushed messages will not be received. Currently, messages can be pushed only to the public network and classic network.
Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"`
// CMQ push server retry policy in case an error occurs while pushing a message to `Endpoint`. Valid values: 1. BACKOFF_RETRY: backoff retry, which is to retry at a fixed interval, discard the message after a certain number of retries, and continue to push the next message; 2. EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"`
// Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not configured, no matter whether `MsgTag` is configured, the subscription will receive all messages published to the topic; 2. If the array of `FilterTag` values has a value, only when at least one of the values in the array also exists in the array of `MsgTag` values (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the array of `FilterTag` values has a value, but `MsgTag` is not configured, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
FilterTag []*string `json:"FilterTag,omitnil,omitempty" name:"FilterTag"`
// The number of `BindingKey` cannot exceed 5, and the length of each `BindingKey` cannot exceed 64 bytes. This field indicates the filtering policy for subscribing to and receiving messages. Each `BindingKey` includes up to 15 dots (namely up to 16 segments).
BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"`
// Push content format. Valid values: 1. JSON; 2. SIMPLIFIED, i.e., the raw format. If `Protocol` is `queue`, this value must be `SIMPLIFIED`. If `Protocol` is `http`, both options are acceptable, and the default value is `JSON`.
NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"`
}
Predefined struct for user
type CreateCmqSubscribeResponse ¶
type CreateCmqSubscribeResponse struct {
*tchttp.BaseResponse
Response *CreateCmqSubscribeResponseParams `json:"Response"`
}
func NewCreateCmqSubscribeResponse ¶
func NewCreateCmqSubscribeResponse() (response *CreateCmqSubscribeResponse)
func (*CreateCmqSubscribeResponse) FromJsonString ¶
func (r *CreateCmqSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCmqSubscribeResponse) ToJsonString ¶
func (r *CreateCmqSubscribeResponse) ToJsonString() string
type CreateCmqSubscribeResponseParams ¶
type CreateCmqSubscribeResponseParams struct {
// Subscription ID
SubscriptionId *string `json:"SubscriptionId,omitnil,omitempty" name:"SubscriptionId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateCmqTopicRequest ¶
type CreateCmqTopicRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Maximum message length. Value range: 1024–65536 bytes (i.e., 1–64 KB). Default value: 65536.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// Used to specify the message match policy for the topic. 1: tag match policy (default value); 2: routing match policy.
FilterType *uint64 `json:"FilterType,omitnil,omitempty" name:"FilterType"`
// Message retention period. Value range: 60–86400 seconds (i.e., 1 minute–1 day). Default value: 86400.
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Tag array.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
func NewCreateCmqTopicRequest ¶
func NewCreateCmqTopicRequest() (request *CreateCmqTopicRequest)
func (*CreateCmqTopicRequest) FromJsonString ¶
func (r *CreateCmqTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCmqTopicRequest) ToJsonString ¶
func (r *CreateCmqTopicRequest) ToJsonString() string
type CreateCmqTopicRequestParams ¶
type CreateCmqTopicRequestParams struct {
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Maximum message length. Value range: 1024–65536 bytes (i.e., 1–64 KB). Default value: 65536.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// Used to specify the message match policy for the topic. 1: tag match policy (default value); 2: routing match policy.
FilterType *uint64 `json:"FilterType,omitnil,omitempty" name:"FilterType"`
// Message retention period. Value range: 60–86400 seconds (i.e., 1 minute–1 day). Default value: 86400.
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Tag array.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateCmqTopicResponse ¶
type CreateCmqTopicResponse struct {
*tchttp.BaseResponse
Response *CreateCmqTopicResponseParams `json:"Response"`
}
func NewCreateCmqTopicResponse ¶
func NewCreateCmqTopicResponse() (response *CreateCmqTopicResponse)
func (*CreateCmqTopicResponse) FromJsonString ¶
func (r *CreateCmqTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCmqTopicResponse) ToJsonString ¶
func (r *CreateCmqTopicResponse) ToJsonString() string
type CreateCmqTopicResponseParams ¶
type CreateCmqTopicResponseParams struct {
// Topic ID
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name, which can contain up to 16 letters, digits, hyphens, and underscores.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Retention period for unconsumed messages in seconds. Value range: 60s to 1,296,000s (or 15 days).
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Message retention policy
RetentionPolicy *RetentionPolicy `json:"RetentionPolicy,omitnil,omitempty" name:"RetentionPolicy"`
// Whether to enable "Auto-Create Subscription"
AutoSubscriptionCreation *bool `json:"AutoSubscriptionCreation,omitnil,omitempty" name:"AutoSubscriptionCreation"`
}
func NewCreateEnvironmentRequest ¶
func NewCreateEnvironmentRequest() (request *CreateEnvironmentRequest)
func (*CreateEnvironmentRequest) FromJsonString ¶
func (r *CreateEnvironmentRequest) FromJsonString(s string) error
FromJsonString 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 CreateEnvironmentRequestParams ¶
type CreateEnvironmentRequestParams struct {
// Environment (namespace) name, which can contain up to 16 letters, digits, hyphens, and underscores.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Retention period for unconsumed messages in seconds. Value range: 60s to 1,296,000s (or 15 days).
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Message retention policy
RetentionPolicy *RetentionPolicy `json:"RetentionPolicy,omitnil,omitempty" name:"RetentionPolicy"`
// Whether to enable "Auto-Create Subscription"
AutoSubscriptionCreation *bool `json:"AutoSubscriptionCreation,omitnil,omitempty" name:"AutoSubscriptionCreation"`
}
Predefined struct for user
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct {
*tchttp.BaseResponse
Response *CreateEnvironmentResponseParams `json:"Response"`
}
func NewCreateEnvironmentResponse ¶
func NewCreateEnvironmentResponse() (response *CreateEnvironmentResponse)
func (*CreateEnvironmentResponse) FromJsonString ¶
func (r *CreateEnvironmentResponse) FromJsonString(s string) error
FromJsonString 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 CreateEnvironmentResponseParams ¶
type CreateEnvironmentResponseParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// TTL for unconsumed messages in seconds.
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Remarks (up to 128 characters).
// Note: this field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Namespace ID
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateEnvironmentRoleRequest ¶
type CreateEnvironmentRoleRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Permissions, which is a non-empty string array of `produce` and `consume` at the most.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewCreateEnvironmentRoleRequest ¶
func NewCreateEnvironmentRoleRequest() (request *CreateEnvironmentRoleRequest)
func (*CreateEnvironmentRoleRequest) FromJsonString ¶
func (r *CreateEnvironmentRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentRoleRequest) ToJsonString ¶
func (r *CreateEnvironmentRoleRequest) ToJsonString() string
type CreateEnvironmentRoleRequestParams ¶
type CreateEnvironmentRoleRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Permissions, which is a non-empty string array of `produce` and `consume` at the most.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type CreateEnvironmentRoleResponse ¶
type CreateEnvironmentRoleResponse struct {
*tchttp.BaseResponse
Response *CreateEnvironmentRoleResponseParams `json:"Response"`
}
func NewCreateEnvironmentRoleResponse ¶
func NewCreateEnvironmentRoleResponse() (response *CreateEnvironmentRoleResponse)
func (*CreateEnvironmentRoleResponse) FromJsonString ¶
func (r *CreateEnvironmentRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentRoleResponse) ToJsonString ¶
func (r *CreateEnvironmentRoleResponse) ToJsonString() string
type CreateEnvironmentRoleResponseParams ¶
type CreateEnvironmentRoleResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateProClusterRequest ¶
type CreateProClusterRequest struct {
*tchttp.BaseRequest
// Specifies multi-az deployment with three azs, for example [200002,200003,200004].
//
// Single-AZ deployment selects an availability zone. example: [200002].
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Cluster specification code.
// Refers to professional cluster specifications (https://www.tencentcloud.comom/document/product/1179/83705?from_cn_redirect=1).
ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`
// Specifies the storage specification.
// Refers to professional cluster specifications (https://www.tencentcloud.comom/document/product/1179/83705?from_cn_redirect=1).
StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
// `1`: true. enables automatic monthly renewal.
//
// false. disables automatic monthly renewal.
AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// Purchase duration. value range: 1–50.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Specifies the cluster name, which does not support chinese characters and special characters other than hyphens and underscores, with a length of no more than 64 characters.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Whether to automatically select voucher. valid values: 1 (yes), 0 (no). default is 0.
AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// Specifies the vpc network tag.
Vpc *VpcInfo `json:"Vpc,omitnil,omitempty" name:"Vpc"`
// Tag list of the cluster (abandoned).
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
func NewCreateProClusterRequest ¶
func NewCreateProClusterRequest() (request *CreateProClusterRequest)
func (*CreateProClusterRequest) FromJsonString ¶
func (r *CreateProClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProClusterRequest) ToJsonString ¶
func (r *CreateProClusterRequest) ToJsonString() string
type CreateProClusterRequestParams ¶
type CreateProClusterRequestParams struct {
// Specifies multi-az deployment with three azs, for example [200002,200003,200004].
//
// Single-AZ deployment selects an availability zone. example: [200002].
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Cluster specification code.
// Refers to professional cluster specifications (https://www.tencentcloud.comom/document/product/1179/83705?from_cn_redirect=1).
ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`
// Specifies the storage specification.
// Refers to professional cluster specifications (https://www.tencentcloud.comom/document/product/1179/83705?from_cn_redirect=1).
StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
// `1`: true. enables automatic monthly renewal.
//
// false. disables automatic monthly renewal.
AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// Purchase duration. value range: 1–50.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Specifies the cluster name, which does not support chinese characters and special characters other than hyphens and underscores, with a length of no more than 64 characters.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Whether to automatically select voucher. valid values: 1 (yes), 0 (no). default is 0.
AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// Specifies the vpc network tag.
Vpc *VpcInfo `json:"Vpc,omitnil,omitempty" name:"Vpc"`
// Tag list of the cluster (abandoned).
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateProClusterResponse ¶
type CreateProClusterResponse struct {
*tchttp.BaseResponse
Response *CreateProClusterResponseParams `json:"Response"`
}
func NewCreateProClusterResponse ¶
func NewCreateProClusterResponse() (response *CreateProClusterResponse)
func (*CreateProClusterResponse) FromJsonString ¶
func (r *CreateProClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProClusterResponse) ToJsonString ¶
func (r *CreateProClusterResponse) ToJsonString() string
type CreateProClusterResponseParams ¶
type CreateProClusterResponseParams struct {
// Specifies the sub-order number.
DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`
// Order ID
BigDealId *string `json:"BigDealId,omitnil,omitempty" name:"BigDealId"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Cluster name.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRabbitMQBindingRequest ¶
type CreateRabbitMQBindingRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Source exchange.
Source *string `json:"Source,omitnil,omitempty" name:"Source"`
// Target type. Valid values: queue, exchange.
DestinationType *string `json:"DestinationType,omitnil,omitempty" name:"DestinationType"`
// Target
Destination *string `json:"Destination,omitnil,omitempty" name:"Destination"`
// Routing key
RoutingKey *string `json:"RoutingKey,omitnil,omitempty" name:"RoutingKey"`
}
func NewCreateRabbitMQBindingRequest ¶
func NewCreateRabbitMQBindingRequest() (request *CreateRabbitMQBindingRequest)
func (*CreateRabbitMQBindingRequest) FromJsonString ¶
func (r *CreateRabbitMQBindingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQBindingRequest) ToJsonString ¶
func (r *CreateRabbitMQBindingRequest) ToJsonString() string
type CreateRabbitMQBindingRequestParams ¶
type CreateRabbitMQBindingRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Source exchange.
Source *string `json:"Source,omitnil,omitempty" name:"Source"`
// Target type. Valid values: queue, exchange.
DestinationType *string `json:"DestinationType,omitnil,omitempty" name:"DestinationType"`
// Target
Destination *string `json:"Destination,omitnil,omitempty" name:"Destination"`
// Routing key
RoutingKey *string `json:"RoutingKey,omitnil,omitempty" name:"RoutingKey"`
}
Predefined struct for user
type CreateRabbitMQBindingResponse ¶
type CreateRabbitMQBindingResponse struct {
*tchttp.BaseResponse
Response *CreateRabbitMQBindingResponseParams `json:"Response"`
}
func NewCreateRabbitMQBindingResponse ¶
func NewCreateRabbitMQBindingResponse() (response *CreateRabbitMQBindingResponse)
func (*CreateRabbitMQBindingResponse) FromJsonString ¶
func (r *CreateRabbitMQBindingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQBindingResponse) ToJsonString ¶
func (r *CreateRabbitMQBindingResponse) ToJsonString() string
type CreateRabbitMQBindingResponseParams ¶
type CreateRabbitMQBindingResponseParams struct {
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost name
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Routing relationship ID.
BindingId *int64 `json:"BindingId,omitnil,omitempty" name:"BindingId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRabbitMQUserRequest ¶
type CreateRabbitMQUserRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, which is used for login.
User *string `json:"User,omitnil,omitempty" name:"User"`
// Password, used when logging in. requirement: cannot be empty, 8-64 characters, must contain at least two items from lowercase letters, uppercase letters, digits, and special characters [`()~!@#$%^&*_=|{}[]:;',.?/].
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// Description
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// User tag, which defines a user's permission scope for accessing RabbitMQ Managementu.
// Valid values: `management` (Common console user), monitoring` (Console admin user), other values: Non-console user.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
// The maximum number of connections for the user. If this parameter is left empty, there's no limit for the number.
MaxConnections *int64 `json:"MaxConnections,omitnil,omitempty" name:"MaxConnections"`
// The maximum number of channels for the user. If this parameter is left empty, there's no limit for the number.
MaxChannels *int64 `json:"MaxChannels,omitnil,omitempty" name:"MaxChannels"`
}
func NewCreateRabbitMQUserRequest ¶
func NewCreateRabbitMQUserRequest() (request *CreateRabbitMQUserRequest)
func (*CreateRabbitMQUserRequest) FromJsonString ¶
func (r *CreateRabbitMQUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQUserRequest) ToJsonString ¶
func (r *CreateRabbitMQUserRequest) ToJsonString() string
type CreateRabbitMQUserRequestParams ¶
type CreateRabbitMQUserRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, which is used for login.
User *string `json:"User,omitnil,omitempty" name:"User"`
// Password, used when logging in. requirement: cannot be empty, 8-64 characters, must contain at least two items from lowercase letters, uppercase letters, digits, and special characters [`()~!@#$%^&*_=|{}[]:;',.?/].
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// Description
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// User tag, which defines a user's permission scope for accessing RabbitMQ Managementu.
// Valid values: `management` (Common console user), monitoring` (Console admin user), other values: Non-console user.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
// The maximum number of connections for the user. If this parameter is left empty, there's no limit for the number.
MaxConnections *int64 `json:"MaxConnections,omitnil,omitempty" name:"MaxConnections"`
// The maximum number of channels for the user. If this parameter is left empty, there's no limit for the number.
MaxChannels *int64 `json:"MaxChannels,omitnil,omitempty" name:"MaxChannels"`
}
Predefined struct for user
type CreateRabbitMQUserResponse ¶
type CreateRabbitMQUserResponse struct {
*tchttp.BaseResponse
Response *CreateRabbitMQUserResponseParams `json:"Response"`
}
func NewCreateRabbitMQUserResponse ¶
func NewCreateRabbitMQUserResponse() (response *CreateRabbitMQUserResponse)
func (*CreateRabbitMQUserResponse) FromJsonString ¶
func (r *CreateRabbitMQUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQUserResponse) ToJsonString ¶
func (r *CreateRabbitMQUserResponse) ToJsonString() string
type CreateRabbitMQUserResponseParams ¶
type CreateRabbitMQUserResponseParams struct {
// Username, which is used for login.
User *string `json:"User,omitnil,omitempty" name:"User"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRabbitMQVipInstanceRequest ¶
type CreateRabbitMQVipInstanceRequest struct {
*tchttp.BaseRequest
// AZ
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// vpc ID, such as vpc-xxx. valid VpcId can be obtained by logging in to the virtual private cloud console (https://console.cloud.tencent.com/vpc/vpc?rid=1) or via api call to DescribeVpcEx (https://www.tencentcloud.comom/document/api/215/1372?from_cn_redirect=1), retrieving the unVpcId field from the api response. if both VpcId and SubnetId are set to DEFAULT when creating an instance, the DEFAULT vpc network will be forcibly used.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// The subnet ID of the vpc, such as subnet-xxx. valid subnet ids can be queried by logging in to the subnet console (https://console.cloud.tencent.com/vpc/subnet?rid=1) or by calling the api [DescribeSubnets](https://www.tencentcloud.comom/document/api/215/15784?from_cn_redirect=1) and obtaining the unSubnetId field from the api response. if both SubnetId and VpcId are set to DEFAULT when creating an instance, the DEFAULT vpc network will be forcibly used.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Cluster name
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Node specification of the cluster. need to enter the corresponding specification flag.
// 2C8G:rabbit-vip-profession-2c8g
// 4C16G:rabbit-vip-profession-4c16g
// 8C32G:rabbit-vip-profession-8c32g
// 16C32G:rabbit-vip-basic-4
// 16C64G:rabbit-vip-profession-16c64g
// 2C4G:rabbit-vip-basic-5
// 4C8G:rabbit-vip-basic-1
// 8C16G (sold out): rabbit-vip-basic-2.
// Specifies the default value as 4C8G: rabbit-vip-basic-1.
NodeSpec *string `json:"NodeSpec,omitnil,omitempty" name:"NodeSpec"`
// Number of nodes, which is at least three for multi-AZ deployment. If this parameter is left empty, the value will be set to 1 for single-AZ deployment and 3 for multi-AZ deployment by default.
NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"`
// Storage capacity of a single node, which is 200 GB by default.
StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
// Whether the default image queue is enabled. true means enabled, false means not enabled. defaults to false if not specified.
EnableCreateDefaultHaMirrorQueue *bool `json:"EnableCreateDefaultHaMirrorQueue,omitnil,omitempty" name:"EnableCreateDefaultHaMirrorQueue"`
// Only applies to prepaid clusters (when PayMode parameter is 1). specifies whether the cluster is automatically renewed. true means auto-renewal is enabled. the default is true if not specified.
AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// Validity period, which is one month by default.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Payment mode. 0: postpaid, (pay-as-you-go); 1: prepaid (monthly subscription). Monthly subscription is used by default.
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Specifies the cluster edition. defaults to 3.8.30. valid values: 3.8.30, 3.11.8, 3.13.7.
ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`
// Whether the request is from the international website. Default value: false.
IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"`
// Resource tag list.
ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
// Specifies the public bandwidth size in Mbps.
Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Whether to enable public network access. If this parameter is not specified, the value is false by default.
EnablePublicAccess *bool `json:"EnablePublicAccess,omitnil,omitempty" name:"EnablePublicAccess"`
// Whether to enable cluster deletion protection. if this parameter is not specified, the value is false by default.
EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitnil,omitempty" name:"EnableDeletionProtection"`
}
func NewCreateRabbitMQVipInstanceRequest ¶
func NewCreateRabbitMQVipInstanceRequest() (request *CreateRabbitMQVipInstanceRequest)
func (*CreateRabbitMQVipInstanceRequest) FromJsonString ¶
func (r *CreateRabbitMQVipInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQVipInstanceRequest) ToJsonString ¶
func (r *CreateRabbitMQVipInstanceRequest) ToJsonString() string
type CreateRabbitMQVipInstanceRequestParams ¶
type CreateRabbitMQVipInstanceRequestParams struct {
// AZ
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// vpc ID, such as vpc-xxx. valid VpcId can be obtained by logging in to the virtual private cloud console (https://console.cloud.tencent.com/vpc/vpc?rid=1) or via api call to DescribeVpcEx (https://www.tencentcloud.comom/document/api/215/1372?from_cn_redirect=1), retrieving the unVpcId field from the api response. if both VpcId and SubnetId are set to DEFAULT when creating an instance, the DEFAULT vpc network will be forcibly used.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// The subnet ID of the vpc, such as subnet-xxx. valid subnet ids can be queried by logging in to the subnet console (https://console.cloud.tencent.com/vpc/subnet?rid=1) or by calling the api [DescribeSubnets](https://www.tencentcloud.comom/document/api/215/15784?from_cn_redirect=1) and obtaining the unSubnetId field from the api response. if both SubnetId and VpcId are set to DEFAULT when creating an instance, the DEFAULT vpc network will be forcibly used.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Cluster name
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Node specification of the cluster. need to enter the corresponding specification flag.
// 2C8G:rabbit-vip-profession-2c8g
// 4C16G:rabbit-vip-profession-4c16g
// 8C32G:rabbit-vip-profession-8c32g
// 16C32G:rabbit-vip-basic-4
// 16C64G:rabbit-vip-profession-16c64g
// 2C4G:rabbit-vip-basic-5
// 4C8G:rabbit-vip-basic-1
// 8C16G (sold out): rabbit-vip-basic-2.
// Specifies the default value as 4C8G: rabbit-vip-basic-1.
NodeSpec *string `json:"NodeSpec,omitnil,omitempty" name:"NodeSpec"`
// Number of nodes, which is at least three for multi-AZ deployment. If this parameter is left empty, the value will be set to 1 for single-AZ deployment and 3 for multi-AZ deployment by default.
NodeNum *int64 `json:"NodeNum,omitnil,omitempty" name:"NodeNum"`
// Storage capacity of a single node, which is 200 GB by default.
StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
// Whether the default image queue is enabled. true means enabled, false means not enabled. defaults to false if not specified.
EnableCreateDefaultHaMirrorQueue *bool `json:"EnableCreateDefaultHaMirrorQueue,omitnil,omitempty" name:"EnableCreateDefaultHaMirrorQueue"`
// Only applies to prepaid clusters (when PayMode parameter is 1). specifies whether the cluster is automatically renewed. true means auto-renewal is enabled. the default is true if not specified.
AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// Validity period, which is one month by default.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Payment mode. 0: postpaid, (pay-as-you-go); 1: prepaid (monthly subscription). Monthly subscription is used by default.
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Specifies the cluster edition. defaults to 3.8.30. valid values: 3.8.30, 3.11.8, 3.13.7.
ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`
// Whether the request is from the international website. Default value: false.
IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"`
// Resource tag list.
ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"`
// Specifies the public bandwidth size in Mbps.
Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Whether to enable public network access. If this parameter is not specified, the value is false by default.
EnablePublicAccess *bool `json:"EnablePublicAccess,omitnil,omitempty" name:"EnablePublicAccess"`
// Whether to enable cluster deletion protection. if this parameter is not specified, the value is false by default.
EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitnil,omitempty" name:"EnableDeletionProtection"`
}
Predefined struct for user
type CreateRabbitMQVipInstanceResponse ¶
type CreateRabbitMQVipInstanceResponse struct {
*tchttp.BaseResponse
Response *CreateRabbitMQVipInstanceResponseParams `json:"Response"`
}
func NewCreateRabbitMQVipInstanceResponse ¶
func NewCreateRabbitMQVipInstanceResponse() (response *CreateRabbitMQVipInstanceResponse)
func (*CreateRabbitMQVipInstanceResponse) FromJsonString ¶
func (r *CreateRabbitMQVipInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQVipInstanceResponse) ToJsonString ¶
func (r *CreateRabbitMQVipInstanceResponse) ToJsonString() string
type CreateRabbitMQVipInstanceResponseParams ¶
type CreateRabbitMQVipInstanceResponseParams struct {
// Order ID.
TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"`
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRabbitMQVirtualHostRequest ¶
type CreateRabbitMQVirtualHostRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost name
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Description
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// Message trace flag. Valid values: `true` (Enabled), `false` (Disabled, which is the default value).
TraceFlag *bool `json:"TraceFlag,omitnil,omitempty" name:"TraceFlag"`
// Whether to create an image queue policy. Default value: true.
MirrorQueuePolicyFlag *bool `json:"MirrorQueuePolicyFlag,omitnil,omitempty" name:"MirrorQueuePolicyFlag"`
}
func NewCreateRabbitMQVirtualHostRequest ¶
func NewCreateRabbitMQVirtualHostRequest() (request *CreateRabbitMQVirtualHostRequest)
func (*CreateRabbitMQVirtualHostRequest) FromJsonString ¶
func (r *CreateRabbitMQVirtualHostRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQVirtualHostRequest) ToJsonString ¶
func (r *CreateRabbitMQVirtualHostRequest) ToJsonString() string
type CreateRabbitMQVirtualHostRequestParams ¶
type CreateRabbitMQVirtualHostRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost name
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Description
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// Message trace flag. Valid values: `true` (Enabled), `false` (Disabled, which is the default value).
TraceFlag *bool `json:"TraceFlag,omitnil,omitempty" name:"TraceFlag"`
// Whether to create an image queue policy. Default value: true.
MirrorQueuePolicyFlag *bool `json:"MirrorQueuePolicyFlag,omitnil,omitempty" name:"MirrorQueuePolicyFlag"`
}
Predefined struct for user
type CreateRabbitMQVirtualHostResponse ¶
type CreateRabbitMQVirtualHostResponse struct {
*tchttp.BaseResponse
Response *CreateRabbitMQVirtualHostResponseParams `json:"Response"`
}
func NewCreateRabbitMQVirtualHostResponse ¶
func NewCreateRabbitMQVirtualHostResponse() (response *CreateRabbitMQVirtualHostResponse)
func (*CreateRabbitMQVirtualHostResponse) FromJsonString ¶
func (r *CreateRabbitMQVirtualHostResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRabbitMQVirtualHostResponse) ToJsonString ¶
func (r *CreateRabbitMQVirtualHostResponse) ToJsonString() string
type CreateRabbitMQVirtualHostResponseParams ¶
type CreateRabbitMQVirtualHostResponseParams struct {
// Vhost name
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRocketMQClusterRequest ¶
type CreateRocketMQClusterRequest struct {
*tchttp.BaseRequest
// Cluster name, which can contain 3–64 letters, digits, hyphens, and underscores
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Cluster description (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Tag list
TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"`
}
func NewCreateRocketMQClusterRequest ¶
func NewCreateRocketMQClusterRequest() (request *CreateRocketMQClusterRequest)
func (*CreateRocketMQClusterRequest) FromJsonString ¶
func (r *CreateRocketMQClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQClusterRequest) ToJsonString ¶
func (r *CreateRocketMQClusterRequest) ToJsonString() string
type CreateRocketMQClusterRequestParams ¶
type CreateRocketMQClusterRequestParams struct {
// Cluster name, which can contain 3–64 letters, digits, hyphens, and underscores
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Cluster description (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Tag list
TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"`
}
Predefined struct for user
type CreateRocketMQClusterResponse ¶
type CreateRocketMQClusterResponse struct {
*tchttp.BaseResponse
Response *CreateRocketMQClusterResponseParams `json:"Response"`
}
func NewCreateRocketMQClusterResponse ¶
func NewCreateRocketMQClusterResponse() (response *CreateRocketMQClusterResponse)
func (*CreateRocketMQClusterResponse) FromJsonString ¶
func (r *CreateRocketMQClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQClusterResponse) ToJsonString ¶
func (r *CreateRocketMQClusterResponse) ToJsonString() string
type CreateRocketMQClusterResponseParams ¶
type CreateRocketMQClusterResponseParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRocketMQEnvironmentRoleRequest ¶
type CreateRocketMQEnvironmentRoleRequest struct {
*tchttp.BaseRequest
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Authorization item, which can contain a non-empty character array of up to 2 items including produce and consume.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Permission configuration for topic and group dimensions.
DetailedPerms []*DetailedRolePerm `json:"DetailedPerms,omitnil,omitempty" name:"DetailedPerms"`
}
func NewCreateRocketMQEnvironmentRoleRequest ¶
func NewCreateRocketMQEnvironmentRoleRequest() (request *CreateRocketMQEnvironmentRoleRequest)
func (*CreateRocketMQEnvironmentRoleRequest) FromJsonString ¶
func (r *CreateRocketMQEnvironmentRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQEnvironmentRoleRequest) ToJsonString ¶
func (r *CreateRocketMQEnvironmentRoleRequest) ToJsonString() string
type CreateRocketMQEnvironmentRoleRequestParams ¶
type CreateRocketMQEnvironmentRoleRequestParams struct {
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Authorization item, which can contain a non-empty character array of up to 2 items including produce and consume.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Permission configuration for topic and group dimensions.
DetailedPerms []*DetailedRolePerm `json:"DetailedPerms,omitnil,omitempty" name:"DetailedPerms"`
}
Predefined struct for user
type CreateRocketMQEnvironmentRoleResponse ¶
type CreateRocketMQEnvironmentRoleResponse struct {
*tchttp.BaseResponse
Response *CreateRocketMQEnvironmentRoleResponseParams `json:"Response"`
}
func NewCreateRocketMQEnvironmentRoleResponse ¶
func NewCreateRocketMQEnvironmentRoleResponse() (response *CreateRocketMQEnvironmentRoleResponse)
func (*CreateRocketMQEnvironmentRoleResponse) FromJsonString ¶
func (r *CreateRocketMQEnvironmentRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQEnvironmentRoleResponse) ToJsonString ¶
func (r *CreateRocketMQEnvironmentRoleResponse) ToJsonString() string
type CreateRocketMQEnvironmentRoleResponseParams ¶
type CreateRocketMQEnvironmentRoleResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRocketMQGroupRequest ¶
type CreateRocketMQGroupRequest struct {
*tchttp.BaseRequest
// Group name (8–64 characters)
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Namespace. Currently, only one namespace is supported
Namespaces []*string `json:"Namespaces,omitnil,omitempty" name:"Namespaces"`
// Whether to enable consumption
ReadEnable *bool `json:"ReadEnable,omitnil,omitempty" name:"ReadEnable"`
// Whether to enable broadcast consumption
BroadcastEnable *bool `json:"BroadcastEnable,omitnil,omitempty" name:"BroadcastEnable"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Group type (`TCP`, `HTTP`)
GroupType *string `json:"GroupType,omitnil,omitempty" name:"GroupType"`
// The maximum number of retries for a group
RetryMaxTimes *uint64 `json:"RetryMaxTimes,omitnil,omitempty" name:"RetryMaxTimes"`
}
func NewCreateRocketMQGroupRequest ¶
func NewCreateRocketMQGroupRequest() (request *CreateRocketMQGroupRequest)
func (*CreateRocketMQGroupRequest) FromJsonString ¶
func (r *CreateRocketMQGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQGroupRequest) ToJsonString ¶
func (r *CreateRocketMQGroupRequest) ToJsonString() string
type CreateRocketMQGroupRequestParams ¶
type CreateRocketMQGroupRequestParams struct {
// Group name (8–64 characters)
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Namespace. Currently, only one namespace is supported
Namespaces []*string `json:"Namespaces,omitnil,omitempty" name:"Namespaces"`
// Whether to enable consumption
ReadEnable *bool `json:"ReadEnable,omitnil,omitempty" name:"ReadEnable"`
// Whether to enable broadcast consumption
BroadcastEnable *bool `json:"BroadcastEnable,omitnil,omitempty" name:"BroadcastEnable"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Group type (`TCP`, `HTTP`)
GroupType *string `json:"GroupType,omitnil,omitempty" name:"GroupType"`
// The maximum number of retries for a group
RetryMaxTimes *uint64 `json:"RetryMaxTimes,omitnil,omitempty" name:"RetryMaxTimes"`
}
Predefined struct for user
type CreateRocketMQGroupResponse ¶
type CreateRocketMQGroupResponse struct {
*tchttp.BaseResponse
Response *CreateRocketMQGroupResponseParams `json:"Response"`
}
func NewCreateRocketMQGroupResponse ¶
func NewCreateRocketMQGroupResponse() (response *CreateRocketMQGroupResponse)
func (*CreateRocketMQGroupResponse) FromJsonString ¶
func (r *CreateRocketMQGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQGroupResponse) ToJsonString ¶
func (r *CreateRocketMQGroupResponse) ToJsonString() string
type CreateRocketMQGroupResponseParams ¶
type CreateRocketMQGroupResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRocketMQNamespaceRequest ¶
type CreateRocketMQNamespaceRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name, which can contain 3–64 letters, digits, hyphens, and underscores
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// This parameter is disused.
Ttl *uint64 `json:"Ttl,omitnil,omitempty" name:"Ttl"`
// This parameter is disused.
RetentionTime *uint64 `json:"RetentionTime,omitnil,omitempty" name:"RetentionTime"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}
func NewCreateRocketMQNamespaceRequest ¶
func NewCreateRocketMQNamespaceRequest() (request *CreateRocketMQNamespaceRequest)
func (*CreateRocketMQNamespaceRequest) FromJsonString ¶
func (r *CreateRocketMQNamespaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQNamespaceRequest) ToJsonString ¶
func (r *CreateRocketMQNamespaceRequest) ToJsonString() string
type CreateRocketMQNamespaceRequestParams ¶
type CreateRocketMQNamespaceRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name, which can contain 3–64 letters, digits, hyphens, and underscores
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// This parameter is disused.
Ttl *uint64 `json:"Ttl,omitnil,omitempty" name:"Ttl"`
// This parameter is disused.
RetentionTime *uint64 `json:"RetentionTime,omitnil,omitempty" name:"RetentionTime"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}
Predefined struct for user
type CreateRocketMQNamespaceResponse ¶
type CreateRocketMQNamespaceResponse struct {
*tchttp.BaseResponse
Response *CreateRocketMQNamespaceResponseParams `json:"Response"`
}
func NewCreateRocketMQNamespaceResponse ¶
func NewCreateRocketMQNamespaceResponse() (response *CreateRocketMQNamespaceResponse)
func (*CreateRocketMQNamespaceResponse) FromJsonString ¶
func (r *CreateRocketMQNamespaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQNamespaceResponse) ToJsonString ¶
func (r *CreateRocketMQNamespaceResponse) ToJsonString() string
type CreateRocketMQNamespaceResponseParams ¶
type CreateRocketMQNamespaceResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRocketMQRoleRequest ¶
type CreateRocketMQRoleRequest struct {
*tchttp.BaseRequest
// Role name. Does not support Chinese characters and special characters other than hyphens (-) and underscores (_), and must be greater than 0 and less than or equal to 32 in length.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remark description. Length must be greater than or equal to 0 and less than or equal to 128.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Role authorization type (cluster: Cluster; topic or consumer group: TopicAndGroup).
PermType *string `json:"PermType,omitnil,omitempty" name:"PermType"`
}
func NewCreateRocketMQRoleRequest ¶
func NewCreateRocketMQRoleRequest() (request *CreateRocketMQRoleRequest)
func (*CreateRocketMQRoleRequest) FromJsonString ¶
func (r *CreateRocketMQRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQRoleRequest) ToJsonString ¶
func (r *CreateRocketMQRoleRequest) ToJsonString() string
type CreateRocketMQRoleRequestParams ¶
type CreateRocketMQRoleRequestParams struct {
// Role name. Does not support Chinese characters and special characters other than hyphens (-) and underscores (_), and must be greater than 0 and less than or equal to 32 in length.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remark description. Length must be greater than or equal to 0 and less than or equal to 128.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Role authorization type (cluster: Cluster; topic or consumer group: TopicAndGroup).
PermType *string `json:"PermType,omitnil,omitempty" name:"PermType"`
}
Predefined struct for user
type CreateRocketMQRoleResponse ¶
type CreateRocketMQRoleResponse struct {
*tchttp.BaseResponse
Response *CreateRocketMQRoleResponseParams `json:"Response"`
}
func NewCreateRocketMQRoleResponse ¶
func NewCreateRocketMQRoleResponse() (response *CreateRocketMQRoleResponse)
func (*CreateRocketMQRoleResponse) FromJsonString ¶
func (r *CreateRocketMQRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQRoleResponse) ToJsonString ¶
func (r *CreateRocketMQRoleResponse) ToJsonString() string
type CreateRocketMQRoleResponseParams ¶
type CreateRocketMQRoleResponseParams struct {
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Role token.
Token *string `json:"Token,omitnil,omitempty" name:"Token"`
// Specifies the remark description.
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRocketMQTopicRequest ¶
type CreateRocketMQTopicRequest struct {
*tchttp.BaseRequest
// Topic name, which can contain 3–64 letters, digits, hyphens, and underscores
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Topic namespace. Currently, you can create topics only in one single namespace.
Namespaces []*string `json:"Namespaces,omitnil,omitempty" name:"Namespaces"`
// Topic type. Valid values: Normal, GlobalOrder, PartitionedOrder, Transaction, and DelayScheduled. Transaction is only supported in the Exclusive Edition.
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Topic remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Number of partitions, which doesn't take effect for globally sequential messages
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
}
func NewCreateRocketMQTopicRequest ¶
func NewCreateRocketMQTopicRequest() (request *CreateRocketMQTopicRequest)
func (*CreateRocketMQTopicRequest) FromJsonString ¶
func (r *CreateRocketMQTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQTopicRequest) ToJsonString ¶
func (r *CreateRocketMQTopicRequest) ToJsonString() string
type CreateRocketMQTopicRequestParams ¶
type CreateRocketMQTopicRequestParams struct {
// Topic name, which can contain 3–64 letters, digits, hyphens, and underscores
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Topic namespace. Currently, you can create topics only in one single namespace.
Namespaces []*string `json:"Namespaces,omitnil,omitempty" name:"Namespaces"`
// Topic type. Valid values: Normal, GlobalOrder, PartitionedOrder, Transaction, and DelayScheduled. Transaction is only supported in the Exclusive Edition.
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Topic remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Number of partitions, which doesn't take effect for globally sequential messages
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
}
Predefined struct for user
type CreateRocketMQTopicResponse ¶
type CreateRocketMQTopicResponse struct {
*tchttp.BaseResponse
Response *CreateRocketMQTopicResponseParams `json:"Response"`
}
func NewCreateRocketMQTopicResponse ¶
func NewCreateRocketMQTopicResponse() (response *CreateRocketMQTopicResponse)
func (*CreateRocketMQTopicResponse) FromJsonString ¶
func (r *CreateRocketMQTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQTopicResponse) ToJsonString ¶
func (r *CreateRocketMQTopicResponse) ToJsonString() string
type CreateRocketMQTopicResponseParams ¶
type CreateRocketMQTopicResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRocketMQVipInstanceRequest ¶
type CreateRocketMQVipInstanceRequest struct {
*tchttp.BaseRequest
// Instance name
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Cluster specification. Supported specifications: 1. General: rocket-vip-basic-0; 2. Basic: rocket-vip-basic-1; 3. Standard: rocket-vip-basic-2; 4. Advanced I: rocket-vip-basic-3; 5. Advanced II: rocket-vip-basic-4.
Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"`
// Number of nodes. Value range: 2–20.
NodeCount *int64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// Single-node storage space, in GB. The minimum space is 200 GB.
StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
// The zone ID list for node deployment. For example, the ID of Guangzhou Zone 1 is 100001. For details, see the official website of the cloud platform.
ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Describes the VPC information.
VpcInfo *VpcInfo `json:"VpcInfo,omitnil,omitempty" name:"VpcInfo"`
// Purchase duration, in months.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Whether it is used for cloud migration. The default value is false.
SupportsMigrateToCloud *bool `json:"SupportsMigrateToCloud,omitnil,omitempty" name:"SupportsMigrateToCloud"`
// Specifies whether public network access is enabled.
EnablePublic *bool `json:"EnablePublic,omitnil,omitempty" name:"EnablePublic"`
// Public network bandwidth, a required field when the public network is enabled.
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Public network allowlist.
IpRules []*PublicAccessRule `json:"IpRules,omitnil,omitempty" name:"IpRules"`
// Tag.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
func NewCreateRocketMQVipInstanceRequest ¶
func NewCreateRocketMQVipInstanceRequest() (request *CreateRocketMQVipInstanceRequest)
func (*CreateRocketMQVipInstanceRequest) FromJsonString ¶
func (r *CreateRocketMQVipInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQVipInstanceRequest) ToJsonString ¶
func (r *CreateRocketMQVipInstanceRequest) ToJsonString() string
type CreateRocketMQVipInstanceRequestParams ¶
type CreateRocketMQVipInstanceRequestParams struct {
// Instance name
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Cluster specification. Supported specifications: 1. General: rocket-vip-basic-0; 2. Basic: rocket-vip-basic-1; 3. Standard: rocket-vip-basic-2; 4. Advanced I: rocket-vip-basic-3; 5. Advanced II: rocket-vip-basic-4.
Spec *string `json:"Spec,omitnil,omitempty" name:"Spec"`
// Number of nodes. Value range: 2–20.
NodeCount *int64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// Single-node storage space, in GB. The minimum space is 200 GB.
StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
// The zone ID list for node deployment. For example, the ID of Guangzhou Zone 1 is 100001. For details, see the official website of the cloud platform.
ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Describes the VPC information.
VpcInfo *VpcInfo `json:"VpcInfo,omitnil,omitempty" name:"VpcInfo"`
// Purchase duration, in months.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Whether it is used for cloud migration. The default value is false.
SupportsMigrateToCloud *bool `json:"SupportsMigrateToCloud,omitnil,omitempty" name:"SupportsMigrateToCloud"`
// Specifies whether public network access is enabled.
EnablePublic *bool `json:"EnablePublic,omitnil,omitempty" name:"EnablePublic"`
// Public network bandwidth, a required field when the public network is enabled.
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Public network allowlist.
IpRules []*PublicAccessRule `json:"IpRules,omitnil,omitempty" name:"IpRules"`
// Tag.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateRocketMQVipInstanceResponse ¶
type CreateRocketMQVipInstanceResponse struct {
*tchttp.BaseResponse
Response *CreateRocketMQVipInstanceResponseParams `json:"Response"`
}
func NewCreateRocketMQVipInstanceResponse ¶
func NewCreateRocketMQVipInstanceResponse() (response *CreateRocketMQVipInstanceResponse)
func (*CreateRocketMQVipInstanceResponse) FromJsonString ¶
func (r *CreateRocketMQVipInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRocketMQVipInstanceResponse) ToJsonString ¶
func (r *CreateRocketMQVipInstanceResponse) ToJsonString() string
type CreateRocketMQVipInstanceResponseParams ¶
type CreateRocketMQVipInstanceResponseParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRoleRequest ¶
type CreateRoleRequest struct {
*tchttp.BaseRequest
// Role name, which can contain up to 32 letters, digits, hyphens, and underscores.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewCreateRoleRequest ¶
func NewCreateRoleRequest() (request *CreateRoleRequest)
func (*CreateRoleRequest) FromJsonString ¶
func (r *CreateRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoleRequest) ToJsonString ¶
func (r *CreateRoleRequest) ToJsonString() string
type CreateRoleRequestParams ¶
type CreateRoleRequestParams struct {
// Role name, which can contain up to 32 letters, digits, hyphens, and underscores.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type CreateRoleResponse ¶
type CreateRoleResponse struct {
*tchttp.BaseResponse
Response *CreateRoleResponseParams `json:"Response"`
}
func NewCreateRoleResponse ¶
func NewCreateRoleResponse() (response *CreateRoleResponse)
func (*CreateRoleResponse) FromJsonString ¶
func (r *CreateRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRoleResponse) ToJsonString ¶
func (r *CreateRoleResponse) ToJsonString() string
type CreateRoleResponseParams ¶
type CreateRoleResponseParams struct {
// Role name
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Role token
Token *string `json:"Token,omitnil,omitempty" name:"Token"`
// Remarks
// Note: this field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Namespaces that are bound in batches
// Note: This field may return null, indicating that no valid values can be obtained.
EnvironmentRoleSets []*EnvironmentRoleSet `json:"EnvironmentRoleSets,omitnil,omitempty" name:"EnvironmentRoleSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscriber name, which can contain up to 128 characters.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Whether the creation is idempotent; if not, you cannot create subscriptions with the same name.
IsIdempotent *bool `json:"IsIdempotent,omitnil,omitempty" name:"IsIdempotent"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to automatically create a dead letter topic and a retry letter topic. true: yes (default value); false: no.
AutoCreatePolicyTopic *bool `json:"AutoCreatePolicyTopic,omitnil,omitempty" name:"AutoCreatePolicyTopic"`
// Naming convention for dead letter and retry letter topics. `LEGACY` indicates to use the legacy naming convention, and `COMMUNITY` indicates to use the naming convention in the Pulsar community.
PostFixPattern *string `json:"PostFixPattern,omitnil,omitempty" name:"PostFixPattern"`
}
func NewCreateSubscriptionRequest ¶
func NewCreateSubscriptionRequest() (request *CreateSubscriptionRequest)
func (*CreateSubscriptionRequest) FromJsonString ¶
func (r *CreateSubscriptionRequest) FromJsonString(s string) error
FromJsonString 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 CreateSubscriptionRequestParams ¶
type CreateSubscriptionRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscriber name, which can contain up to 128 characters.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Whether the creation is idempotent; if not, you cannot create subscriptions with the same name.
IsIdempotent *bool `json:"IsIdempotent,omitnil,omitempty" name:"IsIdempotent"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to automatically create a dead letter topic and a retry letter topic. true: yes (default value); false: no.
AutoCreatePolicyTopic *bool `json:"AutoCreatePolicyTopic,omitnil,omitempty" name:"AutoCreatePolicyTopic"`
// Naming convention for dead letter and retry letter topics. `LEGACY` indicates to use the legacy naming convention, and `COMMUNITY` indicates to use the naming convention in the Pulsar community.
PostFixPattern *string `json:"PostFixPattern,omitnil,omitempty" name:"PostFixPattern"`
}
Predefined struct for user
type CreateSubscriptionResponse ¶
type CreateSubscriptionResponse struct {
*tchttp.BaseResponse
Response *CreateSubscriptionResponseParams `json:"Response"`
}
func NewCreateSubscriptionResponse ¶
func NewCreateSubscriptionResponse() (response *CreateSubscriptionResponse)
func (*CreateSubscriptionResponse) FromJsonString ¶
func (r *CreateSubscriptionResponse) FromJsonString(s string) error
FromJsonString 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 CreateSubscriptionResponseParams ¶
type CreateSubscriptionResponseParams struct {
// Creation result.
Result *bool `json:"Result,omitnil,omitempty" name:"Result"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateTopicRequest ¶
type CreateTopicRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name, which can contain up to 64 letters, digits, hyphens, and underscores.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// The input parameter is 1, which means creating a non-partitioned topic with no partition. if the input parameter is greater than 1, it indicates the number of partitions for a partitioned topic, and the maximum cannot exceed 32.
Partitions *uint64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// This input parameter will be disused soon. You can use `PulsarTopicType` instead.
// 0: General message;
// 1: Globally sequential message;
// 2: Partitionally sequential message;
// 3: Retry letter topic;
// 4: Dead letter topic.
TopicType *uint64 `json:"TopicType,omitnil,omitempty" name:"TopicType"`
// Pulsar topic type.
// `0`: Non-persistent and non-partitioned
// `1`: Non-persistent and partitioned
// `2`: Persistent and non-partitioned
// `3`: Persistent and partitioned
PulsarTopicType *int64 `json:"PulsarTopicType,omitnil,omitempty" name:"PulsarTopicType"`
// Retention period for unconsumed messages in seconds. value ranges from 60 seconds to 15 days.
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Default if not passed is native policy. DefaultPolicy means when the subscription reaches the maximum unacknowledged messages of 5000, the server will stop pushing messages to all consumers under the current subscription. DynamicPolicy means dynamically adjust the maximum unacknowledged messages of the subscription, with the specific quota being the maximum between 5000 and the number of consumers multiplied by 20. the default maximum unacknowledged message count per consumer is 20. exceeding this limit only affects that consumer and does not affect other consumers.
UnackPolicy *string `json:"UnackPolicy,omitnil,omitempty" name:"UnackPolicy"`
// Whether exception consumer isolation is enabled.
IsolateConsumerEnable *bool `json:"IsolateConsumerEnable,omitnil,omitempty" name:"IsolateConsumerEnable"`
// Specifies the consumer Ack timeout period in seconds. value range: 60-(3600*24).
AckTimeOut *int64 `json:"AckTimeOut,omitnil,omitempty" name:"AckTimeOut"`
}
func NewCreateTopicRequest ¶
func NewCreateTopicRequest() (request *CreateTopicRequest)
func (*CreateTopicRequest) FromJsonString ¶
func (r *CreateTopicRequest) FromJsonString(s string) error
FromJsonString 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 CreateTopicRequestParams ¶
type CreateTopicRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name, which can contain up to 64 letters, digits, hyphens, and underscores.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// The input parameter is 1, which means creating a non-partitioned topic with no partition. if the input parameter is greater than 1, it indicates the number of partitions for a partitioned topic, and the maximum cannot exceed 32.
Partitions *uint64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// This input parameter will be disused soon. You can use `PulsarTopicType` instead.
// 0: General message;
// 1: Globally sequential message;
// 2: Partitionally sequential message;
// 3: Retry letter topic;
// 4: Dead letter topic.
TopicType *uint64 `json:"TopicType,omitnil,omitempty" name:"TopicType"`
// Pulsar topic type.
// `0`: Non-persistent and non-partitioned
// `1`: Non-persistent and partitioned
// `2`: Persistent and non-partitioned
// `3`: Persistent and partitioned
PulsarTopicType *int64 `json:"PulsarTopicType,omitnil,omitempty" name:"PulsarTopicType"`
// Retention period for unconsumed messages in seconds. value ranges from 60 seconds to 15 days.
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Default if not passed is native policy. DefaultPolicy means when the subscription reaches the maximum unacknowledged messages of 5000, the server will stop pushing messages to all consumers under the current subscription. DynamicPolicy means dynamically adjust the maximum unacknowledged messages of the subscription, with the specific quota being the maximum between 5000 and the number of consumers multiplied by 20. the default maximum unacknowledged message count per consumer is 20. exceeding this limit only affects that consumer and does not affect other consumers.
UnackPolicy *string `json:"UnackPolicy,omitnil,omitempty" name:"UnackPolicy"`
// Whether exception consumer isolation is enabled.
IsolateConsumerEnable *bool `json:"IsolateConsumerEnable,omitnil,omitempty" name:"IsolateConsumerEnable"`
// Specifies the consumer Ack timeout period in seconds. value range: 60-(3600*24).
AckTimeOut *int64 `json:"AckTimeOut,omitnil,omitempty" name:"AckTimeOut"`
}
Predefined struct for user
type CreateTopicResponse ¶
type CreateTopicResponse struct {
*tchttp.BaseResponse
Response *CreateTopicResponseParams `json:"Response"`
}
func NewCreateTopicResponse ¶
func NewCreateTopicResponse() (response *CreateTopicResponse)
func (*CreateTopicResponse) FromJsonString ¶
func (r *CreateTopicResponse) FromJsonString(s string) error
FromJsonString 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 CreateTopicResponseParams ¶
type CreateTopicResponseParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Valid value: 0 or 1. Non-partitioned topic: No partitions. A value greater than 1: The partition count of a partitioned topic. `0` is returned for existing non-partitioned topics, and `1` is returned for incremental non-partitioned topics.
Partitions *uint64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Remarks, within 128 characters.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// 0: standard message.
// Global sequential message.
// 2: local ordered messages.
// Specifies the retry queue.
// 4: dead letter queue.
TopicType *uint64 `json:"TopicType,omitnil,omitempty" name:"TopicType"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteClusterRequest ¶
type DeleteClusterRequest struct {
*tchttp.BaseRequest
// ID of the cluster to be deleted.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteClusterRequest ¶
func NewDeleteClusterRequest() (request *DeleteClusterRequest)
func (*DeleteClusterRequest) FromJsonString ¶
func (r *DeleteClusterRequest) FromJsonString(s string) error
FromJsonString 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 DeleteClusterRequestParams ¶
type DeleteClusterRequestParams struct {
// ID of the cluster to be deleted.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteClusterResponse ¶
type DeleteClusterResponse struct {
*tchttp.BaseResponse
Response *DeleteClusterResponseParams `json:"Response"`
}
func NewDeleteClusterResponse ¶
func NewDeleteClusterResponse() (response *DeleteClusterResponse)
func (*DeleteClusterResponse) FromJsonString ¶
func (r *DeleteClusterResponse) FromJsonString(s string) error
FromJsonString 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 DeleteClusterResponseParams ¶
type DeleteClusterResponseParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteCmqQueueRequest ¶
type DeleteCmqQueueRequest struct {
*tchttp.BaseRequest
// Queue name, unique under the same account in a single region. queue name is a string of no more than 64 characters, beginning with a letter, the remainder can contain letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
func NewDeleteCmqQueueRequest ¶
func NewDeleteCmqQueueRequest() (request *DeleteCmqQueueRequest)
func (*DeleteCmqQueueRequest) FromJsonString ¶
func (r *DeleteCmqQueueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCmqQueueRequest) ToJsonString ¶
func (r *DeleteCmqQueueRequest) ToJsonString() string
type DeleteCmqQueueRequestParams ¶
type DeleteCmqQueueRequestParams struct {
// Queue name, unique under the same account in a single region. queue name is a string of no more than 64 characters, beginning with a letter, the remainder can contain letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
Predefined struct for user
type DeleteCmqQueueResponse ¶
type DeleteCmqQueueResponse struct {
*tchttp.BaseResponse
Response *DeleteCmqQueueResponseParams `json:"Response"`
}
func NewDeleteCmqQueueResponse ¶
func NewDeleteCmqQueueResponse() (response *DeleteCmqQueueResponse)
func (*DeleteCmqQueueResponse) FromJsonString ¶
func (r *DeleteCmqQueueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCmqQueueResponse) ToJsonString ¶
func (r *DeleteCmqQueueResponse) ToJsonString() string
type DeleteCmqQueueResponseParams ¶
type DeleteCmqQueueResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteCmqSubscribeRequest ¶
type DeleteCmqSubscribeRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. the name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, uniquely identifies under the same topic of the same account in a single region. subscription name is a string of no more than 64 characters, beginning with a letter, the remaining part can contain letters, digits, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
}
func NewDeleteCmqSubscribeRequest ¶
func NewDeleteCmqSubscribeRequest() (request *DeleteCmqSubscribeRequest)
func (*DeleteCmqSubscribeRequest) FromJsonString ¶
func (r *DeleteCmqSubscribeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCmqSubscribeRequest) ToJsonString ¶
func (r *DeleteCmqSubscribeRequest) ToJsonString() string
type DeleteCmqSubscribeRequestParams ¶
type DeleteCmqSubscribeRequestParams struct {
// Topic name, which must be unique under the same account in a single region. the name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, uniquely identifies under the same topic of the same account in a single region. subscription name is a string of no more than 64 characters, beginning with a letter, the remaining part can contain letters, digits, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
}
Predefined struct for user
type DeleteCmqSubscribeResponse ¶
type DeleteCmqSubscribeResponse struct {
*tchttp.BaseResponse
Response *DeleteCmqSubscribeResponseParams `json:"Response"`
}
func NewDeleteCmqSubscribeResponse ¶
func NewDeleteCmqSubscribeResponse() (response *DeleteCmqSubscribeResponse)
func (*DeleteCmqSubscribeResponse) FromJsonString ¶
func (r *DeleteCmqSubscribeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCmqSubscribeResponse) ToJsonString ¶
func (r *DeleteCmqSubscribeResponse) ToJsonString() string
type DeleteCmqSubscribeResponseParams ¶
type DeleteCmqSubscribeResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteCmqTopicRequest ¶
type DeleteCmqTopicRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. the name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
func NewDeleteCmqTopicRequest ¶
func NewDeleteCmqTopicRequest() (request *DeleteCmqTopicRequest)
func (*DeleteCmqTopicRequest) FromJsonString ¶
func (r *DeleteCmqTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCmqTopicRequest) ToJsonString ¶
func (r *DeleteCmqTopicRequest) ToJsonString() string
type DeleteCmqTopicRequestParams ¶
type DeleteCmqTopicRequestParams struct {
// Topic name, which must be unique under the same account in a single region. the name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
Predefined struct for user
type DeleteCmqTopicResponse ¶
type DeleteCmqTopicResponse struct {
*tchttp.BaseResponse
Response *DeleteCmqTopicResponseParams `json:"Response"`
}
func NewDeleteCmqTopicResponse ¶
func NewDeleteCmqTopicResponse() (response *DeleteCmqTopicResponse)
func (*DeleteCmqTopicResponse) FromJsonString ¶
func (r *DeleteCmqTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCmqTopicResponse) ToJsonString ¶
func (r *DeleteCmqTopicResponse) ToJsonString() string
type DeleteCmqTopicResponseParams ¶
type DeleteCmqTopicResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteEnvironmentRolesRequest ¶
type DeleteEnvironmentRolesRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Array of role names.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteEnvironmentRolesRequest ¶
func NewDeleteEnvironmentRolesRequest() (request *DeleteEnvironmentRolesRequest)
func (*DeleteEnvironmentRolesRequest) FromJsonString ¶
func (r *DeleteEnvironmentRolesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEnvironmentRolesRequest) ToJsonString ¶
func (r *DeleteEnvironmentRolesRequest) ToJsonString() string
type DeleteEnvironmentRolesRequestParams ¶
type DeleteEnvironmentRolesRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Array of role names.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteEnvironmentRolesResponse ¶
type DeleteEnvironmentRolesResponse struct {
*tchttp.BaseResponse
Response *DeleteEnvironmentRolesResponseParams `json:"Response"`
}
func NewDeleteEnvironmentRolesResponse ¶
func NewDeleteEnvironmentRolesResponse() (response *DeleteEnvironmentRolesResponse)
func (*DeleteEnvironmentRolesResponse) FromJsonString ¶
func (r *DeleteEnvironmentRolesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEnvironmentRolesResponse) ToJsonString ¶
func (r *DeleteEnvironmentRolesResponse) ToJsonString() string
type DeleteEnvironmentRolesResponseParams ¶
type DeleteEnvironmentRolesResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteEnvironmentsRequest ¶
type DeleteEnvironmentsRequest struct {
*tchttp.BaseRequest
// Array of environments (namespaces). Up to 20 environments can be deleted at a time.
EnvironmentIds []*string `json:"EnvironmentIds,omitnil,omitempty" name:"EnvironmentIds"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteEnvironmentsRequest ¶
func NewDeleteEnvironmentsRequest() (request *DeleteEnvironmentsRequest)
func (*DeleteEnvironmentsRequest) FromJsonString ¶
func (r *DeleteEnvironmentsRequest) FromJsonString(s string) error
FromJsonString 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 DeleteEnvironmentsRequestParams ¶
type DeleteEnvironmentsRequestParams struct {
// Array of environments (namespaces). Up to 20 environments can be deleted at a time.
EnvironmentIds []*string `json:"EnvironmentIds,omitnil,omitempty" name:"EnvironmentIds"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteEnvironmentsResponse ¶
type DeleteEnvironmentsResponse struct {
*tchttp.BaseResponse
Response *DeleteEnvironmentsResponseParams `json:"Response"`
}
func NewDeleteEnvironmentsResponse ¶
func NewDeleteEnvironmentsResponse() (response *DeleteEnvironmentsResponse)
func (*DeleteEnvironmentsResponse) FromJsonString ¶
func (r *DeleteEnvironmentsResponse) FromJsonString(s string) error
FromJsonString 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 DeleteEnvironmentsResponseParams ¶
type DeleteEnvironmentsResponseParams struct {
// Array of environments (namespaces) successfully deleted.
EnvironmentIds []*string `json:"EnvironmentIds,omitnil,omitempty" name:"EnvironmentIds"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteProClusterRequest ¶
type DeleteProClusterRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteProClusterRequest ¶
func NewDeleteProClusterRequest() (request *DeleteProClusterRequest)
func (*DeleteProClusterRequest) FromJsonString ¶
func (r *DeleteProClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProClusterRequest) ToJsonString ¶
func (r *DeleteProClusterRequest) ToJsonString() string
type DeleteProClusterRequestParams ¶
type DeleteProClusterRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteProClusterResponse ¶
type DeleteProClusterResponse struct {
*tchttp.BaseResponse
Response *DeleteProClusterResponseParams `json:"Response"`
}
func NewDeleteProClusterResponse ¶
func NewDeleteProClusterResponse() (response *DeleteProClusterResponse)
func (*DeleteProClusterResponse) FromJsonString ¶
func (r *DeleteProClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProClusterResponse) ToJsonString ¶
func (r *DeleteProClusterResponse) ToJsonString() string
type DeleteProClusterResponseParams ¶
type DeleteProClusterResponseParams struct {
// Order number of the terminated instance.
DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRabbitMQBindingRequest ¶
type DeleteRabbitMQBindingRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Routing relationship ID.
BindingId *int64 `json:"BindingId,omitnil,omitempty" name:"BindingId"`
}
func NewDeleteRabbitMQBindingRequest ¶
func NewDeleteRabbitMQBindingRequest() (request *DeleteRabbitMQBindingRequest)
func (*DeleteRabbitMQBindingRequest) FromJsonString ¶
func (r *DeleteRabbitMQBindingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQBindingRequest) ToJsonString ¶
func (r *DeleteRabbitMQBindingRequest) ToJsonString() string
type DeleteRabbitMQBindingRequestParams ¶
type DeleteRabbitMQBindingRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Routing relationship ID.
BindingId *int64 `json:"BindingId,omitnil,omitempty" name:"BindingId"`
}
Predefined struct for user
type DeleteRabbitMQBindingResponse ¶
type DeleteRabbitMQBindingResponse struct {
*tchttp.BaseResponse
Response *DeleteRabbitMQBindingResponseParams `json:"Response"`
}
func NewDeleteRabbitMQBindingResponse ¶
func NewDeleteRabbitMQBindingResponse() (response *DeleteRabbitMQBindingResponse)
func (*DeleteRabbitMQBindingResponse) FromJsonString ¶
func (r *DeleteRabbitMQBindingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQBindingResponse) ToJsonString ¶
func (r *DeleteRabbitMQBindingResponse) ToJsonString() string
type DeleteRabbitMQBindingResponseParams ¶
type DeleteRabbitMQBindingResponseParams struct {
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost parameter.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Routing relationship ID.
BindingId *int64 `json:"BindingId,omitnil,omitempty" name:"BindingId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRabbitMQPermissionRequest ¶
type DeleteRabbitMQPermissionRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// VirtualHost name, such as testvhost. valid VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
}
func NewDeleteRabbitMQPermissionRequest ¶
func NewDeleteRabbitMQPermissionRequest() (request *DeleteRabbitMQPermissionRequest)
func (*DeleteRabbitMQPermissionRequest) FromJsonString ¶
func (r *DeleteRabbitMQPermissionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQPermissionRequest) ToJsonString ¶
func (r *DeleteRabbitMQPermissionRequest) ToJsonString() string
type DeleteRabbitMQPermissionRequestParams ¶
type DeleteRabbitMQPermissionRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// VirtualHost name, such as testvhost. valid VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
}
Predefined struct for user
type DeleteRabbitMQPermissionResponse ¶
type DeleteRabbitMQPermissionResponse struct {
*tchttp.BaseResponse
Response *DeleteRabbitMQPermissionResponseParams `json:"Response"`
}
func NewDeleteRabbitMQPermissionResponse ¶
func NewDeleteRabbitMQPermissionResponse() (response *DeleteRabbitMQPermissionResponse)
func (*DeleteRabbitMQPermissionResponse) FromJsonString ¶
func (r *DeleteRabbitMQPermissionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQPermissionResponse) ToJsonString ¶
func (r *DeleteRabbitMQPermissionResponse) ToJsonString() string
type DeleteRabbitMQPermissionResponseParams ¶
type DeleteRabbitMQPermissionResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRabbitMQUserRequest ¶
type DeleteRabbitMQUserRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
}
func NewDeleteRabbitMQUserRequest ¶
func NewDeleteRabbitMQUserRequest() (request *DeleteRabbitMQUserRequest)
func (*DeleteRabbitMQUserRequest) FromJsonString ¶
func (r *DeleteRabbitMQUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQUserRequest) ToJsonString ¶
func (r *DeleteRabbitMQUserRequest) ToJsonString() string
type DeleteRabbitMQUserRequestParams ¶
type DeleteRabbitMQUserRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
}
Predefined struct for user
type DeleteRabbitMQUserResponse ¶
type DeleteRabbitMQUserResponse struct {
*tchttp.BaseResponse
Response *DeleteRabbitMQUserResponseParams `json:"Response"`
}
func NewDeleteRabbitMQUserResponse ¶
func NewDeleteRabbitMQUserResponse() (response *DeleteRabbitMQUserResponse)
func (*DeleteRabbitMQUserResponse) FromJsonString ¶
func (r *DeleteRabbitMQUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQUserResponse) ToJsonString ¶
func (r *DeleteRabbitMQUserResponse) ToJsonString() string
type DeleteRabbitMQUserResponseParams ¶
type DeleteRabbitMQUserResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRabbitMQVipInstanceRequest ¶
type DeleteRabbitMQVipInstanceRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Whether the request is from the international website. Default value: false.
IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"`
}
func NewDeleteRabbitMQVipInstanceRequest ¶
func NewDeleteRabbitMQVipInstanceRequest() (request *DeleteRabbitMQVipInstanceRequest)
func (*DeleteRabbitMQVipInstanceRequest) FromJsonString ¶
func (r *DeleteRabbitMQVipInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQVipInstanceRequest) ToJsonString ¶
func (r *DeleteRabbitMQVipInstanceRequest) ToJsonString() string
type DeleteRabbitMQVipInstanceRequestParams ¶
type DeleteRabbitMQVipInstanceRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Whether the request is from the international website. Default value: false.
IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"`
}
Predefined struct for user
type DeleteRabbitMQVipInstanceResponse ¶
type DeleteRabbitMQVipInstanceResponse struct {
*tchttp.BaseResponse
Response *DeleteRabbitMQVipInstanceResponseParams `json:"Response"`
}
func NewDeleteRabbitMQVipInstanceResponse ¶
func NewDeleteRabbitMQVipInstanceResponse() (response *DeleteRabbitMQVipInstanceResponse)
func (*DeleteRabbitMQVipInstanceResponse) FromJsonString ¶
func (r *DeleteRabbitMQVipInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQVipInstanceResponse) ToJsonString ¶
func (r *DeleteRabbitMQVipInstanceResponse) ToJsonString() string
type DeleteRabbitMQVipInstanceResponseParams ¶
type DeleteRabbitMQVipInstanceResponseParams struct {
// Order ID.
TranId *string `json:"TranId,omitnil,omitempty" name:"TranId"`
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRabbitMQVirtualHostRequest ¶
type DeleteRabbitMQVirtualHostRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
}
func NewDeleteRabbitMQVirtualHostRequest ¶
func NewDeleteRabbitMQVirtualHostRequest() (request *DeleteRabbitMQVirtualHostRequest)
func (*DeleteRabbitMQVirtualHostRequest) FromJsonString ¶
func (r *DeleteRabbitMQVirtualHostRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQVirtualHostRequest) ToJsonString ¶
func (r *DeleteRabbitMQVirtualHostRequest) ToJsonString() string
type DeleteRabbitMQVirtualHostRequestParams ¶
type DeleteRabbitMQVirtualHostRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
}
Predefined struct for user
type DeleteRabbitMQVirtualHostResponse ¶
type DeleteRabbitMQVirtualHostResponse struct {
*tchttp.BaseResponse
Response *DeleteRabbitMQVirtualHostResponseParams `json:"Response"`
}
func NewDeleteRabbitMQVirtualHostResponse ¶
func NewDeleteRabbitMQVirtualHostResponse() (response *DeleteRabbitMQVirtualHostResponse)
func (*DeleteRabbitMQVirtualHostResponse) FromJsonString ¶
func (r *DeleteRabbitMQVirtualHostResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRabbitMQVirtualHostResponse) ToJsonString ¶
func (r *DeleteRabbitMQVirtualHostResponse) ToJsonString() string
type DeleteRabbitMQVirtualHostResponseParams ¶
type DeleteRabbitMQVirtualHostResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRocketMQClusterRequest ¶
type DeleteRocketMQClusterRequest struct {
*tchttp.BaseRequest
// ID of the cluster to be deleted.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteRocketMQClusterRequest ¶
func NewDeleteRocketMQClusterRequest() (request *DeleteRocketMQClusterRequest)
func (*DeleteRocketMQClusterRequest) FromJsonString ¶
func (r *DeleteRocketMQClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQClusterRequest) ToJsonString ¶
func (r *DeleteRocketMQClusterRequest) ToJsonString() string
type DeleteRocketMQClusterRequestParams ¶
type DeleteRocketMQClusterRequestParams struct {
// ID of the cluster to be deleted.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteRocketMQClusterResponse ¶
type DeleteRocketMQClusterResponse struct {
*tchttp.BaseResponse
Response *DeleteRocketMQClusterResponseParams `json:"Response"`
}
func NewDeleteRocketMQClusterResponse ¶
func NewDeleteRocketMQClusterResponse() (response *DeleteRocketMQClusterResponse)
func (*DeleteRocketMQClusterResponse) FromJsonString ¶
func (r *DeleteRocketMQClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQClusterResponse) ToJsonString ¶
func (r *DeleteRocketMQClusterResponse) ToJsonString() string
type DeleteRocketMQClusterResponseParams ¶
type DeleteRocketMQClusterResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRocketMQEnvironmentRolesRequest ¶
type DeleteRocketMQEnvironmentRolesRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name array.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteRocketMQEnvironmentRolesRequest ¶
func NewDeleteRocketMQEnvironmentRolesRequest() (request *DeleteRocketMQEnvironmentRolesRequest)
func (*DeleteRocketMQEnvironmentRolesRequest) FromJsonString ¶
func (r *DeleteRocketMQEnvironmentRolesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQEnvironmentRolesRequest) ToJsonString ¶
func (r *DeleteRocketMQEnvironmentRolesRequest) ToJsonString() string
type DeleteRocketMQEnvironmentRolesRequestParams ¶
type DeleteRocketMQEnvironmentRolesRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name array.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteRocketMQEnvironmentRolesResponse ¶
type DeleteRocketMQEnvironmentRolesResponse struct {
*tchttp.BaseResponse
Response *DeleteRocketMQEnvironmentRolesResponseParams `json:"Response"`
}
func NewDeleteRocketMQEnvironmentRolesResponse ¶
func NewDeleteRocketMQEnvironmentRolesResponse() (response *DeleteRocketMQEnvironmentRolesResponse)
func (*DeleteRocketMQEnvironmentRolesResponse) FromJsonString ¶
func (r *DeleteRocketMQEnvironmentRolesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQEnvironmentRolesResponse) ToJsonString ¶
func (r *DeleteRocketMQEnvironmentRolesResponse) ToJsonString() string
type DeleteRocketMQEnvironmentRolesResponseParams ¶
type DeleteRocketMQEnvironmentRolesResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRocketMQGroupRequest ¶
type DeleteRocketMQGroupRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
func NewDeleteRocketMQGroupRequest ¶
func NewDeleteRocketMQGroupRequest() (request *DeleteRocketMQGroupRequest)
func (*DeleteRocketMQGroupRequest) FromJsonString ¶
func (r *DeleteRocketMQGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQGroupRequest) ToJsonString ¶
func (r *DeleteRocketMQGroupRequest) ToJsonString() string
type DeleteRocketMQGroupRequestParams ¶
type DeleteRocketMQGroupRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
Predefined struct for user
type DeleteRocketMQGroupResponse ¶
type DeleteRocketMQGroupResponse struct {
*tchttp.BaseResponse
Response *DeleteRocketMQGroupResponseParams `json:"Response"`
}
func NewDeleteRocketMQGroupResponse ¶
func NewDeleteRocketMQGroupResponse() (response *DeleteRocketMQGroupResponse)
func (*DeleteRocketMQGroupResponse) FromJsonString ¶
func (r *DeleteRocketMQGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQGroupResponse) ToJsonString ¶
func (r *DeleteRocketMQGroupResponse) ToJsonString() string
type DeleteRocketMQGroupResponseParams ¶
type DeleteRocketMQGroupResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRocketMQNamespaceRequest ¶
type DeleteRocketMQNamespaceRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
}
func NewDeleteRocketMQNamespaceRequest ¶
func NewDeleteRocketMQNamespaceRequest() (request *DeleteRocketMQNamespaceRequest)
func (*DeleteRocketMQNamespaceRequest) FromJsonString ¶
func (r *DeleteRocketMQNamespaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQNamespaceRequest) ToJsonString ¶
func (r *DeleteRocketMQNamespaceRequest) ToJsonString() string
type DeleteRocketMQNamespaceRequestParams ¶
type DeleteRocketMQNamespaceRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
}
Predefined struct for user
type DeleteRocketMQNamespaceResponse ¶
type DeleteRocketMQNamespaceResponse struct {
*tchttp.BaseResponse
Response *DeleteRocketMQNamespaceResponseParams `json:"Response"`
}
func NewDeleteRocketMQNamespaceResponse ¶
func NewDeleteRocketMQNamespaceResponse() (response *DeleteRocketMQNamespaceResponse)
func (*DeleteRocketMQNamespaceResponse) FromJsonString ¶
func (r *DeleteRocketMQNamespaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQNamespaceResponse) ToJsonString ¶
func (r *DeleteRocketMQNamespaceResponse) ToJsonString() string
type DeleteRocketMQNamespaceResponseParams ¶
type DeleteRocketMQNamespaceResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRocketMQRolesRequest ¶
type DeleteRocketMQRolesRequest struct {
*tchttp.BaseRequest
// Role name array.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteRocketMQRolesRequest ¶
func NewDeleteRocketMQRolesRequest() (request *DeleteRocketMQRolesRequest)
func (*DeleteRocketMQRolesRequest) FromJsonString ¶
func (r *DeleteRocketMQRolesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQRolesRequest) ToJsonString ¶
func (r *DeleteRocketMQRolesRequest) ToJsonString() string
type DeleteRocketMQRolesRequestParams ¶
type DeleteRocketMQRolesRequestParams struct {
// Role name array.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteRocketMQRolesResponse ¶
type DeleteRocketMQRolesResponse struct {
*tchttp.BaseResponse
Response *DeleteRocketMQRolesResponseParams `json:"Response"`
}
func NewDeleteRocketMQRolesResponse ¶
func NewDeleteRocketMQRolesResponse() (response *DeleteRocketMQRolesResponse)
func (*DeleteRocketMQRolesResponse) FromJsonString ¶
func (r *DeleteRocketMQRolesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQRolesResponse) ToJsonString ¶
func (r *DeleteRocketMQRolesResponse) ToJsonString() string
type DeleteRocketMQRolesResponseParams ¶
type DeleteRocketMQRolesResponseParams struct {
// Successfully deleted role name array.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRocketMQTopicRequest ¶
type DeleteRocketMQTopicRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
}
func NewDeleteRocketMQTopicRequest ¶
func NewDeleteRocketMQTopicRequest() (request *DeleteRocketMQTopicRequest)
func (*DeleteRocketMQTopicRequest) FromJsonString ¶
func (r *DeleteRocketMQTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQTopicRequest) ToJsonString ¶
func (r *DeleteRocketMQTopicRequest) ToJsonString() string
type DeleteRocketMQTopicRequestParams ¶
type DeleteRocketMQTopicRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
}
Predefined struct for user
type DeleteRocketMQTopicResponse ¶
type DeleteRocketMQTopicResponse struct {
*tchttp.BaseResponse
Response *DeleteRocketMQTopicResponseParams `json:"Response"`
}
func NewDeleteRocketMQTopicResponse ¶
func NewDeleteRocketMQTopicResponse() (response *DeleteRocketMQTopicResponse)
func (*DeleteRocketMQTopicResponse) FromJsonString ¶
func (r *DeleteRocketMQTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQTopicResponse) ToJsonString ¶
func (r *DeleteRocketMQTopicResponse) ToJsonString() string
type DeleteRocketMQTopicResponseParams ¶
type DeleteRocketMQTopicResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRocketMQVipInstanceRequest ¶
type DeleteRocketMQVipInstanceRequest struct {
*tchttp.BaseRequest
// Cluster ID of the instance.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteRocketMQVipInstanceRequest ¶
func NewDeleteRocketMQVipInstanceRequest() (request *DeleteRocketMQVipInstanceRequest)
func (*DeleteRocketMQVipInstanceRequest) FromJsonString ¶
func (r *DeleteRocketMQVipInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQVipInstanceRequest) ToJsonString ¶
func (r *DeleteRocketMQVipInstanceRequest) ToJsonString() string
type DeleteRocketMQVipInstanceRequestParams ¶
type DeleteRocketMQVipInstanceRequestParams struct {
// Cluster ID of the instance.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteRocketMQVipInstanceResponse ¶
type DeleteRocketMQVipInstanceResponse struct {
*tchttp.BaseResponse
Response *DeleteRocketMQVipInstanceResponseParams `json:"Response"`
}
func NewDeleteRocketMQVipInstanceResponse ¶
func NewDeleteRocketMQVipInstanceResponse() (response *DeleteRocketMQVipInstanceResponse)
func (*DeleteRocketMQVipInstanceResponse) FromJsonString ¶
func (r *DeleteRocketMQVipInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRocketMQVipInstanceResponse) ToJsonString ¶
func (r *DeleteRocketMQVipInstanceResponse) ToJsonString() string
type DeleteRocketMQVipInstanceResponseParams ¶
type DeleteRocketMQVipInstanceResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRolesRequest ¶
type DeleteRolesRequest struct {
*tchttp.BaseRequest
// Array of role names.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDeleteRolesRequest ¶
func NewDeleteRolesRequest() (request *DeleteRolesRequest)
func (*DeleteRolesRequest) FromJsonString ¶
func (r *DeleteRolesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRolesRequest) ToJsonString ¶
func (r *DeleteRolesRequest) ToJsonString() string
type DeleteRolesRequestParams ¶
type DeleteRolesRequestParams struct {
// Array of role names.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DeleteRolesResponse ¶
type DeleteRolesResponse struct {
*tchttp.BaseResponse
Response *DeleteRolesResponseParams `json:"Response"`
}
func NewDeleteRolesResponse ¶
func NewDeleteRolesResponse() (response *DeleteRolesResponse)
func (*DeleteRolesResponse) FromJsonString ¶
func (r *DeleteRolesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRolesResponse) ToJsonString ¶
func (r *DeleteRolesResponse) ToJsonString() string
type DeleteRolesResponseParams ¶
type DeleteRolesResponseParams struct {
// Name array of roles successfully deleted.
RoleNames []*string `json:"RoleNames,omitnil,omitempty" name:"RoleNames"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteSubscriptionsRequest ¶
type DeleteSubscriptionsRequest struct {
*tchttp.BaseRequest
// Subscription set. Up to 20 subscriptions can be deleted at a time.
SubscriptionTopicSets []*SubscriptionTopic `json:"SubscriptionTopicSets,omitnil,omitempty" name:"SubscriptionTopicSets"`
// Pulsar cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Whether to forcibly delete a subscription. Default value: `false`.
Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}
func NewDeleteSubscriptionsRequest ¶
func NewDeleteSubscriptionsRequest() (request *DeleteSubscriptionsRequest)
func (*DeleteSubscriptionsRequest) FromJsonString ¶
func (r *DeleteSubscriptionsRequest) FromJsonString(s string) error
FromJsonString 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 DeleteSubscriptionsRequestParams ¶
type DeleteSubscriptionsRequestParams struct {
// Subscription set. Up to 20 subscriptions can be deleted at a time.
SubscriptionTopicSets []*SubscriptionTopic `json:"SubscriptionTopicSets,omitnil,omitempty" name:"SubscriptionTopicSets"`
// Pulsar cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Whether to forcibly delete a subscription. Default value: `false`.
Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}
Predefined struct for user
type DeleteSubscriptionsResponse ¶
type DeleteSubscriptionsResponse struct {
*tchttp.BaseResponse
Response *DeleteSubscriptionsResponseParams `json:"Response"`
}
func NewDeleteSubscriptionsResponse ¶
func NewDeleteSubscriptionsResponse() (response *DeleteSubscriptionsResponse)
func (*DeleteSubscriptionsResponse) FromJsonString ¶
func (r *DeleteSubscriptionsResponse) FromJsonString(s string) error
FromJsonString 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 DeleteSubscriptionsResponseParams ¶
type DeleteSubscriptionsResponseParams struct {
// Array of successfully deleted subscriptions.
SubscriptionTopicSets []*SubscriptionTopic `json:"SubscriptionTopicSets,omitnil,omitempty" name:"SubscriptionTopicSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteTopicsRequest ¶
type DeleteTopicsRequest struct {
*tchttp.BaseRequest
// Topic set. Up to 20 topics can be deleted at a time.
TopicSets []*TopicRecord `json:"TopicSets,omitnil,omitempty" name:"TopicSets"`
// Pulsar cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Whether to forcibly delete a topic. Default value: `false`.
Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}
func NewDeleteTopicsRequest ¶
func NewDeleteTopicsRequest() (request *DeleteTopicsRequest)
func (*DeleteTopicsRequest) FromJsonString ¶
func (r *DeleteTopicsRequest) FromJsonString(s string) error
FromJsonString 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 DeleteTopicsRequestParams ¶
type DeleteTopicsRequestParams struct {
// Topic set. Up to 20 topics can be deleted at a time.
TopicSets []*TopicRecord `json:"TopicSets,omitnil,omitempty" name:"TopicSets"`
// Pulsar cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Whether to forcibly delete a topic. Default value: `false`.
Force *bool `json:"Force,omitnil,omitempty" name:"Force"`
}
Predefined struct for user
type DeleteTopicsResponse ¶
type DeleteTopicsResponse struct {
*tchttp.BaseResponse
Response *DeleteTopicsResponseParams `json:"Response"`
}
func NewDeleteTopicsResponse ¶
func NewDeleteTopicsResponse() (response *DeleteTopicsResponse)
func (*DeleteTopicsResponse) FromJsonString ¶
func (r *DeleteTopicsResponse) FromJsonString(s string) error
FromJsonString 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 DeleteTopicsResponseParams ¶
type DeleteTopicsResponseParams struct {
// Array of deleted topics.
TopicSets []*TopicRecord `json:"TopicSets,omitnil,omitempty" name:"TopicSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeBindClustersRequest ¶
type DescribeBindClustersRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBindClustersRequest ¶
func NewDescribeBindClustersRequest() (request *DescribeBindClustersRequest)
func (*DescribeBindClustersRequest) FromJsonString ¶
func (r *DescribeBindClustersRequest) FromJsonString(s string) error
FromJsonString 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 DescribeBindClustersRequestParams ¶
type DescribeBindClustersRequestParams struct {
}
Predefined struct for user
type DescribeBindClustersResponse ¶
type DescribeBindClustersResponse struct {
*tchttp.BaseResponse
Response *DescribeBindClustersResponseParams `json:"Response"`
}
func NewDescribeBindClustersResponse ¶
func NewDescribeBindClustersResponse() (response *DescribeBindClustersResponse)
func (*DescribeBindClustersResponse) FromJsonString ¶
func (r *DescribeBindClustersResponse) FromJsonString(s string) error
FromJsonString 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 DescribeBindClustersResponseParams ¶
type DescribeBindClustersResponseParams struct {
// The number of dedicated clusters
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of dedicated clusters
ClusterSet []*BindCluster `json:"ClusterSet,omitnil,omitempty" name:"ClusterSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeBindVpcsRequest ¶
type DescribeBindVpcsRequest struct {
*tchttp.BaseRequest
// Offset. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of results to be returned. If this parameter is left empty, 10 will be used by default. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeBindVpcsRequest ¶
func NewDescribeBindVpcsRequest() (request *DescribeBindVpcsRequest)
func (*DescribeBindVpcsRequest) FromJsonString ¶
func (r *DescribeBindVpcsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeBindVpcsRequestParams ¶
type DescribeBindVpcsRequestParams struct {
// Offset. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of results to be returned. If this parameter is left empty, 10 will be used by default. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeBindVpcsResponse ¶
type DescribeBindVpcsResponse struct {
*tchttp.BaseResponse
Response *DescribeBindVpcsResponseParams `json:"Response"`
}
func NewDescribeBindVpcsResponse ¶
func NewDescribeBindVpcsResponse() (response *DescribeBindVpcsResponse)
func (*DescribeBindVpcsResponse) FromJsonString ¶
func (r *DescribeBindVpcsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeBindVpcsResponseParams ¶
type DescribeBindVpcsResponseParams struct {
// Number of records.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Set of VPCs.
VpcSets []*VpcBindRecord `json:"VpcSets,omitnil,omitempty" name:"VpcSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeClusterDetailRequest ¶
type DescribeClusterDetailRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeClusterDetailRequest ¶
func NewDescribeClusterDetailRequest() (request *DescribeClusterDetailRequest)
func (*DescribeClusterDetailRequest) FromJsonString ¶
func (r *DescribeClusterDetailRequest) FromJsonString(s string) error
FromJsonString 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 DescribeClusterDetailRequestParams ¶
type DescribeClusterDetailRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeClusterDetailResponse ¶
type DescribeClusterDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeClusterDetailResponseParams `json:"Response"`
}
func NewDescribeClusterDetailResponse ¶
func NewDescribeClusterDetailResponse() (response *DescribeClusterDetailResponse)
func (*DescribeClusterDetailResponse) FromJsonString ¶
func (r *DescribeClusterDetailResponse) FromJsonString(s string) error
FromJsonString 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 DescribeClusterDetailResponseParams ¶
type DescribeClusterDetailResponseParams struct {
// Cluster details
ClusterSet *Cluster `json:"ClusterSet,omitnil,omitempty" name:"ClusterSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeClustersRequest ¶
type DescribeClustersRequest struct {
*tchttp.BaseRequest
// Start offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter by cluster ID.
ClusterIdList []*string `json:"ClusterIdList,omitnil,omitempty" name:"ClusterIdList"`
// Whether to filter by tag.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter by tag.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeClustersRequest ¶
func NewDescribeClustersRequest() (request *DescribeClustersRequest)
func (*DescribeClustersRequest) FromJsonString ¶
func (r *DescribeClustersRequest) FromJsonString(s string) error
FromJsonString 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 DescribeClustersRequestParams ¶
type DescribeClustersRequestParams struct {
// Start offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter by cluster ID.
ClusterIdList []*string `json:"ClusterIdList,omitnil,omitempty" name:"ClusterIdList"`
// Whether to filter by tag.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter by tag.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeClustersResponse ¶
type DescribeClustersResponse struct {
*tchttp.BaseResponse
Response *DescribeClustersResponseParams `json:"Response"`
}
func NewDescribeClustersResponse ¶
func NewDescribeClustersResponse() (response *DescribeClustersResponse)
func (*DescribeClustersResponse) FromJsonString ¶
func (r *DescribeClustersResponse) FromJsonString(s string) error
FromJsonString 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 DescribeClustersResponseParams ¶
type DescribeClustersResponseParams struct {
// The number of clusters.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Cluster information list
ClusterSet []*Cluster `json:"ClusterSet,omitnil,omitempty" name:"ClusterSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeCmqQueueDetailRequest ¶
type DescribeCmqQueueDetailRequest struct {
*tchttp.BaseRequest
// Exact match by `QueueName`
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
func NewDescribeCmqQueueDetailRequest ¶
func NewDescribeCmqQueueDetailRequest() (request *DescribeCmqQueueDetailRequest)
func (*DescribeCmqQueueDetailRequest) FromJsonString ¶
func (r *DescribeCmqQueueDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqQueueDetailRequest) ToJsonString ¶
func (r *DescribeCmqQueueDetailRequest) ToJsonString() string
type DescribeCmqQueueDetailRequestParams ¶
type DescribeCmqQueueDetailRequestParams struct {
// Exact match by `QueueName`
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
Predefined struct for user
type DescribeCmqQueueDetailResponse ¶
type DescribeCmqQueueDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeCmqQueueDetailResponseParams `json:"Response"`
}
func NewDescribeCmqQueueDetailResponse ¶
func NewDescribeCmqQueueDetailResponse() (response *DescribeCmqQueueDetailResponse)
func (*DescribeCmqQueueDetailResponse) FromJsonString ¶
func (r *DescribeCmqQueueDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqQueueDetailResponse) ToJsonString ¶
func (r *DescribeCmqQueueDetailResponse) ToJsonString() string
type DescribeCmqQueueDetailResponseParams ¶
type DescribeCmqQueueDetailResponseParams struct {
// List of queue details.
QueueDescribe *CmqQueue `json:"QueueDescribe,omitnil,omitempty" name:"QueueDescribe"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeCmqQueuesRequest ¶
type DescribeCmqQueuesRequest struct {
*tchttp.BaseRequest
// Starting position of a queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` must be specified. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter by `QueueName`
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Filter by CMQ queue name.
QueueNameList []*string `json:"QueueNameList,omitnil,omitempty" name:"QueueNameList"`
// For filtering by tag, this parameter must be set to `true`.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter by tag. The tag name must be prefixed with “tag:”, such as “tag: owner”, “tag: environment”, or “tag: business”.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeCmqQueuesRequest ¶
func NewDescribeCmqQueuesRequest() (request *DescribeCmqQueuesRequest)
func (*DescribeCmqQueuesRequest) FromJsonString ¶
func (r *DescribeCmqQueuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqQueuesRequest) ToJsonString ¶
func (r *DescribeCmqQueuesRequest) ToJsonString() string
type DescribeCmqQueuesRequestParams ¶
type DescribeCmqQueuesRequestParams struct {
// Starting position of a queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` must be specified. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filter by `QueueName`
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Filter by CMQ queue name.
QueueNameList []*string `json:"QueueNameList,omitnil,omitempty" name:"QueueNameList"`
// For filtering by tag, this parameter must be set to `true`.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter by tag. The tag name must be prefixed with “tag:”, such as “tag: owner”, “tag: environment”, or “tag: business”.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeCmqQueuesResponse ¶
type DescribeCmqQueuesResponse struct {
*tchttp.BaseResponse
Response *DescribeCmqQueuesResponseParams `json:"Response"`
}
func NewDescribeCmqQueuesResponse ¶
func NewDescribeCmqQueuesResponse() (response *DescribeCmqQueuesResponse)
func (*DescribeCmqQueuesResponse) FromJsonString ¶
func (r *DescribeCmqQueuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqQueuesResponse) ToJsonString ¶
func (r *DescribeCmqQueuesResponse) ToJsonString() string
type DescribeCmqQueuesResponseParams ¶
type DescribeCmqQueuesResponseParams struct {
// The number of queues.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Queue list.
QueueList []*CmqQueue `json:"QueueList,omitnil,omitempty" name:"QueueList"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeCmqSubscriptionDetailRequest ¶
type DescribeCmqSubscriptionDetailRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Starting position of the list of topics to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of topics to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy search by `SubscriptionName`
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Queue name. Endpoint of bound subscription
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Query type. valid values: (1) topic; (2) queue.
// Default value is topic. if queryType is topic, query subscriptions under the topic. if queryType is queue, query subscriptions bound to the queue.
QueryType *string `json:"QueryType,omitnil,omitempty" name:"QueryType"`
}
func NewDescribeCmqSubscriptionDetailRequest ¶
func NewDescribeCmqSubscriptionDetailRequest() (request *DescribeCmqSubscriptionDetailRequest)
func (*DescribeCmqSubscriptionDetailRequest) FromJsonString ¶
func (r *DescribeCmqSubscriptionDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqSubscriptionDetailRequest) ToJsonString ¶
func (r *DescribeCmqSubscriptionDetailRequest) ToJsonString() string
type DescribeCmqSubscriptionDetailRequestParams ¶
type DescribeCmqSubscriptionDetailRequestParams struct {
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Starting position of the list of topics to be returned on the current page in case of paginated return. If a value is entered, `limit` is required. If this parameter is left empty, 0 will be used by default
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of topics to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy search by `SubscriptionName`
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Queue name. Endpoint of bound subscription
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Query type. valid values: (1) topic; (2) queue.
// Default value is topic. if queryType is topic, query subscriptions under the topic. if queryType is queue, query subscriptions bound to the queue.
QueryType *string `json:"QueryType,omitnil,omitempty" name:"QueryType"`
}
Predefined struct for user
type DescribeCmqSubscriptionDetailResponse ¶
type DescribeCmqSubscriptionDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeCmqSubscriptionDetailResponseParams `json:"Response"`
}
func NewDescribeCmqSubscriptionDetailResponse ¶
func NewDescribeCmqSubscriptionDetailResponse() (response *DescribeCmqSubscriptionDetailResponse)
func (*DescribeCmqSubscriptionDetailResponse) FromJsonString ¶
func (r *DescribeCmqSubscriptionDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqSubscriptionDetailResponse) ToJsonString ¶
func (r *DescribeCmqSubscriptionDetailResponse) ToJsonString() string
type DescribeCmqSubscriptionDetailResponseParams ¶
type DescribeCmqSubscriptionDetailResponseParams struct {
// Total number
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Subscription attribute collection
SubscriptionSet []*CmqSubscription `json:"SubscriptionSet,omitnil,omitempty" name:"SubscriptionSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeCmqTopicDetailRequest ¶
type DescribeCmqTopicDetailRequest struct {
*tchttp.BaseRequest
// Exact match by `TopicName`.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
func NewDescribeCmqTopicDetailRequest ¶
func NewDescribeCmqTopicDetailRequest() (request *DescribeCmqTopicDetailRequest)
func (*DescribeCmqTopicDetailRequest) FromJsonString ¶
func (r *DescribeCmqTopicDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqTopicDetailRequest) ToJsonString ¶
func (r *DescribeCmqTopicDetailRequest) ToJsonString() string
type DescribeCmqTopicDetailRequestParams ¶
type DescribeCmqTopicDetailRequestParams struct {
// Exact match by `TopicName`.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
Predefined struct for user
type DescribeCmqTopicDetailResponse ¶
type DescribeCmqTopicDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeCmqTopicDetailResponseParams `json:"Response"`
}
func NewDescribeCmqTopicDetailResponse ¶
func NewDescribeCmqTopicDetailResponse() (response *DescribeCmqTopicDetailResponse)
func (*DescribeCmqTopicDetailResponse) FromJsonString ¶
func (r *DescribeCmqTopicDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqTopicDetailResponse) ToJsonString ¶
func (r *DescribeCmqTopicDetailResponse) ToJsonString() string
type DescribeCmqTopicDetailResponseParams ¶
type DescribeCmqTopicDetailResponseParams struct {
// Topic details
TopicDescribe *CmqTopic `json:"TopicDescribe,omitnil,omitempty" name:"TopicDescribe"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeCmqTopicsRequest ¶
type DescribeCmqTopicsRequest struct {
*tchttp.BaseRequest
// Starting position of a queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` must be specified. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy search by `TopicName`
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Filter by CMQ topic name.
TopicNameList []*string `json:"TopicNameList,omitnil,omitempty" name:"TopicNameList"`
// For filtering by tag, this parameter must be set to `true`.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter by tag. The tag name must be prefixed with “tag:”, such as “tag: owner”, “tag: environment”, or “tag: business”.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeCmqTopicsRequest ¶
func NewDescribeCmqTopicsRequest() (request *DescribeCmqTopicsRequest)
func (*DescribeCmqTopicsRequest) FromJsonString ¶
func (r *DescribeCmqTopicsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqTopicsRequest) ToJsonString ¶
func (r *DescribeCmqTopicsRequest) ToJsonString() string
type DescribeCmqTopicsRequestParams ¶
type DescribeCmqTopicsRequestParams struct {
// Starting position of a queue list to be returned on the current page in case of paginated return. If a value is entered, `limit` must be specified. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of queues to be returned per page in case of paginated return. If this parameter is not passed in, 20 will be used by default. Maximum value: 50.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy search by `TopicName`
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Filter by CMQ topic name.
TopicNameList []*string `json:"TopicNameList,omitnil,omitempty" name:"TopicNameList"`
// For filtering by tag, this parameter must be set to `true`.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter by tag. The tag name must be prefixed with “tag:”, such as “tag: owner”, “tag: environment”, or “tag: business”.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeCmqTopicsResponse ¶
type DescribeCmqTopicsResponse struct {
*tchttp.BaseResponse
Response *DescribeCmqTopicsResponseParams `json:"Response"`
}
func NewDescribeCmqTopicsResponse ¶
func NewDescribeCmqTopicsResponse() (response *DescribeCmqTopicsResponse)
func (*DescribeCmqTopicsResponse) FromJsonString ¶
func (r *DescribeCmqTopicsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCmqTopicsResponse) ToJsonString ¶
func (r *DescribeCmqTopicsResponse) ToJsonString() string
type DescribeCmqTopicsResponseParams ¶
type DescribeCmqTopicsResponseParams struct {
// Topic list.
TopicList []*CmqTopic `json:"TopicList,omitnil,omitempty" name:"TopicList"`
// The total number of topics.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeEnvironmentAttributesRequest ¶
type DescribeEnvironmentAttributesRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeEnvironmentAttributesRequest ¶
func NewDescribeEnvironmentAttributesRequest() (request *DescribeEnvironmentAttributesRequest)
func (*DescribeEnvironmentAttributesRequest) FromJsonString ¶
func (r *DescribeEnvironmentAttributesRequest) FromJsonString(s string) error
FromJsonString 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 DescribeEnvironmentAttributesRequestParams ¶
type DescribeEnvironmentAttributesRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeEnvironmentAttributesResponse ¶
type DescribeEnvironmentAttributesResponse struct {
*tchttp.BaseResponse
Response *DescribeEnvironmentAttributesResponseParams `json:"Response"`
}
func NewDescribeEnvironmentAttributesResponse ¶
func NewDescribeEnvironmentAttributesResponse() (response *DescribeEnvironmentAttributesResponse)
func (*DescribeEnvironmentAttributesResponse) FromJsonString ¶
func (r *DescribeEnvironmentAttributesResponse) FromJsonString(s string) error
FromJsonString 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 DescribeEnvironmentAttributesResponseParams ¶
type DescribeEnvironmentAttributesResponseParams struct {
// TTL for unconsumed messages in seconds. Maximum value: 1296000 seconds (i.e., 15 days).
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Consumption rate limit in bytes/second. 0: unlimited.
RateInByte *uint64 `json:"RateInByte,omitnil,omitempty" name:"RateInByte"`
// Consumption rate limit in messages/second. 0: unlimited.
RateInSize *uint64 `json:"RateInSize,omitnil,omitempty" name:"RateInSize"`
// Retention policy for consumed messages in hours. 0: deleted immediately after consumption.
RetentionHours *uint64 `json:"RetentionHours,omitnil,omitempty" name:"RetentionHours"`
// Retention policy for consumed messages in GB. 0: deleted immediately after consumption.
RetentionSize *uint64 `json:"RetentionSize,omitnil,omitempty" name:"RetentionSize"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Number of replicas.
Replicas *uint64 `json:"Replicas,omitnil,omitempty" name:"Replicas"`
// Remarks.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeEnvironmentRolesRequest ¶
type DescribeEnvironmentRolesRequest struct {
*tchttp.BaseRequest
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Offset, which defaults to 0 if left empty.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// * RoleName
// Filter by role name for exact query.
// Type: String
// Required: No
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeEnvironmentRolesRequest ¶
func NewDescribeEnvironmentRolesRequest() (request *DescribeEnvironmentRolesRequest)
func (*DescribeEnvironmentRolesRequest) FromJsonString ¶
func (r *DescribeEnvironmentRolesRequest) FromJsonString(s string) error
FromJsonString 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 DescribeEnvironmentRolesRequestParams ¶
type DescribeEnvironmentRolesRequestParams struct {
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Offset, which defaults to 0 if left empty.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// * RoleName
// Filter by role name for exact query.
// Type: String
// Required: No
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeEnvironmentRolesResponse ¶
type DescribeEnvironmentRolesResponse struct {
*tchttp.BaseResponse
Response *DescribeEnvironmentRolesResponseParams `json:"Response"`
}
func NewDescribeEnvironmentRolesResponse ¶
func NewDescribeEnvironmentRolesResponse() (response *DescribeEnvironmentRolesResponse)
func (*DescribeEnvironmentRolesResponse) FromJsonString ¶
func (r *DescribeEnvironmentRolesResponse) FromJsonString(s string) error
FromJsonString 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 DescribeEnvironmentRolesResponseParams ¶
type DescribeEnvironmentRolesResponseParams struct {
// The number of records.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Namespace role set.
EnvironmentRoleSets []*EnvironmentRole `json:"EnvironmentRoleSets,omitnil,omitempty" name:"EnvironmentRoleSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeEnvironmentsRequest ¶
type DescribeEnvironmentsRequest struct {
*tchttp.BaseRequest
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Fuzzy search by namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// * EnvironmentId
// Filter by namespace for exact query.
// Type: String
// Required: No
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeEnvironmentsRequest ¶
func NewDescribeEnvironmentsRequest() (request *DescribeEnvironmentsRequest)
func (*DescribeEnvironmentsRequest) FromJsonString ¶
func (r *DescribeEnvironmentsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeEnvironmentsRequestParams ¶
type DescribeEnvironmentsRequestParams struct {
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Fuzzy search by namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// * EnvironmentId
// Filter by namespace for exact query.
// Type: String
// Required: No
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeEnvironmentsResponse ¶
type DescribeEnvironmentsResponse struct {
*tchttp.BaseResponse
Response *DescribeEnvironmentsResponseParams `json:"Response"`
}
func NewDescribeEnvironmentsResponse ¶
func NewDescribeEnvironmentsResponse() (response *DescribeEnvironmentsResponse)
func (*DescribeEnvironmentsResponse) FromJsonString ¶
func (r *DescribeEnvironmentsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeEnvironmentsResponseParams ¶
type DescribeEnvironmentsResponseParams struct {
// The number of namespaces.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Array of namespace sets.
EnvironmentSet []*Environment `json:"EnvironmentSet,omitnil,omitempty" name:"EnvironmentSet"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeMqMsgTraceRequest ¶
type DescribeMqMsgTraceRequest struct {
*tchttp.BaseRequest
// pulsar,rocketmq,rabbitmq,cmq
Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Cluster id. cmq is empty.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace. cmq is empty.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic. empty for cmq. group id when querying rocketmq dead letters.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// cmq is required. fill in the blank for other protocols.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Consumer Group and Subscription
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// The value is true when querying dead letters, and only valid for RocketMQ.
QueryDlqMsg *bool `json:"QueryDlqMsg,omitnil,omitempty" name:"QueryDlqMsg"`
// Message production time.
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
}
func NewDescribeMqMsgTraceRequest ¶
func NewDescribeMqMsgTraceRequest() (request *DescribeMqMsgTraceRequest)
func (*DescribeMqMsgTraceRequest) FromJsonString ¶
func (r *DescribeMqMsgTraceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMqMsgTraceRequest) ToJsonString ¶
func (r *DescribeMqMsgTraceRequest) ToJsonString() string
type DescribeMqMsgTraceRequestParams ¶
type DescribeMqMsgTraceRequestParams struct {
// pulsar,rocketmq,rabbitmq,cmq
Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Cluster id. cmq is empty.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace. cmq is empty.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic. empty for cmq. group id when querying rocketmq dead letters.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// cmq is required. fill in the blank for other protocols.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Consumer Group and Subscription
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// The value is true when querying dead letters, and only valid for RocketMQ.
QueryDlqMsg *bool `json:"QueryDlqMsg,omitnil,omitempty" name:"QueryDlqMsg"`
// Message production time.
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
}
Predefined struct for user
type DescribeMqMsgTraceResponse ¶
type DescribeMqMsgTraceResponse struct {
*tchttp.BaseResponse
Response *DescribeMqMsgTraceResponseParams `json:"Response"`
}
func NewDescribeMqMsgTraceResponse ¶
func NewDescribeMqMsgTraceResponse() (response *DescribeMqMsgTraceResponse)
func (*DescribeMqMsgTraceResponse) FromJsonString ¶
func (r *DescribeMqMsgTraceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMqMsgTraceResponse) ToJsonString ¶
func (r *DescribeMqMsgTraceResponse) ToJsonString() string
type DescribeMqMsgTraceResponseParams ¶
type DescribeMqMsgTraceResponseParams struct {
// Message content.
Result []*TraceResult `json:"Result,omitnil,omitempty" name:"Result"`
// Topic Name Displayed on Message Trace Page
ShowTopicName *string `json:"ShowTopicName,omitnil,omitempty" name:"ShowTopicName"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeMsgRequest ¶
type DescribeMsgRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeMsgRequest ¶
func NewDescribeMsgRequest() (request *DescribeMsgRequest)
func (*DescribeMsgRequest) FromJsonString ¶
func (r *DescribeMsgRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMsgRequest) ToJsonString ¶
func (r *DescribeMsgRequest) ToJsonString() string
type DescribeMsgRequestParams ¶
type DescribeMsgRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeMsgResponse ¶
type DescribeMsgResponse struct {
*tchttp.BaseResponse
Response *DescribeMsgResponseParams `json:"Response"`
}
func NewDescribeMsgResponse ¶
func NewDescribeMsgResponse() (response *DescribeMsgResponse)
func (*DescribeMsgResponse) FromJsonString ¶
func (r *DescribeMsgResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMsgResponse) ToJsonString ¶
func (r *DescribeMsgResponse) ToJsonString() string
type DescribeMsgResponseParams ¶
type DescribeMsgResponseParams struct {
// Message attributes.
Properties *string `json:"Properties,omitnil,omitempty" name:"Properties"`
// Message body.
Body *string `json:"Body,omitnil,omitempty" name:"Body"`
// Batch ID.
BatchId *string `json:"BatchId,omitnil,omitempty" name:"BatchId"`
// Production time.
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Producer name.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Message key
// Note: This field may return null, indicating that no valid values can be obtained.
Key *string `json:"Key,omitnil,omitempty" name:"Key"`
// Message metadata information.
// Note: This field may return null, indicating that no valid values can be obtained.
Metadata *string `json:"Metadata,omitnil,omitempty" name:"Metadata"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeMsgTraceRequest ¶
type DescribeMsgTraceRequest struct {
*tchttp.BaseRequest
// Environment (namespace).
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Message production time.
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
// Starting index. Default is 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy matching of consumer group name.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeMsgTraceRequest ¶
func NewDescribeMsgTraceRequest() (request *DescribeMsgTraceRequest)
func (*DescribeMsgTraceRequest) FromJsonString ¶
func (r *DescribeMsgTraceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMsgTraceRequest) ToJsonString ¶
func (r *DescribeMsgTraceRequest) ToJsonString() string
type DescribeMsgTraceRequestParams ¶
type DescribeMsgTraceRequestParams struct {
// Environment (namespace).
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Message production time.
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
// Starting index. Default is 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy matching of consumer group name.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeMsgTraceResponse ¶
type DescribeMsgTraceResponse struct {
*tchttp.BaseResponse
Response *DescribeMsgTraceResponseParams `json:"Response"`
}
func NewDescribeMsgTraceResponse ¶
func NewDescribeMsgTraceResponse() (response *DescribeMsgTraceResponse)
func (*DescribeMsgTraceResponse) FromJsonString ¶
func (r *DescribeMsgTraceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMsgTraceResponse) ToJsonString ¶
func (r *DescribeMsgTraceResponse) ToJsonString() string
type DescribeMsgTraceResponseParams ¶
type DescribeMsgTraceResponseParams struct {
// Produce information.
// Note: This field may return null, indicating that no valid values can be obtained.
ProducerLog *ProducerLog `json:"ProducerLog,omitnil,omitempty" name:"ProducerLog"`
// Service provider information.
// Note: This field may return null, indicating that no valid values can be obtained.
ServerLog *ServerLog `json:"ServerLog,omitnil,omitempty" name:"ServerLog"`
// Consumption information.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerLogs *ConsumerLogs `json:"ConsumerLogs,omitnil,omitempty" name:"ConsumerLogs"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePublisherSummaryRequest ¶
type DescribePublisherSummaryRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name.
Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`
// Topic name.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
}
func NewDescribePublisherSummaryRequest ¶
func NewDescribePublisherSummaryRequest() (request *DescribePublisherSummaryRequest)
func (*DescribePublisherSummaryRequest) FromJsonString ¶
func (r *DescribePublisherSummaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublisherSummaryRequest) ToJsonString ¶
func (r *DescribePublisherSummaryRequest) ToJsonString() string
type DescribePublisherSummaryRequestParams ¶
type DescribePublisherSummaryRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name.
Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`
// Topic name.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
}
Predefined struct for user
type DescribePublisherSummaryResponse ¶
type DescribePublisherSummaryResponse struct {
*tchttp.BaseResponse
Response *DescribePublisherSummaryResponseParams `json:"Response"`
}
func NewDescribePublisherSummaryResponse ¶
func NewDescribePublisherSummaryResponse() (response *DescribePublisherSummaryResponse)
func (*DescribePublisherSummaryResponse) FromJsonString ¶
func (r *DescribePublisherSummaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublisherSummaryResponse) ToJsonString ¶
func (r *DescribePublisherSummaryResponse) ToJsonString() string
type DescribePublisherSummaryResponseParams ¶
type DescribePublisherSummaryResponseParams struct {
// Production rate (messages/sec).
// Note: this field may return `null`, indicating that no valid values can be obtained.
MsgRateIn *float64 `json:"MsgRateIn,omitnil,omitempty" name:"MsgRateIn"`
// Production rate (byte/sec).
// Note: this field may return `null`, indicating that no valid values can be obtained.
MsgThroughputIn *float64 `json:"MsgThroughputIn,omitnil,omitempty" name:"MsgThroughputIn"`
// The number of producers.
// Note: this field may return `null`, indicating that no valid values can be obtained.
PublisherCount *int64 `json:"PublisherCount,omitnil,omitempty" name:"PublisherCount"`
// Message storage size in bytes.
// Note: this field may return `null`, indicating that no valid values can be obtained.
StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePublishersRequest ¶
type DescribePublishersRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name.
Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`
// Topic name.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Parameter filter. The `ProducerName` and `Address` fields are supported.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Offset for query. Default value: `0`.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of query results displayed per page. Default value: `20`.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Sort by field.
Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"`
}
func NewDescribePublishersRequest ¶
func NewDescribePublishersRequest() (request *DescribePublishersRequest)
func (*DescribePublishersRequest) FromJsonString ¶
func (r *DescribePublishersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublishersRequest) ToJsonString ¶
func (r *DescribePublishersRequest) ToJsonString() string
type DescribePublishersRequestParams ¶
type DescribePublishersRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name.
Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`
// Topic name.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Parameter filter. The `ProducerName` and `Address` fields are supported.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Offset for query. Default value: `0`.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of query results displayed per page. Default value: `20`.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Sort by field.
Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"`
}
Predefined struct for user
type DescribePublishersResponse ¶
type DescribePublishersResponse struct {
*tchttp.BaseResponse
Response *DescribePublishersResponseParams `json:"Response"`
}
func NewDescribePublishersResponse ¶
func NewDescribePublishersResponse() (response *DescribePublishersResponse)
func (*DescribePublishersResponse) FromJsonString ¶
func (r *DescribePublishersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublishersResponse) ToJsonString ¶
func (r *DescribePublishersResponse) ToJsonString() string
type DescribePublishersResponseParams ¶
type DescribePublishersResponseParams struct {
// Total number of query results.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of producer information.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Publishers []*Publisher `json:"Publishers,omitnil,omitempty" name:"Publishers"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePulsarProInstanceDetailRequest ¶
type DescribePulsarProInstanceDetailRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribePulsarProInstanceDetailRequest ¶
func NewDescribePulsarProInstanceDetailRequest() (request *DescribePulsarProInstanceDetailRequest)
func (*DescribePulsarProInstanceDetailRequest) FromJsonString ¶
func (r *DescribePulsarProInstanceDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePulsarProInstanceDetailRequest) ToJsonString ¶
func (r *DescribePulsarProInstanceDetailRequest) ToJsonString() string
type DescribePulsarProInstanceDetailRequestParams ¶
type DescribePulsarProInstanceDetailRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribePulsarProInstanceDetailResponse ¶
type DescribePulsarProInstanceDetailResponse struct {
*tchttp.BaseResponse
Response *DescribePulsarProInstanceDetailResponseParams `json:"Response"`
}
func NewDescribePulsarProInstanceDetailResponse ¶
func NewDescribePulsarProInstanceDetailResponse() (response *DescribePulsarProInstanceDetailResponse)
func (*DescribePulsarProInstanceDetailResponse) FromJsonString ¶
func (r *DescribePulsarProInstanceDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePulsarProInstanceDetailResponse) ToJsonString ¶
func (r *DescribePulsarProInstanceDetailResponse) ToJsonString() string
type DescribePulsarProInstanceDetailResponseParams ¶
type DescribePulsarProInstanceDetailResponseParams struct {
// Cluster information
ClusterInfo *PulsarProClusterInfo `json:"ClusterInfo,omitnil,omitempty" name:"ClusterInfo"`
// Cluster network access point information
// Note: This field may return null, indicating that no valid values can be obtained.
NetworkAccessPointInfos []*PulsarNetworkAccessPointInfo `json:"NetworkAccessPointInfos,omitnil,omitempty" name:"NetworkAccessPointInfos"`
// Cluster specification information
// Note: This field may return null, indicating that no valid values can be obtained.
ClusterSpecInfo *PulsarProClusterSpecInfo `json:"ClusterSpecInfo,omitnil,omitempty" name:"ClusterSpecInfo"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePulsarProInstancesRequest ¶
type DescribePulsarProInstancesRequest struct {
*tchttp.BaseRequest
// Query condition filter
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// The maximum number of queried items, which defaults to `20`.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Start offset for query
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
func NewDescribePulsarProInstancesRequest ¶
func NewDescribePulsarProInstancesRequest() (request *DescribePulsarProInstancesRequest)
func (*DescribePulsarProInstancesRequest) FromJsonString ¶
func (r *DescribePulsarProInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePulsarProInstancesRequest) ToJsonString ¶
func (r *DescribePulsarProInstancesRequest) ToJsonString() string
type DescribePulsarProInstancesRequestParams ¶
type DescribePulsarProInstancesRequestParams struct {
// Query condition filter
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// The maximum number of queried items, which defaults to `20`.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Start offset for query
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
Predefined struct for user
type DescribePulsarProInstancesResponse ¶
type DescribePulsarProInstancesResponse struct {
*tchttp.BaseResponse
Response *DescribePulsarProInstancesResponseParams `json:"Response"`
}
func NewDescribePulsarProInstancesResponse ¶
func NewDescribePulsarProInstancesResponse() (response *DescribePulsarProInstancesResponse)
func (*DescribePulsarProInstancesResponse) FromJsonString ¶
func (r *DescribePulsarProInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePulsarProInstancesResponse) ToJsonString ¶
func (r *DescribePulsarProInstancesResponse) ToJsonString() string
type DescribePulsarProInstancesResponseParams ¶
type DescribePulsarProInstancesResponseParams struct {
// The total number of unpaginated items
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Instance information list
Instances []*PulsarProInstance `json:"Instances,omitnil,omitempty" name:"Instances"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQBindingsRequest ¶
type DescribeRabbitMQBindingsRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the page offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page limit. default value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search keyword. Performs fuzzy search based on source exchange name, target resource name, or binding key.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Precise search filter based on source exchange.
SourceExchange *string `json:"SourceExchange,omitnil,omitempty" name:"SourceExchange"`
// Filters by the target queue name. cannot be set with DestinationExchange filtering.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Precise search filter based on target exchange. Cannot be set simultaneously with queuename filter.
DestinationExchange *string `json:"DestinationExchange,omitnil,omitempty" name:"DestinationExchange"`
}
func NewDescribeRabbitMQBindingsRequest ¶
func NewDescribeRabbitMQBindingsRequest() (request *DescribeRabbitMQBindingsRequest)
func (*DescribeRabbitMQBindingsRequest) FromJsonString ¶
func (r *DescribeRabbitMQBindingsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQBindingsRequest) ToJsonString ¶
func (r *DescribeRabbitMQBindingsRequest) ToJsonString() string
type DescribeRabbitMQBindingsRequestParams ¶
type DescribeRabbitMQBindingsRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the page offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page limit. default value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search keyword. Performs fuzzy search based on source exchange name, target resource name, or binding key.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Precise search filter based on source exchange.
SourceExchange *string `json:"SourceExchange,omitnil,omitempty" name:"SourceExchange"`
// Filters by the target queue name. cannot be set with DestinationExchange filtering.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Precise search filter based on target exchange. Cannot be set simultaneously with queuename filter.
DestinationExchange *string `json:"DestinationExchange,omitnil,omitempty" name:"DestinationExchange"`
}
Predefined struct for user
type DescribeRabbitMQBindingsResponse ¶
type DescribeRabbitMQBindingsResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQBindingsResponseParams `json:"Response"`
}
func NewDescribeRabbitMQBindingsResponse ¶
func NewDescribeRabbitMQBindingsResponse() (response *DescribeRabbitMQBindingsResponse)
func (*DescribeRabbitMQBindingsResponse) FromJsonString ¶
func (r *DescribeRabbitMQBindingsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQBindingsResponse) ToJsonString ¶
func (r *DescribeRabbitMQBindingsResponse) ToJsonString() string
type DescribeRabbitMQBindingsResponseParams ¶
type DescribeRabbitMQBindingsResponseParams struct {
// Route relationship list
BindingInfoList []*RabbitMQBindingListInfo `json:"BindingInfoList,omitnil,omitempty" name:"BindingInfoList"`
// Number of routing relationships.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQExchangesRequest ¶
type DescribeRabbitMQExchangesRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the pagination offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination limit. default is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search keyword, supports fuzzy matching.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Filters the exchange type. each element in the array is a selected filter type. only direct, fanout, topic, and header are supported.
ExchangeTypeFilters []*string `json:"ExchangeTypeFilters,omitnil,omitempty" name:"ExchangeTypeFilters"`
// Filter exchange creation source, "system": "system created", "user": "user created".
ExchangeCreatorFilters []*string `json:"ExchangeCreatorFilters,omitnil,omitempty" name:"ExchangeCreatorFilters"`
// Exchange name, used for exact matching.
ExchangeName *string `json:"ExchangeName,omitnil,omitempty" name:"ExchangeName"`
// Sorting field:
// MessageRateInOut - Total production and consumption rate.
// MessageRateIn - Production rate.
// MessageRateOut - Consumption rate: Specifies the message consumption rate.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order. Valid values: ascend and descend.
// Specifies the ascending order.
// Desc - descending.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
func NewDescribeRabbitMQExchangesRequest ¶
func NewDescribeRabbitMQExchangesRequest() (request *DescribeRabbitMQExchangesRequest)
func (*DescribeRabbitMQExchangesRequest) FromJsonString ¶
func (r *DescribeRabbitMQExchangesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQExchangesRequest) ToJsonString ¶
func (r *DescribeRabbitMQExchangesRequest) ToJsonString() string
type DescribeRabbitMQExchangesRequestParams ¶
type DescribeRabbitMQExchangesRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the pagination offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination limit. default is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search keyword, supports fuzzy matching.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Filters the exchange type. each element in the array is a selected filter type. only direct, fanout, topic, and header are supported.
ExchangeTypeFilters []*string `json:"ExchangeTypeFilters,omitnil,omitempty" name:"ExchangeTypeFilters"`
// Filter exchange creation source, "system": "system created", "user": "user created".
ExchangeCreatorFilters []*string `json:"ExchangeCreatorFilters,omitnil,omitempty" name:"ExchangeCreatorFilters"`
// Exchange name, used for exact matching.
ExchangeName *string `json:"ExchangeName,omitnil,omitempty" name:"ExchangeName"`
// Sorting field:
// MessageRateInOut - Total production and consumption rate.
// MessageRateIn - Production rate.
// MessageRateOut - Consumption rate: Specifies the message consumption rate.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order. Valid values: ascend and descend.
// Specifies the ascending order.
// Desc - descending.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
Predefined struct for user
type DescribeRabbitMQExchangesResponse ¶
type DescribeRabbitMQExchangesResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQExchangesResponseParams `json:"Response"`
}
func NewDescribeRabbitMQExchangesResponse ¶
func NewDescribeRabbitMQExchangesResponse() (response *DescribeRabbitMQExchangesResponse)
func (*DescribeRabbitMQExchangesResponse) FromJsonString ¶
func (r *DescribeRabbitMQExchangesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQExchangesResponse) ToJsonString ¶
func (r *DescribeRabbitMQExchangesResponse) ToJsonString() string
type DescribeRabbitMQExchangesResponseParams ¶
type DescribeRabbitMQExchangesResponseParams struct {
// Policy list information.
ExchangeInfoList []*RabbitMQExchangeListInfo `json:"ExchangeInfoList,omitnil,omitempty" name:"ExchangeInfoList"`
// Total number of policy results.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQNodeListRequest ¶
type DescribeRabbitMQNodeListRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. specifies the effective InstanceId that can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Offset, default value 0.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page limit. default value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Node name for fuzzy search
NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
// Filter parameter name and value. currently only support filtering based on node status.
// "Name": "nodeStatus"
// "Value": running or down
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Sorts by the specified element. only 2 are present.
// CPU usage: specifies the CPU utilization of the node.
// diskUsage: specifies the node disk utilization.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order.
// Valid values: `ascend`, `descend`.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
func NewDescribeRabbitMQNodeListRequest ¶
func NewDescribeRabbitMQNodeListRequest() (request *DescribeRabbitMQNodeListRequest)
func (*DescribeRabbitMQNodeListRequest) FromJsonString ¶
func (r *DescribeRabbitMQNodeListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQNodeListRequest) ToJsonString ¶
func (r *DescribeRabbitMQNodeListRequest) ToJsonString() string
type DescribeRabbitMQNodeListRequestParams ¶
type DescribeRabbitMQNodeListRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. specifies the effective InstanceId that can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Offset, default value 0.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page limit. default value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Node name for fuzzy search
NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
// Filter parameter name and value. currently only support filtering based on node status.
// "Name": "nodeStatus"
// "Value": running or down
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Sorts by the specified element. only 2 are present.
// CPU usage: specifies the CPU utilization of the node.
// diskUsage: specifies the node disk utilization.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order.
// Valid values: `ascend`, `descend`.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
Predefined struct for user
type DescribeRabbitMQNodeListResponse ¶
type DescribeRabbitMQNodeListResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQNodeListResponseParams `json:"Response"`
}
func NewDescribeRabbitMQNodeListResponse ¶
func NewDescribeRabbitMQNodeListResponse() (response *DescribeRabbitMQNodeListResponse)
func (*DescribeRabbitMQNodeListResponse) FromJsonString ¶
func (r *DescribeRabbitMQNodeListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQNodeListResponse) ToJsonString ¶
func (r *DescribeRabbitMQNodeListResponse) ToJsonString() string
type DescribeRabbitMQNodeListResponseParams ¶
type DescribeRabbitMQNodeListResponseParams struct {
// Specifies the cluster node quantity.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Listing Cluster Nodes
// Note: This field may return null, indicating that no valid values can be obtained.
NodeList []*RabbitMQPrivateNode `json:"NodeList,omitnil,omitempty" name:"NodeList"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQPermissionRequest ¶
type DescribeRabbitMQPermissionRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// VirtualHost name, such as testvhost. valid VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the page Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page Limit. default value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeRabbitMQPermissionRequest ¶
func NewDescribeRabbitMQPermissionRequest() (request *DescribeRabbitMQPermissionRequest)
func (*DescribeRabbitMQPermissionRequest) FromJsonString ¶
func (r *DescribeRabbitMQPermissionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQPermissionRequest) ToJsonString ¶
func (r *DescribeRabbitMQPermissionRequest) ToJsonString() string
type DescribeRabbitMQPermissionRequestParams ¶
type DescribeRabbitMQPermissionRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// VirtualHost name, such as testvhost. valid VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the page Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page Limit. default value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeRabbitMQPermissionResponse ¶
type DescribeRabbitMQPermissionResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQPermissionResponseParams `json:"Response"`
}
func NewDescribeRabbitMQPermissionResponse ¶
func NewDescribeRabbitMQPermissionResponse() (response *DescribeRabbitMQPermissionResponse)
func (*DescribeRabbitMQPermissionResponse) FromJsonString ¶
func (r *DescribeRabbitMQPermissionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQPermissionResponse) ToJsonString ¶
func (r *DescribeRabbitMQPermissionResponse) ToJsonString() string
type DescribeRabbitMQPermissionResponseParams ¶
type DescribeRabbitMQPermissionResponseParams struct {
// Specifies the number of permissions returned.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Permission details list.
RabbitMQPermissionList []*RabbitMQPermission `json:"RabbitMQPermissionList,omitnil,omitempty" name:"RabbitMQPermissionList"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQQueueDetailRequest ¶
type DescribeRabbitMQQueueDetailRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Queue Name
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
func NewDescribeRabbitMQQueueDetailRequest ¶
func NewDescribeRabbitMQQueueDetailRequest() (request *DescribeRabbitMQQueueDetailRequest)
func (*DescribeRabbitMQQueueDetailRequest) FromJsonString ¶
func (r *DescribeRabbitMQQueueDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQQueueDetailRequest) ToJsonString ¶
func (r *DescribeRabbitMQQueueDetailRequest) ToJsonString() string
type DescribeRabbitMQQueueDetailRequestParams ¶
type DescribeRabbitMQQueueDetailRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Queue Name
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
}
Predefined struct for user
type DescribeRabbitMQQueueDetailResponse ¶
type DescribeRabbitMQQueueDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQQueueDetailResponseParams `json:"Response"`
}
func NewDescribeRabbitMQQueueDetailResponse ¶
func NewDescribeRabbitMQQueueDetailResponse() (response *DescribeRabbitMQQueueDetailResponse)
func (*DescribeRabbitMQQueueDetailResponse) FromJsonString ¶
func (r *DescribeRabbitMQQueueDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQQueueDetailResponse) ToJsonString ¶
func (r *DescribeRabbitMQQueueDetailResponse) ToJsonString() string
type DescribeRabbitMQQueueDetailResponseParams ¶
type DescribeRabbitMQQueueDetailResponseParams struct {
// Instance name
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost parameter.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Queue name.
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Queue type. Valid values: classic and quorum.
QueueType *string `json:"QueueType,omitnil,omitempty" name:"QueueType"`
// The number of online consumers.
//
// Note: this field may return `null`, indicating that no valid values can be obtained.
Consumers *int64 `json:"Consumers,omitnil,omitempty" name:"Consumers"`
// Durable queue flag.
Durable *bool `json:"Durable,omitnil,omitempty" name:"Durable"`
// Automatic cleanup.
// Note: this field may return `null`, indicating that no valid values can be obtained.
AutoDelete *bool `json:"AutoDelete,omitnil,omitempty" name:"AutoDelete"`
// Remarks
//
// Note: this field may return `null`, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Messagettl parameter, specific to classic type.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MessageTTL *int64 `json:"MessageTTL,omitnil,omitempty" name:"MessageTTL"`
// Autoexpire parameter.
// Note: this field may return `null`, indicating that no valid values can be obtained.
AutoExpire *int64 `json:"AutoExpire,omitnil,omitempty" name:"AutoExpire"`
// The maxlength parameter specifies the maximum length.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MaxLength *int64 `json:"MaxLength,omitnil,omitempty" name:"MaxLength"`
// The maxlengthbytes parameter specifies the maximum length in bytes.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MaxLengthBytes *int64 `json:"MaxLengthBytes,omitnil,omitempty" name:"MaxLengthBytes"`
// The deliverylimit parameter is used for quorum type.
// Note: this field may return `null`, indicating that no valid values can be obtained.
DeliveryLimit *int64 `json:"DeliveryLimit,omitnil,omitempty" name:"DeliveryLimit"`
// The overflowbehaviour parameter specifies the behavior when overflow occurs. Valid values: drop-head, reject-publish, reject-publish-dlx.
// Note: this field may return `null`, indicating that no valid values can be obtained.
OverflowBehaviour *string `json:"OverflowBehaviour,omitnil,omitempty" name:"OverflowBehaviour"`
// The deadletterexchange parameter specifies the dead letter exchange.
// Note: this field may return `null`, indicating that no valid values can be obtained.
DeadLetterExchange *string `json:"DeadLetterExchange,omitnil,omitempty" name:"DeadLetterExchange"`
// The deadletterroutingkey parameter specifies the routing key for dead letters. Valid values: [value1, value2, value3].
// Note: this field may return `null`, indicating that no valid values can be obtained.
DeadLetterRoutingKey *string `json:"DeadLetterRoutingKey,omitnil,omitempty" name:"DeadLetterRoutingKey"`
// The singleactiveconsumer parameter indicates whether only one consumer can be active at a time. Valid values: [true, false].
// Note: this field may return `null`, indicating that no valid values can be obtained.
SingleActiveConsumer *bool `json:"SingleActiveConsumer,omitnil,omitempty" name:"SingleActiveConsumer"`
// The maximumpriority parameter, for classic type only, specifies the maximum priority level. Value range: 1-30.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MaximumPriority *int64 `json:"MaximumPriority,omitnil,omitempty" name:"MaximumPriority"`
// The lazymode parameter, for classic type only, indicates whether lazy mode is enabled. Valid values: [true, false].
// Note: this field may return `null`, indicating that no valid values can be obtained.
LazyMode *bool `json:"LazyMode,omitnil,omitempty" name:"LazyMode"`
// The masterlocator parameter, for classic type only, specifies the master locator strategy. Valid values: [strategy1, strategy2, strategy3].
// Note: this field may return `null`, indicating that no valid values can be obtained.
MasterLocator *string `json:"MasterLocator,omitnil,omitempty" name:"MasterLocator"`
// The maxinmemorylength parameter, specific to quorum type.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MaxInMemoryLength *int64 `json:"MaxInMemoryLength,omitnil,omitempty" name:"MaxInMemoryLength"`
// The maxinmemorybytes parameter, specific to quorum type.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MaxInMemoryBytes *int64 `json:"MaxInMemoryBytes,omitnil,omitempty" name:"MaxInMemoryBytes"`
// Creation timestamp. Unit: seconds.
CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Node
//
// Note: this field may return `null`, indicating that no valid values can be obtained.
Node *string `json:"Node,omitnil,omitempty" name:"Node"`
// Quorum queue dead letter consistency policy.
// Note: this field may return `null`, indicating that no valid values can be obtained.
DeadLetterStrategy *string `json:"DeadLetterStrategy,omitnil,omitempty" name:"DeadLetterStrategy"`
// Leader election policy for quorum queue.
// Note: this field may return `null`, indicating that no valid values can be obtained.
QueueLeaderLocator *string `json:"QueueLeaderLocator,omitnil,omitempty" name:"QueueLeaderLocator"`
// Initial replica group size of arbitration queue.
// Note: this field may return `null`, indicating that no valid values can be obtained.
QuorumInitialGroupSize *int64 `json:"QuorumInitialGroupSize,omitnil,omitempty" name:"QuorumInitialGroupSize"`
// Whether the queue is an exclusive queue.
Exclusive *bool `json:"Exclusive,omitnil,omitempty" name:"Exclusive"`
// Effective policy name.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"`
// Extended parameters of the key-value type.
Arguments *string `json:"Arguments,omitnil,omitempty" name:"Arguments"`
// Creation timestamp.
CreateTs *uint64 `json:"CreateTs,omitnil,omitempty" name:"CreateTs"`
// Modification timestamp.
ModifyTs *uint64 `json:"ModifyTs,omitnil,omitempty" name:"ModifyTs"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQQueuesRequest ¶
type DescribeRabbitMQQueuesRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the pagination Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination Limit. default is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search keywords
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Filter criteria for queue type. valid values: "all" (default): filter regular and quorum queues; "classic": filter classic (ordinary) queues; "quorum": filter quorum queues.
QueueType *string `json:"QueueType,omitnil,omitempty" name:"QueueType"`
// Sorting field.
// ConsumerNumber - Indicates the number of online consumers.
// MessageHeapCount - Indicates the number of retained messages.
// MessageRateInOut - Indicates the total production and consumption rate.
// MessageRateIn - Production rate.
// MessageRateOut - Consumption rate: Specifies the message consumption rate.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order. Valid values: ascend and descend.
// Specifies the ascending order.
// Desc - descending.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
func NewDescribeRabbitMQQueuesRequest ¶
func NewDescribeRabbitMQQueuesRequest() (request *DescribeRabbitMQQueuesRequest)
func (*DescribeRabbitMQQueuesRequest) FromJsonString ¶
func (r *DescribeRabbitMQQueuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQQueuesRequest) ToJsonString ¶
func (r *DescribeRabbitMQQueuesRequest) ToJsonString() string
type DescribeRabbitMQQueuesRequestParams ¶
type DescribeRabbitMQQueuesRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Specifies the pagination Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination Limit. default is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search keywords
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Filter criteria for queue type. valid values: "all" (default): filter regular and quorum queues; "classic": filter classic (ordinary) queues; "quorum": filter quorum queues.
QueueType *string `json:"QueueType,omitnil,omitempty" name:"QueueType"`
// Sorting field.
// ConsumerNumber - Indicates the number of online consumers.
// MessageHeapCount - Indicates the number of retained messages.
// MessageRateInOut - Indicates the total production and consumption rate.
// MessageRateIn - Production rate.
// MessageRateOut - Consumption rate: Specifies the message consumption rate.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order. Valid values: ascend and descend.
// Specifies the ascending order.
// Desc - descending.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
Predefined struct for user
type DescribeRabbitMQQueuesResponse ¶
type DescribeRabbitMQQueuesResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQQueuesResponseParams `json:"Response"`
}
func NewDescribeRabbitMQQueuesResponse ¶
func NewDescribeRabbitMQQueuesResponse() (response *DescribeRabbitMQQueuesResponse)
func (*DescribeRabbitMQQueuesResponse) FromJsonString ¶
func (r *DescribeRabbitMQQueuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQQueuesResponse) ToJsonString ¶
func (r *DescribeRabbitMQQueuesResponse) ToJsonString() string
type DescribeRabbitMQQueuesResponseParams ¶
type DescribeRabbitMQQueuesResponseParams struct {
// Queue list information.
QueueInfoList []*RabbitMQQueueListInfo `json:"QueueInfoList,omitnil,omitempty" name:"QueueInfoList"`
// Number of queues
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQUserRequest ¶
type DescribeRabbitMQUserRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username search by prefix or suffix
SearchUser *string `json:"SearchUser,omitnil,omitempty" name:"SearchUser"`
// Specifies the page Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page Limit. default value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Username, which is queried by exact match.
User *string `json:"User,omitnil,omitempty" name:"User"`
// User tag, used to determine the access permission of the user for RabbitMQ Management.
// management: ordinary console user. monitoring: administrative console user. other value: non-console user.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
}
func NewDescribeRabbitMQUserRequest ¶
func NewDescribeRabbitMQUserRequest() (request *DescribeRabbitMQUserRequest)
func (*DescribeRabbitMQUserRequest) FromJsonString ¶
func (r *DescribeRabbitMQUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQUserRequest) ToJsonString ¶
func (r *DescribeRabbitMQUserRequest) ToJsonString() string
type DescribeRabbitMQUserRequestParams ¶
type DescribeRabbitMQUserRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username search by prefix or suffix
SearchUser *string `json:"SearchUser,omitnil,omitempty" name:"SearchUser"`
// Specifies the page Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Page Limit. default value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Username, which is queried by exact match.
User *string `json:"User,omitnil,omitempty" name:"User"`
// User tag, used to determine the access permission of the user for RabbitMQ Management.
// management: ordinary console user. monitoring: administrative console user. other value: non-console user.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
}
Predefined struct for user
type DescribeRabbitMQUserResponse ¶
type DescribeRabbitMQUserResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQUserResponseParams `json:"Response"`
}
func NewDescribeRabbitMQUserResponse ¶
func NewDescribeRabbitMQUserResponse() (response *DescribeRabbitMQUserResponse)
func (*DescribeRabbitMQUserResponse) FromJsonString ¶
func (r *DescribeRabbitMQUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQUserResponse) ToJsonString ¶
func (r *DescribeRabbitMQUserResponse) ToJsonString() string
type DescribeRabbitMQUserResponseParams ¶
type DescribeRabbitMQUserResponseParams struct {
// Returned number of users
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The list of the created TDMQ for RabbitMQ users
RabbitMQUserList []*RabbitMQUser `json:"RabbitMQUserList,omitnil,omitempty" name:"RabbitMQUserList"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQVipInstanceRequest ¶
type DescribeRabbitMQVipInstanceRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeRabbitMQVipInstanceRequest ¶
func NewDescribeRabbitMQVipInstanceRequest() (request *DescribeRabbitMQVipInstanceRequest)
func (*DescribeRabbitMQVipInstanceRequest) FromJsonString ¶
func (r *DescribeRabbitMQVipInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQVipInstanceRequest) ToJsonString ¶
func (r *DescribeRabbitMQVipInstanceRequest) ToJsonString() string
type DescribeRabbitMQVipInstanceRequestParams ¶
type DescribeRabbitMQVipInstanceRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeRabbitMQVipInstanceResponse ¶
type DescribeRabbitMQVipInstanceResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQVipInstanceResponseParams `json:"Response"`
}
func NewDescribeRabbitMQVipInstanceResponse ¶
func NewDescribeRabbitMQVipInstanceResponse() (response *DescribeRabbitMQVipInstanceResponse)
func (*DescribeRabbitMQVipInstanceResponse) FromJsonString ¶
func (r *DescribeRabbitMQVipInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQVipInstanceResponse) ToJsonString ¶
func (r *DescribeRabbitMQVipInstanceResponse) ToJsonString() string
type DescribeRabbitMQVipInstanceResponseParams ¶
type DescribeRabbitMQVipInstanceResponseParams struct {
ClusterInfo *RabbitMQClusterInfo `json:"ClusterInfo,omitnil,omitempty" name:"ClusterInfo"`
ClusterSpecInfo *RabbitMQClusterSpecInfo `json:"ClusterSpecInfo,omitnil,omitempty" name:"ClusterSpecInfo"`
// Cluster network information.
ClusterNetInfo *RabbitMQClusterAccessInfo `json:"ClusterNetInfo,omitnil,omitempty" name:"ClusterNetInfo"`
// Cluster allowlist.
ClusterWhiteListInfo *RabbitMQClusterWhiteListInfo `json:"ClusterWhiteListInfo,omitnil,omitempty" name:"ClusterWhiteListInfo"`
VirtualHostQuota *VirtualHostQuota `json:"VirtualHostQuota,omitnil,omitempty" name:"VirtualHostQuota"`
ExchangeQuota *ExchangeQuota `json:"ExchangeQuota,omitnil,omitempty" name:"ExchangeQuota"`
QueueQuota *QueueQuota `json:"QueueQuota,omitnil,omitempty" name:"QueueQuota"`
// User quota information.
UserQuota *RabbitMQUserQuota `json:"UserQuota,omitnil,omitempty" name:"UserQuota"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQVipInstancesRequest ¶
type DescribeRabbitMQVipInstancesRequest struct {
*tchttp.BaseRequest
// Query condition filter
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Maximum number of items for query. Default value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Starting position of the query. Default value: 0.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
func NewDescribeRabbitMQVipInstancesRequest ¶
func NewDescribeRabbitMQVipInstancesRequest() (request *DescribeRabbitMQVipInstancesRequest)
func (*DescribeRabbitMQVipInstancesRequest) FromJsonString ¶
func (r *DescribeRabbitMQVipInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQVipInstancesRequest) ToJsonString ¶
func (r *DescribeRabbitMQVipInstancesRequest) ToJsonString() string
type DescribeRabbitMQVipInstancesRequestParams ¶
type DescribeRabbitMQVipInstancesRequestParams struct {
// Query condition filter
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Maximum number of items for query. Default value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Starting position of the query. Default value: 0.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
Predefined struct for user
type DescribeRabbitMQVipInstancesResponse ¶
type DescribeRabbitMQVipInstancesResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQVipInstancesResponseParams `json:"Response"`
}
func NewDescribeRabbitMQVipInstancesResponse ¶
func NewDescribeRabbitMQVipInstancesResponse() (response *DescribeRabbitMQVipInstancesResponse)
func (*DescribeRabbitMQVipInstancesResponse) FromJsonString ¶
func (r *DescribeRabbitMQVipInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQVipInstancesResponse) ToJsonString ¶
func (r *DescribeRabbitMQVipInstancesResponse) ToJsonString() string
type DescribeRabbitMQVipInstancesResponseParams ¶
type DescribeRabbitMQVipInstancesResponseParams struct {
// The total number of unpaginated items
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Instance information list
Instances []*RabbitMQVipInstance `json:"Instances,omitnil,omitempty" name:"Instances"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRabbitMQVirtualHostRequest ¶
type DescribeRabbitMQVirtualHostRequest struct {
*tchttp.BaseRequest
// Cluster instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost name. If this parameter is not specified, all will be queried by default.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Pagination offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination limit
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy query by vhost name
Filters *Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Specifies the sorting field.
// MessageHeapCount - specifies the message backlog count.
// MessageRateInOut - total production and consumption rate.
// MessageRateIn - production rate.
// MessageRateOut - consumption rate.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order. Valid values: ascend and descend.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
func NewDescribeRabbitMQVirtualHostRequest ¶
func NewDescribeRabbitMQVirtualHostRequest() (request *DescribeRabbitMQVirtualHostRequest)
func (*DescribeRabbitMQVirtualHostRequest) FromJsonString ¶
func (r *DescribeRabbitMQVirtualHostRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQVirtualHostRequest) ToJsonString ¶
func (r *DescribeRabbitMQVirtualHostRequest) ToJsonString() string
type DescribeRabbitMQVirtualHostRequestParams ¶
type DescribeRabbitMQVirtualHostRequestParams struct {
// Cluster instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost name. If this parameter is not specified, all will be queried by default.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Pagination offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination limit
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy query by vhost name
Filters *Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Specifies the sorting field.
// MessageHeapCount - specifies the message backlog count.
// MessageRateInOut - total production and consumption rate.
// MessageRateIn - production rate.
// MessageRateOut - consumption rate.
SortElement *string `json:"SortElement,omitnil,omitempty" name:"SortElement"`
// Sorting order. Valid values: ascend and descend.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}
Predefined struct for user
type DescribeRabbitMQVirtualHostResponse ¶
type DescribeRabbitMQVirtualHostResponse struct {
*tchttp.BaseResponse
Response *DescribeRabbitMQVirtualHostResponseParams `json:"Response"`
}
func NewDescribeRabbitMQVirtualHostResponse ¶
func NewDescribeRabbitMQVirtualHostResponse() (response *DescribeRabbitMQVirtualHostResponse)
func (*DescribeRabbitMQVirtualHostResponse) FromJsonString ¶
func (r *DescribeRabbitMQVirtualHostResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRabbitMQVirtualHostResponse) ToJsonString ¶
func (r *DescribeRabbitMQVirtualHostResponse) ToJsonString() string
type DescribeRabbitMQVirtualHostResponseParams ¶
type DescribeRabbitMQVirtualHostResponseParams struct {
// Returned number of vhosts
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of vhost details
VirtualHostList []*RabbitMQVirtualHostInfo `json:"VirtualHostList,omitnil,omitempty" name:"VirtualHostList"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQClusterRequest ¶
type DescribeRocketMQClusterRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeRocketMQClusterRequest ¶
func NewDescribeRocketMQClusterRequest() (request *DescribeRocketMQClusterRequest)
func (*DescribeRocketMQClusterRequest) FromJsonString ¶
func (r *DescribeRocketMQClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQClusterRequest) ToJsonString ¶
func (r *DescribeRocketMQClusterRequest) ToJsonString() string
type DescribeRocketMQClusterRequestParams ¶
type DescribeRocketMQClusterRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeRocketMQClusterResponse ¶
type DescribeRocketMQClusterResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQClusterResponseParams `json:"Response"`
}
func NewDescribeRocketMQClusterResponse ¶
func NewDescribeRocketMQClusterResponse() (response *DescribeRocketMQClusterResponse)
func (*DescribeRocketMQClusterResponse) FromJsonString ¶
func (r *DescribeRocketMQClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQClusterResponse) ToJsonString ¶
func (r *DescribeRocketMQClusterResponse) ToJsonString() string
type DescribeRocketMQClusterResponseParams ¶
type DescribeRocketMQClusterResponseParams struct {
// Cluster information
ClusterInfo *RocketMQClusterInfo `json:"ClusterInfo,omitnil,omitempty" name:"ClusterInfo"`
// Cluster configuration
ClusterConfig *RocketMQClusterConfig `json:"ClusterConfig,omitnil,omitempty" name:"ClusterConfig"`
// Cluster recent usage, about to be deprecated. Use TCOP to obtain related data.
// Note: This field may return null, indicating that no valid values can be obtained.
ClusterStats *RocketMQClusterRecentStats `json:"ClusterStats,omitnil,omitempty" name:"ClusterStats"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQClustersRequest ¶
type DescribeRocketMQClustersRequest struct {
*tchttp.BaseRequest
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The max number of returned results.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search by cluster ID.
IdKeyword *string `json:"IdKeyword,omitnil,omitempty" name:"IdKeyword"`
// Search by cluster name.
NameKeyword *string `json:"NameKeyword,omitnil,omitempty" name:"NameKeyword"`
// Filter by cluster ID.
ClusterIdList []*string `json:"ClusterIdList,omitnil,omitempty" name:"ClusterIdList"`
// For filtering by tag, this parameter must be set to `true`.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter only by tag.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeRocketMQClustersRequest ¶
func NewDescribeRocketMQClustersRequest() (request *DescribeRocketMQClustersRequest)
func (*DescribeRocketMQClustersRequest) FromJsonString ¶
func (r *DescribeRocketMQClustersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQClustersRequest) ToJsonString ¶
func (r *DescribeRocketMQClustersRequest) ToJsonString() string
type DescribeRocketMQClustersRequestParams ¶
type DescribeRocketMQClustersRequestParams struct {
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The max number of returned results.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search by cluster ID.
IdKeyword *string `json:"IdKeyword,omitnil,omitempty" name:"IdKeyword"`
// Search by cluster name.
NameKeyword *string `json:"NameKeyword,omitnil,omitempty" name:"NameKeyword"`
// Filter by cluster ID.
ClusterIdList []*string `json:"ClusterIdList,omitnil,omitempty" name:"ClusterIdList"`
// For filtering by tag, this parameter must be set to `true`.
IsTagFilter *bool `json:"IsTagFilter,omitnil,omitempty" name:"IsTagFilter"`
// Filter. Currently, you can filter only by tag.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeRocketMQClustersResponse ¶
type DescribeRocketMQClustersResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQClustersResponseParams `json:"Response"`
}
func NewDescribeRocketMQClustersResponse ¶
func NewDescribeRocketMQClustersResponse() (response *DescribeRocketMQClustersResponse)
func (*DescribeRocketMQClustersResponse) FromJsonString ¶
func (r *DescribeRocketMQClustersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQClustersResponse) ToJsonString ¶
func (r *DescribeRocketMQClustersResponse) ToJsonString() string
type DescribeRocketMQClustersResponseParams ¶
type DescribeRocketMQClustersResponseParams struct {
// Cluster information.
// Note: This field may return null, indicating that no valid values can be obtained.
ClusterList []*RocketMQClusterDetail `json:"ClusterList,omitnil,omitempty" name:"ClusterList"`
// The total number of returned results.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQEnvironmentRolesRequest ¶
type DescribeRocketMQEnvironmentRolesRequest struct {
*tchttp.BaseRequest
// Required. Specifies the ID of the RocketMQ cluster.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Starting index. Default is 0 if left empty.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Filters RoleName by role name for precise query. Type: string. Required: no.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeRocketMQEnvironmentRolesRequest ¶
func NewDescribeRocketMQEnvironmentRolesRequest() (request *DescribeRocketMQEnvironmentRolesRequest)
func (*DescribeRocketMQEnvironmentRolesRequest) FromJsonString ¶
func (r *DescribeRocketMQEnvironmentRolesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQEnvironmentRolesRequest) ToJsonString ¶
func (r *DescribeRocketMQEnvironmentRolesRequest) ToJsonString() string
type DescribeRocketMQEnvironmentRolesRequestParams ¶
type DescribeRocketMQEnvironmentRolesRequestParams struct {
// Required. Specifies the ID of the RocketMQ cluster.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Starting index. Default is 0 if left empty.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Filters RoleName by role name for precise query. Type: string. Required: no.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeRocketMQEnvironmentRolesResponse ¶
type DescribeRocketMQEnvironmentRolesResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQEnvironmentRolesResponseParams `json:"Response"`
}
func NewDescribeRocketMQEnvironmentRolesResponse ¶
func NewDescribeRocketMQEnvironmentRolesResponse() (response *DescribeRocketMQEnvironmentRolesResponse)
func (*DescribeRocketMQEnvironmentRolesResponse) FromJsonString ¶
func (r *DescribeRocketMQEnvironmentRolesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQEnvironmentRolesResponse) ToJsonString ¶
func (r *DescribeRocketMQEnvironmentRolesResponse) ToJsonString() string
type DescribeRocketMQEnvironmentRolesResponseParams ¶
type DescribeRocketMQEnvironmentRolesResponseParams struct {
// Record count.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Namespace role collection.
EnvironmentRoleSets []*EnvironmentRole `json:"EnvironmentRoleSets,omitnil,omitempty" name:"EnvironmentRoleSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQGroupsRequest ¶
type DescribeRocketMQGroupsRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The max number of returned results.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Topic name, which can be used to query all subscription groups under the topic
FilterTopic *string `json:"FilterTopic,omitnil,omitempty" name:"FilterTopic"`
// Consumer group query by consumer group name. Fuzzy query is supported
FilterGroup *string `json:"FilterGroup,omitnil,omitempty" name:"FilterGroup"`
// Sorts by the specified field. Valid value: subscribeNum: number of subscribed topics.
SortedBy *string `json:"SortedBy,omitnil,omitempty" name:"SortedBy"`
// Sort in ascending or descending order. Valid values: `asc`, `desc`.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
// Subscription group name. After it is specified, the information of only this subscription group will be returned.
FilterOneGroup *string `json:"FilterOneGroup,omitnil,omitempty" name:"FilterOneGroup"`
// Group type
Types []*string `json:"Types,omitnil,omitempty" name:"Types"`
// Tag filter
TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`
}
func NewDescribeRocketMQGroupsRequest ¶
func NewDescribeRocketMQGroupsRequest() (request *DescribeRocketMQGroupsRequest)
func (*DescribeRocketMQGroupsRequest) FromJsonString ¶
func (r *DescribeRocketMQGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQGroupsRequest) ToJsonString ¶
func (r *DescribeRocketMQGroupsRequest) ToJsonString() string
type DescribeRocketMQGroupsRequestParams ¶
type DescribeRocketMQGroupsRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The max number of returned results.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Topic name, which can be used to query all subscription groups under the topic
FilterTopic *string `json:"FilterTopic,omitnil,omitempty" name:"FilterTopic"`
// Consumer group query by consumer group name. Fuzzy query is supported
FilterGroup *string `json:"FilterGroup,omitnil,omitempty" name:"FilterGroup"`
// Sorts by the specified field. Valid value: subscribeNum: number of subscribed topics.
SortedBy *string `json:"SortedBy,omitnil,omitempty" name:"SortedBy"`
// Sort in ascending or descending order. Valid values: `asc`, `desc`.
SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
// Subscription group name. After it is specified, the information of only this subscription group will be returned.
FilterOneGroup *string `json:"FilterOneGroup,omitnil,omitempty" name:"FilterOneGroup"`
// Group type
Types []*string `json:"Types,omitnil,omitempty" name:"Types"`
// Tag filter
TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`
}
Predefined struct for user
type DescribeRocketMQGroupsResponse ¶
type DescribeRocketMQGroupsResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQGroupsResponseParams `json:"Response"`
}
func NewDescribeRocketMQGroupsResponse ¶
func NewDescribeRocketMQGroupsResponse() (response *DescribeRocketMQGroupsResponse)
func (*DescribeRocketMQGroupsResponse) FromJsonString ¶
func (r *DescribeRocketMQGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQGroupsResponse) ToJsonString ¶
func (r *DescribeRocketMQGroupsResponse) ToJsonString() string
type DescribeRocketMQGroupsResponseParams ¶
type DescribeRocketMQGroupsResponseParams struct {
// The total number of subscription groups.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of subscription groups
Groups []*RocketMQGroup `json:"Groups,omitnil,omitempty" name:"Groups"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQMsgRequest ¶
type DescribeRocketMQMsgRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace ID
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name. Pass in the group ID when querying a dead letter queue.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// ID of a TDMQ for Pulsar message
PulsarMsgId *string `json:"PulsarMsgId,omitnil,omitempty" name:"PulsarMsgId"`
// The value of this parameter is `true` when you query a dead letter queue. It only applies to TDMQ for RocketMQ.
QueryDlqMsg *bool `json:"QueryDlqMsg,omitnil,omitempty" name:"QueryDlqMsg"`
// The value is true when querying dead letters, and only valid for RocketMQ.
QueryDeadLetterMessage *bool `json:"QueryDeadLetterMessage,omitnil,omitempty" name:"QueryDeadLetterMessage"`
// Pagination offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination limit
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filters consumption details based on the consumer group name.
FilterTrackGroup *string `json:"FilterTrackGroup,omitnil,omitempty" name:"FilterTrackGroup"`
}
func NewDescribeRocketMQMsgRequest ¶
func NewDescribeRocketMQMsgRequest() (request *DescribeRocketMQMsgRequest)
func (*DescribeRocketMQMsgRequest) FromJsonString ¶
func (r *DescribeRocketMQMsgRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQMsgRequest) ToJsonString ¶
func (r *DescribeRocketMQMsgRequest) ToJsonString() string
type DescribeRocketMQMsgRequestParams ¶
type DescribeRocketMQMsgRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace ID
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name. Pass in the group ID when querying a dead letter queue.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// ID of a TDMQ for Pulsar message
PulsarMsgId *string `json:"PulsarMsgId,omitnil,omitempty" name:"PulsarMsgId"`
// The value of this parameter is `true` when you query a dead letter queue. It only applies to TDMQ for RocketMQ.
//
// Deprecated: QueryDlqMsg is deprecated.
QueryDlqMsg *bool `json:"QueryDlqMsg,omitnil,omitempty" name:"QueryDlqMsg"`
// The value is true when querying dead letters, and only valid for RocketMQ.
QueryDeadLetterMessage *bool `json:"QueryDeadLetterMessage,omitnil,omitempty" name:"QueryDeadLetterMessage"`
// Pagination offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination limit
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filters consumption details based on the consumer group name.
FilterTrackGroup *string `json:"FilterTrackGroup,omitnil,omitempty" name:"FilterTrackGroup"`
}
Predefined struct for user
type DescribeRocketMQMsgResponse ¶
type DescribeRocketMQMsgResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQMsgResponseParams `json:"Response"`
}
func NewDescribeRocketMQMsgResponse ¶
func NewDescribeRocketMQMsgResponse() (response *DescribeRocketMQMsgResponse)
func (*DescribeRocketMQMsgResponse) FromJsonString ¶
func (r *DescribeRocketMQMsgResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQMsgResponse) ToJsonString ¶
func (r *DescribeRocketMQMsgResponse) ToJsonString() string
type DescribeRocketMQMsgResponseParams ¶
type DescribeRocketMQMsgResponseParams struct {
// Message body
Body *string `json:"Body,omitnil,omitempty" name:"Body"`
// Details parameter
Properties *string `json:"Properties,omitnil,omitempty" name:"Properties"`
// Production time
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Producer address
ProducerAddr *string `json:"ProducerAddr,omitnil,omitempty" name:"ProducerAddr"`
// Consumer group consumption list.
// Note: This field may return null, indicating that no valid values can be obtained.
MessageTracks []*RocketMQMessageTrack `json:"MessageTracks,omitnil,omitempty" name:"MessageTracks"`
// Topic name displayed on the details page
// Note: This field may return null, indicating that no valid values can be obtained.
ShowTopicName *string `json:"ShowTopicName,omitnil,omitempty" name:"ShowTopicName"`
// Total number of consumer group consumption lists.
MessageTracksCount *int64 `json:"MessageTracksCount,omitnil,omitempty" name:"MessageTracksCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQMsgTraceRequest ¶
type DescribeRocketMQMsgTraceRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic. When the system queries RocketMQ dead letters, the value is groupId.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Consumer Group and Subscription
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// The value is true when querying dead letters.
QueryDLQMsg *bool `json:"QueryDLQMsg,omitnil,omitempty" name:"QueryDLQMsg"`
// The value is true when querying dead letters.
QueryDeadLetterMessage *string `json:"QueryDeadLetterMessage,omitnil,omitempty" name:"QueryDeadLetterMessage"`
}
func NewDescribeRocketMQMsgTraceRequest ¶
func NewDescribeRocketMQMsgTraceRequest() (request *DescribeRocketMQMsgTraceRequest)
func (*DescribeRocketMQMsgTraceRequest) FromJsonString ¶
func (r *DescribeRocketMQMsgTraceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQMsgTraceRequest) ToJsonString ¶
func (r *DescribeRocketMQMsgTraceRequest) ToJsonString() string
type DescribeRocketMQMsgTraceRequestParams ¶
type DescribeRocketMQMsgTraceRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic. When the system queries RocketMQ dead letters, the value is groupId.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Consumer Group and Subscription
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// The value is true when querying dead letters.
//
// Deprecated: QueryDLQMsg is deprecated.
QueryDLQMsg *bool `json:"QueryDLQMsg,omitnil,omitempty" name:"QueryDLQMsg"`
// The value is true when querying dead letters.
QueryDeadLetterMessage *string `json:"QueryDeadLetterMessage,omitnil,omitempty" name:"QueryDeadLetterMessage"`
}
Predefined struct for user
type DescribeRocketMQMsgTraceResponse ¶
type DescribeRocketMQMsgTraceResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQMsgTraceResponseParams `json:"Response"`
}
func NewDescribeRocketMQMsgTraceResponse ¶
func NewDescribeRocketMQMsgTraceResponse() (response *DescribeRocketMQMsgTraceResponse)
func (*DescribeRocketMQMsgTraceResponse) FromJsonString ¶
func (r *DescribeRocketMQMsgTraceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQMsgTraceResponse) ToJsonString ¶
func (r *DescribeRocketMQMsgTraceResponse) ToJsonString() string
type DescribeRocketMQMsgTraceResponseParams ¶
type DescribeRocketMQMsgTraceResponseParams struct {
// Trace details list.
Result []*TraceResult `json:"Result,omitnil,omitempty" name:"Result"`
// Topic Name Displayed on Message Trace Page
ShowTopicName *string `json:"ShowTopicName,omitnil,omitempty" name:"ShowTopicName"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQNamespacesRequest ¶
type DescribeRocketMQNamespacesRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The max number of returned results.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search by name.
NameKeyword *string `json:"NameKeyword,omitnil,omitempty" name:"NameKeyword"`
}
func NewDescribeRocketMQNamespacesRequest ¶
func NewDescribeRocketMQNamespacesRequest() (request *DescribeRocketMQNamespacesRequest)
func (*DescribeRocketMQNamespacesRequest) FromJsonString ¶
func (r *DescribeRocketMQNamespacesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQNamespacesRequest) ToJsonString ¶
func (r *DescribeRocketMQNamespacesRequest) ToJsonString() string
type DescribeRocketMQNamespacesRequestParams ¶
type DescribeRocketMQNamespacesRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The max number of returned results.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Search by name.
NameKeyword *string `json:"NameKeyword,omitnil,omitempty" name:"NameKeyword"`
}
Predefined struct for user
type DescribeRocketMQNamespacesResponse ¶
type DescribeRocketMQNamespacesResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQNamespacesResponseParams `json:"Response"`
}
func NewDescribeRocketMQNamespacesResponse ¶
func NewDescribeRocketMQNamespacesResponse() (response *DescribeRocketMQNamespacesResponse)
func (*DescribeRocketMQNamespacesResponse) FromJsonString ¶
func (r *DescribeRocketMQNamespacesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQNamespacesResponse) ToJsonString ¶
func (r *DescribeRocketMQNamespacesResponse) ToJsonString() string
type DescribeRocketMQNamespacesResponseParams ¶
type DescribeRocketMQNamespacesResponseParams struct {
// List of namespaces
Namespaces []*RocketMQNamespace `json:"Namespaces,omitnil,omitempty" name:"Namespaces"`
// The total number of returned results.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQProducersRequest ¶
type DescribeRocketMQProducersRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Pagination Offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination Limit
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Query filter criteria list. supports the following filter parameters:.
//
// -ClientId: specifies the producer client ID.
// -ClientIp: specifies the producer client IP.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeRocketMQProducersRequest ¶
func NewDescribeRocketMQProducersRequest() (request *DescribeRocketMQProducersRequest)
func (*DescribeRocketMQProducersRequest) FromJsonString ¶
func (r *DescribeRocketMQProducersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQProducersRequest) ToJsonString ¶
func (r *DescribeRocketMQProducersRequest) ToJsonString() string
type DescribeRocketMQProducersRequestParams ¶
type DescribeRocketMQProducersRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Pagination Offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination Limit
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Query filter criteria list. supports the following filter parameters:.
//
// -ClientId: specifies the producer client ID.
// -ClientIp: specifies the producer client IP.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeRocketMQProducersResponse ¶
type DescribeRocketMQProducersResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQProducersResponseParams `json:"Response"`
}
func NewDescribeRocketMQProducersResponse ¶
func NewDescribeRocketMQProducersResponse() (response *DescribeRocketMQProducersResponse)
func (*DescribeRocketMQProducersResponse) FromJsonString ¶
func (r *DescribeRocketMQProducersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQProducersResponse) ToJsonString ¶
func (r *DescribeRocketMQProducersResponse) ToJsonString() string
type DescribeRocketMQProducersResponseParams ¶
type DescribeRocketMQProducersResponseParams struct {
// Producer client list.
Producers []*ProducerInfo `json:"Producers,omitnil,omitempty" name:"Producers"`
// Total number.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQPublicAccessMonitorDataRequest ¶
type DescribeRocketMQPublicAccessMonitorDataRequest struct {
*tchttp.BaseRequest
// Exclusive Edition cluster ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Metric name. Only single-metric pulling is supported. Currently supported metrics: ClientIntraffic and ClientOuttraffic.
MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"`
// Start time.
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time, current time by default.
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Monitoring statistical period, such as 60 (in seconds). The default value is 300.
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
}
func NewDescribeRocketMQPublicAccessMonitorDataRequest ¶
func NewDescribeRocketMQPublicAccessMonitorDataRequest() (request *DescribeRocketMQPublicAccessMonitorDataRequest)
func (*DescribeRocketMQPublicAccessMonitorDataRequest) FromJsonString ¶
func (r *DescribeRocketMQPublicAccessMonitorDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQPublicAccessMonitorDataRequest) ToJsonString ¶
func (r *DescribeRocketMQPublicAccessMonitorDataRequest) ToJsonString() string
type DescribeRocketMQPublicAccessMonitorDataRequestParams ¶
type DescribeRocketMQPublicAccessMonitorDataRequestParams struct {
// Exclusive Edition cluster ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Metric name. Only single-metric pulling is supported. Currently supported metrics: ClientIntraffic and ClientOuttraffic.
MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"`
// Start time.
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time, current time by default.
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Monitoring statistical period, such as 60 (in seconds). The default value is 300.
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
}
Predefined struct for user
type DescribeRocketMQPublicAccessMonitorDataResponse ¶
type DescribeRocketMQPublicAccessMonitorDataResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQPublicAccessMonitorDataResponseParams `json:"Response"`
}
func NewDescribeRocketMQPublicAccessMonitorDataResponse ¶
func NewDescribeRocketMQPublicAccessMonitorDataResponse() (response *DescribeRocketMQPublicAccessMonitorDataResponse)
func (*DescribeRocketMQPublicAccessMonitorDataResponse) FromJsonString ¶
func (r *DescribeRocketMQPublicAccessMonitorDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQPublicAccessMonitorDataResponse) ToJsonString ¶
func (r *DescribeRocketMQPublicAccessMonitorDataResponse) ToJsonString() string
type DescribeRocketMQPublicAccessMonitorDataResponseParams ¶
type DescribeRocketMQPublicAccessMonitorDataResponseParams struct {
// Metric name.
// Note: This field may return null, indicating that no valid values can be obtained.
MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"`
// Monitoring statistical period, such as 60 (in seconds). The default value is 300.
// Note: This field may return null, indicating that no valid values can be obtained.
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
// Start time, for example, 2018-09-22T19:51:23+08:00.
// Note: This field may return null, indicating that no valid values can be obtained.
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time, such as 2018-09-22T20:51:23+08:00. The default value is the current time.
// Note: This field may return null, indicating that no valid values can be obtained.
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Data point array
// Note: This field may return null, indicating that no valid values can be obtained.
DataPoints []*RocketMQDataPoint `json:"DataPoints,omitnil,omitempty" name:"DataPoints"`
// Returned information.
// Note: This field may return null, indicating that no valid values can be obtained.
Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQPublicAccessPointRequest ¶
type DescribeRocketMQPublicAccessPointRequest struct {
*tchttp.BaseRequest
// Cluster ID. Currently, the system only supports dedicated clusters.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewDescribeRocketMQPublicAccessPointRequest ¶
func NewDescribeRocketMQPublicAccessPointRequest() (request *DescribeRocketMQPublicAccessPointRequest)
func (*DescribeRocketMQPublicAccessPointRequest) FromJsonString ¶
func (r *DescribeRocketMQPublicAccessPointRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQPublicAccessPointRequest) ToJsonString ¶
func (r *DescribeRocketMQPublicAccessPointRequest) ToJsonString() string
type DescribeRocketMQPublicAccessPointRequestParams ¶
type DescribeRocketMQPublicAccessPointRequestParams struct {
// Cluster ID. Currently, the system only supports dedicated clusters.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type DescribeRocketMQPublicAccessPointResponse ¶
type DescribeRocketMQPublicAccessPointResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQPublicAccessPointResponseParams `json:"Response"`
}
func NewDescribeRocketMQPublicAccessPointResponse ¶
func NewDescribeRocketMQPublicAccessPointResponse() (response *DescribeRocketMQPublicAccessPointResponse)
func (*DescribeRocketMQPublicAccessPointResponse) FromJsonString ¶
func (r *DescribeRocketMQPublicAccessPointResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQPublicAccessPointResponse) ToJsonString ¶
func (r *DescribeRocketMQPublicAccessPointResponse) ToJsonString() string
type DescribeRocketMQPublicAccessPointResponseParams ¶
type DescribeRocketMQPublicAccessPointResponseParams struct {
// Indicates the public network access point status.
// 0. enabled.
// Closed.
// 2: enabled.
// Disabling.
// Modifying.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Payment status.
// 0 or unknown.
// Normal.
// Indicates arrears.
PayStatus *int64 `json:"PayStatus,omitnil,omitempty" name:"PayStatus"`
// Endpoint address.
// Note: This field may return null, indicating that no valid values can be obtained.
AccessUrl *string `json:"AccessUrl,omitnil,omitempty" name:"AccessUrl"`
// Security Access Rule List
// Note: This field may return null, indicating that no valid values can be obtained.
Rules []*PublicAccessRule `json:"Rules,omitnil,omitempty" name:"Rules"`
// Bandwidth
// Note: This field may return null, indicating that no valid values can be obtained.
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Payment mode
// Note: This field may return null, indicating that no valid values can be obtained.
PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Whether public network is billed by traffic.
// Note: This field may return null, indicating that no valid values can be obtained.
BillingFlow *bool `json:"BillingFlow,omitnil,omitempty" name:"BillingFlow"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQRolesRequest ¶
type DescribeRocketMQRolesRequest struct {
*tchttp.BaseRequest
// Starting index. Default is 0 if left empty.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Role name, fuzzy search
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Filters RoleName by role name for precise query. Type: string. Required: no.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeRocketMQRolesRequest ¶
func NewDescribeRocketMQRolesRequest() (request *DescribeRocketMQRolesRequest)
func (*DescribeRocketMQRolesRequest) FromJsonString ¶
func (r *DescribeRocketMQRolesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQRolesRequest) ToJsonString ¶
func (r *DescribeRocketMQRolesRequest) ToJsonString() string
type DescribeRocketMQRolesRequestParams ¶
type DescribeRocketMQRolesRequestParams struct {
// Starting index. Default is 0 if left empty.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Role name, fuzzy search
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Filters RoleName by role name for precise query. Type: string. Required: no.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeRocketMQRolesResponse ¶
type DescribeRocketMQRolesResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQRolesResponseParams `json:"Response"`
}
func NewDescribeRocketMQRolesResponse ¶
func NewDescribeRocketMQRolesResponse() (response *DescribeRocketMQRolesResponse)
func (*DescribeRocketMQRolesResponse) FromJsonString ¶
func (r *DescribeRocketMQRolesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQRolesResponse) ToJsonString ¶
func (r *DescribeRocketMQRolesResponse) ToJsonString() string
type DescribeRocketMQRolesResponseParams ¶
type DescribeRocketMQRolesResponseParams struct {
// Record count.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Role array.
RoleSets []*Role `json:"RoleSets,omitnil,omitempty" name:"RoleSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQTopUsagesRequest ¶
type DescribeRocketMQTopUsagesRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Metric name. support the following:.
// consumeLag. specifies the consumer group backlog count.
// deadLetterCount. specifies the dead letter count.
// Topic production rate.
// Topic consumption rate. specifies the Topic consumption rate.
// topicStorageSize. specifies the Topic storage space.
// Topic API call count.
MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"`
// Sort quantity. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeRocketMQTopUsagesRequest ¶
func NewDescribeRocketMQTopUsagesRequest() (request *DescribeRocketMQTopUsagesRequest)
func (*DescribeRocketMQTopUsagesRequest) FromJsonString ¶
func (r *DescribeRocketMQTopUsagesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopUsagesRequest) ToJsonString ¶
func (r *DescribeRocketMQTopUsagesRequest) ToJsonString() string
type DescribeRocketMQTopUsagesRequestParams ¶
type DescribeRocketMQTopUsagesRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Metric name. support the following:.
// consumeLag. specifies the consumer group backlog count.
// deadLetterCount. specifies the dead letter count.
// Topic production rate.
// Topic consumption rate. specifies the Topic consumption rate.
// topicStorageSize. specifies the Topic storage space.
// Topic API call count.
MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"`
// Sort quantity. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeRocketMQTopUsagesResponse ¶
type DescribeRocketMQTopUsagesResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQTopUsagesResponseParams `json:"Response"`
}
func NewDescribeRocketMQTopUsagesResponse ¶
func NewDescribeRocketMQTopUsagesResponse() (response *DescribeRocketMQTopUsagesResponse)
func (*DescribeRocketMQTopUsagesResponse) FromJsonString ¶
func (r *DescribeRocketMQTopUsagesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopUsagesResponse) ToJsonString ¶
func (r *DescribeRocketMQTopUsagesResponse) ToJsonString() string
type DescribeRocketMQTopUsagesResponseParams ¶
type DescribeRocketMQTopUsagesResponseParams struct {
// Metric Value List
Values []*int64 `json:"Values,omitnil,omitempty" name:"Values"`
// Dimension combinations corresponding to metric value. this API has the following dimensions:.
// tenant,namespace,group,topic
Dimensions []*DimensionInstance `json:"Dimensions,omitnil,omitempty" name:"Dimensions"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQTopicMsgsRequest ¶
type DescribeRocketMQTopicMsgsRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name, which is groupId when the system queries dead letters.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Start time.
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time.
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Message key
MsgKey *string `json:"MsgKey,omitnil,omitempty" name:"MsgKey"`
// Query Offset
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Query Quotas
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Mark a pagination transaction.
TaskRequestId *string `json:"TaskRequestId,omitnil,omitempty" name:"TaskRequestId"`
// This value is true when the system queries dead letters, and is only valid for RocketMQ.
QueryDlqMsg *bool `json:"QueryDlqMsg,omitnil,omitempty" name:"QueryDlqMsg"`
// Query the last N messages. The value of N cannot exceed 1024. By default, -1 indicates other query conditions.
NumOfLatestMsg *int64 `json:"NumOfLatestMsg,omitnil,omitempty" name:"NumOfLatestMsg"`
// Tag expression.
Tag *string `json:"Tag,omitnil,omitempty" name:"Tag"`
// This value is true when the system queries dead letters, and is only valid for RocketMQ.
QueryDeadLetterMessage *bool `json:"QueryDeadLetterMessage,omitnil,omitempty" name:"QueryDeadLetterMessage"`
}
func NewDescribeRocketMQTopicMsgsRequest ¶
func NewDescribeRocketMQTopicMsgsRequest() (request *DescribeRocketMQTopicMsgsRequest)
func (*DescribeRocketMQTopicMsgsRequest) FromJsonString ¶
func (r *DescribeRocketMQTopicMsgsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicMsgsRequest) ToJsonString ¶
func (r *DescribeRocketMQTopicMsgsRequest) ToJsonString() string
type DescribeRocketMQTopicMsgsRequestParams ¶
type DescribeRocketMQTopicMsgsRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name, which is groupId when the system queries dead letters.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Start time.
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time.
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Message key
MsgKey *string `json:"MsgKey,omitnil,omitempty" name:"MsgKey"`
// Query Offset
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Query Quotas
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Mark a pagination transaction.
TaskRequestId *string `json:"TaskRequestId,omitnil,omitempty" name:"TaskRequestId"`
// This value is true when the system queries dead letters, and is only valid for RocketMQ.
//
// Deprecated: QueryDlqMsg is deprecated.
QueryDlqMsg *bool `json:"QueryDlqMsg,omitnil,omitempty" name:"QueryDlqMsg"`
// Query the last N messages. The value of N cannot exceed 1024. By default, -1 indicates other query conditions.
NumOfLatestMsg *int64 `json:"NumOfLatestMsg,omitnil,omitempty" name:"NumOfLatestMsg"`
// Tag expression.
Tag *string `json:"Tag,omitnil,omitempty" name:"Tag"`
// This value is true when the system queries dead letters, and is only valid for RocketMQ.
QueryDeadLetterMessage *bool `json:"QueryDeadLetterMessage,omitnil,omitempty" name:"QueryDeadLetterMessage"`
}
Predefined struct for user
type DescribeRocketMQTopicMsgsResponse ¶
type DescribeRocketMQTopicMsgsResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQTopicMsgsResponseParams `json:"Response"`
}
func NewDescribeRocketMQTopicMsgsResponse ¶
func NewDescribeRocketMQTopicMsgsResponse() (response *DescribeRocketMQTopicMsgsResponse)
func (*DescribeRocketMQTopicMsgsResponse) FromJsonString ¶
func (r *DescribeRocketMQTopicMsgsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicMsgsResponse) ToJsonString ¶
func (r *DescribeRocketMQTopicMsgsResponse) ToJsonString() string
type DescribeRocketMQTopicMsgsResponseParams ¶
type DescribeRocketMQTopicMsgsResponseParams struct {
// Total number.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Message List
TopicMsgLogSets []*RocketMQMsgLog `json:"TopicMsgLogSets,omitnil,omitempty" name:"TopicMsgLogSets"`
// Mark a pagination transaction.
// Note: This field may return null, indicating that no valid values can be obtained.
TaskRequestId *string `json:"TaskRequestId,omitnil,omitempty" name:"TaskRequestId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQTopicRequest ¶
type DescribeRocketMQTopicRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Consumer group name.
ConsumerGroup *string `json:"ConsumerGroup,omitnil,omitempty" name:"ConsumerGroup"`
// Subscription list pagination parameter Offset.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Subscription list pagination parameter Limit.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeRocketMQTopicRequest ¶
func NewDescribeRocketMQTopicRequest() (request *DescribeRocketMQTopicRequest)
func (*DescribeRocketMQTopicRequest) FromJsonString ¶
func (r *DescribeRocketMQTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicRequest) ToJsonString ¶
func (r *DescribeRocketMQTopicRequest) ToJsonString() string
type DescribeRocketMQTopicRequestParams ¶
type DescribeRocketMQTopicRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Consumer group name.
ConsumerGroup *string `json:"ConsumerGroup,omitnil,omitempty" name:"ConsumerGroup"`
// Subscription list pagination parameter Offset.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Subscription list pagination parameter Limit.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeRocketMQTopicResponse ¶
type DescribeRocketMQTopicResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQTopicResponseParams `json:"Response"`
}
func NewDescribeRocketMQTopicResponse ¶
func NewDescribeRocketMQTopicResponse() (response *DescribeRocketMQTopicResponse)
func (*DescribeRocketMQTopicResponse) FromJsonString ¶
func (r *DescribeRocketMQTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicResponse) ToJsonString ¶
func (r *DescribeRocketMQTopicResponse) ToJsonString() string
type DescribeRocketMQTopicResponseParams ¶
type DescribeRocketMQTopicResponseParams struct {
// Topic details.
Topic *RocketMQTopic `json:"Topic,omitnil,omitempty" name:"Topic"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQTopicStatsRequest ¶
type DescribeRocketMQTopicStatsRequest struct {
*tchttp.BaseRequest
// Instance ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
func NewDescribeRocketMQTopicStatsRequest ¶
func NewDescribeRocketMQTopicStatsRequest() (request *DescribeRocketMQTopicStatsRequest)
func (*DescribeRocketMQTopicStatsRequest) FromJsonString ¶
func (r *DescribeRocketMQTopicStatsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicStatsRequest) ToJsonString ¶
func (r *DescribeRocketMQTopicStatsRequest) ToJsonString() string
type DescribeRocketMQTopicStatsRequestParams ¶
type DescribeRocketMQTopicStatsRequestParams struct {
// Instance ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
Predefined struct for user
type DescribeRocketMQTopicStatsResponse ¶
type DescribeRocketMQTopicStatsResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQTopicStatsResponseParams `json:"Response"`
}
func NewDescribeRocketMQTopicStatsResponse ¶
func NewDescribeRocketMQTopicStatsResponse() (response *DescribeRocketMQTopicStatsResponse)
func (*DescribeRocketMQTopicStatsResponse) FromJsonString ¶
func (r *DescribeRocketMQTopicStatsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicStatsResponse) ToJsonString ¶
func (r *DescribeRocketMQTopicStatsResponse) ToJsonString() string
type DescribeRocketMQTopicStatsResponseParams ¶
type DescribeRocketMQTopicStatsResponseParams struct {
// Production details list.
TopicStatsList []*TopicStats `json:"TopicStatsList,omitnil,omitempty" name:"TopicStatsList"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQTopicsByGroupRequest ¶
type DescribeRocketMQTopicsByGroupRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Specifies the namespace name.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name.
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit of Items
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeRocketMQTopicsByGroupRequest ¶
func NewDescribeRocketMQTopicsByGroupRequest() (request *DescribeRocketMQTopicsByGroupRequest)
func (*DescribeRocketMQTopicsByGroupRequest) FromJsonString ¶
func (r *DescribeRocketMQTopicsByGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicsByGroupRequest) ToJsonString ¶
func (r *DescribeRocketMQTopicsByGroupRequest) ToJsonString() string
type DescribeRocketMQTopicsByGroupRequestParams ¶
type DescribeRocketMQTopicsByGroupRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Specifies the namespace name.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name.
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Offset.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Limit of Items
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeRocketMQTopicsByGroupResponse ¶
type DescribeRocketMQTopicsByGroupResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQTopicsByGroupResponseParams `json:"Response"`
}
func NewDescribeRocketMQTopicsByGroupResponse ¶
func NewDescribeRocketMQTopicsByGroupResponse() (response *DescribeRocketMQTopicsByGroupResponse)
func (*DescribeRocketMQTopicsByGroupResponse) FromJsonString ¶
func (r *DescribeRocketMQTopicsByGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicsByGroupResponse) ToJsonString ¶
func (r *DescribeRocketMQTopicsByGroupResponse) ToJsonString() string
type DescribeRocketMQTopicsByGroupResponseParams ¶
type DescribeRocketMQTopicsByGroupResponseParams struct {
// Total number of entries
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Topic list.
Topics []*string `json:"Topics,omitnil,omitempty" name:"Topics"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQTopicsRequest ¶
type DescribeRocketMQTopicsRequest struct {
*tchttp.BaseRequest
// Offset for query.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Query limit.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Filter by topic type. Valid values: `Normal`, `GlobalOrder`, `PartitionedOrder`, `Transaction`.
FilterType []*string `json:"FilterType,omitnil,omitempty" name:"FilterType"`
// Search by topic name. Fuzzy query is supported.
FilterName *string `json:"FilterName,omitnil,omitempty" name:"FilterName"`
// Filters by subscription consumer group name.
FilterGroup *string `json:"FilterGroup,omitnil,omitempty" name:"FilterGroup"`
// Tag filter
TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`
}
func NewDescribeRocketMQTopicsRequest ¶
func NewDescribeRocketMQTopicsRequest() (request *DescribeRocketMQTopicsRequest)
func (*DescribeRocketMQTopicsRequest) FromJsonString ¶
func (r *DescribeRocketMQTopicsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicsRequest) ToJsonString ¶
func (r *DescribeRocketMQTopicsRequest) ToJsonString() string
type DescribeRocketMQTopicsRequestParams ¶
type DescribeRocketMQTopicsRequestParams struct {
// Offset for query.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Query limit.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Filter by topic type. Valid values: `Normal`, `GlobalOrder`, `PartitionedOrder`, `Transaction`.
FilterType []*string `json:"FilterType,omitnil,omitempty" name:"FilterType"`
// Search by topic name. Fuzzy query is supported.
FilterName *string `json:"FilterName,omitnil,omitempty" name:"FilterName"`
// Filters by subscription consumer group name.
FilterGroup *string `json:"FilterGroup,omitnil,omitempty" name:"FilterGroup"`
// Tag filter
TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`
}
Predefined struct for user
type DescribeRocketMQTopicsResponse ¶
type DescribeRocketMQTopicsResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQTopicsResponseParams `json:"Response"`
}
func NewDescribeRocketMQTopicsResponse ¶
func NewDescribeRocketMQTopicsResponse() (response *DescribeRocketMQTopicsResponse)
func (*DescribeRocketMQTopicsResponse) FromJsonString ¶
func (r *DescribeRocketMQTopicsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQTopicsResponse) ToJsonString ¶
func (r *DescribeRocketMQTopicsResponse) ToJsonString() string
type DescribeRocketMQTopicsResponseParams ¶
type DescribeRocketMQTopicsResponseParams struct {
// The total number of query records.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of topic information
Topics []*RocketMQTopic `json:"Topics,omitnil,omitempty" name:"Topics"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQVipInstanceDetailRequest ¶
type DescribeRocketMQVipInstanceDetailRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeRocketMQVipInstanceDetailRequest ¶
func NewDescribeRocketMQVipInstanceDetailRequest() (request *DescribeRocketMQVipInstanceDetailRequest)
func (*DescribeRocketMQVipInstanceDetailRequest) FromJsonString ¶
func (r *DescribeRocketMQVipInstanceDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQVipInstanceDetailRequest) ToJsonString ¶
func (r *DescribeRocketMQVipInstanceDetailRequest) ToJsonString() string
type DescribeRocketMQVipInstanceDetailRequestParams ¶
type DescribeRocketMQVipInstanceDetailRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeRocketMQVipInstanceDetailResponse ¶
type DescribeRocketMQVipInstanceDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQVipInstanceDetailResponseParams `json:"Response"`
}
func NewDescribeRocketMQVipInstanceDetailResponse ¶
func NewDescribeRocketMQVipInstanceDetailResponse() (response *DescribeRocketMQVipInstanceDetailResponse)
func (*DescribeRocketMQVipInstanceDetailResponse) FromJsonString ¶
func (r *DescribeRocketMQVipInstanceDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQVipInstanceDetailResponse) ToJsonString ¶
func (r *DescribeRocketMQVipInstanceDetailResponse) ToJsonString() string
type DescribeRocketMQVipInstanceDetailResponseParams ¶
type DescribeRocketMQVipInstanceDetailResponseParams struct {
// Cluster information
ClusterInfo *RocketMQClusterInfo `json:"ClusterInfo,omitnil,omitempty" name:"ClusterInfo"`
// Cluster configuration
InstanceConfig *RocketMQInstanceConfig `json:"InstanceConfig,omitnil,omitempty" name:"InstanceConfig"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRocketMQVipInstancesRequest ¶
type DescribeRocketMQVipInstancesRequest struct {
*tchttp.BaseRequest
// Query condition filter. supported query conditions are as follows:.
// Instance ids - specifies the instance ids.
// Instance name - specifies the instance name.
// Status - specifies the instance status.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// The maximum number of queried items, which defaults to 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Start offset for query
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
func NewDescribeRocketMQVipInstancesRequest ¶
func NewDescribeRocketMQVipInstancesRequest() (request *DescribeRocketMQVipInstancesRequest)
func (*DescribeRocketMQVipInstancesRequest) FromJsonString ¶
func (r *DescribeRocketMQVipInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQVipInstancesRequest) ToJsonString ¶
func (r *DescribeRocketMQVipInstancesRequest) ToJsonString() string
type DescribeRocketMQVipInstancesRequestParams ¶
type DescribeRocketMQVipInstancesRequestParams struct {
// Query condition filter. supported query conditions are as follows:.
// Instance ids - specifies the instance ids.
// Instance name - specifies the instance name.
// Status - specifies the instance status.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// The maximum number of queried items, which defaults to 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Start offset for query
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
Predefined struct for user
type DescribeRocketMQVipInstancesResponse ¶
type DescribeRocketMQVipInstancesResponse struct {
*tchttp.BaseResponse
Response *DescribeRocketMQVipInstancesResponseParams `json:"Response"`
}
func NewDescribeRocketMQVipInstancesResponse ¶
func NewDescribeRocketMQVipInstancesResponse() (response *DescribeRocketMQVipInstancesResponse)
func (*DescribeRocketMQVipInstancesResponse) FromJsonString ¶
func (r *DescribeRocketMQVipInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRocketMQVipInstancesResponse) ToJsonString ¶
func (r *DescribeRocketMQVipInstancesResponse) ToJsonString() string
type DescribeRocketMQVipInstancesResponseParams ¶
type DescribeRocketMQVipInstancesResponseParams struct {
// The total number of unpaginated items
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Instance information list
Instances []*RocketMQVipInstance `json:"Instances,omitnil,omitempty" name:"Instances"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRolesRequest ¶
type DescribeRolesRequest struct {
*tchttp.BaseRequest
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Fuzzy query by role name
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Offset. If this parameter is left empty, 0 will be used by default.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of results to be returned. If this parameter is left empty, 10 will be used by default. The maximum value is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// * RoleName
// Filter by role name for exact query.
// Type: String
// Required: no
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeRolesRequest ¶
func NewDescribeRolesRequest() (request *DescribeRolesRequest)
func (*DescribeRolesRequest) FromJsonString ¶
func (r *DescribeRolesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRolesRequest) ToJsonString ¶
func (r *DescribeRolesRequest) ToJsonString() string
type DescribeRolesRequestParams ¶
type DescribeRolesRequestParams struct {
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Fuzzy query by role name
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Offset. If this parameter is left empty, 0 will be used by default.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of results to be returned. If this parameter is left empty, 10 will be used by default. The maximum value is 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// * RoleName
// Filter by role name for exact query.
// Type: String
// Required: no
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeRolesResponse ¶
type DescribeRolesResponse struct {
*tchttp.BaseResponse
Response *DescribeRolesResponseParams `json:"Response"`
}
func NewDescribeRolesResponse ¶
func NewDescribeRolesResponse() (response *DescribeRolesResponse)
func (*DescribeRolesResponse) FromJsonString ¶
func (r *DescribeRolesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRolesResponse) ToJsonString ¶
func (r *DescribeRolesResponse) ToJsonString() string
type DescribeRolesResponseParams ¶
type DescribeRolesResponseParams struct {
// Number of records.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Array of roles.
RoleSets []*Role `json:"RoleSets,omitnil,omitempty" name:"RoleSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSubscriptionsRequest ¶
type DescribeSubscriptionsRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy match by subscriber name.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Data filter.
Filters []*FilterSubscription `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeSubscriptionsRequest ¶
func NewDescribeSubscriptionsRequest() (request *DescribeSubscriptionsRequest)
func (*DescribeSubscriptionsRequest) FromJsonString ¶
func (r *DescribeSubscriptionsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeSubscriptionsRequestParams ¶
type DescribeSubscriptionsRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Fuzzy match by subscriber name.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Data filter.
Filters []*FilterSubscription `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeSubscriptionsResponse ¶
type DescribeSubscriptionsResponse struct {
*tchttp.BaseResponse
Response *DescribeSubscriptionsResponseParams `json:"Response"`
}
func NewDescribeSubscriptionsResponse ¶
func NewDescribeSubscriptionsResponse() (response *DescribeSubscriptionsResponse)
func (*DescribeSubscriptionsResponse) FromJsonString ¶
func (r *DescribeSubscriptionsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeSubscriptionsResponseParams ¶
type DescribeSubscriptionsResponseParams struct {
// Array of subscriber sets.
SubscriptionSets []*Subscription `json:"SubscriptionSets,omitnil,omitempty" name:"SubscriptionSets"`
// The total number of returned results.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTopicMsgsRequest ¶
type DescribeTopicMsgsRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Start time.
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time.
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Starting index. Default is 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewDescribeTopicMsgsRequest ¶
func NewDescribeTopicMsgsRequest() (request *DescribeTopicMsgsRequest)
func (*DescribeTopicMsgsRequest) FromJsonString ¶
func (r *DescribeTopicMsgsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicMsgsRequest) ToJsonString ¶
func (r *DescribeTopicMsgsRequest) ToJsonString() string
type DescribeTopicMsgsRequestParams ¶
type DescribeTopicMsgsRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Start time.
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// End time.
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// Starting index. Default is 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returns, default to 10 if not specified, maximum value: 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type DescribeTopicMsgsResponse ¶
type DescribeTopicMsgsResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicMsgsResponseParams `json:"Response"`
}
func NewDescribeTopicMsgsResponse ¶
func NewDescribeTopicMsgsResponse() (response *DescribeTopicMsgsResponse)
func (*DescribeTopicMsgsResponse) FromJsonString ¶
func (r *DescribeTopicMsgsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicMsgsResponse) ToJsonString ¶
func (r *DescribeTopicMsgsResponse) ToJsonString() string
type DescribeTopicMsgsResponseParams ¶
type DescribeTopicMsgsResponseParams struct {
// Total record count.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Message log list.
TopicMsgLogSets []*MsgLog `json:"TopicMsgLogSets,omitnil,omitempty" name:"TopicMsgLogSets"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTopicsRequest ¶
type DescribeTopicsRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Pulsar cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Fuzzy match by topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Topic type description:
// 0: Non-persistent and non-partitioned topic;
// 1: Non-persistent and partitioned topic;
// 2: Persistent and non-partitioned topic;
// 3: Persistent and partitioned topic.
TopicType *uint64 `json:"TopicType,omitnil,omitempty" name:"TopicType"`
// * TopicName
// Query by topic name for exact search.
// Type: String
// Required: No
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Topic creator:
// 1: User
// 2: System
TopicCreator *uint64 `json:"TopicCreator,omitnil,omitempty" name:"TopicCreator"`
}
func NewDescribeTopicsRequest ¶
func NewDescribeTopicsRequest() (request *DescribeTopicsRequest)
func (*DescribeTopicsRequest) FromJsonString ¶
func (r *DescribeTopicsRequest) FromJsonString(s string) error
FromJsonString 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 DescribeTopicsRequestParams ¶
type DescribeTopicsRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Pulsar cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Fuzzy match by topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Offset, which defaults to 0 if left empty.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 10 if left empty. The maximum value is 20.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Topic type description:
// 0: Non-persistent and non-partitioned topic;
// 1: Non-persistent and partitioned topic;
// 2: Persistent and non-partitioned topic;
// 3: Persistent and partitioned topic.
TopicType *uint64 `json:"TopicType,omitnil,omitempty" name:"TopicType"`
// * TopicName
// Query by topic name for exact search.
// Type: String
// Required: No
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Topic creator:
// 1: User
// 2: System
TopicCreator *uint64 `json:"TopicCreator,omitnil,omitempty" name:"TopicCreator"`
}
Predefined struct for user
type DescribeTopicsResponse ¶
type DescribeTopicsResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicsResponseParams `json:"Response"`
}
func NewDescribeTopicsResponse ¶
func NewDescribeTopicsResponse() (response *DescribeTopicsResponse)
func (*DescribeTopicsResponse) FromJsonString ¶
func (r *DescribeTopicsResponse) FromJsonString(s string) error
FromJsonString 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 DescribeTopicsResponseParams ¶
type DescribeTopicsResponseParams struct {
// Array of topic sets.
TopicSets []*Topic `json:"TopicSets,omitnil,omitempty" name:"TopicSets"`
// The number of topics.
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DetailedRolePerm ¶
type DetailedRolePerm struct {
// Resources corresponding to permissions.
Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`
// Whether to enable production permission
PermWrite *bool `json:"PermWrite,omitnil,omitempty" name:"PermWrite"`
// Whether to enable consumption permission
PermRead *bool `json:"PermRead,omitnil,omitempty" name:"PermRead"`
// Authorized resource type (Topic: topic; Group: consumer group).
ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource remarks.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}
type DimensionInstance ¶
type DimensionInstance struct {
// Dimension Combination of Instance
// Note: This field may return null, indicating that no valid values can be obtained.
Dimensions []*DimensionOpt `json:"Dimensions,omitnil,omitempty" name:"Dimensions"`
}
type DimensionOpt ¶
type DimensionOpt struct {
// Queried dimension name
// Note: This field may return null, indicating that no valid values can be obtained.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Queried Dimension Value
// Note: This field may return null, indicating that no valid values can be obtained.
Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}
type Environment ¶
type Environment struct {
// Namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Description.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Retention period for unconsumed messages in seconds. Maximum value: 1,296,000 seconds (15 days).
MsgTTL *int64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Creation time.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Last modified.
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// Namespace ID.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Namespace name.
NamespaceName *string `json:"NamespaceName,omitnil,omitempty" name:"NamespaceName"`
// The number of topics.
// Note: This field may return null, indicating that no valid values can be obtained.
TopicNum *int64 `json:"TopicNum,omitnil,omitempty" name:"TopicNum"`
// Message retention policy.
// Note: This field may return null, indicating that no valid values can be obtained.
RetentionPolicy *RetentionPolicy `json:"RetentionPolicy,omitnil,omitempty" name:"RetentionPolicy"`
// Whether to enable "Auto-Create Subscription"
// Note: This field may return null, indicating that no valid values can be obtained.
AutoSubscriptionCreation *bool `json:"AutoSubscriptionCreation,omitnil,omitempty" name:"AutoSubscriptionCreation"`
}
type EnvironmentRole ¶
type EnvironmentRole struct {
// Environment (namespace).
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Permissions, which is a non-empty string array of `produce` and `consume` at the most.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Role description.
RoleDescribe *string `json:"RoleDescribe,omitnil,omitempty" name:"RoleDescribe"`
// Creation time.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Update time.
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}
type EnvironmentRoleSet ¶
type EnvironmentRoleSet struct {
// The IDs of the bound namespaces cannot be delicate and the namespaces must contain resources
// Note: This field may return null, indicating that no valid values can be obtained.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Permissions to be bound to a namespace. Enumerated values: `consume`, `produce`, and `consume, produce`. This parameter cannot be left empty.
//
// Note: This field may return null, indicating that no valid values can be obtained.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
}
type ExchangeQuota ¶
type ExportRocketMQMessageDetailRequest ¶
type ExportRocketMQMessageDetailRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Application namespace.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
// If it is a dead letter message, isDlqMsg=true.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Whether to Includes Message Body
IncludeMsgBody *bool `json:"IncludeMsgBody,omitnil,omitempty" name:"IncludeMsgBody"`
// Whether It a Dead Letter Message
DeadLetterMsg *bool `json:"DeadLetterMsg,omitnil,omitempty" name:"DeadLetterMsg"`
}
func NewExportRocketMQMessageDetailRequest ¶
func NewExportRocketMQMessageDetailRequest() (request *ExportRocketMQMessageDetailRequest)
func (*ExportRocketMQMessageDetailRequest) FromJsonString ¶
func (r *ExportRocketMQMessageDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportRocketMQMessageDetailRequest) ToJsonString ¶
func (r *ExportRocketMQMessageDetailRequest) ToJsonString() string
type ExportRocketMQMessageDetailRequestParams ¶
type ExportRocketMQMessageDetailRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Application namespace.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
// If it is a dead letter message, isDlqMsg=true.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Whether to Includes Message Body
IncludeMsgBody *bool `json:"IncludeMsgBody,omitnil,omitempty" name:"IncludeMsgBody"`
// Whether It a Dead Letter Message
DeadLetterMsg *bool `json:"DeadLetterMsg,omitnil,omitempty" name:"DeadLetterMsg"`
}
Predefined struct for user
type ExportRocketMQMessageDetailResponse ¶
type ExportRocketMQMessageDetailResponse struct {
*tchttp.BaseResponse
Response *ExportRocketMQMessageDetailResponseParams `json:"Response"`
}
func NewExportRocketMQMessageDetailResponse ¶
func NewExportRocketMQMessageDetailResponse() (response *ExportRocketMQMessageDetailResponse)
func (*ExportRocketMQMessageDetailResponse) FromJsonString ¶
func (r *ExportRocketMQMessageDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ExportRocketMQMessageDetailResponse) ToJsonString ¶
func (r *ExportRocketMQMessageDetailResponse) ToJsonString() string
type ExportRocketMQMessageDetailResponseParams ¶
type ExportRocketMQMessageDetailResponseParams struct {
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Message Generation Timestamp
// Note: This field may return null, indicating that no valid values can be obtained.
BornTimestamp *int64 `json:"BornTimestamp,omitnil,omitempty" name:"BornTimestamp"`
// Message Storage Timestamp
// Note: This field may return null, indicating that no valid values can be obtained.
StoreTimestamp *int64 `json:"StoreTimestamp,omitnil,omitempty" name:"StoreTimestamp"`
// Message Production Client Address
// Note: This field may return null, indicating that no valid values can be obtained.
BornHost *string `json:"BornHost,omitnil,omitempty" name:"BornHost"`
// Message Tag
// Note: This field may return null, indicating that no valid values can be obtained.
MsgTag *string `json:"MsgTag,omitnil,omitempty" name:"MsgTag"`
// Message key
// Note: This field may return null, indicating that no valid values can be obtained.
MsgKey *string `json:"MsgKey,omitnil,omitempty" name:"MsgKey"`
// Message Attributes
// Note: This field may return null, indicating that no valid values can be obtained.
Properties *string `json:"Properties,omitnil,omitempty" name:"Properties"`
// Message Retry Count
// Note: This field may return null, indicating that no valid values can be obtained.
ReConsumeTimes *uint64 `json:"ReConsumeTimes,omitnil,omitempty" name:"ReConsumeTimes"`
// Base64 Encoded String
// Note: This field may return null, indicating that no valid values can be obtained.
MsgBody *string `json:"MsgBody,omitnil,omitempty" name:"MsgBody"`
// CRC32 Code of Message Content
// Note: This field may return null, indicating that no valid values can be obtained.
MsgBodyCRC *int64 `json:"MsgBodyCRC,omitnil,omitempty" name:"MsgBodyCRC"`
// Specifies the message body size (unit K).
// Does not return messages when above 2048.
MsgBodySize *uint64 `json:"MsgBodySize,omitnil,omitempty" name:"MsgBodySize"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type FilterSubscription ¶
type FilterSubscription struct {
// Whether to only display subscriptions that include real consumers.
ConsumerHasCount *bool `json:"ConsumerHasCount,omitnil,omitempty" name:"ConsumerHasCount"`
// Whether to only display subscriptions with heaped messages.
ConsumerHasBacklog *bool `json:"ConsumerHasBacklog,omitnil,omitempty" name:"ConsumerHasBacklog"`
// Whether to only display subscriptions with messages discarded after expiration.
ConsumerHasExpired *bool `json:"ConsumerHasExpired,omitnil,omitempty" name:"ConsumerHasExpired"`
// Filter by subscription name for exact query.
SubscriptionNames []*string `json:"SubscriptionNames,omitnil,omitempty" name:"SubscriptionNames"`
}
type InstanceNodeDistribution ¶
type InstanceNodeDistribution struct {
// AZ
ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`
// AZ ID
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Number of nodes
NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// This flag is true if there is a scheduling task with no switchback AZs.
NodePermWipeFlag *bool `json:"NodePermWipeFlag,omitnil,omitempty" name:"NodePermWipeFlag"`
// Availability zone status
// Note: This field may return null, indicating that no valid values can be obtained.
ZoneStatus *string `json:"ZoneStatus,omitnil,omitempty" name:"ZoneStatus"`
}
type ModifyClusterRequest ¶
type ModifyClusterRequest struct {
*tchttp.BaseRequest
// ID of the Pulsar cluster to be updated.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Updated cluster name.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Description information. length limit is 128 bytes.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Enables public network access, which can only be `true`.
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
func NewModifyClusterRequest ¶
func NewModifyClusterRequest() (request *ModifyClusterRequest)
func (*ModifyClusterRequest) FromJsonString ¶
func (r *ModifyClusterRequest) FromJsonString(s string) error
FromJsonString 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 ModifyClusterRequestParams ¶
type ModifyClusterRequestParams struct {
// ID of the Pulsar cluster to be updated.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Updated cluster name.
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Description information. length limit is 128 bytes.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Enables public network access, which can only be `true`.
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
Predefined struct for user
type ModifyClusterResponse ¶
type ModifyClusterResponse struct {
*tchttp.BaseResponse
Response *ModifyClusterResponseParams `json:"Response"`
}
func NewModifyClusterResponse ¶
func NewModifyClusterResponse() (response *ModifyClusterResponse)
func (*ModifyClusterResponse) FromJsonString ¶
func (r *ModifyClusterResponse) FromJsonString(s string) error
FromJsonString 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 ModifyClusterResponseParams ¶
type ModifyClusterResponseParams struct {
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyCmqQueueAttributeRequest ¶
type ModifyCmqQueueAttributeRequest struct {
*tchttp.BaseRequest
// Queue name, which must be unique under the same account in the same region. A queue name is a string of up to 64 characters, starting with a letter, and the remaining part can include letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Maximum number of heaped messages. The value range is 1,000,000–10,000,000 during the beta test and can be 1,000,000–1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"`
// Long polling wait time for message reception. Value range: 0–30 seconds. Default value: 0.
PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"`
// Message visibility timeout period. Value range: 1–43200 seconds (i.e., 12 hours). Default value: 30.
VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"`
// Max message size, which defaults to 1,024 KB for the queue of TDMQ for CMQ and cannot be modified.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"`
// First query time
FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"`
// Maximum number of queries
MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"`
// Dead letter queue name
DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"`
// Specifies the essential parameter when policy is 1. maximum unconsumed expiration time. value range: 300-43200 in seconds, must be less than the maximum message retention time MsgRetentionSeconds.
MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"`
// Maximum number of receipts
MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"`
// Dead letter queue policy
Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"`
// Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Whether to enable transaction. 1: yes; 0: no
Transaction *uint64 `json:"Transaction,omitnil,omitempty" name:"Transaction"`
// Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RetentionSizeInMB *uint64 `json:"RetentionSizeInMB,omitnil,omitempty" name:"RetentionSizeInMB"`
}
func NewModifyCmqQueueAttributeRequest ¶
func NewModifyCmqQueueAttributeRequest() (request *ModifyCmqQueueAttributeRequest)
func (*ModifyCmqQueueAttributeRequest) FromJsonString ¶
func (r *ModifyCmqQueueAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCmqQueueAttributeRequest) ToJsonString ¶
func (r *ModifyCmqQueueAttributeRequest) ToJsonString() string
type ModifyCmqQueueAttributeRequestParams ¶
type ModifyCmqQueueAttributeRequestParams struct {
// Queue name, which must be unique under the same account in the same region. A queue name is a string of up to 64 characters, starting with a letter, and the remaining part can include letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Maximum number of heaped messages. The value range is 1,000,000–10,000,000 during the beta test and can be 1,000,000–1,000,000,000 after the product is officially released. The default value is 10,000,000 during the beta test and will be 100,000,000 after the product is officially released.
MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"`
// Long polling wait time for message reception. Value range: 0–30 seconds. Default value: 0.
PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"`
// Message visibility timeout period. Value range: 1–43200 seconds (i.e., 12 hours). Default value: 30.
VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"`
// Max message size, which defaults to 1,024 KB for the queue of TDMQ for CMQ and cannot be modified.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// The max period during which a message is retained before it is automatically acknowledged. Value range: 30-43,200 seconds (30 seconds to 12 hours). Default value: 3600 seconds (1 hour).
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Rewindable time of messages in the queue. Value range: 0-1,296,000s (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"`
// First query time
FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"`
// Maximum number of queries
MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"`
// Dead letter queue name
DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"`
// Specifies the essential parameter when policy is 1. maximum unconsumed expiration time. value range: 300-43200 in seconds, must be less than the maximum message retention time MsgRetentionSeconds.
MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"`
// Maximum number of receipts
MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"`
// Dead letter queue policy
Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"`
// Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
// Whether to enable transaction. 1: yes; 0: no
Transaction *uint64 `json:"Transaction,omitnil,omitempty" name:"Transaction"`
// Queue storage space configured for message rewind. Value range: 10,240-512,000 MB (if message rewind is enabled). The value “0” indicates that message rewind is not enabled.
RetentionSizeInMB *uint64 `json:"RetentionSizeInMB,omitnil,omitempty" name:"RetentionSizeInMB"`
}
Predefined struct for user
type ModifyCmqQueueAttributeResponse ¶
type ModifyCmqQueueAttributeResponse struct {
*tchttp.BaseResponse
Response *ModifyCmqQueueAttributeResponseParams `json:"Response"`
}
func NewModifyCmqQueueAttributeResponse ¶
func NewModifyCmqQueueAttributeResponse() (response *ModifyCmqQueueAttributeResponse)
func (*ModifyCmqQueueAttributeResponse) FromJsonString ¶
func (r *ModifyCmqQueueAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCmqQueueAttributeResponse) ToJsonString ¶
func (r *ModifyCmqQueueAttributeResponse) ToJsonString() string
type ModifyCmqQueueAttributeResponseParams ¶
type ModifyCmqQueueAttributeResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyCmqSubscriptionAttributeRequest ¶
type ModifyCmqSubscriptionAttributeRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, which must be unique under the same account and same topic in a single region. the name is a string of no more than 64 characters, beginning with a letter, and the remaining part may contain letters, numbers, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// CMQ push server retry policy in case an error occurs while pushing a message to the endpoint. Valid values:
// (1) BACKOFF_RETRY: backoff retry, which is to retry at a fixed interval, discard the message after a certain number of retries, and continue to push the next message.
// (2) EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"`
// Push content format. Valid values: 1. JSON; 2. SIMPLIFIED, i.e., the raw format. If `Protocol` is `queue`, this value must be `SIMPLIFIED`. If `Protocol` is `HTTP`, both values are acceptable, and the default value is `JSON`.
NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"`
// Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not configured, no matter whether `MsgTag` is configured, the subscription will receive all messages published to the topic; 2. If the array of `FilterTag` values has a value, only when at least one of the values in the array also exists in the array of `MsgTag` values (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the array of `FilterTag` values has a value, but `MsgTag` is not configured, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
FilterTags []*string `json:"FilterTags,omitnil,omitempty" name:"FilterTags"`
// The number of `BindingKey` cannot exceed 5, and the length of each `BindingKey` cannot exceed 64 bytes. This field indicates the filtering policy for subscribing to and receiving messages. Each `BindingKey` includes up to 15 dots (namely up to 16 segments).
BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"`
}
func NewModifyCmqSubscriptionAttributeRequest ¶
func NewModifyCmqSubscriptionAttributeRequest() (request *ModifyCmqSubscriptionAttributeRequest)
func (*ModifyCmqSubscriptionAttributeRequest) FromJsonString ¶
func (r *ModifyCmqSubscriptionAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCmqSubscriptionAttributeRequest) ToJsonString ¶
func (r *ModifyCmqSubscriptionAttributeRequest) ToJsonString() string
type ModifyCmqSubscriptionAttributeRequestParams ¶
type ModifyCmqSubscriptionAttributeRequestParams struct {
// Topic name, which must be unique under the same account in a single region. The name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name, which must be unique under the same account and same topic in a single region. the name is a string of no more than 64 characters, beginning with a letter, and the remaining part may contain letters, numbers, and hyphens (-).
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// CMQ push server retry policy in case an error occurs while pushing a message to the endpoint. Valid values:
// (1) BACKOFF_RETRY: backoff retry, which is to retry at a fixed interval, discard the message after a certain number of retries, and continue to push the next message.
// (2) EXPONENTIAL_DECAY_RETRY: exponential decay retry, which is to retry at an exponentially increasing interval, such as 1s, 2s, 4s, 8s, and so on. As a message can be retained in a topic for one day, failed messages will be discarded at most after one day of retry. Default value: EXPONENTIAL_DECAY_RETRY.
NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"`
// Push content format. Valid values: 1. JSON; 2. SIMPLIFIED, i.e., the raw format. If `Protocol` is `queue`, this value must be `SIMPLIFIED`. If `Protocol` is `HTTP`, both values are acceptable, and the default value is `JSON`.
NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"`
// Message body tag (used for message filtering). The number of tags cannot exceed 5, and each tag can contain up to 16 characters. It is used in conjunction with the `MsgTag` parameter of `(Batch)PublishMessage`. Rules: 1. If `FilterTag` is not configured, no matter whether `MsgTag` is configured, the subscription will receive all messages published to the topic; 2. If the array of `FilterTag` values has a value, only when at least one of the values in the array also exists in the array of `MsgTag` values (i.e., `FilterTag` and `MsgTag` have an intersection) can the subscription receive messages published to the topic; 3. If the array of `FilterTag` values has a value, but `MsgTag` is not configured, then no message published to the topic will be received, which can be considered as a special case of rule 2 as `FilterTag` and `MsgTag` do not intersect in this case. The overall design idea of rules is based on the intention of the subscriber.
FilterTags []*string `json:"FilterTags,omitnil,omitempty" name:"FilterTags"`
// The number of `BindingKey` cannot exceed 5, and the length of each `BindingKey` cannot exceed 64 bytes. This field indicates the filtering policy for subscribing to and receiving messages. Each `BindingKey` includes up to 15 dots (namely up to 16 segments).
BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"`
}
Predefined struct for user
type ModifyCmqSubscriptionAttributeResponse ¶
type ModifyCmqSubscriptionAttributeResponse struct {
*tchttp.BaseResponse
Response *ModifyCmqSubscriptionAttributeResponseParams `json:"Response"`
}
func NewModifyCmqSubscriptionAttributeResponse ¶
func NewModifyCmqSubscriptionAttributeResponse() (response *ModifyCmqSubscriptionAttributeResponse)
func (*ModifyCmqSubscriptionAttributeResponse) FromJsonString ¶
func (r *ModifyCmqSubscriptionAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCmqSubscriptionAttributeResponse) ToJsonString ¶
func (r *ModifyCmqSubscriptionAttributeResponse) ToJsonString() string
type ModifyCmqSubscriptionAttributeResponseParams ¶
type ModifyCmqSubscriptionAttributeResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyCmqTopicAttributeRequest ¶
type ModifyCmqTopicAttributeRequest struct {
*tchttp.BaseRequest
// Topic name, which must be unique under the same account in a single region. the name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Maximum message length. Value range: 1024–65536 bytes (i.e., 1–64 KB). Default value: 65536.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// Message retention period. Value range: 60–86400 seconds (i.e., 1 minute–1 day). Default value: 86400.
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
}
func NewModifyCmqTopicAttributeRequest ¶
func NewModifyCmqTopicAttributeRequest() (request *ModifyCmqTopicAttributeRequest)
func (*ModifyCmqTopicAttributeRequest) FromJsonString ¶
func (r *ModifyCmqTopicAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCmqTopicAttributeRequest) ToJsonString ¶
func (r *ModifyCmqTopicAttributeRequest) ToJsonString() string
type ModifyCmqTopicAttributeRequestParams ¶
type ModifyCmqTopicAttributeRequestParams struct {
// Topic name, which must be unique under the same account in a single region. the name is a string of no more than 64 characters, starting with a letter, and the remaining part may include letters, numbers, and hyphens (-).
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Maximum message length. Value range: 1024–65536 bytes (i.e., 1–64 KB). Default value: 65536.
MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"`
// Message retention period. Value range: 60–86400 seconds (i.e., 1 minute–1 day). Default value: 86400.
MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"`
// Whether to enable message trace. true: yes; false: no. If this field is left empty, the feature will not be enabled.
Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"`
}
Predefined struct for user
type ModifyCmqTopicAttributeResponse ¶
type ModifyCmqTopicAttributeResponse struct {
*tchttp.BaseResponse
Response *ModifyCmqTopicAttributeResponseParams `json:"Response"`
}
func NewModifyCmqTopicAttributeResponse ¶
func NewModifyCmqTopicAttributeResponse() (response *ModifyCmqTopicAttributeResponse)
func (*ModifyCmqTopicAttributeResponse) FromJsonString ¶
func (r *ModifyCmqTopicAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCmqTopicAttributeResponse) ToJsonString ¶
func (r *ModifyCmqTopicAttributeResponse) ToJsonString() string
type ModifyCmqTopicAttributeResponseParams ¶
type ModifyCmqTopicAttributeResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyEnvironmentAttributesRequest ¶
type ModifyEnvironmentAttributesRequest struct {
*tchttp.BaseRequest
// Namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Retention period for unconsumed messages in seconds. Value range: 60s to 1,296,000s (or 15 days).
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Message retention policy
RetentionPolicy *RetentionPolicy `json:"RetentionPolicy,omitnil,omitempty" name:"RetentionPolicy"`
// Whether to enable "Auto-Create Subscription"
AutoSubscriptionCreation *bool `json:"AutoSubscriptionCreation,omitnil,omitempty" name:"AutoSubscriptionCreation"`
}
func NewModifyEnvironmentAttributesRequest ¶
func NewModifyEnvironmentAttributesRequest() (request *ModifyEnvironmentAttributesRequest)
func (*ModifyEnvironmentAttributesRequest) FromJsonString ¶
func (r *ModifyEnvironmentAttributesRequest) FromJsonString(s string) error
FromJsonString 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 ModifyEnvironmentAttributesRequestParams ¶
type ModifyEnvironmentAttributesRequestParams struct {
// Namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Retention period for unconsumed messages in seconds. Value range: 60s to 1,296,000s (or 15 days).
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Message retention policy
RetentionPolicy *RetentionPolicy `json:"RetentionPolicy,omitnil,omitempty" name:"RetentionPolicy"`
// Whether to enable "Auto-Create Subscription"
AutoSubscriptionCreation *bool `json:"AutoSubscriptionCreation,omitnil,omitempty" name:"AutoSubscriptionCreation"`
}
Predefined struct for user
type ModifyEnvironmentAttributesResponse ¶
type ModifyEnvironmentAttributesResponse struct {
*tchttp.BaseResponse
Response *ModifyEnvironmentAttributesResponseParams `json:"Response"`
}
func NewModifyEnvironmentAttributesResponse ¶
func NewModifyEnvironmentAttributesResponse() (response *ModifyEnvironmentAttributesResponse)
func (*ModifyEnvironmentAttributesResponse) FromJsonString ¶
func (r *ModifyEnvironmentAttributesResponse) FromJsonString(s string) error
FromJsonString 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 ModifyEnvironmentAttributesResponseParams ¶
type ModifyEnvironmentAttributesResponseParams struct {
// Namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// TTL for unconsumed messages in seconds.
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Remarks (up to 128 characters).
// Note: this field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Namespace ID
// Note: this field may return null, indicating that no valid values can be obtained.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyEnvironmentRoleRequest ¶
type ModifyEnvironmentRoleRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Permissions, which is a non-empty string array of `produce` and `consume` at the most.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewModifyEnvironmentRoleRequest ¶
func NewModifyEnvironmentRoleRequest() (request *ModifyEnvironmentRoleRequest)
func (*ModifyEnvironmentRoleRequest) FromJsonString ¶
func (r *ModifyEnvironmentRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvironmentRoleRequest) ToJsonString ¶
func (r *ModifyEnvironmentRoleRequest) ToJsonString() string
type ModifyEnvironmentRoleRequestParams ¶
type ModifyEnvironmentRoleRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Permissions, which is a non-empty string array of `produce` and `consume` at the most.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type ModifyEnvironmentRoleResponse ¶
type ModifyEnvironmentRoleResponse struct {
*tchttp.BaseResponse
Response *ModifyEnvironmentRoleResponseParams `json:"Response"`
}
func NewModifyEnvironmentRoleResponse ¶
func NewModifyEnvironmentRoleResponse() (response *ModifyEnvironmentRoleResponse)
func (*ModifyEnvironmentRoleResponse) FromJsonString ¶
func (r *ModifyEnvironmentRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvironmentRoleResponse) ToJsonString ¶
func (r *ModifyEnvironmentRoleResponse) ToJsonString() string
type ModifyEnvironmentRoleResponseParams ¶
type ModifyEnvironmentRoleResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyPublicNetworkSecurityPolicyRequest ¶
type ModifyPublicNetworkSecurityPolicyRequest struct {
*tchttp.BaseRequest
// Cluster ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Policy List
PolicyList []*SecurityPolicy `json:"PolicyList,omitnil,omitempty" name:"PolicyList"`
}
func NewModifyPublicNetworkSecurityPolicyRequest ¶
func NewModifyPublicNetworkSecurityPolicyRequest() (request *ModifyPublicNetworkSecurityPolicyRequest)
func (*ModifyPublicNetworkSecurityPolicyRequest) FromJsonString ¶
func (r *ModifyPublicNetworkSecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPublicNetworkSecurityPolicyRequest) ToJsonString ¶
func (r *ModifyPublicNetworkSecurityPolicyRequest) ToJsonString() string
type ModifyPublicNetworkSecurityPolicyRequestParams ¶
type ModifyPublicNetworkSecurityPolicyRequestParams struct {
// Cluster ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Policy List
PolicyList []*SecurityPolicy `json:"PolicyList,omitnil,omitempty" name:"PolicyList"`
}
Predefined struct for user
type ModifyPublicNetworkSecurityPolicyResponse ¶
type ModifyPublicNetworkSecurityPolicyResponse struct {
*tchttp.BaseResponse
Response *ModifyPublicNetworkSecurityPolicyResponseParams `json:"Response"`
}
func NewModifyPublicNetworkSecurityPolicyResponse ¶
func NewModifyPublicNetworkSecurityPolicyResponse() (response *ModifyPublicNetworkSecurityPolicyResponse)
func (*ModifyPublicNetworkSecurityPolicyResponse) FromJsonString ¶
func (r *ModifyPublicNetworkSecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPublicNetworkSecurityPolicyResponse) ToJsonString ¶
func (r *ModifyPublicNetworkSecurityPolicyResponse) ToJsonString() string
type ModifyPublicNetworkSecurityPolicyResponseParams ¶
type ModifyPublicNetworkSecurityPolicyResponseParams struct {
// Valid values: SUCCESS or FAILURE.
ModifyResult *string `json:"ModifyResult,omitnil,omitempty" name:"ModifyResult"`
// Cluster ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRabbitMQPermissionRequest ¶
type ModifyRabbitMQPermissionRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. valid User names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and finding the list of users in the User and permission management tab, thereby locating the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Permission types, declare-related operations, specifies the regular expression for resource names that the user can operate on under the vhost.
ConfigRegexp *string `json:"ConfigRegexp,omitnil,omitempty" name:"ConfigRegexp"`
// Permission types, message write-related operations, specifies the regular expression for resource names that the user can operate on under the vhost.
WriteRegexp *string `json:"WriteRegexp,omitnil,omitempty" name:"WriteRegexp"`
// Permission types, message read-related operations, specifies the regular expression for resource names that the user can operate on under the vhost.
ReadRegexp *string `json:"ReadRegexp,omitnil,omitempty" name:"ReadRegexp"`
}
func NewModifyRabbitMQPermissionRequest ¶
func NewModifyRabbitMQPermissionRequest() (request *ModifyRabbitMQPermissionRequest)
func (*ModifyRabbitMQPermissionRequest) FromJsonString ¶
func (r *ModifyRabbitMQPermissionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRabbitMQPermissionRequest) ToJsonString ¶
func (r *ModifyRabbitMQPermissionRequest) ToJsonString() string
type ModifyRabbitMQPermissionRequestParams ¶
type ModifyRabbitMQPermissionRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. valid InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. valid User names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and finding the list of users in the User and permission management tab, thereby locating the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Permission types, declare-related operations, specifies the regular expression for resource names that the user can operate on under the vhost.
ConfigRegexp *string `json:"ConfigRegexp,omitnil,omitempty" name:"ConfigRegexp"`
// Permission types, message write-related operations, specifies the regular expression for resource names that the user can operate on under the vhost.
WriteRegexp *string `json:"WriteRegexp,omitnil,omitempty" name:"WriteRegexp"`
// Permission types, message read-related operations, specifies the regular expression for resource names that the user can operate on under the vhost.
ReadRegexp *string `json:"ReadRegexp,omitnil,omitempty" name:"ReadRegexp"`
}
Predefined struct for user
type ModifyRabbitMQPermissionResponse ¶
type ModifyRabbitMQPermissionResponse struct {
*tchttp.BaseResponse
Response *ModifyRabbitMQPermissionResponseParams `json:"Response"`
}
func NewModifyRabbitMQPermissionResponse ¶
func NewModifyRabbitMQPermissionResponse() (response *ModifyRabbitMQPermissionResponse)
func (*ModifyRabbitMQPermissionResponse) FromJsonString ¶
func (r *ModifyRabbitMQPermissionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRabbitMQPermissionResponse) ToJsonString ¶
func (r *ModifyRabbitMQPermissionResponse) ToJsonString() string
type ModifyRabbitMQPermissionResponseParams ¶
type ModifyRabbitMQPermissionResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRabbitMQUserRequest ¶
type ModifyRabbitMQUserRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// Password, used when logging in. requirement: cannot be empty, 8-64 characters, must contain at least two items from lowercase letters, uppercase letters, digits, and special characters [`()~!@#$%^&*_=|{}[]:;',.?/].
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// Description. If this parameter is not passed in, it won't be modified.
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// User tag, used to determine the access permission of the user for RabbitMQ Management.
// management: ordinary console user. monitoring: administrative console user. other value: non-console user.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
// The maximum number of connections for the user. If this parameter is not passed in, it won't be modified.
MaxConnections *int64 `json:"MaxConnections,omitnil,omitempty" name:"MaxConnections"`
// The maximum number of channels for the user. If this parameter is not passed in, it won't be modified.
MaxChannels *int64 `json:"MaxChannels,omitnil,omitempty" name:"MaxChannels"`
}
func NewModifyRabbitMQUserRequest ¶
func NewModifyRabbitMQUserRequest() (request *ModifyRabbitMQUserRequest)
func (*ModifyRabbitMQUserRequest) FromJsonString ¶
func (r *ModifyRabbitMQUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRabbitMQUserRequest) ToJsonString ¶
func (r *ModifyRabbitMQUserRequest) ToJsonString() string
type ModifyRabbitMQUserRequestParams ¶
type ModifyRabbitMQUserRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// Password, used when logging in. requirement: cannot be empty, 8-64 characters, must contain at least two items from lowercase letters, uppercase letters, digits, and special characters [`()~!@#$%^&*_=|{}[]:;',.?/].
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// Description. If this parameter is not passed in, it won't be modified.
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// User tag, used to determine the access permission of the user for RabbitMQ Management.
// management: ordinary console user. monitoring: administrative console user. other value: non-console user.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
// The maximum number of connections for the user. If this parameter is not passed in, it won't be modified.
MaxConnections *int64 `json:"MaxConnections,omitnil,omitempty" name:"MaxConnections"`
// The maximum number of channels for the user. If this parameter is not passed in, it won't be modified.
MaxChannels *int64 `json:"MaxChannels,omitnil,omitempty" name:"MaxChannels"`
}
Predefined struct for user
type ModifyRabbitMQUserResponse ¶
type ModifyRabbitMQUserResponse struct {
*tchttp.BaseResponse
Response *ModifyRabbitMQUserResponseParams `json:"Response"`
}
func NewModifyRabbitMQUserResponse ¶
func NewModifyRabbitMQUserResponse() (response *ModifyRabbitMQUserResponse)
func (*ModifyRabbitMQUserResponse) FromJsonString ¶
func (r *ModifyRabbitMQUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRabbitMQUserResponse) ToJsonString ¶
func (r *ModifyRabbitMQUserResponse) ToJsonString() string
type ModifyRabbitMQUserResponseParams ¶
type ModifyRabbitMQUserResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRabbitMQVirtualHostRequest ¶
type ModifyRabbitMQVirtualHostRequest struct {
*tchttp.BaseRequest
// Instance ID, such as amqp-xxxxxxxx. specifies the effective InstanceId that can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Describes the Virtual Host.
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// Message trace flag. Valid values: `true` (Enabled), `false` (Disabled).
TraceFlag *bool `json:"TraceFlag,omitnil,omitempty" name:"TraceFlag"`
}
func NewModifyRabbitMQVirtualHostRequest ¶
func NewModifyRabbitMQVirtualHostRequest() (request *ModifyRabbitMQVirtualHostRequest)
func (*ModifyRabbitMQVirtualHostRequest) FromJsonString ¶
func (r *ModifyRabbitMQVirtualHostRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRabbitMQVirtualHostRequest) ToJsonString ¶
func (r *ModifyRabbitMQVirtualHostRequest) ToJsonString() string
type ModifyRabbitMQVirtualHostRequestParams ¶
type ModifyRabbitMQVirtualHostRequestParams struct {
// Instance ID, such as amqp-xxxxxxxx. specifies the effective InstanceId that can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// VirtualHost name, such as testvhost. effective VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Describes the Virtual Host.
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// Message trace flag. Valid values: `true` (Enabled), `false` (Disabled).
TraceFlag *bool `json:"TraceFlag,omitnil,omitempty" name:"TraceFlag"`
}
Predefined struct for user
type ModifyRabbitMQVirtualHostResponse ¶
type ModifyRabbitMQVirtualHostResponse struct {
*tchttp.BaseResponse
Response *ModifyRabbitMQVirtualHostResponseParams `json:"Response"`
}
func NewModifyRabbitMQVirtualHostResponse ¶
func NewModifyRabbitMQVirtualHostResponse() (response *ModifyRabbitMQVirtualHostResponse)
func (*ModifyRabbitMQVirtualHostResponse) FromJsonString ¶
func (r *ModifyRabbitMQVirtualHostResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRabbitMQVirtualHostResponse) ToJsonString ¶
func (r *ModifyRabbitMQVirtualHostResponse) ToJsonString() string
type ModifyRabbitMQVirtualHostResponseParams ¶
type ModifyRabbitMQVirtualHostResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQClusterRequest ¶
type ModifyRocketMQClusterRequest struct {
*tchttp.BaseRequest
// RocketMQ cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// 3–64 letters, digits, hyphens, and underscores
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable the HTTP access over the public network
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
func NewModifyRocketMQClusterRequest ¶
func NewModifyRocketMQClusterRequest() (request *ModifyRocketMQClusterRequest)
func (*ModifyRocketMQClusterRequest) FromJsonString ¶
func (r *ModifyRocketMQClusterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQClusterRequest) ToJsonString ¶
func (r *ModifyRocketMQClusterRequest) ToJsonString() string
type ModifyRocketMQClusterRequestParams ¶
type ModifyRocketMQClusterRequestParams struct {
// RocketMQ cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// 3–64 letters, digits, hyphens, and underscores
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable the HTTP access over the public network
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
Predefined struct for user
type ModifyRocketMQClusterResponse ¶
type ModifyRocketMQClusterResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQClusterResponseParams `json:"Response"`
}
func NewModifyRocketMQClusterResponse ¶
func NewModifyRocketMQClusterResponse() (response *ModifyRocketMQClusterResponse)
func (*ModifyRocketMQClusterResponse) FromJsonString ¶
func (r *ModifyRocketMQClusterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQClusterResponse) ToJsonString ¶
func (r *ModifyRocketMQClusterResponse) ToJsonString() string
type ModifyRocketMQClusterResponseParams ¶
type ModifyRocketMQClusterResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQEnvironmentRoleRequest ¶
type ModifyRocketMQEnvironmentRoleRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Authorization item, which can contain a non-empty character array of up to 2 items including produce and consume.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Permission configuration for topic and group dimensions.
DetailedPerms []*DetailedRolePerm `json:"DetailedPerms,omitnil,omitempty" name:"DetailedPerms"`
}
func NewModifyRocketMQEnvironmentRoleRequest ¶
func NewModifyRocketMQEnvironmentRoleRequest() (request *ModifyRocketMQEnvironmentRoleRequest)
func (*ModifyRocketMQEnvironmentRoleRequest) FromJsonString ¶
func (r *ModifyRocketMQEnvironmentRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQEnvironmentRoleRequest) ToJsonString ¶
func (r *ModifyRocketMQEnvironmentRoleRequest) ToJsonString() string
type ModifyRocketMQEnvironmentRoleRequestParams ¶
type ModifyRocketMQEnvironmentRoleRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Authorization item, which can contain a non-empty character array of up to 2 items including produce and consume.
Permissions []*string `json:"Permissions,omitnil,omitempty" name:"Permissions"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Permission configuration for topic and group dimensions.
DetailedPerms []*DetailedRolePerm `json:"DetailedPerms,omitnil,omitempty" name:"DetailedPerms"`
}
Predefined struct for user
type ModifyRocketMQEnvironmentRoleResponse ¶
type ModifyRocketMQEnvironmentRoleResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQEnvironmentRoleResponseParams `json:"Response"`
}
func NewModifyRocketMQEnvironmentRoleResponse ¶
func NewModifyRocketMQEnvironmentRoleResponse() (response *ModifyRocketMQEnvironmentRoleResponse)
func (*ModifyRocketMQEnvironmentRoleResponse) FromJsonString ¶
func (r *ModifyRocketMQEnvironmentRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQEnvironmentRoleResponse) ToJsonString ¶
func (r *ModifyRocketMQEnvironmentRoleResponse) ToJsonString() string
type ModifyRocketMQEnvironmentRoleResponseParams ¶
type ModifyRocketMQEnvironmentRoleResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQGroupRequest ¶
type ModifyRocketMQGroupRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable consumption
ReadEnable *bool `json:"ReadEnable,omitnil,omitempty" name:"ReadEnable"`
// Whether to enable broadcast consumption
BroadcastEnable *bool `json:"BroadcastEnable,omitnil,omitempty" name:"BroadcastEnable"`
// The maximum number of retries
RetryMaxTimes *uint64 `json:"RetryMaxTimes,omitnil,omitempty" name:"RetryMaxTimes"`
}
func NewModifyRocketMQGroupRequest ¶
func NewModifyRocketMQGroupRequest() (request *ModifyRocketMQGroupRequest)
func (*ModifyRocketMQGroupRequest) FromJsonString ¶
func (r *ModifyRocketMQGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQGroupRequest) ToJsonString ¶
func (r *ModifyRocketMQGroupRequest) ToJsonString() string
type ModifyRocketMQGroupRequestParams ¶
type ModifyRocketMQGroupRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable consumption
ReadEnable *bool `json:"ReadEnable,omitnil,omitempty" name:"ReadEnable"`
// Whether to enable broadcast consumption
BroadcastEnable *bool `json:"BroadcastEnable,omitnil,omitempty" name:"BroadcastEnable"`
// The maximum number of retries
RetryMaxTimes *uint64 `json:"RetryMaxTimes,omitnil,omitempty" name:"RetryMaxTimes"`
}
Predefined struct for user
type ModifyRocketMQGroupResponse ¶
type ModifyRocketMQGroupResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQGroupResponseParams `json:"Response"`
}
func NewModifyRocketMQGroupResponse ¶
func NewModifyRocketMQGroupResponse() (response *ModifyRocketMQGroupResponse)
func (*ModifyRocketMQGroupResponse) FromJsonString ¶
func (r *ModifyRocketMQGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQGroupResponse) ToJsonString ¶
func (r *ModifyRocketMQGroupResponse) ToJsonString() string
type ModifyRocketMQGroupResponseParams ¶
type ModifyRocketMQGroupResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQInstanceRequest ¶
type ModifyRocketMQInstanceRequest struct {
*tchttp.BaseRequest
// Dedicated Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Instance name
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Instance Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Instance message retention time, in hours
MessageRetention *int64 `json:"MessageRetention,omitnil,omitempty" name:"MessageRetention"`
// Whether to enable deletion protection
EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitnil,omitempty" name:"EnableDeletionProtection"`
// Controls the TPS ratio for producing and consuming messages. Value range: 0–1. Default value: 0.5.
SendReceiveRatio *float64 `json:"SendReceiveRatio,omitnil,omitempty" name:"SendReceiveRatio"`
}
func NewModifyRocketMQInstanceRequest ¶
func NewModifyRocketMQInstanceRequest() (request *ModifyRocketMQInstanceRequest)
func (*ModifyRocketMQInstanceRequest) FromJsonString ¶
func (r *ModifyRocketMQInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQInstanceRequest) ToJsonString ¶
func (r *ModifyRocketMQInstanceRequest) ToJsonString() string
type ModifyRocketMQInstanceRequestParams ¶
type ModifyRocketMQInstanceRequestParams struct {
// Dedicated Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Instance name
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Instance Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Instance message retention time, in hours
MessageRetention *int64 `json:"MessageRetention,omitnil,omitempty" name:"MessageRetention"`
// Whether to enable deletion protection
EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitnil,omitempty" name:"EnableDeletionProtection"`
// Controls the TPS ratio for producing and consuming messages. Value range: 0–1. Default value: 0.5.
SendReceiveRatio *float64 `json:"SendReceiveRatio,omitnil,omitempty" name:"SendReceiveRatio"`
}
Predefined struct for user
type ModifyRocketMQInstanceResponse ¶
type ModifyRocketMQInstanceResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQInstanceResponseParams `json:"Response"`
}
func NewModifyRocketMQInstanceResponse ¶
func NewModifyRocketMQInstanceResponse() (response *ModifyRocketMQInstanceResponse)
func (*ModifyRocketMQInstanceResponse) FromJsonString ¶
func (r *ModifyRocketMQInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQInstanceResponse) ToJsonString ¶
func (r *ModifyRocketMQInstanceResponse) ToJsonString() string
type ModifyRocketMQInstanceResponseParams ¶
type ModifyRocketMQInstanceResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQInstanceSpecRequest ¶
type ModifyRocketMQInstanceSpecRequest struct {
*tchttp.BaseRequest
// ID of the exclusive instance
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Instance specification.
// Valid values: `rocket-vip-basic-1` (Basic),
// `rocket-vip-basic-2` (Standard),
// `rocket-vip-basic-3` (Advanced I),
// `rocket-vip-basic-4` (Advanced II).
Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"`
// Node count
NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// Storage space in GB
StorageSize *uint64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
}
func NewModifyRocketMQInstanceSpecRequest ¶
func NewModifyRocketMQInstanceSpecRequest() (request *ModifyRocketMQInstanceSpecRequest)
func (*ModifyRocketMQInstanceSpecRequest) FromJsonString ¶
func (r *ModifyRocketMQInstanceSpecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQInstanceSpecRequest) ToJsonString ¶
func (r *ModifyRocketMQInstanceSpecRequest) ToJsonString() string
type ModifyRocketMQInstanceSpecRequestParams ¶
type ModifyRocketMQInstanceSpecRequestParams struct {
// ID of the exclusive instance
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Instance specification.
// Valid values: `rocket-vip-basic-1` (Basic),
// `rocket-vip-basic-2` (Standard),
// `rocket-vip-basic-3` (Advanced I),
// `rocket-vip-basic-4` (Advanced II).
Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"`
// Node count
NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// Storage space in GB
StorageSize *uint64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
}
Predefined struct for user
type ModifyRocketMQInstanceSpecResponse ¶
type ModifyRocketMQInstanceSpecResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQInstanceSpecResponseParams `json:"Response"`
}
func NewModifyRocketMQInstanceSpecResponse ¶
func NewModifyRocketMQInstanceSpecResponse() (response *ModifyRocketMQInstanceSpecResponse)
func (*ModifyRocketMQInstanceSpecResponse) FromJsonString ¶
func (r *ModifyRocketMQInstanceSpecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQInstanceSpecResponse) ToJsonString ¶
func (r *ModifyRocketMQInstanceSpecResponse) ToJsonString() string
type ModifyRocketMQInstanceSpecResponseParams ¶
type ModifyRocketMQInstanceSpecResponseParams struct {
// Order ID
OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQNamespaceRequest ¶
type ModifyRocketMQNamespaceRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name, which can contain 3–64 letters, digits, hyphens, and underscores
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// This parameter is disused.
Ttl *uint64 `json:"Ttl,omitnil,omitempty" name:"Ttl"`
// This parameter is disused.
RetentionTime *uint64 `json:"RetentionTime,omitnil,omitempty" name:"RetentionTime"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable the public network access
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
func NewModifyRocketMQNamespaceRequest ¶
func NewModifyRocketMQNamespaceRequest() (request *ModifyRocketMQNamespaceRequest)
func (*ModifyRocketMQNamespaceRequest) FromJsonString ¶
func (r *ModifyRocketMQNamespaceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQNamespaceRequest) ToJsonString ¶
func (r *ModifyRocketMQNamespaceRequest) ToJsonString() string
type ModifyRocketMQNamespaceRequestParams ¶
type ModifyRocketMQNamespaceRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name, which can contain 3–64 letters, digits, hyphens, and underscores
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// This parameter is disused.
Ttl *uint64 `json:"Ttl,omitnil,omitempty" name:"Ttl"`
// This parameter is disused.
RetentionTime *uint64 `json:"RetentionTime,omitnil,omitempty" name:"RetentionTime"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Whether to enable the public network access
PublicAccessEnabled *bool `json:"PublicAccessEnabled,omitnil,omitempty" name:"PublicAccessEnabled"`
}
Predefined struct for user
type ModifyRocketMQNamespaceResponse ¶
type ModifyRocketMQNamespaceResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQNamespaceResponseParams `json:"Response"`
}
func NewModifyRocketMQNamespaceResponse ¶
func NewModifyRocketMQNamespaceResponse() (response *ModifyRocketMQNamespaceResponse)
func (*ModifyRocketMQNamespaceResponse) FromJsonString ¶
func (r *ModifyRocketMQNamespaceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQNamespaceResponse) ToJsonString ¶
func (r *ModifyRocketMQNamespaceResponse) ToJsonString() string
type ModifyRocketMQNamespaceResponseParams ¶
type ModifyRocketMQNamespaceResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQRoleRequest ¶
type ModifyRocketMQRoleRequest struct {
*tchttp.BaseRequest
// Role name. Does not support Chinese characters and special characters other than hyphens (-) and underscores (_), and must be greater than 0 and less than or equal to 32 in length.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remark description. Length must be greater than or equal to 0 and less than or equal to 128.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Permission type. Permissions are granted by cluster by default. Cluster: cluster level; TopicAndGroup: topic/consumer group level.
PermType *string `json:"PermType,omitnil,omitempty" name:"PermType"`
}
func NewModifyRocketMQRoleRequest ¶
func NewModifyRocketMQRoleRequest() (request *ModifyRocketMQRoleRequest)
func (*ModifyRocketMQRoleRequest) FromJsonString ¶
func (r *ModifyRocketMQRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQRoleRequest) ToJsonString ¶
func (r *ModifyRocketMQRoleRequest) ToJsonString() string
type ModifyRocketMQRoleRequestParams ¶
type ModifyRocketMQRoleRequestParams struct {
// Role name. Does not support Chinese characters and special characters other than hyphens (-) and underscores (_), and must be greater than 0 and less than or equal to 32 in length.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Required field, cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remark description. Length must be greater than or equal to 0 and less than or equal to 128.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Permission type. Permissions are granted by cluster by default. Cluster: cluster level; TopicAndGroup: topic/consumer group level.
PermType *string `json:"PermType,omitnil,omitempty" name:"PermType"`
}
Predefined struct for user
type ModifyRocketMQRoleResponse ¶
type ModifyRocketMQRoleResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQRoleResponseParams `json:"Response"`
}
func NewModifyRocketMQRoleResponse ¶
func NewModifyRocketMQRoleResponse() (response *ModifyRocketMQRoleResponse)
func (*ModifyRocketMQRoleResponse) FromJsonString ¶
func (r *ModifyRocketMQRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQRoleResponse) ToJsonString ¶
func (r *ModifyRocketMQRoleResponse) ToJsonString() string
type ModifyRocketMQRoleResponseParams ¶
type ModifyRocketMQRoleResponseParams struct {
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Specifies the remark description.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRocketMQTopicRequest ¶
type ModifyRocketMQTopicRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Number of partitions, which is invalid for globally sequential messages and cannot be less than the current number of partitions.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
}
func NewModifyRocketMQTopicRequest ¶
func NewModifyRocketMQTopicRequest() (request *ModifyRocketMQTopicRequest)
func (*ModifyRocketMQTopicRequest) FromJsonString ¶
func (r *ModifyRocketMQTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQTopicRequest) ToJsonString ¶
func (r *ModifyRocketMQTopicRequest) ToJsonString() string
type ModifyRocketMQTopicRequestParams ¶
type ModifyRocketMQTopicRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Remarks (up to 128 characters)
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Number of partitions, which is invalid for globally sequential messages and cannot be less than the current number of partitions.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
}
Predefined struct for user
type ModifyRocketMQTopicResponse ¶
type ModifyRocketMQTopicResponse struct {
*tchttp.BaseResponse
Response *ModifyRocketMQTopicResponseParams `json:"Response"`
}
func NewModifyRocketMQTopicResponse ¶
func NewModifyRocketMQTopicResponse() (response *ModifyRocketMQTopicResponse)
func (*ModifyRocketMQTopicResponse) FromJsonString ¶
func (r *ModifyRocketMQTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRocketMQTopicResponse) ToJsonString ¶
func (r *ModifyRocketMQTopicResponse) ToJsonString() string
type ModifyRocketMQTopicResponseParams ¶
type ModifyRocketMQTopicResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRoleRequest ¶
type ModifyRoleRequest struct {
*tchttp.BaseRequest
// Role name, which can contain up to 32 letters, digits, hyphens, and underscores.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Batch binds namespace information.
EnvironmentRoleSets []*EnvironmentRoleSet `json:"EnvironmentRoleSets,omitnil,omitempty" name:"EnvironmentRoleSets"`
// Unbinds all namespaces. set to true.
UnbindAllEnvironment *bool `json:"UnbindAllEnvironment,omitnil,omitempty" name:"UnbindAllEnvironment"`
}
func NewModifyRoleRequest ¶
func NewModifyRoleRequest() (request *ModifyRoleRequest)
func (*ModifyRoleRequest) FromJsonString ¶
func (r *ModifyRoleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRoleRequest) ToJsonString ¶
func (r *ModifyRoleRequest) ToJsonString() string
type ModifyRoleRequestParams ¶
type ModifyRoleRequestParams struct {
// Role name, which can contain up to 32 letters, digits, hyphens, and underscores.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Cluster ID (required)
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Batch binds namespace information.
EnvironmentRoleSets []*EnvironmentRoleSet `json:"EnvironmentRoleSets,omitnil,omitempty" name:"EnvironmentRoleSets"`
// Unbinds all namespaces. set to true.
UnbindAllEnvironment *bool `json:"UnbindAllEnvironment,omitnil,omitempty" name:"UnbindAllEnvironment"`
}
Predefined struct for user
type ModifyRoleResponse ¶
type ModifyRoleResponse struct {
*tchttp.BaseResponse
Response *ModifyRoleResponseParams `json:"Response"`
}
func NewModifyRoleResponse ¶
func NewModifyRoleResponse() (response *ModifyRoleResponse)
func (*ModifyRoleResponse) FromJsonString ¶
func (r *ModifyRoleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRoleResponse) ToJsonString ¶
func (r *ModifyRoleResponse) ToJsonString() string
type ModifyRoleResponseParams ¶
type ModifyRoleResponseParams struct {
// Role name
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyTopicRequest ¶
type ModifyTopicRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Specifies the number of partitions, which must be greater than or equal to the original partition count. if you want to maintain the original number of partitions, please enter the original number. changing the number of partitions is only effective for non-global sequential messages and cannot exceed 32 partitions.
Partitions *uint64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Unconsumed message expiration time. measurement unit: seconds. value range: 60 seconds to 15 days.
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Default if not passed is native policy. DefaultPolicy means when the subscription reaches the maximum unacknowledged messages of 5000, the server will stop pushing messages to all consumers under the current subscription. DynamicPolicy refers to dynamically adjusting the maximum unacknowledged messages under the subscription, with the specific quota being the maximum between 5000 and the number of consumers multiplied by 20. the default maximum unacknowledged message count per consumer is 20. exceeding this limit only affects that consumer and does not affect other consumers.
UnackPolicy *string `json:"UnackPolicy,omitnil,omitempty" name:"UnackPolicy"`
// Whether exception consumer isolation is enabled.
IsolateConsumerEnable *bool `json:"IsolateConsumerEnable,omitnil,omitempty" name:"IsolateConsumerEnable"`
// Consumer Ack timeout period in seconds. value range: 60-(3600*24).
AckTimeOut *int64 `json:"AckTimeOut,omitnil,omitempty" name:"AckTimeOut"`
}
func NewModifyTopicRequest ¶
func NewModifyTopicRequest() (request *ModifyTopicRequest)
func (*ModifyTopicRequest) FromJsonString ¶
func (r *ModifyTopicRequest) FromJsonString(s string) error
FromJsonString 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 ModifyTopicRequestParams ¶
type ModifyTopicRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Specifies the number of partitions, which must be greater than or equal to the original partition count. if you want to maintain the original number of partitions, please enter the original number. changing the number of partitions is only effective for non-global sequential messages and cannot exceed 32 partitions.
Partitions *uint64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Unconsumed message expiration time. measurement unit: seconds. value range: 60 seconds to 15 days.
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Default if not passed is native policy. DefaultPolicy means when the subscription reaches the maximum unacknowledged messages of 5000, the server will stop pushing messages to all consumers under the current subscription. DynamicPolicy refers to dynamically adjusting the maximum unacknowledged messages under the subscription, with the specific quota being the maximum between 5000 and the number of consumers multiplied by 20. the default maximum unacknowledged message count per consumer is 20. exceeding this limit only affects that consumer and does not affect other consumers.
UnackPolicy *string `json:"UnackPolicy,omitnil,omitempty" name:"UnackPolicy"`
// Whether exception consumer isolation is enabled.
IsolateConsumerEnable *bool `json:"IsolateConsumerEnable,omitnil,omitempty" name:"IsolateConsumerEnable"`
// Consumer Ack timeout period in seconds. value range: 60-(3600*24).
AckTimeOut *int64 `json:"AckTimeOut,omitnil,omitempty" name:"AckTimeOut"`
}
Predefined struct for user
type ModifyTopicResponse ¶
type ModifyTopicResponse struct {
*tchttp.BaseResponse
Response *ModifyTopicResponseParams `json:"Response"`
}
func NewModifyTopicResponse ¶
func NewModifyTopicResponse() (response *ModifyTopicResponse)
func (*ModifyTopicResponse) FromJsonString ¶
func (r *ModifyTopicResponse) FromJsonString(s string) error
FromJsonString 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 ModifyTopicResponseParams ¶
type ModifyTopicResponseParams struct {
// Number of partitions
Partitions *uint64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Remarks (up to 128 characters).
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type MsgLog ¶
type MsgLog struct {
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Producer name.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Production time.
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
// Producer client address.
ProducerAddr *string `json:"ProducerAddr,omitnil,omitempty" name:"ProducerAddr"`
}
type PartitionsTopic ¶
type PartitionsTopic struct {
// Average size of the messages published in the last interval in bytes.
// Note: This field may return null, indicating that no valid values can be obtained.
AverageMsgSize *string `json:"AverageMsgSize,omitnil,omitempty" name:"AverageMsgSize"`
// The number of consumers.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerCount *string `json:"ConsumerCount,omitnil,omitempty" name:"ConsumerCount"`
// The total number of recorded messages.
// Note: This field may return null, indicating that no valid values can be obtained.
LastConfirmedEntry *string `json:"LastConfirmedEntry,omitnil,omitempty" name:"LastConfirmedEntry"`
// Time when the last ledger was created.
// Note: This field may return null, indicating that no valid values can be obtained.
LastLedgerCreatedTimestamp *string `json:"LastLedgerCreatedTimestamp,omitnil,omitempty" name:"LastLedgerCreatedTimestamp"`
// The number of messages published by local and replicated publishers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgRateIn *string `json:"MsgRateIn,omitnil,omitempty" name:"MsgRateIn"`
// The total number of messages delivered by local and replicated consumers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgRateOut *string `json:"MsgRateOut,omitnil,omitempty" name:"MsgRateOut"`
// The size (in bytes) of messages published by local and replicated publishers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgThroughputIn *string `json:"MsgThroughputIn,omitnil,omitempty" name:"MsgThroughputIn"`
// The size (in bytes) of messages delivered by local and replicated consumers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgThroughputOut *string `json:"MsgThroughputOut,omitnil,omitempty" name:"MsgThroughputOut"`
// The total number of recorded messages.
// Note: This field may return null, indicating that no valid values can be obtained.
NumberOfEntries *string `json:"NumberOfEntries,omitnil,omitempty" name:"NumberOfEntries"`
// Subpartition ID.
// Note: This field may return null, indicating that no valid values can be obtained.
Partitions *int64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// The number of producers.
// Note: This field may return null, indicating that no valid values can be obtained.
ProducerCount *string `json:"ProducerCount,omitnil,omitempty" name:"ProducerCount"`
// Total size of all stored messages in bytes.
// Note: This field may return null, indicating that no valid values can be obtained.
TotalSize *string `json:"TotalSize,omitnil,omitempty" name:"TotalSize"`
// Topic type description.
// Note: This field may return null, indicating that no valid values can be obtained.
TopicType *uint64 `json:"TopicType,omitnil,omitempty" name:"TopicType"`
}
type ProducerInfo ¶
type ProducerInfo struct {
// Client ID
// Note: This field may return null, indicating that no valid values can be obtained.
ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`
// Client IP.
// Note: This field may return null, indicating that no valid values can be obtained.
ClientIp *string `json:"ClientIp,omitnil,omitempty" name:"ClientIp"`
// Specifies the client language.
// JAVA((byte) 0),
// CPP((byte) 1),
// DOTNET((byte) 2),
// PYTHON((byte) 3),
// DELPHI((byte) 4),
// ERLANG((byte) 5),
// RUBY((byte) 6),
// OTHER((byte) 7),
// HTTP((byte) 8),
// GO((byte) 9),
// PHP((byte) 10),
// OMS((byte) 11);
// Note: This field may return null, indicating that no valid values can be obtained.
Language *string `json:"Language,omitnil,omitempty" name:"Language"`
// Client version.
// Note: This field may return null, indicating that no valid values can be obtained.
Version *string `json:"Version,omitnil,omitempty" name:"Version"`
// Last production time.
// Note: This field may return null, indicating that no valid values can be obtained.
LastUpdateTimestamp *int64 `json:"LastUpdateTimestamp,omitnil,omitempty" name:"LastUpdateTimestamp"`
}
type ProducerLog ¶
type ProducerLog struct {
// Message ID.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Producer name.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Message production time.
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
// Producer client.
ProducerAddr *string `json:"ProducerAddr,omitnil,omitempty" name:"ProducerAddr"`
// Production time cost (in seconds).
ProduceUseTime *uint64 `json:"ProduceUseTime,omitnil,omitempty" name:"ProduceUseTime"`
// Status.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}
type PrometheusEndpointInfo ¶
type PrometheusEndpointInfo struct {
PrometheusEndpointStatus *string `json:"PrometheusEndpointStatus,omitnil,omitempty" name:"PrometheusEndpointStatus"`
VpcPrometheusEndpoint []*string `json:"VpcPrometheusEndpoint,omitnil,omitempty" name:"VpcPrometheusEndpoint"`
NodePrometheusAddress []*string `json:"NodePrometheusAddress,omitnil,omitempty" name:"NodePrometheusAddress"`
VpcEndpointInfo *VpcEndpointInfo `json:"VpcEndpointInfo,omitnil,omitempty" name:"VpcEndpointInfo"`
}
type PublicAccessRule ¶
type PublicAccessRule struct {
// IP Subnet Information
IpRule *string `json:"IpRule,omitnil,omitempty" name:"IpRule"`
// Allow or Deny
Allow *bool `json:"Allow,omitnil,omitempty" name:"Allow"`
// Remarks
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}
type PublishCmqMsgRequest ¶
type PublishCmqMsgRequest struct {
*tchttp.BaseRequest
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message content. The total message size is up to 1,024 KB.
MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
// Message tag. You can pass in multiple tags or a single route. Each tag or route can contain up to 64 characters.
MsgTag []*string `json:"MsgTag,omitnil,omitempty" name:"MsgTag"`
}
func NewPublishCmqMsgRequest ¶
func NewPublishCmqMsgRequest() (request *PublishCmqMsgRequest)
func (*PublishCmqMsgRequest) FromJsonString ¶
func (r *PublishCmqMsgRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishCmqMsgRequest) ToJsonString ¶
func (r *PublishCmqMsgRequest) ToJsonString() string
type PublishCmqMsgRequestParams ¶
type PublishCmqMsgRequestParams struct {
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message content. The total message size is up to 1,024 KB.
MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
// Message tag. You can pass in multiple tags or a single route. Each tag or route can contain up to 64 characters.
MsgTag []*string `json:"MsgTag,omitnil,omitempty" name:"MsgTag"`
}
Predefined struct for user
type PublishCmqMsgResponse ¶
type PublishCmqMsgResponse struct {
*tchttp.BaseResponse
Response *PublishCmqMsgResponseParams `json:"Response"`
}
func NewPublishCmqMsgResponse ¶
func NewPublishCmqMsgResponse() (response *PublishCmqMsgResponse)
func (*PublishCmqMsgResponse) FromJsonString ¶
func (r *PublishCmqMsgResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishCmqMsgResponse) ToJsonString ¶
func (r *PublishCmqMsgResponse) ToJsonString() string
type PublishCmqMsgResponseParams ¶
type PublishCmqMsgResponseParams struct {
// `true` indicates that the sending is successful
Result *bool `json:"Result,omitnil,omitempty" name:"Result"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type Publisher ¶
type Publisher struct {
// Producer ID.
// Note: this field may return `null`, indicating that no valid values can be obtained.
ProducerId *int64 `json:"ProducerId,omitnil,omitempty" name:"ProducerId"`
// Producer name.
// Note: this field may return `null`, indicating that no valid values can be obtained.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Producer address.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Address *string `json:"Address,omitnil,omitempty" name:"Address"`
// Client version.
// Note: this field may return `null`, indicating that no valid values can be obtained.
ClientVersion *string `json:"ClientVersion,omitnil,omitempty" name:"ClientVersion"`
// Message production rate (message/sec).
// Note: this field may return `null`, indicating that no valid values can be obtained.
MsgRateIn *float64 `json:"MsgRateIn,omitnil,omitempty" name:"MsgRateIn"`
// Message production throughput rate (byte/sec).
// Note: this field may return `null`, indicating that no valid values can be obtained.
MsgThroughputIn *float64 `json:"MsgThroughputIn,omitnil,omitempty" name:"MsgThroughputIn"`
// Average message size in bytes.
// Note: this field may return `null`, indicating that no valid values can be obtained.
AverageMsgSize *float64 `json:"AverageMsgSize,omitnil,omitempty" name:"AverageMsgSize"`
// Connection time.
// Note: this field may return `null`, indicating that no valid values can be obtained.
ConnectedSince *string `json:"ConnectedSince,omitnil,omitempty" name:"ConnectedSince"`
// Serial number of the topic partition connected to the producer.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
}
type PulsarNetworkAccessPointInfo ¶
type PulsarNetworkAccessPointInfo struct {
// VPC ID. This field is left empty for supporting network and public network access points.
// Note: This field may return null, indicating that no valid values can be obtained.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet ID. This field is left empty for supporting network and public network access points.
// Note: This field may return null, indicating that no valid values can be obtained.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Access address
Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"`
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Access point type:
// `0`: Supporting network access point
// `1`: VPC access point
// `2`: Public network access point
RouteType *uint64 `json:"RouteType,omitnil,omitempty" name:"RouteType"`
// 0: local region access. since cross-region disaster recovery is not configured, this type of access point cannot perform cross-region switchover or switch back from remote access.
// Local region access. due to the configuration of cross-region disaster recovery, switchover can be performed at any time in a different location. this state is used for the primary cluster access point.
// Cross-Region access, completed offsite switchover, this state is used for the access point of the source cluster. the access point in this state is non-deletable.
// 3: cross-region access can be switched back from remote access at any time. this state is for the access point of the target cluster. the access point in this state is non-deletable.
// Cross-Region access. the target cluster has completed offsite switchback and is in the state of waiting for deletion.
// Note: This field may return null, indicating that no valid values can be obtained.
OperationType *uint64 `json:"OperationType,omitnil,omitempty" name:"OperationType"`
// Access point type.
// Note: This field may return null, indicating that no valid values can be obtained.
AccessPointsType *string `json:"AccessPointsType,omitnil,omitempty" name:"AccessPointsType"`
// Bandwidth. currently only public network has this value.
// Note: This field may return null, indicating that no valid values can be obtained.
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Class.
// Note: This field may return null, indicating that no valid values can be obtained.
SecurityPolicy []*SecurityPolicy `json:"SecurityPolicy,omitnil,omitempty" name:"SecurityPolicy"`
// Indicates whether it is a standard access point. valid values: true (standard), false (not standard).
// Note: This field may return null, indicating that no valid values can be obtained.
StandardAccessPoint *bool `json:"StandardAccessPoint,omitnil,omitempty" name:"StandardAccessPoint"`
// AZ information
// Note: This field may return null, indicating that no valid values can be obtained.
ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`
// Specifies whether TLS encryption is enabled.
Tls *bool `json:"Tls,omitnil,omitempty" name:"Tls"`
// Access point custom domain name.
CustomUrl *string `json:"CustomUrl,omitnil,omitempty" name:"CustomUrl"`
}
type PulsarProClusterInfo ¶
type PulsarProClusterInfo struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Cluster name
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Description
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Creation time
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Cluster status. Valid values: `0` (Creating), `1` (Normal), `2` (Isolated).
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Cluster version
Version *string `json:"Version,omitnil,omitempty" name:"Version"`
// Node distribution
// Note: This field may return null, indicating that no valid values can be obtained.
NodeDistribution []*InstanceNodeDistribution `json:"NodeDistribution,omitnil,omitempty" name:"NodeDistribution"`
// Max storage capacity in MB
MaxStorage *uint64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"`
// Whether the route can be modified
// Note: This field may return null, indicating that no valid values can be obtained.
CanEditRoute *bool `json:"CanEditRoute,omitnil,omitempty" name:"CanEditRoute"`
// Specifies different billing specifications for pro edition and small-scale professional edition: PULSAR.P1 fixed storage and PULSAR.P2 elastic storage.
// Note: This field may return null, indicating that no valid values can be obtained.
BillingLabelVersion *string `json:"BillingLabelVersion,omitnil,omitempty" name:"BillingLabelVersion"`
// Instance expiration timestamp, accurate to the millisecond level.
// Note: This field may return null, indicating that no valid values can be obtained.
ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// Whether to enable automatic topic creation.
// true indicates enabled. false indicates disabled.
// Note: This field may return null, indicating that no valid values can be obtained.
AutoCreateTopicStatus *bool `json:"AutoCreateTopicStatus,omitnil,omitempty" name:"AutoCreateTopicStatus"`
// Specifies the default number of partitions for automatic topic creation. valid values: 0 if not enabled.
// Note: This field may return null, indicating that no valid values can be obtained.
DefaultPartitionNumber *int64 `json:"DefaultPartitionNumber,omitnil,omitempty" name:"DefaultPartitionNumber"`
// User-Defined tenant alias. if there is no, reuse the professional cluster ID.
Tenant *string `json:"Tenant,omitnil,omitempty" name:"Tenant"`
// Deletion protection switch flag.
DeleteProtection *int64 `json:"DeleteProtection,omitnil,omitempty" name:"DeleteProtection"`
}
type PulsarProClusterSpecInfo ¶
type PulsarProClusterSpecInfo struct {
// Cluster specification name
SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"`
// Peak TPS
MaxTps *uint64 `json:"MaxTps,omitnil,omitempty" name:"MaxTps"`
// Peak bandwidth in Mbps
MaxBandWidth *uint64 `json:"MaxBandWidth,omitnil,omitempty" name:"MaxBandWidth"`
// Maximum number of namespaces
MaxNamespaces *uint64 `json:"MaxNamespaces,omitnil,omitempty" name:"MaxNamespaces"`
// Maximum number of topic partitions
MaxTopics *uint64 `json:"MaxTopics,omitnil,omitempty" name:"MaxTopics"`
// Elastic TPS beyond the specification
// Note: This field may return null, indicating that no valid values can be obtained.
ScalableTps *uint64 `json:"ScalableTps,omitnil,omitempty" name:"ScalableTps"`
// 32 or 128.
// Maximum number of partitions for topics in the current cluster.
// Note: This field may return null, indicating that no valid values can be obtained.
MaxPartitions *uint64 `json:"MaxPartitions,omitnil,omitempty" name:"MaxPartitions"`
// Maximum delayed message count for the product. 0 indicates no limit.
MaxDelayedMessages *int64 `json:"MaxDelayedMessages,omitnil,omitempty" name:"MaxDelayedMessages"`
}
type PulsarProInstance ¶
type PulsarProInstance struct {
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Instance name
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Instance version
InstanceVersion *string `json:"InstanceVersion,omitnil,omitempty" name:"InstanceVersion"`
// Instance status. Valid values: `0` (Creating), `1` (Normal), `2` (Isolated), `3` (Terminated), `4` (Abnormal), `5` (Delivery failed), `6` (Adjusting configuration), `7` (Configuration adjustment failed).
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Instance specification name
ConfigDisplay *string `json:"ConfigDisplay,omitnil,omitempty" name:"ConfigDisplay"`
// Peak TPS
MaxTps *uint64 `json:"MaxTps,omitnil,omitempty" name:"MaxTps"`
// Storage capacity in GB
MaxStorage *uint64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"`
// Instance expiration time in milliseconds
ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// Renewal mode. Valid values: `0` (Manual renewal, which is the default mode), `1` (Auto-renewal), `2` (Manual renewal, which is specified by users).
AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// Payment mode. Valid values: `0` (Pay-as-you-go), `1` (Monthly subscription).
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Remarks
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Instance specification ID
SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"`
// Elastic TPS beyond the specification
// Note: This field may return null, indicating that no valid values can be obtained.
ScalableTps *uint64 `json:"ScalableTps,omitnil,omitempty" name:"ScalableTps"`
// VPC ID
// Note: This field may return null, indicating that no valid values can be obtained.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet ID
// Note: This field may return null, indicating that no valid values can be obtained.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Peak bandwidth in Mbps
MaxBandWidth *uint64 `json:"MaxBandWidth,omitnil,omitempty" name:"MaxBandWidth"`
// Tag list of the cluster
// Note: This field may return null, indicating that no valid values can be obtained.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Cluster Creation Time
// Note: This field may return null, indicating that no valid values can be obtained.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Specifies the different billing specifications for pro edition and small-scale professional edition: PULSAR.P1 fixed storage and PULSAR.P2 elastic storage.
// Note: This field may return null, indicating that no valid values can be obtained.
BillingLabelVersion *string `json:"BillingLabelVersion,omitnil,omitempty" name:"BillingLabelVersion"`
// Custom tenant.
Tenant *string `json:"Tenant,omitnil,omitempty" name:"Tenant"`
// Certificate list of the cluster.
CertificateList []*CertificateInfo `json:"CertificateList,omitnil,omitempty" name:"CertificateList"`
}
type QueueQuota ¶
type RabbitMQBindingListInfo ¶
type RabbitMQBindingListInfo struct {
// Routing relationship ID.
BindingId *int64 `json:"BindingId,omitnil,omitempty" name:"BindingId"`
// VhostName
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Source exchange name.
Source *string `json:"Source,omitnil,omitempty" name:"Source"`
// Destination type. Valid values: queue and exchange.
DestinationType *string `json:"DestinationType,omitnil,omitempty" name:"DestinationType"`
// Destination resource name.
Destination *string `json:"Destination,omitnil,omitempty" name:"Destination"`
// Binds the key.
RoutingKey *string `json:"RoutingKey,omitnil,omitempty" name:"RoutingKey"`
// Source exchange type.
SourceExchangeType *string `json:"SourceExchangeType,omitnil,omitempty" name:"SourceExchangeType"`
// Creation time.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Modification time.
ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
// Creation timestamp.
CreateTs *uint64 `json:"CreateTs,omitnil,omitempty" name:"CreateTs"`
// Modification timestamp.
ModifyTs *uint64 `json:"ModifyTs,omitnil,omitempty" name:"ModifyTs"`
}
type RabbitMQClusterAccessInfo ¶
type RabbitMQClusterAccessInfo struct {
PublicAccessEndpoint *string `json:"PublicAccessEndpoint,omitnil,omitempty" name:"PublicAccessEndpoint"`
WebConsoleEndpoint *string `json:"WebConsoleEndpoint,omitnil,omitempty" name:"WebConsoleEndpoint"`
WebConsoleUsername *string `json:"WebConsoleUsername,omitnil,omitempty" name:"WebConsoleUsername"`
WebConsolePassword *string `json:"WebConsolePassword,omitnil,omitempty" name:"WebConsolePassword"`
PublicAccessEndpointStatus *bool `json:"PublicAccessEndpointStatus,omitnil,omitempty" name:"PublicAccessEndpointStatus"`
PublicControlConsoleSwitchStatus *bool `json:"PublicControlConsoleSwitchStatus,omitnil,omitempty" name:"PublicControlConsoleSwitchStatus"`
VpcControlConsoleSwitchStatus *bool `json:"VpcControlConsoleSwitchStatus,omitnil,omitempty" name:"VpcControlConsoleSwitchStatus"`
VpcWebConsoleEndpoint *string `json:"VpcWebConsoleEndpoint,omitnil,omitempty" name:"VpcWebConsoleEndpoint"`
// Status of the public network access point in the console. Valid values: OFF, ON, CREATING, and DELETING.
PublicWebConsoleSwitchStatus *string `json:"PublicWebConsoleSwitchStatus,omitnil,omitempty" name:"PublicWebConsoleSwitchStatus"`
// Vpc console switch state. example value.
// OFF/ON/CREATING/DELETING
VpcWebConsoleSwitchStatus *string `json:"VpcWebConsoleSwitchStatus,omitnil,omitempty" name:"VpcWebConsoleSwitchStatus"`
// Status of the public network access point in the console. Valid values: OFF, ON, CREATING, and DELETING.
PublicDataStreamStatus *string `json:"PublicDataStreamStatus,omitnil,omitempty" name:"PublicDataStreamStatus"`
// Prometheus information.
PrometheusEndpointInfo *PrometheusEndpointInfo `json:"PrometheusEndpointInfo,omitnil,omitempty" name:"PrometheusEndpointInfo"`
// Public domain name access point.
WebConsoleDomainEndpoint *string `json:"WebConsoleDomainEndpoint,omitnil,omitempty" name:"WebConsoleDomainEndpoint"`
// VPC information used by the control plane.
ControlPlaneEndpointInfo *VpcEndpointInfo `json:"ControlPlaneEndpointInfo,omitnil,omitempty" name:"ControlPlaneEndpointInfo"`
// Encrypted TLS data stream public network access point.
PublicTlsAccessEndpoint *string `json:"PublicTlsAccessEndpoint,omitnil,omitempty" name:"PublicTlsAccessEndpoint"`
// Specifies whether to reuse the public IP address.
PublicIpReused *bool `json:"PublicIpReused,omitnil,omitempty" name:"PublicIpReused"`
}
type RabbitMQClusterInfo ¶
type RabbitMQClusterInfo struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
Region *string `json:"Region,omitnil,omitempty" name:"Region"`
// Creation time in milliseconds. unix timestamp.
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Cluster description information
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
Vpcs []*VpcEndpointInfo `json:"Vpcs,omitnil,omitempty" name:"Vpcs"`
// AZ information
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
VirtualHostNumber *int64 `json:"VirtualHostNumber,omitnil,omitempty" name:"VirtualHostNumber"`
QueueNumber *int64 `json:"QueueNumber,omitnil,omitempty" name:"QueueNumber"`
MessagePublishRate *float64 `json:"MessagePublishRate,omitnil,omitempty" name:"MessagePublishRate"`
MessageStackNumber *int64 `json:"MessageStackNumber,omitnil,omitempty" name:"MessageStackNumber"`
// Specifies the instance expiration time in milliseconds as a unix timestamp. the value is 0 for pay-as-you-go resources.
ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
ChannelNumber *int64 `json:"ChannelNumber,omitnil,omitempty" name:"ChannelNumber"`
ConnectionNumber *int64 `json:"ConnectionNumber,omitnil,omitempty" name:"ConnectionNumber"`
ConsumerNumber *int64 `json:"ConsumerNumber,omitnil,omitempty" name:"ConsumerNumber"`
ExchangeNumber *int64 `json:"ExchangeNumber,omitnil,omitempty" name:"ExchangeNumber"`
// Cluster exception information.
// Note: This field may return null, indicating that no valid values can be obtained.
ExceptionInformation *string `json:"ExceptionInformation,omitnil,omitempty" name:"ExceptionInformation"`
// Instance status. 0: creating; 1: normal; 2: isolating; 3: terminated; 4: abnormal; 5: delivery failed.
ClusterStatus *int64 `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"`
// Auto-renewal flag. 0 indicates the default status (If the default status is not configured, manual renewal is enabled), 1 indicates auto-renewal, and 2 indicates explicitly no auto-renewal (configured by the user).
AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// Whether the image queue policy is enabled. 1: enabled; 0: disabled.
MirrorQueuePolicyFlag *int64 `json:"MirrorQueuePolicyFlag,omitnil,omitempty" name:"MirrorQueuePolicyFlag"`
// Number of messages consumed per second. Unit: messages/second.
MessageConsumeRate *float64 `json:"MessageConsumeRate,omitnil,omitempty" name:"MessageConsumeRate"`
// Cluster version information.
ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"`
// Billing mode. 0: postpaid; 1: prepaid.
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Instance type. 0: Exclusive Edition; 1: Serverless Edition.
InstanceType *uint64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// Specifies the isolation time started. unix timestamp.
IsolatedTime *int64 `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"`
// Whether it is a container instance. default true.
Container *bool `json:"Container,omitnil,omitempty" name:"Container"`
// Tag list
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Whether deletion protection is enabled.
EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitnil,omitempty" name:"EnableDeletionProtection"`
}
type RabbitMQClusterSpecInfo ¶
type RabbitMQClusterSpecInfo struct {
SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"`
NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
MaxTps *uint64 `json:"MaxTps,omitnil,omitempty" name:"MaxTps"`
MaxBandWidth *uint64 `json:"MaxBandWidth,omitnil,omitempty" name:"MaxBandWidth"`
MaxStorage *uint64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"`
PublicNetworkTps *uint64 `json:"PublicNetworkTps,omitnil,omitempty" name:"PublicNetworkTps"`
}
type RabbitMQClusterWhiteListInfo ¶
type RabbitMQClusterWhiteListInfo struct {
// Deprecated.
WhiteList *string `json:"WhiteList,omitnil,omitempty" name:"WhiteList"`
// Public network console allowlist.
PublicControlConsoleWhiteList *string `json:"PublicControlConsoleWhiteList,omitnil,omitempty" name:"PublicControlConsoleWhiteList"`
// Public network data flow allowlist.
PublicDataStreamWhiteList *string `json:"PublicDataStreamWhiteList,omitnil,omitempty" name:"PublicDataStreamWhiteList"`
PublicControlConsoleWhiteListStatus *string `json:"PublicControlConsoleWhiteListStatus,omitnil,omitempty" name:"PublicControlConsoleWhiteListStatus"`
PublicDataStreamWhiteListStatus *string `json:"PublicDataStreamWhiteListStatus,omitnil,omitempty" name:"PublicDataStreamWhiteListStatus"`
}
type RabbitMQExchangeListInfo ¶
type RabbitMQExchangeListInfo struct {
// Exchange name.
ExchangeName *string `json:"ExchangeName,omitnil,omitempty" name:"ExchangeName"`
// Remarks
//
// Note: this field may return `null`, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Exchange type. Valid values: "fanout", "direct", "topic", "headers".
ExchangeType *string `json:"ExchangeType,omitnil,omitempty" name:"ExchangeType"`
// Specifies the Host name of the Virtual switch.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Exchange creator. "system": "created by the system"; "user": "created by a user".
ExchangeCreator *string `json:"ExchangeCreator,omitnil,omitempty" name:"ExchangeCreator"`
// Exchange creation time.
CreateTimeStamp *string `json:"CreateTimeStamp,omitnil,omitempty" name:"CreateTimeStamp"`
// Exchange modification time.
ModTimeStamp *string `json:"ModTimeStamp,omitnil,omitempty" name:"ModTimeStamp"`
// Input message rate.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MessageRateIn *float64 `json:"MessageRateIn,omitnil,omitempty" name:"MessageRateIn"`
// Indicates the output message rate.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MessageRateOut *float64 `json:"MessageRateOut,omitnil,omitempty" name:"MessageRateOut"`
// Whether the exchange is a durable one. true: durable; false: non-durable.
Durable *bool `json:"Durable,omitnil,omitempty" name:"Durable"`
// Whether automatic deletion is set for the exchange. true: automatic deletion set; false: automatic deletion not set.
AutoDelete *bool `json:"AutoDelete,omitnil,omitempty" name:"AutoDelete"`
// Whether the exchange is an internal one. true: internal exchange.
Internal *bool `json:"Internal,omitnil,omitempty" name:"Internal"`
// Instance ID of the exchange.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Effective policy name.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"`
// Extended parameters of the key-value object type.
Arguments *string `json:"Arguments,omitnil,omitempty" name:"Arguments"`
// Number of unscheduled delayed messages.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MessagesDelayed *uint64 `json:"MessagesDelayed,omitnil,omitempty" name:"MessagesDelayed"`
// Creation time timestamp.
CreateTs *uint64 `json:"CreateTs,omitnil,omitempty" name:"CreateTs"`
// Modification time timestamp.
ModifyTs *uint64 `json:"ModifyTs,omitnil,omitempty" name:"ModifyTs"`
}
type RabbitMQPermission ¶
type RabbitMQPermission struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, such as admin. effective User names can be found by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking a cluster in the cluster list, entering cluster details, and locating the list of users under the User and permission management tab, thereby finding the username.
User *string `json:"User,omitnil,omitempty" name:"User"`
// VirtualHost name, such as testvhost. valid VirtualHost names can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1), clicking Vhost in the left sidebar, and finding the Vhost name in the Vhost list.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Type of permissions related to declare operations. This regular expression controls resource creation and deletion permissions of users in this vhost.
ConfigRegexp *string `json:"ConfigRegexp,omitnil,omitempty" name:"ConfigRegexp"`
// Type of permissions related to message write operations. This regular expression controls resource creation and deletion permissions of users in this vhost.
WriteRegexp *string `json:"WriteRegexp,omitnil,omitempty" name:"WriteRegexp"`
// Type of permissions related to message read operations. This regular expression controls resource creation and deletion permissions of users in this vhost.
ReadRegexp *string `json:"ReadRegexp,omitnil,omitempty" name:"ReadRegexp"`
// Creation time.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Modification time.
ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
// Creation timestamp.
CreateTs *uint64 `json:"CreateTs,omitnil,omitempty" name:"CreateTs"`
// Modification timestamp.
ModifyTs *uint64 `json:"ModifyTs,omitnil,omitempty" name:"ModifyTs"`
}
type RabbitMQPrivateNode ¶
type RabbitMQPrivateNode struct {
// Node name
// Note: This field may return null, indicating that no valid value can be obtained.
NodeName *string `json:"NodeName,omitnil,omitempty" name:"NodeName"`
// Node status. running indicates the node is active. down indicates an exception.
// Note: This field may return null, indicating that no valid values can be obtained.
NodeStatus *string `json:"NodeStatus,omitnil,omitempty" name:"NodeStatus"`
// CPU utilization
// Note: This field may return null, indicating that no valid values can be obtained.
CPUUsage *string `json:"CPUUsage,omitnil,omitempty" name:"CPUUsage"`
// Memory usage in MB
// Note: This field may return null, indicating that no valid values can be obtained.
Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`
// Disk utilization
// Note: This field may return null, indicating that no valid values can be obtained.
DiskUsage *string `json:"DiskUsage,omitnil,omitempty" name:"DiskUsage"`
// The number of RabbitMQ Erlang processes
// Note: This field may return null, indicating that no valid values can be obtained.
ProcessNumber *uint64 `json:"ProcessNumber,omitnil,omitempty" name:"ProcessNumber"`
}
type RabbitMQQueueListConsumerDetailInfo ¶
type RabbitMQQueueListConsumerDetailInfo struct {
// Consumer count.
// Note: this field may return `null`, indicating that no valid values can be obtained.
ConsumersNumber *int64 `json:"ConsumersNumber,omitnil,omitempty" name:"ConsumersNumber"`
}
type RabbitMQQueueListInfo ¶
type RabbitMQQueueListInfo struct {
// Queue name
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Remarks
//
// Note: this field may return `null`, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Consumer information.
ConsumerDetail *RabbitMQQueueListConsumerDetailInfo `json:"ConsumerDetail,omitnil,omitempty" name:"ConsumerDetail"`
// Queue type. Valid values: "classic" and "quorum".
QueueType *string `json:"QueueType,omitnil,omitempty" name:"QueueType"`
// Number of retained messages
//
// Note: this field may return `null`, indicating that no valid values can be obtained.
MessageHeapCount *int64 `json:"MessageHeapCount,omitnil,omitempty" name:"MessageHeapCount"`
// Message production rate per second.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MessageRateIn *float64 `json:"MessageRateIn,omitnil,omitempty" name:"MessageRateIn"`
// Message consumption rate per second.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MessageRateOut *float64 `json:"MessageRateOut,omitnil,omitempty" name:"MessageRateOut"`
// Creation time.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Modification time.
ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
// Whether the queue is durable. true: durable; false: non-durable.
Durable *bool `json:"Durable,omitnil,omitempty" name:"Durable"`
// Whether automatic deletion is set for the queue. true: automatic deletion set; false: automatic deletion not set.
AutoDelete *bool `json:"AutoDelete,omitnil,omitempty" name:"AutoDelete"`
// Instance ID of the queue.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost name of the queue.
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Primary node name of the queue.
Node *string `json:"Node,omitnil,omitempty" name:"Node"`
// Indicates the name of the effective policy.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Policy *string `json:"Policy,omitnil,omitempty" name:"Policy"`
// Extended parameters of the key-value object type.
Arguments *string `json:"Arguments,omitnil,omitempty" name:"Arguments"`
// Whether the queue is exclusive.
Exclusive *bool `json:"Exclusive,omitnil,omitempty" name:"Exclusive"`
// Creation time timestamp.
CreateTs *uint64 `json:"CreateTs,omitnil,omitempty" name:"CreateTs"`
// Modification time timestamp.
ModifyTs *uint64 `json:"ModifyTs,omitnil,omitempty" name:"ModifyTs"`
}
type RabbitMQUser ¶
type RabbitMQUser struct {
// Instance ID, such as amqp-xxxxxxxx. effective InstanceId can be queried by logging in to the TDMQ RabbitMQ console (https://console.cloud.tencent.com/trabbitmq/cluster?rid=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username, which is used for login.
User *string `json:"User,omitnil,omitempty" name:"User"`
// Password, which is used for login.
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// User description
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// User tags, which determine the scope of permissions of this user to access RabbitMQ Management.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
// User creation time
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Last user modification time
ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
// User type. Valid values: `System` (Created by system), `User` (Created by user).
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// Maximum number of available connections per user.
// Note: This field may return null, indicating that no valid values can be obtained.
MaxConnections *int64 `json:"MaxConnections,omitnil,omitempty" name:"MaxConnections"`
// Maximum number of available channels per user.
// Note: This field may return null, indicating that no valid values can be obtained.
MaxChannels *int64 `json:"MaxChannels,omitnil,omitempty" name:"MaxChannels"`
// Creation timestamp.
CreateTs *uint64 `json:"CreateTs,omitnil,omitempty" name:"CreateTs"`
// Modification timestamp.
ModifyTs *uint64 `json:"ModifyTs,omitnil,omitempty" name:"ModifyTs"`
}
type RabbitMQUserQuota ¶
type RabbitMQVipInstance ¶
type RabbitMQVipInstance struct {
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Instance name
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Instance version.
InstanceVersion *string `json:"InstanceVersion,omitnil,omitempty" name:"InstanceVersion"`
// Instance status. Valid values: `0` (Creating), `1` (Normal), `2` (Isolated), `3` (Terminated), `4` (Abnormal), `5` (Delivery failed).
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Number of nodes
NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// Instance specification name
ConfigDisplay *string `json:"ConfigDisplay,omitnil,omitempty" name:"ConfigDisplay"`
// Peak TPS
MaxTps *uint64 `json:"MaxTps,omitnil,omitempty" name:"MaxTps"`
// Peak bandwidth in Mbps
MaxBandWidth *uint64 `json:"MaxBandWidth,omitnil,omitempty" name:"MaxBandWidth"`
// Storage capacity in GB
MaxStorage *uint64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"`
// Specifies the instance expiration time in milliseconds as a unix timestamp. the value is 0 for pay-as-you-go resources.
ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// Renewal mode. Valid values: `0` (Manual renewal, which is the default mode), `1` (Auto-renewal), `2` (Manual renewal, which is specified by users).
AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// 1 indicates prepaid mode, 0 indicates postpaid.
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Node specification of the cluster. specifies the corresponding flag.
// 2C8G:rabbit-vip-profession-2c8g
// 4C16G:rabbit-vip-profession-4c16g
// 8C32G:rabbit-vip-profession-8c32g
// 16C32G:rabbit-vip-basic-4
// 16C64G:rabbit-vip-profession-16c64g
// 2C4G:rabbit-vip-basic-5
// 4C8G:rabbit-vip-basic-1
// 8C16G (sold out): rabbit-vip-basic-2.
// Specifies the default value as 4C8G: rabbit-vip-basic-1.
SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"`
// Cluster exception information.
// Note: This field may return null, indicating that no valid values can be obtained.
ExceptionInformation *string `json:"ExceptionInformation,omitnil,omitempty" name:"ExceptionInformation"`
// Instance status. Valid values: `0` (Creating), `1` (Normal), `2` (Isolated), `3` (Terminated), `4` (Abnormal), `5` (Delivery failed).
// This parameter is used to display the instance status additionally and distinguish from the `Status` parameter.
ClusterStatus *int64 `json:"ClusterStatus,omitnil,omitempty" name:"ClusterStatus"`
// Public network access point.
// Note: This field may return null, indicating that no valid values can be obtained.
PublicAccessEndpoint *string `json:"PublicAccessEndpoint,omitnil,omitempty" name:"PublicAccessEndpoint"`
// VPC access point list.
Vpcs []*VpcEndpointInfo `json:"Vpcs,omitnil,omitempty" name:"Vpcs"`
// Creation time in milliseconds. unix timestamp.
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Instance type. valid values: 0 (managed), 1 (Serverless).
InstanceType *uint64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// Isolation time, in milliseconds. unix timestamp.
IsolatedTime *uint64 `json:"IsolatedTime,omitnil,omitempty" name:"IsolatedTime"`
// Whether deletion protection is enabled.
EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitnil,omitempty" name:"EnableDeletionProtection"`
// Tag list
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
type RabbitMQVirtualHostInfo ¶
type RabbitMQVirtualHostInfo struct {
// Cluster instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Vhost name
VirtualHost *string `json:"VirtualHost,omitnil,omitempty" name:"VirtualHost"`
// Vhost description information.
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// Vhost tags.
Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"`
// Creation time.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Modification time.
ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`
// Vhost overview statistics information.
VirtualHostStatistics *RabbitMQVirtualHostStatistics `json:"VirtualHostStatistics,omitnil,omitempty" name:"VirtualHostStatistics"`
// Message trace enabling status. true: enabled; false: disabled.
TraceFlag *bool `json:"TraceFlag,omitnil,omitempty" name:"TraceFlag"`
// Vhost status, which corresponds to status in the native product console. Valid values: running, partial, stopped, and unknown.
Status *string `json:"Status,omitnil,omitempty" name:"Status"`
// Message backlog count.
MessageHeapCount *int64 `json:"MessageHeapCount,omitnil,omitempty" name:"MessageHeapCount"`
// Message input rate.
MessageRateIn *float64 `json:"MessageRateIn,omitnil,omitempty" name:"MessageRateIn"`
// Message output rate.
MessageRateOut *float64 `json:"MessageRateOut,omitnil,omitempty" name:"MessageRateOut"`
// Whether an image queue policy exists. true: Exists; false: Does not exist.
MirrorQueuePolicyFlag *bool `json:"MirrorQueuePolicyFlag,omitnil,omitempty" name:"MirrorQueuePolicyFlag"`
// Creation timestamp.
CreateTs *uint64 `json:"CreateTs,omitnil,omitempty" name:"CreateTs"`
// Modification timestamp.
ModifyTs *uint64 `json:"ModifyTs,omitnil,omitempty" name:"ModifyTs"`
}
type RabbitMQVirtualHostStatistics ¶
type RabbitMQVirtualHostStatistics struct {
// The number of queues in the current vhost
CurrentQueues *int64 `json:"CurrentQueues,omitnil,omitempty" name:"CurrentQueues"`
// The number of exchanges in the current vhost
CurrentExchanges *int64 `json:"CurrentExchanges,omitnil,omitempty" name:"CurrentExchanges"`
// The number of connections in the current vhost
CurrentConnections *int64 `json:"CurrentConnections,omitnil,omitempty" name:"CurrentConnections"`
// The number of channels in the current vhost
CurrentChannels *int64 `json:"CurrentChannels,omitnil,omitempty" name:"CurrentChannels"`
// The number of users in the current vhost
CurrentUsers *int64 `json:"CurrentUsers,omitnil,omitempty" name:"CurrentUsers"`
}
type ReceiveMessageRequest ¶
type ReceiveMessageRequest struct {
*tchttp.BaseRequest
// Name of the topic which receives the message. It is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Subscriber name
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Default value: 1000. Messages received by the consumer will first be stored in the `receiverQueueSize` queue to tune the message receiving rate.
ReceiverQueueSize *int64 `json:"ReceiverQueueSize,omitnil,omitempty" name:"ReceiverQueueSize"`
// A parameter used to determine the position where the consumer initially receives messages. Valid values: `Earliest` (default), `Latest`.
SubInitialPosition *string `json:"SubInitialPosition,omitnil,omitempty" name:"SubInitialPosition"`
// This parameter is used to specify the maximum number of received messages in a batch for `BatchReceivePolicy`. The default value is 0, indicating that `BatchReceivePolicy` is disabled.
MaxNumMessages *int64 `json:"MaxNumMessages,omitnil,omitempty" name:"MaxNumMessages"`
// This parameter is used to specify the maximum body size (in bytes) of received messages in a batch for `BatchReceivePolicy`. The default value is 0, indicating that `BatchReceivePolicy` is disabled.
MaxNumBytes *int64 `json:"MaxNumBytes,omitnil,omitempty" name:"MaxNumBytes"`
// This parameter is used to specify the maximum wait timeout (in milliseconds) for receiving a batch of messages for `BatchReceivePolicy`. The default value is 0, indicating that `BatchReceivePolicy` is disabled.
Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"`
}
func NewReceiveMessageRequest ¶
func NewReceiveMessageRequest() (request *ReceiveMessageRequest)
func (*ReceiveMessageRequest) FromJsonString ¶
func (r *ReceiveMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReceiveMessageRequest) ToJsonString ¶
func (r *ReceiveMessageRequest) ToJsonString() string
type ReceiveMessageRequestParams ¶
type ReceiveMessageRequestParams struct {
// Name of the topic which receives the message. It is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Subscriber name
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Default value: 1000. Messages received by the consumer will first be stored in the `receiverQueueSize` queue to tune the message receiving rate.
ReceiverQueueSize *int64 `json:"ReceiverQueueSize,omitnil,omitempty" name:"ReceiverQueueSize"`
// A parameter used to determine the position where the consumer initially receives messages. Valid values: `Earliest` (default), `Latest`.
SubInitialPosition *string `json:"SubInitialPosition,omitnil,omitempty" name:"SubInitialPosition"`
// This parameter is used to specify the maximum number of received messages in a batch for `BatchReceivePolicy`. The default value is 0, indicating that `BatchReceivePolicy` is disabled.
MaxNumMessages *int64 `json:"MaxNumMessages,omitnil,omitempty" name:"MaxNumMessages"`
// This parameter is used to specify the maximum body size (in bytes) of received messages in a batch for `BatchReceivePolicy`. The default value is 0, indicating that `BatchReceivePolicy` is disabled.
MaxNumBytes *int64 `json:"MaxNumBytes,omitnil,omitempty" name:"MaxNumBytes"`
// This parameter is used to specify the maximum wait timeout (in milliseconds) for receiving a batch of messages for `BatchReceivePolicy`. The default value is 0, indicating that `BatchReceivePolicy` is disabled.
Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"`
}
Predefined struct for user
type ReceiveMessageResponse ¶
type ReceiveMessageResponse struct {
*tchttp.BaseResponse
Response *ReceiveMessageResponseParams `json:"Response"`
}
func NewReceiveMessageResponse ¶
func NewReceiveMessageResponse() (response *ReceiveMessageResponse)
func (*ReceiveMessageResponse) FromJsonString ¶
func (r *ReceiveMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReceiveMessageResponse) ToJsonString ¶
func (r *ReceiveMessageResponse) ToJsonString() string
type ReceiveMessageResponseParams ¶
type ReceiveMessageResponseParams struct {
// Unique primary key used to identify the message
MessageID *string `json:"MessageID,omitnil,omitempty" name:"MessageID"`
// Content of the received message
MessagePayload *string `json:"MessagePayload,omitnil,omitempty" name:"MessagePayload"`
// Provided to the `Ack` API and used to acknowledge messages in the topic
AckTopic *string `json:"AckTopic,omitnil,omitempty" name:"AckTopic"`
// Returned error message. If it is null, it means there is no error.
ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`
// Returned subscriber names, used for creating Ack consumers
SubName *string `json:"SubName,omitnil,omitempty" name:"SubName"`
// BatchReceivePolicy specifies the messageids of multiple messages returned at one time, using '###' to distinguish different messageids.
MessageIDList *string `json:"MessageIDList,omitnil,omitempty" name:"MessageIDList"`
// BatchReceivePolicy specifies the message content of multiple messages returned at one time, using '###' to distinguish different message content.
MessagesPayload *string `json:"MessagesPayload,omitnil,omitempty" name:"MessagesPayload"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ResetMsgSubOffsetByTimestampRequest ¶
type ResetMsgSubOffsetByTimestampRequest struct {
*tchttp.BaseRequest
// Namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscriber name.
Subscription *string `json:"Subscription,omitnil,omitempty" name:"Subscription"`
// Timestamp, accurate down to the millisecond.
ToTimestamp *uint64 `json:"ToTimestamp,omitnil,omitempty" name:"ToTimestamp"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewResetMsgSubOffsetByTimestampRequest ¶
func NewResetMsgSubOffsetByTimestampRequest() (request *ResetMsgSubOffsetByTimestampRequest)
func (*ResetMsgSubOffsetByTimestampRequest) FromJsonString ¶
func (r *ResetMsgSubOffsetByTimestampRequest) FromJsonString(s string) error
FromJsonString 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 ResetMsgSubOffsetByTimestampRequestParams ¶
type ResetMsgSubOffsetByTimestampRequestParams struct {
// Namespace name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscriber name.
Subscription *string `json:"Subscription,omitnil,omitempty" name:"Subscription"`
// Timestamp, accurate down to the millisecond.
ToTimestamp *uint64 `json:"ToTimestamp,omitnil,omitempty" name:"ToTimestamp"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type ResetMsgSubOffsetByTimestampResponse ¶
type ResetMsgSubOffsetByTimestampResponse struct {
*tchttp.BaseResponse
Response *ResetMsgSubOffsetByTimestampResponseParams `json:"Response"`
}
func NewResetMsgSubOffsetByTimestampResponse ¶
func NewResetMsgSubOffsetByTimestampResponse() (response *ResetMsgSubOffsetByTimestampResponse)
func (*ResetMsgSubOffsetByTimestampResponse) FromJsonString ¶
func (r *ResetMsgSubOffsetByTimestampResponse) FromJsonString(s string) error
FromJsonString 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 ResetMsgSubOffsetByTimestampResponseParams ¶
type ResetMsgSubOffsetByTimestampResponseParams struct {
// Result.
// Note: this field may return null, indicating that no valid values can be obtained.
Result *bool `json:"Result,omitnil,omitempty" name:"Result"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ResetRocketMQConsumerOffSetRequest ¶
type ResetRocketMQConsumerOffSetRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name.
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Reset method. 0: Start from the latest offset; 1: Start from specified time point.
Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`
// Topic name.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// The specified timestamp that has been reset, in milliseconds. This parameter only takes effect when the value of `Type` is `1`.
ResetTimestamp *uint64 `json:"ResetTimestamp,omitnil,omitempty" name:"ResetTimestamp"`
// Whether the reset flag is retry topic.
RetryFlag *bool `json:"RetryFlag,omitnil,omitempty" name:"RetryFlag"`
}
func NewResetRocketMQConsumerOffSetRequest ¶
func NewResetRocketMQConsumerOffSetRequest() (request *ResetRocketMQConsumerOffSetRequest)
func (*ResetRocketMQConsumerOffSetRequest) FromJsonString ¶
func (r *ResetRocketMQConsumerOffSetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetRocketMQConsumerOffSetRequest) ToJsonString ¶
func (r *ResetRocketMQConsumerOffSetRequest) ToJsonString() string
type ResetRocketMQConsumerOffSetRequestParams ¶
type ResetRocketMQConsumerOffSetRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace name.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Consumer group name.
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// Reset method. 0: Start from the latest offset; 1: Start from specified time point.
Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`
// Topic name.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// The specified timestamp that has been reset, in milliseconds. This parameter only takes effect when the value of `Type` is `1`.
ResetTimestamp *uint64 `json:"ResetTimestamp,omitnil,omitempty" name:"ResetTimestamp"`
// Whether the reset flag is retry topic.
RetryFlag *bool `json:"RetryFlag,omitnil,omitempty" name:"RetryFlag"`
}
Predefined struct for user
type ResetRocketMQConsumerOffSetResponse ¶
type ResetRocketMQConsumerOffSetResponse struct {
*tchttp.BaseResponse
Response *ResetRocketMQConsumerOffSetResponseParams `json:"Response"`
}
func NewResetRocketMQConsumerOffSetResponse ¶
func NewResetRocketMQConsumerOffSetResponse() (response *ResetRocketMQConsumerOffSetResponse)
func (*ResetRocketMQConsumerOffSetResponse) FromJsonString ¶
func (r *ResetRocketMQConsumerOffSetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ResetRocketMQConsumerOffSetResponse) ToJsonString ¶
func (r *ResetRocketMQConsumerOffSetResponse) ToJsonString() string
type ResetRocketMQConsumerOffSetResponseParams ¶
type ResetRocketMQConsumerOffSetResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type RetentionPolicy ¶
type RetryRocketMQDlqMessageRequest ¶
type RetryRocketMQDlqMessageRequest struct {
*tchttp.BaseRequest
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Specifies the namespace name.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Group Name
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// Dead Letter Message ID
MessageIds []*string `json:"MessageIds,omitnil,omitempty" name:"MessageIds"`
}
func NewRetryRocketMQDlqMessageRequest ¶
func NewRetryRocketMQDlqMessageRequest() (request *RetryRocketMQDlqMessageRequest)
func (*RetryRocketMQDlqMessageRequest) FromJsonString ¶
func (r *RetryRocketMQDlqMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryRocketMQDlqMessageRequest) ToJsonString ¶
func (r *RetryRocketMQDlqMessageRequest) ToJsonString() string
type RetryRocketMQDlqMessageRequestParams ¶
type RetryRocketMQDlqMessageRequestParams struct {
// Cluster ID.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Specifies the namespace name.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Group Name
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// Dead Letter Message ID
MessageIds []*string `json:"MessageIds,omitnil,omitempty" name:"MessageIds"`
}
Predefined struct for user
type RetryRocketMQDlqMessageResponse ¶
type RetryRocketMQDlqMessageResponse struct {
*tchttp.BaseResponse
Response *RetryRocketMQDlqMessageResponseParams `json:"Response"`
}
func NewRetryRocketMQDlqMessageResponse ¶
func NewRetryRocketMQDlqMessageResponse() (response *RetryRocketMQDlqMessageResponse)
func (*RetryRocketMQDlqMessageResponse) FromJsonString ¶
func (r *RetryRocketMQDlqMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RetryRocketMQDlqMessageResponse) ToJsonString ¶
func (r *RetryRocketMQDlqMessageResponse) ToJsonString() string
type RetryRocketMQDlqMessageResponseParams ¶
type RetryRocketMQDlqMessageResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type RewindCmqQueueRequest ¶
type RewindCmqQueueRequest struct {
*tchttp.BaseRequest
// Queue name, unique under the same account in a single region. queue name is a string of no more than 64 characters, beginning with a letter, the rest may contain letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// After this time is configured, the `(Batch)receiveMessage` API will consume the messages received after this timestamp in the order in which they are produced.
StartConsumeTime *uint64 `json:"StartConsumeTime,omitnil,omitempty" name:"StartConsumeTime"`
}
func NewRewindCmqQueueRequest ¶
func NewRewindCmqQueueRequest() (request *RewindCmqQueueRequest)
func (*RewindCmqQueueRequest) FromJsonString ¶
func (r *RewindCmqQueueRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RewindCmqQueueRequest) ToJsonString ¶
func (r *RewindCmqQueueRequest) ToJsonString() string
type RewindCmqQueueRequestParams ¶
type RewindCmqQueueRequestParams struct {
// Queue name, unique under the same account in a single region. queue name is a string of no more than 64 characters, beginning with a letter, the rest may contain letters, digits, and hyphens (-).
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// After this time is configured, the `(Batch)receiveMessage` API will consume the messages received after this timestamp in the order in which they are produced.
StartConsumeTime *uint64 `json:"StartConsumeTime,omitnil,omitempty" name:"StartConsumeTime"`
}
Predefined struct for user
type RewindCmqQueueResponse ¶
type RewindCmqQueueResponse struct {
*tchttp.BaseResponse
Response *RewindCmqQueueResponseParams `json:"Response"`
}
func NewRewindCmqQueueResponse ¶
func NewRewindCmqQueueResponse() (response *RewindCmqQueueResponse)
func (*RewindCmqQueueResponse) FromJsonString ¶
func (r *RewindCmqQueueResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RewindCmqQueueResponse) ToJsonString ¶
func (r *RewindCmqQueueResponse) ToJsonString() string
type RewindCmqQueueResponseParams ¶
type RewindCmqQueueResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type RocketMQClusterConfig ¶
type RocketMQClusterConfig struct {
// Upper limit of TPS per single namespace.
//
// Deprecated: MaxTpsPerNamespace is deprecated.
MaxTpsPerNamespace *uint64 `json:"MaxTpsPerNamespace,omitnil,omitempty" name:"MaxTpsPerNamespace"`
// Maximum number of namespaces
MaxNamespaceNum *uint64 `json:"MaxNamespaceNum,omitnil,omitempty" name:"MaxNamespaceNum"`
// Number of used namespaces
UsedNamespaceNum *uint64 `json:"UsedNamespaceNum,omitnil,omitempty" name:"UsedNamespaceNum"`
// Maximum number of topics
MaxTopicNum *uint64 `json:"MaxTopicNum,omitnil,omitempty" name:"MaxTopicNum"`
// Number of used topics
UsedTopicNum *uint64 `json:"UsedTopicNum,omitnil,omitempty" name:"UsedTopicNum"`
// Maximum number of groups
MaxGroupNum *uint64 `json:"MaxGroupNum,omitnil,omitempty" name:"MaxGroupNum"`
// Number of used groups
UsedGroupNum *uint64 `json:"UsedGroupNum,omitnil,omitempty" name:"UsedGroupNum"`
// Maximum message retention period in milliseconds
MaxRetentionTime *uint64 `json:"MaxRetentionTime,omitnil,omitempty" name:"MaxRetentionTime"`
// Maximum message delay in milliseconds
MaxLatencyTime *uint64 `json:"MaxLatencyTime,omitnil,omitempty" name:"MaxLatencyTime"`
// The maximum number of queues in a single topic
// Note: This field may return null, indicating that no valid values can be obtained.
MaxQueuesPerTopic *uint64 `json:"MaxQueuesPerTopic,omitnil,omitempty" name:"MaxQueuesPerTopic"`
// Topic distribution.
// Note: This field may return null, indicating that no valid values can be obtained.
TopicDistribution []*RocketMQTopicDistribution `json:"TopicDistribution,omitnil,omitempty" name:"TopicDistribution"`
// Maximum number of roles.
MaxRoleNum *int64 `json:"MaxRoleNum,omitnil,omitempty" name:"MaxRoleNum"`
// TPS quota.
MaxTpsLimit *int64 `json:"MaxTpsLimit,omitnil,omitempty" name:"MaxTpsLimit"`
}
type RocketMQClusterDetail ¶
type RocketMQClusterDetail struct {
// Basic cluster information.
Info *RocketMQClusterInfo `json:"Info,omitnil,omitempty" name:"Info"`
// Cluster configuration information.
Config *RocketMQClusterConfig `json:"Config,omitnil,omitempty" name:"Config"`
// Cluster status. 0: Creating; 1: Normal; 2: Terminating; 3: Deleted; 4. Isolated; 5. Creation failed; 6: Deletion failed.
// Note: This field may return null, indicating that no valid values can be obtained.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
type RocketMQClusterInfo ¶
type RocketMQClusterInfo struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Cluster name
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Region information
Region *string `json:"Region,omitnil,omitempty" name:"Region"`
// Creation time in milliseconds
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Cluster remarks
// Note: this field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Public network access address
PublicEndPoint *string `json:"PublicEndPoint,omitnil,omitempty" name:"PublicEndPoint"`
// VPC access address
VpcEndPoint *string `json:"VpcEndPoint,omitnil,omitempty" name:"VpcEndPoint"`
// Whether the namespace access point is supported.
// Note: This field may return `null`, indicating that no valid values can be obtained.
SupportNamespaceEndpoint *bool `json:"SupportNamespaceEndpoint,omitnil,omitempty" name:"SupportNamespaceEndpoint"`
// VPC Information
// Note: This field may return null, indicating that no valid values can be obtained.
Vpcs []*VpcConfig `json:"Vpcs,omitnil,omitempty" name:"Vpcs"`
// Whether it is an exclusive instance
// Note: This field may return null, indicating that no valid values can be obtained.
IsVip *bool `json:"IsVip,omitnil,omitempty" name:"IsVip"`
// TDMQ for RocketMQ cluster type flag
// Note: This field may return null, indicating that no valid values can be obtained.
RocketMQFlag *bool `json:"RocketMQFlag,omitnil,omitempty" name:"RocketMQFlag"`
// Billing status (`1`: Normal; `2`: Service suspended; `3`: Terminated)
// Note: This field may return null, indicating that no valid values can be obtained.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Service suspension time in milliseconds
// Note: This field may return null, indicating that no valid values can be obtained.
IsolateTime *int64 `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"`
// HTTP-based public network access address
// Note: This field may return null, indicating that no valid values can be obtained.
HttpPublicEndpoint *string `json:"HttpPublicEndpoint,omitnil,omitempty" name:"HttpPublicEndpoint"`
// HTTP-based VPC access address
// Note: This field may return null, indicating that no valid values can be obtained.
HttpVpcEndpoint *string `json:"HttpVpcEndpoint,omitnil,omitempty" name:"HttpVpcEndpoint"`
// Internal TCP access address
// Note: This field may return null, indicating that no valid values can be obtained.
InternalEndpoint *string `json:"InternalEndpoint,omitnil,omitempty" name:"InternalEndpoint"`
// Internal HTTP access address
// Note: This field may return null, indicating that no valid values can be obtained.
HttpInternalEndpoint *string `json:"HttpInternalEndpoint,omitnil,omitempty" name:"HttpInternalEndpoint"`
// Whether to enable ACL authentication. For Exclusive Edition instances, ACL authentication can be disabled.
// Note: This field may return null, indicating that no valid values can be obtained.
AclEnabled *bool `json:"AclEnabled,omitnil,omitempty" name:"AclEnabled"`
// Public network CLB instance ID
// Note: This field may return null, indicating that no valid values can be obtained.
PublicClbId *string `json:"PublicClbId,omitnil,omitempty" name:"PublicClbId"`
// vip
// Note: This field may return null, indicating that no valid values can be obtained.
Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
// Specifies the VPC it belongs to.
// Note: This field may return null, indicating that no valid values can be obtained.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Whether migration is supported.
// Note: This field may return null, indicating that no valid values can be obtained.
SupportMigration *bool `json:"SupportMigration,omitnil,omitempty" name:"SupportMigration"`
// Instance status:
// 0: Creating
// 1: Normal
// 2: Isolating
// 3: Destroyed
// 4: Abnormal
// 5: Deliver failed
// 6: Changing the configuration
// 7: Configuration change failed
// Note: This field may return null, indicating that no valid values can be obtained.
InstanceStatus *int64 `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"`
// Indicates the AZ to which the cluster belongs.
// Note: This field may return null, indicating that no valid values can be obtained.
ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// The AZ where the cluster nodes are located. If the cluster is a cross-AZ cluster, it includes multiple AZs where the cluster nodes are located.
// Note: This field may return null, indicating that no valid values can be obtained.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Whether it is frozen.
IsFrozen *bool `json:"IsFrozen,omitnil,omitempty" name:"IsFrozen"`
// Whether to enable automatic topic creation.
AutoCreateTopicEnabled *bool `json:"AutoCreateTopicEnabled,omitnil,omitempty" name:"AutoCreateTopicEnabled"`
// Whether to enable the admin feature of the cluster.
AdminFeatureEnabled *bool `json:"AdminFeatureEnabled,omitnil,omitempty" name:"AdminFeatureEnabled"`
// Admin AK
// Note: This field may return null, indicating that no valid values can be obtained.
AdminAccessKey *string `json:"AdminAccessKey,omitnil,omitempty" name:"AdminAccessKey"`
// Admin SK
// Note: This field may return null, indicating that no valid values can be obtained.
AdminSecretKey *string `json:"AdminSecretKey,omitnil,omitempty" name:"AdminSecretKey"`
// Whether to enable deletion protection
EnableDeletionProtection *bool `json:"EnableDeletionProtection,omitnil,omitempty" name:"EnableDeletionProtection"`
}
type RocketMQClusterRecentStats ¶
type RocketMQClusterRecentStats struct {
// Number of topics
TopicNum *uint64 `json:"TopicNum,omitnil,omitempty" name:"TopicNum"`
// Number of produced messages
ProducedMsgNum *uint64 `json:"ProducedMsgNum,omitnil,omitempty" name:"ProducedMsgNum"`
// Number of consumed messages
ConsumedMsgNum *uint64 `json:"ConsumedMsgNum,omitnil,omitempty" name:"ConsumedMsgNum"`
// Number of retained messages
AccumulativeMsgNum *uint64 `json:"AccumulativeMsgNum,omitnil,omitempty" name:"AccumulativeMsgNum"`
}
type RocketMQDataPoint ¶
type RocketMQDataPoint struct {
// Monitoring value array, which corresponds one-to-one with Timestamps
// Note: This field may return null, indicating that no valid values can be obtained.
Timestamps []*int64 `json:"Timestamps,omitnil,omitempty" name:"Timestamps"`
// Monitoring data point position. For example, a day is divided into 1,440 points per minute, with each point having a serial number between 0 and 1439. If a certain serial number is not in the array, it indicates a missing data point.
// Note: This field may return null, indicating that no valid values can be obtained.
Values []*float64 `json:"Values,omitnil,omitempty" name:"Values"`
}
type RocketMQGroup ¶
type RocketMQGroup struct {
// Consumer group name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// The number of online consumers.
ConsumerNum *uint64 `json:"ConsumerNum,omitnil,omitempty" name:"ConsumerNum"`
// Consumption TPS.
//
// Deprecated: TPS is deprecated.
TPS *uint64 `json:"TPS,omitnil,omitempty" name:"TPS"`
// The total number of heaped messages.
//
// Deprecated: TotalAccumulative is deprecated.
TotalAccumulative *int64 `json:"TotalAccumulative,omitnil,omitempty" name:"TotalAccumulative"`
// 0: Cluster consumption mode; 1: Broadcast consumption mode; -1: Unknown.
ConsumptionMode *int64 `json:"ConsumptionMode,omitnil,omitempty" name:"ConsumptionMode"`
// Whether to allow consumption.
ReadEnabled *bool `json:"ReadEnabled,omitnil,omitempty" name:"ReadEnabled"`
// The number of partitions in a retry topic.
// Note: This field may return null, indicating that no valid values can be obtained.
RetryPartitionNum *uint64 `json:"RetryPartitionNum,omitnil,omitempty" name:"RetryPartitionNum"`
// Creation time in milliseconds.
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Modification time in milliseconds.
UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// Client protocol.
ClientProtocol *string `json:"ClientProtocol,omitnil,omitempty" name:"ClientProtocol"`
// Description.
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Consumer type. Enumerated values: `ACTIVELY` or `PASSIVELY`.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerType *string `json:"ConsumerType,omitnil,omitempty" name:"ConsumerType"`
// Whether to enable broadcast consumption.
BroadcastEnabled *bool `json:"BroadcastEnabled,omitnil,omitempty" name:"BroadcastEnabled"`
// Group type
// Note: This field may return null, indicating that no valid values can be obtained.
GroupType *string `json:"GroupType,omitnil,omitempty" name:"GroupType"`
// The number of retries
// Note: This field may return null, indicating that no valid values can be obtained.
RetryMaxTimes *uint64 `json:"RetryMaxTimes,omitnil,omitempty" name:"RetryMaxTimes"`
// Instance ID.
// Note: This field may return null, indicating that no valid values can be obtained.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Namespace
// Note: This field may return null, indicating that no valid values can be obtained.
Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`
// Number of subscribed topics.
SubscribeTopicNum *int64 `json:"SubscribeTopicNum,omitnil,omitempty" name:"SubscribeTopicNum"`
// List of bound tags
TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"`
}
type RocketMQInstanceConfig ¶
type RocketMQInstanceConfig struct {
// Maximum TPS per namespace
MaxTpsPerNamespace *uint64 `json:"MaxTpsPerNamespace,omitnil,omitempty" name:"MaxTpsPerNamespace"`
// Maximum number of namespaces
MaxNamespaceNum *uint64 `json:"MaxNamespaceNum,omitnil,omitempty" name:"MaxNamespaceNum"`
// Number of used namespaces
UsedNamespaceNum *uint64 `json:"UsedNamespaceNum,omitnil,omitempty" name:"UsedNamespaceNum"`
// Maximum number of topics
MaxTopicNum *uint64 `json:"MaxTopicNum,omitnil,omitempty" name:"MaxTopicNum"`
// Number of used topics
UsedTopicNum *uint64 `json:"UsedTopicNum,omitnil,omitempty" name:"UsedTopicNum"`
// Maximum number of groups
MaxGroupNum *uint64 `json:"MaxGroupNum,omitnil,omitempty" name:"MaxGroupNum"`
// Number of used groups
UsedGroupNum *uint64 `json:"UsedGroupNum,omitnil,omitempty" name:"UsedGroupNum"`
// Cluster type
ConfigDisplay *string `json:"ConfigDisplay,omitnil,omitempty" name:"ConfigDisplay"`
// Number of nodes in the cluster
NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// Node distribution
NodeDistribution []*InstanceNodeDistribution `json:"NodeDistribution,omitnil,omitempty" name:"NodeDistribution"`
// Topic distribution
TopicDistribution []*RocketMQTopicDistribution `json:"TopicDistribution,omitnil,omitempty" name:"TopicDistribution"`
MaxQueuesPerTopic *uint64 `json:"MaxQueuesPerTopic,omitnil,omitempty" name:"MaxQueuesPerTopic"`
// Maximum configurable message retention time, in hours
// Note: This field may return null, indicating that no valid values can be obtained.
MaxRetention *int64 `json:"MaxRetention,omitnil,omitempty" name:"MaxRetention"`
// Minimum configurable message retention time, in hours
// Note: This field may return null, indicating that no valid values can be obtained.
MinRetention *int64 `json:"MinRetention,omitnil,omitempty" name:"MinRetention"`
// Instance message retention time, in hours
// Note: This field may return null, indicating that no valid values can be obtained.
Retention *int64 `json:"Retention,omitnil,omitempty" name:"Retention"`
// Minimum quota for the number of topics, which is the free quota. The default number is the minimum quota per node in the cluster specification multiplied by the number of nodes.
// Note: This field may return null, indicating that no valid values can be obtained.
TopicNumLowerLimit *int64 `json:"TopicNumLowerLimit,omitnil,omitempty" name:"TopicNumLowerLimit"`
// Maximum quota for the number of topics. The default number is the maximum quota per node in the cluster specification multiplied by the number of nodes.
// Note: This field may return null, indicating that no valid values can be obtained.
TopicNumUpperLimit *int64 `json:"TopicNumUpperLimit,omitnil,omitempty" name:"TopicNumUpperLimit"`
// Controls the TPS ratio for producing and consuming messages. Value range: 0–1. Default value: 0.5.
SendReceiveRatio *float64 `json:"SendReceiveRatio,omitnil,omitempty" name:"SendReceiveRatio"`
}
type RocketMQMessageTrack ¶
type RocketMQMessageTrack struct {
// Consumer group
Group *string `json:"Group,omitnil,omitempty" name:"Group"`
// Consumption status.
// CONSUMED.
// CONSUMED BUT FILTERED.
// NOT_CONSUME: specifies unconsumed.
// ENTER_RETRY: specifies whether to enter the retry queue.
// ENTER_DLQ: specifies whether the message enters the dead letter queue.
// Consumption status UNKNOWN.
ConsumeStatus *string `json:"ConsumeStatus,omitnil,omitempty" name:"ConsumeStatus"`
// Message trace type
TrackType *string `json:"TrackType,omitnil,omitempty" name:"TrackType"`
// Exception information
// Note: This field may return null, indicating that no valid values can be obtained.
ExceptionDesc *string `json:"ExceptionDesc,omitnil,omitempty" name:"ExceptionDesc"`
}
type RocketMQMsgLog ¶
type RocketMQMsgLog struct {
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// Message tag
// Note: This field may return null, indicating that no valid values can be obtained.
MsgTag *string `json:"MsgTag,omitnil,omitempty" name:"MsgTag"`
// Message key.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgKey *string `json:"MsgKey,omitnil,omitempty" name:"MsgKey"`
// Specifies the client ip address.
ProducerAddr *string `json:"ProducerAddr,omitnil,omitempty" name:"ProducerAddr"`
// Message Sending Time
ProduceTime *string `json:"ProduceTime,omitnil,omitempty" name:"ProduceTime"`
// Pulsar Message ID
PulsarMsgId *string `json:"PulsarMsgId,omitnil,omitempty" name:"PulsarMsgId"`
// Dead-letter resend count
// Note: This field may return null, indicating that no valid values can be obtained.
DeadLetterResendTimes *int64 `json:"DeadLetterResendTimes,omitnil,omitempty" name:"DeadLetterResendTimes"`
// Dead Letter Resend Success Count
// Note: This field may return null, indicating that no valid values can be obtained.
ResendSuccessCount *int64 `json:"ResendSuccessCount,omitnil,omitempty" name:"ResendSuccessCount"`
}
type RocketMQNamespace ¶
type RocketMQNamespace struct {
// Namespace name, which can contain 3 - 64 letters, digits, hyphens, and underscores.
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Retention period for unconsumed messages in milliseconds. Valid range: 60 seconds - 15 days. This parameter is disused.
Ttl *uint64 `json:"Ttl,omitnil,omitempty" name:"Ttl"`
// Retention period for persistently stored messages in milliseconds.
RetentionTime *uint64 `json:"RetentionTime,omitnil,omitempty" name:"RetentionTime"`
// Description.
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Public network access point address.
// Note: This field may return null, indicating that no valid values can be obtained.
PublicEndpoint *string `json:"PublicEndpoint,omitnil,omitempty" name:"PublicEndpoint"`
// VPC access point address.
// Note: This field may return null, indicating that no valid values can be obtained.
VpcEndpoint *string `json:"VpcEndpoint,omitnil,omitempty" name:"VpcEndpoint"`
// Internal access point address
// Note: This field may return null, indicating that no valid values can be obtained.
InternalEndpoint *string `json:"InternalEndpoint,omitnil,omitempty" name:"InternalEndpoint"`
}
type RocketMQSubscription ¶
type RocketMQSubscription struct {
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Topic type.
// Normal.
// GlobalOrder specifies the global sequential order.
// Partitionally sequential.
// Transactional message.
// DelayScheduled specifies the delayed message.
// Retry.
// DeadLetter. specifies the dead letter.
// Note: This field may return null, indicating that no valid values can be obtained.
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// Number of partitions
// Note: This field may return null, indicating that no valid values can be obtained.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Filter mode, which can be TAG or SQL.
// Note: This field may return null, indicating that no valid values can be obtained.
ExpressionType *string `json:"ExpressionType,omitnil,omitempty" name:"ExpressionType"`
// Filter expression.
// Note: This field may return null, indicating that no valid values can be obtained.
SubString *string `json:"SubString,omitnil,omitempty" name:"SubString"`
// Subscription status:.
// Consistent subscription relationship.
// Inconsistent subscription relationship.
// 2. unknown.
// Note: This field may return null, indicating that no valid values can be obtained.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Number of heaped consumer groups.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerLag *int64 `json:"ConsumerLag,omitnil,omitempty" name:"ConsumerLag"`
// Instance ID.
// Note: This field may return null, indicating that no valid values can be obtained.
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Specifies the consumer group name.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerGroup *string `json:"ConsumerGroup,omitnil,omitempty" name:"ConsumerGroup"`
// Online status
// Note: This field may return null, indicating that no valid values can be obtained.
IsOnline *bool `json:"IsOnline,omitnil,omitempty" name:"IsOnline"`
// Consumption type.
// Broadcast consumption.
// Specifies the cluster consumption.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumeType *int64 `json:"ConsumeType,omitnil,omitempty" name:"ConsumeType"`
// Subscription consistency.
// Note: This field may return null, indicating that no valid values can be obtained.
Consistency *int64 `json:"Consistency,omitnil,omitempty" name:"Consistency"`
// Last consumption progress update time, in seconds
// Note: This field may return null, indicating that no valid values can be obtained.
LastUpdateTime *int64 `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`
// Maximum number of retries.
// Note: This field may return null, indicating that no valid values can be obtained.
MaxRetryTimes *int64 `json:"MaxRetryTimes,omitnil,omitempty" name:"MaxRetryTimes"`
// Protocol type.
// Note: This field may return null, indicating that no valid values can be obtained.
ClientProtocol *string `json:"ClientProtocol,omitnil,omitempty" name:"ClientProtocol"`
// Client subscription details.
// Note: This field may return null, indicating that no valid values can be obtained.
ClientSubscriptionInfos []*ClientSubscriptionInfo `json:"ClientSubscriptionInfos,omitnil,omitempty" name:"ClientSubscriptionInfos"`
}
type RocketMQTopic ¶
type RocketMQTopic struct {
// Topic name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Topic type. Enumerated values: `Normal`, `GlobalOrder`, `PartitionedOrder`, `Transaction`, `Retry`, and `DeadLetter`.
Type *string `json:"Type,omitnil,omitempty" name:"Type"`
// The number of subscription groups
GroupNum *uint64 `json:"GroupNum,omitnil,omitempty" name:"GroupNum"`
// Description.
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// The number of read/write partitions.
PartitionNum *uint64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Creation time in milliseconds.
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Creation time in milliseconds.
UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// Instance ID.
// Note: This field may return null, indicating that no valid values can be obtained.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Namespace
// Note: This field may return null, indicating that no valid values can be obtained.
Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"`
// Last write time, in seconds.
// Note: This field may return null, indicating that no valid values can be obtained.
LastUpdateTime *int64 `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`
// Number of Subscriptions
// Note: This field may return null, indicating that no valid values can be obtained.
SubscriptionCount *int64 `json:"SubscriptionCount,omitnil,omitempty" name:"SubscriptionCount"`
// Subscribe to the relationship list.
// Note: This field may return null, indicating that no valid values can be obtained.
SubscriptionData []*RocketMQSubscription `json:"SubscriptionData,omitnil,omitempty" name:"SubscriptionData"`
// List of bound tags
TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"`
}
type RocketMQVipInstance ¶
type RocketMQVipInstance struct {
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Instance name
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Instance version.
InstanceVersion *string `json:"InstanceVersion,omitnil,omitempty" name:"InstanceVersion"`
// Instance status. Valid values: `0` (Creating), `1` (Normal), `2` (Isolated), `3` (Terminated), `4` (Abnormal), `5` (Delivery failed).
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Number of nodes
NodeCount *uint64 `json:"NodeCount,omitnil,omitempty" name:"NodeCount"`
// Instance specification name
ConfigDisplay *string `json:"ConfigDisplay,omitnil,omitempty" name:"ConfigDisplay"`
// Peak TPS
MaxTps *uint64 `json:"MaxTps,omitnil,omitempty" name:"MaxTps"`
// Peak bandwidth in Mbps
MaxBandWidth *uint64 `json:"MaxBandWidth,omitnil,omitempty" name:"MaxBandWidth"`
// Storage capacity in GB
MaxStorage *uint64 `json:"MaxStorage,omitnil,omitempty" name:"MaxStorage"`
// Instance expiration time in milliseconds
ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// Renewal mode. Valid values: `0` (Manual renewal, which is the default mode), `1` (Auto-renewal), `2` (Manual renewal, which is specified by users).
AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// Payment mode. 0: Postpaid; 1: Prepaid.
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Remarks
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Instance specification ID
SpecName *string `json:"SpecName,omitnil,omitempty" name:"SpecName"`
// Maximum configurable message retention time, in hours
MaxRetention *int64 `json:"MaxRetention,omitnil,omitempty" name:"MaxRetention"`
// Minimum configurable message retention time, in hours
MinRetention *int64 `json:"MinRetention,omitnil,omitempty" name:"MinRetention"`
// Instance message retention time, in hours
Retention *int64 `json:"Retention,omitnil,omitempty" name:"Retention"`
// Whether to enable ACL authentication.
AclEnabled *bool `json:"AclEnabled,omitnil,omitempty" name:"AclEnabled"`
// Destruction time.
DestroyTime *uint64 `json:"DestroyTime,omitnil,omitempty" name:"DestroyTime"`
}
type Role ¶
type Role struct {
// Role name.
RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`
// Value of the role token.
Token *string `json:"Token,omitnil,omitempty" name:"Token"`
// Remarks.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Creation time.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Update time.
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// Authorization type (Cluster: cluster; TopicAndGroup: topic or consumer group).
PermType *string `json:"PermType,omitnil,omitempty" name:"PermType"`
}
type SecurityPolicy ¶
type SecurityPolicy struct {
// ip or subnet.
// Note: This field may return null, indicating that no valid values can be obtained.
Route *string `json:"Route,omitnil,omitempty" name:"Route"`
// Specifies whether the policy allows (true) or denies (false) access, corresponding to the allowlist or blocklist.
//
// Note: This field may return null, indicating that no valid values can be obtained.
Policy *bool `json:"Policy,omitnil,omitempty" name:"Policy"`
// Remarks.
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}
type SendBatchMessagesRequest ¶
type SendBatchMessagesRequest struct {
*tchttp.BaseRequest
// Name of the topic to which to send the message. It is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Content of the message to be sent
Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`
// String-Type token, which is optional and will be automatically obtained by the system.
StringToken *string `json:"StringToken,omitnil,omitempty" name:"StringToken"`
// Producer name, which must be globally unique. If it is not configured, the system will automatically generate one.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Message sending timeout period in seconds. Default value: 30s
SendTimeout *int64 `json:"SendTimeout,omitnil,omitempty" name:"SendTimeout"`
// Maximum number of produced messages which can be cached in the memory. Default value: 1000
MaxPendingMessages *int64 `json:"MaxPendingMessages,omitnil,omitempty" name:"MaxPendingMessages"`
// Maximum number of messages in each batch. Default value: 1000 messages/batch
BatchingMaxMessages *int64 `json:"BatchingMaxMessages,omitnil,omitempty" name:"BatchingMaxMessages"`
// Maximum wait time for each batch, after which the batch will be sent no matter whether the specified number or size of messages in the batch is reached. Default value: 10 ms
BatchingMaxPublishDelay *int64 `json:"BatchingMaxPublishDelay,omitnil,omitempty" name:"BatchingMaxPublishDelay"`
// Maximum allowed size of messages in each batch. Default value: 128 KB
BatchingMaxBytes *int64 `json:"BatchingMaxBytes,omitnil,omitempty" name:"BatchingMaxBytes"`
}
func NewSendBatchMessagesRequest ¶
func NewSendBatchMessagesRequest() (request *SendBatchMessagesRequest)
func (*SendBatchMessagesRequest) FromJsonString ¶
func (r *SendBatchMessagesRequest) FromJsonString(s string) error
FromJsonString 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 SendBatchMessagesRequestParams ¶
type SendBatchMessagesRequestParams struct {
// Name of the topic to which to send the message. It is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Content of the message to be sent
Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`
// String-Type token, which is optional and will be automatically obtained by the system.
StringToken *string `json:"StringToken,omitnil,omitempty" name:"StringToken"`
// Producer name, which must be globally unique. If it is not configured, the system will automatically generate one.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Message sending timeout period in seconds. Default value: 30s
SendTimeout *int64 `json:"SendTimeout,omitnil,omitempty" name:"SendTimeout"`
// Maximum number of produced messages which can be cached in the memory. Default value: 1000
MaxPendingMessages *int64 `json:"MaxPendingMessages,omitnil,omitempty" name:"MaxPendingMessages"`
// Maximum number of messages in each batch. Default value: 1000 messages/batch
BatchingMaxMessages *int64 `json:"BatchingMaxMessages,omitnil,omitempty" name:"BatchingMaxMessages"`
// Maximum wait time for each batch, after which the batch will be sent no matter whether the specified number or size of messages in the batch is reached. Default value: 10 ms
BatchingMaxPublishDelay *int64 `json:"BatchingMaxPublishDelay,omitnil,omitempty" name:"BatchingMaxPublishDelay"`
// Maximum allowed size of messages in each batch. Default value: 128 KB
BatchingMaxBytes *int64 `json:"BatchingMaxBytes,omitnil,omitempty" name:"BatchingMaxBytes"`
}
Predefined struct for user
type SendBatchMessagesResponse ¶
type SendBatchMessagesResponse struct {
*tchttp.BaseResponse
Response *SendBatchMessagesResponseParams `json:"Response"`
}
func NewSendBatchMessagesResponse ¶
func NewSendBatchMessagesResponse() (response *SendBatchMessagesResponse)
func (*SendBatchMessagesResponse) FromJsonString ¶
func (r *SendBatchMessagesResponse) FromJsonString(s string) error
FromJsonString 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 SendBatchMessagesResponseParams ¶
type SendBatchMessagesResponseParams struct {
// Unique message ID
// Note: this field may return null, indicating that no valid values can be obtained.
MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`
// Error message. If an empty string is returned, no error occurred.
// Note: this field may return null, indicating that no valid values can be obtained.
ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type SendCmqMsgRequest ¶
type SendCmqMsgRequest struct {
*tchttp.BaseRequest
// Queue name
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Message content
MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
// Delay time. expressed in seconds, default value is 0, cannot exceed the max message unacknowledgement time in queue configuration.
DelaySeconds *int64 `json:"DelaySeconds,omitnil,omitempty" name:"DelaySeconds"`
}
func NewSendCmqMsgRequest ¶
func NewSendCmqMsgRequest() (request *SendCmqMsgRequest)
func (*SendCmqMsgRequest) FromJsonString ¶
func (r *SendCmqMsgRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendCmqMsgRequest) ToJsonString ¶
func (r *SendCmqMsgRequest) ToJsonString() string
type SendCmqMsgRequestParams ¶
type SendCmqMsgRequestParams struct {
// Queue name
QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"`
// Message content
MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
// Delay time. expressed in seconds, default value is 0, cannot exceed the max message unacknowledgement time in queue configuration.
DelaySeconds *int64 `json:"DelaySeconds,omitnil,omitempty" name:"DelaySeconds"`
}
Predefined struct for user
type SendCmqMsgResponse ¶
type SendCmqMsgResponse struct {
*tchttp.BaseResponse
Response *SendCmqMsgResponseParams `json:"Response"`
}
func NewSendCmqMsgResponse ¶
func NewSendCmqMsgResponse() (response *SendCmqMsgResponse)
func (*SendCmqMsgResponse) FromJsonString ¶
func (r *SendCmqMsgResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendCmqMsgResponse) ToJsonString ¶
func (r *SendCmqMsgResponse) ToJsonString() string
type SendCmqMsgResponseParams ¶
type SendCmqMsgResponseParams struct {
// `true` indicates that the sending is successful
Result *bool `json:"Result,omitnil,omitempty" name:"Result"`
// Message ID
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type SendMessagesRequest ¶
type SendMessagesRequest struct {
*tchttp.BaseRequest
// Name of the topic to which to send the message. It is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Content of the message to be sent
Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`
// Token used for authentication, which is optional and will be automatically obtained by the system.
StringToken *string `json:"StringToken,omitnil,omitempty" name:"StringToken"`
// Producer name, which is randomly generated and must be globally unique. If you set the producer name manually, the producer may fail to be created, causing message sending failure.
// This parameter is used only when a specific producer is allowed to produce messages. It won’t be used in most cases.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Message sending timeout period, which is 30s by default.
SendTimeout *int64 `json:"SendTimeout,omitnil,omitempty" name:"SendTimeout"`
// Maximum number of produced messages which can be cached in the memory. Default value: 1000
MaxPendingMessages *int64 `json:"MaxPendingMessages,omitnil,omitempty" name:"MaxPendingMessages"`
}
func NewSendMessagesRequest ¶
func NewSendMessagesRequest() (request *SendMessagesRequest)
func (*SendMessagesRequest) FromJsonString ¶
func (r *SendMessagesRequest) FromJsonString(s string) error
FromJsonString 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 SendMessagesRequestParams ¶
type SendMessagesRequestParams struct {
// Name of the topic to which to send the message. It is better to be the full path of the topic, such as `tenant/namespace/topic`. If it is not specified, `public/default` will be used by default.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Content of the message to be sent
Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`
// Token used for authentication, which is optional and will be automatically obtained by the system.
StringToken *string `json:"StringToken,omitnil,omitempty" name:"StringToken"`
// Producer name, which is randomly generated and must be globally unique. If you set the producer name manually, the producer may fail to be created, causing message sending failure.
// This parameter is used only when a specific producer is allowed to produce messages. It won’t be used in most cases.
ProducerName *string `json:"ProducerName,omitnil,omitempty" name:"ProducerName"`
// Message sending timeout period, which is 30s by default.
SendTimeout *int64 `json:"SendTimeout,omitnil,omitempty" name:"SendTimeout"`
// Maximum number of produced messages which can be cached in the memory. Default value: 1000
MaxPendingMessages *int64 `json:"MaxPendingMessages,omitnil,omitempty" name:"MaxPendingMessages"`
}
Predefined struct for user
type SendMessagesResponse ¶
type SendMessagesResponse struct {
*tchttp.BaseResponse
Response *SendMessagesResponseParams `json:"Response"`
}
func NewSendMessagesResponse ¶
func NewSendMessagesResponse() (response *SendMessagesResponse)
func (*SendMessagesResponse) FromJsonString ¶
func (r *SendMessagesResponse) FromJsonString(s string) error
FromJsonString 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 SendMessagesResponseParams ¶
type SendMessagesResponseParams struct {
// The messageID of the message is globally unique and is used to identify the message's metadata information.
MessageId *string `json:"MessageId,omitnil,omitempty" name:"MessageId"`
// Returned error message. If returned as "", it means there is no error.
ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type SendMsgRequest ¶
type SendMsgRequest struct {
*tchttp.BaseRequest
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name. If the topic is a partitioned topic, you need to specify the partition; otherwise, messages will be sent to partition 0 by default, such as `my_topic-partition-0`.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message content, which cannot be empty and can contain up to 5,242,880 bytes.
MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
func NewSendMsgRequest ¶
func NewSendMsgRequest() (request *SendMsgRequest)
func (*SendMsgRequest) FromJsonString ¶
func (r *SendMsgRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendMsgRequest) ToJsonString ¶
func (r *SendMsgRequest) ToJsonString() string
type SendMsgRequestParams ¶
type SendMsgRequestParams struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name. If the topic is a partitioned topic, you need to specify the partition; otherwise, messages will be sent to partition 0 by default, such as `my_topic-partition-0`.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message content, which cannot be empty and can contain up to 5,242,880 bytes.
MsgContent *string `json:"MsgContent,omitnil,omitempty" name:"MsgContent"`
// Pulsar cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
}
Predefined struct for user
type SendMsgResponse ¶
type SendMsgResponse struct {
*tchttp.BaseResponse
Response *SendMsgResponseParams `json:"Response"`
}
func NewSendMsgResponse ¶
func NewSendMsgResponse() (response *SendMsgResponse)
func (*SendMsgResponse) FromJsonString ¶
func (r *SendMsgResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendMsgResponse) ToJsonString ¶
func (r *SendMsgResponse) ToJsonString() string
type SendMsgResponseParams ¶
type SendMsgResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type SendRocketMQMessageRequest ¶
type SendRocketMQMessageRequest struct {
*tchttp.BaseRequest
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace ID
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message content
MsgBody *string `json:"MsgBody,omitnil,omitempty" name:"MsgBody"`
// Message key
MsgKey *string `json:"MsgKey,omitnil,omitempty" name:"MsgKey"`
// Message tag
MsgTag *string `json:"MsgTag,omitnil,omitempty" name:"MsgTag"`
}
func NewSendRocketMQMessageRequest ¶
func NewSendRocketMQMessageRequest() (request *SendRocketMQMessageRequest)
func (*SendRocketMQMessageRequest) FromJsonString ¶
func (r *SendRocketMQMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendRocketMQMessageRequest) ToJsonString ¶
func (r *SendRocketMQMessageRequest) ToJsonString() string
type SendRocketMQMessageRequestParams ¶
type SendRocketMQMessageRequestParams struct {
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Namespace ID
NamespaceId *string `json:"NamespaceId,omitnil,omitempty" name:"NamespaceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Message content
MsgBody *string `json:"MsgBody,omitnil,omitempty" name:"MsgBody"`
// Message key
MsgKey *string `json:"MsgKey,omitnil,omitempty" name:"MsgKey"`
// Message tag
MsgTag *string `json:"MsgTag,omitnil,omitempty" name:"MsgTag"`
}
Predefined struct for user
type SendRocketMQMessageResponse ¶
type SendRocketMQMessageResponse struct {
*tchttp.BaseResponse
Response *SendRocketMQMessageResponseParams `json:"Response"`
}
func NewSendRocketMQMessageResponse ¶
func NewSendRocketMQMessageResponse() (response *SendRocketMQMessageResponse)
func (*SendRocketMQMessageResponse) FromJsonString ¶
func (r *SendRocketMQMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendRocketMQMessageResponse) ToJsonString ¶
func (r *SendRocketMQMessageResponse) ToJsonString() string
type SendRocketMQMessageResponseParams ¶
type SendRocketMQMessageResponseParams struct {
// Message sending result
Result *bool `json:"Result,omitnil,omitempty" name:"Result"`
// Message ID
// Note: This field may return null, indicating that no valid values can be obtained.
MsgId *string `json:"MsgId,omitnil,omitempty" name:"MsgId"`
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type SetRocketMQPublicAccessPointRequest ¶
type SetRocketMQPublicAccessPointRequest struct {
*tchttp.BaseRequest
// Cluster ID. Currently, the system only supports dedicated clusters.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Enable or Disable Access
Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
// Bandwidth size, in Mbps. It must be specified when you enable or adjust the public network access.
Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Payment mode, which must be specified when you enabled the public network access. 0 means hourly billing, and 1 means annual and monthly subscription. Currently, only hourly billing is supported.
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Public network access security rule list, which must be provided when Enabled is true.
Rules []*PublicAccessRule `json:"Rules,omitnil,omitempty" name:"Rules"`
// Whether public network is billed by traffic.
BillingFlow *bool `json:"BillingFlow,omitnil,omitempty" name:"BillingFlow"`
}
func NewSetRocketMQPublicAccessPointRequest ¶
func NewSetRocketMQPublicAccessPointRequest() (request *SetRocketMQPublicAccessPointRequest)
func (*SetRocketMQPublicAccessPointRequest) FromJsonString ¶
func (r *SetRocketMQPublicAccessPointRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetRocketMQPublicAccessPointRequest) ToJsonString ¶
func (r *SetRocketMQPublicAccessPointRequest) ToJsonString() string
type SetRocketMQPublicAccessPointRequestParams ¶
type SetRocketMQPublicAccessPointRequestParams struct {
// Cluster ID. Currently, the system only supports dedicated clusters.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Enable or Disable Access
Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
// Bandwidth size, in Mbps. It must be specified when you enable or adjust the public network access.
Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Payment mode, which must be specified when you enabled the public network access. 0 means hourly billing, and 1 means annual and monthly subscription. Currently, only hourly billing is supported.
PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// Public network access security rule list, which must be provided when Enabled is true.
Rules []*PublicAccessRule `json:"Rules,omitnil,omitempty" name:"Rules"`
// Whether public network is billed by traffic.
BillingFlow *bool `json:"BillingFlow,omitnil,omitempty" name:"BillingFlow"`
}
Predefined struct for user
type SetRocketMQPublicAccessPointResponse ¶
type SetRocketMQPublicAccessPointResponse struct {
*tchttp.BaseResponse
Response *SetRocketMQPublicAccessPointResponseParams `json:"Response"`
}
func NewSetRocketMQPublicAccessPointResponse ¶
func NewSetRocketMQPublicAccessPointResponse() (response *SetRocketMQPublicAccessPointResponse)
func (*SetRocketMQPublicAccessPointResponse) FromJsonString ¶
func (r *SetRocketMQPublicAccessPointResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetRocketMQPublicAccessPointResponse) ToJsonString ¶
func (r *SetRocketMQPublicAccessPointResponse) ToJsonString() string
type SetRocketMQPublicAccessPointResponseParams ¶
type SetRocketMQPublicAccessPointResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type Subscription ¶
type Subscription struct {
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// The time when the consumer started connecting.
// Note: This field may return `null`, indicating that no valid values can be obtained.
ConnectedSince *string `json:"ConnectedSince,omitnil,omitempty" name:"ConnectedSince"`
// Consumer address.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerAddr *string `json:"ConsumerAddr,omitnil,omitempty" name:"ConsumerAddr"`
// The number of consumers.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerCount *string `json:"ConsumerCount,omitnil,omitempty" name:"ConsumerCount"`
// Consumer name.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerName *string `json:"ConsumerName,omitnil,omitempty" name:"ConsumerName"`
// The number of heaped messages.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgBacklog *string `json:"MsgBacklog,omitnil,omitempty" name:"MsgBacklog"`
// Percentage of messages under this subscription that were discarded but not sent after TTL.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgRateExpired *string `json:"MsgRateExpired,omitnil,omitempty" name:"MsgRateExpired"`
// The total number of messages delivered by the consumer per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgRateOut *string `json:"MsgRateOut,omitnil,omitempty" name:"MsgRateOut"`
// The size (in bytes) of messages consumed by the consumer per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgThroughputOut *string `json:"MsgThroughputOut,omitnil,omitempty" name:"MsgThroughputOut"`
// Subscription name.
// Note: This field may return null, indicating that no valid values can be obtained.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
// Set of consumers.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerSets []*Consumer `json:"ConsumerSets,omitnil,omitempty" name:"ConsumerSets"`
// Whether the consumer is online.
// Note: This field may return null, indicating that no valid values can be obtained.
IsOnline *bool `json:"IsOnline,omitnil,omitempty" name:"IsOnline"`
// Set of consumption progress information.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumersScheduleSets []*ConsumersSchedule `json:"ConsumersScheduleSets,omitnil,omitempty" name:"ConsumersScheduleSets"`
// Remarks.
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Creation time.
// Note: This field may return null, indicating that no valid values can be obtained.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Last modified.
// Note: This field may return null, indicating that no valid values can be obtained.
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// Subscription type. Valid values: `Exclusive`, `Shared`, `Failover`, and `Key_Shared`. An empty string or `NULL`: Unknown.
// Note: This field may return null, indicating that no valid values can be obtained.
SubType *string `json:"SubType,omitnil,omitempty" name:"SubType"`
// Whether messages are blocked as the limit of unacknowledged messages has been reached.
// Note: This field may return null, indicating that no valid values can be obtained.
BlockedSubscriptionOnUnackedMsgs *bool `json:"BlockedSubscriptionOnUnackedMsgs,omitnil,omitempty" name:"BlockedSubscriptionOnUnackedMsgs"`
// The maximum number of unacknowledged messages.
// Note: This field may return null, indicating that no valid values can be obtained.
MaxUnackedMsgNum *int64 `json:"MaxUnackedMsgNum,omitnil,omitempty" name:"MaxUnackedMsgNum"`
}
type SubscriptionTopic ¶
type SubscriptionTopic struct {
// Environment (namespace) name.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Subscription name.
SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"`
}
type Tag ¶
type Tag struct {
// Tag key value
// Note: This field may return null, indicating that no valid values can be obtained.
TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`
// Tag's value
// Note: This field may return null, indicating that no valid values can be obtained.
TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}
type Topic ¶
type Topic struct {
// Average size of the messages published in the last interval in bytes.
// Note: This field may return `null`, indicating that no valid values can be obtained.
AverageMsgSize *string `json:"AverageMsgSize,omitnil,omitempty" name:"AverageMsgSize"`
// The number of consumers.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerCount *string `json:"ConsumerCount,omitnil,omitempty" name:"ConsumerCount"`
// The total number of recorded messages.
// Note: This field may return null, indicating that no valid values can be obtained.
LastConfirmedEntry *string `json:"LastConfirmedEntry,omitnil,omitempty" name:"LastConfirmedEntry"`
// Time when the last ledger was created.
// Note: This field may return null, indicating that no valid values can be obtained.
LastLedgerCreatedTimestamp *string `json:"LastLedgerCreatedTimestamp,omitnil,omitempty" name:"LastLedgerCreatedTimestamp"`
// The number of messages published by local and replicated publishers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgRateIn *string `json:"MsgRateIn,omitnil,omitempty" name:"MsgRateIn"`
// The total number of messages delivered by local and replicated consumers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgRateOut *string `json:"MsgRateOut,omitnil,omitempty" name:"MsgRateOut"`
// The size (in bytes) of messages published by local and replicated publishers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgThroughputIn *string `json:"MsgThroughputIn,omitnil,omitempty" name:"MsgThroughputIn"`
// The size (in bytes) of messages delivered by local and replicated consumers per second.
// Note: This field may return null, indicating that no valid values can be obtained.
MsgThroughputOut *string `json:"MsgThroughputOut,omitnil,omitempty" name:"MsgThroughputOut"`
// The total number of recorded messages.
// Note: This field may return null, indicating that no valid values can be obtained.
NumberOfEntries *string `json:"NumberOfEntries,omitnil,omitempty" name:"NumberOfEntries"`
// Partition count ≤ 0: there are no subpartitions in the topic.
// Note: This field may return null, indicating that no valid values can be obtained.
Partitions *int64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// The number of producers.
// Note: This field may return null, indicating that no valid values can be obtained.
ProducerCount *string `json:"ProducerCount,omitnil,omitempty" name:"ProducerCount"`
// The size of all stored messages in bytes.
// Note: This field may return null, indicating that no valid values can be obtained.
TotalSize *string `json:"TotalSize,omitnil,omitempty" name:"TotalSize"`
// Subpartitions in a partitioned topic.
// Note: This field may return null, indicating that no valid values can be obtained.
SubTopicSets []*PartitionsTopic `json:"SubTopicSets,omitnil,omitempty" name:"SubTopicSets"`
// Topic type description:
// 0: General message;
// 1: Globally sequential message;
// 2: Partitionally sequential message;
// 3: Retry letter topic;
// 4: Dead letter topic;
// 5: Transaction message.
// Note: This field may return null, indicating that no valid values can be obtained.
TopicType *uint64 `json:"TopicType,omitnil,omitempty" name:"TopicType"`
// Environment (namespace) name.
// Note: This field may return null, indicating that no valid values can be obtained.
EnvironmentId *string `json:"EnvironmentId,omitnil,omitempty" name:"EnvironmentId"`
// Topic name.
// Note: This field may return null, indicating that no valid values can be obtained.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Remarks (up to 128 characters).
// Note: This field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// Creation time.
// Note: This field may return null, indicating that no valid values can be obtained.
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Last modified.
// Note: This field may return null, indicating that no valid values can be obtained.
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// The maximum number of producers.
// Note: This field may return null, indicating that no valid values can be obtained.
ProducerLimit *string `json:"ProducerLimit,omitnil,omitempty" name:"ProducerLimit"`
// The maximum number of consumers.
// Note: This field may return null, indicating that no valid values can be obtained.
ConsumerLimit *string `json:"ConsumerLimit,omitnil,omitempty" name:"ConsumerLimit"`
// `0`: Non-persistent and non-partitioned
// `1`: Non-persistent and partitioned
// `2`: Persistent and non-partitioned
// `3`: Persistent and partitioned
// Note: This field may return null, indicating that no valid values can be obtained.
PulsarTopicType *int64 `json:"PulsarTopicType,omitnil,omitempty" name:"PulsarTopicType"`
// Retention period for unconsumed messages in seconds.
//
// Note: This field may return null, indicating that no valid values can be obtained.
MsgTTL *uint64 `json:"MsgTTL,omitnil,omitempty" name:"MsgTTL"`
// Cluster ID
ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Tenant alias customized by users. if there is no, reuse the professional cluster ID.
Tenant *string `json:"Tenant,omitnil,omitempty" name:"Tenant"`
// Whether exception consumer isolation is enabled.
IsolateConsumerEnable *bool `json:"IsolateConsumerEnable,omitnil,omitempty" name:"IsolateConsumerEnable"`
// Specifies the consumer Ack timeout period in seconds.
AckTimeOut *int64 `json:"AckTimeOut,omitnil,omitempty" name:"AckTimeOut"`
}
type TopicRecord ¶
type TopicStats ¶
type TopicStats struct {
// Broker node.
// Note: This field may return null, indicating that no valid values can be obtained.
BrokerName *string `json:"BrokerName,omitnil,omitempty" name:"BrokerName"`
// Queue number.
// Note: This field may return null, indicating that no valid values can be obtained.
QueueId *int64 `json:"QueueId,omitnil,omitempty" name:"QueueId"`
// Minimum offset.
// Note: This field may return null, indicating that no valid values can be obtained.
MinOffset *int64 `json:"MinOffset,omitnil,omitempty" name:"MinOffset"`
// Specifies the maximum offset.
// Note: This field may return null, indicating that no valid values can be obtained.
MaxOffset *int64 `json:"MaxOffset,omitnil,omitempty" name:"MaxOffset"`
// Message count.
// Note: This field may return null, indicating that no valid values can be obtained.
MessageCount *int64 `json:"MessageCount,omitnil,omitempty" name:"MessageCount"`
// Last message write time.
// Note: This field may return null, indicating that no valid values can be obtained.
LastUpdateTimestamp *int64 `json:"LastUpdateTimestamp,omitnil,omitempty" name:"LastUpdateTimestamp"`
}
type TraceResult ¶
type UnbindCmqDeadLetterRequest ¶
type UnbindCmqDeadLetterRequest struct {
*tchttp.BaseRequest
// Source queue name of dead letter policy. Calling this API will clear the dead letter queue policy of this queue.
SourceQueueName *string `json:"SourceQueueName,omitnil,omitempty" name:"SourceQueueName"`
}
func NewUnbindCmqDeadLetterRequest ¶
func NewUnbindCmqDeadLetterRequest() (request *UnbindCmqDeadLetterRequest)
func (*UnbindCmqDeadLetterRequest) FromJsonString ¶
func (r *UnbindCmqDeadLetterRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindCmqDeadLetterRequest) ToJsonString ¶
func (r *UnbindCmqDeadLetterRequest) ToJsonString() string
type UnbindCmqDeadLetterRequestParams ¶
type UnbindCmqDeadLetterRequestParams struct {
// Source queue name of dead letter policy. Calling this API will clear the dead letter queue policy of this queue.
SourceQueueName *string `json:"SourceQueueName,omitnil,omitempty" name:"SourceQueueName"`
}
Predefined struct for user
type UnbindCmqDeadLetterResponse ¶
type UnbindCmqDeadLetterResponse struct {
*tchttp.BaseResponse
Response *UnbindCmqDeadLetterResponseParams `json:"Response"`
}
func NewUnbindCmqDeadLetterResponse ¶
func NewUnbindCmqDeadLetterResponse() (response *UnbindCmqDeadLetterResponse)
func (*UnbindCmqDeadLetterResponse) FromJsonString ¶
func (r *UnbindCmqDeadLetterResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UnbindCmqDeadLetterResponse) ToJsonString ¶
func (r *UnbindCmqDeadLetterResponse) ToJsonString() string
type UnbindCmqDeadLetterResponseParams ¶
type UnbindCmqDeadLetterResponseParams struct {
// The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type VirtualHostQuota ¶
type VirtualHostQuota struct {
MaxVirtualHost *int64 `json:"MaxVirtualHost,omitnil,omitempty" name:"MaxVirtualHost"`
// Number of created vhosts.
UsedVirtualHost *int64 `json:"UsedVirtualHost,omitnil,omitempty" name:"UsedVirtualHost"`
// Specifies the maximum number of connections allowed per vhost.
MaxConnectionPerVhost *int64 `json:"MaxConnectionPerVhost,omitnil,omitempty" name:"MaxConnectionPerVhost"`
// Specifies the maximum number of switches allowed in one vhost.
MaxExchangePerVhost *int64 `json:"MaxExchangePerVhost,omitnil,omitempty" name:"MaxExchangePerVhost"`
// Specifies the maximum number of queue machines allowed in one vhost.
MaxQueuePerVhost *int64 `json:"MaxQueuePerVhost,omitnil,omitempty" name:"MaxQueuePerVhost"`
}
type VpcBindRecord ¶
type VpcBindRecord struct {
// Tenant VPC ID
UniqueVpcId *string `json:"UniqueVpcId,omitnil,omitempty" name:"UniqueVpcId"`
// Tenant VPC subnet ID
UniqueSubnetId *string `json:"UniqueSubnetId,omitnil,omitempty" name:"UniqueSubnetId"`
// Route ID
RouterId *string `json:"RouterId,omitnil,omitempty" name:"RouterId"`
// VPC ID
Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`
// VPC port
Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`
// Remarks (up to 128 characters)
// Note: this field may return null, indicating that no valid values can be obtained.
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
}
type VpcEndpointInfo ¶
type VpcEndpointInfo struct {
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
VpcEndpoint *string `json:"VpcEndpoint,omitnil,omitempty" name:"VpcEndpoint"`
// Access point status. valid values: OFF, ON, CREATING, DELETING.
VpcDataStreamEndpointStatus *string `json:"VpcDataStreamEndpointStatus,omitnil,omitempty" name:"VpcDataStreamEndpointStatus"`
// Encrypted TLS data stream access point.
VpcTlsEndpoint *string `json:"VpcTlsEndpoint,omitnil,omitempty" name:"VpcTlsEndpoint"`
}