Documentation
¶
Index ¶
- Constants
- type Apis
- type CtgkafkaAclAddV3Api
- type CtgkafkaAclAddV3Request
- type CtgkafkaAclAddV3Response
- type CtgkafkaAclAddV3ReturnObjResponse
- type CtgkafkaAclDeleteV3Api
- type CtgkafkaAclDeleteV3Request
- type CtgkafkaAclDeleteV3Response
- type CtgkafkaAclDeleteV3ReturnObjResponse
- type CtgkafkaAclQueryV3Api
- type CtgkafkaAclQueryV3Request
- type CtgkafkaAclQueryV3Response
- type CtgkafkaAclQueryV3ReturnObjDataEntryDataResponse
- type CtgkafkaAclQueryV3ReturnObjDataEntryResponse
- type CtgkafkaAclQueryV3ReturnObjDataResourceResponse
- type CtgkafkaAclQueryV3ReturnObjDataResponse
- type CtgkafkaAclQueryV3ReturnObjResponse
- type CtgkafkaAddAuthorityApi
- type CtgkafkaAddAuthorityRequest
- type CtgkafkaAddAuthorityResponse
- type CtgkafkaAddAuthorityReturnObjResponse
- type CtgkafkaBeginningMessageApi
- type CtgkafkaBeginningMessageRequest
- type CtgkafkaBeginningMessageResponse
- type CtgkafkaBeginningMessageReturnObjDataResponse
- type CtgkafkaBeginningMessageReturnObjResponse
- type CtgkafkaBindElasticIpApi
- type CtgkafkaBindElasticIpRequest
- type CtgkafkaBindElasticIpResponse
- type CtgkafkaBindElasticIpReturnObjDataResponse
- type CtgkafkaBindElasticIpReturnObjResponse
- type CtgkafkaCanExpandProdApi
- type CtgkafkaCanExpandProdRequest
- type CtgkafkaCanExpandProdResponse
- type CtgkafkaCanExpandProdReturnObjResponse
- type CtgkafkaChangeAzApi
- type CtgkafkaChangeAzRequest
- type CtgkafkaChangeAzResponse
- type CtgkafkaChangeAzReturnObjResponse
- type CtgkafkaChaosCancelApi
- type CtgkafkaChaosCancelRequest
- type CtgkafkaChaosCancelResponse
- type CtgkafkaChaosCancelReturnObjResponse
- type CtgkafkaChaosInjectActionParameterRequest
- type CtgkafkaChaosInjectApi
- type CtgkafkaChaosInjectRequest
- type CtgkafkaChaosInjectResponse
- type CtgkafkaChaosInjectReturnObjResponse
- type CtgkafkaChaosListApi
- type CtgkafkaChaosListRequest
- type CtgkafkaChaosListResponse
- type CtgkafkaChaosListReturnObjDataActionActionParameterResponse
- type CtgkafkaChaosListReturnObjDataActionResponse
- type CtgkafkaChaosListReturnObjDataInjectActionInstanceActionParameterResponse
- type CtgkafkaChaosListReturnObjDataInjectActionInstanceLogsResponse
- type CtgkafkaChaosListReturnObjDataInjectActionInstanceResponse
- type CtgkafkaChaosListReturnObjDataRecoveryActionInstanceActionParameterResponse
- type CtgkafkaChaosListReturnObjDataRecoveryActionInstanceLogsResponse
- type CtgkafkaChaosListReturnObjDataRecoveryActionInstanceResponse
- type CtgkafkaChaosListReturnObjDataResponse
- type CtgkafkaChaosListReturnObjResponse
- type CtgkafkaChaosQueryReqMsgApi
- type CtgkafkaChaosQueryReqMsgRequest
- type CtgkafkaChaosQueryReqMsgResponse
- type CtgkafkaChaosQueryReqMsgReturnObjResponse
- type CtgkafkaConsumerGroupBatchDeleteApi
- type CtgkafkaConsumerGroupBatchDeleteRequest
- type CtgkafkaConsumerGroupBatchDeleteResponse
- type CtgkafkaConsumerGroupBatchDeleteReturnObjResponse
- type CtgkafkaConsumerGroupCreateV3Api
- type CtgkafkaConsumerGroupCreateV3Request
- type CtgkafkaConsumerGroupCreateV3Response
- type CtgkafkaConsumerGroupCreateV3ReturnObjResponse
- type CtgkafkaConsumerGroupDeleteV3Api
- type CtgkafkaConsumerGroupDeleteV3Request
- type CtgkafkaConsumerGroupDeleteV3Response
- type CtgkafkaConsumerGroupDeleteV3ReturnObjResponse
- type CtgkafkaConsumerGroupInstancesV3Api
- type CtgkafkaConsumerGroupInstancesV3Request
- type CtgkafkaConsumerGroupInstancesV3Response
- type CtgkafkaConsumerGroupInstancesV3ReturnObjDataResponse
- type CtgkafkaConsumerGroupInstancesV3ReturnObjDataTopicPartitionsResponse
- type CtgkafkaConsumerGroupInstancesV3ReturnObjResponse
- type CtgkafkaConsumerGroupQueryV3Api
- type CtgkafkaConsumerGroupQueryV3Request
- type CtgkafkaConsumerGroupQueryV3Response
- type CtgkafkaConsumerGroupQueryV3ReturnObjDataResponse
- type CtgkafkaConsumerGroupQueryV3ReturnObjResponse
- type CtgkafkaConsumerGroupResetV3Api
- type CtgkafkaConsumerGroupResetV3PartitionShiftListRequest
- type CtgkafkaConsumerGroupResetV3Request
- type CtgkafkaConsumerGroupResetV3Response
- type CtgkafkaConsumerGroupResetV3ReturnObjResponse
- type CtgkafkaConsumerGroupStatusV3Api
- type CtgkafkaConsumerGroupStatusV3Request
- type CtgkafkaConsumerGroupStatusV3Response
- type CtgkafkaConsumerGroupStatusV3ReturnObjDataOffsetsResponse
- type CtgkafkaConsumerGroupStatusV3ReturnObjDataResponse
- type CtgkafkaConsumerGroupStatusV3ReturnObjResponse
- type CtgkafkaConsumerGroupUpdateApi
- type CtgkafkaConsumerGroupUpdateRequest
- type CtgkafkaConsumerGroupUpdateResponse
- type CtgkafkaConsumerGroupUpdateReturnObjResponse
- type CtgkafkaConsumerGroupUpdatetopicsV3Api
- type CtgkafkaConsumerGroupUpdatetopicsV3Request
- type CtgkafkaConsumerGroupUpdatetopicsV3Response
- type CtgkafkaConsumerGroupUpdatetopicsV3ReturnObjResponse
- type CtgkafkaCreateOrderApi
- type CtgkafkaCreateOrderRequest
- type CtgkafkaCreateOrderResponse
- type CtgkafkaCreateOrderReturnObjResponse
- type CtgkafkaCreateOrderReturnObjResponseData
- type CtgkafkaCreatePostPayOrderApi
- type CtgkafkaCreatePostPayOrderRequest
- type CtgkafkaCreatePostPayOrderResponse
- type CtgkafkaCreatePostPayOrderReturnObjResponse
- type CtgkafkaCreatePostPayOrderReturnObjResponseData
- type CtgkafkaDeleteAuthorityApi
- type CtgkafkaDeleteAuthorityRequest
- type CtgkafkaDeleteAuthorityResponse
- type CtgkafkaDeleteAuthorityReturnObjResponse
- type CtgkafkaDiskExtendApi
- type CtgkafkaDiskExtendRequest
- type CtgkafkaDiskExtendResponse
- type CtgkafkaDiskExtendReturnObjResponse
- type CtgkafkaDiskShrinkApi
- type CtgkafkaDiskShrinkRequest
- type CtgkafkaDiskShrinkResponse
- type CtgkafkaDiskShrinkReturnObjResponse
- type CtgkafkaElasticBandwidthApi
- type CtgkafkaElasticBandwidthRequest
- type CtgkafkaElasticBandwidthResponse
- type CtgkafkaElasticBandwidthReturnObjDataResponse
- type CtgkafkaElasticBandwidthReturnObjResponse
- type CtgkafkaEnableAutoReassignApi
- type CtgkafkaEnableAutoReassignRequest
- type CtgkafkaEnableAutoReassignResponse
- type CtgkafkaEnableAutoReassignReturnObjDataResponse
- type CtgkafkaEnableAutoReassignReturnObjResponse
- type CtgkafkaEndMessageApi
- type CtgkafkaEndMessageRequest
- type CtgkafkaEndMessageResponse
- type CtgkafkaEndMessageReturnObjDataResponse
- type CtgkafkaEndMessageReturnObjResponse
- type CtgkafkaGetAuthorityApi
- type CtgkafkaGetAuthorityRequest
- type CtgkafkaGetAuthorityResponse
- type CtgkafkaGetAuthorityReturnObjDataResponse
- type CtgkafkaGetAuthorityReturnObjResponse
- type CtgkafkaGetInstanceConfigApi
- type CtgkafkaGetInstanceConfigRequest
- type CtgkafkaGetInstanceConfigResponse
- type CtgkafkaGetInstanceConfigReturnObjDataResponse
- type CtgkafkaGetInstanceConfigReturnObjResponse
- type CtgkafkaGetTopicDetailsApi
- type CtgkafkaGetTopicDetailsRequest
- type CtgkafkaGetTopicDetailsResponse
- type CtgkafkaGetTopicDetailsReturnObjDataPartitionListOffsetsResponse
- type CtgkafkaGetTopicDetailsReturnObjDataPartitionListReplicasResponse
- type CtgkafkaGetTopicDetailsReturnObjDataPartitionListResponse
- type CtgkafkaGetTopicDetailsReturnObjDataResponse
- type CtgkafkaGetTopicDetailsReturnObjResponse
- type CtgkafkaInstQueryApi
- type CtgkafkaInstQueryRequest
- type CtgkafkaInstQueryResponse
- type CtgkafkaInstQueryReturnObjDataNodeListResponse
- type CtgkafkaInstQueryReturnObjDataProtocolsResponse
- type CtgkafkaInstQueryReturnObjDataResponse
- type CtgkafkaInstQueryReturnObjResponse
- type CtgkafkaInstanceDeleteV3Api
- type CtgkafkaInstanceDeleteV3Request
- type CtgkafkaInstanceDeleteV3Response
- type CtgkafkaInstanceDeleteV3ReturnObjResponse
- type CtgkafkaInstancesModifyNameV3Api
- type CtgkafkaInstancesModifyNameV3Request
- type CtgkafkaInstancesModifyNameV3Response
- type CtgkafkaInstancesModifyNameV3ReturnObjResponse
- type CtgkafkaInstancesRestartV3Api
- type CtgkafkaInstancesRestartV3Request
- type CtgkafkaInstancesRestartV3Response
- type CtgkafkaInstancesRestartV3ReturnObjResponse
- type CtgkafkaListResourceV3Api
- type CtgkafkaListResourceV3Request
- type CtgkafkaListResourceV3Response
- type CtgkafkaListTagV3Api
- type CtgkafkaListTagV3Request
- type CtgkafkaListTagV3Response
- type CtgkafkaMirrorTaskApi
- type CtgkafkaMirrorTaskRequest
- type CtgkafkaMirrorTaskResponse
- type CtgkafkaMirrorTaskReturnObjResponse
- type CtgkafkaModifyInstanceConfigApi
- type CtgkafkaModifyInstanceConfigRequest
- type CtgkafkaModifyInstanceConfigResponse
- type CtgkafkaModifypartitionNumV3Api
- type CtgkafkaModifypartitionNumV3Request
- type CtgkafkaModifypartitionNumV3Response
- type CtgkafkaModifypartitionNumV3ReturnObjResponse
- type CtgkafkaMonitorMetricsV3Api
- type CtgkafkaMonitorMetricsV3Request
- type CtgkafkaMonitorMetricsV3Response
- type CtgkafkaMonitorMetricsV3ReturnObjMetricResponse
- type CtgkafkaMonitorMetricsV3ReturnObjResponse
- type CtgkafkaMonitorMetricsV3ReturnObjValuesResponse
- type CtgkafkaNodeExtendApi
- type CtgkafkaNodeExtendRequest
- type CtgkafkaNodeExtendResponse
- type CtgkafkaNodeExtendReturnObjResponse
- type CtgkafkaNodeShrinkApi
- type CtgkafkaNodeShrinkRequest
- type CtgkafkaNodeShrinkResponse
- type CtgkafkaNodeShrinkReturnObjResponse
- type CtgkafkaNodeStatusV3Api
- type CtgkafkaNodeStatusV3Request
- type CtgkafkaNodeStatusV3Response
- type CtgkafkaNodeStatusV3ReturnObjDataResponse
- type CtgkafkaNodeStatusV3ReturnObjResponse
- type CtgkafkaPageQueryFloatingipsApi
- type CtgkafkaPageQueryFloatingipsRequest
- type CtgkafkaPageQueryFloatingipsResponse
- type CtgkafkaProdDetailApi
- type CtgkafkaProdDetailRequest
- type CtgkafkaProdDetailResponse
- type CtgkafkaProdDetailReturnObjResponse
- type CtgkafkaProdDetailReturnObjResponseSeries
- type CtgkafkaProdDetailReturnObjResponseSku
- type CtgkafkaProdDetailReturnObjResponseSkuDiskItem
- type CtgkafkaProdDetailReturnObjResponseSkuResItem
- type CtgkafkaProduceApi
- type CtgkafkaProduceRequest
- type CtgkafkaProduceResponse
- type CtgkafkaProduceReturnObjResponse
- type CtgkafkaQueryCanUpdateVersionV3Api
- type CtgkafkaQueryCanUpdateVersionV3Request
- type CtgkafkaQueryCanUpdateVersionV3Response
- type CtgkafkaQueryCanUpdateVersionV3ReturnObjResponse
- type CtgkafkaQueryMessageApi
- type CtgkafkaQueryMessageByOffsetV3Api
- type CtgkafkaQueryMessageByOffsetV3Request
- type CtgkafkaQueryMessageByOffsetV3Response
- type CtgkafkaQueryMessageByOffsetV3ReturnObjDataResponse
- type CtgkafkaQueryMessageByOffsetV3ReturnObjResponse
- type CtgkafkaQueryMessageByTimestampV3Api
- type CtgkafkaQueryMessageByTimestampV3Request
- type CtgkafkaQueryMessageByTimestampV3Response
- type CtgkafkaQueryMessageByTimestampV3ReturnObjDataResponse
- type CtgkafkaQueryMessageByTimestampV3ReturnObjResponse
- type CtgkafkaQueryMessageRequest
- type CtgkafkaQueryMessageResponse
- type CtgkafkaQueryMessageReturnObjDataMessagesResponse
- type CtgkafkaQueryMessageReturnObjDataResponse
- type CtgkafkaQueryMessageReturnObjResponse
- type CtgkafkaQueryProducersApi
- type CtgkafkaQueryProducersRequest
- type CtgkafkaQueryProducersResponse
- type CtgkafkaQueryProducersReturnObjResponse
- type CtgkafkaQuotaBrokerCreateApi
- type CtgkafkaQuotaBrokerCreateRequest
- type CtgkafkaQuotaBrokerCreateResponse
- type CtgkafkaQuotaBrokerDeleteApi
- type CtgkafkaQuotaBrokerDeleteRequest
- type CtgkafkaQuotaBrokerDeleteResponse
- type CtgkafkaQuotaBrokerQueryApi
- type CtgkafkaQuotaBrokerQueryRequest
- type CtgkafkaQuotaBrokerQueryResponse
- type CtgkafkaQuotaBrokerQueryReturnObjResponse
- type CtgkafkaQuotaBrokerUpdateApi
- type CtgkafkaQuotaBrokerUpdateRequest
- type CtgkafkaQuotaBrokerUpdateResponse
- type CtgkafkaQuotaClientCreateApi
- type CtgkafkaQuotaClientCreateRequest
- type CtgkafkaQuotaClientCreateResponse
- type CtgkafkaQuotaClientDeleteApi
- type CtgkafkaQuotaClientDeleteRequest
- type CtgkafkaQuotaClientDeleteResponse
- type CtgkafkaQuotaClientListApi
- type CtgkafkaQuotaClientListRequest
- type CtgkafkaQuotaClientListResponse
- type CtgkafkaQuotaClientListReturnObjResponse
- type CtgkafkaQuotaClientUpdateApi
- type CtgkafkaQuotaClientUpdateRequest
- type CtgkafkaQuotaClientUpdateResponse
- type CtgkafkaQuotaTopicCreateApi
- type CtgkafkaQuotaTopicCreateRequest
- type CtgkafkaQuotaTopicCreateResponse
- type CtgkafkaQuotaTopicDeleteApi
- type CtgkafkaQuotaTopicDeleteRequest
- type CtgkafkaQuotaTopicDeleteResponse
- type CtgkafkaQuotaTopicListApi
- type CtgkafkaQuotaTopicListRequest
- type CtgkafkaQuotaTopicListResponse
- type CtgkafkaQuotaTopicListReturnObjResponse
- type CtgkafkaQuotaTopicUpdateApi
- type CtgkafkaQuotaTopicUpdateRequest
- type CtgkafkaQuotaTopicUpdateResponse
- type CtgkafkaReassignmentsApi
- type CtgkafkaReassignmentsPartitionBrokersRequest
- type CtgkafkaReassignmentsRequest
- type CtgkafkaReassignmentsResponse
- type CtgkafkaReassignmentsReturnObjResponse
- type CtgkafkaResourceTagAddtagV3Api
- type CtgkafkaResourceTagAddtagV3Request
- type CtgkafkaResourceTagAddtagV3Response
- type CtgkafkaSaslUserCreateV3Api
- type CtgkafkaSaslUserCreateV3Request
- type CtgkafkaSaslUserCreateV3Response
- type CtgkafkaSaslUserCreateV3ReturnObjResponse
- type CtgkafkaSaslUserDeleteV3Api
- type CtgkafkaSaslUserDeleteV3Request
- type CtgkafkaSaslUserDeleteV3Response
- type CtgkafkaSaslUserDeleteV3ReturnObjResponse
- type CtgkafkaSaslUserQueryV3Api
- type CtgkafkaSaslUserQueryV3Request
- type CtgkafkaSaslUserQueryV3Response
- type CtgkafkaSaslUserQueryV3ReturnObjDataResponse
- type CtgkafkaSaslUserQueryV3ReturnObjResponse
- type CtgkafkaSelectedTopicsV3Api
- type CtgkafkaSelectedTopicsV3Request
- type CtgkafkaSelectedTopicsV3Response
- type CtgkafkaSelectedTopicsV3ReturnObjResponse
- type CtgkafkaSetAcrossVpcInfoApi
- type CtgkafkaSetAcrossVpcInfoRequest
- type CtgkafkaSetAcrossVpcInfoResponse
- type CtgkafkaSetAcrossVpcInfoReturnObjDataResponse
- type CtgkafkaSetAcrossVpcInfoReturnObjResponse
- type CtgkafkaSetAcrossVpcInfoVpcInfoListRequest
- type CtgkafkaSpecExtendApi
- type CtgkafkaSpecExtendRequest
- type CtgkafkaSpecExtendResponse
- type CtgkafkaSpecExtendReturnObjResponse
- type CtgkafkaSpecShrinkApi
- type CtgkafkaSpecShrinkRequest
- type CtgkafkaSpecShrinkResponse
- type CtgkafkaSpecShrinkReturnObjResponse
- type CtgkafkaTagResourceV3Api
- type CtgkafkaTagResourceV3Request
- type CtgkafkaTagResourceV3Response
- type CtgkafkaTopicBatchDeleteApi
- type CtgkafkaTopicBatchDeleteRequest
- type CtgkafkaTopicBatchDeleteResponse
- type CtgkafkaTopicBatchDeleteReturnObjResponse
- type CtgkafkaTopicCreateV3Api
- type CtgkafkaTopicCreateV3Request
- type CtgkafkaTopicCreateV3Response
- type CtgkafkaTopicCreateV3ReturnObjResponse
- type CtgkafkaTopicDeleteV3Api
- type CtgkafkaTopicDeleteV3Request
- type CtgkafkaTopicDeleteV3Response
- type CtgkafkaTopicDeleteV3ReturnObjResponse
- type CtgkafkaTopicDiskusageApi
- type CtgkafkaTopicDiskusageRequest
- type CtgkafkaTopicDiskusageResponse
- type CtgkafkaTopicDiskusageReturnObjDataResponse
- type CtgkafkaTopicDiskusageReturnObjDataTopicListResponse
- type CtgkafkaTopicDiskusageReturnObjResponse
- type CtgkafkaTopicModifyremarkV3Api
- type CtgkafkaTopicModifyremarkV3Request
- type CtgkafkaTopicModifyremarkV3Response
- type CtgkafkaTopicModifyremarkV3ReturnObjResponse
- type CtgkafkaTopicQueryV3Api
- type CtgkafkaTopicQueryV3Request
- type CtgkafkaTopicQueryV3Response
- type CtgkafkaTopicQueryV3ReturnObjDataConfigsResponse
- type CtgkafkaTopicQueryV3ReturnObjDataResponse
- type CtgkafkaTopicQueryV3ReturnObjResponse
- type CtgkafkaTopicStatusV3Api
- type CtgkafkaTopicStatusV3Request
- type CtgkafkaTopicStatusV3Response
- type CtgkafkaTopicStatusV3ReturnObjDataResponse
- type CtgkafkaTopicStatusV3ReturnObjResponse
- type CtgkafkaTransChargeTypeV3Api
- type CtgkafkaTransChargeTypeV3Request
- type CtgkafkaTransChargeTypeV3Response
- type CtgkafkaTransChargeTypeV3ReturnObjDataResponse
- type CtgkafkaTransChargeTypeV3ReturnObjResponse
- type CtgkafkaUnTagResourceV3Api
- type CtgkafkaUnTagResourceV3Request
- type CtgkafkaUnTagResourceV3Response
- type CtgkafkaUnbindElasticIpApi
- type CtgkafkaUnbindElasticIpRequest
- type CtgkafkaUnbindElasticIpResponse
- type CtgkafkaUnbindElasticIpReturnObjResponse
- type CtgkafkaUnsubscribeInstV3Api
- type CtgkafkaUnsubscribeInstV3Request
- type CtgkafkaUnsubscribeInstV3Response
- type CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse
- type CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsResponse
- type CtgkafkaUnsubscribeInstV3ReturnObjResponse
- type CtgkafkaUpdateInstanceConfigApi
- type CtgkafkaUpdateInstanceConfigDynamicConfigsRequest
- type CtgkafkaUpdateInstanceConfigRequest
- type CtgkafkaUpdateInstanceConfigResponse
- type CtgkafkaUpdateInstanceConfigStaticConfigsRequest
- type CtgkafkaUpdateTopicApi
- type CtgkafkaUpdateTopicRequest
- type CtgkafkaUpdateTopicResponse
- type CtgkafkaUpdateTopicReturnObjResponse
- type CtgkafkaUpgradeInstanceVersionV3Api
- type CtgkafkaUpgradeInstanceVersionV3Request
- type CtgkafkaUpgradeInstanceVersionV3Response
- type CtgkafkaUpgradeInstanceVersionV3ReturnObjDataResponse
- type CtgkafkaUpgradeInstanceVersionV3ReturnObjResponse
- type CtgkafkaUserUpdateApi
- type CtgkafkaUserUpdateRequest
- type CtgkafkaUserUpdateResponse
- type CtgkafkaUserUpdateReturnObjResponse
Constants ¶
View Source
const EndpointName = "ctgkafka"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apis ¶
type Apis struct { CtgkafkaTopicQueryV3Api *CtgkafkaTopicQueryV3Api CtgkafkaCreatePostPayOrderApi *CtgkafkaCreatePostPayOrderApi CtgkafkaCreateOrderApi *CtgkafkaCreateOrderApi CtgkafkaSpecExtendApi *CtgkafkaSpecExtendApi CtgkafkaTransChargeTypeV3Api *CtgkafkaTransChargeTypeV3Api CtgkafkaUnsubscribeInstV3Api *CtgkafkaUnsubscribeInstV3Api CtgkafkaInstQueryApi *CtgkafkaInstQueryApi CtgkafkaNodeStatusV3Api *CtgkafkaNodeStatusV3Api CtgkafkaInstancesModifyNameV3Api *CtgkafkaInstancesModifyNameV3Api CtgkafkaModifyInstanceConfigApi *CtgkafkaModifyInstanceConfigApi CtgkafkaTopicStatusV3Api *CtgkafkaTopicStatusV3Api CtgkafkaTopicModifyremarkV3Api *CtgkafkaTopicModifyremarkV3Api CtgkafkaModifypartitionNumV3Api *CtgkafkaModifypartitionNumV3Api CtgkafkaTopicDeleteV3Api *CtgkafkaTopicDeleteV3Api CtgkafkaConsumerGroupCreateV3Api *CtgkafkaConsumerGroupCreateV3Api CtgkafkaConsumerGroupQueryV3Api *CtgkafkaConsumerGroupQueryV3Api CtgkafkaConsumerGroupStatusV3Api *CtgkafkaConsumerGroupStatusV3Api CtgkafkaConsumerGroupInstancesV3Api *CtgkafkaConsumerGroupInstancesV3Api CtgkafkaSelectedTopicsV3Api *CtgkafkaSelectedTopicsV3Api CtgkafkaConsumerGroupUpdatetopicsV3Api *CtgkafkaConsumerGroupUpdatetopicsV3Api CtgkafkaConsumerGroupResetV3Api *CtgkafkaConsumerGroupResetV3Api CtgkafkaConsumerGroupDeleteV3Api *CtgkafkaConsumerGroupDeleteV3Api CtgkafkaAclAddV3Api *CtgkafkaAclAddV3Api CtgkafkaAclQueryV3Api *CtgkafkaAclQueryV3Api CtgkafkaAclDeleteV3Api *CtgkafkaAclDeleteV3Api CtgkafkaSaslUserCreateV3Api *CtgkafkaSaslUserCreateV3Api CtgkafkaSaslUserQueryV3Api *CtgkafkaSaslUserQueryV3Api CtgkafkaSaslUserDeleteV3Api *CtgkafkaSaslUserDeleteV3Api CtgkafkaQueryMessageByOffsetV3Api *CtgkafkaQueryMessageByOffsetV3Api CtgkafkaQueryMessageByTimestampV3Api *CtgkafkaQueryMessageByTimestampV3Api CtgkafkaResourceTagAddtagV3Api *CtgkafkaResourceTagAddtagV3Api CtgkafkaListTagV3Api *CtgkafkaListTagV3Api CtgkafkaTagResourceV3Api *CtgkafkaTagResourceV3Api CtgkafkaListResourceV3Api *CtgkafkaListResourceV3Api CtgkafkaUnTagResourceV3Api *CtgkafkaUnTagResourceV3Api CtgkafkaTopicCreateV3Api *CtgkafkaTopicCreateV3Api CtgkafkaDiskExtendApi *CtgkafkaDiskExtendApi CtgkafkaDiskShrinkApi *CtgkafkaDiskShrinkApi CtgkafkaNodeExtendApi *CtgkafkaNodeExtendApi CtgkafkaNodeShrinkApi *CtgkafkaNodeShrinkApi CtgkafkaSpecShrinkApi *CtgkafkaSpecShrinkApi CtgkafkaUpgradeInstanceVersionV3Api *CtgkafkaUpgradeInstanceVersionV3Api CtgkafkaInstancesRestartV3Api *CtgkafkaInstancesRestartV3Api CtgkafkaMirrorTaskApi *CtgkafkaMirrorTaskApi CtgkafkaChangeAzApi *CtgkafkaChangeAzApi CtgkafkaProdDetailApi *CtgkafkaProdDetailApi CtgkafkaCanExpandProdApi *CtgkafkaCanExpandProdApi CtgkafkaQueryCanUpdateVersionV3Api *CtgkafkaQueryCanUpdateVersionV3Api CtgkafkaPageQueryFloatingipsApi *CtgkafkaPageQueryFloatingipsApi CtgkafkaGetInstanceConfigApi *CtgkafkaGetInstanceConfigApi CtgkafkaUpdateInstanceConfigApi *CtgkafkaUpdateInstanceConfigApi CtgkafkaSetAcrossVpcInfoApi *CtgkafkaSetAcrossVpcInfoApi CtgkafkaBindElasticIpApi *CtgkafkaBindElasticIpApi CtgkafkaUnbindElasticIpApi *CtgkafkaUnbindElasticIpApi CtgkafkaEnableAutoReassignApi *CtgkafkaEnableAutoReassignApi CtgkafkaElasticBandwidthApi *CtgkafkaElasticBandwidthApi CtgkafkaGetTopicDetailsApi *CtgkafkaGetTopicDetailsApi CtgkafkaEndMessageApi *CtgkafkaEndMessageApi CtgkafkaBeginningMessageApi *CtgkafkaBeginningMessageApi CtgkafkaQueryProducersApi *CtgkafkaQueryProducersApi CtgkafkaTopicDiskusageApi *CtgkafkaTopicDiskusageApi CtgkafkaUpdateTopicApi *CtgkafkaUpdateTopicApi CtgkafkaReassignmentsApi *CtgkafkaReassignmentsApi CtgkafkaProduceApi *CtgkafkaProduceApi CtgkafkaTopicBatchDeleteApi *CtgkafkaTopicBatchDeleteApi CtgkafkaConsumerGroupUpdateApi *CtgkafkaConsumerGroupUpdateApi CtgkafkaConsumerGroupBatchDeleteApi *CtgkafkaConsumerGroupBatchDeleteApi CtgkafkaGetAuthorityApi *CtgkafkaGetAuthorityApi CtgkafkaUserUpdateApi *CtgkafkaUserUpdateApi CtgkafkaAddAuthorityApi *CtgkafkaAddAuthorityApi CtgkafkaQueryMessageApi *CtgkafkaQueryMessageApi CtgkafkaMonitorMetricsV3Api *CtgkafkaMonitorMetricsV3Api CtgkafkaQuotaBrokerQueryApi *CtgkafkaQuotaBrokerQueryApi CtgkafkaQuotaBrokerDeleteApi *CtgkafkaQuotaBrokerDeleteApi CtgkafkaQuotaBrokerUpdateApi *CtgkafkaQuotaBrokerUpdateApi CtgkafkaQuotaBrokerCreateApi *CtgkafkaQuotaBrokerCreateApi CtgkafkaQuotaTopicListApi *CtgkafkaQuotaTopicListApi CtgkafkaQuotaTopicDeleteApi *CtgkafkaQuotaTopicDeleteApi CtgkafkaQuotaTopicUpdateApi *CtgkafkaQuotaTopicUpdateApi CtgkafkaQuotaTopicCreateApi *CtgkafkaQuotaTopicCreateApi CtgkafkaQuotaClientListApi *CtgkafkaQuotaClientListApi CtgkafkaQuotaClientDeleteApi *CtgkafkaQuotaClientDeleteApi CtgkafkaQuotaClientUpdateApi *CtgkafkaQuotaClientUpdateApi CtgkafkaQuotaClientCreateApi *CtgkafkaQuotaClientCreateApi CtgkafkaChaosQueryReqMsgApi *CtgkafkaChaosQueryReqMsgApi CtgkafkaChaosCancelApi *CtgkafkaChaosCancelApi CtgkafkaChaosInjectApi *CtgkafkaChaosInjectApi CtgkafkaChaosListApi *CtgkafkaChaosListApi CtgkafkaDeleteAuthorityApi *CtgkafkaDeleteAuthorityApi CtgkafkaInstanceDeleteV3Api *CtgkafkaInstanceDeleteV3Api }
type CtgkafkaAclAddV3Api ¶
type CtgkafkaAclAddV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaAclAddV3Api ¶
func NewCtgkafkaAclAddV3Api(client *core.CtyunClient) *CtgkafkaAclAddV3Api
func (*CtgkafkaAclAddV3Api) Do ¶
func (a *CtgkafkaAclAddV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaAclAddV3Request) (*CtgkafkaAclAddV3Response, error)
type CtgkafkaAclAddV3Request ¶
type CtgkafkaAclAddV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ Username string `json:"username,omitempty"` /* SASL用户名称。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ ResourceType string `json:"resourceType,omitempty"` /* 资源类型,可选值:<br><li>TOPIC:主题资源<br><li>GROUP:消费组资源 */ ResourceName string `json:"resourceName,omitempty"` /* 资源名称。 */ OperationType string `json:"operationType,omitempty"` /* 操作类型,资源类型为TOPIC时必填,可选值:<br><li>READ:读权限<br><li>WRITE:写权限 */ }
type CtgkafkaAclAddV3Response ¶
type CtgkafkaAclAddV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaAclAddV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaAclAddV3ReturnObjResponse ¶
type CtgkafkaAclAddV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaAclDeleteV3Api ¶
type CtgkafkaAclDeleteV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaAclDeleteV3Api ¶
func NewCtgkafkaAclDeleteV3Api(client *core.CtyunClient) *CtgkafkaAclDeleteV3Api
func (*CtgkafkaAclDeleteV3Api) Do ¶
func (a *CtgkafkaAclDeleteV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaAclDeleteV3Request) (*CtgkafkaAclDeleteV3Response, error)
type CtgkafkaAclDeleteV3Request ¶
type CtgkafkaAclDeleteV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ Username string `json:"username,omitempty"` /* SASL用户名称。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ ResourceType string `json:"resourceType,omitempty"` /* 资源类型,可选值:<br><li>TOPIC:主题资源<br><li>GROUP:消费组资源 */ ResourceName string `json:"resourceName,omitempty"` /* 资源名称。 */ OperationType string `json:"operationType,omitempty"` /* 操作类型,资源类型为TOPIC时必填,可选值:<br><li>READ:读权限<br><li>WRITE:写权限 */ }
type CtgkafkaAclDeleteV3Response ¶
type CtgkafkaAclDeleteV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaAclDeleteV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaAclDeleteV3ReturnObjResponse ¶
type CtgkafkaAclDeleteV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaAclQueryV3Api ¶
type CtgkafkaAclQueryV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaAclQueryV3Api ¶
func NewCtgkafkaAclQueryV3Api(client *core.CtyunClient) *CtgkafkaAclQueryV3Api
func (*CtgkafkaAclQueryV3Api) Do ¶
func (a *CtgkafkaAclQueryV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaAclQueryV3Request) (*CtgkafkaAclQueryV3Response, error)
type CtgkafkaAclQueryV3Request ¶
type CtgkafkaAclQueryV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Username string `json:"username,omitempty"` /* 用户名称。 */ ResourceType string `json:"resourceType,omitempty"` /* 资源类型,可选值:<br><li>TOPIC:主题资源<br><li>GROUP:消费组资源,云原生引擎无GROUP资源 */ ResourceName string `json:"resourceName,omitempty"` /* 资源名称。 */ }
type CtgkafkaAclQueryV3Response ¶
type CtgkafkaAclQueryV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaAclQueryV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaAclQueryV3ReturnObjDataEntryResponse ¶
type CtgkafkaAclQueryV3ReturnObjDataEntryResponse struct {
Data *CtgkafkaAclQueryV3ReturnObjDataEntryDataResponse `json:"data"` /* 资源ACL条目。 */
}
type CtgkafkaAclQueryV3ReturnObjDataResponse ¶
type CtgkafkaAclQueryV3ReturnObjDataResponse struct { Resource *CtgkafkaAclQueryV3ReturnObjDataResourceResponse `json:"resource"` /* 资源信息。 */ Entry *CtgkafkaAclQueryV3ReturnObjDataEntryResponse `json:"entry"` /* 资源条目信息。 */ }
type CtgkafkaAclQueryV3ReturnObjResponse ¶
type CtgkafkaAclQueryV3ReturnObjResponse struct {
Data []*CtgkafkaAclQueryV3ReturnObjDataResponse `json:"data"` /* 返回数据。 */
}
type CtgkafkaAddAuthorityApi ¶
type CtgkafkaAddAuthorityApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaAddAuthorityApi ¶
func NewCtgkafkaAddAuthorityApi(client *core.CtyunClient) *CtgkafkaAddAuthorityApi
func (*CtgkafkaAddAuthorityApi) Do ¶
func (a *CtgkafkaAddAuthorityApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaAddAuthorityRequest) (*CtgkafkaAddAuthorityResponse, error)
type CtgkafkaAddAuthorityRequest ¶
type CtgkafkaAddAuthorityRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Username string `json:"username,omitempty"` /* 用户名称。 */ AddWriteAuthority []string `json:"addWriteAuthority"` /* 要增加生产权限的主题名称列表。与addReadAuthority至少一个不为空。 */ AddReadAuthority []string `json:"addReadAuthority"` /* 要增加消费权限的主题名称列表。与addWriteAuthority至少一个不为空。 */ }
type CtgkafkaAddAuthorityResponse ¶
type CtgkafkaAddAuthorityResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaAddAuthorityReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaAddAuthorityReturnObjResponse ¶
type CtgkafkaAddAuthorityReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回创建描述。 */
}
type CtgkafkaBeginningMessageApi ¶
type CtgkafkaBeginningMessageApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaBeginningMessageApi ¶
func NewCtgkafkaBeginningMessageApi(client *core.CtyunClient) *CtgkafkaBeginningMessageApi
func (*CtgkafkaBeginningMessageApi) Do ¶
func (a *CtgkafkaBeginningMessageApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaBeginningMessageRequest) (*CtgkafkaBeginningMessageResponse, error)
type CtgkafkaBeginningMessageRequest ¶
type CtgkafkaBeginningMessageRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ PartitionId int32 `json:"partitionId,omitempty"` /* 主题分区ID。 */ }
type CtgkafkaBeginningMessageResponse ¶
type CtgkafkaBeginningMessageResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaBeginningMessageReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaBeginningMessageReturnObjResponse ¶
type CtgkafkaBeginningMessageReturnObjResponse struct {
Data []*CtgkafkaBeginningMessageReturnObjDataResponse `json:"data"` /* 主题信息。 */
}
type CtgkafkaBindElasticIpApi ¶
type CtgkafkaBindElasticIpApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaBindElasticIpApi ¶
func NewCtgkafkaBindElasticIpApi(client *core.CtyunClient) *CtgkafkaBindElasticIpApi
func (*CtgkafkaBindElasticIpApi) Do ¶
func (a *CtgkafkaBindElasticIpApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaBindElasticIpRequest) (*CtgkafkaBindElasticIpResponse, error)
type CtgkafkaBindElasticIpRequest ¶
type CtgkafkaBindElasticIpRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ PaasInstanceId string `json:"paasInstanceId,omitempty"` /* 实例ID。 */ Ip string `json:"ip,omitempty"` /* 节点的IP地址,可以通过查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7382&data=83&isNormal=1&vid=330">查询实例</a> 获取具体节点IP地址。 */ ElasticIp string `json:"elasticIp,omitempty"` /* 绑定的弹性IP。 */ }
type CtgkafkaBindElasticIpResponse ¶
type CtgkafkaBindElasticIpResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaBindElasticIpReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaBindElasticIpReturnObjDataResponse ¶
type CtgkafkaBindElasticIpReturnObjDataResponse struct{}
type CtgkafkaBindElasticIpReturnObjResponse ¶
type CtgkafkaBindElasticIpReturnObjResponse struct {
Data *CtgkafkaBindElasticIpReturnObjDataResponse `json:"data"` /* 返回数据。 */
}
type CtgkafkaCanExpandProdApi ¶
type CtgkafkaCanExpandProdApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaCanExpandProdApi ¶
func NewCtgkafkaCanExpandProdApi(client *core.CtyunClient) *CtgkafkaCanExpandProdApi
func (*CtgkafkaCanExpandProdApi) Do ¶
func (a *CtgkafkaCanExpandProdApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaCanExpandProdRequest) (*CtgkafkaCanExpandProdResponse, error)
type CtgkafkaCanExpandProdRequest ¶
type CtgkafkaCanExpandProdRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,如果填入,则返回指定实例信息 */ }
type CtgkafkaCanExpandProdResponse ¶
type CtgkafkaCanExpandProdResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900" */ Message string `json:"message,omitempty"` /* 描述状态 */ ReturnObj *CtgkafkaCanExpandProdReturnObjResponse `json:"returnObj"` /* 返回对象。此参数所包含的参数请见“响应示例”里面的注释 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息 */ }
type CtgkafkaCanExpandProdReturnObjResponse ¶
type CtgkafkaCanExpandProdReturnObjResponse struct{}
type CtgkafkaChangeAzApi ¶
type CtgkafkaChangeAzApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaChangeAzApi ¶
func NewCtgkafkaChangeAzApi(client *core.CtyunClient) *CtgkafkaChangeAzApi
func (*CtgkafkaChangeAzApi) Do ¶
func (a *CtgkafkaChangeAzApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaChangeAzRequest) (*CtgkafkaChangeAzResponse, error)
type CtgkafkaChangeAzRequest ¶
type CtgkafkaChangeAzRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ AzInfoList []string `json:"azInfoList"` /* 可用区信息。只能填一个(单可用区)或三个(多可用区),可用区信息可调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5855&data=87&isNormal=1&vid=81">资源池可用区查询</a>API接口查询。 */ }
type CtgkafkaChangeAzResponse ¶
type CtgkafkaChangeAzResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaChangeAzReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaChangeAzReturnObjResponse ¶
type CtgkafkaChangeAzReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaChaosCancelApi ¶
type CtgkafkaChaosCancelApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaChaosCancelApi ¶
func NewCtgkafkaChaosCancelApi(client *core.CtyunClient) *CtgkafkaChaosCancelApi
func (*CtgkafkaChaosCancelApi) Do ¶
func (a *CtgkafkaChaosCancelApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaChaosCancelRequest) (*CtgkafkaChaosCancelResponse, error)
type CtgkafkaChaosCancelRequest ¶
type CtgkafkaChaosCancelRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ ExperimentId string `json:"experimentId,omitempty"` /* 故障演练ID。 */ }
type CtgkafkaChaosCancelResponse ¶
type CtgkafkaChaosCancelResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaChaosCancelReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaChaosCancelReturnObjResponse ¶
type CtgkafkaChaosCancelReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaChaosInjectActionParameterRequest ¶
type CtgkafkaChaosInjectActionParameterRequest struct { CpuPercent int32 `json:"cpuPercent,omitempty"` /* 演练CPU负载率,取值范围[1, 100],当actionCode=cpu-fullload时需传入。 */ Duration int32 `json:"duration,omitempty"` /* 故障持续时间,单位秒,取值范围[60, 3600],当actionCode=disk-burn或cpu-fullload时需传入。 */ NodeKillType int32 `json:"nodeKillType,omitempty"` /* 节点宕机模式,当actionCode=node-shutdown时需传入。<br><li>0:随机节点宕机,随机宕机1个节点<br><li>1:随机可用区宕机,宕机1个随机可用区下所有节点<br><li>2:指定节点宕机<br><li>3:指定可用区宕机,宕机该可用区下所有节点</li> */ EcsId string `json:"ecsId,omitempty"` /* 指定节点宕机的节点ID,当nodeKillType=2时需传入。<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7382&data=83&isNormal=1&vid=330">实例信息</a> 查询对应实例下nodeList的ecsId属性值。 */ AzName string `json:"azName,omitempty"` /* 指定可用区宕机的可用区名称,当nodeKillType=3时需传入。<br><span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7382&data=83&isNormal=1&vid=33">实例信息</a> 查询实例下nodeList的azName属性值获取实例所在可用区列表。 */ }
type CtgkafkaChaosInjectApi ¶
type CtgkafkaChaosInjectApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaChaosInjectApi ¶
func NewCtgkafkaChaosInjectApi(client *core.CtyunClient) *CtgkafkaChaosInjectApi
func (*CtgkafkaChaosInjectApi) Do ¶
func (a *CtgkafkaChaosInjectApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaChaosInjectRequest) (*CtgkafkaChaosInjectResponse, error)
type CtgkafkaChaosInjectRequest ¶
type CtgkafkaChaosInjectRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ ActionCode string `json:"actionCode,omitempty"` /* 故障任务类型。<br><li>node-shutdown:节点关机,Broker宕机,请勿频繁进行开关机演练,可能会因Kafka监控数据不全导致演练失败(若出现失败,可在15分钟之后重试)。<br><li>cpu-fullload:CPU高负载,Broker CPU高负载,该故障动作会随机向Kafka实例的一个Broker节点注入CPU高负载故障,建议实例上有真实消息生产与消费流量,主题分区数大于3。<br><li>disk-burn:磁盘IO高负载,Broker 磁盘I0高负载,该故障动作会随机向Kafka实例的一个Broker节点注入磁盘I0高负载故障,建议实例上有真实消息生产与消费流量,主题分区数大于3。 */ ActionParameter *CtgkafkaChaosInjectActionParameterRequest `json:"actionParameter"` /* 故障注入参数。 */ }
type CtgkafkaChaosInjectResponse ¶
type CtgkafkaChaosInjectResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaChaosInjectReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaChaosListApi ¶
type CtgkafkaChaosListApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaChaosListApi ¶
func NewCtgkafkaChaosListApi(client *core.CtyunClient) *CtgkafkaChaosListApi
func (*CtgkafkaChaosListApi) Do ¶
func (a *CtgkafkaChaosListApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaChaosListRequest) (*CtgkafkaChaosListResponse, error)
type CtgkafkaChaosListRequest ¶
type CtgkafkaChaosListRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ PageNum int32 `json:"pageNum,omitempty"` /* 分页中的页数,默认1,范围1-40000。 */ PageSize int32 `json:"pageSize,omitempty"` /* 分页中的每页大小,默认10。 */ }
type CtgkafkaChaosListResponse ¶
type CtgkafkaChaosListResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaChaosListReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaChaosListReturnObjDataActionResponse ¶
type CtgkafkaChaosListReturnObjDataActionResponse struct { ActionCode string `json:"actionCode,omitempty"` /* 故障任务类型。<br><li>node-shutdown:节点关机<br><li>cpu-fullload:CPU高负载<br><li>disk-burn:磁盘IO高负载 */ ActionScope string `json:"actionScope,omitempty"` /* 故障范围。<br><li>host:主机<br><li>cluster:集群 */ ActionParameter []*CtgkafkaChaosListReturnObjDataActionActionParameterResponse `json:"actionParameter"` /* 任务参数配置。 */ }
type CtgkafkaChaosListReturnObjDataInjectActionInstanceLogsResponse ¶
type CtgkafkaChaosListReturnObjDataInjectActionInstanceLogsResponse struct { StepName string `json:"stepName,omitempty"` /* 步骤名称。 */ SubStepName string `json:"subStepName,omitempty"` /* 子步骤名称。 */ LogLevel string `json:"logLevel,omitempty"` /* 日志级别。<br><li>INFO<br><li>ERROR */ StepResult string `json:"stepResult,omitempty"` /* 步骤结果。<br><li>PROCESSING:处理中<br><li>SUCCESS:成功<br><li>ERROR:错误<br><li>RETRYING:重试中 */ Msg string `json:"msg,omitempty"` /* 日志内容。 */ LogTime string `json:"logTime,omitempty"` /* 日志时间。 */ }
type CtgkafkaChaosListReturnObjDataInjectActionInstanceResponse ¶
type CtgkafkaChaosListReturnObjDataInjectActionInstanceResponse struct { TaskId string `json:"taskId,omitempty"` /* 任务ID。 */ State int32 `json:"state,omitempty"` /* 动作执行状态。<br><li>0:任务完成<br><li>1:任务失败<br><li>2:任务进行中<br><li>3:任务未开始 */ StartTime int64 `json:"startTime,omitempty"` /* 开始时间毫秒时间戳。 */ EndTime int64 `json:"endTime,omitempty"` /* 结束时间毫秒时间戳,当actionCode=disk-burn或cpu-fullload时有效。 */ ActionParameter []*CtgkafkaChaosListReturnObjDataInjectActionInstanceActionParameterResponse `json:"actionParameter"` /* 动作执行参数。 */ Logs []*CtgkafkaChaosListReturnObjDataInjectActionInstanceLogsResponse `json:"logs"` /* 演练任务过程日志。 */ }
type CtgkafkaChaosListReturnObjDataRecoveryActionInstanceLogsResponse ¶
type CtgkafkaChaosListReturnObjDataRecoveryActionInstanceLogsResponse struct { StepName string `json:"stepName,omitempty"` /* 步骤名称。 */ SubStepName string `json:"subStepName,omitempty"` /* 子步骤名称。 */ LogLevel string `json:"logLevel,omitempty"` /* 日志级别。<br><li>INFO<br><li>ERROR */ StepResult string `json:"stepResult,omitempty"` /* 步骤结果。<br><li>PROCESSING:处理中<br><li>SUCCESS:成功<br><li>ERROR:错误<br><li>RETRYING:重试中 */ Msg string `json:"msg,omitempty"` /* 日志内容。 */ LogTime string `json:"logTime,omitempty"` /* 日志时间。 */ }
type CtgkafkaChaosListReturnObjDataRecoveryActionInstanceResponse ¶
type CtgkafkaChaosListReturnObjDataRecoveryActionInstanceResponse struct { TaskId string `json:"taskId,omitempty"` /* 任务ID。 */ State int32 `json:"state,omitempty"` /* 动作执行状态。<br><li>0:任务完成<br><li>1:任务失败<br><li>2:任务进行中<br><li>3:任务未开始 */ StartTime int64 `json:"startTime,omitempty"` /* 开始时间毫秒时间戳。 */ EndTime int64 `json:"endTime,omitempty"` /* 结束时间毫秒时间戳,当actionCode=disk-burn或cpu-fullload时有效。 */ ActionParameter []*CtgkafkaChaosListReturnObjDataRecoveryActionInstanceActionParameterResponse `json:"actionParameter"` /* 动作执行参数。 */ Logs []*CtgkafkaChaosListReturnObjDataRecoveryActionInstanceLogsResponse `json:"logs"` /* 演练任务过程日志。 */ }
type CtgkafkaChaosListReturnObjDataResponse ¶
type CtgkafkaChaosListReturnObjDataResponse struct { ExperimentId string `json:"experimentId,omitempty"` /* 故障演练ID,故障注入与故障恢复一起构成完整的一次故障演练。使用该ID查询故障执行详情与执行撤销故障。 */ Action *CtgkafkaChaosListReturnObjDataActionResponse `json:"action"` /* 故障演练动作信息。 */ CreateDate int64 `json:"createDate,omitempty"` /* 演练创建毫秒时间戳。 */ InjectActionInstance *CtgkafkaChaosListReturnObjDataInjectActionInstanceResponse `json:"injectActionInstance"` /* 故障注入任务。 */ RecoveryActionInstance *CtgkafkaChaosListReturnObjDataRecoveryActionInstanceResponse `json:"recoveryActionInstance"` /* 故障撤销任务。 */ }
type CtgkafkaChaosListReturnObjResponse ¶
type CtgkafkaChaosListReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总记录数。 */ Data []*CtgkafkaChaosListReturnObjDataResponse `json:"data"` /* 故障演练信息。 */ }
type CtgkafkaChaosQueryReqMsgApi ¶
type CtgkafkaChaosQueryReqMsgApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaChaosQueryReqMsgApi ¶
func NewCtgkafkaChaosQueryReqMsgApi(client *core.CtyunClient) *CtgkafkaChaosQueryReqMsgApi
func (*CtgkafkaChaosQueryReqMsgApi) Do ¶
func (a *CtgkafkaChaosQueryReqMsgApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaChaosQueryReqMsgRequest) (*CtgkafkaChaosQueryReqMsgResponse, error)
type CtgkafkaChaosQueryReqMsgRequest ¶
type CtgkafkaChaosQueryReqMsgRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ ExperimentId string `json:"experimentId,omitempty"` /* 故障演练ID。 */ TaskId string `json:"taskId,omitempty"` /* 任务ID。 */ }
type CtgkafkaChaosQueryReqMsgResponse ¶
type CtgkafkaChaosQueryReqMsgResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaChaosQueryReqMsgReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupBatchDeleteApi ¶
type CtgkafkaConsumerGroupBatchDeleteApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupBatchDeleteApi ¶
func NewCtgkafkaConsumerGroupBatchDeleteApi(client *core.CtyunClient) *CtgkafkaConsumerGroupBatchDeleteApi
func (*CtgkafkaConsumerGroupBatchDeleteApi) Do ¶
func (a *CtgkafkaConsumerGroupBatchDeleteApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupBatchDeleteRequest) (*CtgkafkaConsumerGroupBatchDeleteResponse, error)
type CtgkafkaConsumerGroupBatchDeleteRequest ¶
type CtgkafkaConsumerGroupBatchDeleteRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupNames []string `json:"groupNames"` /* 消费组名称列表。 */ }
type CtgkafkaConsumerGroupBatchDeleteResponse ¶
type CtgkafkaConsumerGroupBatchDeleteResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaConsumerGroupBatchDeleteReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupBatchDeleteReturnObjResponse ¶
type CtgkafkaConsumerGroupBatchDeleteReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaConsumerGroupCreateV3Api ¶
type CtgkafkaConsumerGroupCreateV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupCreateV3Api ¶
func NewCtgkafkaConsumerGroupCreateV3Api(client *core.CtyunClient) *CtgkafkaConsumerGroupCreateV3Api
func (*CtgkafkaConsumerGroupCreateV3Api) Do ¶
func (a *CtgkafkaConsumerGroupCreateV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupCreateV3Request) (*CtgkafkaConsumerGroupCreateV3Response, error)
type CtgkafkaConsumerGroupCreateV3Request ¶
type CtgkafkaConsumerGroupCreateV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称,规则如下:<br><li>以英文字母、数字、下划线开头,且只能由英文字母、数字、句点、中划线、下划线组成<br><li>长度3-64。<br><li>名称不可重复。 */ Description string `json:"description,omitempty"` /* 消费组描述,规则如下:<br><li>不能以+,-,@,= 特殊字符开头。 <br><li>长度不能大于200。 */ }
type CtgkafkaConsumerGroupCreateV3Response ¶
type CtgkafkaConsumerGroupCreateV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaConsumerGroupCreateV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupCreateV3ReturnObjResponse ¶
type CtgkafkaConsumerGroupCreateV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaConsumerGroupDeleteV3Api ¶
type CtgkafkaConsumerGroupDeleteV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupDeleteV3Api ¶
func NewCtgkafkaConsumerGroupDeleteV3Api(client *core.CtyunClient) *CtgkafkaConsumerGroupDeleteV3Api
func (*CtgkafkaConsumerGroupDeleteV3Api) Do ¶
func (a *CtgkafkaConsumerGroupDeleteV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupDeleteV3Request) (*CtgkafkaConsumerGroupDeleteV3Response, error)
type CtgkafkaConsumerGroupDeleteV3Request ¶
type CtgkafkaConsumerGroupDeleteV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称。 */ }
type CtgkafkaConsumerGroupDeleteV3Response ¶
type CtgkafkaConsumerGroupDeleteV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaConsumerGroupDeleteV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupDeleteV3ReturnObjResponse ¶
type CtgkafkaConsumerGroupDeleteV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaConsumerGroupInstancesV3Api ¶
type CtgkafkaConsumerGroupInstancesV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupInstancesV3Api ¶
func NewCtgkafkaConsumerGroupInstancesV3Api(client *core.CtyunClient) *CtgkafkaConsumerGroupInstancesV3Api
func (*CtgkafkaConsumerGroupInstancesV3Api) Do ¶
func (a *CtgkafkaConsumerGroupInstancesV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupInstancesV3Request) (*CtgkafkaConsumerGroupInstancesV3Response, error)
type CtgkafkaConsumerGroupInstancesV3Request ¶
type CtgkafkaConsumerGroupInstancesV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称。 */ }
type CtgkafkaConsumerGroupInstancesV3Response ¶
type CtgkafkaConsumerGroupInstancesV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaConsumerGroupInstancesV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupInstancesV3ReturnObjDataResponse ¶
type CtgkafkaConsumerGroupInstancesV3ReturnObjDataResponse struct { ConsumerId string `json:"consumerId,omitempty"` /* 消费者ID。 */ ClientId string `json:"clientId,omitempty"` /* 客户端ID。 */ Host string `json:"host,omitempty"` /* 客户端地址。 */ TopicPartitions *CtgkafkaConsumerGroupInstancesV3ReturnObjDataTopicPartitionsResponse `json:"topicPartitions"` /* 消费者正在消费的分区,Map的key为主题名称,value为主题的分区序号列表。 */ }
type CtgkafkaConsumerGroupInstancesV3ReturnObjDataTopicPartitionsResponse ¶
type CtgkafkaConsumerGroupInstancesV3ReturnObjDataTopicPartitionsResponse struct{}
type CtgkafkaConsumerGroupInstancesV3ReturnObjResponse ¶
type CtgkafkaConsumerGroupInstancesV3ReturnObjResponse struct {
Data []*CtgkafkaConsumerGroupInstancesV3ReturnObjDataResponse `json:"data"` /* 返回消费者列表信息。 */
}
type CtgkafkaConsumerGroupQueryV3Api ¶
type CtgkafkaConsumerGroupQueryV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupQueryV3Api ¶
func NewCtgkafkaConsumerGroupQueryV3Api(client *core.CtyunClient) *CtgkafkaConsumerGroupQueryV3Api
func (*CtgkafkaConsumerGroupQueryV3Api) Do ¶
func (a *CtgkafkaConsumerGroupQueryV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupQueryV3Request) (*CtgkafkaConsumerGroupQueryV3Response, error)
type CtgkafkaConsumerGroupQueryV3Request ¶
type CtgkafkaConsumerGroupQueryV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称,模糊查询。 */ PageNum string `json:"pageNum,omitempty"` /* 分页中的页数,默认1,范围1-40000。 */ PageSize string `json:"pageSize,omitempty"` /* 分页中的每页大小,默认10,范围1-40000。 */ }
type CtgkafkaConsumerGroupQueryV3Response ¶
type CtgkafkaConsumerGroupQueryV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaConsumerGroupQueryV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupQueryV3ReturnObjResponse ¶
type CtgkafkaConsumerGroupQueryV3ReturnObjResponse struct { Data []*CtgkafkaConsumerGroupQueryV3ReturnObjDataResponse `json:"data"` /* 返回数据。 */ Total int32 `json:"total,omitempty"` /* 总记录数。 */ }
type CtgkafkaConsumerGroupResetV3Api ¶
type CtgkafkaConsumerGroupResetV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupResetV3Api ¶
func NewCtgkafkaConsumerGroupResetV3Api(client *core.CtyunClient) *CtgkafkaConsumerGroupResetV3Api
func (*CtgkafkaConsumerGroupResetV3Api) Do ¶
func (a *CtgkafkaConsumerGroupResetV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupResetV3Request) (*CtgkafkaConsumerGroupResetV3Response, error)
type CtgkafkaConsumerGroupResetV3Request ¶
type CtgkafkaConsumerGroupResetV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ RawType int32 `json:"type,omitempty"` /* 类型,<li>0:重置到latest。 <li>1:按时间重置。<li>2:重置到earliest。<li>3:按位点重置,此类型参数partitionShiftList为必填。 */ PartitionShiftList []*CtgkafkaConsumerGroupResetV3PartitionShiftListRequest `json:"partitionShiftList"` /* 位点重置列表,当type为3时必填。 */ Time int64 `json:"time,omitempty"` /* 重置时间点毫秒时间戳,type=1时必填。 */ }
type CtgkafkaConsumerGroupResetV3Response ¶
type CtgkafkaConsumerGroupResetV3Response struct { ReturnObj *CtgkafkaConsumerGroupResetV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupResetV3ReturnObjResponse ¶
type CtgkafkaConsumerGroupResetV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaConsumerGroupStatusV3Api ¶
type CtgkafkaConsumerGroupStatusV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupStatusV3Api ¶
func NewCtgkafkaConsumerGroupStatusV3Api(client *core.CtyunClient) *CtgkafkaConsumerGroupStatusV3Api
func (*CtgkafkaConsumerGroupStatusV3Api) Do ¶
func (a *CtgkafkaConsumerGroupStatusV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupStatusV3Request) (*CtgkafkaConsumerGroupStatusV3Response, error)
type CtgkafkaConsumerGroupStatusV3Request ¶
type CtgkafkaConsumerGroupStatusV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称。 */ TopicName string `json:"topicName,omitempty"` /* topic名称。 */ }
type CtgkafkaConsumerGroupStatusV3Response ¶
type CtgkafkaConsumerGroupStatusV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaConsumerGroupStatusV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupStatusV3ReturnObjDataOffsetsResponse ¶
type CtgkafkaConsumerGroupStatusV3ReturnObjDataOffsetsResponse struct { Begin int64 `json:"begin,omitempty"` /* 最小点位。 */ End int64 `json:"end,omitempty"` /* 最大点位。 */ Current int64 `json:"current,omitempty"` /* 消费组消费当前位点。 */ Lag int64 `json:"lag,omitempty"` /* 消息堆积。 */ Total int64 `json:"total,omitempty"` /* 分区消息数总量。 */ Hw int64 `json:"hw,omitempty"` /* 消息高水位线,所有副本均已确认写入的最高偏移量。 */ }
type CtgkafkaConsumerGroupStatusV3ReturnObjDataResponse ¶
type CtgkafkaConsumerGroupStatusV3ReturnObjDataResponse struct { TopicName string `json:"topicName,omitempty"` /* topic名称。 */ PartitionId int32 `json:"partitionId,omitempty"` /* 主题的分区序号。 */ Offsets *CtgkafkaConsumerGroupStatusV3ReturnObjDataOffsetsResponse `json:"offsets"` /* 分区的消费进度状态。 */ }
type CtgkafkaConsumerGroupStatusV3ReturnObjResponse ¶
type CtgkafkaConsumerGroupStatusV3ReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总记录数。 */ Data []*CtgkafkaConsumerGroupStatusV3ReturnObjDataResponse `json:"data"` /* 消费组所订阅的主题状态列表。 */ }
type CtgkafkaConsumerGroupUpdateApi ¶
type CtgkafkaConsumerGroupUpdateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupUpdateApi ¶
func NewCtgkafkaConsumerGroupUpdateApi(client *core.CtyunClient) *CtgkafkaConsumerGroupUpdateApi
func (*CtgkafkaConsumerGroupUpdateApi) Do ¶
func (a *CtgkafkaConsumerGroupUpdateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupUpdateRequest) (*CtgkafkaConsumerGroupUpdateResponse, error)
type CtgkafkaConsumerGroupUpdateRequest ¶
type CtgkafkaConsumerGroupUpdateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称。 */ Description string `json:"description,omitempty"` /* 消费组描述,规则如下:<br><li>不能以+,-,@,= 特殊字符开头。 <br><li>长度不能大于200。 */ }
type CtgkafkaConsumerGroupUpdateResponse ¶
type CtgkafkaConsumerGroupUpdateResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaConsumerGroupUpdateReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupUpdateReturnObjResponse ¶
type CtgkafkaConsumerGroupUpdateReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaConsumerGroupUpdatetopicsV3Api ¶
type CtgkafkaConsumerGroupUpdatetopicsV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaConsumerGroupUpdatetopicsV3Api ¶
func NewCtgkafkaConsumerGroupUpdatetopicsV3Api(client *core.CtyunClient) *CtgkafkaConsumerGroupUpdatetopicsV3Api
func (*CtgkafkaConsumerGroupUpdatetopicsV3Api) Do ¶
func (a *CtgkafkaConsumerGroupUpdatetopicsV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaConsumerGroupUpdatetopicsV3Request) (*CtgkafkaConsumerGroupUpdatetopicsV3Response, error)
type CtgkafkaConsumerGroupUpdatetopicsV3Request ¶
type CtgkafkaConsumerGroupUpdatetopicsV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称。 */ AddTopicNames []string `json:"addTopicNames"` /* 需要订阅的主题,和deleteTopicNames不能同时为空。 */ DeleteTopicNames []string `json:"deleteTopicNames"` /* 取消订阅的主题,和addTopicNames不能同时为空。 */ }
type CtgkafkaConsumerGroupUpdatetopicsV3Response ¶
type CtgkafkaConsumerGroupUpdatetopicsV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaConsumerGroupUpdatetopicsV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaConsumerGroupUpdatetopicsV3ReturnObjResponse ¶
type CtgkafkaConsumerGroupUpdatetopicsV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaCreateOrderApi ¶
type CtgkafkaCreateOrderApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaCreateOrderApi ¶
func NewCtgkafkaCreateOrderApi(client *core.CtyunClient) *CtgkafkaCreateOrderApi
func (*CtgkafkaCreateOrderApi) Do ¶
func (a *CtgkafkaCreateOrderApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaCreateOrderRequest) (*CtgkafkaCreateOrderResponse, error)
type CtgkafkaCreateOrderRequest ¶
type CtgkafkaCreateOrderRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProjectId string `json:"projectId,omitempty"` /* 企业项目ID(默认值:0)。您可以通过 <a href="https://www.ctyun.cn/document/10017248/10017965">查看企业项目资源</a> 获取企业项目ID。 */ CycleCnt int32 `json:"cycleCnt,omitempty"` /* 付费周期,单位为月,取值:1~6,12,24,36。 */ ClusterName string `json:"clusterName,omitempty"` /* 实例名称。<br>规则:长度4~40个字符,大小写字母开头,只能包含大小写字母、数字及分隔符(-),大小写字母或数字结尾,实例名称不可重复。 */ EngineVersion string `json:"engineVersion,omitempty"` /* 实例的引擎版本,默认为3.6。<li>2.8:2.8.x的引擎版本<li>3.6:3.6.x的引擎版本 */ SpecName string `json:"specName,omitempty"` /* 实例的规格类型,资源池所具备的规格可通过查询产品规格接口获取,默认可选如下:<br>计算增强型的规格可选为:<li>kafka.2u4g.cluster<li>kafka.4u8g.cluster<li>kafka.8u16g.cluster<li>kafka.12u24g.cluster<li>kafka.16u32g.cluster<li>kafka.24u48g.cluster<li>kafka.32u64g.cluster<li>kafka.48u96g.cluster<li>kafka.64u128g.cluster <br>海光-计算增强型的规格可选为:<li>kafka.hg.2u4g.cluster<li>kafka.hg.4u8g.cluster<li>kafka.hg.8u16g.cluster<li>kafka.hg.16u32g.cluster<li>kafka.hg.32u64g.cluster <br>鲲鹏-计算增强型的规格可选为:<li>kafka.kp.2u4g.cluster<li>kafka.kp.4u8g.cluster<li>kafka.kp.8u16g.cluster<li>kafka.kp.16u32g.cluster<li>kafka.kp.32u64g.cluster */ NodeNum int32 `json:"nodeNum,omitempty"` /* 节点数。单机版为1个,集群版3~50个。 */ ZoneList []string `json:"zoneList"` /* 实例所在可用区信息。只能填一个(单可用区)或三个(多可用区),可用区信息可调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5855&data=87&isNormal=1&vid=81">资源池可用区查询</a>API接口查询。 */ DiskType string `json:"diskType,omitempty"` /* 磁盘类型,资源池所具备的磁盘类型可通过查询产品规格接口获取,默认取值:<li>SAS:高IO<li>SSD:超高IO<li>FAST-SSD:极速型SSD */ DiskSize int32 `json:"diskSize,omitempty"` /* 单个节点的磁盘存储空间,单位为GB,存储空间取值范围100GB ~ 10000,并且为100的倍数。实例总存储空间为diskSize * nodeNum。 */ VpcId string `json:"vpcId,omitempty"` /* VPC网络ID。获取方法如下:<li>方法一:登录网络控制台界面,在虚拟私有云的详情页面查找VPC ID。<li>方法二:您可以通过 <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=4814&data=94&vid=88">查询VPC列表</a> vpcID字段获取。 */ SubnetId string `json:"subnetId,omitempty"` /* VPC子网ID。获取方法如下:<li>方法一:登录网络控制台界面,单击VPC下的子网,进入子网详情页面,查找子网ID。<li>方法二:您可以通过 <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8659&data=94&vid=88">查询子网列表</a> subnetID字段获取。 */ SecurityGroupId string `json:"securityGroupId,omitempty"` /* 安全组ID。获取方法如下:<li>方法一:登录网络控制台界面,在安全组的详情页面查找安全组ID。<li>方法二:您可以通过 <a href="https://eop.ctyun.cn/ebp/searchCtapi/ctApiDebug?product=18&api=4817&vid=88">查询用户安全组列表</a> id字段获取。 */ InstanceNum int32 `json:"instanceNum,omitempty"` /* 购买数量(1-100,默认1) */ EnableIpv6 *bool `json:"enableIpv6"` /* 是否启用IPv6,默认为false。<li>true:启用IPv6。<li>false:不启用IPv6,默认值。 */ PlainPort int32 `json:"plainPort,omitempty"` /* 公共接入点(PLAINTEXT)端口,范围在8000到9100之间,默认为8090。 */ SaslPort int32 `json:"saslPort,omitempty"` /* 安全接入点(SASL_PLAINTEXT)端口,范围在8000到9100之间,默认为8092。 */ SslPort int32 `json:"sslPort,omitempty"` /* SSL接入点(SASL_SSL)端口,范围在8000到9100之间,默认为8098。 */ HttpPort int32 `json:"httpPort,omitempty"` /* HTTP接入点端口,范围在8000到9100之间,默认为8082。 */ RetentionHours int32 `json:"retentionHours,omitempty"` /* 实例消息保留时长,默认为72小时,可选1~10000小时。 */ AutoRenewStatus *bool `json:"autoRenewStatus"` /* 过期是否自动续订。,默认为false。<li>true:自动续订。<li>false:不自动续订,默认值。 */ AutoRenewCycleCount int32 `json:"autoRenewCycleCount,omitempty"` /* 自动续订时间长,当autoRenewStatus为true时必填,取值:1~6。 */ }
type CtgkafkaCreateOrderResponse ¶
type CtgkafkaCreateOrderResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaCreateOrderReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaCreateOrderReturnObjResponse ¶
type CtgkafkaCreateOrderReturnObjResponse struct {
Data CtgkafkaCreateOrderReturnObjResponseData `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaCreatePostPayOrderApi ¶
type CtgkafkaCreatePostPayOrderApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaCreatePostPayOrderApi ¶
func NewCtgkafkaCreatePostPayOrderApi(client *core.CtyunClient) *CtgkafkaCreatePostPayOrderApi
func (*CtgkafkaCreatePostPayOrderApi) Do ¶
func (a *CtgkafkaCreatePostPayOrderApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaCreatePostPayOrderRequest) (*CtgkafkaCreatePostPayOrderResponse, error)
type CtgkafkaCreatePostPayOrderRequest ¶
type CtgkafkaCreatePostPayOrderRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProjectId string `json:"projectId,omitempty"` /* 企业项目ID(默认值:0)。您可以通过 <a href="https://www.ctyun.cn/document/10017248/10017965">查看企业项目资源</a> 获取企业项目ID。 */ ClusterName string `json:"clusterName,omitempty"` /* 实例名称。<br>规则:长度4~40个字符,大小写字母开头,只能包含大小写字母、数字及分隔符(-),大小写字母或数字结尾,实例名称不可重复。 */ EngineVersion string `json:"engineVersion,omitempty"` /* 实例的引擎版本,默认为3.6。<li>2.8:2.8.x的引擎版本<li>3.6:3.6.x的引擎版本 */ SpecName string `json:"specName,omitempty"` /* 实例的规格类型,资源池所具备的规格可通过查询产品规格接口获取,默认可选如下:<br>计算增强型的规格可选为:<li>kafka.2u4g.cluster<li>kafka.4u8g.cluster<li>kafka.8u16g.cluster<li>kafka.12u24g.cluster<li>kafka.16u32g.cluster<li>kafka.24u48g.cluster<li>kafka.32u64g.cluster<li>kafka.48u96g.cluster<li>kafka.64u128g.cluster <br>海光-计算增强型的规格可选为:<li>kafka.hg.2u4g.cluster<li>kafka.hg.4u8g.cluster<li>kafka.hg.8u16g.cluster<li>kafka.hg.16u32g.cluster<li>kafka.hg.32u64g.cluster <br>鲲鹏-计算增强型的规格可选为:<li>kafka.kp.2u4g.cluster<li>kafka.kp.4u8g.cluster<li>kafka.kp.8u16g.cluster<li>kafka.kp.16u32g.cluster<li>kafka.kp.32u64g.cluster */ NodeNum int32 `json:"nodeNum,omitempty"` /* 节点数。单机版为1个,集群版3~50个。 */ ZoneList []string `json:"zoneList"` /* 实例所在可用区信息。只能填一个(单可用区)或三个(多可用区),可用区信息可调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5855&data=87&isNormal=1&vid=81">资源池可用区查询</a>API接口查询。 */ DiskType string `json:"diskType,omitempty"` /* 磁盘类型,资源池所具备的磁盘类型可通过查询产品规格接口获取,默认取值:<li>SAS:高IO<li>SSD:超高IO<li>FAST-SSD:极速型SSD */ DiskSize int32 `json:"diskSize,omitempty"` /* 单个节点的磁盘存储空间,单位为GB,存储空间取值范围100GB ~ 10000,并且为100的倍数。实例总存储空间为diskSize * nodeNum。 */ VpcId string `json:"vpcId,omitempty"` /* VPC网络ID。获取方法如下:<li>方法一:登录网络控制台界面,在虚拟私有云的详情页面查找VPC ID。<li>方法二:您可以通过 <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=4814&data=94&vid=88">查询VPC列表</a> vpcID字段获取。 */ SubnetId string `json:"subnetId,omitempty"` /* VPC子网ID。获取方法如下:<li>方法一:登录网络控制台界面,单击VPC下的子网,进入子网详情页面,查找子网ID。<li>方法二:您可以通过 <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8659&data=94&vid=88">查询子网列表</a> subnetID字段获取。 */ SecurityGroupId string `json:"securityGroupId,omitempty"` /* 安全组ID。获取方法如下:<li>方法一:登录网络控制台界面,在安全组的详情页面查找安全组ID。<li>方法二:您可以通过 <a href="https://eop.ctyun.cn/ebp/searchCtapi/ctApiDebug?product=18&api=4817&vid=88">查询用户安全组列表</a> id字段获取。 */ InstanceNum int32 `json:"instanceNum,omitempty"` /* 购买数量(1-100,默认1) */ EnableIpv6 *bool `json:"enableIpv6"` /* 是否启用IPv6,默认为false。<li>true:启用IPv6。<li>false:不启用IPv6,默认值。 */ PlainPort int32 `json:"plainPort,omitempty"` /* 公共接入点(PLAINTEXT)端口,范围在8000到9100之间,默认为8090。 */ SaslPort int32 `json:"saslPort,omitempty"` /* 安全接入点(SASL_PLAINTEXT)端口,范围在8000到9100之间,默认为8092。 */ SslPort int32 `json:"sslPort,omitempty"` /* SSL接入点(SASL_SSL)端口,范围在8000到9100之间,默认为8098。 */ HttpPort int32 `json:"httpPort,omitempty"` /* HTTP接入点端口,范围在8000到9100之间,默认为8082。 */ RetentionHours int32 `json:"retentionHours,omitempty"` /* 实例消息保留时长,默认为72小时,可选1~10000小时。 */ }
type CtgkafkaCreatePostPayOrderResponse ¶
type CtgkafkaCreatePostPayOrderResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaCreatePostPayOrderReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaCreatePostPayOrderReturnObjResponse ¶
type CtgkafkaCreatePostPayOrderReturnObjResponse struct {
Data CtgkafkaCreatePostPayOrderReturnObjResponseData `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaDeleteAuthorityApi ¶
type CtgkafkaDeleteAuthorityApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaDeleteAuthorityApi ¶
func NewCtgkafkaDeleteAuthorityApi(client *core.CtyunClient) *CtgkafkaDeleteAuthorityApi
func (*CtgkafkaDeleteAuthorityApi) Do ¶
func (a *CtgkafkaDeleteAuthorityApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaDeleteAuthorityRequest) (*CtgkafkaDeleteAuthorityResponse, error)
type CtgkafkaDeleteAuthorityRequest ¶
type CtgkafkaDeleteAuthorityRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Username string `json:"username,omitempty"` /* 用户名称。 */ DeleteWriteAuthority []string `json:"deleteWriteAuthority"` /* 要删除生产权限的主题名称列表。与deleteReadAuthority至少一个不为空。 */ DeleteReadAuthority []string `json:"deleteReadAuthority"` /* 要删除消费权限的主题名称列表。与deleteWriteAuthority至少一个不为空。 */ }
type CtgkafkaDeleteAuthorityResponse ¶
type CtgkafkaDeleteAuthorityResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaDeleteAuthorityReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaDeleteAuthorityReturnObjResponse ¶
type CtgkafkaDeleteAuthorityReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回创建描述。 */
}
type CtgkafkaDiskExtendApi ¶
type CtgkafkaDiskExtendApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaDiskExtendApi ¶
func NewCtgkafkaDiskExtendApi(client *core.CtyunClient) *CtgkafkaDiskExtendApi
func (*CtgkafkaDiskExtendApi) Do ¶
func (a *CtgkafkaDiskExtendApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaDiskExtendRequest) (*CtgkafkaDiskExtendResponse, error)
type CtgkafkaDiskExtendRequest ¶
type CtgkafkaDiskExtendRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ DiskExtendSize string `json:"diskExtendSize,omitempty"` /* 每个节点扩容后的存储空间,单位GB,范围为当前每个节点存储空间 ~ 10000,并且为100的倍数。 */ AutoPay *bool `json:"autoPay"` /* 是否自动支付,当实例为按需计费模式不生效。<br><li>true:自动付费(默认值)<br><li>false:手动付费 <br>说明:选择为手动付费时,您需要在控制台的顶部菜单栏进入控制中心,单击费用中心 ,然后单击左侧导航栏的订单管理 > 我的订单,找到目标订单进行支付。 */ }
type CtgkafkaDiskExtendResponse ¶
type CtgkafkaDiskExtendResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaDiskExtendReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaDiskExtendReturnObjResponse ¶
type CtgkafkaDiskExtendReturnObjResponse struct { }
type CtgkafkaDiskShrinkApi ¶
type CtgkafkaDiskShrinkApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaDiskShrinkApi ¶
func NewCtgkafkaDiskShrinkApi(client *core.CtyunClient) *CtgkafkaDiskShrinkApi
func (*CtgkafkaDiskShrinkApi) Do ¶
func (a *CtgkafkaDiskShrinkApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaDiskShrinkRequest) (*CtgkafkaDiskShrinkResponse, error)
type CtgkafkaDiskShrinkRequest ¶
type CtgkafkaDiskShrinkRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ DiskSize string `json:"diskSize,omitempty"` /* 每个节点缩容后的存储空间,单位GB,范围为当100 ~ 前每个节点存储空间,并且为100的倍数。 */ }
type CtgkafkaDiskShrinkResponse ¶
type CtgkafkaDiskShrinkResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaDiskShrinkReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaDiskShrinkReturnObjResponse ¶
type CtgkafkaDiskShrinkReturnObjResponse struct { }
type CtgkafkaElasticBandwidthApi ¶
type CtgkafkaElasticBandwidthApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaElasticBandwidthApi ¶
func NewCtgkafkaElasticBandwidthApi(client *core.CtyunClient) *CtgkafkaElasticBandwidthApi
func (*CtgkafkaElasticBandwidthApi) Do ¶
func (a *CtgkafkaElasticBandwidthApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaElasticBandwidthRequest) (*CtgkafkaElasticBandwidthResponse, error)
type CtgkafkaElasticBandwidthRequest ¶
type CtgkafkaElasticBandwidthRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Enable int32 `json:"enable,omitempty"` /* 是否开启弹性带宽:<br><li>1:开启<br><li>2:关闭 */ }
type CtgkafkaElasticBandwidthResponse ¶
type CtgkafkaElasticBandwidthResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaElasticBandwidthReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaElasticBandwidthReturnObjDataResponse ¶
type CtgkafkaElasticBandwidthReturnObjDataResponse struct{}
type CtgkafkaElasticBandwidthReturnObjResponse ¶
type CtgkafkaElasticBandwidthReturnObjResponse struct {
Data *CtgkafkaElasticBandwidthReturnObjDataResponse `json:"data"` /* 返回接口提示。 */
}
type CtgkafkaEnableAutoReassignApi ¶
type CtgkafkaEnableAutoReassignApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaEnableAutoReassignApi ¶
func NewCtgkafkaEnableAutoReassignApi(client *core.CtyunClient) *CtgkafkaEnableAutoReassignApi
func (*CtgkafkaEnableAutoReassignApi) Do ¶
func (a *CtgkafkaEnableAutoReassignApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaEnableAutoReassignRequest) (*CtgkafkaEnableAutoReassignResponse, error)
type CtgkafkaEnableAutoReassignRequest ¶
type CtgkafkaEnableAutoReassignRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Enable int32 `json:"enable,omitempty"` /* 是否开启自动分区重平衡。<br><li>1:开启<br><li>2:关闭 */ }
type CtgkafkaEnableAutoReassignResponse ¶
type CtgkafkaEnableAutoReassignResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaEnableAutoReassignReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaEnableAutoReassignReturnObjDataResponse ¶
type CtgkafkaEnableAutoReassignReturnObjDataResponse struct{}
type CtgkafkaEnableAutoReassignReturnObjResponse ¶
type CtgkafkaEnableAutoReassignReturnObjResponse struct {
Data *CtgkafkaEnableAutoReassignReturnObjDataResponse `json:"data"` /* 返回数据。 */
}
type CtgkafkaEndMessageApi ¶
type CtgkafkaEndMessageApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaEndMessageApi ¶
func NewCtgkafkaEndMessageApi(client *core.CtyunClient) *CtgkafkaEndMessageApi
func (*CtgkafkaEndMessageApi) Do ¶
func (a *CtgkafkaEndMessageApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaEndMessageRequest) (*CtgkafkaEndMessageResponse, error)
type CtgkafkaEndMessageRequest ¶
type CtgkafkaEndMessageRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ PartitionId int32 `json:"partitionId,omitempty"` /* 主题分区ID。 */ }
type CtgkafkaEndMessageResponse ¶
type CtgkafkaEndMessageResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaEndMessageReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaEndMessageReturnObjResponse ¶
type CtgkafkaEndMessageReturnObjResponse struct {
Data []*CtgkafkaEndMessageReturnObjDataResponse `json:"data"` /* 主题信息。 */
}
type CtgkafkaGetAuthorityApi ¶
type CtgkafkaGetAuthorityApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaGetAuthorityApi ¶
func NewCtgkafkaGetAuthorityApi(client *core.CtyunClient) *CtgkafkaGetAuthorityApi
func (*CtgkafkaGetAuthorityApi) Do ¶
func (a *CtgkafkaGetAuthorityApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaGetAuthorityRequest) (*CtgkafkaGetAuthorityResponse, error)
type CtgkafkaGetAuthorityRequest ¶
type CtgkafkaGetAuthorityRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Username string `json:"username,omitempty"` /* 用户名称。 */ }
type CtgkafkaGetAuthorityResponse ¶
type CtgkafkaGetAuthorityResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息 */ ReturnObj *CtgkafkaGetAuthorityReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaGetAuthorityReturnObjResponse ¶
type CtgkafkaGetAuthorityReturnObjResponse struct {
Data *CtgkafkaGetAuthorityReturnObjDataResponse `json:"data"` /* 用户权限数据 */
}
type CtgkafkaGetInstanceConfigApi ¶
type CtgkafkaGetInstanceConfigApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaGetInstanceConfigApi ¶
func NewCtgkafkaGetInstanceConfigApi(client *core.CtyunClient) *CtgkafkaGetInstanceConfigApi
func (*CtgkafkaGetInstanceConfigApi) Do ¶
func (a *CtgkafkaGetInstanceConfigApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaGetInstanceConfigRequest) (*CtgkafkaGetInstanceConfigResponse, error)
type CtgkafkaGetInstanceConfigRequest ¶
type CtgkafkaGetInstanceConfigRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaGetInstanceConfigResponse ¶
type CtgkafkaGetInstanceConfigResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaGetInstanceConfigReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaGetInstanceConfigReturnObjDataResponse ¶
type CtgkafkaGetInstanceConfigReturnObjDataResponse struct { Name string `json:"name,omitempty"` /* 配置名称 */ Value string `json:"value,omitempty"` /* 当前配置值 */ Valid_values string `json:"valid_values,omitempty"` /* 配置有效值。 */ Default_value string `json:"default_value,omitempty"` /* 配置默认值。 */ VarType string `json:"varType,omitempty"` /* 值类型。 */ Config_type string `json:"config_type,omitempty"` /* 配置类型:<br><li>static:静态配置<br><li>dynamic:动态配置 <br>说明:静态配置修改后需重启实例方可生效,动态配置无需重启实例。 */ Desc string `json:"desc,omitempty"` /* 配置说明。 */ }
type CtgkafkaGetInstanceConfigReturnObjResponse ¶
type CtgkafkaGetInstanceConfigReturnObjResponse struct {
Data []*CtgkafkaGetInstanceConfigReturnObjDataResponse `json:"data"` /* 返回数据 */
}
type CtgkafkaGetTopicDetailsApi ¶
type CtgkafkaGetTopicDetailsApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaGetTopicDetailsApi ¶
func NewCtgkafkaGetTopicDetailsApi(client *core.CtyunClient) *CtgkafkaGetTopicDetailsApi
func (*CtgkafkaGetTopicDetailsApi) Do ¶
func (a *CtgkafkaGetTopicDetailsApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaGetTopicDetailsRequest) (*CtgkafkaGetTopicDetailsResponse, error)
type CtgkafkaGetTopicDetailsRequest ¶
type CtgkafkaGetTopicDetailsRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ }
type CtgkafkaGetTopicDetailsResponse ¶
type CtgkafkaGetTopicDetailsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaGetTopicDetailsReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaGetTopicDetailsReturnObjDataPartitionListOffsetsResponse ¶
type CtgkafkaGetTopicDetailsReturnObjDataPartitionListOffsetsResponse struct { Total int64 `json:"total,omitempty"` /* 分区消息总数。 */ Begin int64 `json:"begin,omitempty"` /* 分区leader副本的最大偏移量。 */ End int64 `json:"end,omitempty"` /* 分区leader副本的最小偏移量。 */ UpdateTime int64 `json:"updateTime,omitempty"` /* 分区最近写入消息的毫秒时间戳。 */ Hw int64 `json:"hw,omitempty"` /* 分区消息高水位线,所有副本均已确认写入的最大偏移量。 */ }
type CtgkafkaGetTopicDetailsReturnObjDataPartitionListReplicasResponse ¶
type CtgkafkaGetTopicDetailsReturnObjDataPartitionListReplicasResponse struct { BrokerId int32 `json:"brokerId,omitempty"` /* Broker节点ID。 */ IsLeader *bool `json:"isLeader"` /* 是否是主副本。 */ InSync *bool `json:"inSync"` /* 副本是否处于同步状态。 */ Size int64 `json:"size,omitempty"` /* 副本消息大小,单位字节。 */ Lag int64 `json:"lag,omitempty"` /* 该副本当前落后hw的消息数。 */ }
type CtgkafkaGetTopicDetailsReturnObjDataPartitionListResponse ¶
type CtgkafkaGetTopicDetailsReturnObjDataPartitionListResponse struct { TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ PartitionId int32 `json:"partitionId,omitempty"` /* 分区ID。 */ Offsets *CtgkafkaGetTopicDetailsReturnObjDataPartitionListOffsetsResponse `json:"offsets"` /* 分区偏移量信息。 */ Replicas []*CtgkafkaGetTopicDetailsReturnObjDataPartitionListReplicasResponse `json:"replicas"` /* 副本信息。 */ }
type CtgkafkaGetTopicDetailsReturnObjDataResponse ¶
type CtgkafkaGetTopicDetailsReturnObjDataResponse struct { TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ PartitionList []*CtgkafkaGetTopicDetailsReturnObjDataPartitionListResponse `json:"partitionList"` /* 分区列表信息。 */ GroupSubscribed []string `json:"groupSubscribed"` /* 订阅主题的消费组列表。 */ }
type CtgkafkaGetTopicDetailsReturnObjResponse ¶
type CtgkafkaGetTopicDetailsReturnObjResponse struct {
Data []*CtgkafkaGetTopicDetailsReturnObjDataResponse `json:"data"` /* 主题详情信息。 */
}
type CtgkafkaInstQueryApi ¶
type CtgkafkaInstQueryApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaInstQueryApi ¶
func NewCtgkafkaInstQueryApi(client *core.CtyunClient) *CtgkafkaInstQueryApi
func (*CtgkafkaInstQueryApi) Do ¶
func (a *CtgkafkaInstQueryApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaInstQueryRequest) (*CtgkafkaInstQueryResponse, error)
type CtgkafkaInstQueryRequest ¶
type CtgkafkaInstQueryRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,如果传入,则返回指定实例的详细信息。 */ Name string `json:"name,omitempty"` /* 实例名称。 */ ExactMatchName *bool `json:"exactMatchName"` /* 是否精确匹配实例名称,当name有值时本参数有效。<br><li>true:精确查询<br><li>false:模糊查询(默认) */ Status int32 `json:"status,omitempty"` /* 实例状态:<br><li>1:运行中<br><li>2:已过期<br><li>3:已注销<br><li>4:变更中<br><li>5:已退订<br><li>6:开通中<br><li>7:已取消<br><li>8:已停止<br><li>9:弹性IP处理中<br><li>10:重启中<br><li>11:重启失败<br><li>12:升级中<br><li>13:已欠费<br><li>101:开通失败 */ OuterProjectId string `json:"outerProjectId,omitempty"` /* 企业项目ID,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目。 */ PageNum int32 `json:"pageNum,omitempty"` /* 分页中的页数,默认1,范围1-40000。 */ PageSize int32 `json:"pageSize,omitempty"` /* 分页中的每页大小,默认10,范围1-40000。 */ }
type CtgkafkaInstQueryResponse ¶
type CtgkafkaInstQueryResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaInstQueryReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaInstQueryReturnObjDataNodeListResponse ¶
type CtgkafkaInstQueryReturnObjDataNodeListResponse struct { TenantId string `json:"tenantId,omitempty"` /* 租户ID。 */ TenantName string `json:"tenantName,omitempty"` /* 租户名称。 */ VpcIp string `json:"vpcIp,omitempty"` /* 节点VPC IP地址。 */ VpcIpv6 string `json:"vpcIpv6,omitempty"` /* 节点VPC IP地址。 */ ElasticIp string `json:"elasticIp,omitempty"` /* 弹性IP,绑定后有值。 */ ElasticIpState int32 `json:"elasticIpState,omitempty"` /* 弹性IP绑定状态。<br><li>0:未绑定<br><li>1:绑定成功<br><li>2:绑定失败<br><li>3:处理中<br><li>4:解绑失败 */ CreateTime string `json:"createTime,omitempty"` /* 节点创建时间。 */ UpdateTime string `json:"updateTime,omitempty"` /* 节点更新时间。 */ ServerSeq int32 `json:"serverSeq,omitempty"` /* 节点ID。 */ State int32 `json:"state,omitempty"` /* 节点专题。<br><li>0:停止<br><li>1:启动 */ AzId string `json:"azId,omitempty"` /* 节点所在可用区ID。 */ AzName string `json:"azName,omitempty"` /* 节点所在可用区名称。 */ EcsId string `json:"ecsId,omitempty"` /* 节点ID。 */ VpcPort string `json:"vpcPort,omitempty"` /* 公共接入点(PLAINTEXT)端口。 */ SaslPort string `json:"saslPort,omitempty"` /* 安全接入点(SASL_PLAINTEXT)端口。 */ ListenNodePort string `json:"listenNodePort,omitempty"` /* SSL接入点(SASL_SSL)端口。 */ Ipv6PlainPort string `json:"ipv6PlainPort,omitempty"` /* IPV6公共接入点(PLAINTEXT)端口。 */ Ipv6SaslPort string `json:"ipv6SaslPort,omitempty"` /* IPV6安全接入点(SASL_PLAINTEXT)端口。 */ Ipv6SslPort string `json:"ipv6SslPort,omitempty"` /* IPV6 SSL接入点(SASL_SSL)端口。 */ HttpPort string `json:"httpPort,omitempty"` /* HTTP接入点端口。 */ SaslNodePort string `json:"saslNodePort,omitempty"` /* 弹性IP安全接入点(SASL_PLAINTEXT)端口。 */ DomainEndpoint string `json:"domainEndpoint,omitempty"` /* 域名。 */ }
type CtgkafkaInstQueryReturnObjDataProtocolsResponse ¶
type CtgkafkaInstQueryReturnObjDataProtocolsResponse struct { PlainTextAddr string `json:"plainTextAddr,omitempty"` /* 公共接入点。 */ PlainTextIpv6Addr string `json:"plainTextIpv6Addr,omitempty"` /* IPv6公共接入点。 */ SaslPlainTextAddr string `json:"saslPlainTextAddr,omitempty"` /* 安全接入点。 */ SaslPlainTextIpv6Addr string `json:"saslPlainTextIpv6Addr,omitempty"` /* IPv6安全接入点。 */ SaslSslAddr string `json:"saslSslAddr,omitempty"` /* SSL安全接入点。 */ SaslSslIpv6Addr string `json:"saslSslIpv6Addr,omitempty"` /* IPv6 SSL安全接入点。 */ HttpAddr string `json:"httpAddr,omitempty"` /* HTTP接入点。 */ HttpIpv6Addr string `json:"httpIpv6Addr,omitempty"` /* IPv6 HTTP接入点。 */ PublicSaslTextAddr string `json:"publicSaslTextAddr,omitempty"` /* 公网接入点。 */ DomainEndpointAddr string `json:"domainEndpointAddr,omitempty"` /* 域名接入点。 */ EnableIPv6 *bool `json:"enableIPv6"` /* 是否开启IPv6 */ }
type CtgkafkaInstQueryReturnObjDataResponse ¶
type CtgkafkaInstQueryReturnObjDataResponse struct { ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ InstanceName string `json:"instanceName,omitempty"` /* 实例名称。 */ Status int32 `json:"status,omitempty"` /* 状态:<br><li>1:正常<br><li>2:暂停<br><li>3:注销 */ MqEngineType string `json:"mqEngineType,omitempty"` /* 产品引擎类型:<br><li>kafka<br><li>pulsar */ PartitionNum int32 `json:"partitionNum,omitempty"` /* 分区数上限。 */ Subnet string `json:"subnet,omitempty"` /* 子网名称。 */ Space string `json:"space,omitempty"` /* 单个代理(节点)磁盘存储空间,单位GB。 */ SecurityGroup string `json:"securityGroup,omitempty"` /* 安全组ID。 */ Network string `json:"network,omitempty"` /* 网络名称。 */ BillMode string `json:"billMode,omitempty"` /* 付费类型。<br><li>1:包周期<br><li>2:按需 */ ExpireTime string `json:"expireTime,omitempty"` /* 过期时间。 */ CreateTime string `json:"createTime,omitempty"` /* 创建时间。 */ UpdateTime string `json:"updateTime,omitempty"` /* 更新时间。 */ NodeList []*CtgkafkaInstQueryReturnObjDataNodeListResponse `json:"nodeList"` /* 代理(节点)列表信息,当请求参数传入prodInstId时有值 */ Version string `json:"version,omitempty"` /* 实例版本。 */ RegionCode string `json:"regionCode,omitempty"` /* 资源池编码。 */ RegionName string `json:"regionName,omitempty"` /* 资源池名称。 */ OuterProjectId string `json:"outerProjectId,omitempty"` /* 企业项目ID。 */ OuterProjectName string `json:"outerProjectName,omitempty"` /* 企业项目名称。 */ DomainEndpoint string `json:"domainEndpoint,omitempty"` /* 实例域名接入点。 */ Remark string `json:"remark,omitempty"` /* 实例备注。 */ ClusterType int32 `json:"clusterType,omitempty"` /* 实例类型。<br><li>1:单机版<br><li>2:集群版 */ Specifications string `json:"specifications,omitempty"` /* 实例规格。 */ VpcId string `json:"vpcId,omitempty"` /* VPC ID。 */ SubnetId string `json:"subnetId,omitempty"` /* 子网ID。 */ AutoReassign int32 `json:"autoReassign,omitempty"` /* 扩容时是否自动迁移主题。 <br><li>1:是<br><li>2:否<br><li>空值表示不开启 */ Ipv6Enable int32 `json:"ipv6Enable,omitempty"` /* 是否开启IPV6。 <br><li>1:是<br><li>2:否<br><li>空值表示不开启 */ ElasticEnable string `json:"elasticEnable,omitempty"` /* 是否开启弹性带宽。 <br><li>1:是<br><li>2:否<br><li>空值表示不开启 */ Vip string `json:"vip,omitempty"` /* 实例vip。 */ Vipv6 string `json:"vipv6,omitempty"` /* 实例vipv6。 */ DiskType string `json:"diskType,omitempty"` /* 磁盘类型。 */ Protocols *CtgkafkaInstQueryReturnObjDataProtocolsResponse `json:"protocols"` /* 实例接入点信息,当请求参数传入prodInstId时有值。 */ }
type CtgkafkaInstQueryReturnObjResponse ¶
type CtgkafkaInstQueryReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总记录数。 */ Data []*CtgkafkaInstQueryReturnObjDataResponse `json:"data"` /* 实例信息。 */ }
type CtgkafkaInstanceDeleteV3Api ¶
type CtgkafkaInstanceDeleteV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaInstanceDeleteV3Api ¶
func NewCtgkafkaInstanceDeleteV3Api(client *core.CtyunClient) *CtgkafkaInstanceDeleteV3Api
func (*CtgkafkaInstanceDeleteV3Api) Do ¶
func (a *CtgkafkaInstanceDeleteV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaInstanceDeleteV3Request) (*CtgkafkaInstanceDeleteV3Response, error)
type CtgkafkaInstanceDeleteV3Request ¶
type CtgkafkaInstanceDeleteV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaInstanceDeleteV3Response ¶
type CtgkafkaInstanceDeleteV3Response struct { StatusCode string `json:"statusCode"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message"` /* 描述状态。 */ ReturnObj *CtgkafkaInstanceDeleteV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error"` /* 错误码,描述错误信息。 */ }
type CtgkafkaInstanceDeleteV3ReturnObjResponse ¶
type CtgkafkaInstanceDeleteV3ReturnObjResponse struct {
Data string `json:"data"` /* 返回数据。 */
}
type CtgkafkaInstancesModifyNameV3Api ¶
type CtgkafkaInstancesModifyNameV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaInstancesModifyNameV3Api ¶
func NewCtgkafkaInstancesModifyNameV3Api(client *core.CtyunClient) *CtgkafkaInstancesModifyNameV3Api
func (*CtgkafkaInstancesModifyNameV3Api) Do ¶
func (a *CtgkafkaInstancesModifyNameV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaInstancesModifyNameV3Request) (*CtgkafkaInstancesModifyNameV3Response, error)
type CtgkafkaInstancesModifyNameV3Request ¶
type CtgkafkaInstancesModifyNameV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ InstanceName string `json:"instanceName,omitempty"` /* 新实例名称。 规则如下:<br><li>大小写字母开头,只能包含大小写字母、数字及分隔符(-),大小写字母或数字结尾。<br><li>长度4-40。 */ }
type CtgkafkaInstancesModifyNameV3Response ¶
type CtgkafkaInstancesModifyNameV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaInstancesModifyNameV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaInstancesModifyNameV3ReturnObjResponse ¶
type CtgkafkaInstancesModifyNameV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaInstancesRestartV3Api ¶
type CtgkafkaInstancesRestartV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaInstancesRestartV3Api ¶
func NewCtgkafkaInstancesRestartV3Api(client *core.CtyunClient) *CtgkafkaInstancesRestartV3Api
func (*CtgkafkaInstancesRestartV3Api) Do ¶
func (a *CtgkafkaInstancesRestartV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaInstancesRestartV3Request) (*CtgkafkaInstancesRestartV3Response, error)
type CtgkafkaInstancesRestartV3Request ¶
type CtgkafkaInstancesRestartV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaInstancesRestartV3Response ¶
type CtgkafkaInstancesRestartV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaInstancesRestartV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaInstancesRestartV3ReturnObjResponse ¶
type CtgkafkaInstancesRestartV3ReturnObjResponse struct {
Data string `json:"data"` /* 返回数据。 */
}
type CtgkafkaListResourceV3Api ¶
type CtgkafkaListResourceV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaListResourceV3Api ¶
func NewCtgkafkaListResourceV3Api(client *core.CtyunClient) *CtgkafkaListResourceV3Api
func (*CtgkafkaListResourceV3Api) Do ¶
func (a *CtgkafkaListResourceV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaListResourceV3Request) (*CtgkafkaListResourceV3Response, error)
type CtgkafkaListTagV3Api ¶
type CtgkafkaListTagV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaListTagV3Api ¶
func NewCtgkafkaListTagV3Api(client *core.CtyunClient) *CtgkafkaListTagV3Api
func (*CtgkafkaListTagV3Api) Do ¶
func (a *CtgkafkaListTagV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaListTagV3Request) (*CtgkafkaListTagV3Response, error)
type CtgkafkaMirrorTaskApi ¶
type CtgkafkaMirrorTaskApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaMirrorTaskApi ¶
func NewCtgkafkaMirrorTaskApi(client *core.CtyunClient) *CtgkafkaMirrorTaskApi
func (*CtgkafkaMirrorTaskApi) Do ¶
func (a *CtgkafkaMirrorTaskApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaMirrorTaskRequest) (*CtgkafkaMirrorTaskResponse, error)
type CtgkafkaMirrorTaskRequest ¶
type CtgkafkaMirrorTaskRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 目标实例ID。 */ TaskName string `json:"taskName,omitempty"` /* 迁移任务名称。 */ SourceAddr string `json:"sourceAddr,omitempty"` /* 源集群的接入点地址,迁移上云时为必填。 */ SourceProtocol string `json:"sourceProtocol,omitempty"` /* 源集群的接入协议,迁移上云时为必填。<br><li>PLAINTEXT<br><li>SASL_PLAINTEXT */ SourceSaslMechanism string `json:"sourceSaslMechanism,omitempty"` /* sasl认证机制,sasl连接时为必填。<br><li>PLAIN<br><li>SCRAM-SHA-256<br><li>SCRAM-SHA-512 */ SourceSaslUser string `json:"sourceSaslUser,omitempty"` /* sasl用户名称,sasl连接时为必填。 */ SourceSaslPwd string `json:"sourceSaslPwd,omitempty"` /* sasl用户密码,sasl连接时为必填。 */ TaskNum int32 `json:"taskNum,omitempty"` /* 任务数,默认为1。 */ SyncAcl string `json:"syncAcl,omitempty"` /* 是否同步acl信息。<br><li>1:是<br><li>2:否(默认值) */ SyncGroup string `json:"syncGroup,omitempty"` /* 是否同步消费组。<br><li>1:是<br><li>2:否(默认值) */ Topics string `json:"topics,omitempty"` /* 迁移的Topic名称,多个Topic用逗号隔开,不填默认所有Topic。 */ Groups string `json:"groups,omitempty"` /* 迁移的消费组名称,多个消费组用逗号隔开,不填默认所有消费组。 */ AutoStopTask string `json:"autoStopTask,omitempty"` /* 是否自动停止任务。<br><li>1:是<br><li>2:否(默认值) */ RawType string `json:"type,omitempty"` /* 迁移类型。<br><li>2:本地实例迁移上云<br><li>3:云间实例迁移 */ SourceClusterId string `json:"sourceClusterId,omitempty"` /* 源集群ID,云实例间迁移时必填。 */ DefaultReplica string `json:"defaultReplica,omitempty"` /* 是否保持和源集群副本一致。<br><li>1:是(默认值)<br><li>2:否,3副本 */ }
type CtgkafkaMirrorTaskResponse ¶
type CtgkafkaMirrorTaskResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaMirrorTaskReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaMirrorTaskReturnObjResponse ¶
type CtgkafkaMirrorTaskReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回提升。 */
}
type CtgkafkaModifyInstanceConfigApi ¶
type CtgkafkaModifyInstanceConfigApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaModifyInstanceConfigApi ¶
func NewCtgkafkaModifyInstanceConfigApi(client *core.CtyunClient) *CtgkafkaModifyInstanceConfigApi
func (*CtgkafkaModifyInstanceConfigApi) Do ¶
func (a *CtgkafkaModifyInstanceConfigApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaModifyInstanceConfigRequest) (*CtgkafkaModifyInstanceConfigResponse, error)
type CtgkafkaModifyInstanceConfigRequest ¶
type CtgkafkaModifyInstanceConfigRequest struct { RegionId string `json:"regionId,omitempty"` /* 资源池编码 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ LogRetentionMs string `json:"logRetentionMs,omitempty"` /* 消息保留时长 */ MessageMaxBytes string `json:"messageMaxBytes,omitempty"` /* 最大消息大小 */ }
type CtgkafkaModifypartitionNumV3Api ¶
type CtgkafkaModifypartitionNumV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaModifypartitionNumV3Api ¶
func NewCtgkafkaModifypartitionNumV3Api(client *core.CtyunClient) *CtgkafkaModifypartitionNumV3Api
func (*CtgkafkaModifypartitionNumV3Api) Do ¶
func (a *CtgkafkaModifypartitionNumV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaModifypartitionNumV3Request) (*CtgkafkaModifypartitionNumV3Response, error)
type CtgkafkaModifypartitionNumV3Request ¶
type CtgkafkaModifypartitionNumV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称,<br> 您可以<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7396&data=83&isNormal=1&vid=330">查询主题</a> 获取对应实例下的主题名称列表。 */ PartitionNum int32 `json:"partitionNum,omitempty"` /* 新分区数量,取值范围[旧分区数量+1,min(100, 实例剩余分区数量)]。实例剩余分区数量=实例分区上限-所有主题分区数之和。<br>您可以<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7382&data=83&isNormal=1&vid=330">查询实例</a>查询对应实例下partitionNum获取分区数上限。<br>您可以<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7396&data=83&isNormal=1&vid=330">查询主题</a>查询对应实例下主题的分区数量。 */ }
type CtgkafkaModifypartitionNumV3Response ¶
type CtgkafkaModifypartitionNumV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaModifypartitionNumV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaModifypartitionNumV3ReturnObjResponse ¶
type CtgkafkaModifypartitionNumV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaMonitorMetricsV3Api ¶
type CtgkafkaMonitorMetricsV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaMonitorMetricsV3Api ¶
func NewCtgkafkaMonitorMetricsV3Api(client *core.CtyunClient) *CtgkafkaMonitorMetricsV3Api
func (*CtgkafkaMonitorMetricsV3Api) Do ¶
func (a *CtgkafkaMonitorMetricsV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaMonitorMetricsV3Request) (*CtgkafkaMonitorMetricsV3Response, error)
type CtgkafkaMonitorMetricsV3Request ¶
type CtgkafkaMonitorMetricsV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ RegionCode string `json:"regionCode,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ MetricName string `json:"metricName,omitempty"` /* 指标名称,例如节点存活数指标,对应的metricName为current_brokers <br>您可以<a href="https://www.ctyun.cn/document/10029624/10991364">查询可用的指标名称</a>,参考该文档表格的指标ID。 */ StartTime int32 `json:"startTime,omitempty"` /* 查询数据起始时间,UNIX时间戳,单位秒(s)。 */ EndTime int32 `json:"endTime,omitempty"` /* 查询数据截止时间,UNIX时间戳,单位秒(s)。startTime必须小于endTime 。 */ Labels string `json:"labels,omitempty"` /* 指标的维度标签,格式为:key1=value1,key2=value2,<br><li>节点维度监控指标,lebels可传vpcIp,如lebels参数为:"vpcIp=192.168.0.46"。<br><li>主题维度监控指标lebels可传topic,如lebels参数为:"topic=mytopic"。<br><li>消费组维度监控指标,lebels可传group、topic,如lebels参数为:"group=aaaa,topic=topic-w"。 */ }
type CtgkafkaMonitorMetricsV3Response ¶
type CtgkafkaMonitorMetricsV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj []*CtgkafkaMonitorMetricsV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaMonitorMetricsV3ReturnObjMetricResponse ¶
type CtgkafkaMonitorMetricsV3ReturnObjMetricResponse struct{}
type CtgkafkaMonitorMetricsV3ReturnObjResponse ¶
type CtgkafkaMonitorMetricsV3ReturnObjResponse struct { Metric *CtgkafkaMonitorMetricsV3ReturnObjMetricResponse `json:"metric"` /* metrics标签,标签如下: <li>instance_id:实例ID<li>region_name:资源池名称 <li>vpc_ip:节点IP <li>topic:主题名 <li>group:消费组名称 */ Values []*CtgkafkaMonitorMetricsV3ReturnObjValuesResponse `json:"values"` /* 指标数据列表。数据为一个数组,数组索引为0的数据时间戳,单位为秒;数组索引为1的数据为指标值。 */ }
type CtgkafkaMonitorMetricsV3ReturnObjValuesResponse ¶
type CtgkafkaMonitorMetricsV3ReturnObjValuesResponse struct {
MetricValues []string `json:"metricValues"` /* 标指标数据,数组第一个数据为时时间戳,数组第二个数据为指标值。 */
}
type CtgkafkaNodeExtendApi ¶
type CtgkafkaNodeExtendApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaNodeExtendApi ¶
func NewCtgkafkaNodeExtendApi(client *core.CtyunClient) *CtgkafkaNodeExtendApi
func (*CtgkafkaNodeExtendApi) Do ¶
func (a *CtgkafkaNodeExtendApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaNodeExtendRequest) (*CtgkafkaNodeExtendResponse, error)
type CtgkafkaNodeExtendRequest ¶
type CtgkafkaNodeExtendRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 实例需是集群版。 */ ExtendNodeNum int32 `json:"extendNodeNum,omitempty"` /* 扩容后的节点数,取值范围[原来节点数+1, 50]。 */ AutoPay *bool `json:"autoPay"` /* 是否自动支付,当实例为按需计费模式不生效。<br><li>true:自动付费(默认值)<br><li>false:手动付费 <br>说明:选择为手动付费时,您需要在控制台的顶部菜单栏进入控制中心,单击费用中心 ,然后单击左侧导航栏的订单管理 > 我的订单,找到目标订单进行支付。 */ }
type CtgkafkaNodeExtendResponse ¶
type CtgkafkaNodeExtendResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaNodeExtendReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaNodeExtendReturnObjResponse ¶
type CtgkafkaNodeExtendReturnObjResponse struct { }
type CtgkafkaNodeShrinkApi ¶
type CtgkafkaNodeShrinkApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaNodeShrinkApi ¶
func NewCtgkafkaNodeShrinkApi(client *core.CtyunClient) *CtgkafkaNodeShrinkApi
func (*CtgkafkaNodeShrinkApi) Do ¶
func (a *CtgkafkaNodeShrinkApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaNodeShrinkRequest) (*CtgkafkaNodeShrinkResponse, error)
type CtgkafkaNodeShrinkRequest ¶
type CtgkafkaNodeShrinkRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。实例需是集群版。 */ NodeNum string `json:"nodeNum,omitempty"` /* 缩容后的节点数。 取值范围[3, 原来节点数-1]。 */ }
type CtgkafkaNodeShrinkResponse ¶
type CtgkafkaNodeShrinkResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaNodeShrinkReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaNodeShrinkReturnObjResponse ¶
type CtgkafkaNodeShrinkReturnObjResponse struct { }
type CtgkafkaNodeStatusV3Api ¶
type CtgkafkaNodeStatusV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaNodeStatusV3Api ¶
func NewCtgkafkaNodeStatusV3Api(client *core.CtyunClient) *CtgkafkaNodeStatusV3Api
func (*CtgkafkaNodeStatusV3Api) Do ¶
func (a *CtgkafkaNodeStatusV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaNodeStatusV3Request) (*CtgkafkaNodeStatusV3Response, error)
type CtgkafkaNodeStatusV3Request ¶
type CtgkafkaNodeStatusV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaNodeStatusV3Response ¶
type CtgkafkaNodeStatusV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaNodeStatusV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaNodeStatusV3ReturnObjResponse ¶
type CtgkafkaNodeStatusV3ReturnObjResponse struct {
Data []*CtgkafkaNodeStatusV3ReturnObjDataResponse `json:"data"` /* 返回数据。 */
}
type CtgkafkaPageQueryFloatingipsApi ¶
type CtgkafkaPageQueryFloatingipsApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaPageQueryFloatingipsApi ¶
func NewCtgkafkaPageQueryFloatingipsApi(client *core.CtyunClient) *CtgkafkaPageQueryFloatingipsApi
func (*CtgkafkaPageQueryFloatingipsApi) Do ¶
func (a *CtgkafkaPageQueryFloatingipsApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaPageQueryFloatingipsRequest) (*CtgkafkaPageQueryFloatingipsResponse, error)
type CtgkafkaPageQueryFloatingipsRequest ¶
type CtgkafkaPageQueryFloatingipsRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ PageNum int32 `json:"pageNum,omitempty"` /* 分页中的页数,默认1,范围1-40000。 */ PageSize int32 `json:"pageSize,omitempty"` /* 分页中的每页大小,默认10,范围1-40000。 */ }
type CtgkafkaPageQueryFloatingipsResponse ¶
type CtgkafkaPageQueryFloatingipsResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj string `json:"returnObj,omitempty"` /* 返回对象。此参数所包含的参数请见“响应示例'里面的注释。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaProdDetailApi ¶
type CtgkafkaProdDetailApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaProdDetailApi ¶
func NewCtgkafkaProdDetailApi(client *core.CtyunClient) *CtgkafkaProdDetailApi
func (*CtgkafkaProdDetailApi) Do ¶
func (a *CtgkafkaProdDetailApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaProdDetailRequest) (*CtgkafkaProdDetailResponse, error)
type CtgkafkaProdDetailRequest ¶
type CtgkafkaProdDetailRequest struct {
RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */
}
type CtgkafkaProdDetailResponse ¶
type CtgkafkaProdDetailResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900" */ Message string `json:"message,omitempty"` /* 描述状态 */ ReturnObj *CtgkafkaProdDetailReturnObjResponse `json:"returnObj"` /* 返回对象。此参数所包含的参数请见“响应示例”里面的注释 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息 */ RequestId string `json:"requestId,omitempty"` }
type CtgkafkaProdDetailReturnObjResponse ¶
type CtgkafkaProdDetailReturnObjResponse struct { Data struct { Series []CtgkafkaProdDetailReturnObjResponseSeries `json:"series"` OsList []string `json:"osList"` } `json:"data"` }
type CtgkafkaProdDetailReturnObjResponseSeries ¶
type CtgkafkaProdDetailReturnObjResponseSeries struct { ProdId string `json:"prodId"` ProdName string `json:"prodName"` ProdCode string `json:"prodCode"` Sku []CtgkafkaProdDetailReturnObjResponseSku `json:"sku"` }
type CtgkafkaProdDetailReturnObjResponseSku ¶
type CtgkafkaProdDetailReturnObjResponseSku struct { ProdId string `json:"prodId"` ProdName string `json:"prodName"` ProdCode string `json:"prodCode"` ResItem CtgkafkaProdDetailReturnObjResponseSkuResItem `json:"resItem"` DiskItem CtgkafkaProdDetailReturnObjResponseSkuDiskItem `json:"diskItem"` }
type CtgkafkaProdDetailReturnObjResponseSkuResItem ¶
type CtgkafkaProdDetailReturnObjResponseSkuResItem struct { ResType string `json:"resType"` ResName string `json:"resName"` ResItems []struct { CpuArch string `json:"cpuArch"` HostType string `json:"hostType"` Spec []struct { SpecName string `json:"specName"` Description string `json:"description"` Tps int32 `json:"tps"` MaxPartition int32 `json:"maxPartition"` Flow int32 `json:"flow"` Cpu int32 `json:"cpu"` Memory int32 `json:"memory"` } `json:"spec"` } `json:"resItems"` }
type CtgkafkaProduceApi ¶
type CtgkafkaProduceApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaProduceApi ¶
func NewCtgkafkaProduceApi(client *core.CtyunClient) *CtgkafkaProduceApi
func (*CtgkafkaProduceApi) Do ¶
func (a *CtgkafkaProduceApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaProduceRequest) (*CtgkafkaProduceResponse, error)
type CtgkafkaProduceRequest ¶
type CtgkafkaProduceRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ PartitionId int32 `json:"partitionId,omitempty"` /* 指定分区ID。 */ Key string `json:"key,omitempty"` /* 消息key。 */ Value string `json:"value,omitempty"` /* 消息内容。 */ NumMessages int32 `json:"numMessages,omitempty"` /* 生产消息个数,取值区间[1, 10],默认值1。 */ }
type CtgkafkaProduceResponse ¶
type CtgkafkaProduceResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaProduceReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQueryCanUpdateVersionV3Api ¶
type CtgkafkaQueryCanUpdateVersionV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQueryCanUpdateVersionV3Api ¶
func NewCtgkafkaQueryCanUpdateVersionV3Api(client *core.CtyunClient) *CtgkafkaQueryCanUpdateVersionV3Api
func (*CtgkafkaQueryCanUpdateVersionV3Api) Do ¶
func (a *CtgkafkaQueryCanUpdateVersionV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQueryCanUpdateVersionV3Request) (*CtgkafkaQueryCanUpdateVersionV3Response, error)
type CtgkafkaQueryCanUpdateVersionV3Request ¶
type CtgkafkaQueryCanUpdateVersionV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaQueryCanUpdateVersionV3Response ¶
type CtgkafkaQueryCanUpdateVersionV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQueryCanUpdateVersionV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQueryCanUpdateVersionV3ReturnObjResponse ¶
type CtgkafkaQueryCanUpdateVersionV3ReturnObjResponse struct {
Data []string `json:"data"` /* 返回可升级的版本号列表。 */
}
type CtgkafkaQueryMessageApi ¶
type CtgkafkaQueryMessageApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQueryMessageApi ¶
func NewCtgkafkaQueryMessageApi(client *core.CtyunClient) *CtgkafkaQueryMessageApi
func (*CtgkafkaQueryMessageApi) Do ¶
func (a *CtgkafkaQueryMessageApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQueryMessageRequest) (*CtgkafkaQueryMessageResponse, error)
type CtgkafkaQueryMessageByOffsetV3Api ¶
type CtgkafkaQueryMessageByOffsetV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQueryMessageByOffsetV3Api ¶
func NewCtgkafkaQueryMessageByOffsetV3Api(client *core.CtyunClient) *CtgkafkaQueryMessageByOffsetV3Api
func (*CtgkafkaQueryMessageByOffsetV3Api) Do ¶
func (a *CtgkafkaQueryMessageByOffsetV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQueryMessageByOffsetV3Request) (*CtgkafkaQueryMessageByOffsetV3Response, error)
type CtgkafkaQueryMessageByOffsetV3Request ¶
type CtgkafkaQueryMessageByOffsetV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* topic名称。 */ Offset int64 `json:"offset,omitempty"` /* offset位置,大于或等于0。 */ Partition int32 `json:"partition,omitempty"` /* 分区号,大于或等于0。 */ }
type CtgkafkaQueryMessageByOffsetV3Response ¶
type CtgkafkaQueryMessageByOffsetV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQueryMessageByOffsetV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQueryMessageByOffsetV3ReturnObjDataResponse ¶
type CtgkafkaQueryMessageByOffsetV3ReturnObjDataResponse struct { Topic string `json:"topic,omitempty"` /* 主题名称。 */ Partition int32 `json:"partition,omitempty"` /* 分区号。 */ Offset int64 `json:"offset,omitempty"` /* offset位置。 */ Timestamp int64 `json:"timestamp,omitempty"` /* 生产消息的时间戳,单位毫秒。 */ Key string `json:"key,omitempty"` /* 消息key。 */ Value string `json:"value,omitempty"` /* 消息内容。 */ Size string `json:"size,omitempty"` /* 消息大小,单位字节。 */ }
type CtgkafkaQueryMessageByOffsetV3ReturnObjResponse ¶
type CtgkafkaQueryMessageByOffsetV3ReturnObjResponse struct {
Data []*CtgkafkaQueryMessageByOffsetV3ReturnObjDataResponse `json:"data"` /* 消息数据列表。 */
}
type CtgkafkaQueryMessageByTimestampV3Api ¶
type CtgkafkaQueryMessageByTimestampV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQueryMessageByTimestampV3Api ¶
func NewCtgkafkaQueryMessageByTimestampV3Api(client *core.CtyunClient) *CtgkafkaQueryMessageByTimestampV3Api
func (*CtgkafkaQueryMessageByTimestampV3Api) Do ¶
func (a *CtgkafkaQueryMessageByTimestampV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQueryMessageByTimestampV3Request) (*CtgkafkaQueryMessageByTimestampV3Response, error)
type CtgkafkaQueryMessageByTimestampV3Request ¶
type CtgkafkaQueryMessageByTimestampV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* topic名称。 */ Timestamp string `json:"timestamp,omitempty"` /* 时间戳,单位毫秒。 */ Partition int32 `json:"partition,omitempty"` /* 分区号。 */ }
type CtgkafkaQueryMessageByTimestampV3Response ¶
type CtgkafkaQueryMessageByTimestampV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQueryMessageByTimestampV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQueryMessageByTimestampV3ReturnObjDataResponse ¶
type CtgkafkaQueryMessageByTimestampV3ReturnObjDataResponse struct { Topic string `json:"topic,omitempty"` /* 主题名称。 */ Partition int32 `json:"partition,omitempty"` /* 分区号。 */ Offset int64 `json:"offset,omitempty"` /* offset位置。 */ Timestamp int64 `json:"timestamp,omitempty"` /* 生产消息的时间戳,单位毫秒。 */ Key string `json:"key,omitempty"` /* 消息key。 */ Value string `json:"value,omitempty"` /* 消息内容。 */ Size string `json:"size,omitempty"` /* 消息大小,单位字节。 */ }
type CtgkafkaQueryMessageByTimestampV3ReturnObjResponse ¶
type CtgkafkaQueryMessageByTimestampV3ReturnObjResponse struct {
Data []*CtgkafkaQueryMessageByTimestampV3ReturnObjDataResponse `json:"data"` /* 消息数据列表。 */
}
type CtgkafkaQueryMessageRequest ¶
type CtgkafkaQueryMessageRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* topic名称。 */ PartitionId int32 `json:"partitionId,omitempty"` /* 分区号,大于或等于0。 */ StartTime int64 `json:"startTime,omitempty"` /* 时间戳,单位毫秒,endTime必须大于startTime。 */ EndTime int64 `json:"endTime,omitempty"` /* 时间戳,单位毫秒,endTime必须大于startTime。 */ Content string `json:"content,omitempty"` /* 消息包含内容 */ PageNum int32 `json:"pageNum,omitempty"` /* 分页中的页数,默认1,范围1-40000。 */ PageSize int32 `json:"pageSize,omitempty"` /* 分页中的每页大小,默认10,范围1-40000。 */ }
type CtgkafkaQueryMessageResponse ¶
type CtgkafkaQueryMessageResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQueryMessageReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQueryMessageReturnObjDataMessagesResponse ¶
type CtgkafkaQueryMessageReturnObjDataMessagesResponse struct { Topic string `json:"topic,omitempty"` /* 主题名称。 */ Partition int32 `json:"partition,omitempty"` /* 分区号。 */ Offset int64 `json:"offset,omitempty"` /* offset位置。 */ Timestamp int64 `json:"timestamp,omitempty"` /* 生产消息的时间戳,单位毫秒。 */ Key string `json:"key,omitempty"` /* 消息Key。 */ Value string `json:"value,omitempty"` /* 消息内容。 */ Size int32 `json:"size,omitempty"` /* 消息大小。 */ }
type CtgkafkaQueryMessageReturnObjDataResponse ¶
type CtgkafkaQueryMessageReturnObjDataResponse struct {
Messages []*CtgkafkaQueryMessageReturnObjDataMessagesResponse `json:"messages"` /* 消息信息。 */
}
type CtgkafkaQueryMessageReturnObjResponse ¶
type CtgkafkaQueryMessageReturnObjResponse struct {
Data *CtgkafkaQueryMessageReturnObjDataResponse `json:"data"` /* 消息分页数据对象。 */
}
type CtgkafkaQueryProducersApi ¶
type CtgkafkaQueryProducersApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQueryProducersApi ¶
func NewCtgkafkaQueryProducersApi(client *core.CtyunClient) *CtgkafkaQueryProducersApi
func (*CtgkafkaQueryProducersApi) Do ¶
func (a *CtgkafkaQueryProducersApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQueryProducersRequest) (*CtgkafkaQueryProducersResponse, error)
type CtgkafkaQueryProducersRequest ¶
type CtgkafkaQueryProducersRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ }
type CtgkafkaQueryProducersResponse ¶
type CtgkafkaQueryProducersResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQueryProducersReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQueryProducersReturnObjResponse ¶
type CtgkafkaQueryProducersReturnObjResponse struct { Topic string `json:"topic,omitempty"` /* 主题名称。 */ Address string `json:"address,omitempty"` /* 消费者客户端IP地址。 */ BrokerAddress string `json:"brokerAddress,omitempty"` /* Broker节点IP地址。 */ JoinTime int64 `json:"joinTime,omitempty"` /* 生产者加入集群的时间戳。 */ Expire *bool `json:"expire"` /* 生产者是否过期。 */ }
type CtgkafkaQuotaBrokerCreateApi ¶
type CtgkafkaQuotaBrokerCreateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaBrokerCreateApi ¶
func NewCtgkafkaQuotaBrokerCreateApi(client *core.CtyunClient) *CtgkafkaQuotaBrokerCreateApi
func (*CtgkafkaQuotaBrokerCreateApi) Do ¶
func (a *CtgkafkaQuotaBrokerCreateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaBrokerCreateRequest) (*CtgkafkaQuotaBrokerCreateResponse, error)
type CtgkafkaQuotaBrokerCreateRequest ¶
type CtgkafkaQuotaBrokerCreateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ ProducerByteRate int64 `json:"producerByteRate,omitempty"` /* 生产者流控上限,单位字节,单节点流控限制为producerByteRate/节点个数,取值范围[1*节点个数, 实例单节点最大流量*节点个数],与consumerByteRate不能同时为空。<br>对应实例规格下的单节点流量规格:<li>kafka.2u4g.cluster:100MB<li>kafka.4u8g.cluster:200MB<li>kafka.8u16g.cluster:375MB<li>kafka.12u24g.cluster:625MB<li>kafka.16u32g.cluster:750MB<li>kafka.24u48g.cluster:1125MB<li>kafka.32u64g.cluster:1500MB<li>kafka.48u96g.cluster:2250MB<li>kafka.64u128g.cluster:3000MB <li>kafka.hg.2u4g.cluster:62MB<li>kafka.hg.4u8g.cluster:188MB<li>kafka.hg.8u16g.cluster:563MB<li>kafka.hg.16u32g.cluster:1063MB<li>kafka.hg.32u64g.cluster:2000MB<li>kafka.kp.2u4g.cluster:62MB<li>kafka.kp.4u8g.cluster:188MB<li>kafka.kp.8u16g.cluster:563MB<li>kafka.kp.16u32g.cluster:1063MB<li>kafka.kp.32u64g.cluster:2000MB */ ConsumerByteRate int64 `json:"consumerByteRate,omitempty"` /* 消费者流控上限,单位字节,单节点流控限制为consumerByteRate/节点个数,取值范围[1*节点个数, 实例单节点最大流量*节点个数],与producerByteRate不能同时为空。<br>对应实例规格下的单节点流量规格:<li>kafka.2u4g.cluster:100MB<li>kafka.4u8g.cluster:200MB<li>kafka.8u16g.cluster:375MB<li>kafka.12u24g.cluster:625MB<li>kafka.16u32g.cluster:750MB<li>kafka.24u48g.cluster:1125MB<li>kafka.32u64g.cluster:1500MB<li>kafka.48u96g.cluster:2250MB<li>kafka.64u128g.cluster:3000MB <li>kafka.hg.2u4g.cluster:62MB<li>kafka.hg.4u8g.cluster:188MB<li>kafka.hg.8u16g.cluster:563MB<li>kafka.hg.16u32g.cluster:1063MB<li>kafka.hg.32u64g.cluster:2000MB<li>kafka.kp.2u4g.cluster:62MB<li>kafka.kp.4u8g.cluster:188MB<li>kafka.kp.8u16g.cluster:563MB<li>kafka.kp.16u32g.cluster:1063MB<li>kafka.kp.32u64g.cluster:2000MB */ }
type CtgkafkaQuotaBrokerDeleteApi ¶
type CtgkafkaQuotaBrokerDeleteApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaBrokerDeleteApi ¶
func NewCtgkafkaQuotaBrokerDeleteApi(client *core.CtyunClient) *CtgkafkaQuotaBrokerDeleteApi
func (*CtgkafkaQuotaBrokerDeleteApi) Do ¶
func (a *CtgkafkaQuotaBrokerDeleteApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaBrokerDeleteRequest) (*CtgkafkaQuotaBrokerDeleteResponse, error)
type CtgkafkaQuotaBrokerDeleteRequest ¶
type CtgkafkaQuotaBrokerDeleteRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ }
type CtgkafkaQuotaBrokerQueryApi ¶
type CtgkafkaQuotaBrokerQueryApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaBrokerQueryApi ¶
func NewCtgkafkaQuotaBrokerQueryApi(client *core.CtyunClient) *CtgkafkaQuotaBrokerQueryApi
func (*CtgkafkaQuotaBrokerQueryApi) Do ¶
func (a *CtgkafkaQuotaBrokerQueryApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaBrokerQueryRequest) (*CtgkafkaQuotaBrokerQueryResponse, error)
type CtgkafkaQuotaBrokerQueryRequest ¶
type CtgkafkaQuotaBrokerQueryRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaQuotaBrokerQueryResponse ¶
type CtgkafkaQuotaBrokerQueryResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQuotaBrokerQueryReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQuotaBrokerUpdateApi ¶
type CtgkafkaQuotaBrokerUpdateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaBrokerUpdateApi ¶
func NewCtgkafkaQuotaBrokerUpdateApi(client *core.CtyunClient) *CtgkafkaQuotaBrokerUpdateApi
func (*CtgkafkaQuotaBrokerUpdateApi) Do ¶
func (a *CtgkafkaQuotaBrokerUpdateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaBrokerUpdateRequest) (*CtgkafkaQuotaBrokerUpdateResponse, error)
type CtgkafkaQuotaBrokerUpdateRequest ¶
type CtgkafkaQuotaBrokerUpdateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ ProducerByteRate int64 `json:"producerByteRate,omitempty"` /* 生产者流控上限,单位字节,单节点流控限制为producerByteRate/节点个数,取值范围[1*节点个数, 实例单节点最大流量*节点个数],与consumerByteRate不能同时为空。<br>对应实例规格下的单节点流量规格:<li>kafka.2u4g.cluster:100MB<li>kafka.4u8g.cluster:200MB<li>kafka.8u16g.cluster:375MB<li>kafka.12u24g.cluster:625MB<li>kafka.16u32g.cluster:750MB<li>kafka.24u48g.cluster:1125MB<li>kafka.32u64g.cluster:1500MB<li>kafka.48u96g.cluster:2250MB<li>kafka.64u128g.cluster:3000MB <li>kafka.hg.2u4g.cluster:62MB<li>kafka.hg.4u8g.cluster:188MB<li>kafka.hg.8u16g.cluster:563MB<li>kafka.hg.16u32g.cluster:1063MB<li>kafka.hg.32u64g.cluster:2000MB<li>kafka.kp.2u4g.cluster:62MB<li>kafka.kp.4u8g.cluster:188MB<li>kafka.kp.8u16g.cluster:563MB<li>kafka.kp.16u32g.cluster:1063MB<li>kafka.kp.32u64g.cluster:2000MB */ ConsumerByteRate int64 `json:"consumerByteRate,omitempty"` /* 消费者流控上限,单位字节,单节点流控限制为consumerByteRate/节点个数,取值范围[1*节点个数, 实例单节点最大流量*节点个数],与producerByteRate不能同时为空。<br>对应实例规格下的单节点流量规格:<li>kafka.2u4g.cluster:100MB<li>kafka.4u8g.cluster:200MB<li>kafka.8u16g.cluster:375MB<li>kafka.12u24g.cluster:625MB<li>kafka.16u32g.cluster:750MB<li>kafka.24u48g.cluster:1125MB<li>kafka.32u64g.cluster:1500MB<li>kafka.48u96g.cluster:2250MB<li>kafka.64u128g.cluster:3000MB <li>kafka.hg.2u4g.cluster:62MB<li>kafka.hg.4u8g.cluster:188MB<li>kafka.hg.8u16g.cluster:563MB<li>kafka.hg.16u32g.cluster:1063MB<li>kafka.hg.32u64g.cluster:2000MB<li>kafka.kp.2u4g.cluster:62MB<li>kafka.kp.4u8g.cluster:188MB<li>kafka.kp.8u16g.cluster:563MB<li>kafka.kp.16u32g.cluster:1063MB<li>kafka.kp.32u64g.cluster:2000MB */ }
type CtgkafkaQuotaClientCreateApi ¶
type CtgkafkaQuotaClientCreateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaClientCreateApi ¶
func NewCtgkafkaQuotaClientCreateApi(client *core.CtyunClient) *CtgkafkaQuotaClientCreateApi
func (*CtgkafkaQuotaClientCreateApi) Do ¶
func (a *CtgkafkaQuotaClientCreateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaClientCreateRequest) (*CtgkafkaQuotaClientCreateResponse, error)
type CtgkafkaQuotaClientCreateRequest ¶
type CtgkafkaQuotaClientCreateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ User string `json:"user,omitempty"` /* 用户名,defaultUser=false时有效,只能由字母,数字,中划线,下划线组成,长度为3~64个字符。 */ Client string `json:"client,omitempty"` /* 客户端ID,defaultClient=false时有效,只能由英文字母开头,且只能由英文字母、数字、中划线、下划线组成,长度4~64个字符。 */ DefaultUser *bool `json:"defaultUser"` /* 是否使用默认用户,true表示对所有用户限流,默认false。 */ DefaultClient *bool `json:"defaultClient"` /* 是否使用默认客户端,true表示对所有客户端限流,默认false。 */ ProducerByteRate int64 `json:"producerByteRate,omitempty"` /* 生产者流控上限,单位字节,取值范围[1048576, 1073741824],即1MB至1GB,与consumerByteRate至少一个不为空。 */ ConsumerByteRate int64 `json:"consumerByteRate,omitempty"` /* 消费者流控上限,单位字节,取值范围[1048576, 1073741824],即1MB至1GB,与producerByteRate至少一个不为空。 */ }
type CtgkafkaQuotaClientDeleteApi ¶
type CtgkafkaQuotaClientDeleteApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaClientDeleteApi ¶
func NewCtgkafkaQuotaClientDeleteApi(client *core.CtyunClient) *CtgkafkaQuotaClientDeleteApi
func (*CtgkafkaQuotaClientDeleteApi) Do ¶
func (a *CtgkafkaQuotaClientDeleteApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaClientDeleteRequest) (*CtgkafkaQuotaClientDeleteResponse, error)
type CtgkafkaQuotaClientDeleteRequest ¶
type CtgkafkaQuotaClientDeleteRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ User string `json:"user,omitempty"` /* 用户名。 */ Client string `json:"client,omitempty"` /* 客户端ID。 */ DefaultUser *bool `json:"defaultUser"` /* 是否是默认用户,true表示对所有用户限流,默认false。 */ DefaultClient *bool `json:"defaultClient"` /* 是否是默认客户端,true表示对所有客户端限流,默认false。 */ }
type CtgkafkaQuotaClientListApi ¶
type CtgkafkaQuotaClientListApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaClientListApi ¶
func NewCtgkafkaQuotaClientListApi(client *core.CtyunClient) *CtgkafkaQuotaClientListApi
func (*CtgkafkaQuotaClientListApi) Do ¶
func (a *CtgkafkaQuotaClientListApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaClientListRequest) (*CtgkafkaQuotaClientListResponse, error)
type CtgkafkaQuotaClientListRequest ¶
type CtgkafkaQuotaClientListRequest struct {
ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */
}
type CtgkafkaQuotaClientListResponse ¶
type CtgkafkaQuotaClientListResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQuotaClientListReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQuotaClientListReturnObjResponse ¶
type CtgkafkaQuotaClientListReturnObjResponse struct { User string `json:"user,omitempty"` /* 用户名,defaultUser=false时有值 */ ClientId string `json:"clientId,omitempty"` /* 客户端ID,defaultClient=false时有值。 */ DefaultUser *bool `json:"defaultUser"` /* 是否是默认用户,true表示对所有用户限流。 */ DefaultClient *bool `json:"defaultClient"` /* 是否是默认客户端,true表示对所有客户端限流。 */ ProducerByteRate int64 `json:"producerByteRate,omitempty"` /* 生产者流控上限,单位字节。 */ ConsumerByteRate int64 `json:"consumerByteRate,omitempty"` /* 消费者流控上限,单位字节。 */ }
type CtgkafkaQuotaClientUpdateApi ¶
type CtgkafkaQuotaClientUpdateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaClientUpdateApi ¶
func NewCtgkafkaQuotaClientUpdateApi(client *core.CtyunClient) *CtgkafkaQuotaClientUpdateApi
func (*CtgkafkaQuotaClientUpdateApi) Do ¶
func (a *CtgkafkaQuotaClientUpdateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaClientUpdateRequest) (*CtgkafkaQuotaClientUpdateResponse, error)
type CtgkafkaQuotaClientUpdateRequest ¶
type CtgkafkaQuotaClientUpdateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ User string `json:"user,omitempty"` /* 用户名,defaultUser=false时有效,只能由字母,数字,中划线,下划线组成,长度为3~64个字符。 */ Client string `json:"client,omitempty"` /* 客户端ID,defaultClient=false时有效,只能由英文字母开头,且只能由英文字母、数字、中划线、下划线组成,长度4~64个字符。 */ DefaultUser *bool `json:"defaultUser"` /* 是否使用默认用户,true表示对所有用户限流,默认false。 */ DefaultClient *bool `json:"defaultClient"` /* 是否使用默认客户端,true表示对所有客户端限流,默认false。 */ ProducerByteRate int32 `json:"producerByteRate,omitempty"` /* 生产者流控上限,单位字节,取值范围[1048576, 1073741824],与consumerByteRate至少一个不为空。 */ ConsumerByteRate int32 `json:"consumerByteRate,omitempty"` /* 消费者流控上限,单位字节,取值范围[1048576, 1073741824],与producerByteRate至少一个不为空。 */ }
type CtgkafkaQuotaTopicCreateApi ¶
type CtgkafkaQuotaTopicCreateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaTopicCreateApi ¶
func NewCtgkafkaQuotaTopicCreateApi(client *core.CtyunClient) *CtgkafkaQuotaTopicCreateApi
func (*CtgkafkaQuotaTopicCreateApi) Do ¶
func (a *CtgkafkaQuotaTopicCreateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaTopicCreateRequest) (*CtgkafkaQuotaTopicCreateResponse, error)
type CtgkafkaQuotaTopicCreateRequest ¶
type CtgkafkaQuotaTopicCreateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ Topic string `json:"topic,omitempty"` /* 主题名称。 */ ProducerByteRate int64 `json:"producerByteRate,omitempty"` /* 生产者流控上限,单位字节,取值范围[1048576, 1073741824],即1MB至1GB,与consumerByteRate至少一个不为空。 */ ConsumerByteRate int64 `json:"consumerByteRate,omitempty"` /* 消费者流控上限,单位字节,取值范围[1048576, 1073741824],即1MB至1GB,与producerByteRate至少一个不为空。 */ }
type CtgkafkaQuotaTopicDeleteApi ¶
type CtgkafkaQuotaTopicDeleteApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaTopicDeleteApi ¶
func NewCtgkafkaQuotaTopicDeleteApi(client *core.CtyunClient) *CtgkafkaQuotaTopicDeleteApi
func (*CtgkafkaQuotaTopicDeleteApi) Do ¶
func (a *CtgkafkaQuotaTopicDeleteApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaTopicDeleteRequest) (*CtgkafkaQuotaTopicDeleteResponse, error)
type CtgkafkaQuotaTopicDeleteRequest ¶
type CtgkafkaQuotaTopicDeleteRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ Topic string `json:"topic,omitempty"` /* 主题名称。 */ }
type CtgkafkaQuotaTopicListApi ¶
type CtgkafkaQuotaTopicListApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaTopicListApi ¶
func NewCtgkafkaQuotaTopicListApi(client *core.CtyunClient) *CtgkafkaQuotaTopicListApi
func (*CtgkafkaQuotaTopicListApi) Do ¶
func (a *CtgkafkaQuotaTopicListApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaTopicListRequest) (*CtgkafkaQuotaTopicListResponse, error)
type CtgkafkaQuotaTopicListRequest ¶
type CtgkafkaQuotaTopicListRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaQuotaTopicListResponse ¶
type CtgkafkaQuotaTopicListResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaQuotaTopicListReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaQuotaTopicUpdateApi ¶
type CtgkafkaQuotaTopicUpdateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaQuotaTopicUpdateApi ¶
func NewCtgkafkaQuotaTopicUpdateApi(client *core.CtyunClient) *CtgkafkaQuotaTopicUpdateApi
func (*CtgkafkaQuotaTopicUpdateApi) Do ¶
func (a *CtgkafkaQuotaTopicUpdateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaQuotaTopicUpdateRequest) (*CtgkafkaQuotaTopicUpdateResponse, error)
type CtgkafkaQuotaTopicUpdateRequest ¶
type CtgkafkaQuotaTopicUpdateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例需是Kafka引擎类型且非单机版。 */ Topic string `json:"topic,omitempty"` /* 主题名称。 */ ProducerByteRate int32 `json:"producerByteRate,omitempty"` /* 生产者流控上限,单位字节,取值范围[1048576, 1073741824],与consumerByteRate至少一个不为空。 */ ConsumerByteRate int32 `json:"consumerByteRate,omitempty"` /* 消费者流控上限,单位字节,取值范围[1048576, 1073741824],与producerByteRate至少一个不为空。 */ }
type CtgkafkaReassignmentsApi ¶
type CtgkafkaReassignmentsApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaReassignmentsApi ¶
func NewCtgkafkaReassignmentsApi(client *core.CtyunClient) *CtgkafkaReassignmentsApi
func (*CtgkafkaReassignmentsApi) Do ¶
func (a *CtgkafkaReassignmentsApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaReassignmentsRequest) (*CtgkafkaReassignmentsResponse, error)
type CtgkafkaReassignmentsPartitionBrokersRequest ¶
type CtgkafkaReassignmentsPartitionBrokersRequest struct{}
type CtgkafkaReassignmentsRequest ¶
type CtgkafkaReassignmentsRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID,实例节点数需要大于1个。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称<br> 您可以<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7396&data=83&isNormal=1&vid=330">查询主题</a> 获取对应实例下的主题名称列表。 */ Throttle int32 `json:"throttle,omitempty"` /* 限流配置,取值-1或范围[2048, 314572800],-1表示无限制,默认值-1。 */ RawType int32 `json:"type,omitempty"` /* 重平衡类型,默认0。<br><li>0:自动<br><li>1:手动 */ Brokers []int32 `json:"brokers"` /* Broker ID列表,type=0时需传入,元素个数取值范围[副本数, 分区数*副本数] <br>您可以<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7382&data=83&isNormal=1&vid=330">查询实例列表</a> 对应实例下nodeList属性下的serverSeq获取到brokerId。 */ PartitionBrokers *CtgkafkaReassignmentsPartitionBrokersRequest `json:"partitionBrokers"` /* 手动重平衡分区ID与Broker ID列表的对应信息,Map的key表示分区ID,value为一个整型素组,表示将对应分区消息重分配到对应broker下,type=1时需传入。 */ ScheduleDate string `json:"scheduleDate,omitempty"` /* 任务调度开始执行时间,格式yyyy-MM-dd HH:mm:ss。不传值或空值表示立即执行。 */ }
type CtgkafkaReassignmentsResponse ¶
type CtgkafkaReassignmentsResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaReassignmentsReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaReassignmentsReturnObjResponse ¶
type CtgkafkaReassignmentsReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaResourceTagAddtagV3Api ¶
type CtgkafkaResourceTagAddtagV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaResourceTagAddtagV3Api ¶
func NewCtgkafkaResourceTagAddtagV3Api(client *core.CtyunClient) *CtgkafkaResourceTagAddtagV3Api
func (*CtgkafkaResourceTagAddtagV3Api) Do ¶
func (a *CtgkafkaResourceTagAddtagV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaResourceTagAddtagV3Request) (*CtgkafkaResourceTagAddtagV3Response, error)
type CtgkafkaSaslUserCreateV3Api ¶
type CtgkafkaSaslUserCreateV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaSaslUserCreateV3Api ¶
func NewCtgkafkaSaslUserCreateV3Api(client *core.CtyunClient) *CtgkafkaSaslUserCreateV3Api
func (*CtgkafkaSaslUserCreateV3Api) Do ¶
func (a *CtgkafkaSaslUserCreateV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaSaslUserCreateV3Request) (*CtgkafkaSaslUserCreateV3Response, error)
type CtgkafkaSaslUserCreateV3Request ¶
type CtgkafkaSaslUserCreateV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Username string `json:"username,omitempty"` /* 用户名称,规则如下:<br><li>以英文字母、数字、下划线开头,且只能由英文字母、数字、句点、中划线、下划线组成。<br><li>长度3-64。<br><li>名称不可重复。 */ Password string `json:"password,omitempty"` /* 密码,规则如下:<br><li>长度8-26字符。<br><li>必须同时包含大写字母、小写字母、数字和英文格式特殊符号(@%^*_+!$-=.)中的至少三种类型。<br><li>不能有空格。 */ Description string `json:"description,omitempty"` /* 用户描述,规则如下:<br><li>不能以+,-,@,= 特殊字符开头。 <br><li>长度不能大于200。 */ }
type CtgkafkaSaslUserCreateV3Response ¶
type CtgkafkaSaslUserCreateV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaSaslUserCreateV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaSaslUserCreateV3ReturnObjResponse ¶
type CtgkafkaSaslUserCreateV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回创建描述。 */
}
type CtgkafkaSaslUserDeleteV3Api ¶
type CtgkafkaSaslUserDeleteV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaSaslUserDeleteV3Api ¶
func NewCtgkafkaSaslUserDeleteV3Api(client *core.CtyunClient) *CtgkafkaSaslUserDeleteV3Api
func (*CtgkafkaSaslUserDeleteV3Api) Do ¶
func (a *CtgkafkaSaslUserDeleteV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaSaslUserDeleteV3Request) (*CtgkafkaSaslUserDeleteV3Response, error)
type CtgkafkaSaslUserDeleteV3Request ¶
type CtgkafkaSaslUserDeleteV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ Username string `json:"username,omitempty"` /* 用户名称。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaSaslUserDeleteV3Response ¶
type CtgkafkaSaslUserDeleteV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaSaslUserDeleteV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaSaslUserDeleteV3ReturnObjResponse ¶
type CtgkafkaSaslUserDeleteV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 响应描述。 */
}
type CtgkafkaSaslUserQueryV3Api ¶
type CtgkafkaSaslUserQueryV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaSaslUserQueryV3Api ¶
func NewCtgkafkaSaslUserQueryV3Api(client *core.CtyunClient) *CtgkafkaSaslUserQueryV3Api
func (*CtgkafkaSaslUserQueryV3Api) Do ¶
func (a *CtgkafkaSaslUserQueryV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaSaslUserQueryV3Request) (*CtgkafkaSaslUserQueryV3Response, error)
type CtgkafkaSaslUserQueryV3Request ¶
type CtgkafkaSaslUserQueryV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Username string `json:"username,omitempty"` /* 用户名称,模糊查询。 */ PageNum string `json:"pageNum,omitempty"` /* 分页中的页数,默认1,范围1-40000。 */ PageSize string `json:"pageSize,omitempty"` /* 分页中的每页大小,默认10,范围1-40000。 */ }
type CtgkafkaSaslUserQueryV3Response ¶
type CtgkafkaSaslUserQueryV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息。 */ ReturnObj *CtgkafkaSaslUserQueryV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaSaslUserQueryV3ReturnObjResponse ¶
type CtgkafkaSaslUserQueryV3ReturnObjResponse struct { Data []*CtgkafkaSaslUserQueryV3ReturnObjDataResponse `json:"data"` /* 用户列表记录。 */ Total int32 `json:"total,omitempty"` /* 总记录数。 */ }
type CtgkafkaSelectedTopicsV3Api ¶
type CtgkafkaSelectedTopicsV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaSelectedTopicsV3Api ¶
func NewCtgkafkaSelectedTopicsV3Api(client *core.CtyunClient) *CtgkafkaSelectedTopicsV3Api
func (*CtgkafkaSelectedTopicsV3Api) Do ¶
func (a *CtgkafkaSelectedTopicsV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaSelectedTopicsV3Request) (*CtgkafkaSelectedTopicsV3Response, error)
type CtgkafkaSelectedTopicsV3Request ¶
type CtgkafkaSelectedTopicsV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ GroupName string `json:"groupName,omitempty"` /* 消费组名称。 */ }
type CtgkafkaSelectedTopicsV3Response ¶
type CtgkafkaSelectedTopicsV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaSelectedTopicsV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaSelectedTopicsV3ReturnObjResponse ¶
type CtgkafkaSelectedTopicsV3ReturnObjResponse struct {
Data []string `json:"data"` /* 消费组订阅的主题列表。 */
}
type CtgkafkaSetAcrossVpcInfoApi ¶
type CtgkafkaSetAcrossVpcInfoApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaSetAcrossVpcInfoApi ¶
func NewCtgkafkaSetAcrossVpcInfoApi(client *core.CtyunClient) *CtgkafkaSetAcrossVpcInfoApi
func (*CtgkafkaSetAcrossVpcInfoApi) Do ¶
func (a *CtgkafkaSetAcrossVpcInfoApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaSetAcrossVpcInfoRequest) (*CtgkafkaSetAcrossVpcInfoResponse, error)
type CtgkafkaSetAcrossVpcInfoRequest ¶
type CtgkafkaSetAcrossVpcInfoRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ VpcInfoList []*CtgkafkaSetAcrossVpcInfoVpcInfoListRequest `json:"vpcInfoList"` /* 跨VPC配置参数。 */ }
type CtgkafkaSetAcrossVpcInfoResponse ¶
type CtgkafkaSetAcrossVpcInfoResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaSetAcrossVpcInfoReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaSetAcrossVpcInfoReturnObjDataResponse ¶
type CtgkafkaSetAcrossVpcInfoReturnObjDataResponse struct{}
type CtgkafkaSetAcrossVpcInfoReturnObjResponse ¶
type CtgkafkaSetAcrossVpcInfoReturnObjResponse struct {
Data *CtgkafkaSetAcrossVpcInfoReturnObjDataResponse `json:"data"` /* 返回提示信息 */
}
type CtgkafkaSpecExtendApi ¶
type CtgkafkaSpecExtendApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaSpecExtendApi ¶
func NewCtgkafkaSpecExtendApi(client *core.CtyunClient) *CtgkafkaSpecExtendApi
func (*CtgkafkaSpecExtendApi) Do ¶
func (a *CtgkafkaSpecExtendApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaSpecExtendRequest) (*CtgkafkaSpecExtendResponse, error)
type CtgkafkaSpecExtendRequest ¶
type CtgkafkaSpecExtendRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ SpecName string `json:"specName,omitempty"` /* 实例的规格类型。<br>计算增强型的规格可选为:<li>kafka.2u4g.cluster<li>kafka.4u8g.cluster<li>kafka.8u16g.cluster<li>kafka.12u24g.cluster<li>kafka.16u32g.cluster<li>kafka.24u48g.cluster<li>kafka.32u64g.cluster<li>kafka.48u96g.cluster<li>kafka.64u128g.cluster <br>海光-计算增强型的规格可选为:<li>kafka.hg.2u4g.cluster<li>kafka.hg.4u8g.cluster<li>kafka.hg.8u16g.cluster<li>kafka.hg.16u32g.cluster<li>kafka.hg.32u64g.cluster <br>鲲鹏-计算增强型的规格可选为:<li>kafka.kp.2u4g.cluster<li>kafka.kp.4u8g.cluster<li>kafka.kp.8u16g.cluster<li>kafka.kp.16u32g.cluster<li>kafka.kp.32u64g.cluster */ AutoPay *bool `json:"autoPay"` /* 是否自动支付,当实例为按需计费模式不生效。true:自动付费,默认值。false:手动付费。 */ }
type CtgkafkaSpecExtendResponse ¶
type CtgkafkaSpecExtendResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaSpecExtendReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaSpecExtendReturnObjResponse ¶
type CtgkafkaSpecExtendReturnObjResponse struct { }
type CtgkafkaSpecShrinkApi ¶
type CtgkafkaSpecShrinkApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaSpecShrinkApi ¶
func NewCtgkafkaSpecShrinkApi(client *core.CtyunClient) *CtgkafkaSpecShrinkApi
func (*CtgkafkaSpecShrinkApi) Do ¶
func (a *CtgkafkaSpecShrinkApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaSpecShrinkRequest) (*CtgkafkaSpecShrinkResponse, error)
type CtgkafkaSpecShrinkRequest ¶
type CtgkafkaSpecShrinkRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ SpecName string `json:"specName,omitempty"` /* 实例的规格类型。<br>计算增强型的规格可选为:<li>kafka.2u4g.cluster<li>kafka.4u8g.cluster<li>kafka.8u16g.cluster<li>kafka.12u24g.cluster<li>kafka.16u32g.cluster<li>kafka.24u48g.cluster<li>kafka.32u64g.cluster<li>kafka.48u96g.cluster<li>kafka.64u128g.cluster <br>海光-计算增强型的规格可选为:<li>kafka.hg.2u4g.cluster<li>kafka.hg.4u8g.cluster<li>kafka.hg.8u16g.cluster<li>kafka.hg.16u32g.cluster<li>kafka.hg.32u64g.cluster <br>鲲鹏-计算增强型的规格可选为:<li>kafka.kp.2u4g.cluster<li>kafka.kp.4u8g.cluster<li>kafka.kp.8u16g.cluster<li>kafka.kp.16u32g.cluster<li>kafka.kp.32u64g.cluster */ }
type CtgkafkaSpecShrinkResponse ¶
type CtgkafkaSpecShrinkResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaSpecShrinkReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaSpecShrinkReturnObjResponse ¶
type CtgkafkaSpecShrinkReturnObjResponse struct { }
type CtgkafkaTagResourceV3Api ¶
type CtgkafkaTagResourceV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTagResourceV3Api ¶
func NewCtgkafkaTagResourceV3Api(client *core.CtyunClient) *CtgkafkaTagResourceV3Api
func (*CtgkafkaTagResourceV3Api) Do ¶
func (a *CtgkafkaTagResourceV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTagResourceV3Request) (*CtgkafkaTagResourceV3Response, error)
type CtgkafkaTagResourceV3Request ¶
type CtgkafkaTagResourceV3Request struct { RegionId string `json:"regionId,omitempty"` /* 资源池编码 */ TagId string `json:"tagId,omitempty"` /* 标签ID */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ RawType string `json:"type,omitempty"` /* 资源类型,可选值有INSTANCE,GROUP,TOPIC */ ResourceIdList []string `json:"resourceIdList"` /* 资源id。资源类型是INSTANCE,则资源id是实例id;资源类型是GROUP或TOPIC,则资源id是group名称或topic名称 */ }
type CtgkafkaTopicBatchDeleteApi ¶
type CtgkafkaTopicBatchDeleteApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTopicBatchDeleteApi ¶
func NewCtgkafkaTopicBatchDeleteApi(client *core.CtyunClient) *CtgkafkaTopicBatchDeleteApi
func (*CtgkafkaTopicBatchDeleteApi) Do ¶
func (a *CtgkafkaTopicBatchDeleteApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTopicBatchDeleteRequest) (*CtgkafkaTopicBatchDeleteResponse, error)
type CtgkafkaTopicBatchDeleteRequest ¶
type CtgkafkaTopicBatchDeleteRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicNames []string `json:"topicNames"` /* 主题名称列表。 */ }
type CtgkafkaTopicBatchDeleteResponse ¶
type CtgkafkaTopicBatchDeleteResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTopicBatchDeleteReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTopicBatchDeleteReturnObjResponse ¶
type CtgkafkaTopicBatchDeleteReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaTopicCreateV3Api ¶
type CtgkafkaTopicCreateV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTopicCreateV3Api ¶
func NewCtgkafkaTopicCreateV3Api(client *core.CtyunClient) *CtgkafkaTopicCreateV3Api
func (*CtgkafkaTopicCreateV3Api) Do ¶
func (a *CtgkafkaTopicCreateV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTopicCreateV3Request) (*CtgkafkaTopicCreateV3Response, error)
type CtgkafkaTopicCreateV3Request ¶
type CtgkafkaTopicCreateV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称,英文字母、数字、下划线开头,且只能由英文字母、数字、中划线、下划线组成,长度为3-64个字符。 */ PartitionNum int32 `json:"partitionNum,omitempty"` /* 分区数,取值范围[1, min(100, 实例剩余分区数量)],实例剩余分区数量=实例分区上限-所有主题分区数之和。<br>您可以<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7382&data=83&isNormal=1&vid=330">查询实例</a>获取对应实例下partitionNum获取分区数上限。 */ FactorNum int32 `json:"factorNum,omitempty"` /* 副本数,取值范围[1, 3],单机版默认值1,集群版默认值3。 */ PartitionCapacity int32 `json:"partitionCapacity,omitempty"` /* 分区容量限制,单位GB,取值-1或范围[1, 100]。-1表示无限制,默认值-1。 */ RetentionTime int32 `json:"retentionTime,omitempty"` /* 消息保留时长,单位毫秒,取值-1或范围[3600000, 315360000000],单位毫秒,-1表示永久保留。 默认值259200000。 */ MinReplicas int32 `json:"minReplicas,omitempty"` /* 最小同步副本数,需小于等于factorNum,单机版默认值1,集群版默认值min(2, factorNum)。 */ MaxMessage int32 `json:"maxMessage,omitempty"` /* 最大消息大小,单位字节,取值范围[1, 10485760], 默认值1048588。 */ NeedFlush *bool `json:"needFlush"` /* 是否同步刷盘。<br><li>true:是<br><li>false:否<br><li>默认值false */ TimestampType string `json:"timestampType,omitempty"` /* 消息时间戳类型。<br><li>CreateTime<br><li>LogAppendTime<br><li>默认值CreateTime */ Description string `json:"description,omitempty"` /* 主题描述,规则如下:<br><li>不能以+,-,@,= 特殊字符开头。 <br><li>长度不能大于200。 */ }
type CtgkafkaTopicCreateV3Response ¶
type CtgkafkaTopicCreateV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTopicCreateV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTopicCreateV3ReturnObjResponse ¶
type CtgkafkaTopicCreateV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaTopicDeleteV3Api ¶
type CtgkafkaTopicDeleteV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTopicDeleteV3Api ¶
func NewCtgkafkaTopicDeleteV3Api(client *core.CtyunClient) *CtgkafkaTopicDeleteV3Api
func (*CtgkafkaTopicDeleteV3Api) Do ¶
func (a *CtgkafkaTopicDeleteV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTopicDeleteV3Request) (*CtgkafkaTopicDeleteV3Response, error)
type CtgkafkaTopicDeleteV3Request ¶
type CtgkafkaTopicDeleteV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ }
type CtgkafkaTopicDeleteV3Response ¶
type CtgkafkaTopicDeleteV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTopicDeleteV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTopicDeleteV3ReturnObjResponse ¶
type CtgkafkaTopicDeleteV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaTopicDiskusageApi ¶
type CtgkafkaTopicDiskusageApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTopicDiskusageApi ¶
func NewCtgkafkaTopicDiskusageApi(client *core.CtyunClient) *CtgkafkaTopicDiskusageApi
func (*CtgkafkaTopicDiskusageApi) Do ¶
func (a *CtgkafkaTopicDiskusageApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTopicDiskusageRequest) (*CtgkafkaTopicDiskusageResponse, error)
type CtgkafkaTopicDiskusageRequest ¶
type CtgkafkaTopicDiskusageRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ MinSize int32 `json:"minSize,omitempty"` /* 查询每个Broker节点磁盘占用量超过minSize的分区,单位GB,最小值1。 */ Percentage int32 `json:"percentage,omitempty"` /* 查询每个Broker节点磁盘占用量占比超过实例最大磁盘上限百分之percentage的分区,取值范围[1, 100],minSize为空时有效。 */ Top int32 `json:"top,omitempty"` /* 查询每个Broker节点磁盘占用量最多的前多少个分区,最小值1,默认值10。minSize和percent为空时有效。 */ }
type CtgkafkaTopicDiskusageResponse ¶
type CtgkafkaTopicDiskusageResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTopicDiskusageReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTopicDiskusageReturnObjDataResponse ¶
type CtgkafkaTopicDiskusageReturnObjDataResponse struct { Total int64 `json:"total,omitempty"` /* 磁盘总大小,单位GB。 */ Used int64 `json:"used,omitempty"` /* 磁盘已使用大小,单位GB。 */ Free int64 `json:"free,omitempty"` /* 磁盘剩余大小,单位GB。 */ Rate float64 `json:"rate"` /* 磁盘已使用比例。 */ BrokerName string `json:"brokerName,omitempty"` /* Broker节点名。 */ TopicList []*CtgkafkaTopicDiskusageReturnObjDataTopicListResponse `json:"topicList"` /* 主题分区占用磁盘量信息。 */ }
type CtgkafkaTopicDiskusageReturnObjDataTopicListResponse ¶
type CtgkafkaTopicDiskusageReturnObjDataTopicListResponse struct { Topic string `json:"topic,omitempty"` /* 主题名称。 */ PartitionId int32 `json:"partitionId,omitempty"` /* 主题分区ID。 */ Size int64 `json:"size,omitempty"` /* 主题分区占用磁盘大小,单位字节。 */ BrokerName string `json:"brokerName,omitempty"` /* Broker节点名称。 */ DiskUsedRate float64 `json:"diskUsedRate"` /* 主题分区占用磁盘比例。 */ }
type CtgkafkaTopicDiskusageReturnObjResponse ¶
type CtgkafkaTopicDiskusageReturnObjResponse struct {
Data []*CtgkafkaTopicDiskusageReturnObjDataResponse `json:"data"` /* 每个Broker节点主题分区磁盘使用量信息。 */
}
type CtgkafkaTopicModifyremarkV3Api ¶
type CtgkafkaTopicModifyremarkV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTopicModifyremarkV3Api ¶
func NewCtgkafkaTopicModifyremarkV3Api(client *core.CtyunClient) *CtgkafkaTopicModifyremarkV3Api
func (*CtgkafkaTopicModifyremarkV3Api) Do ¶
func (a *CtgkafkaTopicModifyremarkV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTopicModifyremarkV3Request) (*CtgkafkaTopicModifyremarkV3Response, error)
type CtgkafkaTopicModifyremarkV3Request ¶
type CtgkafkaTopicModifyremarkV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。<br>您可以<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7396&data=83&isNormal=1&vid=330">查询主题</a>获取对应实例下的主题名称列表。 */ Remark string `json:"remark,omitempty"` /* 备注,长度1到256个字符。 */ }
type CtgkafkaTopicModifyremarkV3Response ¶
type CtgkafkaTopicModifyremarkV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTopicModifyremarkV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTopicModifyremarkV3ReturnObjResponse ¶
type CtgkafkaTopicModifyremarkV3ReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaTopicQueryV3Api ¶
type CtgkafkaTopicQueryV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTopicQueryV3Api ¶
func NewCtgkafkaTopicQueryV3Api(client *core.CtyunClient) *CtgkafkaTopicQueryV3Api
func (*CtgkafkaTopicQueryV3Api) Do ¶
func (a *CtgkafkaTopicQueryV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTopicQueryV3Request) (*CtgkafkaTopicQueryV3Response, error)
type CtgkafkaTopicQueryV3Request ¶
type CtgkafkaTopicQueryV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称,模糊查询。 */ PageNum int32 `json:"pageNum,omitempty"` /* 分页中的页数,默认1,范围1-40000。 */ PageSize int32 `json:"pageSize,omitempty"` /* 分页中的每页大小,默认10,范围1-40000。 */ }
type CtgkafkaTopicQueryV3Response ¶
type CtgkafkaTopicQueryV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTopicQueryV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTopicQueryV3ReturnObjDataConfigsResponse ¶
type CtgkafkaTopicQueryV3ReturnObjDataConfigsResponse struct{}
type CtgkafkaTopicQueryV3ReturnObjDataResponse ¶
type CtgkafkaTopicQueryV3ReturnObjDataResponse struct { ProdInstId string `json:"prodInstId,omitempty"` /* 集群ID。 */ Name string `json:"name,omitempty"` /* 主题名。 */ PartitionNum int32 `json:"partitionNum,omitempty"` /* 主题分区数量。 */ Factor int32 `json:"factor,omitempty"` /* 主题副本数。 */ Configs *CtgkafkaTopicQueryV3ReturnObjDataConfigsResponse `json:"configs"` /* 主题配置信息,Map的key为配置名称,value为配置值。 */ }
type CtgkafkaTopicQueryV3ReturnObjResponse ¶
type CtgkafkaTopicQueryV3ReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 总记录数。 */ MaxPartitions int32 `json:"maxPartitions,omitempty"` /* 分区数量上限。 */ RemainPartitions int32 `json:"remainPartitions,omitempty"` /* 剩余分区数量。 */ TopicMaxPartitions int32 `json:"topicMaxPartitions,omitempty"` /* 主题最大分区数量。 */ Data []*CtgkafkaTopicQueryV3ReturnObjDataResponse `json:"data"` /* 主题信息。 */ }
type CtgkafkaTopicStatusV3Api ¶
type CtgkafkaTopicStatusV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTopicStatusV3Api ¶
func NewCtgkafkaTopicStatusV3Api(client *core.CtyunClient) *CtgkafkaTopicStatusV3Api
func (*CtgkafkaTopicStatusV3Api) Do ¶
func (a *CtgkafkaTopicStatusV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTopicStatusV3Request) (*CtgkafkaTopicStatusV3Response, error)
type CtgkafkaTopicStatusV3Request ¶
type CtgkafkaTopicStatusV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ }
type CtgkafkaTopicStatusV3Response ¶
type CtgkafkaTopicStatusV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTopicStatusV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTopicStatusV3ReturnObjResponse ¶
type CtgkafkaTopicStatusV3ReturnObjResponse struct { Total int32 `json:"total,omitempty"` /* 消息总数。 */ Data []*CtgkafkaTopicStatusV3ReturnObjDataResponse `json:"data"` /* 主题分区状态信息。 */ }
type CtgkafkaTransChargeTypeV3Api ¶
type CtgkafkaTransChargeTypeV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaTransChargeTypeV3Api ¶
func NewCtgkafkaTransChargeTypeV3Api(client *core.CtyunClient) *CtgkafkaTransChargeTypeV3Api
func (*CtgkafkaTransChargeTypeV3Api) Do ¶
func (a *CtgkafkaTransChargeTypeV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaTransChargeTypeV3Request) (*CtgkafkaTransChargeTypeV3Response, error)
type CtgkafkaTransChargeTypeV3Request ¶
type CtgkafkaTransChargeTypeV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ CycleCnt int32 `json:"cycleCnt,omitempty"` /* 付费周期,单位为月,取值:1~6,12,24,36。 */ AutoPay *bool `json:"autoPay"` /* 是否自动支付。true:自动付费,默认值。false:手动付费。 */ }
type CtgkafkaTransChargeTypeV3Response ¶
type CtgkafkaTransChargeTypeV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaTransChargeTypeV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaTransChargeTypeV3ReturnObjDataResponse ¶
type CtgkafkaTransChargeTypeV3ReturnObjDataResponse struct{}
type CtgkafkaTransChargeTypeV3ReturnObjResponse ¶
type CtgkafkaTransChargeTypeV3ReturnObjResponse struct {
Data *CtgkafkaTransChargeTypeV3ReturnObjDataResponse `json:"data"` /* 返回数据。 */
}
type CtgkafkaUnTagResourceV3Api ¶
type CtgkafkaUnTagResourceV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaUnTagResourceV3Api ¶
func NewCtgkafkaUnTagResourceV3Api(client *core.CtyunClient) *CtgkafkaUnTagResourceV3Api
func (*CtgkafkaUnTagResourceV3Api) Do ¶
func (a *CtgkafkaUnTagResourceV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaUnTagResourceV3Request) (*CtgkafkaUnTagResourceV3Response, error)
type CtgkafkaUnTagResourceV3Request ¶
type CtgkafkaUnTagResourceV3Request struct { RegionId string `json:"regionId,omitempty"` /* 资源池编码 */ TagId string `json:"tagId,omitempty"` /* 标签ID */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */ RawType string `json:"type,omitempty"` /* 资源类型,可选值有INSTANCE,GROUP,TOPIC */ ResourceIdList []string `json:"resourceIdList"` /* 资源id。资源类型是INSTANCE,则资源id是实例id;资源类型是GROUP或TOPIC,则资源id是group名称或topic名称 */ }
type CtgkafkaUnbindElasticIpApi ¶
type CtgkafkaUnbindElasticIpApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaUnbindElasticIpApi ¶
func NewCtgkafkaUnbindElasticIpApi(client *core.CtyunClient) *CtgkafkaUnbindElasticIpApi
func (*CtgkafkaUnbindElasticIpApi) Do ¶
func (a *CtgkafkaUnbindElasticIpApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaUnbindElasticIpRequest) (*CtgkafkaUnbindElasticIpResponse, error)
type CtgkafkaUnbindElasticIpRequest ¶
type CtgkafkaUnbindElasticIpRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ PaasInstanceId string `json:"paasInstanceId,omitempty"` /* 实例ID。 */ ElasticIp string `json:"elasticIp,omitempty"` /* 解绑的弹性IP。 */ }
type CtgkafkaUnbindElasticIpResponse ¶
type CtgkafkaUnbindElasticIpResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaUnbindElasticIpReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaUnbindElasticIpReturnObjResponse ¶
type CtgkafkaUnbindElasticIpReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回提示。 */
}
type CtgkafkaUnsubscribeInstV3Api ¶
type CtgkafkaUnsubscribeInstV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaUnsubscribeInstV3Api ¶
func NewCtgkafkaUnsubscribeInstV3Api(client *core.CtyunClient) *CtgkafkaUnsubscribeInstV3Api
func (*CtgkafkaUnsubscribeInstV3Api) Do ¶
func (a *CtgkafkaUnsubscribeInstV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaUnsubscribeInstV3Request) (*CtgkafkaUnsubscribeInstV3Response, error)
type CtgkafkaUnsubscribeInstV3Request ¶
type CtgkafkaUnsubscribeInstV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ }
type CtgkafkaUnsubscribeInstV3Response ¶
type CtgkafkaUnsubscribeInstV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaUnsubscribeInstV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse ¶
type CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息。 */ Submitted *bool `json:"submitted"` /* 是否成功提交。 */ NewOrderId string `json:"newOrderId,omitempty"` /* 订单ID。 */ NewOrderNo string `json:"newOrderNo,omitempty"` /* 订单编号。 */ TotalPrice float64 `json:"totalPrice"` /* 价格。 */ }
type CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsResponse ¶
type CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息。 */ Submitted *bool `json:"submitted"` /* 是否成功提交。 */ OrderPlacedEvents []*CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsOrderPlacedEventsResponse `json:"orderPlacedEvents"` /* 退订事件信息。 */ }
type CtgkafkaUnsubscribeInstV3ReturnObjResponse ¶
type CtgkafkaUnsubscribeInstV3ReturnObjResponse struct { ErrorMessage string `json:"errorMessage,omitempty"` /* 错误信息。 */ BatchOrderPlacementResults []*CtgkafkaUnsubscribeInstV3ReturnObjBatchOrderPlacementResultsResponse `json:"batchOrderPlacementResults"` /* 退订返回信息 */ }
type CtgkafkaUpdateInstanceConfigApi ¶
type CtgkafkaUpdateInstanceConfigApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaUpdateInstanceConfigApi ¶
func NewCtgkafkaUpdateInstanceConfigApi(client *core.CtyunClient) *CtgkafkaUpdateInstanceConfigApi
func (*CtgkafkaUpdateInstanceConfigApi) Do ¶
func (a *CtgkafkaUpdateInstanceConfigApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaUpdateInstanceConfigRequest) (*CtgkafkaUpdateInstanceConfigResponse, error)
type CtgkafkaUpdateInstanceConfigRequest ¶
type CtgkafkaUpdateInstanceConfigRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ DynamicConfigs []*CtgkafkaUpdateInstanceConfigDynamicConfigsRequest `json:"dynamicConfigs"` /* 实例动态配置,参数说明可参考<a href="https://www.ctyun.cn/document/10029624/10551853">修改配置参数文档</a>,修改后即时生效。 */ StaticConfigs []*CtgkafkaUpdateInstanceConfigStaticConfigsRequest `json:"staticConfigs"` /* 实例静态配置,参数说明可参考<a href="https://www.ctyun.cn/document/10029624/10551853">修改配置参数文档</a>,静态配置修改后需重启实例方能生效。 */ }
type CtgkafkaUpdateInstanceConfigResponse ¶
type CtgkafkaUpdateInstanceConfigResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ ReturnObj *struct { Data string `json:"data"` } `json:"returnObj"` }
type CtgkafkaUpdateTopicApi ¶
type CtgkafkaUpdateTopicApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaUpdateTopicApi ¶
func NewCtgkafkaUpdateTopicApi(client *core.CtyunClient) *CtgkafkaUpdateTopicApi
func (*CtgkafkaUpdateTopicApi) Do ¶
func (a *CtgkafkaUpdateTopicApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaUpdateTopicRequest) (*CtgkafkaUpdateTopicResponse, error)
type CtgkafkaUpdateTopicRequest ¶
type CtgkafkaUpdateTopicRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ TopicName string `json:"topicName,omitempty"` /* 主题名称。 */ PartitionCapacity int32 `json:"partitionCapacity,omitempty"` /* 分区容量限制,单位GB,取值-1或范围[1, 100]。-1表示无限制。不传入则不修改。 */ RetentionTime int32 `json:"retentionTime,omitempty"` /* 消息保留时长,单位毫秒,取值-1或范围[3600000, 315360000000],单位毫秒,-1表示永久保留。不传入则不修改。 */ MaxMessage int32 `json:"maxMessage,omitempty"` /* 最大消息大小,单位字节,取值范围[1, 10485760]。不传入则不修改。 */ TimestampType string `json:"timestampType,omitempty"` /* 消息时间戳类型,不传入则不修改。<br><li>CreateTime<br><li>LogAppendTime */ }
type CtgkafkaUpdateTopicResponse ¶
type CtgkafkaUpdateTopicResponse struct { StatusCode int32 `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:800,失败:900。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaUpdateTopicReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaUpdateTopicReturnObjResponse ¶
type CtgkafkaUpdateTopicReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回数据。 */
}
type CtgkafkaUpgradeInstanceVersionV3Api ¶
type CtgkafkaUpgradeInstanceVersionV3Api struct {
// contains filtered or unexported fields
}
func NewCtgkafkaUpgradeInstanceVersionV3Api ¶
func NewCtgkafkaUpgradeInstanceVersionV3Api(client *core.CtyunClient) *CtgkafkaUpgradeInstanceVersionV3Api
func (*CtgkafkaUpgradeInstanceVersionV3Api) Do ¶
func (a *CtgkafkaUpgradeInstanceVersionV3Api) Do(ctx context.Context, credential core.Credential, req *CtgkafkaUpgradeInstanceVersionV3Request) (*CtgkafkaUpgradeInstanceVersionV3Response, error)
type CtgkafkaUpgradeInstanceVersionV3Request ¶
type CtgkafkaUpgradeInstanceVersionV3Request struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ UpdateVersion string `json:"updateVersion,omitempty"` /* 升级目标版本号,可<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=48&api=7382">查询可升级实例版本</a>获取。 */ }
type CtgkafkaUpgradeInstanceVersionV3Response ¶
type CtgkafkaUpgradeInstanceVersionV3Response struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 描述状态。 */ ReturnObj *CtgkafkaUpgradeInstanceVersionV3ReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaUpgradeInstanceVersionV3ReturnObjDataResponse ¶
type CtgkafkaUpgradeInstanceVersionV3ReturnObjDataResponse struct{}
type CtgkafkaUpgradeInstanceVersionV3ReturnObjResponse ¶
type CtgkafkaUpgradeInstanceVersionV3ReturnObjResponse struct {
Data *CtgkafkaUpgradeInstanceVersionV3ReturnObjDataResponse `json:"data"` /* 返回数据。 */
}
type CtgkafkaUserUpdateApi ¶
type CtgkafkaUserUpdateApi struct {
// contains filtered or unexported fields
}
func NewCtgkafkaUserUpdateApi ¶
func NewCtgkafkaUserUpdateApi(client *core.CtyunClient) *CtgkafkaUserUpdateApi
func (*CtgkafkaUserUpdateApi) Do ¶
func (a *CtgkafkaUserUpdateApi) Do(ctx context.Context, credential core.Credential, req *CtgkafkaUserUpdateRequest) (*CtgkafkaUserUpdateResponse, error)
type CtgkafkaUserUpdateRequest ¶
type CtgkafkaUserUpdateRequest struct { RegionId string `json:"regionId,omitempty"` /* 实例的资源池ID。<br>获取方法如下:<br><li>方法一:通过查询<a href="https://www.ctyun.cn/document/10029624/11008434">分布式消息服务Kafka资源池附录文档</a>。<br><li>方法二:通过调用<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">查询可用的资源池</a>API接口查。 */ ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID。 */ Username string `json:"username,omitempty"` /* 用户名称。 */ NewPassword string `json:"newPassword,omitempty"` /* 密码,规则如下:<br><li>长度8-26字符。<br><li>必须同时包含大写字母、小写字母、数字和英文格式特殊符号(@%^*_+!$-=.)中的至少三种类型。<br><li>不能有空格。 */ Description string `json:"description,omitempty"` /* 用户描述,规则如下:<br><li>不能以+,-,@,= 特殊字符开头。 <br><li>长度不能大于200。 */ }
type CtgkafkaUserUpdateResponse ¶
type CtgkafkaUserUpdateResponse struct { StatusCode string `json:"statusCode,omitempty"` /* 接口系统层面状态码。成功:"800",失败:"900"。 */ Message string `json:"message,omitempty"` /* 提示信息 */ ReturnObj *CtgkafkaUserUpdateReturnObjResponse `json:"returnObj"` /* 返回对象。 */ Error string `json:"error,omitempty"` /* 错误码,描述错误信息。 */ }
type CtgkafkaUserUpdateReturnObjResponse ¶
type CtgkafkaUserUpdateReturnObjResponse struct {
Data string `json:"data,omitempty"` /* 返回创建描述。 */
}
Source Files
¶
- apis.go
- ctgkafka_acl_add_v3_api.go
- ctgkafka_acl_delete_v3_api.go
- ctgkafka_acl_query_v3_api.go
- ctgkafka_add_authority_api.go
- ctgkafka_beginning_message_api.go
- ctgkafka_bind_elastic_ip_api.go
- ctgkafka_can_expand_prod_api.go
- ctgkafka_change_az_api.go
- ctgkafka_chaos_cancel_api.go
- ctgkafka_chaos_inject_api.go
- ctgkafka_chaos_list_api.go
- ctgkafka_chaos_query_req_msg_api.go
- ctgkafka_consumer_group_batch_delete_api.go
- ctgkafka_consumer_group_create_v3_api.go
- ctgkafka_consumer_group_delete_v3_api.go
- ctgkafka_consumer_group_instances_v3_api.go
- ctgkafka_consumer_group_query_v3_api.go
- ctgkafka_consumer_group_reset_v3_api.go
- ctgkafka_consumer_group_status_v3_api.go
- ctgkafka_consumer_group_update_api.go
- ctgkafka_consumer_group_updatetopics_v3_api.go
- ctgkafka_create_order_api.go
- ctgkafka_create_post_pay_order_api.go
- ctgkafka_delete_authority_api.go
- ctgkafka_disk_extend_api.go
- ctgkafka_disk_shrink_api.go
- ctgkafka_elastic_bandwidth_api.go
- ctgkafka_enable_auto_reassign_api.go
- ctgkafka_end_message_api.go
- ctgkafka_get_authority_api.go
- ctgkafka_get_instance_config_api.go
- ctgkafka_get_topic_details_api.go
- ctgkafka_inst_query_api.go
- ctgkafka_instance_delete_v3_api.go
- ctgkafka_instances_modify_name_v3_api.go
- ctgkafka_instances_restart_v3_api.go
- ctgkafka_list_resource_v3_api.go
- ctgkafka_list_tag_v3_api.go
- ctgkafka_mirror_task_api.go
- ctgkafka_modify_instance_config_api.go
- ctgkafka_modifypartition_num_v3_api.go
- ctgkafka_monitor_metrics_v3_api.go
- ctgkafka_node_extend_api.go
- ctgkafka_node_shrink_api.go
- ctgkafka_node_status_v3_api.go
- ctgkafka_page_query_floatingips_api.go
- ctgkafka_prod_detail_api.go
- ctgkafka_produce_api.go
- ctgkafka_query_can_update_version_v3_api.go
- ctgkafka_query_message_api.go
- ctgkafka_query_message_by_offset_v3_api.go
- ctgkafka_query_message_by_timestamp_v3_api.go
- ctgkafka_query_producers_api.go
- ctgkafka_quota_broker_create_api.go
- ctgkafka_quota_broker_delete_api.go
- ctgkafka_quota_broker_query_api.go
- ctgkafka_quota_broker_update_api.go
- ctgkafka_quota_client_create_api.go
- ctgkafka_quota_client_delete_api.go
- ctgkafka_quota_client_list_api.go
- ctgkafka_quota_client_update_api.go
- ctgkafka_quota_topic_create_api.go
- ctgkafka_quota_topic_delete_api.go
- ctgkafka_quota_topic_list_api.go
- ctgkafka_quota_topic_update_api.go
- ctgkafka_reassignments_api.go
- ctgkafka_resource_tag_addtag_v3_api.go
- ctgkafka_sasl_user_create_v3_api.go
- ctgkafka_sasl_user_delete_v3_api.go
- ctgkafka_sasl_user_query_v3_api.go
- ctgkafka_selected_topics_v3_api.go
- ctgkafka_set_across_vpc_info_api.go
- ctgkafka_spec_extend_api.go
- ctgkafka_spec_shrink_api.go
- ctgkafka_tag_resource_v3_api.go
- ctgkafka_topic_batch_delete_api.go
- ctgkafka_topic_create_v3_api.go
- ctgkafka_topic_delete_v3_api.go
- ctgkafka_topic_diskusage_api.go
- ctgkafka_topic_modifyremark_v3_api.go
- ctgkafka_topic_query_v3_api.go
- ctgkafka_topic_status_v3_api.go
- ctgkafka_trans_charge_type_v3_api.go
- ctgkafka_un_tag_resource_v3_api.go
- ctgkafka_unbind_elastic_ip_api.go
- ctgkafka_unsubscribe_inst_v3_api.go
- ctgkafka_update_instance_config_api.go
- ctgkafka_update_topic_api.go
- ctgkafka_upgrade_instance_version_v3_api.go
- ctgkafka_user_update_api.go
Click to show internal directories.
Click to hide internal directories.