Class: TencentCloud::Cynosdb::V20190107::Client
- Inherits:
-
TencentCloud::Common::AbstractClient
- Object
- TencentCloud::Common::AbstractClient
- TencentCloud::Cynosdb::V20190107::Client
- Defined in:
- lib/v20190107/client.rb
Instance Method Summary collapse
-
#ActivateInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ActivateInstanceResponse`.
-
#AddClusterSlaveZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::AddClusterSlaveZoneResponse`.
-
#AddInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::AddInstancesResponse`.
-
#AssociateSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::AssociateSecurityGroupsResponse`.
-
#BindClusterResourcePackages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::BindClusterResourcePackagesResponse`.
-
#CloseAuditService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseAuditServiceResponse`.
-
#CloseClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseClusterPasswordComplexityResponse`.
-
#CloseProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseProxyResponse`.
-
#CloseProxyEndPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseProxyEndPointResponse`.
-
#CloseSSL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseSSLResponse`.
-
#CloseWan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseWanResponse`.
-
#CopyClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CopyClusterPasswordComplexityResponse`.
-
#CreateAccounts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateAccountsResponse`.
-
#CreateAuditLogFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateAuditLogFileResponse`.
-
#CreateAuditRuleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateAuditRuleTemplateResponse`.
-
#CreateBackup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateBackupResponse`.
-
#CreateCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateCLSDeliveryResponse`.
-
#CreateClusterDatabase(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateClusterDatabaseResponse`.
-
#CreateClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateClustersResponse`.
-
#CreateParamTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateParamTemplateResponse`.
-
#CreateProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateProxyResponse`.
-
#CreateProxyEndPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateProxyEndPointResponse`.
-
#CreateResourcePackage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateResourcePackageResponse`.
-
#DeleteAccounts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteAccountsResponse`.
-
#DeleteAuditLogFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteAuditLogFileResponse`.
-
#DeleteAuditRuleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteAuditRuleTemplatesResponse`.
-
#DeleteBackup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteBackupResponse`.
-
#DeleteCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteCLSDeliveryResponse`.
-
#DeleteClusterDatabase(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteClusterDatabaseResponse`.
-
#DeleteParamTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteParamTemplateResponse`.
-
#DescribeAccountAllGrantPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAccountAllGrantPrivilegesResponse`.
-
#DescribeAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAccountPrivilegesResponse`.
-
#DescribeAccounts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAccountsResponse`.
-
#DescribeAuditInstanceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditInstanceListResponse`.
-
#DescribeAuditLogFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditLogFilesResponse`.
-
#DescribeAuditLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditLogsResponse`.
-
#DescribeAuditRuleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditRuleTemplatesResponse`.
-
#DescribeAuditRuleWithInstanceIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditRuleWithInstanceIdsResponse`.
-
#DescribeBackupConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupConfigResponse`.
-
#DescribeBackupDownloadRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupDownloadRestrictionResponse`.
-
#DescribeBackupDownloadUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupDownloadUrlResponse`.
-
#DescribeBackupDownloadUserRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupDownloadUserRestrictionResponse`.
-
#DescribeBackupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupListResponse`.
-
#DescribeBinlogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogConfigResponse`.
-
#DescribeBinlogDownloadUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogDownloadUrlResponse`.
-
#DescribeBinlogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogsResponse`.
-
#DescribeBinlogSaveDays(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogSaveDaysResponse`.
-
#DescribeChangedParamsAfterUpgrade(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeChangedParamsAfterUpgradeResponse`.
-
#DescribeClusterDatabases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDatabasesResponse`.
-
#DescribeClusterDatabaseTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDatabaseTablesResponse`.
-
#DescribeClusterDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDetailResponse`.
-
#DescribeClusterDetailDatabases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDetailDatabasesResponse`.
-
#DescribeClusterInstanceGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterInstanceGroupsResponse`.
-
#DescribeClusterInstanceGrps(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterInstanceGrpsResponse`.
-
#DescribeClusterParamLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterParamLogsResponse`.
-
#DescribeClusterParams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterParamsResponse`.
-
#DescribeClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterPasswordComplexityResponse`.
-
#DescribeClusterReadOnly(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterReadOnlyResponse`.
-
#DescribeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClustersResponse`.
-
#DescribeClusterTransparentEncryptInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterTransparentEncryptInfoResponse`.
-
#DescribeDBSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeDBSecurityGroupsResponse`.
-
#DescribeFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeFlowResponse`.
-
#DescribeInstanceCLSLogDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceCLSLogDeliveryResponse`.
-
#DescribeInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceDetailResponse`.
-
#DescribeInstanceErrorLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceErrorLogsResponse`.
-
#DescribeInstanceParams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceParamsResponse`.
-
#DescribeInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstancesResponse`.
-
#DescribeInstanceSlowQueries(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceSlowQueriesResponse`.
-
#DescribeInstanceSpecs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceSpecsResponse`.
-
#DescribeInstancesWithinSameCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstancesWithinSameClusterResponse`.
-
#DescribeIsolatedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeIsolatedInstancesResponse`.
-
#DescribeMaintainPeriod(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeMaintainPeriodResponse`.
-
#DescribeParamTemplateDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeParamTemplateDetailResponse`.
-
#DescribeParamTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeParamTemplatesResponse`.
-
#DescribeProjectSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProjectSecurityGroupsResponse`.
-
#DescribeProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProxiesResponse`.
-
#DescribeProxyNodes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProxyNodesResponse`.
-
#DescribeProxySpecs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProxySpecsResponse`.
-
#DescribeResourcePackageDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcePackageDetailResponse`.
-
#DescribeResourcePackageList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcePackageListResponse`.
-
#DescribeResourcePackageSaleSpec(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcePackageSaleSpecResponse`.
-
#DescribeResourcesByDealName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcesByDealNameResponse`.
-
#DescribeRollbackTimeRange(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeRollbackTimeRangeResponse`.
-
#DescribeServerlessInstanceSpecs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeServerlessInstanceSpecsResponse`.
-
#DescribeServerlessStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeServerlessStrategyResponse`.
-
#DescribeSlaveZones(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeSlaveZonesResponse`.
-
#DescribeSSLStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeSSLStatusResponse`.
-
#DescribeSupportProxyVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeSupportProxyVersionResponse`.
-
#DescribeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeTasksResponse`.
-
#DescribeZones(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeZonesResponse`.
-
#DisassociateSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DisassociateSecurityGroupsResponse`.
-
#ExportInstanceErrorLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ExportInstanceErrorLogsResponse`.
-
#ExportInstanceSlowQueries(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ExportInstanceSlowQueriesResponse`.
-
#ExportResourcePackageDeductDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ExportResourcePackageDeductDetailsResponse`.
-
#GrantAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::GrantAccountPrivilegesResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#InquirePriceCreate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::InquirePriceCreateResponse`.
-
#InquirePriceModify(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::InquirePriceModifyResponse`.
-
#InquirePriceRenew(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::InquirePriceRenewResponse`.
-
#IsolateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::IsolateClusterResponse`.
-
#IsolateInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::IsolateInstanceResponse`.
-
#ModifyAccountDescription(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountDescriptionResponse`.
-
#ModifyAccountHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountHostResponse`.
-
#ModifyAccountParams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountParamsResponse`.
-
#ModifyAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountPrivilegesResponse`.
-
#ModifyAuditRuleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAuditRuleTemplatesResponse`.
-
#ModifyAuditService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAuditServiceResponse`.
-
#ModifyBackupConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupConfigResponse`.
-
#ModifyBackupDownloadRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupDownloadRestrictionResponse`.
-
#ModifyBackupDownloadUserRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupDownloadUserRestrictionResponse`.
-
#ModifyBackupName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupNameResponse`.
-
#ModifyBinlogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBinlogConfigResponse`.
-
#ModifyBinlogSaveDays(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBinlogSaveDaysResponse`.
-
#ModifyClusterDatabase(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterDatabaseResponse`.
-
#ModifyClusterName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterNameResponse`.
-
#ModifyClusterParam(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterParamResponse`.
-
#ModifyClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterPasswordComplexityResponse`.
-
#ModifyClusterReadOnly(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterReadOnlyResponse`.
-
#ModifyClusterSlaveZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterSlaveZoneResponse`.
-
#ModifyClusterStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterStorageResponse`.
-
#ModifyDBInstanceSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyDBInstanceSecurityGroupsResponse`.
-
#ModifyInstanceName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyInstanceNameResponse`.
-
#ModifyInstanceParam(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyInstanceParamResponse`.
-
#ModifyInstanceUpgradeLimitDays(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyInstanceUpgradeLimitDaysResponse`.
-
#ModifyMaintainPeriodConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyMaintainPeriodConfigResponse`.
-
#ModifyParamTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyParamTemplateResponse`.
-
#ModifyProxyDesc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyProxyDescResponse`.
-
#ModifyProxyRwSplit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyProxyRwSplitResponse`.
-
#ModifyResourcePackageClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyResourcePackageClustersResponse`.
-
#ModifyResourcePackageName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyResourcePackageNameResponse`.
-
#ModifyResourcePackagesDeductionPriority(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyResourcePackagesDeductionPriorityResponse`.
-
#ModifyServerlessStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyServerlessStrategyResponse`.
-
#ModifyVipVport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyVipVportResponse`.
-
#OfflineCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OfflineClusterResponse`.
-
#OfflineInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OfflineInstanceResponse`.
-
#OpenAuditService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenAuditServiceResponse`.
-
#OpenClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenClusterPasswordComplexityResponse`.
-
#OpenClusterReadOnlyInstanceGroupAccess(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenClusterReadOnlyInstanceGroupAccessResponse`.
-
#OpenClusterTransparentEncrypt(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenClusterTransparentEncryptResponse`.
-
#OpenReadOnlyInstanceExclusiveAccess(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenReadOnlyInstanceExclusiveAccessResponse`.
-
#OpenSSL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenSSLResponse`.
-
#OpenWan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenWanResponse`.
-
#PauseServerless(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::PauseServerlessResponse`.
-
#RefundResourcePackage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RefundResourcePackageResponse`.
-
#ReloadBalanceProxyNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ReloadBalanceProxyNodeResponse`.
-
#RemoveClusterSlaveZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RemoveClusterSlaveZoneResponse`.
-
#RenewClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RenewClustersResponse`.
-
#ReplayInstanceAuditLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ReplayInstanceAuditLogResponse`.
-
#ResetAccountPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ResetAccountPasswordResponse`.
-
#RestartInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RestartInstanceResponse`.
-
#ResumeServerless(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ResumeServerlessResponse`.
-
#RevokeAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RevokeAccountPrivilegesResponse`.
-
#RollBackCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RollBackClusterResponse`.
-
#RollbackToNewCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RollbackToNewClusterResponse`.
-
#SearchClusterDatabases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SearchClusterDatabasesResponse`.
-
#SearchClusterTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SearchClusterTablesResponse`.
-
#SetRenewFlag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SetRenewFlagResponse`.
-
#StartCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::StartCLSDeliveryResponse`.
-
#StopCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::StopCLSDeliveryResponse`.
-
#SwitchClusterVpc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SwitchClusterVpcResponse`.
-
#SwitchClusterZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SwitchClusterZoneResponse`.
-
#SwitchProxyVpc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SwitchProxyVpcResponse`.
-
#UnbindClusterResourcePackages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UnbindClusterResourcePackagesResponse`.
-
#UpgradeClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeClusterVersionResponse`.
-
#UpgradeInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeInstanceResponse`.
-
#UpgradeProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeProxyResponse`.
-
#UpgradeProxyVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeProxyVersionResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20190107/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2019-01-07' api_endpoint = 'cynosdb.tencentcloudapi.com' sdk_version = 'CYNOSDB_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#ActivateInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ActivateInstanceResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20190107/client.rb', line 37 def ActivateInstance(request) body = send_request('ActivateInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ActivateInstanceResponse.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 |
#AddClusterSlaveZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::AddClusterSlaveZoneResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20190107/client.rb', line 61 def AddClusterSlaveZone(request) body = send_request('AddClusterSlaveZone', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddClusterSlaveZoneResponse.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 |
#AddInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::AddInstancesResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20190107/client.rb', line 85 def AddInstances(request) body = send_request('AddInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddInstancesResponse.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 |
#AssociateSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::AssociateSecurityGroupsResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20190107/client.rb', line 109 def AssociateSecurityGroups(request) body = send_request('AssociateSecurityGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AssociateSecurityGroupsResponse.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 |
#BindClusterResourcePackages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::BindClusterResourcePackagesResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20190107/client.rb', line 133 def BindClusterResourcePackages(request) body = send_request('BindClusterResourcePackages', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindClusterResourcePackagesResponse.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 |
#CloseAuditService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseAuditServiceResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20190107/client.rb', line 157 def CloseAuditService(request) body = send_request('CloseAuditService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseAuditServiceResponse.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 |
#CloseClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseClusterPasswordComplexityResponse`
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20190107/client.rb', line 181 def CloseClusterPasswordComplexity(request) body = send_request('CloseClusterPasswordComplexity', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseClusterPasswordComplexityResponse.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 |
#CloseProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseProxyResponse`
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20190107/client.rb', line 205 def CloseProxy(request) body = send_request('CloseProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseProxyResponse.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 |
#CloseProxyEndPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseProxyEndPointResponse`
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20190107/client.rb', line 229 def CloseProxyEndPoint(request) body = send_request('CloseProxyEndPoint', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseProxyEndPointResponse.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 |
#CloseSSL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseSSLResponse`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20190107/client.rb', line 253 def CloseSSL(request) body = send_request('CloseSSL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseSSLResponse.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 |
#CloseWan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CloseWanResponse`
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/v20190107/client.rb', line 277 def CloseWan(request) body = send_request('CloseWan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseWanResponse.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 |
#CopyClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CopyClusterPasswordComplexityResponse`
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/v20190107/client.rb', line 301 def CopyClusterPasswordComplexity(request) body = send_request('CopyClusterPasswordComplexity', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CopyClusterPasswordComplexityResponse.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 |
#CreateAccounts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateAccountsResponse`
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File 'lib/v20190107/client.rb', line 325 def CreateAccounts(request) body = send_request('CreateAccounts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAccountsResponse.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 |
#CreateAuditLogFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateAuditLogFileResponse`
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'lib/v20190107/client.rb', line 349 def CreateAuditLogFile(request) body = send_request('CreateAuditLogFile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAuditLogFileResponse.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 |
#CreateAuditRuleTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateAuditRuleTemplateResponse`
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20190107/client.rb', line 373 def CreateAuditRuleTemplate(request) body = send_request('CreateAuditRuleTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAuditRuleTemplateResponse.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 |
#CreateBackup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateBackupResponse`
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/v20190107/client.rb', line 397 def CreateBackup(request) body = send_request('CreateBackup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBackupResponse.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 |
#CreateCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateCLSDeliveryResponse`
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/v20190107/client.rb', line 421 def CreateCLSDelivery(request) body = send_request('CreateCLSDelivery', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCLSDeliveryResponse.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 |
#CreateClusterDatabase(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateClusterDatabaseResponse`
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
# File 'lib/v20190107/client.rb', line 445 def CreateClusterDatabase(request) body = send_request('CreateClusterDatabase', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterDatabaseResponse.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 |
#CreateClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateClustersResponse`
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'lib/v20190107/client.rb', line 469 def CreateClusters(request) body = send_request('CreateClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClustersResponse.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 |
#CreateParamTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateParamTemplateResponse`
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/v20190107/client.rb', line 493 def CreateParamTemplate(request) body = send_request('CreateParamTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateParamTemplateResponse.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 |
#CreateProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateProxyResponse`
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
# File 'lib/v20190107/client.rb', line 517 def CreateProxy(request) body = send_request('CreateProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateProxyResponse.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 |
#CreateProxyEndPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateProxyEndPointResponse`
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'lib/v20190107/client.rb', line 541 def CreateProxyEndPoint(request) body = send_request('CreateProxyEndPoint', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateProxyEndPointResponse.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 |
#CreateResourcePackage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::CreateResourcePackageResponse`
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 |
# File 'lib/v20190107/client.rb', line 565 def CreateResourcePackage(request) body = send_request('CreateResourcePackage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateResourcePackageResponse.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 |
#DeleteAccounts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteAccountsResponse`
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'lib/v20190107/client.rb', line 589 def DeleteAccounts(request) body = send_request('DeleteAccounts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAccountsResponse.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 |
#DeleteAuditLogFile(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteAuditLogFileResponse`
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 |
# File 'lib/v20190107/client.rb', line 613 def DeleteAuditLogFile(request) body = send_request('DeleteAuditLogFile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAuditLogFileResponse.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 |
#DeleteAuditRuleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteAuditRuleTemplatesResponse`
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/v20190107/client.rb', line 637 def DeleteAuditRuleTemplates(request) body = send_request('DeleteAuditRuleTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAuditRuleTemplatesResponse.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 |
#DeleteBackup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteBackupResponse`
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/v20190107/client.rb', line 661 def DeleteBackup(request) body = send_request('DeleteBackup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteBackupResponse.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 |
#DeleteCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteCLSDeliveryResponse`
685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File 'lib/v20190107/client.rb', line 685 def DeleteCLSDelivery(request) body = send_request('DeleteCLSDelivery', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCLSDeliveryResponse.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 |
#DeleteClusterDatabase(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteClusterDatabaseResponse`
709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 |
# File 'lib/v20190107/client.rb', line 709 def DeleteClusterDatabase(request) body = send_request('DeleteClusterDatabase', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterDatabaseResponse.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 |
#DeleteParamTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DeleteParamTemplateResponse`
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/v20190107/client.rb', line 733 def DeleteParamTemplate(request) body = send_request('DeleteParamTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteParamTemplateResponse.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 |
#DescribeAccountAllGrantPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAccountAllGrantPrivilegesResponse`
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/v20190107/client.rb', line 757 def DescribeAccountAllGrantPrivileges(request) body = send_request('DescribeAccountAllGrantPrivileges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccountAllGrantPrivilegesResponse.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 |
#DescribeAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAccountPrivilegesResponse`
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 |
# File 'lib/v20190107/client.rb', line 781 def DescribeAccountPrivileges(request) body = send_request('DescribeAccountPrivileges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccountPrivilegesResponse.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 |
#DescribeAccounts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAccountsResponse`
805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 |
# File 'lib/v20190107/client.rb', line 805 def DescribeAccounts(request) body = send_request('DescribeAccounts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccountsResponse.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 |
#DescribeAuditInstanceList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditInstanceListResponse`
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 |
# File 'lib/v20190107/client.rb', line 829 def DescribeAuditInstanceList(request) body = send_request('DescribeAuditInstanceList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAuditInstanceListResponse.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 |
#DescribeAuditLogFiles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditLogFilesResponse`
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'lib/v20190107/client.rb', line 853 def DescribeAuditLogFiles(request) body = send_request('DescribeAuditLogFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAuditLogFilesResponse.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 |
#DescribeAuditLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditLogsResponse`
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 |
# File 'lib/v20190107/client.rb', line 877 def DescribeAuditLogs(request) body = send_request('DescribeAuditLogs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAuditLogsResponse.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 |
#DescribeAuditRuleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditRuleTemplatesResponse`
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'lib/v20190107/client.rb', line 901 def DescribeAuditRuleTemplates(request) body = send_request('DescribeAuditRuleTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAuditRuleTemplatesResponse.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 |
#DescribeAuditRuleWithInstanceIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeAuditRuleWithInstanceIdsResponse`
925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 |
# File 'lib/v20190107/client.rb', line 925 def DescribeAuditRuleWithInstanceIds(request) body = send_request('DescribeAuditRuleWithInstanceIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAuditRuleWithInstanceIdsResponse.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 |
#DescribeBackupConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupConfigResponse`
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/v20190107/client.rb', line 949 def DescribeBackupConfig(request) body = send_request('DescribeBackupConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBackupConfigResponse.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 |
#DescribeBackupDownloadRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupDownloadRestrictionResponse`
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 |
# File 'lib/v20190107/client.rb', line 973 def DescribeBackupDownloadRestriction(request) body = send_request('DescribeBackupDownloadRestriction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBackupDownloadRestrictionResponse.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 |
#DescribeBackupDownloadUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupDownloadUrlResponse`
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/v20190107/client.rb', line 997 def DescribeBackupDownloadUrl(request) body = send_request('DescribeBackupDownloadUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBackupDownloadUrlResponse.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 |
#DescribeBackupDownloadUserRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupDownloadUserRestrictionResponse`
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/v20190107/client.rb', line 1021 def DescribeBackupDownloadUserRestriction(request) body = send_request('DescribeBackupDownloadUserRestriction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBackupDownloadUserRestrictionResponse.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 |
#DescribeBackupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBackupListResponse`
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/v20190107/client.rb', line 1045 def DescribeBackupList(request) body = send_request('DescribeBackupList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBackupListResponse.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 |
#DescribeBinlogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogConfigResponse`
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'lib/v20190107/client.rb', line 1069 def DescribeBinlogConfig(request) body = send_request('DescribeBinlogConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBinlogConfigResponse.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 |
#DescribeBinlogDownloadUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogDownloadUrlResponse`
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 |
# File 'lib/v20190107/client.rb', line 1093 def DescribeBinlogDownloadUrl(request) body = send_request('DescribeBinlogDownloadUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBinlogDownloadUrlResponse.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 |
#DescribeBinlogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogsResponse`
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 |
# File 'lib/v20190107/client.rb', line 1141 def DescribeBinlogs(request) body = send_request('DescribeBinlogs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBinlogsResponse.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 |
#DescribeBinlogSaveDays(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeBinlogSaveDaysResponse`
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/v20190107/client.rb', line 1117 def DescribeBinlogSaveDays(request) body = send_request('DescribeBinlogSaveDays', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBinlogSaveDaysResponse.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 |
#DescribeChangedParamsAfterUpgrade(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeChangedParamsAfterUpgradeResponse`
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/v20190107/client.rb', line 1165 def DescribeChangedParamsAfterUpgrade(request) body = send_request('DescribeChangedParamsAfterUpgrade', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChangedParamsAfterUpgradeResponse.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 |
#DescribeClusterDatabases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDatabasesResponse`
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/v20190107/client.rb', line 1213 def DescribeClusterDatabases(request) body = send_request('DescribeClusterDatabases', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterDatabasesResponse.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 |
#DescribeClusterDatabaseTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDatabaseTablesResponse`
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/v20190107/client.rb', line 1189 def DescribeClusterDatabaseTables(request) body = send_request('DescribeClusterDatabaseTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterDatabaseTablesResponse.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 |
#DescribeClusterDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDetailResponse`
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/v20190107/client.rb', line 1237 def DescribeClusterDetail(request) body = send_request('DescribeClusterDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterDetailResponse.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 |
#DescribeClusterDetailDatabases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterDetailDatabasesResponse`
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'lib/v20190107/client.rb', line 1261 def DescribeClusterDetailDatabases(request) body = send_request('DescribeClusterDetailDatabases', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterDetailDatabasesResponse.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 |
#DescribeClusterInstanceGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterInstanceGroupsResponse`
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
# File 'lib/v20190107/client.rb', line 1285 def DescribeClusterInstanceGroups(request) body = send_request('DescribeClusterInstanceGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterInstanceGroupsResponse.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 |
#DescribeClusterInstanceGrps(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterInstanceGrpsResponse`
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 |
# File 'lib/v20190107/client.rb', line 1309 def DescribeClusterInstanceGrps(request) body = send_request('DescribeClusterInstanceGrps', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterInstanceGrpsResponse.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 |
#DescribeClusterParamLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterParamLogsResponse`
1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'lib/v20190107/client.rb', line 1333 def DescribeClusterParamLogs(request) body = send_request('DescribeClusterParamLogs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterParamLogsResponse.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 |
#DescribeClusterParams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterParamsResponse`
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 |
# File 'lib/v20190107/client.rb', line 1357 def DescribeClusterParams(request) body = send_request('DescribeClusterParams', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterParamsResponse.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 |
#DescribeClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterPasswordComplexityResponse`
1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 |
# File 'lib/v20190107/client.rb', line 1381 def DescribeClusterPasswordComplexity(request) body = send_request('DescribeClusterPasswordComplexity', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterPasswordComplexityResponse.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 |
#DescribeClusterReadOnly(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterReadOnlyResponse`
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 |
# File 'lib/v20190107/client.rb', line 1405 def DescribeClusterReadOnly(request) body = send_request('DescribeClusterReadOnly', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterReadOnlyResponse.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 |
#DescribeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClustersResponse`
1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 |
# File 'lib/v20190107/client.rb', line 1453 def DescribeClusters(request) body = send_request('DescribeClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClustersResponse.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 |
#DescribeClusterTransparentEncryptInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeClusterTransparentEncryptInfoResponse`
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
# File 'lib/v20190107/client.rb', line 1429 def DescribeClusterTransparentEncryptInfo(request) body = send_request('DescribeClusterTransparentEncryptInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterTransparentEncryptInfoResponse.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 |
#DescribeDBSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeDBSecurityGroupsResponse`
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 |
# File 'lib/v20190107/client.rb', line 1477 def DescribeDBSecurityGroups(request) body = send_request('DescribeDBSecurityGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDBSecurityGroupsResponse.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 |
#DescribeFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeFlowResponse`
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/v20190107/client.rb', line 1501 def DescribeFlow(request) body = send_request('DescribeFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFlowResponse.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 |
#DescribeInstanceCLSLogDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceCLSLogDeliveryResponse`
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 |
# File 'lib/v20190107/client.rb', line 1525 def DescribeInstanceCLSLogDelivery(request) body = send_request('DescribeInstanceCLSLogDelivery', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstanceCLSLogDeliveryResponse.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 |
#DescribeInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceDetailResponse`
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/v20190107/client.rb', line 1549 def DescribeInstanceDetail(request) body = send_request('DescribeInstanceDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstanceDetailResponse.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 |
#DescribeInstanceErrorLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceErrorLogsResponse`
1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/v20190107/client.rb', line 1573 def DescribeInstanceErrorLogs(request) body = send_request('DescribeInstanceErrorLogs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstanceErrorLogsResponse.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 |
#DescribeInstanceParams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceParamsResponse`
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 |
# File 'lib/v20190107/client.rb', line 1597 def DescribeInstanceParams(request) body = send_request('DescribeInstanceParams', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstanceParamsResponse.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 |
#DescribeInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstancesResponse`
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 |
# File 'lib/v20190107/client.rb', line 1669 def DescribeInstances(request) body = send_request('DescribeInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstancesResponse.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 |
#DescribeInstanceSlowQueries(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceSlowQueriesResponse`
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'lib/v20190107/client.rb', line 1621 def DescribeInstanceSlowQueries(request) body = send_request('DescribeInstanceSlowQueries', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstanceSlowQueriesResponse.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 |
#DescribeInstanceSpecs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstanceSpecsResponse`
1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 |
# File 'lib/v20190107/client.rb', line 1645 def DescribeInstanceSpecs(request) body = send_request('DescribeInstanceSpecs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstanceSpecsResponse.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 |
#DescribeInstancesWithinSameCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeInstancesWithinSameClusterResponse`
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 |
# File 'lib/v20190107/client.rb', line 1693 def DescribeInstancesWithinSameCluster(request) body = send_request('DescribeInstancesWithinSameCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstancesWithinSameClusterResponse.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 |
#DescribeIsolatedInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeIsolatedInstancesResponse`
1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 |
# File 'lib/v20190107/client.rb', line 1717 def DescribeIsolatedInstances(request) body = send_request('DescribeIsolatedInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIsolatedInstancesResponse.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 |
#DescribeMaintainPeriod(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeMaintainPeriodResponse`
1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 |
# File 'lib/v20190107/client.rb', line 1741 def DescribeMaintainPeriod(request) body = send_request('DescribeMaintainPeriod', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMaintainPeriodResponse.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 |
#DescribeParamTemplateDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeParamTemplateDetailResponse`
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 |
# File 'lib/v20190107/client.rb', line 1765 def DescribeParamTemplateDetail(request) body = send_request('DescribeParamTemplateDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeParamTemplateDetailResponse.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 |
#DescribeParamTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeParamTemplatesResponse`
1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 |
# File 'lib/v20190107/client.rb', line 1789 def DescribeParamTemplates(request) body = send_request('DescribeParamTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeParamTemplatesResponse.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 |
#DescribeProjectSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProjectSecurityGroupsResponse`
1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/v20190107/client.rb', line 1813 def DescribeProjectSecurityGroups(request) body = send_request('DescribeProjectSecurityGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProjectSecurityGroupsResponse.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 |
#DescribeProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProxiesResponse`
1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 |
# File 'lib/v20190107/client.rb', line 1837 def DescribeProxies(request) body = send_request('DescribeProxies', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxiesResponse.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 |
#DescribeProxyNodes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProxyNodesResponse`
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 |
# File 'lib/v20190107/client.rb', line 1861 def DescribeProxyNodes(request) body = send_request('DescribeProxyNodes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxyNodesResponse.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 |
#DescribeProxySpecs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeProxySpecsResponse`
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 |
# File 'lib/v20190107/client.rb', line 1885 def DescribeProxySpecs(request) body = send_request('DescribeProxySpecs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxySpecsResponse.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 |
#DescribeResourcePackageDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcePackageDetailResponse`
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 |
# File 'lib/v20190107/client.rb', line 1909 def DescribeResourcePackageDetail(request) body = send_request('DescribeResourcePackageDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeResourcePackageDetailResponse.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 |
#DescribeResourcePackageList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcePackageListResponse`
1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 |
# File 'lib/v20190107/client.rb', line 1933 def DescribeResourcePackageList(request) body = send_request('DescribeResourcePackageList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeResourcePackageListResponse.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 |
#DescribeResourcePackageSaleSpec(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcePackageSaleSpecResponse`
1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'lib/v20190107/client.rb', line 1957 def DescribeResourcePackageSaleSpec(request) body = send_request('DescribeResourcePackageSaleSpec', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeResourcePackageSaleSpecResponse.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 |
#DescribeResourcesByDealName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeResourcesByDealNameResponse`
1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/v20190107/client.rb', line 1981 def DescribeResourcesByDealName(request) body = send_request('DescribeResourcesByDealName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeResourcesByDealNameResponse.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 |
#DescribeRollbackTimeRange(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeRollbackTimeRangeResponse`
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 |
# File 'lib/v20190107/client.rb', line 2005 def DescribeRollbackTimeRange(request) body = send_request('DescribeRollbackTimeRange', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRollbackTimeRangeResponse.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 |
#DescribeServerlessInstanceSpecs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeServerlessInstanceSpecsResponse`
2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 |
# File 'lib/v20190107/client.rb', line 2053 def DescribeServerlessInstanceSpecs(request) body = send_request('DescribeServerlessInstanceSpecs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServerlessInstanceSpecsResponse.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 |
#DescribeServerlessStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeServerlessStrategyResponse`
2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 |
# File 'lib/v20190107/client.rb', line 2077 def DescribeServerlessStrategy(request) body = send_request('DescribeServerlessStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServerlessStrategyResponse.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 |
#DescribeSlaveZones(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeSlaveZonesResponse`
2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 |
# File 'lib/v20190107/client.rb', line 2101 def DescribeSlaveZones(request) body = send_request('DescribeSlaveZones', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSlaveZonesResponse.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 |
#DescribeSSLStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeSSLStatusResponse`
2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 |
# File 'lib/v20190107/client.rb', line 2029 def DescribeSSLStatus(request) body = send_request('DescribeSSLStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSSLStatusResponse.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 |
#DescribeSupportProxyVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeSupportProxyVersionResponse`
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 |
# File 'lib/v20190107/client.rb', line 2125 def DescribeSupportProxyVersion(request) body = send_request('DescribeSupportProxyVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSupportProxyVersionResponse.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 |
#DescribeTasks(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeTasksResponse`
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 |
# File 'lib/v20190107/client.rb', line 2149 def DescribeTasks(request) body = send_request('DescribeTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTasksResponse.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 |
#DescribeZones(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DescribeZonesResponse`
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 |
# File 'lib/v20190107/client.rb', line 2173 def DescribeZones(request) body = send_request('DescribeZones', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeZonesResponse.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 |
#DisassociateSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::DisassociateSecurityGroupsResponse`
2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/v20190107/client.rb', line 2197 def DisassociateSecurityGroups(request) body = send_request('DisassociateSecurityGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisassociateSecurityGroupsResponse.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 |
#ExportInstanceErrorLogs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ExportInstanceErrorLogsResponse`
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 |
# File 'lib/v20190107/client.rb', line 2221 def ExportInstanceErrorLogs(request) body = send_request('ExportInstanceErrorLogs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ExportInstanceErrorLogsResponse.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 |
#ExportInstanceSlowQueries(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ExportInstanceSlowQueriesResponse`
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 |
# File 'lib/v20190107/client.rb', line 2245 def ExportInstanceSlowQueries(request) body = send_request('ExportInstanceSlowQueries', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ExportInstanceSlowQueriesResponse.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 |
#ExportResourcePackageDeductDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ExportResourcePackageDeductDetailsResponse`
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 |
# File 'lib/v20190107/client.rb', line 2269 def ExportResourcePackageDeductDetails(request) body = send_request('ExportResourcePackageDeductDetails', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ExportResourcePackageDeductDetailsResponse.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 |
#GrantAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::GrantAccountPrivilegesResponse`
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 |
# File 'lib/v20190107/client.rb', line 2293 def GrantAccountPrivileges(request) body = send_request('GrantAccountPrivileges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GrantAccountPrivilegesResponse.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 |
#InquirePriceCreate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::InquirePriceCreateResponse`
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'lib/v20190107/client.rb', line 2317 def InquirePriceCreate(request) body = send_request('InquirePriceCreate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InquirePriceCreateResponse.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 |
#InquirePriceModify(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::InquirePriceModifyResponse`
2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/v20190107/client.rb', line 2341 def InquirePriceModify(request) body = send_request('InquirePriceModify', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InquirePriceModifyResponse.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 |
#InquirePriceRenew(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::InquirePriceRenewResponse`
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 |
# File 'lib/v20190107/client.rb', line 2365 def InquirePriceRenew(request) body = send_request('InquirePriceRenew', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InquirePriceRenewResponse.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 |
#IsolateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::IsolateClusterResponse`
2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 |
# File 'lib/v20190107/client.rb', line 2389 def IsolateCluster(request) body = send_request('IsolateCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = IsolateClusterResponse.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 |
#IsolateInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::IsolateInstanceResponse`
2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 |
# File 'lib/v20190107/client.rb', line 2413 def IsolateInstance(request) body = send_request('IsolateInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = IsolateInstanceResponse.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 |
#ModifyAccountDescription(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountDescriptionResponse`
2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'lib/v20190107/client.rb', line 2437 def ModifyAccountDescription(request) body = send_request('ModifyAccountDescription', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAccountDescriptionResponse.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 |
#ModifyAccountHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountHostResponse`
2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 |
# File 'lib/v20190107/client.rb', line 2461 def ModifyAccountHost(request) body = send_request('ModifyAccountHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAccountHostResponse.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 |
#ModifyAccountParams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountParamsResponse`
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 |
# File 'lib/v20190107/client.rb', line 2485 def ModifyAccountParams(request) body = send_request('ModifyAccountParams', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAccountParamsResponse.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 |
#ModifyAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAccountPrivilegesResponse`
2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/v20190107/client.rb', line 2509 def ModifyAccountPrivileges(request) body = send_request('ModifyAccountPrivileges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAccountPrivilegesResponse.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 |
#ModifyAuditRuleTemplates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAuditRuleTemplatesResponse`
2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/v20190107/client.rb', line 2533 def ModifyAuditRuleTemplates(request) body = send_request('ModifyAuditRuleTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAuditRuleTemplatesResponse.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 |
#ModifyAuditService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyAuditServiceResponse`
2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 |
# File 'lib/v20190107/client.rb', line 2557 def ModifyAuditService(request) body = send_request('ModifyAuditService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAuditServiceResponse.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 |
#ModifyBackupConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupConfigResponse`
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 |
# File 'lib/v20190107/client.rb', line 2581 def ModifyBackupConfig(request) body = send_request('ModifyBackupConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBackupConfigResponse.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 |
#ModifyBackupDownloadRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupDownloadRestrictionResponse`
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 |
# File 'lib/v20190107/client.rb', line 2605 def ModifyBackupDownloadRestriction(request) body = send_request('ModifyBackupDownloadRestriction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBackupDownloadRestrictionResponse.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 |
#ModifyBackupDownloadUserRestriction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupDownloadUserRestrictionResponse`
2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 |
# File 'lib/v20190107/client.rb', line 2629 def ModifyBackupDownloadUserRestriction(request) body = send_request('ModifyBackupDownloadUserRestriction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBackupDownloadUserRestrictionResponse.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 |
#ModifyBackupName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBackupNameResponse`
2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 |
# File 'lib/v20190107/client.rb', line 2653 def ModifyBackupName(request) body = send_request('ModifyBackupName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBackupNameResponse.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 |
#ModifyBinlogConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBinlogConfigResponse`
2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/v20190107/client.rb', line 2677 def ModifyBinlogConfig(request) body = send_request('ModifyBinlogConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBinlogConfigResponse.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 |
#ModifyBinlogSaveDays(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyBinlogSaveDaysResponse`
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'lib/v20190107/client.rb', line 2701 def ModifyBinlogSaveDays(request) body = send_request('ModifyBinlogSaveDays', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBinlogSaveDaysResponse.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 |
#ModifyClusterDatabase(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterDatabaseResponse`
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 |
# File 'lib/v20190107/client.rb', line 2725 def ModifyClusterDatabase(request) body = send_request('ModifyClusterDatabase', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterDatabaseResponse.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 |
#ModifyClusterName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterNameResponse`
2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 |
# File 'lib/v20190107/client.rb', line 2749 def ModifyClusterName(request) body = send_request('ModifyClusterName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterNameResponse.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 |
#ModifyClusterParam(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterParamResponse`
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 |
# File 'lib/v20190107/client.rb', line 2773 def ModifyClusterParam(request) body = send_request('ModifyClusterParam', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterParamResponse.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 |
#ModifyClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterPasswordComplexityResponse`
2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 |
# File 'lib/v20190107/client.rb', line 2797 def ModifyClusterPasswordComplexity(request) body = send_request('ModifyClusterPasswordComplexity', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterPasswordComplexityResponse.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 |
#ModifyClusterReadOnly(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterReadOnlyResponse`
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'lib/v20190107/client.rb', line 2821 def ModifyClusterReadOnly(request) body = send_request('ModifyClusterReadOnly', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterReadOnlyResponse.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 |
#ModifyClusterSlaveZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterSlaveZoneResponse`
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 |
# File 'lib/v20190107/client.rb', line 2845 def ModifyClusterSlaveZone(request) body = send_request('ModifyClusterSlaveZone', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterSlaveZoneResponse.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 |
#ModifyClusterStorage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyClusterStorageResponse`
2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 |
# File 'lib/v20190107/client.rb', line 2869 def ModifyClusterStorage(request) body = send_request('ModifyClusterStorage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterStorageResponse.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 |
#ModifyDBInstanceSecurityGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyDBInstanceSecurityGroupsResponse`
2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 |
# File 'lib/v20190107/client.rb', line 2893 def ModifyDBInstanceSecurityGroups(request) body = send_request('ModifyDBInstanceSecurityGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDBInstanceSecurityGroupsResponse.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 |
#ModifyInstanceName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyInstanceNameResponse`
2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 |
# File 'lib/v20190107/client.rb', line 2917 def ModifyInstanceName(request) body = send_request('ModifyInstanceName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceNameResponse.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 |
#ModifyInstanceParam(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyInstanceParamResponse`
2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 |
# File 'lib/v20190107/client.rb', line 2941 def ModifyInstanceParam(request) body = send_request('ModifyInstanceParam', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceParamResponse.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 |
#ModifyInstanceUpgradeLimitDays(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyInstanceUpgradeLimitDaysResponse`
2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 |
# File 'lib/v20190107/client.rb', line 2965 def ModifyInstanceUpgradeLimitDays(request) body = send_request('ModifyInstanceUpgradeLimitDays', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceUpgradeLimitDaysResponse.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 |
#ModifyMaintainPeriodConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyMaintainPeriodConfigResponse`
2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 |
# File 'lib/v20190107/client.rb', line 2989 def ModifyMaintainPeriodConfig(request) body = send_request('ModifyMaintainPeriodConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyMaintainPeriodConfigResponse.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 |
#ModifyParamTemplate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyParamTemplateResponse`
3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/v20190107/client.rb', line 3013 def ModifyParamTemplate(request) body = send_request('ModifyParamTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyParamTemplateResponse.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 |
#ModifyProxyDesc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyProxyDescResponse`
3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 |
# File 'lib/v20190107/client.rb', line 3037 def ModifyProxyDesc(request) body = send_request('ModifyProxyDesc', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProxyDescResponse.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 |
#ModifyProxyRwSplit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyProxyRwSplitResponse`
3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 |
# File 'lib/v20190107/client.rb', line 3061 def ModifyProxyRwSplit(request) body = send_request('ModifyProxyRwSplit', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProxyRwSplitResponse.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 |
#ModifyResourcePackageClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyResourcePackageClustersResponse`
3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 |
# File 'lib/v20190107/client.rb', line 3085 def ModifyResourcePackageClusters(request) body = send_request('ModifyResourcePackageClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyResourcePackageClustersResponse.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 |
#ModifyResourcePackageName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyResourcePackageNameResponse`
3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 |
# File 'lib/v20190107/client.rb', line 3109 def ModifyResourcePackageName(request) body = send_request('ModifyResourcePackageName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyResourcePackageNameResponse.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 |
#ModifyResourcePackagesDeductionPriority(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyResourcePackagesDeductionPriorityResponse`
3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 |
# File 'lib/v20190107/client.rb', line 3133 def ModifyResourcePackagesDeductionPriority(request) body = send_request('ModifyResourcePackagesDeductionPriority', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyResourcePackagesDeductionPriorityResponse.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 |
#ModifyServerlessStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyServerlessStrategyResponse`
3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 |
# File 'lib/v20190107/client.rb', line 3157 def ModifyServerlessStrategy(request) body = send_request('ModifyServerlessStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyServerlessStrategyResponse.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 |
#ModifyVipVport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ModifyVipVportResponse`
3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 |
# File 'lib/v20190107/client.rb', line 3181 def ModifyVipVport(request) body = send_request('ModifyVipVport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyVipVportResponse.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 |
#OfflineCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OfflineClusterResponse`
3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 |
# File 'lib/v20190107/client.rb', line 3205 def OfflineCluster(request) body = send_request('OfflineCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OfflineClusterResponse.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 |
#OfflineInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OfflineInstanceResponse`
3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 |
# File 'lib/v20190107/client.rb', line 3229 def OfflineInstance(request) body = send_request('OfflineInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OfflineInstanceResponse.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 |
#OpenAuditService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenAuditServiceResponse`
3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 |
# File 'lib/v20190107/client.rb', line 3253 def OpenAuditService(request) body = send_request('OpenAuditService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenAuditServiceResponse.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 |
#OpenClusterPasswordComplexity(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenClusterPasswordComplexityResponse`
3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 |
# File 'lib/v20190107/client.rb', line 3277 def OpenClusterPasswordComplexity(request) body = send_request('OpenClusterPasswordComplexity', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenClusterPasswordComplexityResponse.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 |
#OpenClusterReadOnlyInstanceGroupAccess(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenClusterReadOnlyInstanceGroupAccessResponse`
3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 |
# File 'lib/v20190107/client.rb', line 3301 def OpenClusterReadOnlyInstanceGroupAccess(request) body = send_request('OpenClusterReadOnlyInstanceGroupAccess', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenClusterReadOnlyInstanceGroupAccessResponse.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 |
#OpenClusterTransparentEncrypt(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenClusterTransparentEncryptResponse`
3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 |
# File 'lib/v20190107/client.rb', line 3325 def OpenClusterTransparentEncrypt(request) body = send_request('OpenClusterTransparentEncrypt', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenClusterTransparentEncryptResponse.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 |
#OpenReadOnlyInstanceExclusiveAccess(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenReadOnlyInstanceExclusiveAccessResponse`
3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 |
# File 'lib/v20190107/client.rb', line 3349 def OpenReadOnlyInstanceExclusiveAccess(request) body = send_request('OpenReadOnlyInstanceExclusiveAccess', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenReadOnlyInstanceExclusiveAccessResponse.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 |
#OpenSSL(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenSSLResponse`
3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 |
# File 'lib/v20190107/client.rb', line 3373 def OpenSSL(request) body = send_request('OpenSSL', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenSSLResponse.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 |
#OpenWan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::OpenWanResponse`
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 |
# File 'lib/v20190107/client.rb', line 3397 def OpenWan(request) body = send_request('OpenWan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenWanResponse.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 |
#PauseServerless(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::PauseServerlessResponse`
3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 |
# File 'lib/v20190107/client.rb', line 3421 def PauseServerless(request) body = send_request('PauseServerless', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PauseServerlessResponse.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 |
#RefundResourcePackage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RefundResourcePackageResponse`
3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 |
# File 'lib/v20190107/client.rb', line 3445 def RefundResourcePackage(request) body = send_request('RefundResourcePackage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RefundResourcePackageResponse.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 |
#ReloadBalanceProxyNode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ReloadBalanceProxyNodeResponse`
3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 |
# File 'lib/v20190107/client.rb', line 3469 def ReloadBalanceProxyNode(request) body = send_request('ReloadBalanceProxyNode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ReloadBalanceProxyNodeResponse.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 |
#RemoveClusterSlaveZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RemoveClusterSlaveZoneResponse`
3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 |
# File 'lib/v20190107/client.rb', line 3493 def RemoveClusterSlaveZone(request) body = send_request('RemoveClusterSlaveZone', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RemoveClusterSlaveZoneResponse.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 |
#RenewClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RenewClustersResponse`
3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 |
# File 'lib/v20190107/client.rb', line 3517 def RenewClusters(request) body = send_request('RenewClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RenewClustersResponse.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 |
#ReplayInstanceAuditLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ReplayInstanceAuditLogResponse`
3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 |
# File 'lib/v20190107/client.rb', line 3541 def ReplayInstanceAuditLog(request) body = send_request('ReplayInstanceAuditLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ReplayInstanceAuditLogResponse.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 |
#ResetAccountPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ResetAccountPasswordResponse`
3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 |
# File 'lib/v20190107/client.rb', line 3565 def ResetAccountPassword(request) body = send_request('ResetAccountPassword', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetAccountPasswordResponse.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 |
#RestartInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RestartInstanceResponse`
3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 |
# File 'lib/v20190107/client.rb', line 3589 def RestartInstance(request) body = send_request('RestartInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RestartInstanceResponse.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 |
#ResumeServerless(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::ResumeServerlessResponse`
3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 |
# File 'lib/v20190107/client.rb', line 3613 def ResumeServerless(request) body = send_request('ResumeServerless', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResumeServerlessResponse.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 |
#RevokeAccountPrivileges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RevokeAccountPrivilegesResponse`
3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 |
# File 'lib/v20190107/client.rb', line 3637 def RevokeAccountPrivileges(request) body = send_request('RevokeAccountPrivileges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RevokeAccountPrivilegesResponse.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 |
#RollBackCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RollBackClusterResponse`
3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 |
# File 'lib/v20190107/client.rb', line 3661 def RollBackCluster(request) body = send_request('RollBackCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RollBackClusterResponse.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 |
#RollbackToNewCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::RollbackToNewClusterResponse`
3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 |
# File 'lib/v20190107/client.rb', line 3685 def RollbackToNewCluster(request) body = send_request('RollbackToNewCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RollbackToNewClusterResponse.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 |
#SearchClusterDatabases(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SearchClusterDatabasesResponse`
3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 |
# File 'lib/v20190107/client.rb', line 3709 def SearchClusterDatabases(request) body = send_request('SearchClusterDatabases', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchClusterDatabasesResponse.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 |
#SearchClusterTables(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SearchClusterTablesResponse`
3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 |
# File 'lib/v20190107/client.rb', line 3733 def SearchClusterTables(request) body = send_request('SearchClusterTables', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchClusterTablesResponse.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 |
#SetRenewFlag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SetRenewFlagResponse`
3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 |
# File 'lib/v20190107/client.rb', line 3757 def SetRenewFlag(request) body = send_request('SetRenewFlag', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetRenewFlagResponse.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 |
#StartCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::StartCLSDeliveryResponse`
3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'lib/v20190107/client.rb', line 3781 def StartCLSDelivery(request) body = send_request('StartCLSDelivery', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = StartCLSDeliveryResponse.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 |
#StopCLSDelivery(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::StopCLSDeliveryResponse`
3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 |
# File 'lib/v20190107/client.rb', line 3805 def StopCLSDelivery(request) body = send_request('StopCLSDelivery', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = StopCLSDeliveryResponse.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 |
#SwitchClusterVpc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SwitchClusterVpcResponse`
3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 |
# File 'lib/v20190107/client.rb', line 3829 def SwitchClusterVpc(request) body = send_request('SwitchClusterVpc', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SwitchClusterVpcResponse.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 |
#SwitchClusterZone(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SwitchClusterZoneResponse`
3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 |
# File 'lib/v20190107/client.rb', line 3853 def SwitchClusterZone(request) body = send_request('SwitchClusterZone', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SwitchClusterZoneResponse.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 |
#SwitchProxyVpc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::SwitchProxyVpcResponse`
3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 |
# File 'lib/v20190107/client.rb', line 3877 def SwitchProxyVpc(request) body = send_request('SwitchProxyVpc', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SwitchProxyVpcResponse.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 |
#UnbindClusterResourcePackages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UnbindClusterResourcePackagesResponse`
3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 |
# File 'lib/v20190107/client.rb', line 3901 def UnbindClusterResourcePackages(request) body = send_request('UnbindClusterResourcePackages', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindClusterResourcePackagesResponse.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 |
#UpgradeClusterVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeClusterVersionResponse`
3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 |
# File 'lib/v20190107/client.rb', line 3925 def UpgradeClusterVersion(request) body = send_request('UpgradeClusterVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpgradeClusterVersionResponse.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 |
#UpgradeInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeInstanceResponse`
3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 |
# File 'lib/v20190107/client.rb', line 3949 def UpgradeInstance(request) body = send_request('UpgradeInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpgradeInstanceResponse.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 |
#UpgradeProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeProxyResponse`
3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 |
# File 'lib/v20190107/client.rb', line 3973 def UpgradeProxy(request) body = send_request('UpgradeProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpgradeProxyResponse.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 |
#UpgradeProxyVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::cynosdb::V20190107::UpgradeProxyVersionResponse`
3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 |
# File 'lib/v20190107/client.rb', line 3997 def UpgradeProxyVersion(request) body = send_request('UpgradeProxyVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpgradeProxyVersionResponse.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 |