Class: TencentCloud::Cls::V20201016::Client
- Inherits:
-
TencentCloud::Common::AbstractClient
- Object
- TencentCloud::Common::AbstractClient
- TencentCloud::Cls::V20201016::Client
- Defined in:
- lib/v20201016/client.rb
Instance Method Summary collapse
-
#AddMachineGroupInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::AddMachineGroupInfoResponse. -
#ApplyConfigToMachineGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ApplyConfigToMachineGroupResponse. -
#CancelRebuildIndexTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CancelRebuildIndexTaskResponse. -
#CheckFunction(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CheckFunctionResponse. -
#CheckRechargeKafkaServer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CheckRechargeKafkaServerResponse. -
#CloseKafkaConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CloseKafkaConsumerResponse. -
#CommitConsumerOffsets(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CommitConsumerOffsetsResponse. -
#CreateAlarm(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateAlarmResponse. -
#CreateAlarmNotice(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateAlarmNoticeResponse. -
#CreateAlarmShield(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateAlarmShieldResponse. -
#CreateCloudProductLogCollection(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateCloudProductLogCollectionResponse. -
#CreateConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateConfigResponse. -
#CreateConfigExtra(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateConfigExtraResponse. -
#CreateConsoleSharing(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateConsoleSharingResponse. -
#CreateConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateConsumerResponse. -
#CreateConsumerGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateConsumerGroupResponse. -
#CreateCosRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateCosRechargeResponse. -
#CreateDashboard(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateDashboardResponse. -
#CreateDashboardSubscribe(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateDashboardSubscribeResponse. -
#CreateDataTransform(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateDataTransformResponse. -
#CreateDeliverCloudFunction(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateDeliverCloudFunctionResponse. -
#CreateDlcDeliver(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateDlcDeliverResponse. -
#CreateEsRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateEsRechargeResponse. -
#CreateExport(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateExportResponse. -
#CreateHostMetricConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateHostMetricConfigResponse. -
#CreateIndex(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateIndexResponse. -
#CreateKafkaRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateKafkaRechargeResponse. -
#CreateLogset(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateLogsetResponse. -
#CreateMachineGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateMachineGroupResponse. -
#CreateMetricConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateMetricConfigResponse. -
#CreateMetricSubscribe(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateMetricSubscribeResponse. -
#CreateNoticeContent(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateNoticeContentResponse. -
#CreateRebuildIndexTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateRebuildIndexTaskResponse. -
#CreateScheduledSql(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateScheduledSqlResponse. -
#CreateShipper(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateShipperResponse. -
#CreateSplunkDeliver(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateSplunkDeliverResponse. -
#CreateTopic(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateTopicResponse. -
#CreateWebCallback(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::CreateWebCallbackResponse. -
#DeleteAlarm(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteAlarmResponse. -
#DeleteAlarmNotice(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteAlarmNoticeResponse. -
#DeleteAlarmShield(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteAlarmShieldResponse. -
#DeleteCloudProductLogCollection(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteCloudProductLogCollectionResponse. -
#DeleteConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteConfigResponse. -
#DeleteConfigExtra(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteConfigExtraResponse. -
#DeleteConfigFromMachineGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteConfigFromMachineGroupResponse. -
#DeleteConsoleSharing(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteConsoleSharingResponse. -
#DeleteConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteConsumerResponse. -
#DeleteConsumerGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteConsumerGroupResponse. -
#DeleteCosRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteCosRechargeResponse. -
#DeleteDashboard(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteDashboardResponse. -
#DeleteDashboardSubscribe(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteDashboardSubscribeResponse. -
#DeleteDataTransform(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteDataTransformResponse. -
#DeleteDlcDeliver(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteDlcDeliverResponse. -
#DeleteEsRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteEsRechargeResponse. -
#DeleteExport(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteExportResponse. -
#DeleteHostMetricConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteHostMetricConfigResponse. -
#DeleteIndex(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteIndexResponse. -
#DeleteKafkaRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteKafkaRechargeResponse. -
#DeleteLogset(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteLogsetResponse. -
#DeleteMachineGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteMachineGroupResponse. -
#DeleteMachineGroupInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteMachineGroupInfoResponse. -
#DeleteMetricConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteMetricConfigResponse. -
#DeleteMetricSubscribe(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteMetricSubscribeResponse. -
#DeleteNoticeContent(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteNoticeContentResponse. -
#DeleteScheduledSql(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteScheduledSqlResponse. -
#DeleteShipper(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteShipperResponse. -
#DeleteSplunkDeliver(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteSplunkDeliverResponse. -
#DeleteTopic(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteTopicResponse. -
#DeleteWebCallback(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DeleteWebCallbackResponse. -
#DescribeAlarmNotices(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeAlarmNoticesResponse. -
#DescribeAlarms(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeAlarmsResponse. -
#DescribeAlarmShields(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeAlarmShieldsResponse. -
#DescribeAlertRecordHistory(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeAlertRecordHistoryResponse. -
#DescribeCloudProductLogTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeCloudProductLogTasksResponse. -
#DescribeClusterBaseMetricConfigs(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeClusterBaseMetricConfigsResponse. -
#DescribeClusterMetricConfigs(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeClusterMetricConfigsResponse. -
#DescribeConfigExtras(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConfigExtrasResponse. -
#DescribeConfigMachineGroups(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConfigMachineGroupsResponse. -
#DescribeConfigs(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConfigsResponse. -
#DescribeConsoleSharingList(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConsoleSharingListResponse. -
#DescribeConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConsumerResponse. -
#DescribeConsumerGroups(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConsumerGroupsResponse. -
#DescribeConsumerOffsets(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConsumerOffsetsResponse. -
#DescribeConsumerPreview(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConsumerPreviewResponse. -
#DescribeConsumers(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeConsumersResponse. -
#DescribeCosRecharges(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeCosRechargesResponse. -
#DescribeDashboards(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeDashboardsResponse. -
#DescribeDashboardSubscribes(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeDashboardSubscribesResponse. -
#DescribeDataTransformInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeDataTransformInfoResponse. -
#DescribeDlcDelivers(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeDlcDeliversResponse. -
#DescribeEsRechargePreview(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeEsRechargePreviewResponse. -
#DescribeEsRecharges(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeEsRechargesResponse. -
#DescribeExports(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeExportsResponse. -
#DescribeHostMetricConfigs(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeHostMetricConfigsResponse. -
#DescribeIndex(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeIndexResponse. -
#DescribeKafkaConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeKafkaConsumerResponse. -
#DescribeKafkaConsumerGroupDetail(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupDetailResponse. -
#DescribeKafkaConsumerGroupList(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupListResponse. -
#DescribeKafkaConsumerPreview(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeKafkaConsumerPreviewResponse. -
#DescribeKafkaConsumerTopics(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeKafkaConsumerTopicsResponse. -
#DescribeKafkaRecharges(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeKafkaRechargesResponse. -
#DescribeLogContext(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeLogContextResponse. -
#DescribeLogHistogram(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeLogHistogramResponse. -
#DescribeLogsets(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeLogsetsResponse. -
#DescribeMachineGroupConfigs(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeMachineGroupConfigsResponse. -
#DescribeMachineGroups(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeMachineGroupsResponse. -
#DescribeMachines(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeMachinesResponse. -
#DescribeMetricCorrectDimension(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeMetricCorrectDimensionResponse. -
#DescribeMetricSubscribePreview(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeMetricSubscribePreviewResponse. -
#DescribeMetricSubscribes(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeMetricSubscribesResponse. -
#DescribeNoticeContents(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeNoticeContentsResponse. -
#DescribePartitions(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribePartitionsResponse. -
#DescribeRebuildIndexTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeRebuildIndexTasksResponse. -
#DescribeScheduledSqlInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeScheduledSqlInfoResponse. -
#DescribeShippers(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeShippersResponse. -
#DescribeShipperTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeShipperTasksResponse. -
#DescribeSplunkDelivers(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeSplunkDeliversResponse. -
#DescribeSplunkPreview(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeSplunkPreviewResponse. -
#DescribeTopicBaseMetricConfigs(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeTopicBaseMetricConfigsResponse. -
#DescribeTopicMetricConfigs(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeTopicMetricConfigsResponse. -
#DescribeTopics(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeTopicsResponse. -
#DescribeWebCallbacks(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::DescribeWebCallbacksResponse. -
#EstimateRebuildIndexTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::EstimateRebuildIndexTaskResponse. -
#GetAlarmLog(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::GetAlarmLogResponse. -
#GetMetricLabelValues(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::GetMetricLabelValuesResponse. -
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#MergePartition(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::MergePartitionResponse. -
#ModifyAlarm(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyAlarmResponse. -
#ModifyAlarmNotice(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyAlarmNoticeResponse. -
#ModifyAlarmShield(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyAlarmShieldResponse. -
#ModifyCloudProductLogCollection(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyCloudProductLogCollectionResponse. -
#ModifyConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyConfigResponse. -
#ModifyConfigExtra(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyConfigExtraResponse. -
#ModifyConsoleSharing(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyConsoleSharingResponse. -
#ModifyConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyConsumerResponse. -
#ModifyConsumerGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyConsumerGroupResponse. -
#ModifyCosRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyCosRechargeResponse. -
#ModifyDashboard(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyDashboardResponse. -
#ModifyDashboardSubscribe(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyDashboardSubscribeResponse. -
#ModifyDataTransform(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyDataTransformResponse. -
#ModifyDlcDeliver(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyDlcDeliverResponse. -
#ModifyEsRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyEsRechargeResponse. -
#ModifyHostMetricConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyHostMetricConfigResponse. -
#ModifyIndex(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyIndexResponse. -
#ModifyKafkaConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyKafkaConsumerResponse. -
#ModifyKafkaConsumerGroupOffset(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyKafkaConsumerGroupOffsetResponse. -
#ModifyKafkaRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyKafkaRechargeResponse. -
#ModifyLogset(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyLogsetResponse. -
#ModifyMachineGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyMachineGroupResponse. -
#ModifyMetricConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyMetricConfigResponse. -
#ModifyMetricSubscribe(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyMetricSubscribeResponse. -
#ModifyNoticeContent(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyNoticeContentResponse. -
#ModifyScheduledSql(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyScheduledSqlResponse. -
#ModifyShipper(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyShipperResponse. -
#ModifySplunkDeliver(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifySplunkDeliverResponse. -
#ModifyTopic(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyTopicResponse. -
#ModifyWebCallback(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::ModifyWebCallbackResponse. -
#OpenKafkaConsumer(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::OpenKafkaConsumerResponse. -
#PreviewKafkaRecharge(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::PreviewKafkaRechargeResponse. -
#QueryMetric(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::QueryMetricResponse. -
#QueryRangeMetric(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::QueryRangeMetricResponse. -
#RetryShipperTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::RetryShipperTaskResponse. -
#SearchCosRechargeInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::SearchCosRechargeInfoResponse. -
#SearchDashboardSubscribe(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::SearchDashboardSubscribeResponse. -
#SearchLog(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::SearchLogResponse. -
#SendConsumerHeartbeat(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::SendConsumerHeartbeatResponse. -
#SplitPartition(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::SplitPartitionResponse. -
#UploadLog(request) ⇒ Object
@rtype: :class:
Tencentcloud::cls::V20201016::UploadLogResponse.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20201016/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2020-10-16' api_endpoint = 'cls.tencentcloudapi.com' sdk_version = 'CLS_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AddMachineGroupInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::AddMachineGroupInfoResponse
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20201016/client.rb', line 37 def AddMachineGroupInfo(request) body = send_request('AddMachineGroupInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddMachineGroupInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ApplyConfigToMachineGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ApplyConfigToMachineGroupResponse
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20201016/client.rb', line 61 def ApplyConfigToMachineGroup(request) body = send_request('ApplyConfigToMachineGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ApplyConfigToMachineGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CancelRebuildIndexTask(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CancelRebuildIndexTaskResponse
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20201016/client.rb', line 85 def CancelRebuildIndexTask(request) body = send_request('CancelRebuildIndexTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CancelRebuildIndexTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckFunction(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CheckFunctionResponse
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20201016/client.rb', line 109 def CheckFunction(request) body = send_request('CheckFunction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckFunctionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckRechargeKafkaServer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CheckRechargeKafkaServerResponse
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20201016/client.rb', line 133 def CheckRechargeKafkaServer(request) body = send_request('CheckRechargeKafkaServer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckRechargeKafkaServerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CloseKafkaConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CloseKafkaConsumerResponse
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20201016/client.rb', line 157 def CloseKafkaConsumer(request) body = send_request('CloseKafkaConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseKafkaConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CommitConsumerOffsets(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CommitConsumerOffsetsResponse
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20201016/client.rb', line 181 def CommitConsumerOffsets(request) body = send_request('CommitConsumerOffsets', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CommitConsumerOffsetsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAlarm(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateAlarmResponse
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20201016/client.rb', line 205 def CreateAlarm(request) body = send_request('CreateAlarm', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAlarmResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAlarmNotice(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateAlarmNoticeResponse
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'lib/v20201016/client.rb', line 236 def CreateAlarmNotice(request) body = send_request('CreateAlarmNotice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAlarmNoticeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAlarmShield(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateAlarmShieldResponse
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/v20201016/client.rb', line 260 def CreateAlarmShield(request) body = send_request('CreateAlarmShield', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAlarmShieldResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCloudProductLogCollection(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateCloudProductLogCollectionResponse
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/v20201016/client.rb', line 284 def CreateCloudProductLogCollection(request) body = send_request('CreateCloudProductLogCollection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCloudProductLogCollectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateConfigResponse
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
# File 'lib/v20201016/client.rb', line 308 def CreateConfig(request) body = send_request('CreateConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateConfigExtra(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateConfigExtraResponse
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/v20201016/client.rb', line 332 def CreateConfigExtra(request) body = send_request('CreateConfigExtra', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateConfigExtraResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateConsoleSharing(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateConsoleSharingResponse
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 |
# File 'lib/v20201016/client.rb', line 356 def CreateConsoleSharing(request) body = send_request('CreateConsoleSharing', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateConsoleSharingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateConsumerResponse
380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'lib/v20201016/client.rb', line 380 def CreateConsumer(request) body = send_request('CreateConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateConsumerGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateConsumerGroupResponse
404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 |
# File 'lib/v20201016/client.rb', line 404 def CreateConsumerGroup(request) body = send_request('CreateConsumerGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateConsumerGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCosRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateCosRechargeResponse
428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 |
# File 'lib/v20201016/client.rb', line 428 def CreateCosRecharge(request) body = send_request('CreateCosRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCosRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDashboard(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateDashboardResponse
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 |
# File 'lib/v20201016/client.rb', line 452 def CreateDashboard(request) body = send_request('CreateDashboard', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDashboardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDashboardSubscribe(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateDashboardSubscribeResponse
476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 |
# File 'lib/v20201016/client.rb', line 476 def CreateDashboardSubscribe(request) body = send_request('CreateDashboardSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDashboardSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDataTransform(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateDataTransformResponse
500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 |
# File 'lib/v20201016/client.rb', line 500 def CreateDataTransform(request) body = send_request('CreateDataTransform', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDataTransformResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDeliverCloudFunction(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateDeliverCloudFunctionResponse
524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 |
# File 'lib/v20201016/client.rb', line 524 def CreateDeliverCloudFunction(request) body = send_request('CreateDeliverCloudFunction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDeliverCloudFunctionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDlcDeliver(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateDlcDeliverResponse
548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 |
# File 'lib/v20201016/client.rb', line 548 def CreateDlcDeliver(request) body = send_request('CreateDlcDeliver', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDlcDeliverResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEsRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateEsRechargeResponse
572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 |
# File 'lib/v20201016/client.rb', line 572 def CreateEsRecharge(request) body = send_request('CreateEsRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEsRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateExport(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateExportResponse
596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 |
# File 'lib/v20201016/client.rb', line 596 def CreateExport(request) body = send_request('CreateExport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateExportResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateHostMetricConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateHostMetricConfigResponse
620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 |
# File 'lib/v20201016/client.rb', line 620 def CreateHostMetricConfig(request) body = send_request('CreateHostMetricConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateHostMetricConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateIndex(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateIndexResponse
644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 |
# File 'lib/v20201016/client.rb', line 644 def CreateIndex(request) body = send_request('CreateIndex', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateIndexResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateKafkaRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateKafkaRechargeResponse
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 |
# File 'lib/v20201016/client.rb', line 668 def CreateKafkaRecharge(request) body = send_request('CreateKafkaRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateKafkaRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateLogset(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateLogsetResponse
692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 |
# File 'lib/v20201016/client.rb', line 692 def CreateLogset(request) body = send_request('CreateLogset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateLogsetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateMachineGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateMachineGroupResponse
716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 |
# File 'lib/v20201016/client.rb', line 716 def CreateMachineGroup(request) body = send_request('CreateMachineGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateMachineGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateMetricConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateMetricConfigResponse
740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 |
# File 'lib/v20201016/client.rb', line 740 def CreateMetricConfig(request) body = send_request('CreateMetricConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateMetricConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateMetricSubscribe(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateMetricSubscribeResponse
764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 |
# File 'lib/v20201016/client.rb', line 764 def CreateMetricSubscribe(request) body = send_request('CreateMetricSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateMetricSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateNoticeContent(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateNoticeContentResponse
788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 |
# File 'lib/v20201016/client.rb', line 788 def CreateNoticeContent(request) body = send_request('CreateNoticeContent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateNoticeContentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRebuildIndexTask(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateRebuildIndexTaskResponse
818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 |
# File 'lib/v20201016/client.rb', line 818 def CreateRebuildIndexTask(request) body = send_request('CreateRebuildIndexTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRebuildIndexTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateScheduledSql(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateScheduledSqlResponse
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 |
# File 'lib/v20201016/client.rb', line 842 def CreateScheduledSql(request) body = send_request('CreateScheduledSql', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateScheduledSqlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateShipper(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateShipperResponse
866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 |
# File 'lib/v20201016/client.rb', line 866 def CreateShipper(request) body = send_request('CreateShipper', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateShipperResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSplunkDeliver(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateSplunkDeliverResponse
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 |
# File 'lib/v20201016/client.rb', line 890 def CreateSplunkDeliver(request) body = send_request('CreateSplunkDeliver', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSplunkDeliverResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTopic(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateTopicResponse
914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 |
# File 'lib/v20201016/client.rb', line 914 def CreateTopic(request) body = send_request('CreateTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateWebCallback(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::CreateWebCallbackResponse
938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 |
# File 'lib/v20201016/client.rb', line 938 def CreateWebCallback(request) body = send_request('CreateWebCallback', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateWebCallbackResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAlarm(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteAlarmResponse
962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 |
# File 'lib/v20201016/client.rb', line 962 def DeleteAlarm(request) body = send_request('DeleteAlarm', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAlarmResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAlarmNotice(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteAlarmNoticeResponse
986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 |
# File 'lib/v20201016/client.rb', line 986 def DeleteAlarmNotice(request) body = send_request('DeleteAlarmNotice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAlarmNoticeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAlarmShield(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteAlarmShieldResponse
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 |
# File 'lib/v20201016/client.rb', line 1010 def DeleteAlarmShield(request) body = send_request('DeleteAlarmShield', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAlarmShieldResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCloudProductLogCollection(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteCloudProductLogCollectionResponse
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 |
# File 'lib/v20201016/client.rb', line 1034 def DeleteCloudProductLogCollection(request) body = send_request('DeleteCloudProductLogCollection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCloudProductLogCollectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteConfigResponse
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 |
# File 'lib/v20201016/client.rb', line 1058 def DeleteConfig(request) body = send_request('DeleteConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteConfigExtra(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteConfigExtraResponse
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 |
# File 'lib/v20201016/client.rb', line 1082 def DeleteConfigExtra(request) body = send_request('DeleteConfigExtra', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteConfigExtraResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteConfigFromMachineGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteConfigFromMachineGroupResponse
1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 |
# File 'lib/v20201016/client.rb', line 1106 def DeleteConfigFromMachineGroup(request) body = send_request('DeleteConfigFromMachineGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteConfigFromMachineGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteConsoleSharing(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteConsoleSharingResponse
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 |
# File 'lib/v20201016/client.rb', line 1130 def DeleteConsoleSharing(request) body = send_request('DeleteConsoleSharing', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteConsoleSharingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteConsumerResponse
1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 |
# File 'lib/v20201016/client.rb', line 1154 def DeleteConsumer(request) body = send_request('DeleteConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteConsumerGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteConsumerGroupResponse
1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 |
# File 'lib/v20201016/client.rb', line 1178 def DeleteConsumerGroup(request) body = send_request('DeleteConsumerGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteConsumerGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCosRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteCosRechargeResponse
1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 |
# File 'lib/v20201016/client.rb', line 1202 def DeleteCosRecharge(request) body = send_request('DeleteCosRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCosRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteDashboard(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteDashboardResponse
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 |
# File 'lib/v20201016/client.rb', line 1226 def DeleteDashboard(request) body = send_request('DeleteDashboard', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDashboardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteDashboardSubscribe(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteDashboardSubscribeResponse
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 |
# File 'lib/v20201016/client.rb', line 1250 def DeleteDashboardSubscribe(request) body = send_request('DeleteDashboardSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDashboardSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteDataTransform(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteDataTransformResponse
1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 |
# File 'lib/v20201016/client.rb', line 1274 def DeleteDataTransform(request) body = send_request('DeleteDataTransform', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDataTransformResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteDlcDeliver(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteDlcDeliverResponse
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 |
# File 'lib/v20201016/client.rb', line 1298 def DeleteDlcDeliver(request) body = send_request('DeleteDlcDeliver', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDlcDeliverResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteEsRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteEsRechargeResponse
1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 |
# File 'lib/v20201016/client.rb', line 1322 def DeleteEsRecharge(request) body = send_request('DeleteEsRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteEsRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteExport(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteExportResponse
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 |
# File 'lib/v20201016/client.rb', line 1346 def DeleteExport(request) body = send_request('DeleteExport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteExportResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteHostMetricConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteHostMetricConfigResponse
1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 |
# File 'lib/v20201016/client.rb', line 1370 def DeleteHostMetricConfig(request) body = send_request('DeleteHostMetricConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteHostMetricConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteIndex(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteIndexResponse
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 |
# File 'lib/v20201016/client.rb', line 1394 def DeleteIndex(request) body = send_request('DeleteIndex', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteIndexResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteKafkaRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteKafkaRechargeResponse
1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 |
# File 'lib/v20201016/client.rb', line 1418 def DeleteKafkaRecharge(request) body = send_request('DeleteKafkaRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteKafkaRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteLogset(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteLogsetResponse
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 |
# File 'lib/v20201016/client.rb', line 1442 def DeleteLogset(request) body = send_request('DeleteLogset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteLogsetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteMachineGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteMachineGroupResponse
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/v20201016/client.rb', line 1466 def DeleteMachineGroup(request) body = send_request('DeleteMachineGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteMachineGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteMachineGroupInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteMachineGroupInfoResponse
1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 |
# File 'lib/v20201016/client.rb', line 1490 def DeleteMachineGroupInfo(request) body = send_request('DeleteMachineGroupInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteMachineGroupInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteMetricConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteMetricConfigResponse
1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 |
# File 'lib/v20201016/client.rb', line 1514 def DeleteMetricConfig(request) body = send_request('DeleteMetricConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteMetricConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteMetricSubscribe(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteMetricSubscribeResponse
1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 |
# File 'lib/v20201016/client.rb', line 1538 def DeleteMetricSubscribe(request) body = send_request('DeleteMetricSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteMetricSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteNoticeContent(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteNoticeContentResponse
1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 |
# File 'lib/v20201016/client.rb', line 1562 def DeleteNoticeContent(request) body = send_request('DeleteNoticeContent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteNoticeContentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteScheduledSql(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteScheduledSqlResponse
1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 |
# File 'lib/v20201016/client.rb', line 1586 def DeleteScheduledSql(request) body = send_request('DeleteScheduledSql', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteScheduledSqlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteShipper(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteShipperResponse
1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 |
# File 'lib/v20201016/client.rb', line 1610 def DeleteShipper(request) body = send_request('DeleteShipper', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteShipperResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSplunkDeliver(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteSplunkDeliverResponse
1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 |
# File 'lib/v20201016/client.rb', line 1634 def DeleteSplunkDeliver(request) body = send_request('DeleteSplunkDeliver', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSplunkDeliverResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTopic(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteTopicResponse
1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 |
# File 'lib/v20201016/client.rb', line 1658 def DeleteTopic(request) body = send_request('DeleteTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteWebCallback(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DeleteWebCallbackResponse
1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 |
# File 'lib/v20201016/client.rb', line 1682 def DeleteWebCallback(request) body = send_request('DeleteWebCallback', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteWebCallbackResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAlarmNotices(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeAlarmNoticesResponse
1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 |
# File 'lib/v20201016/client.rb', line 1706 def DescribeAlarmNotices(request) body = send_request('DescribeAlarmNotices', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlarmNoticesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAlarms(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeAlarmsResponse
1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 |
# File 'lib/v20201016/client.rb', line 1754 def DescribeAlarms(request) body = send_request('DescribeAlarms', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlarmsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAlarmShields(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeAlarmShieldsResponse
1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 |
# File 'lib/v20201016/client.rb', line 1730 def DescribeAlarmShields(request) body = send_request('DescribeAlarmShields', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlarmShieldsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAlertRecordHistory(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeAlertRecordHistoryResponse
1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/v20201016/client.rb', line 1778 def DescribeAlertRecordHistory(request) body = send_request('DescribeAlertRecordHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAlertRecordHistoryResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCloudProductLogTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeCloudProductLogTasksResponse
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 |
# File 'lib/v20201016/client.rb', line 1802 def DescribeCloudProductLogTasks(request) body = send_request('DescribeCloudProductLogTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCloudProductLogTasksResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterBaseMetricConfigs(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeClusterBaseMetricConfigsResponse
1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 |
# File 'lib/v20201016/client.rb', line 1826 def DescribeClusterBaseMetricConfigs(request) body = send_request('DescribeClusterBaseMetricConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterBaseMetricConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterMetricConfigs(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeClusterMetricConfigsResponse
1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 |
# File 'lib/v20201016/client.rb', line 1850 def DescribeClusterMetricConfigs(request) body = send_request('DescribeClusterMetricConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterMetricConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConfigExtras(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConfigExtrasResponse
1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 |
# File 'lib/v20201016/client.rb', line 1874 def DescribeConfigExtras(request) body = send_request('DescribeConfigExtras', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConfigExtrasResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConfigMachineGroups(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConfigMachineGroupsResponse
1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 |
# File 'lib/v20201016/client.rb', line 1898 def DescribeConfigMachineGroups(request) body = send_request('DescribeConfigMachineGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConfigMachineGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConfigs(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConfigsResponse
1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'lib/v20201016/client.rb', line 1922 def DescribeConfigs(request) body = send_request('DescribeConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConsoleSharingList(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConsoleSharingListResponse
1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 |
# File 'lib/v20201016/client.rb', line 1946 def DescribeConsoleSharingList(request) body = send_request('DescribeConsoleSharingList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConsoleSharingListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConsumerResponse
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 |
# File 'lib/v20201016/client.rb', line 1970 def DescribeConsumer(request) body = send_request('DescribeConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConsumerGroups(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConsumerGroupsResponse
1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 |
# File 'lib/v20201016/client.rb', line 1994 def DescribeConsumerGroups(request) body = send_request('DescribeConsumerGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConsumerGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConsumerOffsets(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConsumerOffsetsResponse
2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 |
# File 'lib/v20201016/client.rb', line 2018 def DescribeConsumerOffsets(request) body = send_request('DescribeConsumerOffsets', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConsumerOffsetsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConsumerPreview(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConsumerPreviewResponse
2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 |
# File 'lib/v20201016/client.rb', line 2042 def DescribeConsumerPreview(request) body = send_request('DescribeConsumerPreview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConsumerPreviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeConsumers(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeConsumersResponse
2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 |
# File 'lib/v20201016/client.rb', line 2066 def DescribeConsumers(request) body = send_request('DescribeConsumers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeConsumersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCosRecharges(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeCosRechargesResponse
2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 |
# File 'lib/v20201016/client.rb', line 2090 def DescribeCosRecharges(request) body = send_request('DescribeCosRecharges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCosRechargesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDashboards(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeDashboardsResponse
2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 |
# File 'lib/v20201016/client.rb', line 2138 def DescribeDashboards(request) body = send_request('DescribeDashboards', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDashboardsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDashboardSubscribes(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeDashboardSubscribesResponse
2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 |
# File 'lib/v20201016/client.rb', line 2114 def DescribeDashboardSubscribes(request) body = send_request('DescribeDashboardSubscribes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDashboardSubscribesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDataTransformInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeDataTransformInfoResponse
2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 |
# File 'lib/v20201016/client.rb', line 2162 def DescribeDataTransformInfo(request) body = send_request('DescribeDataTransformInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDataTransformInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDlcDelivers(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeDlcDeliversResponse
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 |
# File 'lib/v20201016/client.rb', line 2186 def DescribeDlcDelivers(request) body = send_request('DescribeDlcDelivers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDlcDeliversResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEsRechargePreview(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeEsRechargePreviewResponse
2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 |
# File 'lib/v20201016/client.rb', line 2210 def DescribeEsRechargePreview(request) body = send_request('DescribeEsRechargePreview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEsRechargePreviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEsRecharges(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeEsRechargesResponse
2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 |
# File 'lib/v20201016/client.rb', line 2234 def DescribeEsRecharges(request) body = send_request('DescribeEsRecharges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEsRechargesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExports(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeExportsResponse
2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 |
# File 'lib/v20201016/client.rb', line 2258 def DescribeExports(request) body = send_request('DescribeExports', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExportsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeHostMetricConfigs(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeHostMetricConfigsResponse
2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 |
# File 'lib/v20201016/client.rb', line 2282 def DescribeHostMetricConfigs(request) body = send_request('DescribeHostMetricConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeHostMetricConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIndex(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeIndexResponse
2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 |
# File 'lib/v20201016/client.rb', line 2306 def DescribeIndex(request) body = send_request('DescribeIndex', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIndexResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeKafkaConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeKafkaConsumerResponse
2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 |
# File 'lib/v20201016/client.rb', line 2330 def DescribeKafkaConsumer(request) body = send_request('DescribeKafkaConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeKafkaConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeKafkaConsumerGroupDetail(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupDetailResponse
2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 |
# File 'lib/v20201016/client.rb', line 2354 def DescribeKafkaConsumerGroupDetail(request) body = send_request('DescribeKafkaConsumerGroupDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeKafkaConsumerGroupDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeKafkaConsumerGroupList(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeKafkaConsumerGroupListResponse
2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 |
# File 'lib/v20201016/client.rb', line 2378 def DescribeKafkaConsumerGroupList(request) body = send_request('DescribeKafkaConsumerGroupList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeKafkaConsumerGroupListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeKafkaConsumerPreview(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeKafkaConsumerPreviewResponse
2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 |
# File 'lib/v20201016/client.rb', line 2402 def DescribeKafkaConsumerPreview(request) body = send_request('DescribeKafkaConsumerPreview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeKafkaConsumerPreviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeKafkaConsumerTopics(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeKafkaConsumerTopicsResponse
2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 |
# File 'lib/v20201016/client.rb', line 2426 def DescribeKafkaConsumerTopics(request) body = send_request('DescribeKafkaConsumerTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeKafkaConsumerTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeKafkaRecharges(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeKafkaRechargesResponse
2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 |
# File 'lib/v20201016/client.rb', line 2450 def DescribeKafkaRecharges(request) body = send_request('DescribeKafkaRecharges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeKafkaRechargesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLogContext(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeLogContextResponse
2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 |
# File 'lib/v20201016/client.rb', line 2475 def DescribeLogContext(request) body = send_request('DescribeLogContext', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLogContextResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLogHistogram(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeLogHistogramResponse
2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 |
# File 'lib/v20201016/client.rb', line 2499 def DescribeLogHistogram(request) body = send_request('DescribeLogHistogram', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLogHistogramResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLogsets(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeLogsetsResponse
2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 |
# File 'lib/v20201016/client.rb', line 2523 def DescribeLogsets(request) body = send_request('DescribeLogsets', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLogsetsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMachineGroupConfigs(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeMachineGroupConfigsResponse
2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 |
# File 'lib/v20201016/client.rb', line 2547 def DescribeMachineGroupConfigs(request) body = send_request('DescribeMachineGroupConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMachineGroupConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMachineGroups(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeMachineGroupsResponse
2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 |
# File 'lib/v20201016/client.rb', line 2571 def DescribeMachineGroups(request) body = send_request('DescribeMachineGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMachineGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMachines(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeMachinesResponse
2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 |
# File 'lib/v20201016/client.rb', line 2595 def DescribeMachines(request) body = send_request('DescribeMachines', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMachinesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMetricCorrectDimension(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeMetricCorrectDimensionResponse
2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 |
# File 'lib/v20201016/client.rb', line 2619 def DescribeMetricCorrectDimension(request) body = send_request('DescribeMetricCorrectDimension', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMetricCorrectDimensionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMetricSubscribePreview(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeMetricSubscribePreviewResponse
2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 |
# File 'lib/v20201016/client.rb', line 2643 def DescribeMetricSubscribePreview(request) body = send_request('DescribeMetricSubscribePreview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMetricSubscribePreviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMetricSubscribes(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeMetricSubscribesResponse
2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 |
# File 'lib/v20201016/client.rb', line 2667 def DescribeMetricSubscribes(request) body = send_request('DescribeMetricSubscribes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMetricSubscribesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeNoticeContents(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeNoticeContentsResponse
2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 |
# File 'lib/v20201016/client.rb', line 2691 def DescribeNoticeContents(request) body = send_request('DescribeNoticeContents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeNoticeContentsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePartitions(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribePartitionsResponse
2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 |
# File 'lib/v20201016/client.rb', line 2715 def DescribePartitions(request) body = send_request('DescribePartitions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePartitionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRebuildIndexTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeRebuildIndexTasksResponse
2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 |
# File 'lib/v20201016/client.rb', line 2739 def DescribeRebuildIndexTasks(request) body = send_request('DescribeRebuildIndexTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRebuildIndexTasksResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeScheduledSqlInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeScheduledSqlInfoResponse
2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 |
# File 'lib/v20201016/client.rb', line 2763 def DescribeScheduledSqlInfo(request) body = send_request('DescribeScheduledSqlInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeScheduledSqlInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeShippers(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeShippersResponse
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 |
# File 'lib/v20201016/client.rb', line 2811 def DescribeShippers(request) body = send_request('DescribeShippers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeShippersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeShipperTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeShipperTasksResponse
2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 |
# File 'lib/v20201016/client.rb', line 2787 def DescribeShipperTasks(request) body = send_request('DescribeShipperTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeShipperTasksResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSplunkDelivers(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeSplunkDeliversResponse
2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 |
# File 'lib/v20201016/client.rb', line 2835 def DescribeSplunkDelivers(request) body = send_request('DescribeSplunkDelivers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSplunkDeliversResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSplunkPreview(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeSplunkPreviewResponse
2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 |
# File 'lib/v20201016/client.rb', line 2859 def DescribeSplunkPreview(request) body = send_request('DescribeSplunkPreview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSplunkPreviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTopicBaseMetricConfigs(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeTopicBaseMetricConfigsResponse
2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 |
# File 'lib/v20201016/client.rb', line 2883 def DescribeTopicBaseMetricConfigs(request) body = send_request('DescribeTopicBaseMetricConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicBaseMetricConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTopicMetricConfigs(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeTopicMetricConfigsResponse
2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 |
# File 'lib/v20201016/client.rb', line 2907 def DescribeTopicMetricConfigs(request) body = send_request('DescribeTopicMetricConfigs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicMetricConfigsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTopics(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeTopicsResponse
2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 |
# File 'lib/v20201016/client.rb', line 2931 def DescribeTopics(request) body = send_request('DescribeTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWebCallbacks(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::DescribeWebCallbacksResponse
2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 |
# File 'lib/v20201016/client.rb', line 2955 def DescribeWebCallbacks(request) body = send_request('DescribeWebCallbacks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWebCallbacksResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EstimateRebuildIndexTask(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::EstimateRebuildIndexTaskResponse
2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 |
# File 'lib/v20201016/client.rb', line 2979 def EstimateRebuildIndexTask(request) body = send_request('EstimateRebuildIndexTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EstimateRebuildIndexTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetAlarmLog(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::GetAlarmLogResponse
3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 |
# File 'lib/v20201016/client.rb', line 3003 def GetAlarmLog(request) body = send_request('GetAlarmLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetAlarmLogResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetMetricLabelValues(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::GetMetricLabelValuesResponse
3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 |
# File 'lib/v20201016/client.rb', line 3027 def GetMetricLabelValues(request) body = send_request('GetMetricLabelValues', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetMetricLabelValuesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#MergePartition(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::MergePartitionResponse
3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 |
# File 'lib/v20201016/client.rb', line 3051 def MergePartition(request) body = send_request('MergePartition', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = MergePartitionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAlarm(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyAlarmResponse
3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 |
# File 'lib/v20201016/client.rb', line 3075 def ModifyAlarm(request) body = send_request('ModifyAlarm', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAlarmResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAlarmNotice(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyAlarmNoticeResponse
3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 |
# File 'lib/v20201016/client.rb', line 3099 def ModifyAlarmNotice(request) body = send_request('ModifyAlarmNotice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAlarmNoticeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAlarmShield(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyAlarmShieldResponse
3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/v20201016/client.rb', line 3123 def ModifyAlarmShield(request) body = send_request('ModifyAlarmShield', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAlarmShieldResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCloudProductLogCollection(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyCloudProductLogCollectionResponse
3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 |
# File 'lib/v20201016/client.rb', line 3147 def ModifyCloudProductLogCollection(request) body = send_request('ModifyCloudProductLogCollection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCloudProductLogCollectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyConfigResponse
3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 |
# File 'lib/v20201016/client.rb', line 3171 def ModifyConfig(request) body = send_request('ModifyConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyConfigExtra(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyConfigExtraResponse
3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 |
# File 'lib/v20201016/client.rb', line 3195 def ModifyConfigExtra(request) body = send_request('ModifyConfigExtra', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyConfigExtraResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyConsoleSharing(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyConsoleSharingResponse
3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 |
# File 'lib/v20201016/client.rb', line 3219 def ModifyConsoleSharing(request) body = send_request('ModifyConsoleSharing', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyConsoleSharingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyConsumerResponse
3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 |
# File 'lib/v20201016/client.rb', line 3243 def ModifyConsumer(request) body = send_request('ModifyConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyConsumerGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyConsumerGroupResponse
3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 |
# File 'lib/v20201016/client.rb', line 3267 def ModifyConsumerGroup(request) body = send_request('ModifyConsumerGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyConsumerGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCosRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyCosRechargeResponse
3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 |
# File 'lib/v20201016/client.rb', line 3291 def ModifyCosRecharge(request) body = send_request('ModifyCosRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCosRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDashboard(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyDashboardResponse
3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 |
# File 'lib/v20201016/client.rb', line 3315 def ModifyDashboard(request) body = send_request('ModifyDashboard', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDashboardResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDashboardSubscribe(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyDashboardSubscribeResponse
3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 |
# File 'lib/v20201016/client.rb', line 3339 def ModifyDashboardSubscribe(request) body = send_request('ModifyDashboardSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDashboardSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDataTransform(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyDataTransformResponse
3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 |
# File 'lib/v20201016/client.rb', line 3363 def ModifyDataTransform(request) body = send_request('ModifyDataTransform', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDataTransformResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDlcDeliver(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyDlcDeliverResponse
3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 |
# File 'lib/v20201016/client.rb', line 3387 def ModifyDlcDeliver(request) body = send_request('ModifyDlcDeliver', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDlcDeliverResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyEsRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyEsRechargeResponse
3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 |
# File 'lib/v20201016/client.rb', line 3411 def ModifyEsRecharge(request) body = send_request('ModifyEsRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyEsRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyHostMetricConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyHostMetricConfigResponse
3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 |
# File 'lib/v20201016/client.rb', line 3435 def ModifyHostMetricConfig(request) body = send_request('ModifyHostMetricConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyHostMetricConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyIndex(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyIndexResponse
3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 |
# File 'lib/v20201016/client.rb', line 3459 def ModifyIndex(request) body = send_request('ModifyIndex', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyIndexResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyKafkaConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyKafkaConsumerResponse
3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 |
# File 'lib/v20201016/client.rb', line 3483 def ModifyKafkaConsumer(request) body = send_request('ModifyKafkaConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyKafkaConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyKafkaConsumerGroupOffset(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyKafkaConsumerGroupOffsetResponse
3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 |
# File 'lib/v20201016/client.rb', line 3507 def ModifyKafkaConsumerGroupOffset(request) body = send_request('ModifyKafkaConsumerGroupOffset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyKafkaConsumerGroupOffsetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyKafkaRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyKafkaRechargeResponse
3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 |
# File 'lib/v20201016/client.rb', line 3531 def ModifyKafkaRecharge(request) body = send_request('ModifyKafkaRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyKafkaRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyLogset(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyLogsetResponse
3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 |
# File 'lib/v20201016/client.rb', line 3555 def ModifyLogset(request) body = send_request('ModifyLogset', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyLogsetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyMachineGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyMachineGroupResponse
3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 |
# File 'lib/v20201016/client.rb', line 3580 def ModifyMachineGroup(request) body = send_request('ModifyMachineGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyMachineGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyMetricConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyMetricConfigResponse
3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 |
# File 'lib/v20201016/client.rb', line 3604 def ModifyMetricConfig(request) body = send_request('ModifyMetricConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyMetricConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyMetricSubscribe(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyMetricSubscribeResponse
3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 |
# File 'lib/v20201016/client.rb', line 3628 def ModifyMetricSubscribe(request) body = send_request('ModifyMetricSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyMetricSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyNoticeContent(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyNoticeContentResponse
3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 |
# File 'lib/v20201016/client.rb', line 3652 def ModifyNoticeContent(request) body = send_request('ModifyNoticeContent', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyNoticeContentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyScheduledSql(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyScheduledSqlResponse
3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 |
# File 'lib/v20201016/client.rb', line 3676 def ModifyScheduledSql(request) body = send_request('ModifyScheduledSql', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyScheduledSqlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyShipper(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyShipperResponse
3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 |
# File 'lib/v20201016/client.rb', line 3700 def ModifyShipper(request) body = send_request('ModifyShipper', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyShipperResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySplunkDeliver(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifySplunkDeliverResponse
3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 |
# File 'lib/v20201016/client.rb', line 3724 def ModifySplunkDeliver(request) body = send_request('ModifySplunkDeliver', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySplunkDeliverResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTopic(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyTopicResponse
3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 |
# File 'lib/v20201016/client.rb', line 3748 def ModifyTopic(request) body = send_request('ModifyTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyWebCallback(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::ModifyWebCallbackResponse
3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 |
# File 'lib/v20201016/client.rb', line 3772 def ModifyWebCallback(request) body = send_request('ModifyWebCallback', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyWebCallbackResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#OpenKafkaConsumer(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::OpenKafkaConsumerResponse
3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 |
# File 'lib/v20201016/client.rb', line 3796 def OpenKafkaConsumer(request) body = send_request('OpenKafkaConsumer', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenKafkaConsumerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#PreviewKafkaRecharge(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::PreviewKafkaRechargeResponse
3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 |
# File 'lib/v20201016/client.rb', line 3820 def PreviewKafkaRecharge(request) body = send_request('PreviewKafkaRecharge', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PreviewKafkaRechargeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#QueryMetric(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::QueryMetricResponse
3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 |
# File 'lib/v20201016/client.rb', line 3845 def QueryMetric(request) body = send_request('QueryMetric', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = QueryMetricResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#QueryRangeMetric(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::QueryRangeMetricResponse
3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 |
# File 'lib/v20201016/client.rb', line 3869 def QueryRangeMetric(request) body = send_request('QueryRangeMetric', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = QueryRangeMetricResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RetryShipperTask(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::RetryShipperTaskResponse
3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 |
# File 'lib/v20201016/client.rb', line 3893 def RetryShipperTask(request) body = send_request('RetryShipperTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RetryShipperTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SearchCosRechargeInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::SearchCosRechargeInfoResponse
3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 |
# File 'lib/v20201016/client.rb', line 3917 def SearchCosRechargeInfo(request) body = send_request('SearchCosRechargeInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchCosRechargeInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SearchDashboardSubscribe(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::SearchDashboardSubscribeResponse
3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 |
# File 'lib/v20201016/client.rb', line 3941 def SearchDashboardSubscribe(request) body = send_request('SearchDashboardSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchDashboardSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SearchLog(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::SearchLogResponse
3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 |
# File 'lib/v20201016/client.rb', line 3968 def SearchLog(request) body = send_request('SearchLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchLogResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendConsumerHeartbeat(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::SendConsumerHeartbeatResponse
3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 |
# File 'lib/v20201016/client.rb', line 3992 def SendConsumerHeartbeat(request) body = send_request('SendConsumerHeartbeat', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendConsumerHeartbeatResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SplitPartition(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::SplitPartitionResponse
4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 |
# File 'lib/v20201016/client.rb', line 4016 def SplitPartition(request) body = send_request('SplitPartition', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SplitPartitionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UploadLog(request) ⇒ Object
@rtype: :class:Tencentcloud::cls::V20201016::UploadLogResponse
4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 |
# File 'lib/v20201016/client.rb', line 4182 def UploadLog(request) body = send_request('UploadLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UploadLogResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |