Documentation
¶
Index ¶
- Constants
- type Acl
- type AclResponse
- type AclRule
- type AclRuleInfo
- type AclRuleResp
- type AppIdResponse
- type Assignment
- type BatchContent
- type BatchCreateAclRequest
- type BatchCreateAclRequestParams
- type BatchCreateAclResponse
- type BatchCreateAclResponseParams
- type BatchModifyGroupOffsetsRequest
- type BatchModifyGroupOffsetsRequestParams
- type BatchModifyGroupOffsetsResponse
- type BatchModifyGroupOffsetsResponseParams
- type BatchModifyTopicAttributesRequest
- type BatchModifyTopicAttributesRequestParams
- type BatchModifyTopicAttributesResponse
- type BatchModifyTopicAttributesResponseParams
- type BatchModifyTopicInfo
- type BatchModifyTopicResultDTO
- type Client
- func (c *Client) BatchCreateAcl(request *BatchCreateAclRequest) (response *BatchCreateAclResponse, err error)
- func (c *Client) BatchCreateAclWithContext(ctx context.Context, request *BatchCreateAclRequest) (response *BatchCreateAclResponse, err error)
- func (c *Client) BatchModifyGroupOffsets(request *BatchModifyGroupOffsetsRequest) (response *BatchModifyGroupOffsetsResponse, err error)
- func (c *Client) BatchModifyGroupOffsetsWithContext(ctx context.Context, request *BatchModifyGroupOffsetsRequest) (response *BatchModifyGroupOffsetsResponse, err error)
- func (c *Client) BatchModifyTopicAttributes(request *BatchModifyTopicAttributesRequest) (response *BatchModifyTopicAttributesResponse, err error)
- func (c *Client) BatchModifyTopicAttributesWithContext(ctx context.Context, request *BatchModifyTopicAttributesRequest) (response *BatchModifyTopicAttributesResponse, err error)
- func (c *Client) CreateAcl(request *CreateAclRequest) (response *CreateAclResponse, err error)
- func (c *Client) CreateAclRule(request *CreateAclRuleRequest) (response *CreateAclRuleResponse, err error)
- func (c *Client) CreateAclRuleWithContext(ctx context.Context, request *CreateAclRuleRequest) (response *CreateAclRuleResponse, err error)
- func (c *Client) CreateAclWithContext(ctx context.Context, request *CreateAclRequest) (response *CreateAclResponse, err error)
- func (c *Client) CreateConsumer(request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
- func (c *Client) CreateConsumerWithContext(ctx context.Context, request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
- func (c *Client) CreateDatahubTopic(request *CreateDatahubTopicRequest) (response *CreateDatahubTopicResponse, err error)
- func (c *Client) CreateDatahubTopicWithContext(ctx context.Context, request *CreateDatahubTopicRequest) (response *CreateDatahubTopicResponse, err error)
- func (c *Client) CreateInstancePre(request *CreateInstancePreRequest) (response *CreateInstancePreResponse, err error)
- func (c *Client) CreateInstancePreWithContext(ctx context.Context, request *CreateInstancePreRequest) (response *CreateInstancePreResponse, err error)
- func (c *Client) CreatePartition(request *CreatePartitionRequest) (response *CreatePartitionResponse, err error)
- func (c *Client) CreatePartitionWithContext(ctx context.Context, request *CreatePartitionRequest) (response *CreatePartitionResponse, err error)
- func (c *Client) CreatePostPaidInstance(request *CreatePostPaidInstanceRequest) (response *CreatePostPaidInstanceResponse, err error)
- func (c *Client) CreatePostPaidInstanceWithContext(ctx context.Context, request *CreatePostPaidInstanceRequest) (response *CreatePostPaidInstanceResponse, err error)
- func (c *Client) CreateRoute(request *CreateRouteRequest) (response *CreateRouteResponse, err error)
- func (c *Client) CreateRouteWithContext(ctx context.Context, request *CreateRouteRequest) (response *CreateRouteResponse, err error)
- func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) CreateTopicIpWhiteList(request *CreateTopicIpWhiteListRequest) (response *CreateTopicIpWhiteListResponse, err error)
- func (c *Client) CreateTopicIpWhiteListWithContext(ctx context.Context, request *CreateTopicIpWhiteListRequest) (response *CreateTopicIpWhiteListResponse, err error)
- func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
- func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)
- func (c *Client) DeleteAcl(request *DeleteAclRequest) (response *DeleteAclResponse, err error)
- func (c *Client) DeleteAclWithContext(ctx context.Context, request *DeleteAclRequest) (response *DeleteAclResponse, err error)
- func (c *Client) DeleteInstancePost(request *DeleteInstancePostRequest) (response *DeleteInstancePostResponse, err error)
- func (c *Client) DeleteInstancePostWithContext(ctx context.Context, request *DeleteInstancePostRequest) (response *DeleteInstancePostResponse, err error)
- func (c *Client) DeleteInstancePre(request *DeleteInstancePreRequest) (response *DeleteInstancePreResponse, err error)
- func (c *Client) DeleteInstancePreWithContext(ctx context.Context, request *DeleteInstancePreRequest) (response *DeleteInstancePreResponse, err error)
- func (c *Client) DeleteRoute(request *DeleteRouteRequest) (response *DeleteRouteResponse, err error)
- func (c *Client) DeleteRouteTriggerTime(request *DeleteRouteTriggerTimeRequest) (response *DeleteRouteTriggerTimeResponse, err error)
- func (c *Client) DeleteRouteTriggerTimeWithContext(ctx context.Context, request *DeleteRouteTriggerTimeRequest) (response *DeleteRouteTriggerTimeResponse, err error)
- func (c *Client) DeleteRouteWithContext(ctx context.Context, request *DeleteRouteRequest) (response *DeleteRouteResponse, err error)
- func (c *Client) DeleteTopic(request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
- func (c *Client) DeleteTopicIpWhiteList(request *DeleteTopicIpWhiteListRequest) (response *DeleteTopicIpWhiteListResponse, err error)
- func (c *Client) DeleteTopicIpWhiteListWithContext(ctx context.Context, request *DeleteTopicIpWhiteListRequest) (response *DeleteTopicIpWhiteListResponse, err error)
- func (c *Client) DeleteTopicWithContext(ctx context.Context, request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
- func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)
- func (c *Client) DescribeACL(request *DescribeACLRequest) (response *DescribeACLResponse, err error)
- func (c *Client) DescribeACLWithContext(ctx context.Context, request *DescribeACLRequest) (response *DescribeACLResponse, err error)
- func (c *Client) DescribeAclRule(request *DescribeAclRuleRequest) (response *DescribeAclRuleResponse, err error)
- func (c *Client) DescribeAclRuleWithContext(ctx context.Context, request *DescribeAclRuleRequest) (response *DescribeAclRuleResponse, err error)
- func (c *Client) DescribeAppInfo(request *DescribeAppInfoRequest) (response *DescribeAppInfoResponse, err error)
- func (c *Client) DescribeAppInfoWithContext(ctx context.Context, request *DescribeAppInfoRequest) (response *DescribeAppInfoResponse, err error)
- func (c *Client) DescribeCkafkaZone(request *DescribeCkafkaZoneRequest) (response *DescribeCkafkaZoneResponse, err error)
- func (c *Client) DescribeCkafkaZoneWithContext(ctx context.Context, request *DescribeCkafkaZoneRequest) (response *DescribeCkafkaZoneResponse, err error)
- func (c *Client) DescribeConsumerGroup(request *DescribeConsumerGroupRequest) (response *DescribeConsumerGroupResponse, err error)
- func (c *Client) DescribeConsumerGroupWithContext(ctx context.Context, request *DescribeConsumerGroupRequest) (response *DescribeConsumerGroupResponse, err error)
- func (c *Client) DescribeCvmInfo(request *DescribeCvmInfoRequest) (response *DescribeCvmInfoResponse, err error)
- func (c *Client) DescribeCvmInfoWithContext(ctx context.Context, request *DescribeCvmInfoRequest) (response *DescribeCvmInfoResponse, err error)
- func (c *Client) DescribeDatahubTopic(request *DescribeDatahubTopicRequest) (response *DescribeDatahubTopicResponse, err error)
- func (c *Client) DescribeDatahubTopicWithContext(ctx context.Context, request *DescribeDatahubTopicRequest) (response *DescribeDatahubTopicResponse, err error)
- func (c *Client) DescribeDatahubTopics(request *DescribeDatahubTopicsRequest) (response *DescribeDatahubTopicsResponse, err error)
- func (c *Client) DescribeDatahubTopicsWithContext(ctx context.Context, request *DescribeDatahubTopicsRequest) (response *DescribeDatahubTopicsResponse, err error)
- func (c *Client) DescribeGroup(request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
- func (c *Client) DescribeGroupInfo(request *DescribeGroupInfoRequest) (response *DescribeGroupInfoResponse, err error)
- func (c *Client) DescribeGroupInfoWithContext(ctx context.Context, request *DescribeGroupInfoRequest) (response *DescribeGroupInfoResponse, err error)
- func (c *Client) DescribeGroupOffsets(request *DescribeGroupOffsetsRequest) (response *DescribeGroupOffsetsResponse, err error)
- func (c *Client) DescribeGroupOffsetsWithContext(ctx context.Context, request *DescribeGroupOffsetsRequest) (response *DescribeGroupOffsetsResponse, err error)
- func (c *Client) DescribeGroupWithContext(ctx context.Context, request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
- func (c *Client) DescribeInstanceAttributes(request *DescribeInstanceAttributesRequest) (response *DescribeInstanceAttributesResponse, err error)
- func (c *Client) DescribeInstanceAttributesWithContext(ctx context.Context, request *DescribeInstanceAttributesRequest) (response *DescribeInstanceAttributesResponse, err error)
- func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeInstancesDetail(request *DescribeInstancesDetailRequest) (response *DescribeInstancesDetailResponse, err error)
- func (c *Client) DescribeInstancesDetailWithContext(ctx context.Context, request *DescribeInstancesDetailRequest) (response *DescribeInstancesDetailResponse, err error)
- func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
- func (c *Client) DescribeRegion(request *DescribeRegionRequest) (response *DescribeRegionResponse, err error)
- func (c *Client) DescribeRegionWithContext(ctx context.Context, request *DescribeRegionRequest) (response *DescribeRegionResponse, err error)
- func (c *Client) DescribeRoute(request *DescribeRouteRequest) (response *DescribeRouteResponse, err error)
- func (c *Client) DescribeRouteWithContext(ctx context.Context, request *DescribeRouteRequest) (response *DescribeRouteResponse, err error)
- func (c *Client) DescribeSecurityGroupRoutes(request *DescribeSecurityGroupRoutesRequest) (response *DescribeSecurityGroupRoutesResponse, err error)
- func (c *Client) DescribeSecurityGroupRoutesWithContext(ctx context.Context, request *DescribeSecurityGroupRoutesRequest) (response *DescribeSecurityGroupRoutesResponse, err error)
- func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
- func (c *Client) DescribeTopic(request *DescribeTopicRequest) (response *DescribeTopicResponse, err error)
- func (c *Client) DescribeTopicAttributes(request *DescribeTopicAttributesRequest) (response *DescribeTopicAttributesResponse, err error)
- func (c *Client) DescribeTopicAttributesWithContext(ctx context.Context, request *DescribeTopicAttributesRequest) (response *DescribeTopicAttributesResponse, err error)
- func (c *Client) DescribeTopicDetail(request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error)
- func (c *Client) DescribeTopicDetailWithContext(ctx context.Context, request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error)
- func (c *Client) DescribeTopicProduceConnection(request *DescribeTopicProduceConnectionRequest) (response *DescribeTopicProduceConnectionResponse, err error)
- func (c *Client) DescribeTopicProduceConnectionWithContext(ctx context.Context, request *DescribeTopicProduceConnectionRequest) (response *DescribeTopicProduceConnectionResponse, err error)
- func (c *Client) DescribeTopicSubscribeGroup(request *DescribeTopicSubscribeGroupRequest) (response *DescribeTopicSubscribeGroupResponse, err error)
- func (c *Client) DescribeTopicSubscribeGroupWithContext(ctx context.Context, request *DescribeTopicSubscribeGroupRequest) (response *DescribeTopicSubscribeGroupResponse, err error)
- func (c *Client) DescribeTopicSyncReplica(request *DescribeTopicSyncReplicaRequest) (response *DescribeTopicSyncReplicaResponse, err error)
- func (c *Client) DescribeTopicSyncReplicaWithContext(ctx context.Context, request *DescribeTopicSyncReplicaRequest) (response *DescribeTopicSyncReplicaResponse, err error)
- func (c *Client) DescribeTopicWithContext(ctx context.Context, request *DescribeTopicRequest) (response *DescribeTopicResponse, err error)
- func (c *Client) DescribeTypeInstances(request *DescribeTypeInstancesRequest) (response *DescribeTypeInstancesResponse, err error)
- func (c *Client) DescribeTypeInstancesWithContext(ctx context.Context, request *DescribeTypeInstancesRequest) (response *DescribeTypeInstancesResponse, err error)
- func (c *Client) DescribeUser(request *DescribeUserRequest) (response *DescribeUserResponse, err error)
- func (c *Client) DescribeUserWithContext(ctx context.Context, request *DescribeUserRequest) (response *DescribeUserResponse, err error)
- func (c *Client) FetchMessageByOffset(request *FetchMessageByOffsetRequest) (response *FetchMessageByOffsetResponse, err error)
- func (c *Client) FetchMessageByOffsetWithContext(ctx context.Context, request *FetchMessageByOffsetRequest) (response *FetchMessageByOffsetResponse, err error)
- func (c *Client) FetchMessageListByOffset(request *FetchMessageListByOffsetRequest) (response *FetchMessageListByOffsetResponse, err error)
- func (c *Client) FetchMessageListByOffsetWithContext(ctx context.Context, request *FetchMessageListByOffsetRequest) (response *FetchMessageListByOffsetResponse, err error)
- func (c *Client) FetchMessageListByTimestamp(request *FetchMessageListByTimestampRequest) (response *FetchMessageListByTimestampResponse, err error)
- func (c *Client) FetchMessageListByTimestampWithContext(ctx context.Context, request *FetchMessageListByTimestampRequest) (response *FetchMessageListByTimestampResponse, err error)
- func (c *Client) InquireCkafkaPrice(request *InquireCkafkaPriceRequest) (response *InquireCkafkaPriceResponse, err error)
- func (c *Client) InquireCkafkaPriceWithContext(ctx context.Context, request *InquireCkafkaPriceRequest) (response *InquireCkafkaPriceResponse, err error)
- func (c *Client) ModifyAclRule(request *ModifyAclRuleRequest) (response *ModifyAclRuleResponse, err error)
- func (c *Client) ModifyAclRuleWithContext(ctx context.Context, request *ModifyAclRuleRequest) (response *ModifyAclRuleResponse, err error)
- func (c *Client) ModifyDatahubTopic(request *ModifyDatahubTopicRequest) (response *ModifyDatahubTopicResponse, err error)
- func (c *Client) ModifyDatahubTopicWithContext(ctx context.Context, request *ModifyDatahubTopicRequest) (response *ModifyDatahubTopicResponse, err error)
- func (c *Client) ModifyGroupOffsets(request *ModifyGroupOffsetsRequest) (response *ModifyGroupOffsetsResponse, err error)
- func (c *Client) ModifyGroupOffsetsWithContext(ctx context.Context, request *ModifyGroupOffsetsRequest) (response *ModifyGroupOffsetsResponse, err error)
- func (c *Client) ModifyInstanceAttributes(request *ModifyInstanceAttributesRequest) (response *ModifyInstanceAttributesResponse, err error)
- func (c *Client) ModifyInstanceAttributesWithContext(ctx context.Context, request *ModifyInstanceAttributesRequest) (response *ModifyInstanceAttributesResponse, err error)
- func (c *Client) ModifyInstancePre(request *ModifyInstancePreRequest) (response *ModifyInstancePreResponse, err error)
- func (c *Client) ModifyInstancePreWithContext(ctx context.Context, request *ModifyInstancePreRequest) (response *ModifyInstancePreResponse, err error)
- func (c *Client) ModifyPassword(request *ModifyPasswordRequest) (response *ModifyPasswordResponse, err error)
- func (c *Client) ModifyPasswordWithContext(ctx context.Context, request *ModifyPasswordRequest) (response *ModifyPasswordResponse, err error)
- func (c *Client) ModifyTopicAttributes(request *ModifyTopicAttributesRequest) (response *ModifyTopicAttributesResponse, err error)
- func (c *Client) ModifyTopicAttributesWithContext(ctx context.Context, request *ModifyTopicAttributesRequest) (response *ModifyTopicAttributesResponse, err error)
- func (c *Client) SendMessage(request *SendMessageRequest) (response *SendMessageResponse, err error)
- func (c *Client) SendMessageWithContext(ctx context.Context, request *SendMessageRequest) (response *SendMessageResponse, err error)
- type ClusterInfo
- type Config
- type ConsumerGroup
- type ConsumerGroupResponse
- type ConsumerGroupTopic
- type ConsumerRecord
- type CreateAclRequest
- type CreateAclRequestParams
- type CreateAclResponse
- type CreateAclResponseParams
- type CreateAclRuleRequest
- type CreateAclRuleRequestParams
- type CreateAclRuleResponse
- type CreateAclRuleResponseParams
- type CreateConsumerRequest
- type CreateConsumerRequestParams
- type CreateConsumerResponse
- type CreateConsumerResponseParams
- type CreateDatahubTopicRequest
- type CreateDatahubTopicRequestParams
- type CreateDatahubTopicResponse
- type CreateDatahubTopicResponseParams
- type CreateInstancePostData
- type CreateInstancePostResp
- type CreateInstancePreData
- type CreateInstancePreRequest
- type CreateInstancePreRequestParams
- type CreateInstancePreResp
- type CreateInstancePreResponse
- type CreateInstancePreResponseParams
- type CreatePartitionRequest
- type CreatePartitionRequestParams
- type CreatePartitionResponse
- type CreatePartitionResponseParams
- type CreatePostPaidInstanceRequest
- type CreatePostPaidInstanceRequestParams
- type CreatePostPaidInstanceResponse
- type CreatePostPaidInstanceResponseParams
- type CreateRouteRequest
- type CreateRouteRequestParams
- type CreateRouteResponse
- type CreateRouteResponseParams
- type CreateTopicIpWhiteListRequest
- type CreateTopicIpWhiteListRequestParams
- type CreateTopicIpWhiteListResponse
- type CreateTopicIpWhiteListResponseParams
- type CreateTopicRequest
- type CreateTopicRequestParams
- type CreateTopicResp
- type CreateTopicResponse
- type CreateTopicResponseParams
- type CreateUserRequest
- type CreateUserRequestParams
- type CreateUserResponse
- type CreateUserResponseParams
- type CvmAndIpInfo
- type DatahubTopicDTO
- type DatahubTopicResp
- type DealInstanceDTO
- type DeleteAclRequest
- type DeleteAclRequestParams
- type DeleteAclResponse
- type DeleteAclResponseParams
- type DeleteInstancePostRequest
- type DeleteInstancePostRequestParams
- type DeleteInstancePostResponse
- type DeleteInstancePostResponseParams
- type DeleteInstancePreRequest
- type DeleteInstancePreRequestParams
- type DeleteInstancePreResponse
- type DeleteInstancePreResponseParams
- type DeleteRouteRequest
- type DeleteRouteRequestParams
- type DeleteRouteResponse
- type DeleteRouteResponseParams
- type DeleteRouteTriggerTimeRequest
- type DeleteRouteTriggerTimeRequestParams
- type DeleteRouteTriggerTimeResponse
- type DeleteRouteTriggerTimeResponseParams
- type DeleteTopicIpWhiteListRequest
- type DeleteTopicIpWhiteListRequestParams
- type DeleteTopicIpWhiteListResponse
- type DeleteTopicIpWhiteListResponseParams
- type DeleteTopicRequest
- type DeleteTopicRequestParams
- type DeleteTopicResponse
- type DeleteTopicResponseParams
- type DeleteUserRequest
- type DeleteUserRequestParams
- type DeleteUserResponse
- type DeleteUserResponseParams
- type DescribeACLRequest
- type DescribeACLRequestParams
- type DescribeACLResponse
- type DescribeACLResponseParams
- type DescribeAclRuleRequest
- type DescribeAclRuleRequestParams
- type DescribeAclRuleResponse
- type DescribeAclRuleResponseParams
- type DescribeAppInfoRequest
- type DescribeAppInfoRequestParams
- type DescribeAppInfoResponse
- type DescribeAppInfoResponseParams
- type DescribeCkafkaZoneRequest
- type DescribeCkafkaZoneRequestParams
- type DescribeCkafkaZoneResponse
- type DescribeCkafkaZoneResponseParams
- type DescribeConnectInfoResultDTO
- type DescribeConsumerGroupRequest
- type DescribeConsumerGroupRequestParams
- type DescribeConsumerGroupResponse
- type DescribeConsumerGroupResponseParams
- type DescribeCvmInfoRequest
- type DescribeCvmInfoRequestParams
- type DescribeCvmInfoResponse
- type DescribeCvmInfoResponseParams
- type DescribeDatahubTopicRequest
- type DescribeDatahubTopicRequestParams
- type DescribeDatahubTopicResp
- type DescribeDatahubTopicResponse
- type DescribeDatahubTopicResponseParams
- type DescribeDatahubTopicsRequest
- type DescribeDatahubTopicsRequestParams
- type DescribeDatahubTopicsResp
- type DescribeDatahubTopicsResponse
- type DescribeDatahubTopicsResponseParams
- type DescribeGroup
- type DescribeGroupInfoRequest
- type DescribeGroupInfoRequestParams
- type DescribeGroupInfoResponse
- type DescribeGroupInfoResponseParams
- type DescribeGroupOffsetsRequest
- type DescribeGroupOffsetsRequestParams
- type DescribeGroupOffsetsResponse
- type DescribeGroupOffsetsResponseParams
- type DescribeGroupRequest
- type DescribeGroupRequestParams
- type DescribeGroupResponse
- type DescribeGroupResponseParams
- type DescribeInstanceAttributesRequest
- type DescribeInstanceAttributesRequestParams
- type DescribeInstanceAttributesResponse
- type DescribeInstanceAttributesResponseParams
- type DescribeInstancesDetailRequest
- type DescribeInstancesDetailRequestParams
- type DescribeInstancesDetailResponse
- type DescribeInstancesDetailResponseParams
- type DescribeInstancesRequest
- type DescribeInstancesRequestParams
- type DescribeInstancesResponse
- type DescribeInstancesResponseParams
- type DescribeRegionRequest
- type DescribeRegionRequestParams
- type DescribeRegionResponse
- type DescribeRegionResponseParams
- type DescribeRouteRequest
- type DescribeRouteRequestParams
- type DescribeRouteResponse
- type DescribeRouteResponseParams
- type DescribeSecurityGroupRoutesRequest
- type DescribeSecurityGroupRoutesRequestParams
- type DescribeSecurityGroupRoutesResponse
- type DescribeSecurityGroupRoutesResponseParams
- type DescribeTaskStatusRequest
- type DescribeTaskStatusRequestParams
- type DescribeTaskStatusResponse
- type DescribeTaskStatusResponseParams
- type DescribeTopicAttributesRequest
- type DescribeTopicAttributesRequestParams
- type DescribeTopicAttributesResponse
- type DescribeTopicAttributesResponseParams
- type DescribeTopicDetailRequest
- type DescribeTopicDetailRequestParams
- type DescribeTopicDetailResponse
- type DescribeTopicDetailResponseParams
- type DescribeTopicProduceConnectionRequest
- type DescribeTopicProduceConnectionRequestParams
- type DescribeTopicProduceConnectionResponse
- type DescribeTopicProduceConnectionResponseParams
- type DescribeTopicRequest
- type DescribeTopicRequestParams
- type DescribeTopicResponse
- type DescribeTopicResponseParams
- type DescribeTopicSubscribeGroupRequest
- type DescribeTopicSubscribeGroupRequestParams
- type DescribeTopicSubscribeGroupResponse
- type DescribeTopicSubscribeGroupResponseParams
- type DescribeTopicSyncReplicaRequest
- type DescribeTopicSyncReplicaRequestParams
- type DescribeTopicSyncReplicaResponse
- type DescribeTopicSyncReplicaResponseParams
- type DescribeTypeInstancesRequest
- type DescribeTypeInstancesRequestParams
- type DescribeTypeInstancesResponse
- type DescribeTypeInstancesResponseParams
- type DescribeUserRequest
- type DescribeUserRequestParams
- type DescribeUserResponse
- type DescribeUserResponseParams
- type DynamicDiskConfig
- type DynamicRetentionTime
- type FetchMessageByOffsetRequest
- type FetchMessageByOffsetRequestParams
- type FetchMessageByOffsetResponse
- type FetchMessageByOffsetResponseParams
- type FetchMessageListByOffsetRequest
- type FetchMessageListByOffsetRequestParams
- type FetchMessageListByOffsetResponse
- type FetchMessageListByOffsetResponseParams
- type FetchMessageListByTimestampRequest
- type FetchMessageListByTimestampRequestParams
- type FetchMessageListByTimestampResponse
- type FetchMessageListByTimestampResponseParams
- type Filter
- type Group
- type GroupInfoMember
- type GroupInfoResponse
- type GroupInfoTopics
- type GroupOffsetPartition
- type GroupOffsetResponse
- type GroupOffsetTopic
- type GroupResponse
- type InquireCkafkaPriceRequest
- type InquireCkafkaPriceRequestParams
- type InquireCkafkaPriceResp
- type InquireCkafkaPriceResponse
- type InquireCkafkaPriceResponseParams
- type InquiryBasePrice
- type InquiryDetailPrice
- type InquiryDiskParam
- type InquiryPrice
- type InquiryPublicNetworkParam
- type Instance
- type InstanceAttributesResponse
- type InstanceChargeParam
- type InstanceConfigDO
- type InstanceDeleteResponse
- type InstanceDetail
- type InstanceDetailResponse
- type InstanceQuotaConfigResp
- type InstanceResponse
- type InstanceRoute
- type JgwOperateResponse
- type ListCvmAndIpInfoRsp
- type ModifyAclRuleRequest
- type ModifyAclRuleRequestParams
- type ModifyAclRuleResponse
- type ModifyAclRuleResponseParams
- type ModifyDatahubTopicRequest
- type ModifyDatahubTopicRequestParams
- type ModifyDatahubTopicResponse
- type ModifyDatahubTopicResponseParams
- type ModifyGroupOffsetsRequest
- type ModifyGroupOffsetsRequestParams
- type ModifyGroupOffsetsResponse
- type ModifyGroupOffsetsResponseParams
- type ModifyInstanceAttributesConfig
- type ModifyInstanceAttributesRequest
- type ModifyInstanceAttributesRequestParams
- type ModifyInstanceAttributesResponse
- type ModifyInstanceAttributesResponseParams
- type ModifyInstancePreRequest
- type ModifyInstancePreRequestParams
- type ModifyInstancePreResponse
- type ModifyInstancePreResponseParams
- type ModifyPasswordRequest
- type ModifyPasswordRequestParams
- type ModifyPasswordResponse
- type ModifyPasswordResponseParams
- type ModifyTopicAttributesRequest
- type ModifyTopicAttributesRequestParams
- type ModifyTopicAttributesResponse
- type ModifyTopicAttributesResponseParams
- type OperateResponseData
- type Partition
- type PartitionOffset
- type Partitions
- type Price
- type Region
- type Route
- type RouteDTO
- type RouteFilter
- type RouteResponse
- type SaleInfo
- type SecurityGroupRoute
- type SecurityGroupRouteResp
- type SendMessageRequest
- type SendMessageRequestParams
- type SendMessageResponse
- type SendMessageResponseParams
- type SubscribedInfo
- type Tag
- type TaskStatusResponse
- type Topic
- type TopicAttributesResponse
- type TopicDetail
- type TopicDetailResponse
- type TopicInSyncReplicaInfo
- type TopicInSyncReplicaResult
- type TopicPartitionDO
- type TopicResult
- type TopicRetentionTimeConfigRsp
- type TopicSubscribeGroup
- type User
- type UserResponse
- type VipEntity
- type ZoneInfo
- type ZoneResponse
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Internal error. INTERNALERROR = "InternalError" // Invalid Filter INVALIDFILTER = "InvalidFilter" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // The topic name is duplicate. INVALIDPARAMETER_TOPICEXIST = "InvalidParameter.TopicExist" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The instance does not exist. INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" // The parameter is required. INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" // The parameter already exists. INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" // Invalid subnet ID. INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" // The subnet is not in the zone. INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" // Topic name already exists. INVALIDPARAMETERVALUE_TOPICNAMEALREADYEXIST = "InvalidParameterValue.TopicNameAlreadyExist" // Invalid VPC ID. INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" // The value of the `Action` parameter is incorrect. INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" // The zone is not supported. INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" // The quota limit has been reached. LIMITEXCEEDED = "LimitExceeded" // The number of routes exceeds the limit. LIMITEXCEEDED_ROUTEOVERLIMIT = "LimitExceeded.RouteOverLimit" // SASL route exceeds the limit. LIMITEXCEEDED_ROUTESASLOVERLIMIT = "LimitExceeded.RouteSASLOverLimit" // Missing parameter MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // Task paused. OPERATIONDENIED_RESOURCETASKPAUSED = "OperationDenied.ResourceTaskPaused" // The number of requests exceeds the frequency limit. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Insufficient resources. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // Disk resources are unavailable on the broker. RESOURCEUNAVAILABLE_KAFKASTORAGEERROR = "ResourceUnavailable.KafkaStorageError" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Unknown parameter error. UNKNOWNPARAMETER = "UnknownParameter" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // The batch instance deletion limit is reached. UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" // Create Topic upon success. the Topic can be deleted after 60s. UNSUPPORTEDOPERATION_FREQUENCYTOPICDELETEOPERATE = "UnsupportedOperation.FrequencyTopicDeleteOperate" // Oss rejected the operation. UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject" )
const APIVersion = "2019-08-19"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acl ¶
type Acl struct {
// ACL resource type. 0: UNKNOWN, 1: ANY, 2: TOPIC, 3: GROUP, 4: CLUSTER, 5: TRANSACTIONAL_ID. Currently, only `TOPIC` is available,
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name
ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
// List of users, defaults to User:*, means any User is accessible in the entire region. the current User can only be the User in the list of users.
Principal *string `json:"Principal,omitnil,omitempty" name:"Principal"`
// Defaults to *, indicating any host is accessible in the entire region. currently, ckafka does not support * as the host, however, the following open-source kafka productization will directly support it.
Host *string `json:"Host,omitnil,omitempty" name:"Host"`
// ACL operation mode. 0: UNKNOWN, 1: ANY, 2: ALL, 3: READ, 4: WRITE, 5: CREATE, 6: DELETE, 7: ALTER, 8: DESCRIBE, 9: CLUSTER_ACTION, 10: DESCRIBE_CONFIGS, 11: ALTER_CONFIGS, 12: IDEMPOTEN_WRITE
Operation *int64 `json:"Operation,omitnil,omitempty" name:"Operation"`
// Permission type. 0: UNKNOWN, 1: ANY, 2: DENY, 3: ALLOW
PermissionType *int64 `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
}
type AclResponse ¶
type AclRule ¶
type AclRule struct {
// ACL rule name.
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL rule-based matching type. currently only supports prefix match. valid values: PREFIXED.
PatternType *string `json:"PatternType,omitnil,omitempty" name:"PatternType"`
// Indicates the prefix value for prefix match.
Pattern *string `json:"Pattern,omitnil,omitempty" name:"Pattern"`
// Acl resource type, currently only support Topic. valid values: Topic.
ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Specifies the ACL information contained in the rule.
AclList *string `json:"AclList,omitnil,omitempty" name:"AclList"`
// Specifies the time when the rule was created.
CreateTimeStamp *string `json:"CreateTimeStamp,omitnil,omitempty" name:"CreateTimeStamp"`
// Specifies whether to apply the preset ACL rule to newly-added topics.
IsApplied *int64 `json:"IsApplied,omitnil,omitempty" name:"IsApplied"`
// Rule update time.
UpdateTimeStamp *string `json:"UpdateTimeStamp,omitnil,omitempty" name:"UpdateTimeStamp"`
// Specifies the remark of the rule.
Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"`
// One of the displayed corresponding TopicName.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Number of topics to which the ACL rule is applied.
TopicCount *int64 `json:"TopicCount,omitnil,omitempty" name:"TopicCount"`
// Specifies the pattern type.
PatternTypeTitle *string `json:"PatternTypeTitle,omitnil,omitempty" name:"PatternTypeTitle"`
}
type AclRuleInfo ¶
type AclRuleInfo struct {
// ACL operation types. Enumerated values: `All` (all operations), `Read` (read), `Write` (write).
Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`
// Permission type. Deny: Deny. Allow: permission.
PermissionType *string `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
// Indicates any host is accessible in the entire region.
Host *string `json:"Host,omitnil,omitempty" name:"Host"`
// The User. User:* means any User is accessible in the entire region. the current User can only be the User in the list of users. the input format requires the [User:] prefix. for example, for User A, input User:A.
Principal *string `json:"Principal,omitnil,omitempty" name:"Principal"`
}
type AclRuleResp ¶
type AppIdResponse ¶
type Assignment ¶
type Assignment struct {
// Assignment version information
Version *int64 `json:"Version,omitnil,omitempty" name:"Version"`
// topic information list.
Topics []*GroupInfoTopics `json:"Topics,omitnil,omitempty" name:"Topics"`
}
type BatchContent ¶
type BatchCreateAclRequest ¶
type BatchCreateAclRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type. Default value: `2` (topic).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource list array, obtainable through the DescribeTopic API (https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1).
ResourceNames []*string `json:"ResourceNames,omitnil,omitempty" name:"ResourceNames"`
// Specifies the set ACL rule list, which can be obtained through the DescribeAclRule API (https://www.tencentcloud.comom/document/product/597/89217?from_cn_redirect=1).
RuleList []*AclRuleInfo `json:"RuleList,omitnil,omitempty" name:"RuleList"`
}
func NewBatchCreateAclRequest ¶
func NewBatchCreateAclRequest() (request *BatchCreateAclRequest)
func (*BatchCreateAclRequest) FromJsonString ¶
func (r *BatchCreateAclRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchCreateAclRequest) ToJsonString ¶
func (r *BatchCreateAclRequest) ToJsonString() string
type BatchCreateAclRequestParams ¶
type BatchCreateAclRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type. Default value: `2` (topic).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource list array, obtainable through the DescribeTopic API (https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1).
ResourceNames []*string `json:"ResourceNames,omitnil,omitempty" name:"ResourceNames"`
// Specifies the set ACL rule list, which can be obtained through the DescribeAclRule API (https://www.tencentcloud.comom/document/product/597/89217?from_cn_redirect=1).
RuleList []*AclRuleInfo `json:"RuleList,omitnil,omitempty" name:"RuleList"`
}
Predefined struct for user
type BatchCreateAclResponse ¶
type BatchCreateAclResponse struct {
*tchttp.BaseResponse
Response *BatchCreateAclResponseParams `json:"Response"`
}
func NewBatchCreateAclResponse ¶
func NewBatchCreateAclResponse() (response *BatchCreateAclResponse)
func (*BatchCreateAclResponse) FromJsonString ¶
func (r *BatchCreateAclResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchCreateAclResponse) ToJsonString ¶
func (r *BatchCreateAclResponse) ToJsonString() string
type BatchCreateAclResponseParams ¶
type BatchCreateAclResponseParams struct {
// Status code: 0 - modification succeeded, otherwise modification failed.
Result *int64 `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 BatchModifyGroupOffsetsRequest ¶
type BatchModifyGroupOffsetsRequest struct {
*tchttp.BaseRequest
// Consumer group name.
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Partition information.
Partitions []*Partitions `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Name of the specified topic. Default value: names of all topics.
TopicName []*string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
func NewBatchModifyGroupOffsetsRequest ¶
func NewBatchModifyGroupOffsetsRequest() (request *BatchModifyGroupOffsetsRequest)
func (*BatchModifyGroupOffsetsRequest) FromJsonString ¶
func (r *BatchModifyGroupOffsetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyGroupOffsetsRequest) ToJsonString ¶
func (r *BatchModifyGroupOffsetsRequest) ToJsonString() string
type BatchModifyGroupOffsetsRequestParams ¶
type BatchModifyGroupOffsetsRequestParams struct {
// Consumer group name.
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Partition information.
Partitions []*Partitions `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// Name of the specified topic. Default value: names of all topics.
TopicName []*string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
Predefined struct for user
type BatchModifyGroupOffsetsResponse ¶
type BatchModifyGroupOffsetsResponse struct {
*tchttp.BaseResponse
Response *BatchModifyGroupOffsetsResponseParams `json:"Response"`
}
func NewBatchModifyGroupOffsetsResponse ¶
func NewBatchModifyGroupOffsetsResponse() (response *BatchModifyGroupOffsetsResponse)
func (*BatchModifyGroupOffsetsResponse) FromJsonString ¶
func (r *BatchModifyGroupOffsetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyGroupOffsetsResponse) ToJsonString ¶
func (r *BatchModifyGroupOffsetsResponse) ToJsonString() string
type BatchModifyGroupOffsetsResponseParams ¶
type BatchModifyGroupOffsetsResponseParams struct {
// Returned result.
Result *JgwOperateResponse `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 BatchModifyTopicAttributesRequest ¶
type BatchModifyTopicAttributesRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic attribute list (a maximum of 10 per batch), which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
Topic []*BatchModifyTopicInfo `json:"Topic,omitnil,omitempty" name:"Topic"`
}
func NewBatchModifyTopicAttributesRequest ¶
func NewBatchModifyTopicAttributesRequest() (request *BatchModifyTopicAttributesRequest)
func (*BatchModifyTopicAttributesRequest) FromJsonString ¶
func (r *BatchModifyTopicAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyTopicAttributesRequest) ToJsonString ¶
func (r *BatchModifyTopicAttributesRequest) ToJsonString() string
type BatchModifyTopicAttributesRequestParams ¶
type BatchModifyTopicAttributesRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic attribute list (a maximum of 10 per batch), which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
Topic []*BatchModifyTopicInfo `json:"Topic,omitnil,omitempty" name:"Topic"`
}
Predefined struct for user
type BatchModifyTopicAttributesResponse ¶
type BatchModifyTopicAttributesResponse struct {
*tchttp.BaseResponse
Response *BatchModifyTopicAttributesResponseParams `json:"Response"`
}
func NewBatchModifyTopicAttributesResponse ¶
func NewBatchModifyTopicAttributesResponse() (response *BatchModifyTopicAttributesResponse)
func (*BatchModifyTopicAttributesResponse) FromJsonString ¶
func (r *BatchModifyTopicAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BatchModifyTopicAttributesResponse) ToJsonString ¶
func (r *BatchModifyTopicAttributesResponse) ToJsonString() string
type BatchModifyTopicAttributesResponseParams ¶
type BatchModifyTopicAttributesResponseParams struct {
// Returned result.
Result []*BatchModifyTopicResultDTO `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 BatchModifyTopicInfo ¶
type BatchModifyTopicInfo struct {
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// The number of partitions.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Remarks.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Number of replicas.
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
// Message deletion policy. Valid values: `delete`, `compact`.
CleanUpPolicy *string `json:"CleanUpPolicy,omitnil,omitempty" name:"CleanUpPolicy"`
// The minimum number of replicas specified by `min.insync.replicas` when the producer sets `request.required.acks` to `-1`.
MinInsyncReplicas *int64 `json:"MinInsyncReplicas,omitnil,omitempty" name:"MinInsyncReplicas"`
// Whether to allow a non-ISR replica to be the leader.
UncleanLeaderElectionEnable *bool `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Message retention period in topic dimension in milliseconds. Value range: 1 minute to 90 days.
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Specifies the message retention size in the topic dimension in bytes. value range: 1 GB to 1024 GB.
RetentionBytes *int64 `json:"RetentionBytes,omitnil,omitempty" name:"RetentionBytes"`
// Duration of Segment shard scrolling in milliseconds. value range: 1 day to 90 days.
SegmentMs *int64 `json:"SegmentMs,omitnil,omitempty" name:"SegmentMs"`
// Message size per batch. Value range: 1 KB - 12 MB.
MaxMessageBytes *int64 `json:"MaxMessageBytes,omitnil,omitempty" name:"MaxMessageBytes"`
// Specifies the time type for message storage: CreateTime/LogAppendTime.
LogMsgTimestampType *string `json:"LogMsgTimestampType,omitnil,omitempty" name:"LogMsgTimestampType"`
}
type BatchModifyTopicResultDTO ¶
type BatchModifyTopicResultDTO struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Operation return code.
ReturnCode *string `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`
// Returned information.
Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BatchCreateAcl ¶
func (c *Client) BatchCreateAcl(request *BatchCreateAclRequest) (response *BatchCreateAclResponse, err error)
BatchCreateAcl This API is used to create ACL policies in batches.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) BatchCreateAclWithContext ¶
func (c *Client) BatchCreateAclWithContext(ctx context.Context, request *BatchCreateAclRequest) (response *BatchCreateAclResponse, err error)
BatchCreateAcl This API is used to create ACL policies in batches.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) BatchModifyGroupOffsets ¶
func (c *Client) BatchModifyGroupOffsets(request *BatchModifyGroupOffsetsRequest) (response *BatchModifyGroupOffsetsResponse, err error)
BatchModifyGroupOffsets This API is used to batch modify consumer group offsets.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction"
func (*Client) BatchModifyGroupOffsetsWithContext ¶
func (c *Client) BatchModifyGroupOffsetsWithContext(ctx context.Context, request *BatchModifyGroupOffsetsRequest) (response *BatchModifyGroupOffsetsResponse, err error)
BatchModifyGroupOffsets This API is used to batch modify consumer group offsets.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction"
func (*Client) BatchModifyTopicAttributes ¶
func (c *Client) BatchModifyTopicAttributes(request *BatchModifyTopicAttributesRequest) (response *BatchModifyTopicAttributesResponse, err error)
BatchModifyTopicAttributes This API is used to batch set topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) BatchModifyTopicAttributesWithContext ¶
func (c *Client) BatchModifyTopicAttributesWithContext(ctx context.Context, request *BatchModifyTopicAttributesRequest) (response *BatchModifyTopicAttributesResponse, err error)
BatchModifyTopicAttributes This API is used to batch set topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateAcl ¶
func (c *Client) CreateAcl(request *CreateAclRequest) (response *CreateAclResponse, err error)
CreateAcl This API is used to add an ACL policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateAclRule ¶
func (c *Client) CreateAclRule(request *CreateAclRuleRequest) (response *CreateAclRuleResponse, err error)
CreateAclRule This API shows you how to create an ACL rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateAclRuleWithContext ¶
func (c *Client) CreateAclRuleWithContext(ctx context.Context, request *CreateAclRuleRequest) (response *CreateAclRuleResponse, err error)
CreateAclRule This API shows you how to create an ACL rule.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateAclWithContext ¶
func (c *Client) CreateAclWithContext(ctx context.Context, request *CreateAclRequest) (response *CreateAclResponse, err error)
CreateAcl This API is used to add an ACL policy.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateConsumer ¶
func (c *Client) CreateConsumer(request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer This API is used to create a consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateConsumerWithContext ¶
func (c *Client) CreateConsumerWithContext(ctx context.Context, request *CreateConsumerRequest) (response *CreateConsumerResponse, err error)
CreateConsumer This API is used to create a consumer group.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateDatahubTopic ¶
func (c *Client) CreateDatahubTopic(request *CreateDatahubTopicRequest) (response *CreateDatahubTopicResponse, err error)
CreateDatahubTopic This API is used to create a DIP topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICEXIST = "InvalidParameter.TopicExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateDatahubTopicWithContext ¶
func (c *Client) CreateDatahubTopicWithContext(ctx context.Context, request *CreateDatahubTopicRequest) (response *CreateDatahubTopicResponse, err error)
CreateDatahubTopic This API is used to create a DIP topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TOPICEXIST = "InvalidParameter.TopicExist" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateInstancePre ¶
func (c *Client) CreateInstancePre(request *CreateInstancePreRequest) (response *CreateInstancePreResponse, err error)
CreateInstancePre This API is used to create prepaid annual and monthly instances. It only supports creating Pro Edition instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateInstancePreWithContext ¶
func (c *Client) CreateInstancePreWithContext(ctx context.Context, request *CreateInstancePreRequest) (response *CreateInstancePreResponse, err error)
CreateInstancePre This API is used to create prepaid annual and monthly instances. It only supports creating Pro Edition instances.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreatePartition ¶
func (c *Client) CreatePartition(request *CreatePartitionRequest) (response *CreatePartitionResponse, err error)
CreatePartition This API is used to add a partition in a topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreatePartitionWithContext ¶
func (c *Client) CreatePartitionWithContext(ctx context.Context, request *CreatePartitionRequest) (response *CreatePartitionResponse, err error)
CreatePartition This API is used to add a partition in a topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreatePostPaidInstance ¶
func (c *Client) CreatePostPaidInstance(request *CreatePostPaidInstanceRequest) (response *CreatePostPaidInstanceResponse, err error)
CreatePostPaidInstance This API is used to replace `CreateInstancePost` to create a pay-as-you-go instance. You can call this API via SDK or the TencentCloud API console to create a pay-as-you-go CKafka instance, which is an alternate option for making a purchase in the console.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreatePostPaidInstanceWithContext ¶
func (c *Client) CreatePostPaidInstanceWithContext(ctx context.Context, request *CreatePostPaidInstanceRequest) (response *CreatePostPaidInstanceResponse, err error)
CreatePostPaidInstance This API is used to replace `CreateInstancePost` to create a pay-as-you-go instance. You can call this API via SDK or the TencentCloud API console to create a pay-as-you-go CKafka instance, which is an alternate option for making a purchase in the console.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateRoute ¶
func (c *Client) CreateRoute(request *CreateRouteRequest) (response *CreateRouteResponse, err error)
CreateRoute This API is used to add instance routes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" LIMITEXCEEDED_ROUTEOVERLIMIT = "LimitExceeded.RouteOverLimit" LIMITEXCEEDED_ROUTESASLOVERLIMIT = "LimitExceeded.RouteSASLOverLimit" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateRouteWithContext ¶
func (c *Client) CreateRouteWithContext(ctx context.Context, request *CreateRouteRequest) (response *CreateRouteResponse, err error)
CreateRoute This API is used to add instance routes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" LIMITEXCEEDED_ROUTEOVERLIMIT = "LimitExceeded.RouteOverLimit" LIMITEXCEEDED_ROUTESASLOVERLIMIT = "LimitExceeded.RouteSASLOverLimit" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateTopic ¶
func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to create a CKafka topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_TOPICNAMEALREADYEXIST = "InvalidParameterValue.TopicNameAlreadyExist" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateTopicIpWhiteList ¶
func (c *Client) CreateTopicIpWhiteList(request *CreateTopicIpWhiteListRequest) (response *CreateTopicIpWhiteListResponse, err error)
CreateTopicIpWhiteList This API is used to create a topic IP allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateTopicIpWhiteListWithContext ¶
func (c *Client) CreateTopicIpWhiteListWithContext(ctx context.Context, request *CreateTopicIpWhiteListRequest) (response *CreateTopicIpWhiteListResponse, err error)
CreateTopicIpWhiteList This API is used to create a topic IP allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateTopicWithContext ¶
func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error)
CreateTopic This API is used to create a CKafka topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_TOPICNAMEALREADYEXIST = "InvalidParameterValue.TopicNameAlreadyExist" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateUser ¶
func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)
CreateUser This API is used to add a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) CreateUserWithContext ¶
func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)
CreateUser This API is used to add a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteAcl ¶
func (c *Client) DeleteAcl(request *DeleteAclRequest) (response *DeleteAclResponse, err error)
DeleteAcl This API is used to delete an ACL.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteAclWithContext ¶
func (c *Client) DeleteAclWithContext(ctx context.Context, request *DeleteAclRequest) (response *DeleteAclResponse, err error)
DeleteAcl This API is used to delete an ACL.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteInstancePost ¶
func (c *Client) DeleteInstancePost(request *DeleteInstancePostRequest) (response *DeleteInstancePostResponse, err error)
DeleteInstancePost This API is used to delete post-payment instances. It directly performs instance termination by calling API deletion without associating connectors and tasks in pre-check.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteInstancePostWithContext ¶
func (c *Client) DeleteInstancePostWithContext(ctx context.Context, request *DeleteInstancePostRequest) (response *DeleteInstancePostResponse, err error)
DeleteInstancePost This API is used to delete post-payment instances. It directly performs instance termination by calling API deletion without associating connectors and tasks in pre-check.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteInstancePre ¶
func (c *Client) DeleteInstancePre(request *DeleteInstancePreRequest) (response *DeleteInstancePreResponse, err error)
DeleteInstancePre This API is used to delete prepaid instances. It performs isolation and deletion actions on the instance. After successful execution, the instance will be directly deleted and terminated. By calling API deletion, it directly performs instance termination without associating connectors and tasks in pre-check.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteInstancePreWithContext ¶
func (c *Client) DeleteInstancePreWithContext(ctx context.Context, request *DeleteInstancePreRequest) (response *DeleteInstancePreResponse, err error)
DeleteInstancePre This API is used to delete prepaid instances. It performs isolation and deletion actions on the instance. After successful execution, the instance will be directly deleted and terminated. By calling API deletion, it directly performs instance termination without associating connectors and tasks in pre-check.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRoute ¶
func (c *Client) DeleteRoute(request *DeleteRouteRequest) (response *DeleteRouteResponse, err error)
DeleteRoute This API is used to delete a route.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteRouteTriggerTime ¶
func (c *Client) DeleteRouteTriggerTime(request *DeleteRouteTriggerTimeRequest) (response *DeleteRouteTriggerTimeResponse, err error)
DeleteRouteTriggerTime This API is used to modify the delayed trigger time of route deletion.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteRouteTriggerTimeWithContext ¶
func (c *Client) DeleteRouteTriggerTimeWithContext(ctx context.Context, request *DeleteRouteTriggerTimeRequest) (response *DeleteRouteTriggerTimeResponse, err error)
DeleteRouteTriggerTime This API is used to modify the delayed trigger time of route deletion.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DeleteRouteWithContext ¶
func (c *Client) DeleteRouteWithContext(ctx context.Context, request *DeleteRouteRequest) (response *DeleteRouteResponse, err error)
DeleteRoute This API is used to delete a route.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteTopic ¶
func (c *Client) DeleteTopic(request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
DeleteTopic This API is used to delete a CKafka topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_FREQUENCYTOPICDELETEOPERATE = "UnsupportedOperation.FrequencyTopicDeleteOperate" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteTopicIpWhiteList ¶
func (c *Client) DeleteTopicIpWhiteList(request *DeleteTopicIpWhiteListRequest) (response *DeleteTopicIpWhiteListResponse, err error)
DeleteTopicIpWhiteList This API is used to delete a topic IP allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteTopicIpWhiteListWithContext ¶
func (c *Client) DeleteTopicIpWhiteListWithContext(ctx context.Context, request *DeleteTopicIpWhiteListRequest) (response *DeleteTopicIpWhiteListResponse, err error)
DeleteTopicIpWhiteList This API is used to delete a topic IP allowlist.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteTopicWithContext ¶
func (c *Client) DeleteTopicWithContext(ctx context.Context, request *DeleteTopicRequest) (response *DeleteTopicResponse, err error)
DeleteTopic This API is used to delete a CKafka topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_FREQUENCYTOPICDELETEOPERATE = "UnsupportedOperation.FrequencyTopicDeleteOperate" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteUser ¶
func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)
DeleteUser This API is used to delete a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DeleteUserWithContext ¶
func (c *Client) DeleteUserWithContext(ctx context.Context, request *DeleteUserRequest) (response *DeleteUserResponse, err error)
DeleteUser This API is used to delete a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeACL ¶
func (c *Client) DescribeACL(request *DescribeACLRequest) (response *DescribeACLResponse, err error)
DescribeACL This API is used to enumerate ACLs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeACLWithContext ¶
func (c *Client) DescribeACLWithContext(ctx context.Context, request *DescribeACLRequest) (response *DescribeACLResponse, err error)
DescribeACL This API is used to enumerate ACLs.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeAclRule ¶
func (c *Client) DescribeAclRule(request *DescribeAclRuleRequest) (response *DescribeAclRuleResponse, err error)
DescribeAclRule This API is used to query the ACL rule list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeAclRuleWithContext ¶
func (c *Client) DescribeAclRuleWithContext(ctx context.Context, request *DescribeAclRuleRequest) (response *DescribeAclRuleResponse, err error)
DescribeAclRule This API is used to query the ACL rule list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeAppInfo ¶
func (c *Client) DescribeAppInfo(request *DescribeAppInfoRequest) (response *DescribeAppInfoResponse, err error)
DescribeAppInfo This API is used to query the user list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeAppInfoWithContext ¶
func (c *Client) DescribeAppInfoWithContext(ctx context.Context, request *DescribeAppInfoRequest) (response *DescribeAppInfoResponse, err error)
DescribeAppInfo This API is used to query the user list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeCkafkaZone ¶
func (c *Client) DescribeCkafkaZone(request *DescribeCkafkaZoneRequest) (response *DescribeCkafkaZoneResponse, err error)
DescribeCkafkaZone This API is used to view the AZ list of Ckafka.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeCkafkaZoneWithContext ¶
func (c *Client) DescribeCkafkaZoneWithContext(ctx context.Context, request *DescribeCkafkaZoneRequest) (response *DescribeCkafkaZoneResponse, err error)
DescribeCkafkaZone This API is used to view the AZ list of Ckafka.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeConsumerGroup ¶
func (c *Client) DescribeConsumerGroup(request *DescribeConsumerGroupRequest) (response *DescribeConsumerGroupResponse, err error)
DescribeConsumerGroup This API is used to query consumer group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeConsumerGroupWithContext ¶
func (c *Client) DescribeConsumerGroupWithContext(ctx context.Context, request *DescribeConsumerGroupRequest) (response *DescribeConsumerGroupResponse, err error)
DescribeConsumerGroup This API is used to query consumer group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeCvmInfo ¶
func (c *Client) DescribeCvmInfo(request *DescribeCvmInfoRequest) (response *DescribeCvmInfoResponse, err error)
DescribeCvmInfo This API is used to get instance information corresponding to backend CVM, including cvmId and ip. It is for Pro Edition, while Standard Edition returns empty data.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeCvmInfoWithContext ¶
func (c *Client) DescribeCvmInfoWithContext(ctx context.Context, request *DescribeCvmInfoRequest) (response *DescribeCvmInfoResponse, err error)
DescribeCvmInfo This API is used to get instance information corresponding to backend CVM, including cvmId and ip. It is for Pro Edition, while Standard Edition returns empty data.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeDatahubTopic ¶
func (c *Client) DescribeDatahubTopic(request *DescribeDatahubTopicRequest) (response *DescribeDatahubTopicResponse, err error)
DescribeDatahubTopic This API is used to retrieve DIP topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeDatahubTopicWithContext ¶
func (c *Client) DescribeDatahubTopicWithContext(ctx context.Context, request *DescribeDatahubTopicRequest) (response *DescribeDatahubTopicResponse, err error)
DescribeDatahubTopic This API is used to retrieve DIP topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeDatahubTopics ¶
func (c *Client) DescribeDatahubTopics(request *DescribeDatahubTopicsRequest) (response *DescribeDatahubTopicsResponse, err error)
DescribeDatahubTopics This API is used to query the DataHub topic list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeDatahubTopicsWithContext ¶
func (c *Client) DescribeDatahubTopicsWithContext(ctx context.Context, request *DescribeDatahubTopicsRequest) (response *DescribeDatahubTopicsResponse, err error)
DescribeDatahubTopics This API is used to query the DataHub topic list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeGroup ¶
func (c *Client) DescribeGroup(request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
DescribeGroup This API is used to enumerate consumer groups (simplified).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeGroupInfo ¶
func (c *Client) DescribeGroupInfo(request *DescribeGroupInfoRequest) (response *DescribeGroupInfoResponse, err error)
DescribeGroupInfo This API is used to get consumer group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeGroupInfoWithContext ¶
func (c *Client) DescribeGroupInfoWithContext(ctx context.Context, request *DescribeGroupInfoRequest) (response *DescribeGroupInfoResponse, err error)
DescribeGroupInfo This API is used to get consumer group information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeGroupOffsets ¶
func (c *Client) DescribeGroupOffsets(request *DescribeGroupOffsetsRequest) (response *DescribeGroupOffsetsResponse, err error)
DescribeGroupOffsets This API is used to get the consumer group offset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeGroupOffsetsWithContext ¶
func (c *Client) DescribeGroupOffsetsWithContext(ctx context.Context, request *DescribeGroupOffsetsRequest) (response *DescribeGroupOffsetsResponse, err error)
DescribeGroupOffsets This API is used to get the consumer group offset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeGroupWithContext ¶
func (c *Client) DescribeGroupWithContext(ctx context.Context, request *DescribeGroupRequest) (response *DescribeGroupResponse, err error)
DescribeGroup This API is used to enumerate consumer groups (simplified).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeInstanceAttributes ¶
func (c *Client) DescribeInstanceAttributes(request *DescribeInstanceAttributesRequest) (response *DescribeInstanceAttributesResponse, err error)
DescribeInstanceAttributes This API is used to obtain instance attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeInstanceAttributesWithContext ¶
func (c *Client) DescribeInstanceAttributesWithContext(ctx context.Context, request *DescribeInstanceAttributesRequest) (response *DescribeInstanceAttributesResponse, err error)
DescribeInstanceAttributes This API is used to obtain instance attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to search for a list of TDMQ CKafka instances under a user account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeInstancesDetail ¶
func (c *Client) DescribeInstancesDetail(request *DescribeInstancesDetailRequest) (response *DescribeInstancesDetailResponse, err error)
DescribeInstancesDetail This API is used to get instance list details under a user account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeInstancesDetailWithContext ¶
func (c *Client) DescribeInstancesDetailWithContext(ctx context.Context, request *DescribeInstancesDetailRequest) (response *DescribeInstancesDetailResponse, err error)
DescribeInstancesDetail This API is used to get instance list details under a user account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeInstancesWithContext ¶
func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)
DescribeInstances This API is used to search for a list of TDMQ CKafka instances under a user account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeRegion ¶
func (c *Client) DescribeRegion(request *DescribeRegionRequest) (response *DescribeRegionResponse, err error)
DescribeRegion This API is used to enumerate regions, and can be called only in Guangzhou.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeRegionWithContext ¶
func (c *Client) DescribeRegionWithContext(ctx context.Context, request *DescribeRegionRequest) (response *DescribeRegionResponse, err error)
DescribeRegion This API is used to enumerate regions, and can be called only in Guangzhou.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeRoute ¶
func (c *Client) DescribeRoute(request *DescribeRouteRequest) (response *DescribeRouteResponse, err error)
DescribeRoute This API is used to view route information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeRouteWithContext ¶
func (c *Client) DescribeRouteWithContext(ctx context.Context, request *DescribeRouteRequest) (response *DescribeRouteResponse, err error)
DescribeRoute This API is used to view route information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeSecurityGroupRoutes ¶
func (c *Client) DescribeSecurityGroupRoutes(request *DescribeSecurityGroupRoutesRequest) (response *DescribeSecurityGroupRoutesResponse, err error)
DescribeSecurityGroupRoutes This API is used to retrieve the security group route information list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityGroupRoutesWithContext ¶
func (c *Client) DescribeSecurityGroupRoutesWithContext(ctx context.Context, request *DescribeSecurityGroupRoutesRequest) (response *DescribeSecurityGroupRoutesResponse, err error)
DescribeSecurityGroupRoutes This API is used to retrieve the security group route information list.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTaskStatus ¶
func (c *Client) DescribeTaskStatus(request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus This API is used to query the task status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTaskStatusWithContext ¶
func (c *Client) DescribeTaskStatusWithContext(ctx context.Context, request *DescribeTaskStatusRequest) (response *DescribeTaskStatusResponse, err error)
DescribeTaskStatus This API is used to query the task status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopic ¶
func (c *Client) DescribeTopic(request *DescribeTopicRequest) (response *DescribeTopicResponse, err error)
DescribeTopic API domain name: https://ckafka.tencentcloudapi.com
This API is used to get the list of topics in a CKafka instance of a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopicAttributes ¶
func (c *Client) DescribeTopicAttributes(request *DescribeTopicAttributesRequest) (response *DescribeTopicAttributesResponse, err error)
DescribeTopicAttributes This API is used to retrieve topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopicAttributesWithContext ¶
func (c *Client) DescribeTopicAttributesWithContext(ctx context.Context, request *DescribeTopicAttributesRequest) (response *DescribeTopicAttributesResponse, err error)
DescribeTopicAttributes This API is used to retrieve topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopicDetail ¶
func (c *Client) DescribeTopicDetail(request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error)
DescribeTopicDetail This API is used to get topic list details (only for call in the console).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopicDetailWithContext ¶
func (c *Client) DescribeTopicDetailWithContext(ctx context.Context, request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error)
DescribeTopicDetail This API is used to get topic list details (only for call in the console).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopicProduceConnection ¶
func (c *Client) DescribeTopicProduceConnection(request *DescribeTopicProduceConnectionRequest) (response *DescribeTopicProduceConnectionResponse, err error)
DescribeTopicProduceConnection This API is used to query the connection information of the topic producer.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport"
func (*Client) DescribeTopicProduceConnectionWithContext ¶
func (c *Client) DescribeTopicProduceConnectionWithContext(ctx context.Context, request *DescribeTopicProduceConnectionRequest) (response *DescribeTopicProduceConnectionResponse, err error)
DescribeTopicProduceConnection This API is used to query the connection information of the topic producer.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport"
func (*Client) DescribeTopicSubscribeGroup ¶
func (c *Client) DescribeTopicSubscribeGroup(request *DescribeTopicSubscribeGroupRequest) (response *DescribeTopicSubscribeGroupResponse, err error)
DescribeTopicSubscribeGroup This API is used to search and subscribe the message group information of a topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopicSubscribeGroupWithContext ¶
func (c *Client) DescribeTopicSubscribeGroupWithContext(ctx context.Context, request *DescribeTopicSubscribeGroupRequest) (response *DescribeTopicSubscribeGroupResponse, err error)
DescribeTopicSubscribeGroup This API is used to search and subscribe the message group information of a topic.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTopicSyncReplica ¶
func (c *Client) DescribeTopicSyncReplica(request *DescribeTopicSyncReplicaRequest) (response *DescribeTopicSyncReplicaResponse, err error)
DescribeTopicSyncReplica This API is used to get the details of a synced topic replica.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopicSyncReplicaWithContext ¶
func (c *Client) DescribeTopicSyncReplicaWithContext(ctx context.Context, request *DescribeTopicSyncReplicaRequest) (response *DescribeTopicSyncReplicaResponse, err error)
DescribeTopicSyncReplica This API is used to get the details of a synced topic replica.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTopicWithContext ¶
func (c *Client) DescribeTopicWithContext(ctx context.Context, request *DescribeTopicRequest) (response *DescribeTopicResponse, err error)
DescribeTopic API domain name: https://ckafka.tencentcloudapi.com
This API is used to get the list of topics in a CKafka instance of a user.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTypeInstances ¶
func (c *Client) DescribeTypeInstances(request *DescribeTypeInstancesRequest) (response *DescribeTypeInstancesResponse, err error)
DescribeTypeInstances This API is used to search for a list of TDMQ CKafka instances of the specified type under a user account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeTypeInstancesWithContext ¶
func (c *Client) DescribeTypeInstancesWithContext(ctx context.Context, request *DescribeTypeInstancesRequest) (response *DescribeTypeInstancesResponse, err error)
DescribeTypeInstances This API is used to search for a list of TDMQ CKafka instances of the specified type under a user account.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeUser ¶
func (c *Client) DescribeUser(request *DescribeUserRequest) (response *DescribeUserResponse, err error)
DescribeUser This API is used to query user information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) DescribeUserWithContext ¶
func (c *Client) DescribeUserWithContext(ctx context.Context, request *DescribeUserRequest) (response *DescribeUserResponse, err error)
DescribeUser This API is used to query user information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) FetchMessageByOffset ¶
func (c *Client) FetchMessageByOffset(request *FetchMessageByOffsetRequest) (response *FetchMessageByOffsetResponse, err error)
FetchMessageByOffset This API is used to query messages based on a specified offset position.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) FetchMessageByOffsetWithContext ¶
func (c *Client) FetchMessageByOffsetWithContext(ctx context.Context, request *FetchMessageByOffsetRequest) (response *FetchMessageByOffsetResponse, err error)
FetchMessageByOffset This API is used to query messages based on a specified offset position.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) FetchMessageListByOffset ¶
func (c *Client) FetchMessageListByOffset(request *FetchMessageListByOffsetRequest) (response *FetchMessageListByOffsetResponse, err error)
FetchMessageListByOffset This API is used to query the message list based on an offset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError"
func (*Client) FetchMessageListByOffsetWithContext ¶
func (c *Client) FetchMessageListByOffsetWithContext(ctx context.Context, request *FetchMessageListByOffsetRequest) (response *FetchMessageListByOffsetResponse, err error)
FetchMessageListByOffset This API is used to query the message list based on an offset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError"
func (*Client) FetchMessageListByTimestamp ¶
func (c *Client) FetchMessageListByTimestamp(request *FetchMessageListByTimestampRequest) (response *FetchMessageListByTimestampResponse, err error)
FetchMessageListByTimestamp This API is used to query a message list by timestamp.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError"
func (*Client) FetchMessageListByTimestampWithContext ¶
func (c *Client) FetchMessageListByTimestampWithContext(ctx context.Context, request *FetchMessageListByTimestampRequest) (response *FetchMessageListByTimestampResponse, err error)
FetchMessageListByTimestamp This API is used to query a message list by timestamp.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError"
func (*Client) InquireCkafkaPrice ¶
func (c *Client) InquireCkafkaPrice(request *InquireCkafkaPriceRequest) (response *InquireCkafkaPriceResponse, err error)
InquireCkafkaPrice This API is used to purchase a CKafka instance or query the instance renewal price.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) InquireCkafkaPriceWithContext ¶
func (c *Client) InquireCkafkaPriceWithContext(ctx context.Context, request *InquireCkafkaPriceRequest) (response *InquireCkafkaPriceResponse, err error)
InquireCkafkaPrice This API is used to purchase a CKafka instance or query the instance renewal price.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter"
func (*Client) ModifyAclRule ¶
func (c *Client) ModifyAclRule(request *ModifyAclRuleRequest) (response *ModifyAclRuleResponse, err error)
ModifyAclRule This API is used to modify ACL policy, currently only support whether to apply preset rules to newly-added topics.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty"
func (*Client) ModifyAclRuleWithContext ¶
func (c *Client) ModifyAclRuleWithContext(ctx context.Context, request *ModifyAclRuleRequest) (response *ModifyAclRuleResponse, err error)
ModifyAclRule This API is used to modify ACL policy, currently only support whether to apply preset rules to newly-added topics.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty"
func (*Client) ModifyDatahubTopic ¶
func (c *Client) ModifyDatahubTopic(request *ModifyDatahubTopicRequest) (response *ModifyDatahubTopicResponse, err error)
ModifyDatahubTopic This API is used to modify DIP topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyDatahubTopicWithContext ¶
func (c *Client) ModifyDatahubTopicWithContext(ctx context.Context, request *ModifyDatahubTopicRequest) (response *ModifyDatahubTopicResponse, err error)
ModifyDatahubTopic This API is used to modify DIP topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyGroupOffsets ¶
func (c *Client) ModifyGroupOffsets(request *ModifyGroupOffsetsRequest) (response *ModifyGroupOffsetsResponse, err error)
ModifyGroupOffsets This API is used to set the consumer group (Groups) offset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyGroupOffsetsWithContext ¶
func (c *Client) ModifyGroupOffsetsWithContext(ctx context.Context, request *ModifyGroupOffsetsRequest) (response *ModifyGroupOffsetsResponse, err error)
ModifyGroupOffsets This API is used to set the consumer group (Groups) offset.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyInstanceAttributes ¶
func (c *Client) ModifyInstanceAttributes(request *ModifyInstanceAttributesRequest) (response *ModifyInstanceAttributesResponse, err error)
ModifyInstanceAttributes This API is used to set instance attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyInstanceAttributesWithContext ¶
func (c *Client) ModifyInstanceAttributesWithContext(ctx context.Context, request *ModifyInstanceAttributesRequest) (response *ModifyInstanceAttributesResponse, err error)
ModifyInstanceAttributes This API is used to set instance attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyInstancePre ¶
func (c *Client) ModifyInstancePre(request *ModifyInstancePreRequest) (response *ModifyInstancePreResponse, err error)
ModifyInstancePre This API is used to change the configuration of prepaid instances, adjust disks, modify bandwidth, and manage partitions.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyInstancePreWithContext ¶
func (c *Client) ModifyInstancePreWithContext(ctx context.Context, request *ModifyInstancePreRequest) (response *ModifyInstancePreResponse, err error)
ModifyInstancePre This API is used to change the configuration of prepaid instances, adjust disks, modify bandwidth, and manage partitions.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_NOTALLOWEDEMPTY = "InvalidParameterValue.NotAllowedEmpty" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCENOTFOUND = "ResourceNotFound" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyPassword ¶
func (c *Client) ModifyPassword(request *ModifyPasswordRequest) (response *ModifyPasswordResponse, err error)
ModifyPassword This API is used to change the password.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyPasswordWithContext ¶
func (c *Client) ModifyPasswordWithContext(ctx context.Context, request *ModifyPasswordRequest) (response *ModifyPasswordResponse, err error)
ModifyPassword This API is used to change the password.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyTopicAttributes ¶
func (c *Client) ModifyTopicAttributes(request *ModifyTopicAttributesRequest) (response *ModifyTopicAttributesResponse, err error)
ModifyTopicAttributes This API is used to modify topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) ModifyTopicAttributesWithContext ¶
func (c *Client) ModifyTopicAttributesWithContext(ctx context.Context, request *ModifyTopicAttributesRequest) (response *ModifyTopicAttributesResponse, err error)
ModifyTopicAttributes This API is used to modify topic attributes.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" INVALIDPARAMETERVALUE_REPETITIONVALUE = "InvalidParameterValue.RepetitionValue" INVALIDPARAMETERVALUE_SUBNETIDINVALID = "InvalidParameterValue.SubnetIdInvalid" INVALIDPARAMETERVALUE_SUBNETNOTBELONGTOZONE = "InvalidParameterValue.SubnetNotBelongToZone" INVALIDPARAMETERVALUE_VPCIDINVALID = "InvalidParameterValue.VpcIdInvalid" INVALIDPARAMETERVALUE_WRONGACTION = "InvalidParameterValue.WrongAction" INVALIDPARAMETERVALUE_ZONENOTSUPPORT = "InvalidParameterValue.ZoneNotSupport" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_BATCHDELINSTANCELIMIT = "UnsupportedOperation.BatchDelInstanceLimit" UNSUPPORTEDOPERATION_OSSREJECT = "UnsupportedOperation.OssReject"
func (*Client) SendMessage ¶
func (c *Client) SendMessage(request *SendMessageRequest) (response *SendMessageResponse, err error)
SendMessage This API is used to send messages through the HTTP access layer.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCETASKPAUSED = "OperationDenied.ResourceTaskPaused" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_KAFKASTORAGEERROR = "ResourceUnavailable.KafkaStorageError"
func (*Client) SendMessageWithContext ¶
func (c *Client) SendMessageWithContext(ctx context.Context, request *SendMessageRequest) (response *SendMessageResponse, err error)
SendMessage This API is used to send messages through the HTTP access layer.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INSTANCENOTEXIST = "InvalidParameterValue.InstanceNotExist" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCETASKPAUSED = "OperationDenied.ResourceTaskPaused" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_KAFKASTORAGEERROR = "ResourceUnavailable.KafkaStorageError"
type ClusterInfo ¶
type ClusterInfo struct {
// Cluster ID
ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Cluster name
ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"`
// Maximum disk of the cluster (unit: GB).
MaxDiskSize *int64 `json:"MaxDiskSize,omitnil,omitempty" name:"MaxDiskSize"`
// Maximum bandwidth of the cluster. unit: MB/s.
MaxBandWidth *int64 `json:"MaxBandWidth,omitnil,omitempty" name:"MaxBandWidth"`
// Current availability of cluster disk (unit: GB).
AvailableDiskSize *int64 `json:"AvailableDiskSize,omitnil,omitempty" name:"AvailableDiskSize"`
// Available bandwidth of the cluster. unit: MB/s.
AvailableBandWidth *int64 `json:"AvailableBandWidth,omitnil,omitempty" name:"AvailableBandWidth"`
// Indicates the AZ to which the cluster belongs.
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.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
}
type Config ¶
type Config struct {
// Message retention period in milliseconds.
Retention *int64 `json:"Retention,omitnil,omitempty" name:"Retention"`
// Minimum number of sync replications
// Note: this field may return null, indicating that no valid values can be obtained.
MinInsyncReplicas *int64 `json:"MinInsyncReplicas,omitnil,omitempty" name:"MinInsyncReplicas"`
// Log cleanup mode. Default value: delete.
// delete: logs will be deleted by save time; compact: logs will be compressed by key; compact, delete: logs will be compressed by key and deleted by save time.
// Note: this field may return null, indicating that no valid values can be obtained.
CleanUpPolicy *string `json:"CleanUpPolicy,omitnil,omitempty" name:"CleanUpPolicy"`
// Duration of Segment shard scrolling in milliseconds.
// Note: This field may return null, indicating that no valid values can be obtained.
SegmentMs *int64 `json:"SegmentMs,omitnil,omitempty" name:"SegmentMs"`
// 0: false, 1: true.
// Note: this field may return null, indicating that no valid values can be obtained.
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Segment specifies the number of bytes for sharding scroll. unit: bytes.
// Note: This field may return null, indicating that no valid values can be obtained.
SegmentBytes *int64 `json:"SegmentBytes,omitnil,omitempty" name:"SegmentBytes"`
// Maximum message byte size. unit: bytes.
// Note: This field may return null, indicating that no valid values can be obtained.
MaxMessageBytes *int64 `json:"MaxMessageBytes,omitnil,omitempty" name:"MaxMessageBytes"`
// Specifies the message retention file size in Bytes.
// Note: This field may return null, indicating that no valid values can be obtained.
RetentionBytes *int64 `json:"RetentionBytes,omitnil,omitempty" name:"RetentionBytes"`
// The time type for message saving. CreateTime means the time when the producer created this message. LogAppendTime means the time when the broker received the message.
// Note: This field may return null, indicating that no valid values can be obtained.
LogMsgTimestampType *string `json:"LogMsgTimestampType,omitnil,omitempty" name:"LogMsgTimestampType"`
}
type ConsumerGroup ¶
type ConsumerGroup struct {
// User group name
ConsumerGroupName *string `json:"ConsumerGroupName,omitnil,omitempty" name:"ConsumerGroupName"`
// Subscribed message entity
SubscribedInfo []*SubscribedInfo `json:"SubscribedInfo,omitnil,omitempty" name:"SubscribedInfo"`
}
type ConsumerGroupResponse ¶
type ConsumerGroupResponse struct {
// Number of eligible consumer groups
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Topic list.
TopicList []*ConsumerGroupTopic `json:"TopicList,omitnil,omitempty" name:"TopicList"`
// Specifies the consumption group List.
GroupList []*ConsumerGroup `json:"GroupList,omitnil,omitempty" name:"GroupList"`
// Total number of partitions.
TotalPartition *int64 `json:"TotalPartition,omitnil,omitempty" name:"TotalPartition"`
// Monitored partition list.
PartitionListForMonitor []*Partition `json:"PartitionListForMonitor,omitnil,omitempty" name:"PartitionListForMonitor"`
// Total number of topics.
TotalTopic *int64 `json:"TotalTopic,omitnil,omitempty" name:"TotalTopic"`
// Monitored topic list.
TopicListForMonitor []*ConsumerGroupTopic `json:"TopicListForMonitor,omitnil,omitempty" name:"TopicListForMonitor"`
// Monitored group list.
GroupListForMonitor []*Group `json:"GroupListForMonitor,omitnil,omitempty" name:"GroupListForMonitor"`
}
type ConsumerGroupTopic ¶
type ConsumerRecord ¶
type ConsumerRecord struct {
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Partition ID
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// 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 value
// Note: this field may return `null`, indicating that no valid values can be obtained.
Value *string `json:"Value,omitnil,omitempty" name:"Value"`
// Message timestamp.
Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`
// Message headers
// Note: This field may return null, indicating that no valid values can be obtained.
Headers *string `json:"Headers,omitnil,omitempty" name:"Headers"`
}
type CreateAclRequest ¶
type CreateAclRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
Operation *int64 `json:"Operation,omitnil,omitempty" name:"Operation"`
// Permission type (2:DENY, 3:ALLOW). currently ckafka supports ALLOW (equivalent to allowlist), others used when compatible with open-source kafka acl.
PermissionType *int64 `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
// Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
// Defaults to *, indicating any host is accessible in the entire region. supports filling in ips or ranges, and uses ";" for separation.
Host *string `json:"Host,omitnil,omitempty" name:"Host"`
// The list of users allowed to access the topic. Default: User:*, meaning all users. The current user must be in the user list. Add `User:` before the user name (`User:A` for example).
Principal *string `json:"Principal,omitnil,omitempty" name:"Principal"`
// The resource name list, which is in JSON string format. Either `ResourceName` or `resourceNameList` can be specified.
ResourceNameList *string `json:"ResourceNameList,omitnil,omitempty" name:"ResourceNameList"`
}
func NewCreateAclRequest ¶
func NewCreateAclRequest() (request *CreateAclRequest)
func (*CreateAclRequest) FromJsonString ¶
func (r *CreateAclRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAclRequest) ToJsonString ¶
func (r *CreateAclRequest) ToJsonString() string
type CreateAclRequestParams ¶
type CreateAclRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
Operation *int64 `json:"Operation,omitnil,omitempty" name:"Operation"`
// Permission type (2:DENY, 3:ALLOW). currently ckafka supports ALLOW (equivalent to allowlist), others used when compatible with open-source kafka acl.
PermissionType *int64 `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
// Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
// Defaults to *, indicating any host is accessible in the entire region. supports filling in ips or ranges, and uses ";" for separation.
Host *string `json:"Host,omitnil,omitempty" name:"Host"`
// The list of users allowed to access the topic. Default: User:*, meaning all users. The current user must be in the user list. Add `User:` before the user name (`User:A` for example).
Principal *string `json:"Principal,omitnil,omitempty" name:"Principal"`
// The resource name list, which is in JSON string format. Either `ResourceName` or `resourceNameList` can be specified.
ResourceNameList *string `json:"ResourceNameList,omitnil,omitempty" name:"ResourceNameList"`
}
Predefined struct for user
type CreateAclResponse ¶
type CreateAclResponse struct {
*tchttp.BaseResponse
Response *CreateAclResponseParams `json:"Response"`
}
func NewCreateAclResponse ¶
func NewCreateAclResponse() (response *CreateAclResponse)
func (*CreateAclResponse) FromJsonString ¶
func (r *CreateAclResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAclResponse) ToJsonString ¶
func (r *CreateAclResponse) ToJsonString() string
type CreateAclResponseParams ¶
type CreateAclResponseParams struct {
// Returned result
Result *JgwOperateResponse `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 CreateAclRuleRequest ¶
type CreateAclRuleRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type. Currently, the only valid value is `Topic`.
ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// ACL rule-based matching type. currently supports prefix match and PRESET policy. valid values: PREFIXED/PRESET.
PatternType *string `json:"PatternType,omitnil,omitempty" name:"PatternType"`
// Rule name
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
// ACL rule list
RuleList []*AclRuleInfo `json:"RuleList,omitnil,omitempty" name:"RuleList"`
// Indicates the prefix for prefix match. this parameter is required when PatternType value is PREFIXED.
Pattern *string `json:"Pattern,omitnil,omitempty" name:"Pattern"`
// Specifies whether to apply the preset ACL rule to newly-added topics. defaults to 0, which means no. a value of 1 means yes.
IsApplied *int64 `json:"IsApplied,omitnil,omitempty" name:"IsApplied"`
// Remarks for ACL rules
Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"`
}
func NewCreateAclRuleRequest ¶
func NewCreateAclRuleRequest() (request *CreateAclRuleRequest)
func (*CreateAclRuleRequest) FromJsonString ¶
func (r *CreateAclRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAclRuleRequest) ToJsonString ¶
func (r *CreateAclRuleRequest) ToJsonString() string
type CreateAclRuleRequestParams ¶
type CreateAclRuleRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type. Currently, the only valid value is `Topic`.
ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// ACL rule-based matching type. currently supports prefix match and PRESET policy. valid values: PREFIXED/PRESET.
PatternType *string `json:"PatternType,omitnil,omitempty" name:"PatternType"`
// Rule name
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
// ACL rule list
RuleList []*AclRuleInfo `json:"RuleList,omitnil,omitempty" name:"RuleList"`
// Indicates the prefix for prefix match. this parameter is required when PatternType value is PREFIXED.
Pattern *string `json:"Pattern,omitnil,omitempty" name:"Pattern"`
// Specifies whether to apply the preset ACL rule to newly-added topics. defaults to 0, which means no. a value of 1 means yes.
IsApplied *int64 `json:"IsApplied,omitnil,omitempty" name:"IsApplied"`
// Remarks for ACL rules
Comment *string `json:"Comment,omitnil,omitempty" name:"Comment"`
}
Predefined struct for user
type CreateAclRuleResponse ¶
type CreateAclRuleResponse struct {
*tchttp.BaseResponse
Response *CreateAclRuleResponseParams `json:"Response"`
}
func NewCreateAclRuleResponse ¶
func NewCreateAclRuleResponse() (response *CreateAclRuleResponse)
func (*CreateAclRuleResponse) FromJsonString ¶
func (r *CreateAclRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAclRuleResponse) ToJsonString ¶
func (r *CreateAclRuleResponse) ToJsonString() string
type CreateAclRuleResponseParams ¶
type CreateAclRuleResponseParams struct {
// Unique key of a rule
Result *int64 `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 CreateConsumerRequest ¶
type CreateConsumerRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Consumer group name.
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// Topic name. one of TopicName or TopicNameList must display a specified existing topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic name list.
TopicNameList []*string `json:"TopicNameList,omitnil,omitempty" name:"TopicNameList"`
}
func NewCreateConsumerRequest ¶
func NewCreateConsumerRequest() (request *CreateConsumerRequest)
func (*CreateConsumerRequest) FromJsonString ¶
func (r *CreateConsumerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerRequest) ToJsonString ¶
func (r *CreateConsumerRequest) ToJsonString() string
type CreateConsumerRequestParams ¶
type CreateConsumerRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Consumer group name.
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// Topic name. one of TopicName or TopicNameList must display a specified existing topic name.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic name list.
TopicNameList []*string `json:"TopicNameList,omitnil,omitempty" name:"TopicNameList"`
}
Predefined struct for user
type CreateConsumerResponse ¶
type CreateConsumerResponse struct {
*tchttp.BaseResponse
Response *CreateConsumerResponseParams `json:"Response"`
}
func NewCreateConsumerResponse ¶
func NewCreateConsumerResponse() (response *CreateConsumerResponse)
func (*CreateConsumerResponse) FromJsonString ¶
func (r *CreateConsumerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConsumerResponse) ToJsonString ¶
func (r *CreateConsumerResponse) ToJsonString() string
type CreateConsumerResponseParams ¶
type CreateConsumerResponseParams struct {
// Create consumer group returned results.
Result *JgwOperateResponse `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 CreateDatahubTopicRequest ¶
type CreateDatahubTopicRequest struct {
*tchttp.BaseRequest
// Name, a string of no more than 128 characters, must start with "AppId-" and can contain letters, digits, and hyphens (-).
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Number of partitions, which should be greater than 0.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Message retention period in milliseconds. The current minimum value is 60,000 ms.
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Topic remarks, which are a string of up to 128 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Tag list
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
func NewCreateDatahubTopicRequest ¶
func NewCreateDatahubTopicRequest() (request *CreateDatahubTopicRequest)
func (*CreateDatahubTopicRequest) FromJsonString ¶
func (r *CreateDatahubTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatahubTopicRequest) ToJsonString ¶
func (r *CreateDatahubTopicRequest) ToJsonString() string
type CreateDatahubTopicRequestParams ¶
type CreateDatahubTopicRequestParams struct {
// Name, a string of no more than 128 characters, must start with "AppId-" and can contain letters, digits, and hyphens (-).
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Number of partitions, which should be greater than 0.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Message retention period in milliseconds. The current minimum value is 60,000 ms.
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Topic remarks, which are a string of up to 128 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Tag list
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateDatahubTopicResponse ¶
type CreateDatahubTopicResponse struct {
*tchttp.BaseResponse
Response *CreateDatahubTopicResponseParams `json:"Response"`
}
func NewCreateDatahubTopicResponse ¶
func NewCreateDatahubTopicResponse() (response *CreateDatahubTopicResponse)
func (*CreateDatahubTopicResponse) FromJsonString ¶
func (r *CreateDatahubTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatahubTopicResponse) ToJsonString ¶
func (r *CreateDatahubTopicResponse) ToJsonString() string
type CreateDatahubTopicResponseParams ¶
type CreateDatahubTopicResponseParams struct {
// Returned creation result
Result *DatahubTopicResp `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 CreateInstancePostData ¶
type CreateInstancePostData struct {
// CreateInstancePre returns fixed as 0. it cannot be used as a query condition for CheckTaskStatus. this is merely to ensure alignment with the backend data structure.
FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
// Order ID list
DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
// The ckafka cluster instance Id. by default, returns the Id of the first purchased instance when purchasing multiple instances.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Order and purchase mapping list corresponding to the instance.
DealNameInstanceIdMapping []*DealInstanceDTO `json:"DealNameInstanceIdMapping,omitnil,omitempty" name:"DealNameInstanceIdMapping"`
}
type CreateInstancePostResp ¶
type CreateInstancePostResp struct {
// Returned code. `0` indicates normal status while other codes indicate errors.
ReturnCode *string `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`
// Message returned by the API. An error message will be returned if the API reports an error.
ReturnMessage *string `json:"ReturnMessage,omitnil,omitempty" name:"ReturnMessage"`
// Specifies the Data returned.
Data *CreateInstancePostData `json:"Data,omitnil,omitempty" name:"Data"`
}
type CreateInstancePreData ¶
type CreateInstancePreData struct {
// CreateInstancePre returns fixed as 0. it cannot be used as a query condition for CheckTaskStatus. this is merely to ensure alignment with the backend data structure.
FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
// Order ID list
DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"`
// The ckafka cluster instance Id. by default, returns the Id of the first purchased instance when purchasing multiple instances.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Order and purchase mapping list corresponding to the instance.
DealNameInstanceIdMapping []*DealInstanceDTO `json:"DealNameInstanceIdMapping,omitnil,omitempty" name:"DealNameInstanceIdMapping"`
}
type CreateInstancePreRequest ¶
type CreateInstancePreRequest struct {
*tchttp.BaseRequest
// Specifies the ckafka cluster instance Name, an arbitrary string with length no more than 128 characters.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Availability zone. when purchasing a multi-availability zone instance, this parameter specifies the primary az. [view availability zones](https://www.tencentcloud.comom/document/product/597/55246?from_cn_redirect=1).
ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Prepaid purchase duration, such as "1m", exactly one month. value ranges from 1m to 36m.
Period *string `json:"Period,omitnil,omitempty" name:"Period"`
// Specifies the standard edition instance specification for the international site. currently only the international site standard edition uses the current field to distinguish specifications, while the domestic site standard edition distinguishes specifications by peak bandwidth. fill in 1 for all instances except the international site standard edition. for international site standard edition instances: [entry-level (general)] fill 1; [standard type (standard)] fill 2; [advanced] fill 3; [capacity type (capacity)] fill 4; [advanced type 1 (specialized-1)] fill 5; [advanced type 2 (specialized-2)] fill 6; [advanced type 3 (specialized-3)] fill 7; [advanced type 4 (specialized-4)] fill 8.
InstanceType *int64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// VPC Id.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet ID
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Optional. maximum retention time of instance logs, in minutes. default value: 1440 (1 day). value range: 1 minute to 90 days.
MsgRetentionTime *int64 `json:"MsgRetentionTime,omitnil,omitempty" name:"MsgRetentionTime"`
// Specifies the cluster Id when creating an instance.
ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Auto-Renewal tag for prepaid services. valid values: 0 (default state, not set by the user, initial status), 1 (auto-renew), 2 (explicitly no auto-renew, set by the user).
RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
// Specifies the CKafka version number. valid values: 2.4.1, 2.4.2, 2.8.1, 3.2.3. default value 2.4.1. 2.4.1 and 2.4.2 belong to the same version. any can be passed.
KafkaVersion *string `json:"KafkaVersion,omitnil,omitempty" name:"KafkaVersion"`
// Specifies the instance type. valid values: standard (default), profession, premium.
SpecificationsType *string `json:"SpecificationsType,omitnil,omitempty" name:"SpecificationsType"`
// Disk size. if it does not match the console specification ratio, the creation cannot succeed. default value is 500. step length is set to 100. can be accessed through the following link: https://www.tencentcloud.comom/document/product/597/122562.?from_cn_redirect=1
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// Instance bandwidth. default value: 40 MB/s. minimum value: 20 MB/s. maximum value for advanced edition: 360 MB/s. maximum value for pro edition: 100000 MB/s. standard version fixed bandwidth specifications: 40 MB/s, 100 MB/s, 150 MB/s. view billing specifications through the following link: https://www.tencentcloud.comom/document/product/597/11745.?from_cn_redirect=1
BandWidth *int64 `json:"BandWidth,omitnil,omitempty" name:"BandWidth"`
// Partition size. if it does not match the console specification ratio, creation will fail. default value is 800, step length is 100. billing specifications can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Tag.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Specifies the disk type for a pro/advanced edition instance. you do not need to fill it in for a standard edition instance. valid values: "CLOUD_SSD" for SSD CLOUD disk; "CLOUD_BASIC" for high-performance CLOUD block storage. default value: "CLOUD_BASIC".
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Specifies whether to create a cross-az instance. when the current parameter is true, zoneIds is required.
MultiZoneFlag *bool `json:"MultiZoneFlag,omitnil,omitempty" name:"MultiZoneFlag"`
// Availability zone list. required item when purchasing a multi-availability zone instance.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Public network bandwidth size, in Mbps. the default is no free 3 Mbps bandwidth. for example, for a total of 3 Mbps public network bandwidth, pass 0 here; for a total of 6 Mbps public network bandwidth, pass 3 here. default value is 0. ensure the input parameter is a multiple of 3.
PublicNetworkMonthly *int64 `json:"PublicNetworkMonthly,omitnil,omitempty" name:"PublicNetworkMonthly"`
// Number of instances to purchase. optional. default value is 1. when you input this parameter, it enables the creation of multiple instances with case-sensitive suffixes added to instanceName.
InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"`
// Whether to automatically select a voucher. valid values: 1 (yes), 0 (no). default is 0.
AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// Elastic bandwidth switch. specifies whether to enable elastic bandwidth. valid values: 0 (not enabled, default), 1 (enabled).
ElasticBandwidthSwitch *int64 `json:"ElasticBandwidthSwitch,omitnil,omitempty" name:"ElasticBandwidthSwitch"`
}
func NewCreateInstancePreRequest ¶
func NewCreateInstancePreRequest() (request *CreateInstancePreRequest)
func (*CreateInstancePreRequest) FromJsonString ¶
func (r *CreateInstancePreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancePreRequest) ToJsonString ¶
func (r *CreateInstancePreRequest) ToJsonString() string
type CreateInstancePreRequestParams ¶
type CreateInstancePreRequestParams struct {
// Specifies the ckafka cluster instance Name, an arbitrary string with length no more than 128 characters.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Availability zone. when purchasing a multi-availability zone instance, this parameter specifies the primary az. [view availability zones](https://www.tencentcloud.comom/document/product/597/55246?from_cn_redirect=1).
ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Prepaid purchase duration, such as "1m", exactly one month. value ranges from 1m to 36m.
Period *string `json:"Period,omitnil,omitempty" name:"Period"`
// Specifies the standard edition instance specification for the international site. currently only the international site standard edition uses the current field to distinguish specifications, while the domestic site standard edition distinguishes specifications by peak bandwidth. fill in 1 for all instances except the international site standard edition. for international site standard edition instances: [entry-level (general)] fill 1; [standard type (standard)] fill 2; [advanced] fill 3; [capacity type (capacity)] fill 4; [advanced type 1 (specialized-1)] fill 5; [advanced type 2 (specialized-2)] fill 6; [advanced type 3 (specialized-3)] fill 7; [advanced type 4 (specialized-4)] fill 8.
InstanceType *int64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// VPC Id.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet ID
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Optional. maximum retention time of instance logs, in minutes. default value: 1440 (1 day). value range: 1 minute to 90 days.
MsgRetentionTime *int64 `json:"MsgRetentionTime,omitnil,omitempty" name:"MsgRetentionTime"`
// Specifies the cluster Id when creating an instance.
ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Auto-Renewal tag for prepaid services. valid values: 0 (default state, not set by the user, initial status), 1 (auto-renew), 2 (explicitly no auto-renew, set by the user).
RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
// Specifies the CKafka version number. valid values: 2.4.1, 2.4.2, 2.8.1, 3.2.3. default value 2.4.1. 2.4.1 and 2.4.2 belong to the same version. any can be passed.
KafkaVersion *string `json:"KafkaVersion,omitnil,omitempty" name:"KafkaVersion"`
// Specifies the instance type. valid values: standard (default), profession, premium.
SpecificationsType *string `json:"SpecificationsType,omitnil,omitempty" name:"SpecificationsType"`
// Disk size. if it does not match the console specification ratio, the creation cannot succeed. default value is 500. step length is set to 100. can be accessed through the following link: https://www.tencentcloud.comom/document/product/597/122562.?from_cn_redirect=1
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// Instance bandwidth. default value: 40 MB/s. minimum value: 20 MB/s. maximum value for advanced edition: 360 MB/s. maximum value for pro edition: 100000 MB/s. standard version fixed bandwidth specifications: 40 MB/s, 100 MB/s, 150 MB/s. view billing specifications through the following link: https://www.tencentcloud.comom/document/product/597/11745.?from_cn_redirect=1
BandWidth *int64 `json:"BandWidth,omitnil,omitempty" name:"BandWidth"`
// Partition size. if it does not match the console specification ratio, creation will fail. default value is 800, step length is 100. billing specifications can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Tag.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Specifies the disk type for a pro/advanced edition instance. you do not need to fill it in for a standard edition instance. valid values: "CLOUD_SSD" for SSD CLOUD disk; "CLOUD_BASIC" for high-performance CLOUD block storage. default value: "CLOUD_BASIC".
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Specifies whether to create a cross-az instance. when the current parameter is true, zoneIds is required.
MultiZoneFlag *bool `json:"MultiZoneFlag,omitnil,omitempty" name:"MultiZoneFlag"`
// Availability zone list. required item when purchasing a multi-availability zone instance.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Public network bandwidth size, in Mbps. the default is no free 3 Mbps bandwidth. for example, for a total of 3 Mbps public network bandwidth, pass 0 here; for a total of 6 Mbps public network bandwidth, pass 3 here. default value is 0. ensure the input parameter is a multiple of 3.
PublicNetworkMonthly *int64 `json:"PublicNetworkMonthly,omitnil,omitempty" name:"PublicNetworkMonthly"`
// Number of instances to purchase. optional. default value is 1. when you input this parameter, it enables the creation of multiple instances with case-sensitive suffixes added to instanceName.
InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"`
// Whether to automatically select a voucher. valid values: 1 (yes), 0 (no). default is 0.
AutoVoucher *int64 `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// Elastic bandwidth switch. specifies whether to enable elastic bandwidth. valid values: 0 (not enabled, default), 1 (enabled).
ElasticBandwidthSwitch *int64 `json:"ElasticBandwidthSwitch,omitnil,omitempty" name:"ElasticBandwidthSwitch"`
}
Predefined struct for user
type CreateInstancePreResp ¶
type CreateInstancePreResp struct {
// Returned code. 0: Normal; other values: Error.
ReturnCode *string `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`
// The message indicating whether the operation is successful.
ReturnMessage *string `json:"ReturnMessage,omitnil,omitempty" name:"ReturnMessage"`
// Specifies the Data returned by the operation.
Data *CreateInstancePreData `json:"Data,omitnil,omitempty" name:"Data"`
// Deletion time. This parameter has been deprecated and will be deleted. Note: This field may return null, indicating that no valid values can be obtained.
//
// Deprecated: DeleteRouteTimestamp is deprecated.
DeleteRouteTimestamp *string `json:"DeleteRouteTimestamp,omitnil,omitempty" name:"DeleteRouteTimestamp"`
}
type CreateInstancePreResponse ¶
type CreateInstancePreResponse struct {
*tchttp.BaseResponse
Response *CreateInstancePreResponseParams `json:"Response"`
}
func NewCreateInstancePreResponse ¶
func NewCreateInstancePreResponse() (response *CreateInstancePreResponse)
func (*CreateInstancePreResponse) FromJsonString ¶
func (r *CreateInstancePreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateInstancePreResponse) ToJsonString ¶
func (r *CreateInstancePreResponse) ToJsonString() string
type CreateInstancePreResponseParams ¶
type CreateInstancePreResponseParams struct {
// Returned result.
Result *CreateInstancePreResp `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 CreatePartitionRequest ¶
type CreatePartitionRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic partition count. the input parameter is the number of partitions after modification rather than adding partitions. therefore, the input parameter must exceed the current topic partition count.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
}
func NewCreatePartitionRequest ¶
func NewCreatePartitionRequest() (request *CreatePartitionRequest)
func (*CreatePartitionRequest) FromJsonString ¶
func (r *CreatePartitionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePartitionRequest) ToJsonString ¶
func (r *CreatePartitionRequest) ToJsonString() string
type CreatePartitionRequestParams ¶
type CreatePartitionRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic partition count. the input parameter is the number of partitions after modification rather than adding partitions. therefore, the input parameter must exceed the current topic partition count.
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
}
Predefined struct for user
type CreatePartitionResponse ¶
type CreatePartitionResponse struct {
*tchttp.BaseResponse
Response *CreatePartitionResponseParams `json:"Response"`
}
func NewCreatePartitionResponse ¶
func NewCreatePartitionResponse() (response *CreatePartitionResponse)
func (*CreatePartitionResponse) FromJsonString ¶
func (r *CreatePartitionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePartitionResponse) ToJsonString ¶
func (r *CreatePartitionResponse) ToJsonString() string
type CreatePartitionResponseParams ¶
type CreatePartitionResponseParams struct {
// Returned result set
Result *JgwOperateResponse `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 CreatePostPaidInstanceRequest ¶
type CreatePostPaidInstanceRequest struct {
*tchttp.BaseRequest
// VPC Id, obtain through the API [DescribeVpcs](https://www.tencentcloud.comom/document/product/215/15778?from_cn_redirect=1).
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet Id. can be obtained through the [DescribeSubnets](https://www.tencentcloud.comom/document/product/215/15784?from_cn_redirect=1) api.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Specifies the cluster instance name of ckafka, an arbitrary character with length not exceeding 128.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Specifies the standard edition instance specification for the international site. currently only the international site standard edition uses the current field to distinguish specifications, while the domestic site standard edition distinguishes specifications by peak bandwidth. fill in 1 for all instances except the international site standard edition. for international site standard edition instances: [entry-level (general)] fill 1; [standard type (standard)] fill 2; [advanced] fill 3; [capacity type (capacity)] fill 4; [advanced type 1 (specialized-1)] fill 5; [advanced type 2 (specialized-2)] fill 6; [advanced type 3 (specialized-3)] fill 7; [advanced type 4 (specialized-4)] fill 8.
InstanceType *int64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// The maximum instance log retention period in minutes by default. If this parameter is left empty, the default retention period is 1,440 minutes (1 day) to 30 days. If the message retention period of the topic is explicitly set, it will prevail.
MsgRetentionTime *int64 `json:"MsgRetentionTime,omitnil,omitempty" name:"MsgRetentionTime"`
// Cluster ID, which can be selected when you create an instance. You don’t need to pass in this parameter if the cluster where the instance resides is not specified.
ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Instance version. currently supports "2.4.1", "2.4.2", "2.8.1", "3.2.3". default value "2.4.1". "2.4.1" and "2.4.2" belong to the same version. any one can be passed.
KafkaVersion *string `json:"KafkaVersion,omitnil,omitempty" name:"KafkaVersion"`
// Instance type. "standard": standard version. "profession": pro edition. (standard version is only supported on the international site. currently, the chinese site supports pro edition.).
SpecificationsType *string `json:"SpecificationsType,omitnil,omitempty" name:"SpecificationsType"`
// Specifies the disk type for a pro edition instance. you do not need to fill it in for a standard edition instance. valid values: "CLOUD_SSD" for SSD CLOUD disk; "CLOUD_BASIC" for high-performance CLOUD block storage. default value: "CLOUD_BASIC".
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Specifies the peak bandwidth of the instance private network, with a default value of 40 MB/s. for standard version, input the peak bandwidth corresponding to the current instance specifications. note that if the instance created is a pro edition instance, parameter configuration such as peak bandwidth and number of partitions should meet the billing specification of the professional edition. view billing specifications through the following link: https://www.tencentcloud.comom/document/product/597/11745.?from_cn_redirect=1
BandWidth *int64 `json:"BandWidth,omitnil,omitempty" name:"BandWidth"`
// Instance disk size. default value is 500. step length is set to 100. should meet the billing specification of the current instance. can be accessed through the following link: https://www.tencentcloud.comom/document/product/597/122562.?from_cn_redirect=1
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// Specifies the maximum number of partitions for the instance, which should meet the billing specification of the current instance. default value is 800 with a step length of 100. the billing specification can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Maximum number of topics for the instance should meet the billing specification of the current instance. default value is 800, step length is set to 100.
TopicNum *int64 `json:"TopicNum,omitnil,omitempty" name:"TopicNum"`
// Specifies the availability zone of the instance. when creating a multi-az instance, this parameter is the availability zone id of the subnet where the default access point is created. ZoneId and ZoneIds cannot be empty at the same time. obtain through the API [DescribeCkafkaZone](https://www.tencentcloud.comom/document/product/597/55246?from_cn_redirect=1).
ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Whether the current instance is a multi-AZ instance
MultiZoneFlag *bool `json:"MultiZoneFlag,omitnil,omitempty" name:"MultiZoneFlag"`
// Specifies the multi-az id list when the instance is a multi-az instance. note that the multi-az corresponding to parameter ZoneId must be included in this parameter array. ZoneId and ZoneIds cannot be empty at the same time. you can obtain this information through the [DescribeCkafkaZone](https://www.tencentcloud.comom/document/product/597/55246?from_cn_redirect=1) api.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// The number of purchased instances. Default value: `1`. This parameter is optional. If it is passed in, multiple instances will be created, with their names being `instanceName` plus different suffixes.
InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"`
// Public network bandwidth in Mbps. The 3 Mbps of free bandwidth is not included here by default. For example, if you need 3 Mbps of public network bandwidth, pass in `0`; if you need 6 Mbps, pass in `3`. The value must be an integer multiple of 3.
PublicNetworkMonthly *int64 `json:"PublicNetworkMonthly,omitnil,omitempty" name:"PublicNetworkMonthly"`
// Tag.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Elastic bandwidth switch. valid values: 0 (disable, default), 1 (enable).
ElasticBandwidthSwitch *int64 `json:"ElasticBandwidthSwitch,omitnil,omitempty" name:"ElasticBandwidthSwitch"`
}
func NewCreatePostPaidInstanceRequest ¶
func NewCreatePostPaidInstanceRequest() (request *CreatePostPaidInstanceRequest)
func (*CreatePostPaidInstanceRequest) FromJsonString ¶
func (r *CreatePostPaidInstanceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePostPaidInstanceRequest) ToJsonString ¶
func (r *CreatePostPaidInstanceRequest) ToJsonString() string
type CreatePostPaidInstanceRequestParams ¶
type CreatePostPaidInstanceRequestParams struct {
// VPC Id, obtain through the API [DescribeVpcs](https://www.tencentcloud.comom/document/product/215/15778?from_cn_redirect=1).
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet Id. can be obtained through the [DescribeSubnets](https://www.tencentcloud.comom/document/product/215/15784?from_cn_redirect=1) api.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Specifies the cluster instance name of ckafka, an arbitrary character with length not exceeding 128.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Specifies the standard edition instance specification for the international site. currently only the international site standard edition uses the current field to distinguish specifications, while the domestic site standard edition distinguishes specifications by peak bandwidth. fill in 1 for all instances except the international site standard edition. for international site standard edition instances: [entry-level (general)] fill 1; [standard type (standard)] fill 2; [advanced] fill 3; [capacity type (capacity)] fill 4; [advanced type 1 (specialized-1)] fill 5; [advanced type 2 (specialized-2)] fill 6; [advanced type 3 (specialized-3)] fill 7; [advanced type 4 (specialized-4)] fill 8.
InstanceType *int64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// The maximum instance log retention period in minutes by default. If this parameter is left empty, the default retention period is 1,440 minutes (1 day) to 30 days. If the message retention period of the topic is explicitly set, it will prevail.
MsgRetentionTime *int64 `json:"MsgRetentionTime,omitnil,omitempty" name:"MsgRetentionTime"`
// Cluster ID, which can be selected when you create an instance. You don’t need to pass in this parameter if the cluster where the instance resides is not specified.
ClusterId *int64 `json:"ClusterId,omitnil,omitempty" name:"ClusterId"`
// Instance version. currently supports "2.4.1", "2.4.2", "2.8.1", "3.2.3". default value "2.4.1". "2.4.1" and "2.4.2" belong to the same version. any one can be passed.
KafkaVersion *string `json:"KafkaVersion,omitnil,omitempty" name:"KafkaVersion"`
// Instance type. "standard": standard version. "profession": pro edition. (standard version is only supported on the international site. currently, the chinese site supports pro edition.).
SpecificationsType *string `json:"SpecificationsType,omitnil,omitempty" name:"SpecificationsType"`
// Specifies the disk type for a pro edition instance. you do not need to fill it in for a standard edition instance. valid values: "CLOUD_SSD" for SSD CLOUD disk; "CLOUD_BASIC" for high-performance CLOUD block storage. default value: "CLOUD_BASIC".
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Specifies the peak bandwidth of the instance private network, with a default value of 40 MB/s. for standard version, input the peak bandwidth corresponding to the current instance specifications. note that if the instance created is a pro edition instance, parameter configuration such as peak bandwidth and number of partitions should meet the billing specification of the professional edition. view billing specifications through the following link: https://www.tencentcloud.comom/document/product/597/11745.?from_cn_redirect=1
BandWidth *int64 `json:"BandWidth,omitnil,omitempty" name:"BandWidth"`
// Instance disk size. default value is 500. step length is set to 100. should meet the billing specification of the current instance. can be accessed through the following link: https://www.tencentcloud.comom/document/product/597/122562.?from_cn_redirect=1
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// Specifies the maximum number of partitions for the instance, which should meet the billing specification of the current instance. default value is 800 with a step length of 100. the billing specification can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Maximum number of topics for the instance should meet the billing specification of the current instance. default value is 800, step length is set to 100.
TopicNum *int64 `json:"TopicNum,omitnil,omitempty" name:"TopicNum"`
// Specifies the availability zone of the instance. when creating a multi-az instance, this parameter is the availability zone id of the subnet where the default access point is created. ZoneId and ZoneIds cannot be empty at the same time. obtain through the API [DescribeCkafkaZone](https://www.tencentcloud.comom/document/product/597/55246?from_cn_redirect=1).
ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Whether the current instance is a multi-AZ instance
MultiZoneFlag *bool `json:"MultiZoneFlag,omitnil,omitempty" name:"MultiZoneFlag"`
// Specifies the multi-az id list when the instance is a multi-az instance. note that the multi-az corresponding to parameter ZoneId must be included in this parameter array. ZoneId and ZoneIds cannot be empty at the same time. you can obtain this information through the [DescribeCkafkaZone](https://www.tencentcloud.comom/document/product/597/55246?from_cn_redirect=1) api.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// The number of purchased instances. Default value: `1`. This parameter is optional. If it is passed in, multiple instances will be created, with their names being `instanceName` plus different suffixes.
InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"`
// Public network bandwidth in Mbps. The 3 Mbps of free bandwidth is not included here by default. For example, if you need 3 Mbps of public network bandwidth, pass in `0`; if you need 6 Mbps, pass in `3`. The value must be an integer multiple of 3.
PublicNetworkMonthly *int64 `json:"PublicNetworkMonthly,omitnil,omitempty" name:"PublicNetworkMonthly"`
// Tag.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Elastic bandwidth switch. valid values: 0 (disable, default), 1 (enable).
ElasticBandwidthSwitch *int64 `json:"ElasticBandwidthSwitch,omitnil,omitempty" name:"ElasticBandwidthSwitch"`
}
Predefined struct for user
type CreatePostPaidInstanceResponse ¶
type CreatePostPaidInstanceResponse struct {
*tchttp.BaseResponse
Response *CreatePostPaidInstanceResponseParams `json:"Response"`
}
func NewCreatePostPaidInstanceResponse ¶
func NewCreatePostPaidInstanceResponse() (response *CreatePostPaidInstanceResponse)
func (*CreatePostPaidInstanceResponse) FromJsonString ¶
func (r *CreatePostPaidInstanceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePostPaidInstanceResponse) ToJsonString ¶
func (r *CreatePostPaidInstanceResponse) ToJsonString() string
type CreatePostPaidInstanceResponseParams ¶
type CreatePostPaidInstanceResponseParams struct {
// Returned result
Result *CreateInstancePostResp `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 CreateRouteRequest ¶
type CreateRouteRequest struct {
*tchttp.BaseRequest
// <p>Specifies the ckafka cluster instance id. obtain through the API <a href="https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1">DescribeInstances</a>.</p>.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// <P>Specifies the network type of the route (3: vpc routing; 7: internal support route; 1: public network route).</p>.
VipType *int64 `json:"VipType,omitnil,omitempty" name:"VipType"`
// <p>vpc network Id. required when vipType is 3.</p>.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// <p>Specifies the vpc subnet id. required when vipType is 3.</p>.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// <p>Access type: 0-plaintext; 1-sasl_plaintext; 3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512. defaults to 0. when vipType=3, supports 0,1,3,4,5. when vipType=7, supports 0,1,3. when vipType=1, supports 1,3.</p>.
AccessType *int64 `json:"AccessType,omitnil,omitempty" name:"AccessType"`
// <P>Specifies whether access management is required. this field has been deprecated.</p>.
AuthFlag *int64 `json:"AuthFlag,omitnil,omitempty" name:"AuthFlag"`
// <p>Specifies the caller appId.</p>.
CallerAppid *int64 `json:"CallerAppid,omitnil,omitempty" name:"CallerAppid"`
// <P>Public network bandwidth. required for public network route. must be a multiple of 3. no default value.</p>.
PublicNetwork *int64 `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"`
// <p>vip address.</p>.
Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`
// <P>Specifies the remark information.</p>.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// <P>Specifies the ordered list of security group associations.</p>.
SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}
func NewCreateRouteRequest ¶
func NewCreateRouteRequest() (request *CreateRouteRequest)
func (*CreateRouteRequest) FromJsonString ¶
func (r *CreateRouteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRouteRequest) ToJsonString ¶
func (r *CreateRouteRequest) ToJsonString() string
type CreateRouteRequestParams ¶
type CreateRouteRequestParams struct {
// <p>Specifies the ckafka cluster instance id. obtain through the API <a href="https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1">DescribeInstances</a>.</p>.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// <P>Specifies the network type of the route (3: vpc routing; 7: internal support route; 1: public network route).</p>.
VipType *int64 `json:"VipType,omitnil,omitempty" name:"VipType"`
// <p>vpc network Id. required when vipType is 3.</p>.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// <p>Specifies the vpc subnet id. required when vipType is 3.</p>.
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// <p>Access type: 0-plaintext; 1-sasl_plaintext; 3-sasl_ssl; 4-sasl_scram_sha_256; 5-sasl_scram_sha_512. defaults to 0. when vipType=3, supports 0,1,3,4,5. when vipType=7, supports 0,1,3. when vipType=1, supports 1,3.</p>.
AccessType *int64 `json:"AccessType,omitnil,omitempty" name:"AccessType"`
// <P>Specifies whether access management is required. this field has been deprecated.</p>.
AuthFlag *int64 `json:"AuthFlag,omitnil,omitempty" name:"AuthFlag"`
// <p>Specifies the caller appId.</p>.
CallerAppid *int64 `json:"CallerAppid,omitnil,omitempty" name:"CallerAppid"`
// <P>Public network bandwidth. required for public network route. must be a multiple of 3. no default value.</p>.
PublicNetwork *int64 `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"`
// <p>vip address.</p>.
Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`
// <P>Specifies the remark information.</p>.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// <P>Specifies the ordered list of security group associations.</p>.
SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
}
Predefined struct for user
type CreateRouteResponse ¶
type CreateRouteResponse struct {
*tchttp.BaseResponse
Response *CreateRouteResponseParams `json:"Response"`
}
func NewCreateRouteResponse ¶
func NewCreateRouteResponse() (response *CreateRouteResponse)
func (*CreateRouteResponse) FromJsonString ¶
func (r *CreateRouteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRouteResponse) ToJsonString ¶
func (r *CreateRouteResponse) ToJsonString() string
type CreateRouteResponseParams ¶
type CreateRouteResponseParams struct {
// <P>Returned result.</p>.
Result *JgwOperateResponse `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 CreateTopicIpWhiteListRequest ¶
type CreateTopicIpWhiteListRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Allowlist list. maximum value is 512. upper limit for incoming ips is 512.
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
}
func NewCreateTopicIpWhiteListRequest ¶
func NewCreateTopicIpWhiteListRequest() (request *CreateTopicIpWhiteListRequest)
func (*CreateTopicIpWhiteListRequest) FromJsonString ¶
func (r *CreateTopicIpWhiteListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicIpWhiteListRequest) ToJsonString ¶
func (r *CreateTopicIpWhiteListRequest) ToJsonString() string
type CreateTopicIpWhiteListRequestParams ¶
type CreateTopicIpWhiteListRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Allowlist list. maximum value is 512. upper limit for incoming ips is 512.
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
}
Predefined struct for user
type CreateTopicIpWhiteListResponse ¶
type CreateTopicIpWhiteListResponse struct {
*tchttp.BaseResponse
Response *CreateTopicIpWhiteListResponseParams `json:"Response"`
}
func NewCreateTopicIpWhiteListResponse ¶
func NewCreateTopicIpWhiteListResponse() (response *CreateTopicIpWhiteListResponse)
func (*CreateTopicIpWhiteListResponse) FromJsonString ¶
func (r *CreateTopicIpWhiteListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicIpWhiteListResponse) ToJsonString ¶
func (r *CreateTopicIpWhiteListResponse) ToJsonString() string
type CreateTopicIpWhiteListResponseParams ¶
type CreateTopicIpWhiteListResponseParams struct {
// Result of deleting topic IP allowlist
Result *JgwOperateResponse `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
// Instance Id. you can obtain it by calling the DescribeInstances api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Can only contain letters, digits, underscores, "-", or ".".
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Number of partitions, which should be greater than 0
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Number of replicas, which cannot be higher than the number of brokers. Maximum value: 3
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
// IP allowlist switch. 1: enabled, 0: disabled. Default value: 0
EnableWhiteList *int64 `json:"EnableWhiteList,omitnil,omitempty" name:"EnableWhiteList"`
// IP allowlist list for quota limit, which is required if `enableWhileList` is 1
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
// Log cleanup policy, which is `delete` by default. `delete`: logs will be deleted by save time; `compact`: logs will be compressed by key; `compact, delete`: logs will be compressed by key and deleted by save time.
CleanUpPolicy *string `json:"CleanUpPolicy,omitnil,omitempty" name:"CleanUpPolicy"`
// Topic remark is a string of no more than 64 characters. the first character can be a letter or digit, and the remaining part can contain letters, digits, and hyphens (-).
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Minimum number of synchronous replicas, defaults to 1.
MinInsyncReplicas *int64 `json:"MinInsyncReplicas,omitnil,omitempty" name:"MinInsyncReplicas"`
// Whether to allow unsynchronized replicas to be elected as leader. valid values: 0 (not allowed), 1 (allowed). default: not allowed.
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Optional parameter. specifies the message retention period in milliseconds. current min value is 60000. default value is 7200000 ms (2 hours). maximum value is 7776000000 ms (90 days).
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Duration of Segment shard scrolling in milliseconds. minimum value is 86400000 ms (1 day).
SegmentMs *int64 `json:"SegmentMs,omitnil,omitempty" name:"SegmentMs"`
// Maximum topic messages in Bytes. value range: 1024 (1 KB) to 12582912 (12 MB).
MaxMessageBytes *int64 `json:"MaxMessageBytes,omitnil,omitempty" name:"MaxMessageBytes"`
// Preset ACL rule. `1`: enable, `0`: disable. Default value: `0`.
EnableAclRule *int64 `json:"EnableAclRule,omitnil,omitempty" name:"EnableAclRule"`
// Name of the preset ACL rule.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
// Optional. retain file size. defaults to -1, unit Byte. current min value is 1073741824.
RetentionBytes *int64 `json:"RetentionBytes,omitnil,omitempty" name:"RetentionBytes"`
// Tag list.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
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 {
// Instance Id. you can obtain it by calling the DescribeInstances api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Can only contain letters, digits, underscores, "-", or ".".
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Number of partitions, which should be greater than 0
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Number of replicas, which cannot be higher than the number of brokers. Maximum value: 3
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
// IP allowlist switch. 1: enabled, 0: disabled. Default value: 0
EnableWhiteList *int64 `json:"EnableWhiteList,omitnil,omitempty" name:"EnableWhiteList"`
// IP allowlist list for quota limit, which is required if `enableWhileList` is 1
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
// Log cleanup policy, which is `delete` by default. `delete`: logs will be deleted by save time; `compact`: logs will be compressed by key; `compact, delete`: logs will be compressed by key and deleted by save time.
CleanUpPolicy *string `json:"CleanUpPolicy,omitnil,omitempty" name:"CleanUpPolicy"`
// Topic remark is a string of no more than 64 characters. the first character can be a letter or digit, and the remaining part can contain letters, digits, and hyphens (-).
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Minimum number of synchronous replicas, defaults to 1.
MinInsyncReplicas *int64 `json:"MinInsyncReplicas,omitnil,omitempty" name:"MinInsyncReplicas"`
// Whether to allow unsynchronized replicas to be elected as leader. valid values: 0 (not allowed), 1 (allowed). default: not allowed.
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Optional parameter. specifies the message retention period in milliseconds. current min value is 60000. default value is 7200000 ms (2 hours). maximum value is 7776000000 ms (90 days).
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Duration of Segment shard scrolling in milliseconds. minimum value is 86400000 ms (1 day).
SegmentMs *int64 `json:"SegmentMs,omitnil,omitempty" name:"SegmentMs"`
// Maximum topic messages in Bytes. value range: 1024 (1 KB) to 12582912 (12 MB).
MaxMessageBytes *int64 `json:"MaxMessageBytes,omitnil,omitempty" name:"MaxMessageBytes"`
// Preset ACL rule. `1`: enable, `0`: disable. Default value: `0`.
EnableAclRule *int64 `json:"EnableAclRule,omitnil,omitempty" name:"EnableAclRule"`
// Name of the preset ACL rule.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
// Optional. retain file size. defaults to -1, unit Byte. current min value is 1073741824.
RetentionBytes *int64 `json:"RetentionBytes,omitnil,omitempty" name:"RetentionBytes"`
// Tag list.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateTopicResp ¶
type CreateTopicResp struct {
// Topic ID
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
}
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 {
// Returned creation result
Result *CreateTopicResp `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 CreateUserRequest ¶
type CreateUserRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// User password
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}
func NewCreateUserRequest ¶
func NewCreateUserRequest() (request *CreateUserRequest)
func (*CreateUserRequest) FromJsonString ¶
func (r *CreateUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserRequest) ToJsonString ¶
func (r *CreateUserRequest) ToJsonString() string
type CreateUserRequestParams ¶
type CreateUserRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Username
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// User password
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}
Predefined struct for user
type CreateUserResponse ¶
type CreateUserResponse struct {
*tchttp.BaseResponse
Response *CreateUserResponseParams `json:"Response"`
}
func NewCreateUserResponse ¶
func NewCreateUserResponse() (response *CreateUserResponse)
func (*CreateUserResponse) FromJsonString ¶
func (r *CreateUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUserResponse) ToJsonString ¶
func (r *CreateUserResponse) ToJsonString() string
type CreateUserResponseParams ¶
type CreateUserResponseParams struct {
// Returned result.
Result *JgwOperateResponse `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 CvmAndIpInfo ¶
type CvmAndIpInfo struct {
// The ckafka cluster instance Id.
CkafkaInstanceId *string `json:"CkafkaInstanceId,omitnil,omitempty" name:"CkafkaInstanceId"`
// CVM instance ID (ins-test) or POD IP (10.0.0.30).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// IP address.
Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`
}
type DatahubTopicDTO ¶
type DatahubTopicDTO struct {
// Name
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic ID
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
// The number of partitions
PartitionNum *uint64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Expiration time in milliseconds.
RetentionMs *uint64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Remarks
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Status (`1`: In use; `2`: Deleting)
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
}
type DatahubTopicResp ¶
type DealInstanceDTO ¶
type DeleteAclRequest ¶
type DeleteAclRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
// ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
Operation *int64 `json:"Operation,omitnil,omitempty" name:"Operation"`
// Permission type (2:DENY, 3:ALLOW). currently ckafka supports ALLOW (equivalent to allowlist), others used when compatible with open-source kafka acl.
PermissionType *int64 `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
// The default value is `*`, which means that any host can access. Currently, CKafka does not support the host as `*`, but the future product based on the open-source Kafka will directly support this
Host *string `json:"Host,omitnil,omitempty" name:"Host"`
// List of users, defaults to User:*, means any User is accessible in the entire region. the current User can only be the User in the list of users.
Principal *string `json:"Principal,omitnil,omitempty" name:"Principal"`
}
func NewDeleteAclRequest ¶
func NewDeleteAclRequest() (request *DeleteAclRequest)
func (*DeleteAclRequest) FromJsonString ¶
func (r *DeleteAclRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAclRequest) ToJsonString ¶
func (r *DeleteAclRequest) ToJsonString() string
type DeleteAclRequestParams ¶
type DeleteAclRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
// ACL operation type (`2`: ALL, `3`: READ, `4`: WRITE, `5`: CREATE, `6`: DELETE, `7`: ALTER, `8`: DESCRIBE, `9`: CLUSTER_ACTION, `10`: DESCRIBE_CONFIGS, `11`: ALTER_CONFIGS, `12`: IDEMPOTENT_WRITE).
Operation *int64 `json:"Operation,omitnil,omitempty" name:"Operation"`
// Permission type (2:DENY, 3:ALLOW). currently ckafka supports ALLOW (equivalent to allowlist), others used when compatible with open-source kafka acl.
PermissionType *int64 `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
// The default value is `*`, which means that any host can access. Currently, CKafka does not support the host as `*`, but the future product based on the open-source Kafka will directly support this
Host *string `json:"Host,omitnil,omitempty" name:"Host"`
// List of users, defaults to User:*, means any User is accessible in the entire region. the current User can only be the User in the list of users.
Principal *string `json:"Principal,omitnil,omitempty" name:"Principal"`
}
Predefined struct for user
type DeleteAclResponse ¶
type DeleteAclResponse struct {
*tchttp.BaseResponse
Response *DeleteAclResponseParams `json:"Response"`
}
func NewDeleteAclResponse ¶
func NewDeleteAclResponse() (response *DeleteAclResponse)
func (*DeleteAclResponse) FromJsonString ¶
func (r *DeleteAclResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAclResponse) ToJsonString ¶
func (r *DeleteAclResponse) ToJsonString() string
type DeleteAclResponseParams ¶
type DeleteAclResponseParams struct {
// Returned result
Result *JgwOperateResponse `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 DeleteInstancePostRequest ¶
type DeleteInstancePostRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewDeleteInstancePostRequest ¶
func NewDeleteInstancePostRequest() (request *DeleteInstancePostRequest)
func (*DeleteInstancePostRequest) FromJsonString ¶
func (r *DeleteInstancePostRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteInstancePostRequest) ToJsonString ¶
func (r *DeleteInstancePostRequest) ToJsonString() string
type DeleteInstancePostRequestParams ¶
type DeleteInstancePostRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type DeleteInstancePostResponse ¶
type DeleteInstancePostResponse struct {
*tchttp.BaseResponse
Response *DeleteInstancePostResponseParams `json:"Response"`
}
func NewDeleteInstancePostResponse ¶
func NewDeleteInstancePostResponse() (response *DeleteInstancePostResponse)
func (*DeleteInstancePostResponse) FromJsonString ¶
func (r *DeleteInstancePostResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteInstancePostResponse) ToJsonString ¶
func (r *DeleteInstancePostResponse) ToJsonString() string
type DeleteInstancePostResponseParams ¶
type DeleteInstancePostResponseParams struct {
// Returned result.
Result *InstanceDeleteResponse `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 DeleteInstancePreRequest ¶
type DeleteInstancePreRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewDeleteInstancePreRequest ¶
func NewDeleteInstancePreRequest() (request *DeleteInstancePreRequest)
func (*DeleteInstancePreRequest) FromJsonString ¶
func (r *DeleteInstancePreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteInstancePreRequest) ToJsonString ¶
func (r *DeleteInstancePreRequest) ToJsonString() string
type DeleteInstancePreRequestParams ¶
type DeleteInstancePreRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type DeleteInstancePreResponse ¶
type DeleteInstancePreResponse struct {
*tchttp.BaseResponse
Response *DeleteInstancePreResponseParams `json:"Response"`
}
func NewDeleteInstancePreResponse ¶
func NewDeleteInstancePreResponse() (response *DeleteInstancePreResponse)
func (*DeleteInstancePreResponse) FromJsonString ¶
func (r *DeleteInstancePreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteInstancePreResponse) ToJsonString ¶
func (r *DeleteInstancePreResponse) ToJsonString() string
type DeleteInstancePreResponseParams ¶
type DeleteInstancePreResponseParams struct {
// Returned result
Result *CreateInstancePreResp `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 DeleteRouteRequest ¶
type DeleteRouteRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Route id, obtain through the API [DescribeRoute](https://www.tencentcloud.comom/document/product/597/45484?from_cn_redirect=1).
RouteId *int64 `json:"RouteId,omitnil,omitempty" name:"RouteId"`
// AppId of the caller.
CallerAppid *int64 `json:"CallerAppid,omitnil,omitempty" name:"CallerAppid"`
// Sets the scheduled deletion time for routes. only public network routes support scheduled deletion. available for any time within the next 24 hours.
DeleteRouteTime *string `json:"DeleteRouteTime,omitnil,omitempty" name:"DeleteRouteTime"`
}
func NewDeleteRouteRequest ¶
func NewDeleteRouteRequest() (request *DeleteRouteRequest)
func (*DeleteRouteRequest) FromJsonString ¶
func (r *DeleteRouteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRouteRequest) ToJsonString ¶
func (r *DeleteRouteRequest) ToJsonString() string
type DeleteRouteRequestParams ¶
type DeleteRouteRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Route id, obtain through the API [DescribeRoute](https://www.tencentcloud.comom/document/product/597/45484?from_cn_redirect=1).
RouteId *int64 `json:"RouteId,omitnil,omitempty" name:"RouteId"`
// AppId of the caller.
CallerAppid *int64 `json:"CallerAppid,omitnil,omitempty" name:"CallerAppid"`
// Sets the scheduled deletion time for routes. only public network routes support scheduled deletion. available for any time within the next 24 hours.
DeleteRouteTime *string `json:"DeleteRouteTime,omitnil,omitempty" name:"DeleteRouteTime"`
}
Predefined struct for user
type DeleteRouteResponse ¶
type DeleteRouteResponse struct {
*tchttp.BaseResponse
Response *DeleteRouteResponseParams `json:"Response"`
}
func NewDeleteRouteResponse ¶
func NewDeleteRouteResponse() (response *DeleteRouteResponse)
func (*DeleteRouteResponse) FromJsonString ¶
func (r *DeleteRouteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRouteResponse) ToJsonString ¶
func (r *DeleteRouteResponse) ToJsonString() string
type DeleteRouteResponseParams ¶
type DeleteRouteResponseParams struct {
// Returned result.
Result *JgwOperateResponse `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 DeleteRouteTriggerTimeRequest ¶
type DeleteRouteTriggerTimeRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Modifies the scheduled time for deleting routes.
DelayTime *string `json:"DelayTime,omitnil,omitempty" name:"DelayTime"`
}
func NewDeleteRouteTriggerTimeRequest ¶
func NewDeleteRouteTriggerTimeRequest() (request *DeleteRouteTriggerTimeRequest)
func (*DeleteRouteTriggerTimeRequest) FromJsonString ¶
func (r *DeleteRouteTriggerTimeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRouteTriggerTimeRequest) ToJsonString ¶
func (r *DeleteRouteTriggerTimeRequest) ToJsonString() string
type DeleteRouteTriggerTimeRequestParams ¶
type DeleteRouteTriggerTimeRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Modifies the scheduled time for deleting routes.
DelayTime *string `json:"DelayTime,omitnil,omitempty" name:"DelayTime"`
}
Predefined struct for user
type DeleteRouteTriggerTimeResponse ¶
type DeleteRouteTriggerTimeResponse struct {
*tchttp.BaseResponse
Response *DeleteRouteTriggerTimeResponseParams `json:"Response"`
}
func NewDeleteRouteTriggerTimeResponse ¶
func NewDeleteRouteTriggerTimeResponse() (response *DeleteRouteTriggerTimeResponse)
func (*DeleteRouteTriggerTimeResponse) FromJsonString ¶
func (r *DeleteRouteTriggerTimeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRouteTriggerTimeResponse) ToJsonString ¶
func (r *DeleteRouteTriggerTimeResponse) ToJsonString() string
type DeleteRouteTriggerTimeResponseParams ¶
type DeleteRouteTriggerTimeResponseParams 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 DeleteTopicIpWhiteListRequest ¶
type DeleteTopicIpWhiteListRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// IP allowlist list
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
}
func NewDeleteTopicIpWhiteListRequest ¶
func NewDeleteTopicIpWhiteListRequest() (request *DeleteTopicIpWhiteListRequest)
func (*DeleteTopicIpWhiteListRequest) FromJsonString ¶
func (r *DeleteTopicIpWhiteListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicIpWhiteListRequest) ToJsonString ¶
func (r *DeleteTopicIpWhiteListRequest) ToJsonString() string
type DeleteTopicIpWhiteListRequestParams ¶
type DeleteTopicIpWhiteListRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// IP allowlist list
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
}
Predefined struct for user
type DeleteTopicIpWhiteListResponse ¶
type DeleteTopicIpWhiteListResponse struct {
*tchttp.BaseResponse
Response *DeleteTopicIpWhiteListResponseParams `json:"Response"`
}
func NewDeleteTopicIpWhiteListResponse ¶
func NewDeleteTopicIpWhiteListResponse() (response *DeleteTopicIpWhiteListResponse)
func (*DeleteTopicIpWhiteListResponse) FromJsonString ¶
func (r *DeleteTopicIpWhiteListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicIpWhiteListResponse) ToJsonString ¶
func (r *DeleteTopicIpWhiteListResponse) ToJsonString() string
type DeleteTopicIpWhiteListResponseParams ¶
type DeleteTopicIpWhiteListResponseParams struct {
// Result of deleting topic IP allowlist
Result *JgwOperateResponse `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 DeleteTopicRequest ¶
type DeleteTopicRequest struct {
*tchttp.BaseRequest
// CKafka instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// CKafka topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
func NewDeleteTopicRequest ¶
func NewDeleteTopicRequest() (request *DeleteTopicRequest)
func (*DeleteTopicRequest) FromJsonString ¶
func (r *DeleteTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicRequest) ToJsonString ¶
func (r *DeleteTopicRequest) ToJsonString() string
type DeleteTopicRequestParams ¶
type DeleteTopicRequestParams struct {
// CKafka instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// CKafka topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
Predefined struct for user
type DeleteTopicResponse ¶
type DeleteTopicResponse struct {
*tchttp.BaseResponse
Response *DeleteTopicResponseParams `json:"Response"`
}
func NewDeleteTopicResponse ¶
func NewDeleteTopicResponse() (response *DeleteTopicResponse)
func (*DeleteTopicResponse) FromJsonString ¶
func (r *DeleteTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicResponse) ToJsonString ¶
func (r *DeleteTopicResponse) ToJsonString() string
type DeleteTopicResponseParams ¶
type DeleteTopicResponseParams struct {
// Returned result set
Result *JgwOperateResponse `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 DeleteUserRequest ¶
type DeleteUserRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the username, which can be obtained through the [DescribeUser](https://www.tencentcloud.comom/document/product/597/40855?from_cn_redirect=1) api.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}
func NewDeleteUserRequest ¶
func NewDeleteUserRequest() (request *DeleteUserRequest)
func (*DeleteUserRequest) FromJsonString ¶
func (r *DeleteUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserRequest) ToJsonString ¶
func (r *DeleteUserRequest) ToJsonString() string
type DeleteUserRequestParams ¶
type DeleteUserRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the username, which can be obtained through the [DescribeUser](https://www.tencentcloud.comom/document/product/597/40855?from_cn_redirect=1) api.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}
Predefined struct for user
type DeleteUserResponse ¶
type DeleteUserResponse struct {
*tchttp.BaseResponse
Response *DeleteUserResponseParams `json:"Response"`
}
func NewDeleteUserResponse ¶
func NewDeleteUserResponse() (response *DeleteUserResponse)
func (*DeleteUserResponse) FromJsonString ¶
func (r *DeleteUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteUserResponse) ToJsonString ¶
func (r *DeleteUserResponse) ToJsonString() string
type DeleteUserResponseParams ¶
type DeleteUserResponseParams struct {
// Returned result
Result *JgwOperateResponse `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 DescribeACLRequest ¶
type DescribeACLRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
// Offset position
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number limit. default value is 50. maximum value is 50.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Keyword match
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}
func NewDescribeACLRequest ¶
func NewDescribeACLRequest() (request *DescribeACLRequest)
func (*DescribeACLRequest) FromJsonString ¶
func (r *DescribeACLRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeACLRequest) ToJsonString ¶
func (r *DescribeACLRequest) ToJsonString() string
type DescribeACLRequestParams ¶
type DescribeACLRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL resource type (`2`: TOPIC, `3`: GROUP, `4`: CLUSTER).
ResourceType *int64 `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`
// Resource name, which is related to `resourceType`. For example, if `resourceType` is `TOPIC`, this field indicates the topic name; if `resourceType` is `GROUP`, this field indicates the group name; if `resourceType` is `CLUSTER`, this field can be left empty.
ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`
// Offset position
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number limit. default value is 50. maximum value is 50.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Keyword match
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}
Predefined struct for user
type DescribeACLResponse ¶
type DescribeACLResponse struct {
*tchttp.BaseResponse
Response *DescribeACLResponseParams `json:"Response"`
}
func NewDescribeACLResponse ¶
func NewDescribeACLResponse() (response *DescribeACLResponse)
func (*DescribeACLResponse) FromJsonString ¶
func (r *DescribeACLResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeACLResponse) ToJsonString ¶
func (r *DescribeACLResponse) ToJsonString() string
type DescribeACLResponseParams ¶
type DescribeACLResponseParams struct {
// Returned ACL result set object
Result *AclResponse `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 DescribeAclRuleRequest ¶
type DescribeAclRuleRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL rule name
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
// ACL rule-based matching type (PREFIXED: prefix match, PRESET: PRESET policy).
PatternType *string `json:"PatternType,omitnil,omitempty" name:"PatternType"`
// Specifies whether to read the simplified ACL rule. default value is false, which means not to read the simplified ACL rule.
IsSimplified *bool `json:"IsSimplified,omitnil,omitempty" name:"IsSimplified"`
}
func NewDescribeAclRuleRequest ¶
func NewDescribeAclRuleRequest() (request *DescribeAclRuleRequest)
func (*DescribeAclRuleRequest) FromJsonString ¶
func (r *DescribeAclRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAclRuleRequest) ToJsonString ¶
func (r *DescribeAclRuleRequest) ToJsonString() string
type DescribeAclRuleRequestParams ¶
type DescribeAclRuleRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL rule name
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
// ACL rule-based matching type (PREFIXED: prefix match, PRESET: PRESET policy).
PatternType *string `json:"PatternType,omitnil,omitempty" name:"PatternType"`
// Specifies whether to read the simplified ACL rule. default value is false, which means not to read the simplified ACL rule.
IsSimplified *bool `json:"IsSimplified,omitnil,omitempty" name:"IsSimplified"`
}
Predefined struct for user
type DescribeAclRuleResponse ¶
type DescribeAclRuleResponse struct {
*tchttp.BaseResponse
Response *DescribeAclRuleResponseParams `json:"Response"`
}
func NewDescribeAclRuleResponse ¶
func NewDescribeAclRuleResponse() (response *DescribeAclRuleResponse)
func (*DescribeAclRuleResponse) FromJsonString ¶
func (r *DescribeAclRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAclRuleResponse) ToJsonString ¶
func (r *DescribeAclRuleResponse) ToJsonString() string
type DescribeAclRuleResponseParams ¶
type DescribeAclRuleResponseParams struct {
// The set of returned ACL rules
Result *AclRuleResp `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 DescribeAppInfoRequest ¶
type DescribeAppInfoRequest struct {
*tchttp.BaseRequest
// Offset position
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of users to be queried in this request. Maximum value: 50. Default value: 50
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeAppInfoRequest ¶
func NewDescribeAppInfoRequest() (request *DescribeAppInfoRequest)
func (*DescribeAppInfoRequest) FromJsonString ¶
func (r *DescribeAppInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAppInfoRequest) ToJsonString ¶
func (r *DescribeAppInfoRequest) ToJsonString() string
type DescribeAppInfoRequestParams ¶
type DescribeAppInfoRequestParams struct {
// Offset position
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of users to be queried in this request. Maximum value: 50. Default value: 50
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeAppInfoResponse ¶
type DescribeAppInfoResponse struct {
*tchttp.BaseResponse
Response *DescribeAppInfoResponseParams `json:"Response"`
}
func NewDescribeAppInfoResponse ¶
func NewDescribeAppInfoResponse() (response *DescribeAppInfoResponse)
func (*DescribeAppInfoResponse) FromJsonString ¶
func (r *DescribeAppInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAppInfoResponse) ToJsonString ¶
func (r *DescribeAppInfoResponse) ToJsonString() string
type DescribeAppInfoResponseParams ¶
type DescribeAppInfoResponseParams struct {
// Returned list of eligible `AppId`
Result *AppIdResponse `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 DescribeCkafkaZoneRequest ¶
type DescribeCkafkaZoneRequest struct {
*tchttp.BaseRequest
// cdc cluster Id.
CdcId *string `json:"CdcId,omitnil,omitempty" name:"CdcId"`
}
func NewDescribeCkafkaZoneRequest ¶
func NewDescribeCkafkaZoneRequest() (request *DescribeCkafkaZoneRequest)
func (*DescribeCkafkaZoneRequest) FromJsonString ¶
func (r *DescribeCkafkaZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCkafkaZoneRequest) ToJsonString ¶
func (r *DescribeCkafkaZoneRequest) ToJsonString() string
type DescribeCkafkaZoneRequestParams ¶
type DescribeCkafkaZoneRequestParams struct {
// cdc cluster Id.
CdcId *string `json:"CdcId,omitnil,omitempty" name:"CdcId"`
}
Predefined struct for user
type DescribeCkafkaZoneResponse ¶
type DescribeCkafkaZoneResponse struct {
*tchttp.BaseResponse
Response *DescribeCkafkaZoneResponseParams `json:"Response"`
}
func NewDescribeCkafkaZoneResponse ¶
func NewDescribeCkafkaZoneResponse() (response *DescribeCkafkaZoneResponse)
func (*DescribeCkafkaZoneResponse) FromJsonString ¶
func (r *DescribeCkafkaZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCkafkaZoneResponse) ToJsonString ¶
func (r *DescribeCkafkaZoneResponse) ToJsonString() string
type DescribeCkafkaZoneResponseParams ¶
type DescribeCkafkaZoneResponseParams struct {
// Returned results for the query
Result *ZoneResponse `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 DescribeConnectInfoResultDTO ¶
type DescribeConnectInfoResultDTO struct {
// IP address
// Note: This field may return null, indicating that no valid values can be obtained.
IpAddr *string `json:"IpAddr,omitnil,omitempty" name:"IpAddr"`
// Connection time
// Note: This field may return null, indicating that no valid values can be obtained.
Time *string `json:"Time,omitnil,omitempty" name:"Time"`
// Specifies whether supported versions are required or not.
IsUnSupportVersion *bool `json:"IsUnSupportVersion,omitnil,omitempty" name:"IsUnSupportVersion"`
}
type DescribeConsumerGroupRequest ¶
type DescribeConsumerGroupRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the group name you want to query.
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// Specifies the corresponding topic name in the group to be queried by the user. if this parameter is specified while the group is unspecified, ignore this parameter.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Returns the limit quantity of the consumption group. supports a maximum of 50.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Specifies the starting offset amount of the consumer group list.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
func NewDescribeConsumerGroupRequest ¶
func NewDescribeConsumerGroupRequest() (request *DescribeConsumerGroupRequest)
func (*DescribeConsumerGroupRequest) FromJsonString ¶
func (r *DescribeConsumerGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerGroupRequest) ToJsonString ¶
func (r *DescribeConsumerGroupRequest) ToJsonString() string
type DescribeConsumerGroupRequestParams ¶
type DescribeConsumerGroupRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the group name you want to query.
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// Specifies the corresponding topic name in the group to be queried by the user. if this parameter is specified while the group is unspecified, ignore this parameter.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Returns the limit quantity of the consumption group. supports a maximum of 50.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Specifies the starting offset amount of the consumer group list.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
Predefined struct for user
type DescribeConsumerGroupResponse ¶
type DescribeConsumerGroupResponse struct {
*tchttp.BaseResponse
Response *DescribeConsumerGroupResponseParams `json:"Response"`
}
func NewDescribeConsumerGroupResponse ¶
func NewDescribeConsumerGroupResponse() (response *DescribeConsumerGroupResponse)
func (*DescribeConsumerGroupResponse) FromJsonString ¶
func (r *DescribeConsumerGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConsumerGroupResponse) ToJsonString ¶
func (r *DescribeConsumerGroupResponse) ToJsonString() string
type DescribeConsumerGroupResponseParams ¶
type DescribeConsumerGroupResponseParams struct {
// Returned consumer group information
Result *ConsumerGroupResponse `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 DescribeCvmInfoRequest ¶
type DescribeCvmInfoRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewDescribeCvmInfoRequest ¶
func NewDescribeCvmInfoRequest() (request *DescribeCvmInfoRequest)
func (*DescribeCvmInfoRequest) FromJsonString ¶
func (r *DescribeCvmInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCvmInfoRequest) ToJsonString ¶
func (r *DescribeCvmInfoRequest) ToJsonString() string
type DescribeCvmInfoRequestParams ¶
type DescribeCvmInfoRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type DescribeCvmInfoResponse ¶
type DescribeCvmInfoResponse struct {
*tchttp.BaseResponse
Response *DescribeCvmInfoResponseParams `json:"Response"`
}
func NewDescribeCvmInfoResponse ¶
func NewDescribeCvmInfoResponse() (response *DescribeCvmInfoResponse)
func (*DescribeCvmInfoResponse) FromJsonString ¶
func (r *DescribeCvmInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCvmInfoResponse) ToJsonString ¶
func (r *DescribeCvmInfoResponse) ToJsonString() string
type DescribeCvmInfoResponseParams ¶
type DescribeCvmInfoResponseParams struct {
// Returned result.
Result *ListCvmAndIpInfoRsp `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 DescribeDatahubTopicRequest ¶
type DescribeDatahubTopicRequest struct {
*tchttp.BaseRequest
// Elastic topic name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}
func NewDescribeDatahubTopicRequest ¶
func NewDescribeDatahubTopicRequest() (request *DescribeDatahubTopicRequest)
func (*DescribeDatahubTopicRequest) FromJsonString ¶
func (r *DescribeDatahubTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatahubTopicRequest) ToJsonString ¶
func (r *DescribeDatahubTopicRequest) ToJsonString() string
type DescribeDatahubTopicRequestParams ¶
type DescribeDatahubTopicRequestParams struct {
// Elastic topic name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}
Predefined struct for user
type DescribeDatahubTopicResp ¶
type DescribeDatahubTopicResp struct {
// Name
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic ID
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
// The number of partitions
PartitionNum *uint64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Expiration time in milliseconds.
RetentionMs *uint64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Remarks.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Username
UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`
// Password
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// Status (`1`: In use; `2`: Deleting)
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// Specifies the service routing address.
Address *string `json:"Address,omitnil,omitempty" name:"Address"`
}
type DescribeDatahubTopicResponse ¶
type DescribeDatahubTopicResponse struct {
*tchttp.BaseResponse
Response *DescribeDatahubTopicResponseParams `json:"Response"`
}
func NewDescribeDatahubTopicResponse ¶
func NewDescribeDatahubTopicResponse() (response *DescribeDatahubTopicResponse)
func (*DescribeDatahubTopicResponse) FromJsonString ¶
func (r *DescribeDatahubTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatahubTopicResponse) ToJsonString ¶
func (r *DescribeDatahubTopicResponse) ToJsonString() string
type DescribeDatahubTopicResponseParams ¶
type DescribeDatahubTopicResponseParams struct {
// Returned result object
Result *DescribeDatahubTopicResp `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 DescribeDatahubTopicsRequest ¶
type DescribeDatahubTopicsRequest struct {
*tchttp.BaseRequest
// Search term.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Query offset, which defaults to `0`.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of results to be returned in this request. Default value: `50`. Maximum value: `50`.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Specifies whether to query the topic list from the connection.
QueryFromConnectResource *bool `json:"QueryFromConnectResource,omitnil,omitempty" name:"QueryFromConnectResource"`
// Connection ID.
ConnectResourceId *string `json:"ConnectResourceId,omitnil,omitempty" name:"ConnectResourceId"`
// topic resource expression.
TopicRegularExpression *string `json:"TopicRegularExpression,omitnil,omitempty" name:"TopicRegularExpression"`
}
func NewDescribeDatahubTopicsRequest ¶
func NewDescribeDatahubTopicsRequest() (request *DescribeDatahubTopicsRequest)
func (*DescribeDatahubTopicsRequest) FromJsonString ¶
func (r *DescribeDatahubTopicsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatahubTopicsRequest) ToJsonString ¶
func (r *DescribeDatahubTopicsRequest) ToJsonString() string
type DescribeDatahubTopicsRequestParams ¶
type DescribeDatahubTopicsRequestParams struct {
// Search term.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Query offset, which defaults to `0`.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of results to be returned in this request. Default value: `50`. Maximum value: `50`.
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Specifies whether to query the topic list from the connection.
QueryFromConnectResource *bool `json:"QueryFromConnectResource,omitnil,omitempty" name:"QueryFromConnectResource"`
// Connection ID.
ConnectResourceId *string `json:"ConnectResourceId,omitnil,omitempty" name:"ConnectResourceId"`
// topic resource expression.
TopicRegularExpression *string `json:"TopicRegularExpression,omitnil,omitempty" name:"TopicRegularExpression"`
}
Predefined struct for user
type DescribeDatahubTopicsResp ¶
type DescribeDatahubTopicsResp struct {
// Total count
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Topic list.
TopicList []*DatahubTopicDTO `json:"TopicList,omitnil,omitempty" name:"TopicList"`
}
type DescribeDatahubTopicsResponse ¶
type DescribeDatahubTopicsResponse struct {
*tchttp.BaseResponse
Response *DescribeDatahubTopicsResponseParams `json:"Response"`
}
func NewDescribeDatahubTopicsResponse ¶
func NewDescribeDatahubTopicsResponse() (response *DescribeDatahubTopicsResponse)
func (*DescribeDatahubTopicsResponse) FromJsonString ¶
func (r *DescribeDatahubTopicsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatahubTopicsResponse) ToJsonString ¶
func (r *DescribeDatahubTopicsResponse) ToJsonString() string
type DescribeDatahubTopicsResponseParams ¶
type DescribeDatahubTopicsResponseParams struct {
// Topic list.
Result *DescribeDatahubTopicsResp `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 DescribeGroup ¶
type DescribeGroupInfoRequest ¶
type DescribeGroupInfoRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Kafka group list. obtain through the API [DescribeConsumerGroup](https://www.tencentcloud.comom/document/product/597/40841?from_cn_redirect=1).
GroupList []*string `json:"GroupList,omitnil,omitempty" name:"GroupList"`
}
func NewDescribeGroupInfoRequest ¶
func NewDescribeGroupInfoRequest() (request *DescribeGroupInfoRequest)
func (*DescribeGroupInfoRequest) FromJsonString ¶
func (r *DescribeGroupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupInfoRequest) ToJsonString ¶
func (r *DescribeGroupInfoRequest) ToJsonString() string
type DescribeGroupInfoRequestParams ¶
type DescribeGroupInfoRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Kafka group list. obtain through the API [DescribeConsumerGroup](https://www.tencentcloud.comom/document/product/597/40841?from_cn_redirect=1).
GroupList []*string `json:"GroupList,omitnil,omitempty" name:"GroupList"`
}
Predefined struct for user
type DescribeGroupInfoResponse ¶
type DescribeGroupInfoResponse struct {
*tchttp.BaseResponse
Response *DescribeGroupInfoResponseParams `json:"Response"`
}
func NewDescribeGroupInfoResponse ¶
func NewDescribeGroupInfoResponse() (response *DescribeGroupInfoResponse)
func (*DescribeGroupInfoResponse) FromJsonString ¶
func (r *DescribeGroupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupInfoResponse) ToJsonString ¶
func (r *DescribeGroupInfoResponse) ToJsonString() string
type DescribeGroupInfoResponseParams ¶
type DescribeGroupInfoResponseParams struct {
// Returned result.
Result []*GroupInfoResponse `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 DescribeGroupOffsetsRequest ¶
type DescribeGroupOffsetsRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Kafka consumer group
Group *string `json:"Group,omitnil,omitempty" name:"Group"`
// Array of the names of topics subscribed to by a group. If there is no such array, this parameter means the information of all topics in the specified group
Topics []*string `json:"Topics,omitnil,omitempty" name:"Topics"`
// Fuzzy match by `topicName`
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset position of this query. Default value: 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of results to be returned in this request. Default value: 50. Maximum value: 50
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeGroupOffsetsRequest ¶
func NewDescribeGroupOffsetsRequest() (request *DescribeGroupOffsetsRequest)
func (*DescribeGroupOffsetsRequest) FromJsonString ¶
func (r *DescribeGroupOffsetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupOffsetsRequest) ToJsonString ¶
func (r *DescribeGroupOffsetsRequest) ToJsonString() string
type DescribeGroupOffsetsRequestParams ¶
type DescribeGroupOffsetsRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Kafka consumer group
Group *string `json:"Group,omitnil,omitempty" name:"Group"`
// Array of the names of topics subscribed to by a group. If there is no such array, this parameter means the information of all topics in the specified group
Topics []*string `json:"Topics,omitnil,omitempty" name:"Topics"`
// Fuzzy match by `topicName`
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset position of this query. Default value: 0
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of results to be returned in this request. Default value: 50. Maximum value: 50
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeGroupOffsetsResponse ¶
type DescribeGroupOffsetsResponse struct {
*tchttp.BaseResponse
Response *DescribeGroupOffsetsResponseParams `json:"Response"`
}
func NewDescribeGroupOffsetsResponse ¶
func NewDescribeGroupOffsetsResponse() (response *DescribeGroupOffsetsResponse)
func (*DescribeGroupOffsetsResponse) FromJsonString ¶
func (r *DescribeGroupOffsetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupOffsetsResponse) ToJsonString ¶
func (r *DescribeGroupOffsetsResponse) ToJsonString() string
type DescribeGroupOffsetsResponseParams ¶
type DescribeGroupOffsetsResponseParams struct {
// Returned result.
Result *GroupOffsetResponse `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 DescribeGroupRequest ¶
type DescribeGroupRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Search keyword
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of results to be returned
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Only supported for GroupState filter criteria. valid values: Empty, Stable. note: this parameter can only be accessed in versions 2.8/3.2.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeGroupRequest ¶
func NewDescribeGroupRequest() (request *DescribeGroupRequest)
func (*DescribeGroupRequest) FromJsonString ¶
func (r *DescribeGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupRequest) ToJsonString ¶
func (r *DescribeGroupRequest) ToJsonString() string
type DescribeGroupRequestParams ¶
type DescribeGroupRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Search keyword
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Maximum number of results to be returned
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Only supported for GroupState filter criteria. valid values: Empty, Stable. note: this parameter can only be accessed in versions 2.8/3.2.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeGroupResponse ¶
type DescribeGroupResponse struct {
*tchttp.BaseResponse
Response *DescribeGroupResponseParams `json:"Response"`
}
func NewDescribeGroupResponse ¶
func NewDescribeGroupResponse() (response *DescribeGroupResponse)
func (*DescribeGroupResponse) FromJsonString ¶
func (r *DescribeGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupResponse) ToJsonString ¶
func (r *DescribeGroupResponse) ToJsonString() string
type DescribeGroupResponseParams ¶
type DescribeGroupResponseParams struct {
// Returned result.
Result *GroupResponse `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 DescribeInstanceAttributesRequest ¶
type DescribeInstanceAttributesRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewDescribeInstanceAttributesRequest ¶
func NewDescribeInstanceAttributesRequest() (request *DescribeInstanceAttributesRequest)
func (*DescribeInstanceAttributesRequest) FromJsonString ¶
func (r *DescribeInstanceAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceAttributesRequest) ToJsonString ¶
func (r *DescribeInstanceAttributesRequest) ToJsonString() string
type DescribeInstanceAttributesRequestParams ¶
type DescribeInstanceAttributesRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type DescribeInstanceAttributesResponse ¶
type DescribeInstanceAttributesResponse struct {
*tchttp.BaseResponse
Response *DescribeInstanceAttributesResponseParams `json:"Response"`
}
func NewDescribeInstanceAttributesResponse ¶
func NewDescribeInstanceAttributesResponse() (response *DescribeInstanceAttributesResponse)
func (*DescribeInstanceAttributesResponse) FromJsonString ¶
func (r *DescribeInstanceAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstanceAttributesResponse) ToJsonString ¶
func (r *DescribeInstanceAttributesResponse) ToJsonString() string
type DescribeInstanceAttributesResponseParams ¶
type DescribeInstanceAttributesResponseParams struct {
// Returned result object of instance attributes
Result *InstanceAttributesResponse `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 DescribeInstancesDetailRequest ¶
type DescribeInstancesDetailRequest struct {
*tchttp.BaseRequest
// (Filter) filter by instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Filter by instance name, instance ID, AZ, VPC ID, or subnet ID. Fuzzy query is supported.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// (Filter) instance status. 0: creating, 1: running, 2: deleting. If this parameter is left empty, all instances will be returned by default
Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Offset. If this parameter is left empty, `0` will be used by default.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. 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"`
// Tag key match.
TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`
// Filter. Valid values of `filter.Name` include `Ip`, `VpcId`, `SubNetId`, `InstanceType`, and `InstanceId`. Up to 10 values can be passed for `filter.Values`.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// This parameter has been deprecated and replaced with `InstanceIdList`.
InstanceIds *string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
// Filter by instance ID.
InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"`
// Filter instances by a set of tags
TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"`
}
func NewDescribeInstancesDetailRequest ¶
func NewDescribeInstancesDetailRequest() (request *DescribeInstancesDetailRequest)
func (*DescribeInstancesDetailRequest) FromJsonString ¶
func (r *DescribeInstancesDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDetailRequest) ToJsonString ¶
func (r *DescribeInstancesDetailRequest) ToJsonString() string
type DescribeInstancesDetailRequestParams ¶
type DescribeInstancesDetailRequestParams struct {
// (Filter) filter by instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Filter by instance name, instance ID, AZ, VPC ID, or subnet ID. Fuzzy query is supported.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// (Filter) instance status. 0: creating, 1: running, 2: deleting. If this parameter is left empty, all instances will be returned by default
Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Offset. If this parameter is left empty, `0` will be used by default.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. 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"`
// Tag key match.
TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`
// Filter. Valid values of `filter.Name` include `Ip`, `VpcId`, `SubNetId`, `InstanceType`, and `InstanceId`. Up to 10 values can be passed for `filter.Values`.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
// This parameter has been deprecated and replaced with `InstanceIdList`.
//
// Deprecated: InstanceIds is deprecated.
InstanceIds *string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"`
// Filter by instance ID.
InstanceIdList []*string `json:"InstanceIdList,omitnil,omitempty" name:"InstanceIdList"`
// Filter instances by a set of tags
TagList []*Tag `json:"TagList,omitnil,omitempty" name:"TagList"`
}
Predefined struct for user
type DescribeInstancesDetailResponse ¶
type DescribeInstancesDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeInstancesDetailResponseParams `json:"Response"`
}
func NewDescribeInstancesDetailResponse ¶
func NewDescribeInstancesDetailResponse() (response *DescribeInstancesDetailResponse)
func (*DescribeInstancesDetailResponse) FromJsonString ¶
func (r *DescribeInstancesDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesDetailResponse) ToJsonString ¶
func (r *DescribeInstancesDetailResponse) ToJsonString() string
type DescribeInstancesDetailResponseParams ¶
type DescribeInstancesDetailResponseParams struct {
// Returned result object of instance details
Result *InstanceDetailResponse `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 DescribeInstancesRequest ¶
type DescribeInstancesRequest struct {
*tchttp.BaseRequest
// (Query condition) filter by the ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Search term. example: (query condition) filter by instance name. fuzzy query is supported.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Instance status (query condition). valid values: 0: creating, 1: running, 2: deleting, 5: isolated, 7: upgrading. default return: all.
Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`
// 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 100.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Tag key value (this field has been deprecated).
TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`
// (Query condition) VPC Id.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
}
func NewDescribeInstancesRequest ¶
func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)
func (*DescribeInstancesRequest) FromJsonString ¶
func (r *DescribeInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesRequest) ToJsonString ¶
func (r *DescribeInstancesRequest) ToJsonString() string
type DescribeInstancesRequestParams ¶
type DescribeInstancesRequestParams struct {
// (Query condition) filter by the ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Search term. example: (query condition) filter by instance name. fuzzy query is supported.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Instance status (query condition). valid values: 0: creating, 1: running, 2: deleting, 5: isolated, 7: upgrading. default return: all.
Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`
// 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 100.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Tag key value (this field has been deprecated).
//
// Deprecated: TagKey is deprecated.
TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`
// (Query condition) VPC Id.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
}
Predefined struct for user
type DescribeInstancesResponse ¶
type DescribeInstancesResponse struct {
*tchttp.BaseResponse
Response *DescribeInstancesResponseParams `json:"Response"`
}
func NewDescribeInstancesResponse ¶
func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)
func (*DescribeInstancesResponse) FromJsonString ¶
func (r *DescribeInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInstancesResponse) ToJsonString ¶
func (r *DescribeInstancesResponse) ToJsonString() string
type DescribeInstancesResponseParams ¶
type DescribeInstancesResponseParams struct {
// Returned result
Result *InstanceResponse `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 DescribeRegionRequest ¶
type DescribeRegionRequest struct {
*tchttp.BaseRequest
// The offset value
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The maximum number of results returned
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Business field, which can be ignored.
Business *string `json:"Business,omitnil,omitempty" name:"Business"`
// CDC business field, which can be ignored.
CdcId *string `json:"CdcId,omitnil,omitempty" name:"CdcId"`
}
func NewDescribeRegionRequest ¶
func NewDescribeRegionRequest() (request *DescribeRegionRequest)
func (*DescribeRegionRequest) FromJsonString ¶
func (r *DescribeRegionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionRequest) ToJsonString ¶
func (r *DescribeRegionRequest) ToJsonString() string
type DescribeRegionRequestParams ¶
type DescribeRegionRequestParams struct {
// The offset value
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The maximum number of results returned
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Business field, which can be ignored.
Business *string `json:"Business,omitnil,omitempty" name:"Business"`
// CDC business field, which can be ignored.
CdcId *string `json:"CdcId,omitnil,omitempty" name:"CdcId"`
}
Predefined struct for user
type DescribeRegionResponse ¶
type DescribeRegionResponse struct {
*tchttp.BaseResponse
Response *DescribeRegionResponseParams `json:"Response"`
}
func NewDescribeRegionResponse ¶
func NewDescribeRegionResponse() (response *DescribeRegionResponse)
func (*DescribeRegionResponse) FromJsonString ¶
func (r *DescribeRegionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionResponse) ToJsonString ¶
func (r *DescribeRegionResponse) ToJsonString() string
type DescribeRegionResponseParams ¶
type DescribeRegionResponseParams struct {
// Returns the region enumeration result list.
Result []*Region `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 DescribeRouteRequest ¶
type DescribeRouteRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Route ID
RouteId *int64 `json:"RouteId,omitnil,omitempty" name:"RouteId"`
}
func NewDescribeRouteRequest ¶
func NewDescribeRouteRequest() (request *DescribeRouteRequest)
func (*DescribeRouteRequest) FromJsonString ¶
func (r *DescribeRouteRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteRequest) ToJsonString ¶
func (r *DescribeRouteRequest) ToJsonString() string
type DescribeRouteRequestParams ¶
type DescribeRouteRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Route ID
RouteId *int64 `json:"RouteId,omitnil,omitempty" name:"RouteId"`
}
Predefined struct for user
type DescribeRouteResponse ¶
type DescribeRouteResponse struct {
*tchttp.BaseResponse
Response *DescribeRouteResponseParams `json:"Response"`
}
func NewDescribeRouteResponse ¶
func NewDescribeRouteResponse() (response *DescribeRouteResponse)
func (*DescribeRouteResponse) FromJsonString ¶
func (r *DescribeRouteResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRouteResponse) ToJsonString ¶
func (r *DescribeRouteResponse) ToJsonString() string
type DescribeRouteResponseParams ¶
type DescribeRouteResponseParams struct {
// Returned result set of route information
Result *RouteResponse `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 DescribeSecurityGroupRoutesRequest ¶
type DescribeSecurityGroupRoutesRequest struct {
*tchttp.BaseRequest
// Specifies the routing information.
InstanceRoute *InstanceRoute `json:"InstanceRoute,omitnil,omitempty" name:"InstanceRoute"`
// Filter.
Filters []*RouteFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Specifies the pagination Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination Limit. default: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Keyword. specifies fuzzy search by instance id, instance name, or vip.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}
func NewDescribeSecurityGroupRoutesRequest ¶
func NewDescribeSecurityGroupRoutesRequest() (request *DescribeSecurityGroupRoutesRequest)
func (*DescribeSecurityGroupRoutesRequest) FromJsonString ¶
func (r *DescribeSecurityGroupRoutesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupRoutesRequest) ToJsonString ¶
func (r *DescribeSecurityGroupRoutesRequest) ToJsonString() string
type DescribeSecurityGroupRoutesRequestParams ¶
type DescribeSecurityGroupRoutesRequestParams struct {
// Specifies the routing information.
InstanceRoute *InstanceRoute `json:"InstanceRoute,omitnil,omitempty" name:"InstanceRoute"`
// Filter.
Filters []*RouteFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
// Specifies the pagination Offset. default is 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination Limit. default: 20.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Keyword. specifies fuzzy search by instance id, instance name, or vip.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
}
Predefined struct for user
type DescribeSecurityGroupRoutesResponse ¶
type DescribeSecurityGroupRoutesResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityGroupRoutesResponseParams `json:"Response"`
}
func NewDescribeSecurityGroupRoutesResponse ¶
func NewDescribeSecurityGroupRoutesResponse() (response *DescribeSecurityGroupRoutesResponse)
func (*DescribeSecurityGroupRoutesResponse) FromJsonString ¶
func (r *DescribeSecurityGroupRoutesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupRoutesResponse) ToJsonString ¶
func (r *DescribeSecurityGroupRoutesResponse) ToJsonString() string
type DescribeSecurityGroupRoutesResponseParams ¶
type DescribeSecurityGroupRoutesResponseParams struct {
// Returns the security group routing information result object.
Result *SecurityGroupRouteResp `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 DescribeTaskStatusRequest ¶
type DescribeTaskStatusRequest struct {
*tchttp.BaseRequest
// Flow ID.
FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}
func NewDescribeTaskStatusRequest ¶
func NewDescribeTaskStatusRequest() (request *DescribeTaskStatusRequest)
func (*DescribeTaskStatusRequest) FromJsonString ¶
func (r *DescribeTaskStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusRequest) ToJsonString ¶
func (r *DescribeTaskStatusRequest) ToJsonString() string
type DescribeTaskStatusRequestParams ¶
type DescribeTaskStatusRequestParams struct {
// Flow ID.
FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}
Predefined struct for user
type DescribeTaskStatusResponse ¶
type DescribeTaskStatusResponse struct {
*tchttp.BaseResponse
Response *DescribeTaskStatusResponseParams `json:"Response"`
}
func NewDescribeTaskStatusResponse ¶
func NewDescribeTaskStatusResponse() (response *DescribeTaskStatusResponse)
func (*DescribeTaskStatusResponse) FromJsonString ¶
func (r *DescribeTaskStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskStatusResponse) ToJsonString ¶
func (r *DescribeTaskStatusResponse) ToJsonString() string
type DescribeTaskStatusResponseParams ¶
type DescribeTaskStatusResponseParams struct {
// Returned result
Result *TaskStatusResponse `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 DescribeTopicAttributesRequest ¶
type DescribeTopicAttributesRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
func NewDescribeTopicAttributesRequest ¶
func NewDescribeTopicAttributesRequest() (request *DescribeTopicAttributesRequest)
func (*DescribeTopicAttributesRequest) FromJsonString ¶
func (r *DescribeTopicAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicAttributesRequest) ToJsonString ¶
func (r *DescribeTopicAttributesRequest) ToJsonString() string
type DescribeTopicAttributesRequestParams ¶
type DescribeTopicAttributesRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
Predefined struct for user
type DescribeTopicAttributesResponse ¶
type DescribeTopicAttributesResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicAttributesResponseParams `json:"Response"`
}
func NewDescribeTopicAttributesResponse ¶
func NewDescribeTopicAttributesResponse() (response *DescribeTopicAttributesResponse)
func (*DescribeTopicAttributesResponse) FromJsonString ¶
func (r *DescribeTopicAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicAttributesResponse) ToJsonString ¶
func (r *DescribeTopicAttributesResponse) ToJsonString() string
type DescribeTopicAttributesResponseParams ¶
type DescribeTopicAttributesResponseParams struct {
// Returned result object
Result *TopicAttributesResponse `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 DescribeTopicDetailRequest ¶
type DescribeTopicDetailRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// (Filter) filter by `topicName`. Fuzzy search is supported
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset. If this parameter is left empty, 0 will be used by default
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. default: 20. value must be above 0.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Name of the preset ACL rule.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
// Sorts based on specific attributes (currently supports PartitionNum/CreateTime). default value: CreateTime.
OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`
// 0 - sequential, 1 - reverse order. default value: 0.
OrderType *int64 `json:"OrderType,omitnil,omitempty" name:"OrderType"`
// Currently supports ReplicaNum (number of replicas) filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
func NewDescribeTopicDetailRequest ¶
func NewDescribeTopicDetailRequest() (request *DescribeTopicDetailRequest)
func (*DescribeTopicDetailRequest) FromJsonString ¶
func (r *DescribeTopicDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicDetailRequest) ToJsonString ¶
func (r *DescribeTopicDetailRequest) ToJsonString() string
type DescribeTopicDetailRequestParams ¶
type DescribeTopicDetailRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// (Filter) filter by `topicName`. Fuzzy search is supported
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset. If this parameter is left empty, 0 will be used by default
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. default: 20. value must be above 0.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Name of the preset ACL rule.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
// Sorts based on specific attributes (currently supports PartitionNum/CreateTime). default value: CreateTime.
OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"`
// 0 - sequential, 1 - reverse order. default value: 0.
OrderType *int64 `json:"OrderType,omitnil,omitempty" name:"OrderType"`
// Currently supports ReplicaNum (number of replicas) filter criteria.
Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeTopicDetailResponse ¶
type DescribeTopicDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicDetailResponseParams `json:"Response"`
}
func NewDescribeTopicDetailResponse ¶
func NewDescribeTopicDetailResponse() (response *DescribeTopicDetailResponse)
func (*DescribeTopicDetailResponse) FromJsonString ¶
func (r *DescribeTopicDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicDetailResponse) ToJsonString ¶
func (r *DescribeTopicDetailResponse) ToJsonString() string
type DescribeTopicDetailResponseParams ¶
type DescribeTopicDetailResponseParams struct {
// Returned entity of topic details
Result *TopicDetailResponse `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 DescribeTopicProduceConnectionRequest ¶
type DescribeTopicProduceConnectionRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
func NewDescribeTopicProduceConnectionRequest ¶
func NewDescribeTopicProduceConnectionRequest() (request *DescribeTopicProduceConnectionRequest)
func (*DescribeTopicProduceConnectionRequest) FromJsonString ¶
func (r *DescribeTopicProduceConnectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicProduceConnectionRequest) ToJsonString ¶
func (r *DescribeTopicProduceConnectionRequest) ToJsonString() string
type DescribeTopicProduceConnectionRequestParams ¶
type DescribeTopicProduceConnectionRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}
Predefined struct for user
type DescribeTopicProduceConnectionResponse ¶
type DescribeTopicProduceConnectionResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicProduceConnectionResponseParams `json:"Response"`
}
func NewDescribeTopicProduceConnectionResponse ¶
func NewDescribeTopicProduceConnectionResponse() (response *DescribeTopicProduceConnectionResponse)
func (*DescribeTopicProduceConnectionResponse) FromJsonString ¶
func (r *DescribeTopicProduceConnectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicProduceConnectionResponse) ToJsonString ¶
func (r *DescribeTopicProduceConnectionResponse) ToJsonString() string
type DescribeTopicProduceConnectionResponseParams ¶
type DescribeTopicProduceConnectionResponseParams struct {
// Result set of returned connection information
Result []*DescribeConnectInfoResultDTO `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 DescribeTopicRequest ¶
type DescribeTopicRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Filter by `topicName`. Fuzzy search is supported
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset. If this parameter is left empty, 0 will be used by default
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 20 if left empty. The maximum value is 50.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Name of the preset ACL rule.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
}
func NewDescribeTopicRequest ¶
func NewDescribeTopicRequest() (request *DescribeTopicRequest)
func (*DescribeTopicRequest) FromJsonString ¶
func (r *DescribeTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicRequest) ToJsonString ¶
func (r *DescribeTopicRequest) ToJsonString() string
type DescribeTopicRequestParams ¶
type DescribeTopicRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Filter by `topicName`. Fuzzy search is supported
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset. If this parameter is left empty, 0 will be used by default
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of results to be returned, which defaults to 20 if left empty. The maximum value is 50.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Name of the preset ACL rule.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
}
Predefined struct for user
type DescribeTopicResponse ¶
type DescribeTopicResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicResponseParams `json:"Response"`
}
func NewDescribeTopicResponse ¶
func NewDescribeTopicResponse() (response *DescribeTopicResponse)
func (*DescribeTopicResponse) FromJsonString ¶
func (r *DescribeTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicResponse) ToJsonString ¶
func (r *DescribeTopicResponse) ToJsonString() string
type DescribeTopicResponseParams ¶
type DescribeTopicResponseParams struct {
// Returned result.
Result *TopicResult `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 DescribeTopicSubscribeGroupRequest ¶
type DescribeTopicSubscribeGroupRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Starting position of paging
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of results per page
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeTopicSubscribeGroupRequest ¶
func NewDescribeTopicSubscribeGroupRequest() (request *DescribeTopicSubscribeGroupRequest)
func (*DescribeTopicSubscribeGroupRequest) FromJsonString ¶
func (r *DescribeTopicSubscribeGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicSubscribeGroupRequest) ToJsonString ¶
func (r *DescribeTopicSubscribeGroupRequest) ToJsonString() string
type DescribeTopicSubscribeGroupRequestParams ¶
type DescribeTopicSubscribeGroupRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Starting position of paging
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of results per page
Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeTopicSubscribeGroupResponse ¶
type DescribeTopicSubscribeGroupResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicSubscribeGroupResponseParams `json:"Response"`
}
func NewDescribeTopicSubscribeGroupResponse ¶
func NewDescribeTopicSubscribeGroupResponse() (response *DescribeTopicSubscribeGroupResponse)
func (*DescribeTopicSubscribeGroupResponse) FromJsonString ¶
func (r *DescribeTopicSubscribeGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicSubscribeGroupResponse) ToJsonString ¶
func (r *DescribeTopicSubscribeGroupResponse) ToJsonString() string
type DescribeTopicSubscribeGroupResponseParams ¶
type DescribeTopicSubscribeGroupResponseParams struct {
// Returned results
Result *TopicSubscribeGroup `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 DescribeTopicSyncReplicaRequest ¶
type DescribeTopicSyncReplicaRequest struct {
*tchttp.BaseRequest
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Offset. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. default value: 20. must be greater than 0.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filters unsynced replicas only
OutOfSyncReplicaOnly *bool `json:"OutOfSyncReplicaOnly,omitnil,omitempty" name:"OutOfSyncReplicaOnly"`
}
func NewDescribeTopicSyncReplicaRequest ¶
func NewDescribeTopicSyncReplicaRequest() (request *DescribeTopicSyncReplicaRequest)
func (*DescribeTopicSyncReplicaRequest) FromJsonString ¶
func (r *DescribeTopicSyncReplicaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicSyncReplicaRequest) ToJsonString ¶
func (r *DescribeTopicSyncReplicaRequest) ToJsonString() string
type DescribeTopicSyncReplicaRequestParams ¶
type DescribeTopicSyncReplicaRequestParams struct {
// Instance ID
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Offset. If this parameter is left empty, 0 will be used by default.
Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. default value: 20. must be greater than 0.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Filters unsynced replicas only
OutOfSyncReplicaOnly *bool `json:"OutOfSyncReplicaOnly,omitnil,omitempty" name:"OutOfSyncReplicaOnly"`
}
Predefined struct for user
type DescribeTopicSyncReplicaResponse ¶
type DescribeTopicSyncReplicaResponse struct {
*tchttp.BaseResponse
Response *DescribeTopicSyncReplicaResponseParams `json:"Response"`
}
func NewDescribeTopicSyncReplicaResponse ¶
func NewDescribeTopicSyncReplicaResponse() (response *DescribeTopicSyncReplicaResponse)
func (*DescribeTopicSyncReplicaResponse) FromJsonString ¶
func (r *DescribeTopicSyncReplicaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicSyncReplicaResponse) ToJsonString ¶
func (r *DescribeTopicSyncReplicaResponse) ToJsonString() string
type DescribeTopicSyncReplicaResponseParams ¶
type DescribeTopicSyncReplicaResponseParams struct {
// Returns topic replica details
Result *TopicInSyncReplicaResult `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 DescribeTypeInstancesRequest ¶
type DescribeTypeInstancesRequest struct {
*tchttp.BaseRequest
// (Filter condition) filter by instance ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// (Filter condition) filter by instance name. fuzzy query is supported.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Instance status (filter condition). valid values: 0: creating, 1: running, 2: deleting. default return: all.
Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Offset. default value: 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. default: 10. maximum value: 100.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Matches the Tag key.
TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`
}
func NewDescribeTypeInstancesRequest ¶
func NewDescribeTypeInstancesRequest() (request *DescribeTypeInstancesRequest)
func (*DescribeTypeInstancesRequest) FromJsonString ¶
func (r *DescribeTypeInstancesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTypeInstancesRequest) ToJsonString ¶
func (r *DescribeTypeInstancesRequest) ToJsonString() string
type DescribeTypeInstancesRequestParams ¶
type DescribeTypeInstancesRequestParams struct {
// (Filter condition) filter by instance ID.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// (Filter condition) filter by instance name. fuzzy query is supported.
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Instance status (filter condition). valid values: 0: creating, 1: running, 2: deleting. default return: all.
Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Offset. default value: 0.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Number of returned results. default: 10. maximum value: 100.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Matches the Tag key.
TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`
}
Predefined struct for user
type DescribeTypeInstancesResponse ¶
type DescribeTypeInstancesResponse struct {
*tchttp.BaseResponse
Response *DescribeTypeInstancesResponseParams `json:"Response"`
}
func NewDescribeTypeInstancesResponse ¶
func NewDescribeTypeInstancesResponse() (response *DescribeTypeInstancesResponse)
func (*DescribeTypeInstancesResponse) FromJsonString ¶
func (r *DescribeTypeInstancesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTypeInstancesResponse) ToJsonString ¶
func (r *DescribeTypeInstancesResponse) ToJsonString() string
type DescribeTypeInstancesResponseParams ¶
type DescribeTypeInstancesResponseParams struct {
// Returned result.
Result *InstanceResponse `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 DescribeUserRequest ¶
type DescribeUserRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Filter by name
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of returns.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
func NewDescribeUserRequest ¶
func NewDescribeUserRequest() (request *DescribeUserRequest)
func (*DescribeUserRequest) FromJsonString ¶
func (r *DescribeUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserRequest) ToJsonString ¶
func (r *DescribeUserRequest) ToJsonString() string
type DescribeUserRequestParams ¶
type DescribeUserRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Filter by name
SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`
// Offset.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The number of returns.
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeUserResponse ¶
type DescribeUserResponse struct {
*tchttp.BaseResponse
Response *DescribeUserResponseParams `json:"Response"`
}
func NewDescribeUserResponse ¶
func NewDescribeUserResponse() (response *DescribeUserResponse)
func (*DescribeUserResponse) FromJsonString ¶
func (r *DescribeUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUserResponse) ToJsonString ¶
func (r *DescribeUserResponse) ToJsonString() string
type DescribeUserResponseParams ¶
type DescribeUserResponseParams struct {
// Returned result.
Result *UserResponse `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 DynamicDiskConfig ¶
type DynamicDiskConfig struct {
// Whether to enable dynamic disk expansion configuration. `0`: disable, `1`: enable.
// Note: this field may return `null`, indicating that no valid values can be obtained.
Enable *int64 `json:"Enable,omitnil,omitempty" name:"Enable"`
// Percentage of dynamic disk expansion each time.
// Note: this field may return `null`, indicating that no valid values can be obtained.
StepForwardPercentage *int64 `json:"StepForwardPercentage,omitnil,omitempty" name:"StepForwardPercentage"`
// Disk quota threshold (in percentage) for triggering the automatic disk expansion event.
// Note: this field may return `null`, indicating that no valid values can be obtained.
DiskQuotaPercentage *int64 `json:"DiskQuotaPercentage,omitnil,omitempty" name:"DiskQuotaPercentage"`
// Max disk space in GB.
// Note: this field may return `null`, indicating that no valid values can be obtained.
MaxDiskSpace *int64 `json:"MaxDiskSpace,omitnil,omitempty" name:"MaxDiskSpace"`
}
type DynamicRetentionTime ¶
type DynamicRetentionTime struct {
// Whether the dynamic message retention time configuration is enabled. 0: disabled; 1: enabled
// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
Enable *int64 `json:"Enable,omitnil,omitempty" name:"Enable"`
// Disk quota threshold (in percentage) for triggering the message retention time change event
// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
DiskQuotaPercentage *int64 `json:"DiskQuotaPercentage,omitnil,omitempty" name:"DiskQuotaPercentage"`
// Percentage by which the message retention time is shortened each time
// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
StepForwardPercentage *int64 `json:"StepForwardPercentage,omitnil,omitempty" name:"StepForwardPercentage"`
// Minimum retention time, in minutes
// Note: `null` may be returned for this field, indicating that no valid values can be obtained.
BottomRetention *int64 `json:"BottomRetention,omitnil,omitempty" name:"BottomRetention"`
}
type FetchMessageByOffsetRequest ¶
type FetchMessageByOffsetRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Partition ID
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Specifies the position information.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
func NewFetchMessageByOffsetRequest ¶
func NewFetchMessageByOffsetRequest() (request *FetchMessageByOffsetRequest)
func (*FetchMessageByOffsetRequest) FromJsonString ¶
func (r *FetchMessageByOffsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*FetchMessageByOffsetRequest) ToJsonString ¶
func (r *FetchMessageByOffsetRequest) ToJsonString() string
type FetchMessageByOffsetRequestParams ¶
type FetchMessageByOffsetRequestParams struct {
// The ckafka cluster instance Id, which can be obtained through the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the topic name, which can be obtained through the [DescribeTopic](https://www.tencentcloud.comom/document/product/597/40847?from_cn_redirect=1) api.
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Partition ID
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Specifies the position information.
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}
Predefined struct for user
type FetchMessageByOffsetResponse ¶
type FetchMessageByOffsetResponse struct {
*tchttp.BaseResponse
Response *FetchMessageByOffsetResponseParams `json:"Response"`
}
func NewFetchMessageByOffsetResponse ¶
func NewFetchMessageByOffsetResponse() (response *FetchMessageByOffsetResponse)
func (*FetchMessageByOffsetResponse) FromJsonString ¶
func (r *FetchMessageByOffsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*FetchMessageByOffsetResponse) ToJsonString ¶
func (r *FetchMessageByOffsetResponse) ToJsonString() string
type FetchMessageByOffsetResponseParams ¶
type FetchMessageByOffsetResponseParams struct {
// Returned results
Result *ConsumerRecord `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 FetchMessageListByOffsetRequest ¶
type FetchMessageListByOffsetRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Partition ID
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Offset information
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The maximum number of messages that can be queried. Default value: 20. Maximum value: 20.
SinglePartitionRecordNumber *int64 `json:"SinglePartitionRecordNumber,omitnil,omitempty" name:"SinglePartitionRecordNumber"`
}
func NewFetchMessageListByOffsetRequest ¶
func NewFetchMessageListByOffsetRequest() (request *FetchMessageListByOffsetRequest)
func (*FetchMessageListByOffsetRequest) FromJsonString ¶
func (r *FetchMessageListByOffsetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*FetchMessageListByOffsetRequest) ToJsonString ¶
func (r *FetchMessageListByOffsetRequest) ToJsonString() string
type FetchMessageListByOffsetRequestParams ¶
type FetchMessageListByOffsetRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Partition ID
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Offset information
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// The maximum number of messages that can be queried. Default value: 20. Maximum value: 20.
SinglePartitionRecordNumber *int64 `json:"SinglePartitionRecordNumber,omitnil,omitempty" name:"SinglePartitionRecordNumber"`
}
Predefined struct for user
type FetchMessageListByOffsetResponse ¶
type FetchMessageListByOffsetResponse struct {
*tchttp.BaseResponse
Response *FetchMessageListByOffsetResponseParams `json:"Response"`
}
func NewFetchMessageListByOffsetResponse ¶
func NewFetchMessageListByOffsetResponse() (response *FetchMessageListByOffsetResponse)
func (*FetchMessageListByOffsetResponse) FromJsonString ¶
func (r *FetchMessageListByOffsetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*FetchMessageListByOffsetResponse) ToJsonString ¶
func (r *FetchMessageListByOffsetResponse) ToJsonString() string
type FetchMessageListByOffsetResponseParams ¶
type FetchMessageListByOffsetResponseParams struct {
// Returned result. Note: The returned list does not display the message content (key and value). To query the message content, call the `FetchMessageByOffset` API.
Result []*ConsumerRecord `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 FetchMessageListByTimestampRequest ¶
type FetchMessageListByTimestampRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Partition ID
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Query start time, a timestamp.
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// Maximum number of query results. default: 20. value range: 1-20.
SinglePartitionRecordNumber *int64 `json:"SinglePartitionRecordNumber,omitnil,omitempty" name:"SinglePartitionRecordNumber"`
}
func NewFetchMessageListByTimestampRequest ¶
func NewFetchMessageListByTimestampRequest() (request *FetchMessageListByTimestampRequest)
func (*FetchMessageListByTimestampRequest) FromJsonString ¶
func (r *FetchMessageListByTimestampRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*FetchMessageListByTimestampRequest) ToJsonString ¶
func (r *FetchMessageListByTimestampRequest) ToJsonString() string
type FetchMessageListByTimestampRequestParams ¶
type FetchMessageListByTimestampRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// Partition ID
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Query start time, a timestamp.
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// Maximum number of query results. default: 20. value range: 1-20.
SinglePartitionRecordNumber *int64 `json:"SinglePartitionRecordNumber,omitnil,omitempty" name:"SinglePartitionRecordNumber"`
}
Predefined struct for user
type FetchMessageListByTimestampResponse ¶
type FetchMessageListByTimestampResponse struct {
*tchttp.BaseResponse
Response *FetchMessageListByTimestampResponseParams `json:"Response"`
}
func NewFetchMessageListByTimestampResponse ¶
func NewFetchMessageListByTimestampResponse() (response *FetchMessageListByTimestampResponse)
func (*FetchMessageListByTimestampResponse) FromJsonString ¶
func (r *FetchMessageListByTimestampResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*FetchMessageListByTimestampResponse) ToJsonString ¶
func (r *FetchMessageListByTimestampResponse) ToJsonString() string
type FetchMessageListByTimestampResponseParams ¶
type FetchMessageListByTimestampResponseParams struct {
// Returned results. note that the list does not return specific message content (key, value). if necessary, please use the FetchMessageByOffset API to query specific message content.
Result []*ConsumerRecord `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 Group ¶
type Group struct {
// Consumer group name.
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
}
type GroupInfoMember ¶
type GroupInfoMember struct {
// Unique ID generated for consumer in consumer group by coordinator
MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"`
// `client.id` information by the client consumer SDK
ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`
// Generally stores client IP address
ClientHost *string `json:"ClientHost,omitnil,omitempty" name:"ClientHost"`
// Stores the information of partition assigned to this consumer
Assignment *Assignment `json:"Assignment,omitnil,omitempty" name:"Assignment"`
}
type GroupInfoResponse ¶
type GroupInfoResponse struct {
// Error code. 0: success
ErrorCode *string `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"`
// Group status description (common valid values: Empty, Stable, Dead):
// Dead: the consumer group does not exist
// Empty: there are currently no consumer subscriptions in the consumer group
// PreparingRebalance: the consumer group is currently in `rebalance` state
// CompletingRebalance: the consumer group is currently in `rebalance` state
// Stable: each consumer in the consumer group has joined and is in stable state
State *string `json:"State,omitnil,omitempty" name:"State"`
// The type of protocol selected by the consumer group, which is `consumer` for common consumers. However, some systems use their own protocols; for example, the protocol used by kafka-connect is `connect`. Only with the standard `consumer` protocol can this API get to know the specific assigning method and parse the specific partition assignment
ProtocolType *string `json:"ProtocolType,omitnil,omitempty" name:"ProtocolType"`
// Consumer partition assignment algorithm, such as `range` (which is the default value for the Kafka consumer SDK), `roundrobin`, and `sticky`
Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// This array contains information only if `state` is `Stable` and `protocol_type` is `consumer`
Members []*GroupInfoMember `json:"Members,omitnil,omitempty" name:"Members"`
// Consumer group name.
Group *string `json:"Group,omitnil,omitempty" name:"Group"`
}
type GroupInfoTopics ¶
type GroupOffsetPartition ¶
type GroupOffsetPartition struct {
// Topic `partitionId`
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Offset position submitted by consumer
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Supports consumers to submit messages with imported metadata for other purposes, currently an empty string.
Metadata *string `json:"Metadata,omitnil,omitempty" name:"Metadata"`
// Error code
ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"`
// Latest offset of current partition
LogEndOffset *int64 `json:"LogEndOffset,omitnil,omitempty" name:"LogEndOffset"`
// Number of unconsumed messages
Lag *int64 `json:"Lag,omitnil,omitempty" name:"Lag"`
}
type GroupOffsetResponse ¶
type GroupOffsetResponse struct {
// Total number of eligible results
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// The topic partition array, where each element is a json object.
TopicList []*GroupOffsetTopic `json:"TopicList,omitnil,omitempty" name:"TopicList"`
}
type GroupOffsetTopic ¶
type GroupOffsetTopic struct {
// Topic name
Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`
// The topic partition array, where each element is a json object.
Partitions []*GroupOffsetPartition `json:"Partitions,omitnil,omitempty" name:"Partitions"`
}
type GroupResponse ¶
type GroupResponse struct {
// Counting.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// GroupList
GroupList []*DescribeGroup `json:"GroupList,omitnil,omitempty" name:"GroupList"`
// Specifies the consumer group quota.
GroupCountQuota *uint64 `json:"GroupCountQuota,omitnil,omitempty" name:"GroupCountQuota"`
}
type InquireCkafkaPriceRequest ¶
type InquireCkafkaPriceRequest struct {
*tchttp.BaseRequest
// Chinese site standard version fill in standards2 international site standard version fill in standard pro edition fill in profession advanced edition fill in premium.
InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// Billing mode for instance purchase/renewal. If this parameter is left empty when you purchase an instance, the fees for one month under the monthly subscription mode will be displayed by default.
InstanceChargeParam *InstanceChargeParam `json:"InstanceChargeParam,omitnil,omitempty" name:"InstanceChargeParam"`
// The number of instances to be purchased or renewed. If this parameter is left empty, the default value is `1`.
InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"`
// Specifies the internal network bandwidth size of the instance, in MB/s (required when purchased; bandwidth information is required for pro edition/advanced edition inquiries).
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Specifies the purchase type and size of the hard disk of the instance. required when purchased. disk information is required for pro edition or advanced edition inquiries.
InquiryDiskParam *InquiryDiskParam `json:"InquiryDiskParam,omitnil,omitempty" name:"InquiryDiskParam"`
// Message retention period in hours, which is required when you purchase an instance.
MessageRetention *int64 `json:"MessageRetention,omitnil,omitempty" name:"MessageRetention"`
// The number of instance topics to be purchased, which is required when you purchase an instance.
Topic *int64 `json:"Topic,omitnil,omitempty" name:"Topic"`
// Number of partitions for instance purchase, unit: unit (required when purchased; bandwidth information required for pro edition/advanced edition inquiry).
// Partition upper limit. maximum value of 40000. step length of 100.
// Specifies the specifications and limits that can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// The region for instance purchase, which can be obtained via the `DescribeCkafkaZone` API.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Operation type flag. `purchase`: Making new purchases; `renew`: Renewing an instance. The default value is `purchase` if this parameter is left empty.
CategoryAction *string `json:"CategoryAction,omitnil,omitempty" name:"CategoryAction"`
// This field is not required.
BillType *string `json:"BillType,omitnil,omitempty" name:"BillType"`
// Public network bandwidth billing mode. currently only the pro edition supports public network bandwidth. required when purchasing public network bandwidth. value must be a multiple of 3.
PublicNetworkParam *InquiryPublicNetworkParam `json:"PublicNetworkParam,omitnil,omitempty" name:"PublicNetworkParam"`
// ID of the instance to be renewed, which is required when you renew an instance.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
func NewInquireCkafkaPriceRequest ¶
func NewInquireCkafkaPriceRequest() (request *InquireCkafkaPriceRequest)
func (*InquireCkafkaPriceRequest) FromJsonString ¶
func (r *InquireCkafkaPriceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquireCkafkaPriceRequest) ToJsonString ¶
func (r *InquireCkafkaPriceRequest) ToJsonString() string
type InquireCkafkaPriceRequestParams ¶
type InquireCkafkaPriceRequestParams struct {
// Chinese site standard version fill in standards2 international site standard version fill in standard pro edition fill in profession advanced edition fill in premium.
InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// Billing mode for instance purchase/renewal. If this parameter is left empty when you purchase an instance, the fees for one month under the monthly subscription mode will be displayed by default.
InstanceChargeParam *InstanceChargeParam `json:"InstanceChargeParam,omitnil,omitempty" name:"InstanceChargeParam"`
// The number of instances to be purchased or renewed. If this parameter is left empty, the default value is `1`.
InstanceNum *int64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"`
// Specifies the internal network bandwidth size of the instance, in MB/s (required when purchased; bandwidth information is required for pro edition/advanced edition inquiries).
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Specifies the purchase type and size of the hard disk of the instance. required when purchased. disk information is required for pro edition or advanced edition inquiries.
InquiryDiskParam *InquiryDiskParam `json:"InquiryDiskParam,omitnil,omitempty" name:"InquiryDiskParam"`
// Message retention period in hours, which is required when you purchase an instance.
MessageRetention *int64 `json:"MessageRetention,omitnil,omitempty" name:"MessageRetention"`
// The number of instance topics to be purchased, which is required when you purchase an instance.
Topic *int64 `json:"Topic,omitnil,omitempty" name:"Topic"`
// Number of partitions for instance purchase, unit: unit (required when purchased; bandwidth information required for pro edition/advanced edition inquiry).
// Partition upper limit. maximum value of 40000. step length of 100.
// Specifies the specifications and limits that can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// The region for instance purchase, which can be obtained via the `DescribeCkafkaZone` API.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Operation type flag. `purchase`: Making new purchases; `renew`: Renewing an instance. The default value is `purchase` if this parameter is left empty.
CategoryAction *string `json:"CategoryAction,omitnil,omitempty" name:"CategoryAction"`
// This field is not required.
BillType *string `json:"BillType,omitnil,omitempty" name:"BillType"`
// Public network bandwidth billing mode. currently only the pro edition supports public network bandwidth. required when purchasing public network bandwidth. value must be a multiple of 3.
PublicNetworkParam *InquiryPublicNetworkParam `json:"PublicNetworkParam,omitnil,omitempty" name:"PublicNetworkParam"`
// ID of the instance to be renewed, which is required when you renew an instance.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}
Predefined struct for user
type InquireCkafkaPriceResp ¶
type InquireCkafkaPriceResp struct {
// Specifies the instance price.
InstancePrice *InquiryPrice `json:"InstancePrice,omitnil,omitempty" name:"InstancePrice"`
// Public network bandwidth price
// Note: This field may return null, indicating that no valid values can be obtained.
PublicNetworkBandwidthPrice *InquiryPrice `json:"PublicNetworkBandwidthPrice,omitnil,omitempty" name:"PublicNetworkBandwidthPrice"`
}
type InquireCkafkaPriceResponse ¶
type InquireCkafkaPriceResponse struct {
*tchttp.BaseResponse
Response *InquireCkafkaPriceResponseParams `json:"Response"`
}
func NewInquireCkafkaPriceResponse ¶
func NewInquireCkafkaPriceResponse() (response *InquireCkafkaPriceResponse)
func (*InquireCkafkaPriceResponse) FromJsonString ¶
func (r *InquireCkafkaPriceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquireCkafkaPriceResponse) ToJsonString ¶
func (r *InquireCkafkaPriceResponse) ToJsonString() string
type InquireCkafkaPriceResponseParams ¶
type InquireCkafkaPriceResponseParams struct {
// Returned result.
Result *InquireCkafkaPriceResp `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 InquiryBasePrice ¶
type InquiryBasePrice struct {
// Original price unit.
UnitPrice *float64 `json:"UnitPrice,omitnil,omitempty" name:"UnitPrice"`
// Discount unit price.
UnitPriceDiscount *float64 `json:"UnitPriceDiscount,omitnil,omitempty" name:"UnitPriceDiscount"`
// Total original price.
OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`
// Total discount price.
DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`
// Discount (unit: %).
Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"`
// Number of purchased items
// Note: This field may return null, indicating that no valid values can be obtained.
GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`
// Currency for payment
// Note: This field may return null, indicating that no valid values can be obtained.
Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`
// Dedicated disk response parameter
// Note: This field may return null, indicating that no valid values can be obtained.
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Validity period
// Note: This field may return null, indicating that no valid values can be obtained.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Unit of the validity period (`m`: Month; `h`: Hour)
// Note: This field may return null, indicating that no valid values can be obtained.
TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`
// Purchase quantity.
Value *int64 `json:"Value,omitnil,omitempty" name:"Value"`
}
type InquiryDetailPrice ¶
type InquiryDetailPrice struct {
// Price of additional private network bandwidth
// Note: This field may return null, indicating that no valid values can be obtained.
BandwidthPrice *InquiryBasePrice `json:"BandwidthPrice,omitnil,omitempty" name:"BandwidthPrice"`
// Disk price
// Note: This field may return null, indicating that no valid values can be obtained.
DiskPrice *InquiryBasePrice `json:"DiskPrice,omitnil,omitempty" name:"DiskPrice"`
// Price of additional partitions
// Note: This field may return null, indicating that no valid values can be obtained.
PartitionPrice *InquiryBasePrice `json:"PartitionPrice,omitnil,omitempty" name:"PartitionPrice"`
// Price of additional topics
// Note: This field may return null, indicating that no valid values can be obtained.
TopicPrice *InquiryBasePrice `json:"TopicPrice,omitnil,omitempty" name:"TopicPrice"`
// Instance package price.
InstanceTypePrice *InquiryBasePrice `json:"InstanceTypePrice,omitnil,omitempty" name:"InstanceTypePrice"`
}
type InquiryDiskParam ¶
type InquiryDiskParam struct {
// Disk type. Valid values: `SSD` (SSD), `CLOUD_SSD` (SSD cloud disk), `CLOUD_PREMIUM` (Premium cloud disk), `CLOUD_BASIC` (Cloud disk).
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Size of the purchased disk in GB
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
}
type InquiryPrice ¶
type InquiryPrice struct {
// Original price unit.
UnitPrice *float64 `json:"UnitPrice,omitnil,omitempty" name:"UnitPrice"`
// Discount unit price.
UnitPriceDiscount *float64 `json:"UnitPriceDiscount,omitnil,omitempty" name:"UnitPriceDiscount"`
// Total original price.
OriginalPrice *float64 `json:"OriginalPrice,omitnil,omitempty" name:"OriginalPrice"`
// Total discount price.
DiscountPrice *float64 `json:"DiscountPrice,omitnil,omitempty" name:"DiscountPrice"`
// Discount (unit: %).
Discount *float64 `json:"Discount,omitnil,omitempty" name:"Discount"`
// Number of products
GoodsNum *int64 `json:"GoodsNum,omitnil,omitempty" name:"GoodsNum"`
// Specifies the payment currency.
Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"`
// Dedicated disk response parameter
// Note: This field may return null, indicating that no valid values can be obtained.
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Purchase duration.
TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`
// Specifies the purchase duration unit ("m" for monthly, "h" for hourly).
TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`
// Purchase quantity
// Note: This field may return null, indicating that no valid values can be obtained.
Value *int64 `json:"Value,omitnil,omitempty" name:"Value"`
// Prices of different purchased items
// Note: This field may return null, indicating that no valid values can be obtained.
DetailPrices *InquiryDetailPrice `json:"DetailPrices,omitnil,omitempty" name:"DetailPrices"`
}
type InquiryPublicNetworkParam ¶
type InquiryPublicNetworkParam struct {
// Public network bandwidth billing mode (`BANDWIDTH_PREPAID`: Monthly subscription; `BANDWIDTH_POSTPAID_BY_HOUR`: Bill-by-hour)
PublicNetworkChargeType *string `json:"PublicNetworkChargeType,omitnil,omitempty" name:"PublicNetworkChargeType"`
// Public network bandwidth, in MB. value must be 0 or a multiple of 3.
PublicNetworkMonthly *int64 `json:"PublicNetworkMonthly,omitnil,omitempty" name:"PublicNetworkMonthly"`
}
type Instance ¶
type Instance struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the Name of the ckafka cluster instance.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Instance status. 0: creating, 1: running, 2: deleting, 3: deleted, 5: isolated, 7: upgrading, -1: creation failed.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Specifies whether the instance is open-source. valid values: true (open-source), false (not open-source).
IfCommunity *bool `json:"IfCommunity,omitnil,omitempty" name:"IfCommunity"`
}
type InstanceAttributesResponse ¶
type InstanceAttributesResponse struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the Name of the ckafka cluster instance.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// VIP list information of access point
VipList []*VipEntity `json:"VipList,omitnil,omitempty" name:"VipList"`
// Virtual IP
Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
// Virtual port
Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"`
// Instance status. 0: creating, 1: running, 2: deleting, 3: deleted, 5: isolated, 7: upgrading, -1: creation failed.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Instance bandwidth in Mbps
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Instance storage capacity in GB
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// AZ
ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// VPC ID. If this parameter is empty, it means the basic network
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet ID. If this parameter is empty, it means the basic network
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Instance health status. 1: healthy, 2: alarmed, 3: exceptional
Healthy *int64 `json:"Healthy,omitnil,omitempty" name:"Healthy"`
// Instance health information. Currently, the disk utilization is displayed with a maximum length of 256
HealthyMessage *string `json:"HealthyMessage,omitnil,omitempty" name:"HealthyMessage"`
// Creation time
CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Message retention period in minutes
MsgRetentionTime *int64 `json:"MsgRetentionTime,omitnil,omitempty" name:"MsgRetentionTime"`
// Configuration for automatic topic creation. If this field is empty, it means that automatic creation is not enabled
Config *InstanceConfigDO `json:"Config,omitnil,omitempty" name:"Config"`
// Number of remaining creatable partitions
RemainderPartitions *int64 `json:"RemainderPartitions,omitnil,omitempty" name:"RemainderPartitions"`
// Number of remaining creatable topics
RemainderTopics *int64 `json:"RemainderTopics,omitnil,omitempty" name:"RemainderTopics"`
// Number of partitions already created
CreatedPartitions *int64 `json:"CreatedPartitions,omitnil,omitempty" name:"CreatedPartitions"`
// Number of topics already created
CreatedTopics *int64 `json:"CreatedTopics,omitnil,omitempty" name:"CreatedTopics"`
// Tag array
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Expiration time
ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// Availability Zone List
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// Specifies the ckafka cluster instance version.
Version *string `json:"Version,omitnil,omitempty" name:"Version"`
// Maximum number of groups.
MaxGroupNum *int64 `json:"MaxGroupNum,omitnil,omitempty" name:"MaxGroupNum"`
// Sale type. valid values: 0 (standard version), 1 (pro edition).
Cvm *int64 `json:"Cvm,omitnil,omitempty" name:"Cvm"`
// Instance type. valid values:.
// Specifies the pro edition.
// Standard version.
// premium. specifies the advanced edition.
// Specifies the serverless version.
InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// Indicates the characteristics supported by the instance. FEATURE_SUBNET_ACL means the policy support for configuring subnets.
Features []*string `json:"Features,omitnil,omitempty" name:"Features"`
// Dynamic message retention policy.
RetentionTimeConfig *DynamicRetentionTime `json:"RetentionTimeConfig,omitnil,omitempty" name:"RetentionTimeConfig"`
// Maximum number of connections.
MaxConnection *uint64 `json:"MaxConnection,omitnil,omitempty" name:"MaxConnection"`
// Public network bandwidth
PublicNetwork *int64 `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"`
// Specifies the deprecated field with no actual meaning.
DeleteRouteTimestamp *string `json:"DeleteRouteTimestamp,omitnil,omitempty" name:"DeleteRouteTimestamp"`
// Number of remaining creatable partitions.
RemainingPartitions *int64 `json:"RemainingPartitions,omitnil,omitempty" name:"RemainingPartitions"`
// Number of remaining creatable topics.
RemainingTopics *int64 `json:"RemainingTopics,omitnil,omitempty" name:"RemainingTopics"`
// Scaling policy for dynamic disk.
DynamicDiskConfig *DynamicDiskConfig `json:"DynamicDiskConfig,omitnil,omitempty" name:"DynamicDiskConfig"`
// Specifies the instance billing type. POSTPAID_BY_HOUR: hourly billing; PREPAID: annual/monthly package.
InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`
// Whether to enable the elastic bandwidth allowlist.
// Indicates the allowlist feature with elastic bandwidth enabled.
// 0: elastic bandwidth allowlist feature is disabled.
ElasticBandwidthSwitch *int64 `json:"ElasticBandwidthSwitch,omitnil,omitempty" name:"ElasticBandwidthSwitch"`
// Indicates the elastic bandwidth activation status.
// 1: indicates elastic bandwidth is disabled.
// Enable elastic bandwidth.
// Enable elastic bandwidth successfully.
// 33: disabling elastic bandwidth.
// Indicates that the elastic bandwidth is successfully disabled.
// Enable elastic bandwidth failed.
// Bandwidth failure.
ElasticBandwidthOpenStatus *int64 `json:"ElasticBandwidthOpenStatus,omitnil,omitempty" name:"ElasticBandwidthOpenStatus"`
// Cluster type.
// CLOUD_IDC idc cluster.
// CLOUD_CVM_SHARE shared cluster.
// CLOUD_CVM_YUNTI yunti cvm cluster.
// CLOUD_CVM. specifies the cvm cluster.
// CLOUD_CDC cdc cluster.
// CLOUD_EKS_TSE eks cluster.
ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
// Number of free partitions.
FreePartitionNumber *int64 `json:"FreePartitionNumber,omitnil,omitempty" name:"FreePartitionNumber"`
// Specifies the elastic bandwidth upper limit.
ElasticFloatBandwidth *int64 `json:"ElasticFloatBandwidth,omitnil,omitempty" name:"ElasticFloatBandwidth"`
// ssl custom certificate id. only returned for instance clusters with custom certificates.
CustomCertId *string `json:"CustomCertId,omitnil,omitempty" name:"CustomCertId"`
// Default unclean.leader.election.enable configuration for cluster topic: 1 enable 0 disable.
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Instance deletion protection switch. 1: enabled; 0: disabled.
DeleteProtectionEnable *int64 `json:"DeleteProtectionEnable,omitnil,omitempty" name:"DeleteProtectionEnable"`
}
type InstanceChargeParam ¶
type InstanceChargeParam struct {
// Instance billing mode (`PREPAID`: Monthly subscription; `POSTPAID_BY_HOUR`: Pay-as-you-go)
InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`
// Validity period, which is only required for the monthly subscription billing mode
InstanceChargePeriod *int64 `json:"InstanceChargePeriod,omitnil,omitempty" name:"InstanceChargePeriod"`
}
type InstanceConfigDO ¶
type InstanceConfigDO struct {
// Whether to create topics automatically
AutoCreateTopicsEnable *bool `json:"AutoCreateTopicsEnable,omitnil,omitempty" name:"AutoCreateTopicsEnable"`
// Number of partitions
DefaultNumPartitions *int64 `json:"DefaultNumPartitions,omitnil,omitempty" name:"DefaultNumPartitions"`
// Default replication factor
DefaultReplicationFactor *int64 `json:"DefaultReplicationFactor,omitnil,omitempty" name:"DefaultReplicationFactor"`
}
type InstanceDeleteResponse ¶
type InstanceDeleteResponse struct {
// Specifies the task Id returned after deleting an instance.
FlowId *int64 `json:"FlowId,omitnil,omitempty" name:"FlowId"`
}
type InstanceDetail ¶
type InstanceDetail struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// CKafka cluster instance name.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Instance VIP information
Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
// Instance port information
Vport *string `json:"Vport,omitnil,omitempty" name:"Vport"`
// Virtual IP list
VipList []*VipEntity `json:"VipList,omitnil,omitempty" name:"VipList"`
// Instance status. 0: creating, 1: running, 2: deleting, 3: deleted, 5: isolated, 7: upgrading, -1: creation failed.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Instance bandwidth in Mbps
Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"`
// Specifies the ckafka cluster instance disk size in gb.
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// AZ ID
ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// vpcId. If this parameter is empty, it means the basic network
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Subnet ID
SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
// Whether to renew the instance automatically, which is an int-type enumerated value. 1: yes, 2: no
RenewFlag *int64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
// Instance status. An int-type value will be returned. `0`: Healthy, `1`: Alarmed, `2`: Exceptional
Healthy *int64 `json:"Healthy,omitnil,omitempty" name:"Healthy"`
// Instance status information
HealthyMessage *string `json:"HealthyMessage,omitnil,omitempty" name:"HealthyMessage"`
// Instance creation time
CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Instance expiration time
ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// Whether it is an internal customer. 1: yes
IsInternal *int64 `json:"IsInternal,omitnil,omitempty" name:"IsInternal"`
// Number of topics
TopicNum *int64 `json:"TopicNum,omitnil,omitempty" name:"TopicNum"`
// Tag
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// kafka version information.
Version *string `json:"Version,omitnil,omitempty" name:"Version"`
// Cross-Availability zone.
ZoneIds []*int64 `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"`
// ckafka sales type.
Cvm *int64 `json:"Cvm,omitnil,omitempty" name:"Cvm"`
// Specifies the cluster instance type of ckafka.
InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`
// Specifies the ckafka cluster instance disk type.
DiskType *string `json:"DiskType,omitnil,omitempty" name:"DiskType"`
// Maximum number of topics for current specifications.
MaxTopicNumber *int64 `json:"MaxTopicNumber,omitnil,omitempty" name:"MaxTopicNumber"`
// Maximum number of partitions for current specifications.
MaxPartitionNumber *int64 `json:"MaxPartitionNumber,omitnil,omitempty" name:"MaxPartitionNumber"`
// Scheduled configuration upgrade time.
RebalanceTime *string `json:"RebalanceTime,omitnil,omitempty" name:"RebalanceTime"`
// Specifies the number of partitions in the current instance.
PartitionNumber *uint64 `json:"PartitionNumber,omitnil,omitempty" name:"PartitionNumber"`
// Specifies the public network bandwidth type of the ckafka cluster instance.
PublicNetworkChargeType *string `json:"PublicNetworkChargeType,omitnil,omitempty" name:"PublicNetworkChargeType"`
// Public network bandwidth. minimum 3 Mbps. maximum 999 Mbps. only the pro edition supports filling in.
PublicNetwork *int64 `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"`
// Specifies the underlying cluster type of the ckafka cluster instance.
ClusterType *string `json:"ClusterType,omitnil,omitempty" name:"ClusterType"`
// Instance feature list.
Features []*string `json:"Features,omitnil,omitempty" name:"Features"`
}
type InstanceDetailResponse ¶
type InstanceDetailResponse struct {
// Total number of eligible instances
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// List of eligible instance details
InstanceList []*InstanceDetail `json:"InstanceList,omitnil,omitempty" name:"InstanceList"`
}
type InstanceQuotaConfigResp ¶
type InstanceQuotaConfigResp struct {
// Production throttling in MB/sec.
// Note: This field may return `null`, indicating that no valid values can be obtained.
QuotaProducerByteRate *int64 `json:"QuotaProducerByteRate,omitnil,omitempty" name:"QuotaProducerByteRate"`
// Consumption throttling in MB/sec.
// Note: This field may return `null`, indicating that no valid values can be obtained.
QuotaConsumerByteRate *int64 `json:"QuotaConsumerByteRate,omitnil,omitempty" name:"QuotaConsumerByteRate"`
}
type InstanceResponse ¶
type InstanceRoute ¶
type JgwOperateResponse ¶
type JgwOperateResponse struct {
// Returned code. 0: normal, other values: error
ReturnCode *string `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"`
// Success message
ReturnMessage *string `json:"ReturnMessage,omitnil,omitempty" name:"ReturnMessage"`
// Data returned by an operation, which may contain `flowId`, etc.
// Note: this field may return null, indicating that no valid values can be obtained.
Data *OperateResponseData `json:"Data,omitnil,omitempty" name:"Data"`
}
type ListCvmAndIpInfoRsp ¶
type ListCvmAndIpInfoRsp struct {
// cvm and IP list.
CvmList []*CvmAndIpInfo `json:"CvmList,omitnil,omitempty" name:"CvmList"`
// Specifies the instance data volume.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}
type ModifyAclRuleRequest ¶
type ModifyAclRuleRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL rule name.
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
// Specifies whether to apply to newly-added topics when importing predefined rule modifications.
IsApplied *int64 `json:"IsApplied,omitnil,omitempty" name:"IsApplied"`
}
func NewModifyAclRuleRequest ¶
func NewModifyAclRuleRequest() (request *ModifyAclRuleRequest)
func (*ModifyAclRuleRequest) FromJsonString ¶
func (r *ModifyAclRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAclRuleRequest) ToJsonString ¶
func (r *ModifyAclRuleRequest) ToJsonString() string
type ModifyAclRuleRequestParams ¶
type ModifyAclRuleRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// ACL rule name.
RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
// Specifies whether to apply to newly-added topics when importing predefined rule modifications.
IsApplied *int64 `json:"IsApplied,omitnil,omitempty" name:"IsApplied"`
}
Predefined struct for user
type ModifyAclRuleResponse ¶
type ModifyAclRuleResponse struct {
*tchttp.BaseResponse
Response *ModifyAclRuleResponseParams `json:"Response"`
}
func NewModifyAclRuleResponse ¶
func NewModifyAclRuleResponse() (response *ModifyAclRuleResponse)
func (*ModifyAclRuleResponse) FromJsonString ¶
func (r *ModifyAclRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAclRuleResponse) ToJsonString ¶
func (r *ModifyAclRuleResponse) ToJsonString() string
type ModifyAclRuleResponseParams ¶
type ModifyAclRuleResponseParams struct {
// Unique key of a rule
Result *int64 `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 ModifyDatahubTopicRequest ¶
type ModifyDatahubTopicRequest struct {
*tchttp.BaseRequest
// Elastic topic name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Message retention period in ms. The current minimum value is 60,000 ms.
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Topic remarks, which are a string of up to 64 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Tag list
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
func NewModifyDatahubTopicRequest ¶
func NewModifyDatahubTopicRequest() (request *ModifyDatahubTopicRequest)
func (*ModifyDatahubTopicRequest) FromJsonString ¶
func (r *ModifyDatahubTopicRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatahubTopicRequest) ToJsonString ¶
func (r *ModifyDatahubTopicRequest) ToJsonString() string
type ModifyDatahubTopicRequestParams ¶
type ModifyDatahubTopicRequestParams struct {
// Elastic topic name.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Message retention period in ms. The current minimum value is 60,000 ms.
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Topic remarks, which are a string of up to 64 characters. It can contain letters, digits, and hyphens (-) and must start with a letter.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Tag list
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
Predefined struct for user
type ModifyDatahubTopicResponse ¶
type ModifyDatahubTopicResponse struct {
*tchttp.BaseResponse
Response *ModifyDatahubTopicResponseParams `json:"Response"`
}
func NewModifyDatahubTopicResponse ¶
func NewModifyDatahubTopicResponse() (response *ModifyDatahubTopicResponse)
func (*ModifyDatahubTopicResponse) FromJsonString ¶
func (r *ModifyDatahubTopicResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatahubTopicResponse) ToJsonString ¶
func (r *ModifyDatahubTopicResponse) ToJsonString() string
type ModifyDatahubTopicResponseParams ¶
type ModifyDatahubTopicResponseParams struct {
// Returned result set
Result *JgwOperateResponse `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 ModifyGroupOffsetsRequest ¶
type ModifyGroupOffsetsRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Consumer group name. obtain through the API [DescribeConsumerGroup](https://www.tencentcloud.comom/document/product/597/40841?from_cn_redirect=1).
Group *string `json:"Group,omitnil,omitempty" name:"Group"`
// Reset offset strategy. parameter meaning: 0. align with the shift-by parameter, move the offset forward or backward by shift entries. 1. alignment reference (by-duration, to-datetime, to-earliest, to-latest), move the offset to the specified timestamp position. 2. alignment reference (to-offset), move the offset to the specified offset position.
Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`
// Specifies the topic name list that needs to reset.
Topics []*string `json:"Topics,omitnil,omitempty" name:"Topics"`
// When `strategy` is 0, this field is required. If it is above zero, the offset will be shifted backward by the value of the `shift`. If it is below zero, the offset will be shifted forward by the value of the `shift`. After a correct reset, the new offset should be (old_offset + shift). Note that if the new offset is smaller than the `earliest` parameter of the partition, it will be set to `earliest`, and if it is greater than the `latest` parameter of the partition, it will be set to `latest`
Shift *int64 `json:"Shift,omitnil,omitempty" name:"Shift"`
// In milliseconds. when strategy is 1, must include this field. among them, -2 means reset offset to the start position, -1 means reset to the latest position (equivalent to clearing), other values represent the specified time. obtain the offset at the specified time in the topic and reset. notably, if no message exists at the specified time, get the last offset.
ShiftTimestamp *int64 `json:"ShiftTimestamp,omitnil,omitempty" name:"ShiftTimestamp"`
// Position of the offset that needs to be reset. When `strategy` is 2, this field is required
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// List of partitions that need to be reset. If the topics parameter is not specified, reset partitions in the corresponding partition list of all topics. If the topics parameter is specified, reset partitions of the corresponding partition list of the specified topic list.
Partitions []*int64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
}
func NewModifyGroupOffsetsRequest ¶
func NewModifyGroupOffsetsRequest() (request *ModifyGroupOffsetsRequest)
func (*ModifyGroupOffsetsRequest) FromJsonString ¶
func (r *ModifyGroupOffsetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGroupOffsetsRequest) ToJsonString ¶
func (r *ModifyGroupOffsetsRequest) ToJsonString() string
type ModifyGroupOffsetsRequestParams ¶
type ModifyGroupOffsetsRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Consumer group name. obtain through the API [DescribeConsumerGroup](https://www.tencentcloud.comom/document/product/597/40841?from_cn_redirect=1).
Group *string `json:"Group,omitnil,omitempty" name:"Group"`
// Reset offset strategy. parameter meaning: 0. align with the shift-by parameter, move the offset forward or backward by shift entries. 1. alignment reference (by-duration, to-datetime, to-earliest, to-latest), move the offset to the specified timestamp position. 2. alignment reference (to-offset), move the offset to the specified offset position.
Strategy *int64 `json:"Strategy,omitnil,omitempty" name:"Strategy"`
// Specifies the topic name list that needs to reset.
Topics []*string `json:"Topics,omitnil,omitempty" name:"Topics"`
// When `strategy` is 0, this field is required. If it is above zero, the offset will be shifted backward by the value of the `shift`. If it is below zero, the offset will be shifted forward by the value of the `shift`. After a correct reset, the new offset should be (old_offset + shift). Note that if the new offset is smaller than the `earliest` parameter of the partition, it will be set to `earliest`, and if it is greater than the `latest` parameter of the partition, it will be set to `latest`
Shift *int64 `json:"Shift,omitnil,omitempty" name:"Shift"`
// In milliseconds. when strategy is 1, must include this field. among them, -2 means reset offset to the start position, -1 means reset to the latest position (equivalent to clearing), other values represent the specified time. obtain the offset at the specified time in the topic and reset. notably, if no message exists at the specified time, get the last offset.
ShiftTimestamp *int64 `json:"ShiftTimestamp,omitnil,omitempty" name:"ShiftTimestamp"`
// Position of the offset that needs to be reset. When `strategy` is 2, this field is required
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// List of partitions that need to be reset. If the topics parameter is not specified, reset partitions in the corresponding partition list of all topics. If the topics parameter is specified, reset partitions of the corresponding partition list of the specified topic list.
Partitions []*int64 `json:"Partitions,omitnil,omitempty" name:"Partitions"`
}
Predefined struct for user
type ModifyGroupOffsetsResponse ¶
type ModifyGroupOffsetsResponse struct {
*tchttp.BaseResponse
Response *ModifyGroupOffsetsResponseParams `json:"Response"`
}
func NewModifyGroupOffsetsResponse ¶
func NewModifyGroupOffsetsResponse() (response *ModifyGroupOffsetsResponse)
func (*ModifyGroupOffsetsResponse) FromJsonString ¶
func (r *ModifyGroupOffsetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGroupOffsetsResponse) ToJsonString ¶
func (r *ModifyGroupOffsetsResponse) ToJsonString() string
type ModifyGroupOffsetsResponseParams ¶
type ModifyGroupOffsetsResponseParams struct {
// Returned result
Result *JgwOperateResponse `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 ModifyInstanceAttributesConfig ¶
type ModifyInstanceAttributesConfig struct {
// Automatic creation. true: enabled, false: not enabled
AutoCreateTopicEnable *bool `json:"AutoCreateTopicEnable,omitnil,omitempty" name:"AutoCreateTopicEnable"`
// Default number of partitions for a newly created topic. if AutoCreateTopicEnable is set to true and no value is set, defaults to 3.
DefaultNumPartitions *int64 `json:"DefaultNumPartitions,omitnil,omitempty" name:"DefaultNumPartitions"`
// Default number of replicas for a newly created topic. if AutoCreateTopicEnable is set to true and not specified, defaults to 2.
DefaultReplicationFactor *int64 `json:"DefaultReplicationFactor,omitnil,omitempty" name:"DefaultReplicationFactor"`
}
type ModifyInstanceAttributesRequest ¶
type ModifyInstanceAttributesRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Maximum retention time of instance logs, in minutes, with a value range of 1min to 90 days.
MsgRetentionTime *int64 `json:"MsgRetentionTime,omitnil,omitempty" name:"MsgRetentionTime"`
// Specifies the Name of the ckafka cluster instance.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Instance configuration
Config *ModifyInstanceAttributesConfig `json:"Config,omitnil,omitempty" name:"Config"`
// Dynamic message retention policy configuration
DynamicRetentionConfig *DynamicRetentionTime `json:"DynamicRetentionConfig,omitnil,omitempty" name:"DynamicRetentionConfig"`
// Specifies the execution time of a scheduled task for edition upgrade or configuration upgrade in Unix timestamp, accurate to the second.
RebalanceTime *int64 `json:"RebalanceTime,omitnil,omitempty" name:"RebalanceTime"`
// Public network bandwidth. minimum 3 Mbps. maximum 999 Mbps. only the pro edition supports filling in.
PublicNetwork *int64 `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"`
// Dynamic disk expansion policy configuration.
DynamicDiskConfig *DynamicDiskConfig `json:"DynamicDiskConfig,omitnil,omitempty" name:"DynamicDiskConfig"`
// Single message size at the instance level (unit: byte). value range: 1024 (excluding) to 12582912 (excluding).
MaxMessageByte *uint64 `json:"MaxMessageByte,omitnil,omitempty" name:"MaxMessageByte"`
// Whether to allow unsynchronized replicas to be elected as leader. valid values: 1 (enable), 0 (disable).
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Instance deletion protection switch. 1: enabled; 0: disabled.
DeleteProtectionEnable *int64 `json:"DeleteProtectionEnable,omitnil,omitempty" name:"DeleteProtectionEnable"`
}
func NewModifyInstanceAttributesRequest ¶
func NewModifyInstanceAttributesRequest() (request *ModifyInstanceAttributesRequest)
func (*ModifyInstanceAttributesRequest) FromJsonString ¶
func (r *ModifyInstanceAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceAttributesRequest) ToJsonString ¶
func (r *ModifyInstanceAttributesRequest) ToJsonString() string
type ModifyInstanceAttributesRequestParams ¶
type ModifyInstanceAttributesRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Maximum retention time of instance logs, in minutes, with a value range of 1min to 90 days.
MsgRetentionTime *int64 `json:"MsgRetentionTime,omitnil,omitempty" name:"MsgRetentionTime"`
// Specifies the Name of the ckafka cluster instance.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Instance configuration
Config *ModifyInstanceAttributesConfig `json:"Config,omitnil,omitempty" name:"Config"`
// Dynamic message retention policy configuration
DynamicRetentionConfig *DynamicRetentionTime `json:"DynamicRetentionConfig,omitnil,omitempty" name:"DynamicRetentionConfig"`
// Specifies the execution time of a scheduled task for edition upgrade or configuration upgrade in Unix timestamp, accurate to the second.
RebalanceTime *int64 `json:"RebalanceTime,omitnil,omitempty" name:"RebalanceTime"`
// Public network bandwidth. minimum 3 Mbps. maximum 999 Mbps. only the pro edition supports filling in.
PublicNetwork *int64 `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"`
// Dynamic disk expansion policy configuration.
//
// Deprecated: DynamicDiskConfig is deprecated.
DynamicDiskConfig *DynamicDiskConfig `json:"DynamicDiskConfig,omitnil,omitempty" name:"DynamicDiskConfig"`
// Single message size at the instance level (unit: byte). value range: 1024 (excluding) to 12582912 (excluding).
MaxMessageByte *uint64 `json:"MaxMessageByte,omitnil,omitempty" name:"MaxMessageByte"`
// Whether to allow unsynchronized replicas to be elected as leader. valid values: 1 (enable), 0 (disable).
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Instance deletion protection switch. 1: enabled; 0: disabled.
DeleteProtectionEnable *int64 `json:"DeleteProtectionEnable,omitnil,omitempty" name:"DeleteProtectionEnable"`
}
Predefined struct for user
type ModifyInstanceAttributesResponse ¶
type ModifyInstanceAttributesResponse struct {
*tchttp.BaseResponse
Response *ModifyInstanceAttributesResponseParams `json:"Response"`
}
func NewModifyInstanceAttributesResponse ¶
func NewModifyInstanceAttributesResponse() (response *ModifyInstanceAttributesResponse)
func (*ModifyInstanceAttributesResponse) FromJsonString ¶
func (r *ModifyInstanceAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstanceAttributesResponse) ToJsonString ¶
func (r *ModifyInstanceAttributesResponse) ToJsonString() string
type ModifyInstanceAttributesResponseParams ¶
type ModifyInstanceAttributesResponseParams struct {
// Returned result
Result *JgwOperateResponse `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 ModifyInstancePreRequest ¶
type ModifyInstancePreRequest struct {
*tchttp.BaseRequest
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the disk capacity in GB. value range: 100 to 500000 with a step length of 100.
// Specification limits can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122562.?from_cn_redirect=1
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// Peak bandwidth in MB/s.
// Specifies the specification limits and corresponding step length through the following link: https://www.tencentcloud.comom/document/product/597/11745.?from_cn_redirect=1
BandWidth *int64 `json:"BandWidth,omitnil,omitempty" name:"BandWidth"`
// Partition upper bound. maximum value of 40000. step length of 100.
// Specifies the specifications and limits that can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
}
func NewModifyInstancePreRequest ¶
func NewModifyInstancePreRequest() (request *ModifyInstancePreRequest)
func (*ModifyInstancePreRequest) FromJsonString ¶
func (r *ModifyInstancePreRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancePreRequest) ToJsonString ¶
func (r *ModifyInstancePreRequest) ToJsonString() string
type ModifyInstancePreRequestParams ¶
type ModifyInstancePreRequestParams struct {
// ckafka cluster instance Id. obtain through the API [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1).
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the disk capacity in GB. value range: 100 to 500000 with a step length of 100.
// Specification limits can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122562.?from_cn_redirect=1
DiskSize *int64 `json:"DiskSize,omitnil,omitempty" name:"DiskSize"`
// Peak bandwidth in MB/s.
// Specifies the specification limits and corresponding step length through the following link: https://www.tencentcloud.comom/document/product/597/11745.?from_cn_redirect=1
BandWidth *int64 `json:"BandWidth,omitnil,omitempty" name:"BandWidth"`
// Partition upper bound. maximum value of 40000. step length of 100.
// Specifies the specifications and limits that can be viewed through the following link: https://www.tencentcloud.comom/document/product/597/122563.?from_cn_redirect=1
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
}
Predefined struct for user
type ModifyInstancePreResponse ¶
type ModifyInstancePreResponse struct {
*tchttp.BaseResponse
Response *ModifyInstancePreResponseParams `json:"Response"`
}
func NewModifyInstancePreResponse ¶
func NewModifyInstancePreResponse() (response *ModifyInstancePreResponse)
func (*ModifyInstancePreResponse) FromJsonString ¶
func (r *ModifyInstancePreResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyInstancePreResponse) ToJsonString ¶
func (r *ModifyInstancePreResponse) ToJsonString() string
type ModifyInstancePreResponseParams ¶
type ModifyInstancePreResponseParams struct {
// Response structure of modifying the configurations of a prepaid instance.
Result *CreateInstancePreResp `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 ModifyPasswordRequest ¶
type ModifyPasswordRequest struct {
*tchttp.BaseRequest
// Instance Id. you can obtain it by calling the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the username, which can be obtained through the [DescribeUser](https://www.tencentcloud.comom/document/product/597/40855?from_cn_redirect=1) api.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Current user password
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// New user password
PasswordNew *string `json:"PasswordNew,omitnil,omitempty" name:"PasswordNew"`
}
func NewModifyPasswordRequest ¶
func NewModifyPasswordRequest() (request *ModifyPasswordRequest)
func (*ModifyPasswordRequest) FromJsonString ¶
func (r *ModifyPasswordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPasswordRequest) ToJsonString ¶
func (r *ModifyPasswordRequest) ToJsonString() string
type ModifyPasswordRequestParams ¶
type ModifyPasswordRequestParams struct {
// Instance Id. you can obtain it by calling the [DescribeInstances](https://www.tencentcloud.comom/document/product/597/40835?from_cn_redirect=1) api.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Specifies the username, which can be obtained through the [DescribeUser](https://www.tencentcloud.comom/document/product/597/40855?from_cn_redirect=1) api.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Current user password
Password *string `json:"Password,omitnil,omitempty" name:"Password"`
// New user password
PasswordNew *string `json:"PasswordNew,omitnil,omitempty" name:"PasswordNew"`
}
Predefined struct for user
type ModifyPasswordResponse ¶
type ModifyPasswordResponse struct {
*tchttp.BaseResponse
Response *ModifyPasswordResponseParams `json:"Response"`
}
func NewModifyPasswordResponse ¶
func NewModifyPasswordResponse() (response *ModifyPasswordResponse)
func (*ModifyPasswordResponse) FromJsonString ¶
func (r *ModifyPasswordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPasswordResponse) ToJsonString ¶
func (r *ModifyPasswordResponse) ToJsonString() string
type ModifyPasswordResponseParams ¶
type ModifyPasswordResponseParams struct {
// Returned result
Result *JgwOperateResponse `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 ModifyTopicAttributesRequest ¶
type ModifyTopicAttributesRequest struct {
*tchttp.BaseRequest
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic remarks string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// IP allowlist switch. 1: enabled, 0: disabled.
EnableWhiteList *int64 `json:"EnableWhiteList,omitnil,omitempty" name:"EnableWhiteList"`
// Default value: 1.
MinInsyncReplicas *int64 `json:"MinInsyncReplicas,omitnil,omitempty" name:"MinInsyncReplicas"`
// 0: false, 1: true. Default value: 0.
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Message retention period in ms. The current minimum value is 60,000 ms.
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Max message size in bytes. Max value: 8,388,608 bytes (8 MB).
MaxMessageBytes *int64 `json:"MaxMessageBytes,omitnil,omitempty" name:"MaxMessageBytes"`
// Duration of Segment shard scrolling in milliseconds. current min value is 86400000 ms.
SegmentMs *int64 `json:"SegmentMs,omitnil,omitempty" name:"SegmentMs"`
// Message deletion policy. Valid values: delete, compact
CleanUpPolicy *string `json:"CleanUpPolicy,omitnil,omitempty" name:"CleanUpPolicy"`
// IP allowlist, which is required if the value of `enableWhileList` is 1.
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
// Preset ACL rule. `1`: enable, `0`: disable. Default value: `0`.
EnableAclRule *int64 `json:"EnableAclRule,omitnil,omitempty" name:"EnableAclRule"`
// ACL rule name.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
// Message retention file size in bytes, which is an optional parameter. Default value: -1. Currently, the min value that can be entered is 1,048,576 B.
RetentionBytes *int64 `json:"RetentionBytes,omitnil,omitempty" name:"RetentionBytes"`
// Tag list.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Production traffic throttling in MB/s. set to -1 to disable throttling.
QuotaProducerByteRate *int64 `json:"QuotaProducerByteRate,omitnil,omitempty" name:"QuotaProducerByteRate"`
// Consumption traffic throttling in MB/s. set to -1 for unlimited consumption.
QuotaConsumerByteRate *int64 `json:"QuotaConsumerByteRate,omitnil,omitempty" name:"QuotaConsumerByteRate"`
// Number of topic replicas. valid values: 1, 3.
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
}
func NewModifyTopicAttributesRequest ¶
func NewModifyTopicAttributesRequest() (request *ModifyTopicAttributesRequest)
func (*ModifyTopicAttributesRequest) FromJsonString ¶
func (r *ModifyTopicAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicAttributesRequest) ToJsonString ¶
func (r *ModifyTopicAttributesRequest) ToJsonString() string
type ModifyTopicAttributesRequestParams ¶
type ModifyTopicAttributesRequestParams struct {
// The ckafka cluster instance Id.
InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic remarks string of up to 64 characters, which must begin with a letter and can contain letters, digits, and dashes (`-`).
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// IP allowlist switch. 1: enabled, 0: disabled.
EnableWhiteList *int64 `json:"EnableWhiteList,omitnil,omitempty" name:"EnableWhiteList"`
// Default value: 1.
MinInsyncReplicas *int64 `json:"MinInsyncReplicas,omitnil,omitempty" name:"MinInsyncReplicas"`
// 0: false, 1: true. Default value: 0.
UncleanLeaderElectionEnable *int64 `json:"UncleanLeaderElectionEnable,omitnil,omitempty" name:"UncleanLeaderElectionEnable"`
// Message retention period in ms. The current minimum value is 60,000 ms.
RetentionMs *int64 `json:"RetentionMs,omitnil,omitempty" name:"RetentionMs"`
// Max message size in bytes. Max value: 8,388,608 bytes (8 MB).
MaxMessageBytes *int64 `json:"MaxMessageBytes,omitnil,omitempty" name:"MaxMessageBytes"`
// Duration of Segment shard scrolling in milliseconds. current min value is 86400000 ms.
SegmentMs *int64 `json:"SegmentMs,omitnil,omitempty" name:"SegmentMs"`
// Message deletion policy. Valid values: delete, compact
CleanUpPolicy *string `json:"CleanUpPolicy,omitnil,omitempty" name:"CleanUpPolicy"`
// IP allowlist, which is required if the value of `enableWhileList` is 1.
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
// Preset ACL rule. `1`: enable, `0`: disable. Default value: `0`.
EnableAclRule *int64 `json:"EnableAclRule,omitnil,omitempty" name:"EnableAclRule"`
// ACL rule name.
AclRuleName *string `json:"AclRuleName,omitnil,omitempty" name:"AclRuleName"`
// Message retention file size in bytes, which is an optional parameter. Default value: -1. Currently, the min value that can be entered is 1,048,576 B.
RetentionBytes *int64 `json:"RetentionBytes,omitnil,omitempty" name:"RetentionBytes"`
// Tag list.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
// Production traffic throttling in MB/s. set to -1 to disable throttling.
QuotaProducerByteRate *int64 `json:"QuotaProducerByteRate,omitnil,omitempty" name:"QuotaProducerByteRate"`
// Consumption traffic throttling in MB/s. set to -1 for unlimited consumption.
QuotaConsumerByteRate *int64 `json:"QuotaConsumerByteRate,omitnil,omitempty" name:"QuotaConsumerByteRate"`
// Number of topic replicas. valid values: 1, 3.
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
}
Predefined struct for user
type ModifyTopicAttributesResponse ¶
type ModifyTopicAttributesResponse struct {
*tchttp.BaseResponse
Response *ModifyTopicAttributesResponseParams `json:"Response"`
}
func NewModifyTopicAttributesResponse ¶
func NewModifyTopicAttributesResponse() (response *ModifyTopicAttributesResponse)
func (*ModifyTopicAttributesResponse) FromJsonString ¶
func (r *ModifyTopicAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicAttributesResponse) ToJsonString ¶
func (r *ModifyTopicAttributesResponse) ToJsonString() string
type ModifyTopicAttributesResponseParams ¶
type ModifyTopicAttributesResponseParams struct {
// Returned result.
Result *JgwOperateResponse `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 OperateResponseData ¶
type Partition ¶
type Partition struct {
// Partition ID
PartitionId *int64 `json:"PartitionId,omitnil,omitempty" name:"PartitionId"`
}
type PartitionOffset ¶
type Partitions ¶
type Region ¶
type Region struct {
// Region ID
RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`
// Region name
RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`
// Area name
AreaName *string `json:"AreaName,omitnil,omitempty" name:"AreaName"`
// Region code.
RegionCode *string `json:"RegionCode,omitnil,omitempty" name:"RegionCode"`
// Region code (V3 version).
RegionCodeV3 *string `json:"RegionCodeV3,omitnil,omitempty" name:"RegionCodeV3"`
// Specifies the default value does not support any special type instance type.
Support *string `json:"Support,omitnil,omitempty" name:"Support"`
// Whether ipv6 is supported. 0: indicates no support. 1: indicates support.
Ipv6 *int64 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"`
// Whether cross-az is supported. valid values: 0 (unsupported), 1 (supported).
MultiZone *int64 `json:"MultiZone,omitnil,omitempty" name:"MultiZone"`
}
type Route ¶
type Route struct {
// Instance connection method
// 0: PLAINTEXT (plaintext method, which does not carry user information and is supported for legacy versions and Community Edition)
// 1: SASL_PLAINTEXT (plaintext method, which authenticates the login through SASL before data start and is supported only for Community Edition)
// 2: SSL (SSL-encrypted communication, which does not carry user information and is supported for legacy versions and Community Edition)
// 3: SASL_SSL (SSL-encrypted communication, which authenticates the login through SASL before data start and is supported only for Community Edition)
AccessType *int64 `json:"AccessType,omitnil,omitempty" name:"AccessType"`
// Route ID
RouteId *int64 `json:"RouteId,omitnil,omitempty" name:"RouteId"`
// Specifies the network type of the route (3: vpc routing; 7: internal support route; 1: public network route).
VipType *int64 `json:"VipType,omitnil,omitempty" name:"VipType"`
// Virtual IP list
VipList []*VipEntity `json:"VipList,omitnil,omitempty" name:"VipList"`
// Domain name
// Note: this field may return null, indicating that no valid values can be obtained.
Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
// Domain name port
// Note: this field may return null, indicating that no valid values can be obtained.
DomainPort *int64 `json:"DomainPort,omitnil,omitempty" name:"DomainPort"`
// Timestamp.
DeleteTimestamp *string `json:"DeleteTimestamp,omitnil,omitempty" name:"DeleteTimestamp"`
// Specifies the subnet Id.
// Note: This field may return null, indicating that no valid values can be obtained.
Subnet *string `json:"Subnet,omitnil,omitempty" name:"Subnet"`
// Virtual IP list (1:1 broker node).
BrokerVipList []*VipEntity `json:"BrokerVipList,omitnil,omitempty" name:"BrokerVipList"`
// VPC Id. specifies the Id of the vpc.
// Note: This field may return null, indicating that no valid values can be obtained.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Remarks
// Note: This field may return null, indicating that no valid values can be obtained.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Route status. 1: creating, 2: creation succeeded, 3: creation failed, 4: deleting, 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 RouteDTO ¶
type RouteDTO struct {
// Route ID
RouteId *int64 `json:"RouteId,omitnil,omitempty" name:"RouteId"`
}
type RouteFilter ¶
type RouteFilter struct {
// Filters by name. currently supports security-group-id. filters by security group association.
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Filter value. when the filter name is security-group-id, only supports transmission of one value.
Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
// Filter relationship. supports IN and NOT_IN. default is IN.
Relation *string `json:"Relation,omitnil,omitempty" name:"Relation"`
}
type RouteResponse ¶
type RouteResponse struct {
// Route Information List
Routers []*Route `json:"Routers,omitnil,omitempty" name:"Routers"`
}
type SaleInfo ¶
type SaleInfo struct {
// The manually configured flag. valid values: true (sold-out), false (available).
Flag *bool `json:"Flag,omitnil,omitempty" name:"Flag"`
// Specifies the ckafka version number (1.1.1/2.4.2/0.10.2).
Version *string `json:"Version,omitnil,omitempty" name:"Version"`
// Pro edition, standard version flag.
Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`
// Specifies whether the item is sold-out. valid values: true (sold-out).
SoldOut *bool `json:"SoldOut,omitnil,omitempty" name:"SoldOut"`
}
type SecurityGroupRoute ¶
type SecurityGroupRoute struct {
// Specifies the routing information.
InstanceRoute *InstanceRoute `json:"InstanceRoute,omitnil,omitempty" name:"InstanceRoute"`
// Specifies the security group list to associate.
SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`
// CKafka cluster instance name.
InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"`
// Specifies the route vpcId.
VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`
// Route vip.
Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"`
}
type SecurityGroupRouteResp ¶
type SecurityGroupRouteResp struct {
// Total number of eligible security group routes.
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Eligible security group route information list.
SecurityGroupRoutes []*SecurityGroupRoute `json:"SecurityGroupRoutes,omitnil,omitempty" name:"SecurityGroupRoutes"`
}
type SendMessageRequest ¶
type SendMessageRequest struct {
*tchttp.BaseRequest
// Datahub access ID.
DataHubId *string `json:"DataHubId,omitnil,omitempty" name:"DataHubId"`
// Content of the message that has been sent. Up to 500 messages can be sent in a single request.
Message []*BatchContent `json:"Message,omitnil,omitempty" name:"Message"`
}
func NewSendMessageRequest ¶
func NewSendMessageRequest() (request *SendMessageRequest)
func (*SendMessageRequest) FromJsonString ¶
func (r *SendMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendMessageRequest) ToJsonString ¶
func (r *SendMessageRequest) ToJsonString() string
type SendMessageRequestParams ¶
type SendMessageRequestParams struct {
// Datahub access ID.
DataHubId *string `json:"DataHubId,omitnil,omitempty" name:"DataHubId"`
// Content of the message that has been sent. Up to 500 messages can be sent in a single request.
Message []*BatchContent `json:"Message,omitnil,omitempty" name:"Message"`
}
Predefined struct for user
type SendMessageResponse ¶
type SendMessageResponse struct {
*tchttp.BaseResponse
Response *SendMessageResponseParams `json:"Response"`
}
func NewSendMessageResponse ¶
func NewSendMessageResponse() (response *SendMessageResponse)
func (*SendMessageResponse) FromJsonString ¶
func (r *SendMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendMessageResponse) ToJsonString ¶
func (r *SendMessageResponse) ToJsonString() string
type SendMessageResponseParams ¶
type SendMessageResponseParams struct {
// Message ID list.
MessageId []*string `json:"MessageId,omitnil,omitempty" name:"MessageId"`
// 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 SubscribedInfo ¶
type SubscribedInfo struct {
// Subscribed topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Specifies the subscription partition.
Partition []*int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Specifies the partition offset information.
PartitionOffset []*PartitionOffset `json:"PartitionOffset,omitnil,omitempty" name:"PartitionOffset"`
// Subscribed topic ID.
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
}
type TaskStatusResponse ¶
type Topic ¶
type Topic struct {
// Topic ID
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Remarks
// Note: this field may return null, indicating that no valid values can be obtained.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
}
type TopicAttributesResponse ¶
type TopicAttributesResponse struct {
// Topic ID
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
// Specifies the unix second-level timestamp of the creation time.
CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Describes the topic remark.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Number of partitions
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// IP allowlist switch. 1: enabled, 0: disabled
EnableWhiteList *int64 `json:"EnableWhiteList,omitnil,omitempty" name:"EnableWhiteList"`
// IP allowlist list
IpWhiteList []*string `json:"IpWhiteList,omitnil,omitempty" name:"IpWhiteList"`
// Topic configuration array
Config *Config `json:"Config,omitnil,omitempty" name:"Config"`
// Partition details
Partitions []*TopicPartitionDO `json:"Partitions,omitnil,omitempty" name:"Partitions"`
// ACL preset policy switch. valid values: 1 (on); 0 (off).
EnableAclRule *int64 `json:"EnableAclRule,omitnil,omitempty" name:"EnableAclRule"`
// Preset policy list.
AclRuleList []*AclRule `json:"AclRuleList,omitnil,omitempty" name:"AclRuleList"`
// topic throttling policy.
QuotaConfig *InstanceQuotaConfigResp `json:"QuotaConfig,omitnil,omitempty" name:"QuotaConfig"`
// Number of replicas
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
}
type TopicDetail ¶
type TopicDetail struct {
// Topic name
TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
// Topic Id.
TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
// Number of partitions
PartitionNum *int64 `json:"PartitionNum,omitnil,omitempty" name:"PartitionNum"`
// Number of topic replicas. valid values: 1, 3.
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
// Remarks.
Note *string `json:"Note,omitnil,omitempty" name:"Note"`
// Creation time
CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Whether to enable IP authentication allowlist. true: yes, false: no
EnableWhiteList *bool `json:"EnableWhiteList,omitnil,omitempty" name:"EnableWhiteList"`
// Number of IPs in IP allowlist
IpWhiteListCount *int64 `json:"IpWhiteListCount,omitnil,omitempty" name:"IpWhiteListCount"`
// Data backup cos bucket. specifies the bucket address for archiving to cos.
ForwardCosBucket *string `json:"ForwardCosBucket,omitnil,omitempty" name:"ForwardCosBucket"`
// Status of data backup to COS. 1: not enabled, 0: enabled
ForwardStatus *int64 `json:"ForwardStatus,omitnil,omitempty" name:"ForwardStatus"`
// Frequency of data backup to COS
ForwardInterval *int64 `json:"ForwardInterval,omitnil,omitempty" name:"ForwardInterval"`
// Advanced configuration.
Config *Config `json:"Config,omitnil,omitempty" name:"Config"`
// Message retention period configuration (used for dynamic configuration change records).
RetentionTimeConfig *TopicRetentionTimeConfigRsp `json:"RetentionTimeConfig,omitnil,omitempty" name:"RetentionTimeConfig"`
// 0: normal. 1: deleted. 2: deleting.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// Tag list
// Note: This field may return null, indicating that no valid values can be obtained.
Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"`
}
type TopicDetailResponse ¶
type TopicDetailResponse struct {
// List of returned topic details.
TopicList []*TopicDetail `json:"TopicList,omitnil,omitempty" name:"TopicList"`
// Number of all eligible topic details
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}
type TopicInSyncReplicaInfo ¶
type TopicInSyncReplicaInfo struct {
// Partition name
Partition *string `json:"Partition,omitnil,omitempty" name:"Partition"`
// Leader ID
Leader *uint64 `json:"Leader,omitnil,omitempty" name:"Leader"`
// Replica set
Replica *string `json:"Replica,omitnil,omitempty" name:"Replica"`
// ISR
InSyncReplica *string `json:"InSyncReplica,omitnil,omitempty" name:"InSyncReplica"`
// Start Offset.
BeginOffset *uint64 `json:"BeginOffset,omitnil,omitempty" name:"BeginOffset"`
// End Offset.
EndOffset *uint64 `json:"EndOffset,omitnil,omitempty" name:"EndOffset"`
// Message count.
MessageCount *uint64 `json:"MessageCount,omitnil,omitempty" name:"MessageCount"`
// Unsynced replica.
OutOfSyncReplica *string `json:"OutOfSyncReplica,omitnil,omitempty" name:"OutOfSyncReplica"`
}
type TopicInSyncReplicaResult ¶
type TopicInSyncReplicaResult struct {
// Set of topic details and replicas
TopicInSyncReplicaList []*TopicInSyncReplicaInfo `json:"TopicInSyncReplicaList,omitnil,omitempty" name:"TopicInSyncReplicaList"`
// Total number
TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}
type TopicPartitionDO ¶
type TopicPartitionDO struct {
// Partition ID. specifies the Partition ID.
Partition *int64 `json:"Partition,omitnil,omitempty" name:"Partition"`
// Leader running status. 0 means running normally.
LeaderStatus *int64 `json:"LeaderStatus,omitnil,omitempty" name:"LeaderStatus"`
// ISR quantity
IsrNum *int64 `json:"IsrNum,omitnil,omitempty" name:"IsrNum"`
// Number of replicas
ReplicaNum *int64 `json:"ReplicaNum,omitnil,omitempty" name:"ReplicaNum"`
}
type TopicResult ¶
type TopicRetentionTimeConfigRsp ¶
type TopicRetentionTimeConfigRsp struct {
// Expected value, the message retention period (in minutes) set by user configuration.
Expect *int64 `json:"Expect,omitnil,omitempty" name:"Expect"`
// Current value, which is the current effective value (may contain dynamic adjustment in minutes).
Current *int64 `json:"Current,omitnil,omitempty" name:"Current"`
// Last modified time.
ModTimeStamp *int64 `json:"ModTimeStamp,omitnil,omitempty" name:"ModTimeStamp"`
}
type TopicSubscribeGroup ¶
type TopicSubscribeGroup struct {
// Total number
TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
// Number of consumer group status
StatusCountInfo *string `json:"StatusCountInfo,omitnil,omitempty" name:"StatusCountInfo"`
// Consumer group information.
GroupsInfo []*GroupInfoResponse `json:"GroupsInfo,omitnil,omitempty" name:"GroupsInfo"`
// Indicates whether the request is asynchronous. instances with fewer groups will return results directly with Status as 1. when there are more groups, the cache will be updated asynchronously. no group information will be returned when Status is 0 until the update is complete and results are returned with Status as 1.
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
type User ¶
type User struct {
// User ID
UserId *int64 `json:"UserId,omitnil,omitempty" name:"UserId"`
// Username
Name *string `json:"Name,omitnil,omitempty" name:"Name"`
// Creation time
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// Last updated time
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}
type UserResponse ¶
type ZoneInfo ¶
type ZoneInfo struct {
// Availability zone
ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`
// Whether it is an internal application.
IsInternalApp *int64 `json:"IsInternalApp,omitnil,omitempty" name:"IsInternalApp"`
// Application identifier
AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`
// Indicates whether the AZ is sold out. true indicates sold out. false indicates not sold out.
Flag *bool `json:"Flag,omitnil,omitempty" name:"Flag"`
// Availability zone name.
ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`
// Availability zone status. enumerates example: 3: enable, 4: disable. availability zone status is subject to SoldOut.
ZoneStatus *int64 `json:"ZoneStatus,omitnil,omitempty" name:"ZoneStatus"`
// Extra flag
//
// Deprecated: Exflag is deprecated.
Exflag *string `json:"Exflag,omitnil,omitempty" name:"Exflag"`
// Specifies whether the item is sold-out. valid values: true (sold-out), false (not sold out).
SoldOut *string `json:"SoldOut,omitnil,omitempty" name:"SoldOut"`
// Specifies the sell-out information of the standard version.
SalesInfo []*SaleInfo `json:"SalesInfo,omitnil,omitempty" name:"SalesInfo"`
// Additional flag.
ExtraFlag *string `json:"ExtraFlag,omitnil,omitempty" name:"ExtraFlag"`
}
type ZoneResponse ¶
type ZoneResponse struct {
// Zone list
ZoneList []*ZoneInfo `json:"ZoneList,omitnil,omitempty" name:"ZoneList"`
// Maximum number of instances to be purchased
MaxBuyInstanceNum *int64 `json:"MaxBuyInstanceNum,omitnil,omitempty" name:"MaxBuyInstanceNum"`
// Maximum bandwidth in MB/S
MaxBandwidth *int64 `json:"MaxBandwidth,omitnil,omitempty" name:"MaxBandwidth"`
// Pay-as-you-go unit price
UnitPrice *Price `json:"UnitPrice,omitnil,omitempty" name:"UnitPrice"`
// Pay-as-you-go unit message price
MessagePrice *Price `json:"MessagePrice,omitnil,omitempty" name:"MessagePrice"`
// Specifies the user-exclusive cluster info.
ClusterInfo []*ClusterInfo `json:"ClusterInfo,omitnil,omitempty" name:"ClusterInfo"`
// Purchase the standard version configuration.
Standard *string `json:"Standard,omitnil,omitempty" name:"Standard"`
// Purchase the standard version S2 configuration.
StandardS2 *string `json:"StandardS2,omitnil,omitempty" name:"StandardS2"`
// Specifies the configuration for purchasing the professional edition.
Profession *string `json:"Profession,omitnil,omitempty" name:"Profession"`
// Purchase physical dedicated edition configuration.
Physical *string `json:"Physical,omitnil,omitempty" name:"Physical"`
// Public network bandwidth. minimum 3 Mbps. maximum 999 Mbps. only the pro edition supports filling in. abandoned, meaningless.
PublicNetwork *string `json:"PublicNetwork,omitnil,omitempty" name:"PublicNetwork"`
// Configures the public network bandwidth.
PublicNetworkLimit *string `json:"PublicNetworkLimit,omitnil,omitempty" name:"PublicNetworkLimit"`
// Request ID.
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
// Pagination Offset
Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`
// Pagination Limit
Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
// Mandatory. input tag.
ForceCheckTag *bool `json:"ForceCheckTag,omitnil,omitempty" name:"ForceCheckTag"`
}